|
LLVM
10.0.0
|
#include "Target/NVPTX/NVPTXInstrInfo.h"
Public Member Functions | |
| NVPTXInstrInfo () | |
| const NVPTXRegisterInfo & | getRegisterInfo () const |
| void | copyPhysReg (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, const DebugLoc &DL, MCRegister DestReg, MCRegister SrcReg, bool KillSrc) const override |
| bool | analyzeBranch (MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify) const override |
| AnalyzeBranch - Analyze the branching code at the end of MBB, returning true if it cannot be understood (e.g. More... | |
| unsigned | removeBranch (MachineBasicBlock &MBB, int *BytesRemoved=nullptr) const override |
| unsigned | insertBranch (MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef< MachineOperand > Cond, const DebugLoc &DL, int *BytesAdded=nullptr) const override |
Definition at line 25 of file NVPTXInstrInfo.h.
|
explicit |
Definition at line 30 of file NVPTXInstrInfo.cpp.
|
override |
AnalyzeBranch - Analyze the branching code at the end of MBB, returning true if it cannot be understood (e.g.
it's a switch dispatch or isn't implemented for a target). Upon success, this returns false and returns with the following information in various cases:
Note that removeBranch and insertBranch must be implemented to support cases where this method returns success.
Definition at line 95 of file NVPTXInstrInfo.cpp.
Referenced by getRegisterInfo().
|
override |
Definition at line 32 of file NVPTXInstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::getKillRegState(), llvm::MachineBasicBlock::getParent(), llvm::MachineRegisterInfo::getRegClass(), llvm::MachineFunction::getRegInfo(), llvm_unreachable, MRI, and llvm::report_fatal_error().
Referenced by getRegisterInfo().
|
inline |
Definition at line 31 of file NVPTXInstrInfo.h.
References analyzeBranch(), copyPhysReg(), and I.
Referenced by llvm::NVPTXSubtarget::getRegisterInfo().
|
override |
Definition at line 180 of file NVPTXInstrInfo.cpp.
|
override |
Definition at line 154 of file NVPTXInstrInfo.cpp.
References assert(), llvm::MachineBasicBlock::begin(), llvm::MachineBasicBlock::end(), and I.
1.8.13