llvm::ConstMIBundleOperands

ConstMIBundleOperands - Iterate over all operands in a const bundle of machine instructions.

Synopsis

Declared in <llvm/CodeGen/MachineInstrBundle.h>

class ConstMIBundleOperands
    : public MIBundleOperandIteratorBase<MachineOperand const>

Base Classes

NameDescription
MIBundleOperandIteratorBase<MachineOperand const>Iterator that visits all operands in a bundle of MachineInstrs.

Member Functions

NameDescription
ConstMIBundleOperands [constructor]Construct an iterator over all operands in the bundle containing MI.
getOperandNo getOperandNo - Returns the number of the current operand relative to its instruction.
isValid isValid - Returns true until all the operands have been visited.
operator* Dereference to the current machine operand.
operator++ Preincrement. Move to the next operand.
operator-> Member access for the current machine operand.
operator== Return true if this iterator and Arg refer to the same operand.

Static Member Functions

NameDescription
end Returns an iterator past the last iteration.

Non-Member Functions

NameDescription
const_mi_bundle_opsReturn a range over all operands in the const bundle containing MI.