|
LLVM
7.0.0
|
#include "Target/Nios2/Nios2InstrInfo.h"
Public Member Functions | |
| Nios2InstrInfo (Nios2Subtarget &ST) | |
| const Nios2RegisterInfo & | getRegisterInfo () const |
| getRegisterInfo - TargetInstrInfo is a superset of MRegister info. More... | |
| bool | expandPostRAPseudo (MachineInstr &MI) const override |
| Expand Pseudo instructions into real backend instructions. More... | |
| void | copyPhysReg (MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const DebugLoc &DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const override |
Definition at line 27 of file Nios2InstrInfo.h.
|
explicit |
Definition at line 26 of file Nios2InstrInfo.cpp.
|
override |
Definition at line 45 of file Nios2InstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::RegState::Define, llvm::getKillRegState(), and llvm::Nios2Subtarget::hasNios2r2().
Referenced by getRegisterInfo().
|
override |
Expand Pseudo instructions into real backend instructions.
Definition at line 30 of file Nios2InstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::MachineBasicBlock::erase(), llvm::MachineInstr::getDebugLoc(), llvm::MachineInstr::getDesc(), llvm::MCInstrDesc::getOpcode(), llvm::MachineInstr::getParent(), and RA.
Referenced by getRegisterInfo().
|
inline |
getRegisterInfo - TargetInstrInfo is a superset of MRegister info.
As such, whenever a client has an instance of instruction info, it should always be able to get register info as well (through this method).
Definition at line 39 of file Nios2InstrInfo.h.
References copyPhysReg(), expandPostRAPseudo(), and MI.
Referenced by llvm::Nios2Subtarget::getRegisterInfo().
1.8.13