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