I am making a CG pass to depend on `FIROpenACCSupport` in #134346. This introduces a cyclic dependency between `FIROpenACCSupport` and `FIRCodeGen`. This patch splits `FIRCodeGen` into `FIRCodeGenDialect` (for FIR CG dialect definition) and `FIRCodeGen` (for the CG passes). Now, `FIROpenACCSupport` depends on `FIRCodeGenDialect`, and `FIRCodeGen` depends on `FIROpenACCSupport`.
47 lines
747 B
CMake
47 lines
747 B
CMake
add_flang_library(FIRCodeGen
|
|
BoxedProcedure.cpp
|
|
CodeGen.cpp
|
|
CodeGenOpenMP.cpp
|
|
FIROpPatterns.cpp
|
|
LowerRepackArrays.cpp
|
|
PreCGRewrite.cpp
|
|
TBAABuilder.cpp
|
|
Target.cpp
|
|
TargetRewrite.cpp
|
|
TypeConverter.cpp
|
|
|
|
DEPENDS
|
|
CUFAttrs
|
|
FIRDialect
|
|
FIROptCodeGenPassIncGen
|
|
CGOpsIncGen
|
|
|
|
LINK_LIBS
|
|
CUFAttrs
|
|
FIRAnalysis
|
|
FIRBuilder
|
|
FIRCodeGenDialect
|
|
FIRDialect
|
|
FIRDialectSupport
|
|
FIRSupport
|
|
|
|
LINK_COMPONENTS
|
|
Remarks
|
|
TargetParser
|
|
|
|
MLIR_LIBS
|
|
MLIRComplexToLLVM
|
|
MLIRComplexToStandard
|
|
MLIRGPUDialect
|
|
MLIRMathToFuncs
|
|
MLIRMathToLLVM
|
|
MLIRMathToLibm
|
|
MLIRMathToROCDL
|
|
MLIROpenMPToLLVM
|
|
MLIROpenACCDialect
|
|
MLIRBuiltinToLLVMIRTranslation
|
|
MLIRLLVMToLLVMIRTranslation
|
|
MLIRTargetLLVMIRExport
|
|
MLIRVectorToLLVM
|
|
)
|