1add_llvm_component_group(X86 HAS_JIT) 2 3set(LLVM_TARGET_DEFINITIONS X86.td) 4 5tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher) 6tablegen(LLVM X86GenAsmWriter.inc -gen-asm-writer) 7tablegen(LLVM X86GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1) 8tablegen(LLVM X86GenCallingConv.inc -gen-callingconv) 9tablegen(LLVM X86GenDAGISel.inc -gen-dag-isel) 10tablegen(LLVM X86GenDisassemblerTables.inc -gen-disassembler) 11tablegen(LLVM X86GenEVEX2VEXTables.inc -gen-x86-EVEX2VEX-tables) 12tablegen(LLVM X86GenExegesis.inc -gen-exegesis) 13tablegen(LLVM X86GenFastISel.inc -gen-fast-isel) 14tablegen(LLVM X86GenGlobalISel.inc -gen-global-isel) 15tablegen(LLVM X86GenInstrInfo.inc -gen-instr-info) 16tablegen(LLVM X86GenRegisterBank.inc -gen-register-bank) 17tablegen(LLVM X86GenRegisterInfo.inc -gen-register-info) 18tablegen(LLVM X86GenSubtargetInfo.inc -gen-subtarget) 19 20if (X86_GEN_FOLD_TABLES) 21 tablegen(LLVM X86GenFoldTables.inc -gen-x86-fold-tables) 22endif() 23 24add_public_tablegen_target(X86CommonTableGen) 25 26set(sources 27 X86AsmPrinter.cpp 28 X86AvoidTrailingCall.cpp 29 X86CallFrameOptimization.cpp 30 X86CallingConv.cpp 31 X86CallLowering.cpp 32 X86CmovConversion.cpp 33 X86DomainReassignment.cpp 34 X86DiscriminateMemOps.cpp 35 X86ExpandPseudo.cpp 36 X86FastISel.cpp 37 X86FixupBWInsts.cpp 38 X86FixupLEAs.cpp 39 X86AvoidStoreForwardingBlocks.cpp 40 X86FixupSetCC.cpp 41 X86FlagsCopyLowering.cpp 42 X86FloatingPoint.cpp 43 X86FrameLowering.cpp 44 X86InstructionSelector.cpp 45 X86ISelDAGToDAG.cpp 46 X86ISelLowering.cpp 47 X86IndirectBranchTracking.cpp 48 X86IndirectThunks.cpp 49 X86InterleavedAccess.cpp 50 X86InsertPrefetch.cpp 51 X86InstCombineIntrinsic.cpp 52 X86InstrFMA3Info.cpp 53 X86InstrFoldTables.cpp 54 X86InstrInfo.cpp 55 X86EvexToVex.cpp 56 X86LegalizerInfo.cpp 57 X86LoadValueInjectionLoadHardening.cpp 58 X86LoadValueInjectionRetHardening.cpp 59 X86MCInstLower.cpp 60 X86MachineFunctionInfo.cpp 61 X86MacroFusion.cpp 62 X86OptimizeLEAs.cpp 63 X86PadShortFunction.cpp 64 X86PartialReduction.cpp 65 X86RegisterBankInfo.cpp 66 X86RegisterInfo.cpp 67 X86SelectionDAGInfo.cpp 68 X86ShuffleDecodeConstantPool.cpp 69 X86SpeculativeLoadHardening.cpp 70 X86SpeculativeExecutionSideEffectSuppression.cpp 71 X86Subtarget.cpp 72 X86TargetMachine.cpp 73 X86TargetObjectFile.cpp 74 X86TargetTransformInfo.cpp 75 X86VZeroUpper.cpp 76 X86WinAllocaExpander.cpp 77 X86WinEHState.cpp 78 X86InsertWait.cpp 79 ) 80 81add_llvm_target(X86CodeGen ${sources} 82 LINK_COMPONENTS 83 Analysis 84 AsmPrinter 85 CodeGen 86 Core 87 MC 88 SelectionDAG 89 Support 90 Target 91 X86Desc 92 X86Info 93 GlobalISel 94 ProfileData 95 CFGuard 96 97 ADD_TO_COMPONENT 98 X86 99) 100 101add_subdirectory(AsmParser) 102add_subdirectory(Disassembler) 103add_subdirectory(MCTargetDesc) 104add_subdirectory(TargetInfo) 105