mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 13:06:06 +00:00

The refactored template can now be used with MachineVerifier. Resubmitted after fixing build errors: - Shared libraries build failed with undefined references due to "extern template" declarations. - Modules build failed due to a cycle dependence between llvm/ADT and llvm/IR. The Generic*Impl.h files should be in llvm/IR to prevent this. Differential Revision: https://reviews.llvm.org/D156522 This restores commit 93a3706711fd46d4d487640d91b16c2eec747c9e. Originally reverted in 466bd9981150906552a1f2308e3c9065bfcb6741.
88 lines
1.5 KiB
CMake
88 lines
1.5 KiB
CMake
add_llvm_component_library(LLVMCore
|
|
AbstractCallSite.cpp
|
|
AsmWriter.cpp
|
|
Assumptions.cpp
|
|
Attributes.cpp
|
|
AutoUpgrade.cpp
|
|
BasicBlock.cpp
|
|
BuiltinGCs.cpp
|
|
Comdat.cpp
|
|
ConstantFold.cpp
|
|
ConstantRange.cpp
|
|
Constants.cpp
|
|
ConvergenceVerifier.cpp
|
|
Core.cpp
|
|
CycleInfo.cpp
|
|
DIBuilder.cpp
|
|
DataLayout.cpp
|
|
DebugInfo.cpp
|
|
DebugInfoMetadata.cpp
|
|
DebugLoc.cpp
|
|
DiagnosticHandler.cpp
|
|
DiagnosticInfo.cpp
|
|
DiagnosticPrinter.cpp
|
|
Dominators.cpp
|
|
EHPersonalities.cpp
|
|
FPEnv.cpp
|
|
Function.cpp
|
|
GCStrategy.cpp
|
|
GVMaterializer.cpp
|
|
Globals.cpp
|
|
IRBuilder.cpp
|
|
IRPrintingPasses.cpp
|
|
SSAContext.cpp
|
|
InlineAsm.cpp
|
|
Instruction.cpp
|
|
Instructions.cpp
|
|
IntrinsicInst.cpp
|
|
LLVMContext.cpp
|
|
LLVMContextImpl.cpp
|
|
LLVMRemarkStreamer.cpp
|
|
LegacyPassManager.cpp
|
|
MDBuilder.cpp
|
|
Mangler.cpp
|
|
Metadata.cpp
|
|
Module.cpp
|
|
ModuleSummaryIndex.cpp
|
|
Operator.cpp
|
|
OptBisect.cpp
|
|
Pass.cpp
|
|
PassInstrumentation.cpp
|
|
PassManager.cpp
|
|
PassRegistry.cpp
|
|
PassTimingInfo.cpp
|
|
PrintPasses.cpp
|
|
ProfDataUtils.cpp
|
|
SafepointIRVerifier.cpp
|
|
ProfileSummary.cpp
|
|
PseudoProbe.cpp
|
|
ReplaceConstant.cpp
|
|
Statepoint.cpp
|
|
StructuralHash.cpp
|
|
Type.cpp
|
|
TypedPointerType.cpp
|
|
TypeFinder.cpp
|
|
Use.cpp
|
|
User.cpp
|
|
Value.cpp
|
|
ValueSymbolTable.cpp
|
|
VectorBuilder.cpp
|
|
Verifier.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/IR
|
|
|
|
LINK_LIBS
|
|
${LLVM_PTHREAD_LIB}
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
BinaryFormat
|
|
Demangle
|
|
Remarks
|
|
Support
|
|
TargetParser
|
|
)
|