blob: 6d637f45c88907fadc48b2dcd9b80f9badc6c075 [file] [log] [blame]
set(LLVM_LINK_COMPONENTS
CodeGenTypes
Support
TableGen
)
add_llvm_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB
CodeExpander.cpp
GIMatchDag.cpp
GIMatchDagEdge.cpp
GIMatchDagInstr.cpp
GIMatchDagOperands.cpp
GIMatchDagPredicate.cpp
GIMatchDagPredicateDependencyEdge.cpp
GIMatchTree.cpp
DEPENDS
vt_gen
)
# Users may include its headers as "GlobalISel/*.h"
target_include_directories(LLVMTableGenGlobalISel
INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
)