LLVM  14.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]
Collaboration diagram for llvm::MIBundleOperands:
Collaboration 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. More...
 
void operator++ ()
 Preincrement. Move to the next operand. More...
 
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. More...
 
- Public Member Functions inherited from llvm::iterator_facade_base< MIBundleOperandIteratorBase< MachineOperand >, std::forward_iterator_tag, MachineOperand >
MIBundleOperandIteratorBase< MachineOperandoperator+ (std::ptrdiff_t n) const
 
MIBundleOperandIteratorBase< MachineOperandoperator- (std::ptrdiff_t n) const
 
MIBundleOperandIteratorBase< MachineOperand > & operator++ ()
 
MIBundleOperandIteratorBase< MachineOperandoperator++ (int)
 
MIBundleOperandIteratorBase< MachineOperand > & operator-- ()
 
MIBundleOperandIteratorBase< MachineOperandoperator-- (int)
 
bool operator!= (const MIBundleOperandIteratorBase< MachineOperand > &RHS) const
 
bool operator> (const MIBundleOperandIteratorBase< MachineOperand > &RHS) const
 
bool operator<= (const MIBundleOperandIteratorBase< MachineOperand > &RHS) const
 
bool operator>= (const MIBundleOperandIteratorBase< MachineOperand > &RHS) const
 
PointerProxy operator-> ()
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n)
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Static Public Member Functions

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

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< MIBundleOperandIteratorBase< MachineOperand >, std::forward_iterator_tag, MachineOperand >
using iterator_category = std::forward_iterator_tag
 
using value_type = MachineOperand
 
using difference_type = std::ptrdiff_t
 
using pointer = MachineOperand *
 
using reference = MachineOperand &
 
- Protected Types inherited from llvm::iterator_facade_base< MIBundleOperandIteratorBase< MachineOperand >, std::forward_iterator_tag, MachineOperand >
enum  
 
- 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. 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

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: