Go to the documentation of this file.
13 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXINSTRINFO_H
14 #define LLVM_LIB_TARGET_NVPTX_NVPTXINSTRINFO_H
20 #define GET_INSTRINFO_HEADER
21 #include "NVPTXGenInstrInfo.inc"
27 virtual void anchor();
53 bool KillSrc)
const override;
59 bool AllowModify)
const override;
61 int *BytesRemoved =
nullptr)
const override;
65 int *BytesAdded =
nullptr)
const override;
This is an optimization pass for GlobalISel generic memory operations.
unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef< MachineOperand > Cond, const DebugLoc &DL, int *BytesAdded=nullptr) const override
unsigned removeBranch(MachineBasicBlock &MBB, int *BytesRemoved=nullptr) const override
const NVPTXRegisterInfo & getRegisterInfo() const
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
SmallVector< MachineOperand, 4 > Cond
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, const DebugLoc &DL, MCRegister DestReg, MCRegister SrcReg, bool KillSrc) const override
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
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 understo...
Wrapper class representing physical registers. Should be passed by value.