view llvm/unittests/CodeGen/CMakeLists.txt @ 235:edfff9242030 cbc-llvm13

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 21 Jul 2021 11:30:30 +0900
parents 5f17cb93ff66
children c4bab56944e8
line wrap: on
line source

set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  Analysis
  AsmParser
  AsmPrinter
  CodeGen
  Core
  FileCheck
  MC
  MIRParser
  Passes
  SelectionDAG
  Support
  Target
  )

add_llvm_unittest(CodeGenTests
  AArch64SelectionDAGTest.cpp
  AllocationOrderTest.cpp
  AsmPrinterDwarfTest.cpp
  DIEHashTest.cpp
  DIETest.cpp
  LowLevelTypeTest.cpp
  LexicalScopesTest.cpp
  MachineInstrBundleIteratorTest.cpp
  MachineInstrTest.cpp
  MachineOperandTest.cpp
  PassManagerTest.cpp
  ScalableVectorMVTsTest.cpp
  SelectionDAGAddressAnalysisTest.cpp
  TypeTraitsTest.cpp
  TargetOptionsTest.cpp
  TestAsmPrinter.cpp
  )

add_subdirectory(GlobalISel)

target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport)