1set(LLVM_TARGET_DEFINITIONS X86.td) 2 3tablegen(LLVM X86GenRegisterInfo.inc -gen-register-info) 4tablegen(LLVM X86GenDisassemblerTables.inc -gen-disassembler) 5tablegen(LLVM X86GenInstrInfo.inc -gen-instr-info) 6tablegen(LLVM X86GenAsmWriter.inc -gen-asm-writer) 7tablegen(LLVM X86GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1) 8tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher) 9tablegen(LLVM X86GenDAGISel.inc -gen-dag-isel) 10tablegen(LLVM X86GenFastISel.inc -gen-fast-isel) 11tablegen(LLVM X86GenCallingConv.inc -gen-callingconv) 12tablegen(LLVM X86GenSubtargetInfo.inc -gen-subtarget) 13add_public_tablegen_target(X86CommonTableGen) 14 15set(sources 16 X86AsmPrinter.cpp 17 X86CallFrameOptimization.cpp 18 X86ExpandPseudo.cpp 19 X86FastISel.cpp 20 X86FixupBWInsts.cpp 21 X86FixupLEAs.cpp 22 X86FixupSetCC.cpp 23 X86FloatingPoint.cpp 24 X86FrameLowering.cpp 25 X86ISelDAGToDAG.cpp 26 X86ISelLowering.cpp 27 X86InstrInfo.cpp 28 X86MCInstLower.cpp 29 X86MachineFunctionInfo.cpp 30 X86OptimizeLEAs.cpp 31 X86PadShortFunction.cpp 32 X86RegisterInfo.cpp 33 X86SelectionDAGInfo.cpp 34 X86ShuffleDecodeConstantPool.cpp 35 X86Subtarget.cpp 36 X86TargetMachine.cpp 37 X86TargetObjectFile.cpp 38 X86TargetTransformInfo.cpp 39 X86VZeroUpper.cpp 40 X86WinAllocaExpander.cpp 41 X86WinEHState.cpp 42 ) 43 44add_llvm_target(X86CodeGen ${sources}) 45 46add_subdirectory(AsmParser) 47add_subdirectory(Disassembler) 48add_subdirectory(InstPrinter) 49add_subdirectory(MCTargetDesc) 50add_subdirectory(TargetInfo) 51add_subdirectory(Utils) 52