LLVM: llvm::RegBankSelect::InstrInsertPoint Class Reference (original) (raw)

Insertion point before or after an instruction. More...

#include "[llvm/CodeGen/GlobalISel/RegBankSelect.h](RegBankSelect%5F8h%5Fsource.html)"

Public Member Functions
InstrInsertPoint (MachineInstr &Instr, bool Before=true)
Create an insertion point before (Before=true) or after Instr.
bool isSplit () const override
Does this point involve splitting an edge or block?
uint64_t frequency (const Pass &P) const override
Frequency of the insertion point.
bool canMaterialize () const override
Check whether this insertion point can be materialized.
Public Member Functions inherited from llvm::RegBankSelect::InsertPoint
virtual ~InsertPoint ()=default
MachineBasicBlock::iterator getPoint ()
The first call to this method will cause the splitting to happen if need be, then sub sequent calls just return the iterator to that point.
MachineBasicBlock & getInsertMBB ()
The first call to this method will cause the splitting to happen if need be, then sub sequent calls just return the basic block that contains the insertion point.
MachineBasicBlock::iterator insert (MachineInstr &MI)
Insert MI in the just before getPoint()

Insertion point before or after an instruction.

Definition at line 204 of file RegBankSelect.h.

RegBankSelect::InstrInsertPoint::InstrInsertPoint ( MachineInstr & Instr,
bool Before = true )

canMaterialize()

bool llvm::RegBankSelect::InstrInsertPoint::canMaterialize ( ) const inlineoverridevirtual

frequency()

uint64_t RegBankSelect::InstrInsertPoint::frequency ( const Pass & P) const overridevirtual

isSplit()

bool RegBankSelect::InstrInsertPoint::isSplit ( ) const overridevirtual

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