LLVM  10.0.0git
Public Member Functions | List of all members
llvm::MIOperands Class Reference

MIOperands - Iterate over operands of a single instruction. More...

#include "llvm/CodeGen/MachineInstrBundle.h"

Inheritance diagram for llvm::MIOperands:
Inheritance graph
[legend]
Collaboration diagram for llvm::MIOperands:
Collaboration graph
[legend]

Public Member Functions

 MIOperands (MachineInstr &MI)
 
MachineOperandoperator* () const
 
MachineOperandoperator-> () const
 
- Public Member Functions inherited from llvm::MachineOperandIteratorBase
bool isValid () const
 isValid - Returns true until all the operands have been visited. More...
 
void operator++ ()
 Preincrement. Move to the next operand. More...
 
unsigned getOperandNo () const
 getOperandNo - Returns the number of the current operand relative to its instruction. More...
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::MachineOperandIteratorBase
 MachineOperandIteratorBase (MachineInstr &MI, bool WholeBundle)
 MachineOperandIteratorBase - Create an iterator that visits all operands on MI, or all operands on every instruction in the bundle containing MI. More...
 
MachineOperandderef () const
 

Detailed Description

MIOperands - Iterate over operands of a single instruction.

Definition at line 154 of file MachineInstrBundle.h.

Constructor & Destructor Documentation

◆ MIOperands()

llvm::MIOperands::MIOperands ( MachineInstr MI)
inline

Definition at line 156 of file MachineInstrBundle.h.

Member Function Documentation

◆ operator*()

MachineOperand& llvm::MIOperands::operator* ( ) const
inline

Definition at line 157 of file MachineInstrBundle.h.

References llvm::MachineOperandIteratorBase::deref().

◆ operator->()

MachineOperand* llvm::MIOperands::operator-> ( ) const
inline

Definition at line 158 of file MachineInstrBundle.h.

References llvm::MachineOperandIteratorBase::deref().


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