LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::ConstMIBundleOperands Class Reference

ConstMIBundleOperands - Iterate over all operands in a const bundle of machine instructions. More...

#include "llvm/CodeGen/MachineInstrBundle.h"

Inheritance diagram for llvm::ConstMIBundleOperands:
Inheritance graph
[legend]

Public Member Functions

 ConstMIBundleOperands (const MachineInstr &MI)
 
- Public Member Functions inherited from llvm::MIBundleOperandIteratorBase< const MachineOperand >
bool isValid () const
 isValid - Returns true until all the operands have been visited.
 
void operator++ ()
 Preincrement. Move to the next operand.
 
const MachineOperandoperator* () const
 
const MachineOperandoperator-> () 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 ConstMIBundleOperands 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< const 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.
 

Detailed Description

ConstMIBundleOperands - Iterate over all operands in a const bundle of machine instructions.

Definition at line 185 of file MachineInstrBundle.h.

Constructor & Destructor Documentation

◆ ConstMIBundleOperands()

llvm::ConstMIBundleOperands::ConstMIBundleOperands ( const MachineInstr MI)
inline

Definition at line 194 of file MachineInstrBundle.h.

Member Function Documentation

◆ end()

static ConstMIBundleOperands llvm::ConstMIBundleOperands::end ( const MachineBasicBlock MBB)
inlinestatic

Returns an iterator past the last iteration.

Definition at line 198 of file MachineInstrBundle.h.

References MBB.

Referenced by llvm::const_mi_bundle_ops().


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