CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
84 lines
2.2 KiB
CMake
84 lines
2.2 KiB
CMake
# Basic utilities which is the strict minimum needed to build
|
|
# llvm-min-tblgen.
|
|
add_subdirectory(Basic)
|
|
# Common utilities are all of the reusable components and helper
|
|
# code needed by the backends.
|
|
add_subdirectory(Common)
|
|
|
|
set(LLVM_LINK_COMPONENTS Support)
|
|
|
|
# llvm-min-tablegen only contains a subset of backends necessary to
|
|
# build llvm/include. It must not depend on TableGenCommon, as
|
|
# TableGenCommon depends on this already to generate things such as
|
|
# ValueType definitions.
|
|
# Sources included in both, llvm-min-tblgen and llvm-tblgen, must be included
|
|
# into LLVMTableGenBasic to avoid redundant compilation and problems with build
|
|
# caches.
|
|
# At least one source file must be included directly to avoid CMake problems.
|
|
# E.g. CMake derives which linker to use from the types of sources added.
|
|
add_tablegen(llvm-min-tblgen LLVM_HEADERS
|
|
llvm-min-tblgen.cpp
|
|
$<TARGET_OBJECTS:obj.LLVMTableGenBasic>
|
|
|
|
PARTIAL_SOURCES_INTENDED
|
|
)
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
CodeGenTypes
|
|
Support
|
|
)
|
|
|
|
add_tablegen(llvm-tblgen LLVM
|
|
DESTINATION "${LLVM_TOOLS_INSTALL_DIR}"
|
|
EXPORT LLVM
|
|
AsmMatcherEmitter.cpp
|
|
AsmWriterEmitter.cpp
|
|
CallingConvEmitter.cpp
|
|
CodeEmitterGen.cpp
|
|
CodeGenMapTable.cpp
|
|
CompressInstEmitter.cpp
|
|
CTagsEmitter.cpp
|
|
DAGISelEmitter.cpp
|
|
DAGISelMatcher.cpp
|
|
DAGISelMatcherEmitter.cpp
|
|
DAGISelMatcherGen.cpp
|
|
DAGISelMatcherOpt.cpp
|
|
DecoderEmitter.cpp
|
|
DecoderTableEmitter.cpp
|
|
DecoderTree.cpp
|
|
DFAEmitter.cpp
|
|
DFAPacketizerEmitter.cpp
|
|
DisassemblerEmitter.cpp
|
|
DXILEmitter.cpp
|
|
ExegesisEmitter.cpp
|
|
FastISelEmitter.cpp
|
|
GlobalISelCombinerEmitter.cpp
|
|
GlobalISelEmitter.cpp
|
|
InstrDocsEmitter.cpp
|
|
InstrInfoEmitter.cpp
|
|
llvm-tblgen.cpp
|
|
MacroFusionPredicatorEmitter.cpp
|
|
OptionParserEmitter.cpp
|
|
OptionRSTEmitter.cpp
|
|
PseudoLoweringEmitter.cpp
|
|
RegisterBankEmitter.cpp
|
|
RegisterInfoEmitter.cpp
|
|
SDNodeInfoEmitter.cpp
|
|
SearchableTableEmitter.cpp
|
|
SubtargetEmitter.cpp
|
|
WebAssemblyDisassemblerEmitter.cpp
|
|
X86InstrMappingEmitter.cpp
|
|
X86DisassemblerTables.cpp
|
|
X86FoldTablesEmitter.cpp
|
|
X86MnemonicTables.cpp
|
|
X86ModRMFilters.cpp
|
|
X86RecognizableInstr.cpp
|
|
$<TARGET_OBJECTS:obj.LLVMTableGenBasic>
|
|
$<TARGET_OBJECTS:obj.LLVMTableGenCommon>
|
|
|
|
PARTIAL_SOURCES_INTENDED
|
|
|
|
DEPENDS
|
|
intrinsics_gen # via llvm-min-tablegen
|
|
)
|