LLVM: llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr (original) (raw)

reg_begin/reg_end - Provide iteration support to walk over all definitions and uses of a register within the MachineFunction that corresponds to this MachineRegisterInfo object. More...

#include "[llvm/CodeGen/MachineRegisterInfo.h](MachineRegisterInfo%5F8h%5Fsource.html)"

Public Types
using iterator_category = std::forward_iterator_tag
using value_type = MachineOperand
using difference_type = std::ptrdiff_t
using pointer = value_type *
using reference = value_type &
Public Member Functions
defusechain_iterator ()=default
bool operator== (const defusechain_iterator &x) const
bool operator!= (const defusechain_iterator &x) const
defusechain_iterator & operator++ ()
defusechain_iterator operator++ (int)
unsigned getOperandNo () const
getOperandNo - Return the operand # of this MachineOperand in its MachineInstr.
MachineOperand & operator* () const
MachineOperand * operator-> () const
Friends
class MachineRegisterInfo

template<bool ReturnUses, bool ReturnDefs, bool SkipDebug, bool ByOperand, bool ByInstr>
class llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr >

reg_begin/reg_end - Provide iteration support to walk over all definitions and uses of a register within the MachineFunction that corresponds to this MachineRegisterInfo object.

defusechain_iterator - This class provides iterator support for machine operands in the function that use or define a specific register.

If ReturnUses is true it returns uses of registers, if ReturnDefs is true it returns defs. If neither are true then you are silly and it always returns end(). If SkipDebug is true it skips uses marked Debug when incrementing.

Definition at line 1047 of file MachineRegisterInfo.h.

difference_type

iterator_category

pointer

reference

value_type

getOperandNo()

operator!=()

operator*()

operator++() [1/2]

operator++() [2/2]

operator->()

operator==()

MachineRegisterInfo


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