1set(LLVM_TARGET_DEFINITIONS AttributesCompatFunc.td) 2tablegen(LLVM AttributesCompatFunc.inc -gen-attrs) 3add_public_tablegen_target(AttributeCompatFuncTableGen) 4 5add_llvm_library(LLVMCore 6 AsmWriter.cpp 7 Attributes.cpp 8 AutoUpgrade.cpp 9 BasicBlock.cpp 10 Comdat.cpp 11 ConstantFold.cpp 12 ConstantRange.cpp 13 Constants.cpp 14 Core.cpp 15 DIBuilder.cpp 16 DataLayout.cpp 17 DebugInfo.cpp 18 DebugInfoMetadata.cpp 19 DebugLoc.cpp 20 DiagnosticInfo.cpp 21 DiagnosticPrinter.cpp 22 Dominators.cpp 23 Function.cpp 24 GCOV.cpp 25 GVMaterializer.cpp 26 Globals.cpp 27 IRBuilder.cpp 28 IRPrintingPasses.cpp 29 InlineAsm.cpp 30 Instruction.cpp 31 Instructions.cpp 32 IntrinsicInst.cpp 33 LLVMContext.cpp 34 LLVMContextImpl.cpp 35 LegacyPassManager.cpp 36 MDBuilder.cpp 37 Mangler.cpp 38 Metadata.cpp 39 Module.cpp 40 ModuleSummaryIndex.cpp 41 Operator.cpp 42 OptBisect.cpp 43 Pass.cpp 44 PassManager.cpp 45 PassRegistry.cpp 46 ProfileSummary.cpp 47 Statepoint.cpp 48 Type.cpp 49 TypeFinder.cpp 50 Use.cpp 51 User.cpp 52 Value.cpp 53 ValueSymbolTable.cpp 54 ValueTypes.cpp 55 Verifier.cpp 56 57 ADDITIONAL_HEADER_DIRS 58 ${LLVM_MAIN_INCLUDE_DIR}/llvm/IR 59 ) 60 61add_dependencies(LLVMCore intrinsics_gen) 62