blob: 8679278530246dfd557d4d13d5f7caea0a63059e [file] [log] [blame]
Michael Kupersteine86aa9a2015-02-01 16:15:07 +00001set(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
Michael Kuperstein13fbd452015-02-01 16:56:04 +000017 X86CallFrameOptimization.cpp
Quentin Colombet494eb602015-05-22 18:10:47 +000018 X86ExpandPseudo.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000019 X86FastISel.cpp
Michael Kuperstein85de98f2016-06-28 17:11:15 +000020 X86FixupBWInsts.cpp
21 X86FixupLEAs.cpp
Michael Kuperstein3e3652a2016-07-07 22:50:23 +000022 X86FixupSetCC.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000023 X86FloatingPoint.cpp
24 X86FrameLowering.cpp
25 X86ISelDAGToDAG.cpp
26 X86ISelLowering.cpp
Vyacheslav Klochkov6daefcf2016-08-11 22:07:33 +000027 X86InstrFMA3Info.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000028 X86InstrInfo.cpp
29 X86MCInstLower.cpp
30 X86MachineFunctionInfo.cpp
Michael Kuperstein85de98f2016-06-28 17:11:15 +000031 X86OptimizeLEAs.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000032 X86PadShortFunction.cpp
33 X86RegisterInfo.cpp
34 X86SelectionDAGInfo.cpp
Craig Topper69653af2015-12-31 22:40:45 +000035 X86ShuffleDecodeConstantPool.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000036 X86Subtarget.cpp
37 X86TargetMachine.cpp
38 X86TargetObjectFile.cpp
39 X86TargetTransformInfo.cpp
40 X86VZeroUpper.cpp
Hans Wennborg8eb336c2016-05-18 16:10:17 +000041 X86WinAllocaExpander.cpp
Michael Kuperstein85de98f2016-06-28 17:11:15 +000042 X86WinEHState.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000043 )
44
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000045add_llvm_target(X86CodeGen ${sources})
46
47add_subdirectory(AsmParser)
48add_subdirectory(Disassembler)
49add_subdirectory(InstPrinter)
50add_subdirectory(MCTargetDesc)
51add_subdirectory(TargetInfo)
52add_subdirectory(Utils)