2016-11-02 07:40:28 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS RISCV.td)
|
|
|
|
|
|
|
|
tablegen(LLVM RISCVGenRegisterInfo.inc -gen-register-info)
|
|
|
|
tablegen(LLVM RISCVGenInstrInfo.inc -gen-instr-info)
|
2016-11-02 07:47:30 +08:00
|
|
|
tablegen(LLVM RISCVGenMCCodeEmitter.inc -gen-emitter)
|
2017-10-20 05:37:38 +08:00
|
|
|
tablegen(LLVM RISCVGenMCPseudoLowering.inc -gen-pseudo-lowering)
|
2017-08-08 22:32:35 +08:00
|
|
|
tablegen(LLVM RISCVGenAsmMatcher.inc -gen-asm-matcher)
|
2017-08-15 21:08:29 +08:00
|
|
|
tablegen(LLVM RISCVGenAsmWriter.inc -gen-asm-writer)
|
2017-10-20 05:37:38 +08:00
|
|
|
tablegen(LLVM RISCVGenDAGISel.inc -gen-dag-isel)
|
2017-09-17 22:36:28 +08:00
|
|
|
tablegen(LLVM RISCVGenSubtargetInfo.inc -gen-subtarget)
|
|
|
|
tablegen(LLVM RISCVGenDisassemblerTables.inc -gen-disassembler)
|
2016-11-02 07:40:28 +08:00
|
|
|
|
|
|
|
add_public_tablegen_target(RISCVCommonTableGen)
|
|
|
|
|
2016-11-02 01:27:54 +08:00
|
|
|
add_llvm_target(RISCVCodeGen
|
2017-10-20 05:37:38 +08:00
|
|
|
RISCVAsmPrinter.cpp
|
|
|
|
RISCVFrameLowering.cpp
|
|
|
|
RISCVInstrInfo.cpp
|
|
|
|
RISCVISelDAGToDAG.cpp
|
|
|
|
RISCVISelLowering.cpp
|
|
|
|
RISCVMCInstLower.cpp
|
|
|
|
RISCVRegisterInfo.cpp
|
|
|
|
RISCVSubtarget.cpp
|
2016-11-02 01:27:54 +08:00
|
|
|
RISCVTargetMachine.cpp
|
|
|
|
)
|
|
|
|
|
2017-08-08 22:32:35 +08:00
|
|
|
add_subdirectory(AsmParser)
|
2017-09-17 22:36:28 +08:00
|
|
|
add_subdirectory(Disassembler)
|
2017-08-15 21:08:29 +08:00
|
|
|
add_subdirectory(InstPrinter)
|
2016-11-02 07:47:30 +08:00
|
|
|
add_subdirectory(MCTargetDesc)
|
2017-08-15 21:08:29 +08:00
|
|
|
add_subdirectory(TargetInfo)
|