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