forked from OSchip/llvm-project
28 lines
714 B
CMake
28 lines
714 B
CMake
set(LLVM_TARGET_DEFINITIONS InstCombineTables.td)
|
|
tablegen(LLVM InstCombineTables.inc -gen-searchable-tables)
|
|
add_public_tablegen_target(InstCombineTableGen)
|
|
|
|
add_llvm_library(LLVMInstCombine
|
|
InstructionCombining.cpp
|
|
InstCombineAddSub.cpp
|
|
InstCombineAtomicRMW.cpp
|
|
InstCombineAndOrXor.cpp
|
|
InstCombineCalls.cpp
|
|
InstCombineCasts.cpp
|
|
InstCombineCompares.cpp
|
|
InstCombineLoadStoreAlloca.cpp
|
|
InstCombineMulDivRem.cpp
|
|
InstCombinePHI.cpp
|
|
InstCombineSelect.cpp
|
|
InstCombineShifts.cpp
|
|
InstCombineSimplifyDemanded.cpp
|
|
InstCombineVectorOps.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/InstCombine
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|