blob: bd2d300e4f32add4c5e047e881d887500aa57512 [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
David L Kreitzer01a057a2016-10-14 18:20:41 +000027 X86InterleavedAccess.cpp
Vyacheslav Klochkov6daefcf2016-08-11 22:07:33 +000028 X86InstrFMA3Info.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000029 X86InstrInfo.cpp
30 X86MCInstLower.cpp
31 X86MachineFunctionInfo.cpp
Michael Kuperstein85de98f2016-06-28 17:11:15 +000032 X86OptimizeLEAs.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000033 X86PadShortFunction.cpp
34 X86RegisterInfo.cpp
35 X86SelectionDAGInfo.cpp
Craig Topper69653af2015-12-31 22:40:45 +000036 X86ShuffleDecodeConstantPool.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000037 X86Subtarget.cpp
38 X86TargetMachine.cpp
39 X86TargetObjectFile.cpp
40 X86TargetTransformInfo.cpp
41 X86VZeroUpper.cpp
Hans Wennborg8eb336c2016-05-18 16:10:17 +000042 X86WinAllocaExpander.cpp
Michael Kuperstein85de98f2016-06-28 17:11:15 +000043 X86WinEHState.cpp
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000044 )
45
Michael Kupersteine86aa9a2015-02-01 16:15:07 +000046add_llvm_target(X86CodeGen ${sources})
47
48add_subdirectory(AsmParser)
49add_subdirectory(Disassembler)
50add_subdirectory(InstPrinter)
51add_subdirectory(MCTargetDesc)
52add_subdirectory(TargetInfo)
53add_subdirectory(Utils)