1 set(LLVM_TARGET_DEFINITIONS AArch64.td)
3 tablegen(LLVM AArch64GenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM AArch64GenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM AArch64GenMCCodeEmitter.inc -gen-emitter)
6 tablegen(LLVM AArch64GenMCPseudoLowering.inc -gen-pseudo-lowering)
7 tablegen(LLVM AArch64GenAsmWriter.inc -gen-asm-writer)
8 tablegen(LLVM AArch64GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1)
9 tablegen(LLVM AArch64GenAsmMatcher.inc -gen-asm-matcher)
10 tablegen(LLVM AArch64GenDAGISel.inc -gen-dag-isel)
11 tablegen(LLVM AArch64GenFastISel.inc -gen-fast-isel)
12 tablegen(LLVM AArch64GenCallingConv.inc -gen-callingconv)
13 tablegen(LLVM AArch64GenSubtargetInfo.inc -gen-subtarget)
14 tablegen(LLVM AArch64GenDisassemblerTables.inc -gen-disassembler)
15 tablegen(LLVM AArch64GenSystemOperands.inc -gen-searchable-tables)
17 add_public_tablegen_target(AArch64CommonTableGen)
19 # List of all GlobalISel files.
21 AArch64CallLowering.cpp
22 AArch64InstructionSelector.cpp
23 AArch64LegalizerInfo.cpp
24 AArch64RegisterBankInfo.cpp
27 # Add GlobalISel files to the dependencies if the user wants to build it.
28 if(LLVM_BUILD_GLOBAL_ISEL)
29 set(GLOBAL_ISEL_BUILD_FILES ${GLOBAL_ISEL_FILES})
31 set(GLOBAL_ISEL_BUILD_FILES"")
32 set(LLVM_OPTIONAL_SOURCES LLVMGlobalISel ${GLOBAL_ISEL_FILES})
36 add_llvm_target(AArch64CodeGen
37 AArch64A57FPLoadBalancing.cpp
38 AArch64AddressTypePromotion.cpp
39 AArch64AdvSIMDScalarPass.cpp
41 AArch64CleanupLocalDynamicTLSPass.cpp
43 AArch64ConditionalCompares.cpp
44 AArch64DeadRegisterDefinitionsPass.cpp
45 AArch64ExpandPseudoInsts.cpp
47 AArch64A53Fix835769.cpp
48 AArch64FrameLowering.cpp
49 AArch64ConditionOptimizer.cpp
50 AArch64RedundantCopyElimination.cpp
51 AArch64ISelDAGToDAG.cpp
52 AArch64ISelLowering.cpp
54 AArch64LoadStoreOptimizer.cpp
55 AArch64MCInstLower.cpp
56 AArch64PromoteConstant.cpp
57 AArch64PBQPRegAlloc.cpp
58 AArch64RegisterInfo.cpp
59 AArch64SelectionDAGInfo.cpp
60 AArch64StorePairSuppress.cpp
62 AArch64TargetMachine.cpp
63 AArch64TargetObjectFile.cpp
64 AArch64TargetTransformInfo.cpp
65 AArch64VectorByElementOpt.cpp
66 ${GLOBAL_ISEL_BUILD_FILES}
72 add_subdirectory(TargetInfo)
73 add_subdirectory(AsmParser)
74 add_subdirectory(Disassembler)
75 add_subdirectory(InstPrinter)
76 add_subdirectory(MCTargetDesc)
77 add_subdirectory(Utils)