Files
clang-p2996/llvm/lib/LTO/CMakeLists.txt
NAKAMURA Takumi 5d71ec6e44 Split out CodeGenTypes from CodeGen for LLT/MVT
This reduces dependencies on `llvm-tblgen` so much.

`CodeGenTypes` depends on `Support` at the moment.
Be careful to append deps on this, since Targets' tablegens
depend on this.

Depends on D149024

Differential Revision: https://reviews.llvm.org/D148769
2023-05-03 00:13:20 +09:00

41 lines
587 B
CMake

add_llvm_component_library(LLVMLTO
LTO.cpp
LTOBackend.cpp
LTOModule.cpp
LTOCodeGenerator.cpp
SummaryBasedOptimizations.cpp
UpdateCompilerUsed.cpp
ThinLTOCodeGenerator.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/LTO
DEPENDS
intrinsics_gen
llvm_vcsrevision_h
LINK_COMPONENTS
AggressiveInstCombine
Analysis
BinaryFormat
BitReader
BitWriter
CodeGen
CodeGenTypes
Core
Extensions
IPO
InstCombine
Instrumentation
Linker
MC
ObjCARC
Object
Passes
Remarks
Scalar
Support
Target
TargetParser
TransformUtils
)