Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 1 | set(LLVM_TARGET_DEFINITIONS X86.td) |
| 2 | |
Nico Weber | 1cbd096 | 2018-04-04 12:37:44 +0000 | [diff] [blame] | 3 | tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher) |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 4 | tablegen(LLVM X86GenAsmWriter.inc -gen-asm-writer) |
| 5 | tablegen(LLVM X86GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1) |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 6 | tablegen(LLVM X86GenCallingConv.inc -gen-callingconv) |
Nico Weber | 1cbd096 | 2018-04-04 12:37:44 +0000 | [diff] [blame] | 7 | tablegen(LLVM X86GenDAGISel.inc -gen-dag-isel) |
| 8 | tablegen(LLVM X86GenDisassemblerTables.inc -gen-disassembler) |
Ayman Musa | 850fc97 | 2017-03-07 08:11:19 +0000 | [diff] [blame] | 9 | tablegen(LLVM X86GenEVEX2VEXTables.inc -gen-x86-EVEX2VEX-tables) |
Simon Pilgrim | f2b9d10 | 2018-12-31 14:51:53 +0000 | [diff] [blame] | 10 | tablegen(LLVM X86GenExegesis.inc -gen-exegesis) |
Nico Weber | 1cbd096 | 2018-04-04 12:37:44 +0000 | [diff] [blame] | 11 | tablegen(LLVM X86GenFastISel.inc -gen-fast-isel) |
Quentin Colombet | 250e050 | 2017-08-03 21:52:25 +0000 | [diff] [blame] | 12 | tablegen(LLVM X86GenGlobalISel.inc -gen-global-isel) |
Nico Weber | 1cbd096 | 2018-04-04 12:37:44 +0000 | [diff] [blame] | 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) |
Igor Breger | b4442f3 | 2017-02-10 07:05:56 +0000 | [diff] [blame] | 17 | |
Craig Topper | e9f44e1 | 2018-01-07 21:03:43 +0000 | [diff] [blame] | 18 | if (X86_GEN_FOLD_TABLES) |
| 19 | tablegen(LLVM X86GenFoldTables.inc -gen-x86-fold-tables) |
| 20 | endif() |
Ayman Musa | 993339b | 2017-10-08 09:20:32 +0000 | [diff] [blame] | 21 | |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 22 | add_public_tablegen_target(X86CommonTableGen) |
| 23 | |
| 24 | set(sources |
Vlad Tsyrklevich | e344601 | 2018-04-04 01:21:16 +0000 | [diff] [blame] | 25 | ShadowCallStack.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 26 | X86AsmPrinter.cpp |
Michael Kuperstein | 13fbd45 | 2015-02-01 16:56:04 +0000 | [diff] [blame] | 27 | X86CallFrameOptimization.cpp |
Oren Ben Simhon | 1c6308e | 2018-01-09 08:51:18 +0000 | [diff] [blame] | 28 | X86CallingConv.cpp |
Quentin Colombet | 250e050 | 2017-08-03 21:52:25 +0000 | [diff] [blame] | 29 | X86CallLowering.cpp |
Amjad Aboud | 4563c06 | 2017-07-16 17:39:56 +0000 | [diff] [blame] | 30 | X86CmovConversion.cpp |
Rong Xu | 3d2efdf | 2018-10-09 22:03:40 +0000 | [diff] [blame] | 31 | X86CondBrFolding.cpp |
Guy Blank | 92d5ce3 | 2017-10-22 11:43:08 +0000 | [diff] [blame] | 32 | X86DomainReassignment.cpp |
Mircea Trofin | f1a49e8 | 2018-11-30 01:01:52 +0000 | [diff] [blame] | 33 | X86DiscriminateMemOps.cpp |
Quentin Colombet | 494eb60 | 2015-05-22 18:10:47 +0000 | [diff] [blame] | 34 | X86ExpandPseudo.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 35 | X86FastISel.cpp |
Michael Kuperstein | 85de98f | 2016-06-28 17:11:15 +0000 | [diff] [blame] | 36 | X86FixupBWInsts.cpp |
| 37 | X86FixupLEAs.cpp |
Lama Saba | 9274683 | 2018-04-02 13:48:28 +0000 | [diff] [blame] | 38 | X86AvoidStoreForwardingBlocks.cpp |
Michael Kuperstein | 3e3652a | 2016-07-07 22:50:23 +0000 | [diff] [blame] | 39 | X86FixupSetCC.cpp |
Chandler Carruth | 19618fc | 2018-04-10 01:41:17 +0000 | [diff] [blame] | 40 | X86FlagsCopyLowering.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 41 | X86FloatingPoint.cpp |
| 42 | X86FrameLowering.cpp |
Quentin Colombet | 250e050 | 2017-08-03 21:52:25 +0000 | [diff] [blame] | 43 | X86InstructionSelector.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 44 | X86ISelDAGToDAG.cpp |
| 45 | X86ISelLowering.cpp |
Oren Ben Simhon | 1c6308e | 2018-01-09 08:51:18 +0000 | [diff] [blame] | 46 | X86IndirectBranchTracking.cpp |
David L Kreitzer | 01a057a | 2016-10-14 18:20:41 +0000 | [diff] [blame] | 47 | X86InterleavedAccess.cpp |
Mircea Trofin | f1a49e8 | 2018-11-30 01:01:52 +0000 | [diff] [blame] | 48 | X86InsertPrefetch.cpp |
Vyacheslav Klochkov | 6daefcf | 2016-08-11 22:07:33 +0000 | [diff] [blame] | 49 | X86InstrFMA3Info.cpp |
Craig Topper | 4e78213 | 2018-07-01 05:47:49 +0000 | [diff] [blame] | 50 | X86InstrFoldTables.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 51 | X86InstrInfo.cpp |
Gadi Haber | 19c4fc5 | 2016-12-28 10:12:48 +0000 | [diff] [blame] | 52 | X86EvexToVex.cpp |
Quentin Colombet | 250e050 | 2017-08-03 21:52:25 +0000 | [diff] [blame] | 53 | X86LegalizerInfo.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 54 | X86MCInstLower.cpp |
| 55 | X86MachineFunctionInfo.cpp |
Evandro Menezes | 94edf02 | 2017-02-01 02:54:34 +0000 | [diff] [blame] | 56 | X86MacroFusion.cpp |
Michael Kuperstein | 85de98f | 2016-06-28 17:11:15 +0000 | [diff] [blame] | 57 | X86OptimizeLEAs.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 58 | X86PadShortFunction.cpp |
Quentin Colombet | 250e050 | 2017-08-03 21:52:25 +0000 | [diff] [blame] | 59 | X86RegisterBankInfo.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 60 | X86RegisterInfo.cpp |
Chandler Carruth | c58f216 | 2018-01-22 22:05:25 +0000 | [diff] [blame] | 61 | X86RetpolineThunks.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 62 | X86SelectionDAGInfo.cpp |
Craig Topper | 69653af | 2015-12-31 22:40:45 +0000 | [diff] [blame] | 63 | X86ShuffleDecodeConstantPool.cpp |
Chandler Carruth | 90358e1 | 2018-07-13 11:13:58 +0000 | [diff] [blame] | 64 | X86SpeculativeLoadHardening.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 65 | X86Subtarget.cpp |
| 66 | X86TargetMachine.cpp |
| 67 | X86TargetObjectFile.cpp |
| 68 | X86TargetTransformInfo.cpp |
| 69 | X86VZeroUpper.cpp |
Hans Wennborg | 8eb336c | 2016-05-18 16:10:17 +0000 | [diff] [blame] | 70 | X86WinAllocaExpander.cpp |
Michael Kuperstein | 85de98f | 2016-06-28 17:11:15 +0000 | [diff] [blame] | 71 | X86WinEHState.cpp |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 72 | ) |
| 73 | |
Michael Kuperstein | e86aa9a | 2015-02-01 16:15:07 +0000 | [diff] [blame] | 74 | add_llvm_target(X86CodeGen ${sources}) |
| 75 | |
| 76 | add_subdirectory(AsmParser) |
| 77 | add_subdirectory(Disassembler) |
| 78 | add_subdirectory(InstPrinter) |
| 79 | add_subdirectory(MCTargetDesc) |
| 80 | add_subdirectory(TargetInfo) |
| 81 | add_subdirectory(Utils) |