LLVM  10.0.0svn
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 922 of file MachineBasicBlock.h.

Constructor & Destructor Documentation

◆ MachineInstrSpan()

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

Definition at line 927 of file MachineBasicBlock.h.

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

Member Function Documentation

◆ begin()

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

◆ empty()

bool llvm::MachineInstrSpan::empty ( )
inline

Definition at line 937 of file MachineBasicBlock.h.

References llvm::sys::path::begin(), and llvm::sys::path::end().

◆ end()

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

Definition at line 936 of file MachineBasicBlock.h.

References E.

Referenced by isFullUndefDef().

◆ getInitial()

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

Definition at line 939 of file MachineBasicBlock.h.

References I.


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