[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS Nios2.td)
|
|
|
|
|
|
|
|
#Generate Nios2GenRegisterInfo.inc and Nios2GenInstrInfo.inc which included by
|
|
|
|
#your hand code C++ files.
|
|
|
|
#Nios2GenRegisterInfo.inc came from Nios2RegisterInfo.td, Nios2GenInstrInfo.inc
|
|
|
|
#came from Nios2InstrInfo.td.
|
2017-12-07 20:35:02 +08:00
|
|
|
tablegen(LLVM Nios2GenAsmWriter.inc -gen-asm-writer)
|
|
|
|
tablegen(LLVM Nios2GenDAGISel.inc -gen-dag-isel)
|
[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
tablegen(LLVM Nios2GenRegisterInfo.inc -gen-register-info)
|
2017-12-07 20:35:02 +08:00
|
|
|
tablegen(LLVM Nios2GenCallingConv.inc -gen-callingconv)
|
[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
tablegen(LLVM Nios2GenInstrInfo.inc -gen-instr-info)
|
2017-09-19 19:54:29 +08:00
|
|
|
tablegen(LLVM Nios2GenSubtargetInfo.inc -gen-subtarget)
|
[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
|
|
|
|
#Nios2CommonTableGen must be defined
|
|
|
|
add_public_tablegen_target(Nios2CommonTableGen)
|
|
|
|
|
|
|
|
#Nios2CodeGen should match with LLVMBuild.txt Nios2CodeGen
|
2017-09-19 19:54:29 +08:00
|
|
|
add_llvm_target(Nios2CodeGen
|
2017-12-07 20:35:02 +08:00
|
|
|
Nios2AsmPrinter.cpp
|
2017-09-19 19:54:29 +08:00
|
|
|
Nios2FrameLowering.cpp
|
2017-12-07 20:35:02 +08:00
|
|
|
Nios2InstrInfo.cpp
|
|
|
|
Nios2ISelDAGToDAG.cpp
|
|
|
|
Nios2ISelLowering.cpp
|
|
|
|
Nios2MachineFunction.cpp
|
|
|
|
Nios2MCInstLower.cpp
|
2017-09-19 19:54:29 +08:00
|
|
|
Nios2RegisterInfo.cpp
|
|
|
|
Nios2Subtarget.cpp
|
|
|
|
Nios2TargetMachine.cpp
|
2017-12-07 20:35:02 +08:00
|
|
|
Nios2TargetObjectFile.cpp
|
2017-09-19 19:54:29 +08:00
|
|
|
)
|
[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
|
2017-12-07 20:35:02 +08:00
|
|
|
#Should match with "subdirectories = InstPrinter MCTargetDesc TargetInfo" in LLVMBuild.txt
|
|
|
|
add_subdirectory(InstPrinter)
|
[Nios2] Target registration
Reviewers: craig.topper, hfinkel, joerg, lattner, zvi
Reviewed By: craig.topper
Subscribers: oren_ben_simhon, igorb, belickim, tvvikram, mgorny, llvm-commits, pavel.v.chupin, DavidKreitzer
Differential Revision: https://reviews.llvm.org/D32669
Patch by AndreiGrischenko <andrei.l.grischenko@intel.com>
llvm-svn: 304144
2017-05-29 17:48:30 +08:00
|
|
|
add_subdirectory(MCTargetDesc)
|
2017-12-07 20:35:02 +08:00
|
|
|
add_subdirectory(TargetInfo)
|