OSDN Git Service

Revert r324835 "[X86] Reduce Store Forward Block issues in HW"
[android-x86/external-llvm.git] / lib / Target / X86 / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS X86.td)
2
3 tablegen(LLVM X86GenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM X86GenDisassemblerTables.inc -gen-disassembler)
5 tablegen(LLVM X86GenInstrInfo.inc -gen-instr-info)
6 tablegen(LLVM X86GenAsmWriter.inc -gen-asm-writer)
7 tablegen(LLVM X86GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1)
8 tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher)
9 tablegen(LLVM X86GenDAGISel.inc -gen-dag-isel)
10 tablegen(LLVM X86GenFastISel.inc -gen-fast-isel)
11 tablegen(LLVM X86GenCallingConv.inc -gen-callingconv)
12 tablegen(LLVM X86GenSubtargetInfo.inc -gen-subtarget)
13 tablegen(LLVM X86GenEVEX2VEXTables.inc -gen-x86-EVEX2VEX-tables)
14 tablegen(LLVM X86GenRegisterBank.inc -gen-register-bank)
15 tablegen(LLVM X86GenGlobalISel.inc -gen-global-isel)
16
17 if (X86_GEN_FOLD_TABLES)
18   tablegen(LLVM X86GenFoldTables.inc -gen-x86-fold-tables)
19 endif()
20
21 add_public_tablegen_target(X86CommonTableGen)
22
23 set(sources
24   X86AsmPrinter.cpp
25   X86CallFrameOptimization.cpp
26   X86CallingConv.cpp
27   X86CallLowering.cpp
28   X86CmovConversion.cpp
29   X86DomainReassignment.cpp
30   X86ExpandPseudo.cpp
31   X86FastISel.cpp
32   X86FixupBWInsts.cpp
33   X86FixupLEAs.cpp
34   X86FixupSetCC.cpp
35   X86FloatingPoint.cpp
36   X86FrameLowering.cpp
37   X86InstructionSelector.cpp
38   X86ISelDAGToDAG.cpp
39   X86ISelLowering.cpp
40   X86IndirectBranchTracking.cpp
41   X86InterleavedAccess.cpp
42   X86InstrFMA3Info.cpp
43   X86InstrInfo.cpp
44   X86EvexToVex.cpp
45   X86LegalizerInfo.cpp
46   X86MCInstLower.cpp
47   X86MachineFunctionInfo.cpp
48   X86MacroFusion.cpp
49   X86OptimizeLEAs.cpp
50   X86PadShortFunction.cpp
51   X86RegisterBankInfo.cpp
52   X86RegisterInfo.cpp
53   X86RetpolineThunks.cpp
54   X86SelectionDAGInfo.cpp
55   X86ShuffleDecodeConstantPool.cpp
56   X86Subtarget.cpp
57   X86TargetMachine.cpp
58   X86TargetObjectFile.cpp
59   X86TargetTransformInfo.cpp
60   X86VZeroUpper.cpp
61   X86WinAllocaExpander.cpp
62   X86WinEHState.cpp
63   )
64
65 add_llvm_target(X86CodeGen ${sources})
66
67 add_subdirectory(AsmParser)
68 add_subdirectory(Disassembler)
69 add_subdirectory(InstPrinter)
70 add_subdirectory(MCTargetDesc)
71 add_subdirectory(TargetInfo)
72 add_subdirectory(Utils)