LLVM 20.0.0git
|
MIBundleOperands - Iterate over all operands in a bundle of machine instructions. More...
#include "llvm/CodeGen/MachineInstrBundle.h"
Public Member Functions | |
MIBundleOperands (MachineInstr &MI) | |
Public Member Functions inherited from llvm::MIBundleOperandIteratorBase< MachineOperand > | |
bool | isValid () const |
isValid - Returns true until all the operands have been visited. | |
void | operator++ () |
Preincrement. Move to the next operand. | |
MachineOperand & | operator* () const |
MachineOperand * | operator-> () const |
bool | operator== (const MIBundleOperandIteratorBase &Arg) const |
unsigned | getOperandNo () const |
getOperandNo - Returns the number of the current operand relative to its instruction. | |
Public Member Functions inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT > | |
DerivedT | operator+ (DifferenceTypeT n) const |
DerivedT | operator- (DifferenceTypeT n) const |
DerivedT & | operator++ () |
DerivedT | operator++ (int) |
DerivedT & | operator-- () |
DerivedT | operator-- (int) |
bool | operator!= (const DerivedT &RHS) const |
bool | operator> (const DerivedT &RHS) const |
bool | operator<= (const DerivedT &RHS) const |
bool | operator>= (const DerivedT &RHS) const |
PointerProxy | operator-> () const |
ReferenceProxy | operator[] (DifferenceTypeT n) const |
Static Public Member Functions | |
static MIBundleOperands | end (const MachineBasicBlock &MBB) |
Returns an iterator past the last iteration. | |
Additional Inherited Members | |
Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT > | |
using | iterator_category = IteratorCategoryT |
using | value_type = T |
using | difference_type = DifferenceTypeT |
using | pointer = PointerT |
using | reference = ReferenceT |
Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT > | |
enum | { IsRandomAccess , IsBidirectional } |
Protected Member Functions inherited from llvm::MIBundleOperandIteratorBase< MachineOperand > | |
MIBundleOperandIteratorBase (MachineInstr &MI) | |
MIBundleOperandIteratorBase - Create an iterator that visits all operands on MI, or all operands on every instruction in the bundle containing MI. | |
MIBundleOperandIteratorBase (MachineBasicBlock::instr_iterator InstrE, MachineInstr::mop_iterator OpE) | |
Constructor for an iterator past the last iteration: both instruction iterators point to the end of the BB and OpI == OpE. | |
MIBundleOperands - Iterate over all operands in a bundle of machine instructions.
Definition at line 166 of file MachineInstrBundle.h.
|
inline |
Definition at line 173 of file MachineInstrBundle.h.
|
inlinestatic |
Returns an iterator past the last iteration.
Definition at line 176 of file MachineInstrBundle.h.
References MBB.
Referenced by llvm::mi_bundle_ops().