LLVM  13.0.0git
Public Member Functions | List of all members
llvm::MachineInstrSpan Class Reference

MachineInstrSpan provides an interface to get an iteration range containing the instruction it was initialized with, along with all those instructions inserted prior to or following that instruction at some point after the MachineInstrSpan is constructed. More...

#include "llvm/CodeGen/MachineBasicBlock.h"

Public Member Functions

 MachineInstrSpan (MachineBasicBlock::iterator I, MachineBasicBlock *BB)
 
MachineBasicBlock::iterator begin ()
 
MachineBasicBlock::iterator end ()
 
bool empty ()
 
MachineBasicBlock::iterator getInitial ()
 

Detailed Description

MachineInstrSpan provides an interface to get an iteration range containing the instruction it was initialized with, along with all those instructions inserted prior to or following that instruction at some point after the MachineInstrSpan is constructed.

Definition at line 1044 of file MachineBasicBlock.h.

Constructor & Destructor Documentation

◆ MachineInstrSpan()

llvm::MachineInstrSpan::MachineInstrSpan ( MachineBasicBlock::iterator  I,
MachineBasicBlock BB 
)
inline

Definition at line 1049 of file MachineBasicBlock.h.

References assert(), B, BB, I, and MBB.

Member Function Documentation

◆ begin()

MachineBasicBlock::iterator llvm::MachineInstrSpan::begin ( )
inline

◆ empty()

bool llvm::MachineInstrSpan::empty ( )
inline

Definition at line 1059 of file MachineBasicBlock.h.

References begin(), and end().

◆ end()

MachineBasicBlock::iterator llvm::MachineInstrSpan::end ( )
inline

◆ getInitial()

MachineBasicBlock::iterator llvm::MachineInstrSpan::getInitial ( )
inline

Definition at line 1061 of file MachineBasicBlock.h.

References I.


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