LLVM  8.0.0svn
Public Member Functions | List of all members
llvm::Nios2InstrInfo Class Reference

#include "Target/Nios2/Nios2InstrInfo.h"

Inheritance diagram for llvm::Nios2InstrInfo:
Inheritance graph
Collaboration diagram for llvm::Nios2InstrInfo:
Collaboration graph

Public Member Functions

 Nios2InstrInfo (Nios2Subtarget &ST)
const Nios2RegisterInfogetRegisterInfo () 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

Detailed Description

Definition at line 27 of file Nios2InstrInfo.h.

Constructor & Destructor Documentation

◆ Nios2InstrInfo()

Nios2InstrInfo::Nios2InstrInfo ( Nios2Subtarget ST)

Definition at line 26 of file Nios2InstrInfo.cpp.

Member Function Documentation

◆ copyPhysReg()

void Nios2InstrInfo::copyPhysReg ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  MI,
const DebugLoc DL,
unsigned  DestReg,
unsigned  SrcReg,
bool  KillSrc 
) const

◆ expandPostRAPseudo()

bool Nios2InstrInfo::expandPostRAPseudo ( MachineInstr MI) const

◆ getRegisterInfo()

const Nios2RegisterInfo& llvm::Nios2InstrInfo::getRegisterInfo ( ) const

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().

The documentation for this class was generated from the following files: