Mercurial > hg > CbC > CbC_llvm
comparison lib/Target/ARM/CMakeLists.txt @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children | c2174574ed3a |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
1 set(LLVM_TARGET_DEFINITIONS ARM.td) | 1 set(LLVM_TARGET_DEFINITIONS ARM.td) |
2 | 2 |
3 tablegen(LLVM ARMGenRegisterBank.inc -gen-register-bank) | |
4 tablegen(LLVM ARMGenGlobalISel.inc -gen-global-isel) | |
3 tablegen(LLVM ARMGenRegisterInfo.inc -gen-register-info) | 5 tablegen(LLVM ARMGenRegisterInfo.inc -gen-register-info) |
4 tablegen(LLVM ARMGenInstrInfo.inc -gen-instr-info) | 6 tablegen(LLVM ARMGenInstrInfo.inc -gen-instr-info) |
5 tablegen(LLVM ARMGenMCCodeEmitter.inc -gen-emitter) | 7 tablegen(LLVM ARMGenMCCodeEmitter.inc -gen-emitter) |
6 tablegen(LLVM ARMGenMCPseudoLowering.inc -gen-pseudo-lowering) | 8 tablegen(LLVM ARMGenMCPseudoLowering.inc -gen-pseudo-lowering) |
7 tablegen(LLVM ARMGenAsmWriter.inc -gen-asm-writer) | 9 tablegen(LLVM ARMGenAsmWriter.inc -gen-asm-writer) |
9 tablegen(LLVM ARMGenDAGISel.inc -gen-dag-isel) | 11 tablegen(LLVM ARMGenDAGISel.inc -gen-dag-isel) |
10 tablegen(LLVM ARMGenFastISel.inc -gen-fast-isel) | 12 tablegen(LLVM ARMGenFastISel.inc -gen-fast-isel) |
11 tablegen(LLVM ARMGenCallingConv.inc -gen-callingconv) | 13 tablegen(LLVM ARMGenCallingConv.inc -gen-callingconv) |
12 tablegen(LLVM ARMGenSubtargetInfo.inc -gen-subtarget) | 14 tablegen(LLVM ARMGenSubtargetInfo.inc -gen-subtarget) |
13 tablegen(LLVM ARMGenDisassemblerTables.inc -gen-disassembler) | 15 tablegen(LLVM ARMGenDisassemblerTables.inc -gen-disassembler) |
16 tablegen(LLVM ARMGenSystemRegister.inc -gen-searchable-tables) | |
14 add_public_tablegen_target(ARMCommonTableGen) | 17 add_public_tablegen_target(ARMCommonTableGen) |
15 | |
16 # Add GlobalISel files if the user wants to build it. | |
17 set(GLOBAL_ISEL_FILES | |
18 ARMCallLowering.cpp | |
19 ARMInstructionSelector.cpp | |
20 ARMLegalizerInfo.cpp | |
21 ARMRegisterBankInfo.cpp | |
22 ) | |
23 | |
24 if(LLVM_BUILD_GLOBAL_ISEL) | |
25 set(GLOBAL_ISEL_BUILD_FILES ${GLOBAL_ISEL_FILES}) | |
26 else() | |
27 set(GLOBAL_ISEL_BUILD_FILES "") | |
28 set(LLVM_OPTIONAL_SOURCES LLVMGlobalISel ${GLOBAL_ISEL_FILES}) | |
29 endif() | |
30 | 18 |
31 add_llvm_target(ARMCodeGen | 19 add_llvm_target(ARMCodeGen |
32 A15SDOptimizer.cpp | 20 A15SDOptimizer.cpp |
33 ARMAsmPrinter.cpp | 21 ARMAsmPrinter.cpp |
34 ARMBaseInstrInfo.cpp | 22 ARMBaseInstrInfo.cpp |
35 ARMBaseRegisterInfo.cpp | 23 ARMBaseRegisterInfo.cpp |
24 ARMCallLowering.cpp | |
36 ARMConstantIslandPass.cpp | 25 ARMConstantIslandPass.cpp |
37 ARMConstantPoolValue.cpp | 26 ARMConstantPoolValue.cpp |
38 ARMExpandPseudoInsts.cpp | 27 ARMExpandPseudoInsts.cpp |
39 ARMFastISel.cpp | 28 ARMFastISel.cpp |
40 ARMFrameLowering.cpp | 29 ARMFrameLowering.cpp |
41 ARMHazardRecognizer.cpp | 30 ARMHazardRecognizer.cpp |
31 ARMInstructionSelector.cpp | |
42 ARMISelDAGToDAG.cpp | 32 ARMISelDAGToDAG.cpp |
43 ARMISelLowering.cpp | 33 ARMISelLowering.cpp |
44 ARMInstrInfo.cpp | 34 ARMInstrInfo.cpp |
35 ARMLegalizerInfo.cpp | |
45 ARMLoadStoreOptimizer.cpp | 36 ARMLoadStoreOptimizer.cpp |
46 ARMMCInstLower.cpp | 37 ARMMCInstLower.cpp |
47 ARMMachineFunctionInfo.cpp | 38 ARMMachineFunctionInfo.cpp |
39 ARMMacroFusion.cpp | |
48 ARMRegisterInfo.cpp | 40 ARMRegisterInfo.cpp |
49 ARMOptimizeBarriersPass.cpp | 41 ARMOptimizeBarriersPass.cpp |
42 ARMRegisterBankInfo.cpp | |
50 ARMSelectionDAGInfo.cpp | 43 ARMSelectionDAGInfo.cpp |
51 ARMSubtarget.cpp | 44 ARMSubtarget.cpp |
52 ARMTargetMachine.cpp | 45 ARMTargetMachine.cpp |
53 ARMTargetObjectFile.cpp | 46 ARMTargetObjectFile.cpp |
54 ARMTargetTransformInfo.cpp | 47 ARMTargetTransformInfo.cpp |
58 ThumbRegisterInfo.cpp | 51 ThumbRegisterInfo.cpp |
59 Thumb2ITBlockPass.cpp | 52 Thumb2ITBlockPass.cpp |
60 Thumb2InstrInfo.cpp | 53 Thumb2InstrInfo.cpp |
61 Thumb2SizeReduction.cpp | 54 Thumb2SizeReduction.cpp |
62 ARMComputeBlockSize.cpp | 55 ARMComputeBlockSize.cpp |
63 ${GLOBAL_ISEL_BUILD_FILES} | |
64 ) | 56 ) |
65 | 57 |
66 add_subdirectory(TargetInfo) | 58 add_subdirectory(TargetInfo) |
67 add_subdirectory(AsmParser) | 59 add_subdirectory(AsmParser) |
68 add_subdirectory(Disassembler) | 60 add_subdirectory(Disassembler) |
69 add_subdirectory(InstPrinter) | 61 add_subdirectory(InstPrinter) |
70 add_subdirectory(MCTargetDesc) | 62 add_subdirectory(MCTargetDesc) |
63 add_subdirectory(Utils) |