| 1 |
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) |
| 2 |
get_property(extension_libs GLOBAL PROPERTY MLIR_EXTENSION_LIBS) |
| 3 |
|
| 4 |
set(LIBS |
| 5 |
CUFDialect |
| 6 |
FIRBuilder |
| 7 |
FIRCodeGen |
| 8 |
FIRDialect |
| 9 |
FIRDialectSupport |
| 10 |
FIRSupport |
| 11 |
HLFIRDialect |
| 12 |
${dialect_libs} |
| 13 |
${extension_libs} |
| 14 |
LLVMTargetParser |
| 15 |
) |
| 16 |
|
| 17 |
add_flang_unittest(FlangOptimizerTests |
| 18 |
Builder/CharacterTest.cpp |
| 19 |
Builder/ComplexTest.cpp |
| 20 |
Builder/DoLoopHelperTest.cpp |
| 21 |
Builder/FIRBuilderTest.cpp |
| 22 |
Builder/HLFIRToolsTest.cpp |
| 23 |
Builder/Runtime/AllocatableTest.cpp |
| 24 |
Builder/Runtime/AssignTest.cpp |
| 25 |
Builder/Runtime/CommandTest.cpp |
| 26 |
Builder/Runtime/CharacterTest.cpp |
| 27 |
Builder/Runtime/DerivedTest.cpp |
| 28 |
Builder/Runtime/NumericTest.cpp |
| 29 |
Builder/Runtime/RaggedTest.cpp |
| 30 |
Builder/Runtime/ReductionTest.cpp |
| 31 |
Builder/Runtime/StopTest.cpp |
| 32 |
Builder/Runtime/TransformationalTest.cpp |
| 33 |
FIRContextTest.cpp |
| 34 |
FIRTypesTest.cpp |
| 35 |
FortranVariableTest.cpp |
| 36 |
InternalNamesTest.cpp |
| 37 |
KindMappingTest.cpp |
| 38 |
RTBuilder.cpp |
| 39 |
DEPENDS |
| 40 |
CUFDialect |
| 41 |
FIRDialect |
| 42 |
FIRSupport |
| 43 |
HLFIRDialect |
| 44 |
${dialect_libs}) |
| 45 |
|
| 46 |
target_link_libraries(FlangOptimizerTests |
| 47 |
PRIVATE |
| 48 |
${LIBS}) |