LLVM  12.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]
Collaboration diagram for llvm::ConstMIBundleOperands:
Collaboration 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. More...
 
void operator++ ()
 Preincrement. Move to the next operand. More...
 
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. More...
 
- 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 MachineOperandoperator++ (int)
 
MIBundleOperandIteratorBase< const MachineOperand > & operator-- ()
 
MIBundleOperandIteratorBase< const MachineOperandoperator-- (int)
 
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
 
const MachineOperandoperator-> ()
 
const MachineOperandoperator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n)
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Static Public Member Functions

static ConstMIBundleOperands end (const MachineBasicBlock &MBB)
 Returns an iterator past the last iteration. More...
 

Additional Inherited Members

- 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. More...
 
 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. More...
 

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: