OSDN Git Service

[AArch64][GlobalISel] Add a post-legalizer combiner with a very simple combine.
[android-x86/external-llvm-project.git] / llvm / lib / Target / AArch64 / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS AArch64.td)
2
3 tablegen(LLVM AArch64GenAsmMatcher.inc -gen-asm-matcher)
4 tablegen(LLVM AArch64GenAsmWriter.inc -gen-asm-writer)
5 tablegen(LLVM AArch64GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1)
6 tablegen(LLVM AArch64GenCallingConv.inc -gen-callingconv)
7 tablegen(LLVM AArch64GenDAGISel.inc -gen-dag-isel)
8 tablegen(LLVM AArch64GenDisassemblerTables.inc -gen-disassembler)
9 tablegen(LLVM AArch64GenFastISel.inc -gen-fast-isel)
10 tablegen(LLVM AArch64GenGlobalISel.inc -gen-global-isel)
11 tablegen(LLVM AArch64GenPreLegalizeGICombiner.inc -gen-global-isel-combiner
12               -combiners="AArch64PreLegalizerCombinerHelper")
13 tablegen(LLVM AArch64GenPostLegalizeGICombiner.inc -gen-global-isel-combiner
14               -combiners="AArch64PostLegalizerCombinerHelper")
15 tablegen(LLVM AArch64GenInstrInfo.inc -gen-instr-info)
16 tablegen(LLVM AArch64GenMCCodeEmitter.inc -gen-emitter)
17 tablegen(LLVM AArch64GenMCPseudoLowering.inc -gen-pseudo-lowering)
18 tablegen(LLVM AArch64GenRegisterBank.inc -gen-register-bank)
19 tablegen(LLVM AArch64GenRegisterInfo.inc -gen-register-info)
20 tablegen(LLVM AArch64GenSubtargetInfo.inc -gen-subtarget)
21 tablegen(LLVM AArch64GenSystemOperands.inc -gen-searchable-tables)
22 tablegen(LLVM AArch64GenExegesis.inc -gen-exegesis)
23
24 add_public_tablegen_target(AArch64CommonTableGen)
25
26 add_llvm_target(AArch64CodeGen
27   AArch64A57FPLoadBalancing.cpp
28   AArch64AdvSIMDScalarPass.cpp
29   AArch64AsmPrinter.cpp
30   AArch64BranchTargets.cpp
31   AArch64CallingConvention.cpp
32   AArch64CallLowering.cpp
33   AArch64CleanupLocalDynamicTLSPass.cpp
34   AArch64CollectLOH.cpp
35   AArch64CondBrTuning.cpp
36   AArch64ConditionalCompares.cpp
37   AArch64DeadRegisterDefinitionsPass.cpp
38   AArch64ExpandImm.cpp
39   AArch64ExpandPseudoInsts.cpp
40   AArch64FalkorHWPFFix.cpp
41   AArch64FastISel.cpp
42   AArch64A53Fix835769.cpp
43   AArch64FrameLowering.cpp
44   AArch64CompressJumpTables.cpp
45   AArch64ConditionOptimizer.cpp
46   AArch64RedundantCopyElimination.cpp
47   AArch64ISelDAGToDAG.cpp
48   AArch64ISelLowering.cpp
49   AArch64InstrInfo.cpp
50   AArch64InstructionSelector.cpp
51   AArch64LegalizerInfo.cpp
52   AArch64LoadStoreOptimizer.cpp
53   AArch64MachineFunctionInfo.cpp
54   AArch64MacroFusion.cpp
55   AArch64MCInstLower.cpp
56   AArch64PreLegalizerCombiner.cpp
57   AArch64PostLegalizerCombiner.cpp
58   AArch64PromoteConstant.cpp
59   AArch64PBQPRegAlloc.cpp
60   AArch64RegisterBankInfo.cpp
61   AArch64RegisterInfo.cpp
62   AArch64SelectionDAGInfo.cpp
63   AArch64SpeculationHardening.cpp
64   AArch64StackTagging.cpp
65   AArch64StackTaggingPreRA.cpp
66   AArch64StorePairSuppress.cpp
67   AArch64Subtarget.cpp
68   AArch64TargetMachine.cpp
69   AArch64TargetObjectFile.cpp
70   AArch64TargetTransformInfo.cpp
71   SVEIntrinsicOpts.cpp
72   AArch64SIMDInstrOpt.cpp
73
74   DEPENDS
75   intrinsics_gen
76 )
77
78 add_subdirectory(AsmParser)
79 add_subdirectory(Disassembler)
80 add_subdirectory(MCTargetDesc)
81 add_subdirectory(TargetInfo)
82 add_subdirectory(Utils)