llvm-project/flang/lib/Optimizer/CMakeLists.txt

35 lines
592 B
CMake

get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
add_flang_library(FIROptimizer
Dialect/FIRAttr.cpp
Dialect/FIRDialect.cpp
Dialect/FIROps.cpp
Dialect/FIRType.cpp
Support/FIRContext.cpp
Support/InternalNames.cpp
Support/KindMapping.cpp
CodeGen/CGOps.cpp
CodeGen/PreCGRewrite.cpp
Transforms/Inliner.cpp
DEPENDS
FIROpsIncGen
FIROptCodeGenPassIncGen
FIROptTransformsPassIncGen
CGOpsIncGen
${dialect_libs}
LINK_LIBS
${dialect_libs}
MLIRLLVMToLLVMIRTranslation
MLIRTargetLLVMIRExport
LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks
)