LLVM 22.0.0git
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:
[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< MIBundleOperandIteratorBase< const MachineOperand >, std::forward_iterator_tag, const MachineOperand >
MIBundleOperandIteratorBase< const MachineOperandoperator+ (std::ptrdiff_t n) const
MIBundleOperandIteratorBase< const MachineOperandoperator- (std::ptrdiff_t n) const
MIBundleOperandIteratorBase< const MachineOperand > & operator++ ()
MIBundleOperandIteratorBase< const MachineOperand > & operator-- ()
bool operator!= (const MIBundleOperandIteratorBase< const MachineOperand > &RHS) const
bool operator> (const MIBundleOperandIteratorBase< const MachineOperand > &RHS) const
bool operator<= (const MIBundleOperandIteratorBase< const MachineOperand > &RHS) const
bool operator>= (const MIBundleOperandIteratorBase< const MachineOperand > &RHS) const
PointerProxy operator-> () const
ReferenceProxy operator[] (std::ptrdiff_t 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< MIBundleOperandIteratorBase< const MachineOperand >, std::forward_iterator_tag, const MachineOperand >
using iterator_category
using value_type
using difference_type
using pointer
using reference
Protected Types inherited from llvm::iterator_facade_base< MIBundleOperandIteratorBase< const MachineOperand >, std::forward_iterator_tag, const MachineOperand >
enum  
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.

Detailed Description

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

Definition at line 188 of file MachineInstrBundle.h.

Constructor & Destructor Documentation

◆ ConstMIBundleOperands()

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

Member Function Documentation

◆ end()

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

Returns an iterator past the last iteration.

Definition at line 201 of file MachineInstrBundle.h.

References MBB.

Referenced by llvm::const_mi_bundle_ops().


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