LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::MIBundleOperands Class Reference

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

#include "llvm/CodeGen/MachineInstrBundle.h"

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

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.
 
MachineOperandoperator* () 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 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.
 

Detailed Description

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

Definition at line 166 of file MachineInstrBundle.h.

Constructor & Destructor Documentation

◆ MIBundleOperands()

llvm::MIBundleOperands::MIBundleOperands ( MachineInstr MI)
inline

Definition at line 173 of file MachineInstrBundle.h.

Member Function Documentation

◆ end()

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

Returns an iterator past the last iteration.

Definition at line 176 of file MachineInstrBundle.h.

References MBB.

Referenced by llvm::mi_bundle_ops().


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