LLVM  8.0.1
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...
 
VirtRegInfo analyzeVirtReg (unsigned Reg, SmallVectorImpl< std::pair< MachineInstr *, unsigned > > *Ops=nullptr)
 analyzeVirtReg - Analyze how the current instruction or bundle uses a virtual register. More...
 
PhysRegInfo analyzePhysReg (unsigned Reg, const TargetRegisterInfo *TRI)
 analyzePhysReg - Analyze how the current instruction or bundle uses a physical register. 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 221 of file MachineInstrBundle.h.

Constructor & Destructor Documentation

◆ MIOperands()

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

Definition at line 223 of file MachineInstrBundle.h.

Member Function Documentation

◆ operator*()

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

Definition at line 224 of file MachineInstrBundle.h.

References llvm::MachineOperandIteratorBase::deref().

◆ operator->()

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

Definition at line 225 of file MachineInstrBundle.h.

References llvm::MachineOperandIteratorBase::deref().


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