LLVM 19.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 1311 of file MachineBasicBlock.h.

Constructor & Destructor Documentation

◆ MachineInstrSpan()

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

Definition at line 1316 of file MachineBasicBlock.h.

References assert(), llvm::MachineBasicBlock::end(), I, and MBB.

Member Function Documentation

◆ begin()

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

◆ empty()

bool llvm::MachineInstrSpan::empty ( )
inline

Definition at line 1326 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 1328 of file MachineBasicBlock.h.

References I.


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