]> granicus.if.org Git - llvm/commit
[Nios2] Subtarget, basic infrastructure for frame, instructions and registers
authorNikolai Bozhenov <nikolai.bozhenov@intel.com>
Tue, 19 Sep 2017 11:54:29 +0000 (11:54 +0000)
committerNikolai Bozhenov <nikolai.bozhenov@intel.com>
Tue, 19 Sep 2017 11:54:29 +0000 (11:54 +0000)
commitbe4aef480ee94fb56bfe50384a7675b7d1bdf4c4
tree1f6f102c995f2ac43fdea665023b20e00ae3f039
parenteef725fc8500e305e581699d17e633c990e6516b
[Nios2] Subtarget, basic infrastructure for frame, instructions and registers

This is the second minimal patch keeping Nios2 target buildable.
I'm adding subtarget here and other stuff for frame lowering, instruction,
register information methods. I do not add any test cases, as still there
are missing parts like DAG selector and assembly printing. I plan to include
them into the next patch.

Patch by Andrei Grischenko <andrei.l.grischenko@intel.com>

Differential Revision: https://reviews.llvm.org/D37256

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313626 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
lib/Target/Nios2/CMakeLists.txt
lib/Target/Nios2/MCTargetDesc/Nios2MCTargetDesc.cpp
lib/Target/Nios2/MCTargetDesc/Nios2MCTargetDesc.h
lib/Target/Nios2/Nios2.td
lib/Target/Nios2/Nios2FrameLowering.cpp [new file with mode: 0644]
lib/Target/Nios2/Nios2FrameLowering.h [new file with mode: 0644]
lib/Target/Nios2/Nios2InstrInfo.cpp [new file with mode: 0644]
lib/Target/Nios2/Nios2InstrInfo.h [new file with mode: 0644]
lib/Target/Nios2/Nios2RegisterInfo.cpp [new file with mode: 0644]
lib/Target/Nios2/Nios2RegisterInfo.h [new file with mode: 0644]
lib/Target/Nios2/Nios2Schedule.td [new file with mode: 0644]
lib/Target/Nios2/Nios2Subtarget.cpp [new file with mode: 0644]
lib/Target/Nios2/Nios2Subtarget.h [new file with mode: 0644]
lib/Target/Nios2/Nios2TargetMachine.cpp
lib/Target/Nios2/Nios2TargetMachine.h