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-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)
|
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
|
|
|
|
RISCVTargetMachine.cpp
|
|
|
|
)
|
|
|
|
|
2017-08-08 22:32:35 +08:00
|
|
|
add_subdirectory(AsmParser)
|
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)
|