| 1 |
add_llvm_exegesis_unittest_includes( |
| 2 |
${LLVM_MAIN_SRC_DIR}/lib/Target/X86 |
| 3 |
${LLVM_BINARY_DIR}/lib/Target/X86 |
| 4 |
${LLVM_MAIN_SRC_DIR}/tools/llvm-exegesis/lib |
| 5 |
) |
| 6 |
|
| 7 |
add_llvm_exegesis_unittest_sources( |
| 8 |
AssemblerTest.cpp |
| 9 |
BenchmarkResultTest.cpp |
| 10 |
RegisterAliasingTest.cpp |
| 11 |
SchedClassResolutionTest.cpp |
| 12 |
SnippetFileTest.cpp |
| 13 |
SnippetGeneratorTest.cpp |
| 14 |
SnippetRepetitorTest.cpp |
| 15 |
TargetTest.cpp |
| 16 |
) |
| 17 |
|
| 18 |
add_llvm_exegesis_unittest_link_components( |
| 19 |
Core |
| 20 |
Codegen |
| 21 |
MC |
| 22 |
MCParser |
| 23 |
Object |
| 24 |
Support |
| 25 |
Symbolize |
| 26 |
X86 |
| 27 |
) |
| 28 |
|
| 29 |
add_llvm_exegesis_unittest_link_libraries( |
| 30 |
LLVMExegesisX86 |
| 31 |
) |