llvm-project/clang/lib/CIR/CodeGen/CMakeLists.txt
David Olsen 8ae8a90585
[CIR] floating-point, pointer, and function types (#120484)
Upstream ClangIR support for `void` type, floating-point types, pointer
types, and function types.

Floating-point support is missing the IBM double-double format, because
that hasn't been implemented in the incubator project yet.

Pointer types do not yet support address spaces.

Function type support includes only the return type and the parameter
types. The many other properties and attributes of function types will
be upstreamed later.
2024-12-20 12:22:25 -08:00

26 lines
330 B
CMake

set(
LLVM_LINK_COMPONENTS
Core
Support
)
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
add_clang_library(clangCIR
CIRGenerator.cpp
CIRGenModule.cpp
CIRGenTypes.cpp
DEPENDS
MLIRCIR
${dialect_libs}
LINK_LIBS
clangAST
clangBasic
clangLex
${dialect_libs}
MLIRCIR
MLIRCIRInterfaces
)