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)
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
add_subdirectory(TargetInfo)
|
2016-11-02 07:47:30 +08:00
|
|
|
add_subdirectory(MCTargetDesc)
|