1 add_llvm_component_group(RISCV)
3 set(LLVM_TARGET_DEFINITIONS RISCV.td)
5 tablegen(LLVM RISCVGenAsmMatcher.inc -gen-asm-matcher)
6 tablegen(LLVM RISCVGenAsmWriter.inc -gen-asm-writer)
7 tablegen(LLVM RISCVGenCompressInstEmitter.inc -gen-compress-inst-emitter)
8 tablegen(LLVM RISCVGenMacroFusion.inc -gen-macro-fusion-pred)
9 tablegen(LLVM RISCVGenDAGISel.inc -gen-dag-isel)
10 tablegen(LLVM RISCVGenDisassemblerTables.inc -gen-disassembler)
11 tablegen(LLVM RISCVGenInstrInfo.inc -gen-instr-info)
12 tablegen(LLVM RISCVGenMCCodeEmitter.inc -gen-emitter)
13 tablegen(LLVM RISCVGenMCPseudoLowering.inc -gen-pseudo-lowering)
14 tablegen(LLVM RISCVGenRegisterBank.inc -gen-register-bank)
15 tablegen(LLVM RISCVGenRegisterInfo.inc -gen-register-info)
16 tablegen(LLVM RISCVGenSearchableTables.inc -gen-searchable-tables)
17 tablegen(LLVM RISCVGenSubtargetInfo.inc -gen-subtarget)
19 set(LLVM_TARGET_DEFINITIONS RISCVGISel.td)
20 tablegen(LLVM RISCVGenGlobalISel.inc -gen-global-isel)
21 tablegen(LLVM RISCVGenO0PreLegalizeGICombiner.inc -gen-global-isel-combiner
22 -combiners="RISCVO0PreLegalizerCombiner")
23 tablegen(LLVM RISCVGenPreLegalizeGICombiner.inc -gen-global-isel-combiner
24 -combiners="RISCVPreLegalizerCombiner")
25 tablegen(LLVM RISCVGenPostLegalizeGICombiner.inc -gen-global-isel-combiner
26 -combiners="RISCVPostLegalizerCombiner")
28 add_public_tablegen_target(RISCVCommonTableGen)
30 add_llvm_target(RISCVCodeGen
32 RISCVCodeGenPrepare.cpp
33 RISCVDeadRegisterDefinitions.cpp
34 RISCVMakeCompressible.cpp
35 RISCVExpandAtomicPseudoInsts.cpp
36 RISCVExpandPseudoInsts.cpp
38 RISCVFrameLowering.cpp
39 RISCVGatherScatterLowering.cpp
40 RISCVInsertVSETVLI.cpp
41 RISCVInsertReadWriteCSR.cpp
42 RISCVInsertWriteVXRM.cpp
46 RISCVMachineFunctionInfo.cpp
47 RISCVMergeBaseOffset.cpp
49 RISCVPostRAExpandPseudoInsts.cpp
50 RISCVRedundantCopyElimination.cpp
52 RISCVPushPopOptimizer.cpp
56 RISCVTargetMachine.cpp
57 RISCVTargetObjectFile.cpp
58 RISCVTargetTransformInfo.cpp
59 GISel/RISCVCallLowering.cpp
60 GISel/RISCVInstructionSelector.cpp
61 GISel/RISCVLegalizerInfo.cpp
62 GISel/RISCVPostLegalizerCombiner.cpp
63 GISel/RISCVO0PreLegalizerCombiner.cpp
64 GISel/RISCVPreLegalizerCombiner.cpp
65 GISel/RISCVRegisterBankInfo.cpp
89 add_subdirectory(AsmParser)
90 add_subdirectory(Disassembler)
91 add_subdirectory(MCTargetDesc)
93 add_subdirectory(TargetInfo)