LLVM  8.0.1
Public Member Functions | List of all members
llvm::ConstMIOperands Class Reference

ConstMIOperands - Iterate over operands of a single const instruction. More...

#include "llvm/CodeGen/MachineInstrBundle.h"

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

Public Member Functions

 ConstMIOperands (const MachineInstr &MI)
 
const MachineOperandoperator* () const
 
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

ConstMIOperands - Iterate over operands of a single const instruction.

Definition at line 230 of file MachineInstrBundle.h.

Constructor & Destructor Documentation

◆ ConstMIOperands()

llvm::ConstMIOperands::ConstMIOperands ( const MachineInstr MI)
inline

Definition at line 232 of file MachineInstrBundle.h.

Member Function Documentation

◆ operator*()

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

Definition at line 234 of file MachineInstrBundle.h.

References llvm::MachineOperandIteratorBase::deref().

◆ operator->()

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

Definition at line 235 of file MachineInstrBundle.h.

References llvm::MachineOperandIteratorBase::deref().


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