|
LLVM 23.0.0git
|
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"
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 |
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 1056 of file MachineRegisterInfo.h.
| using llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr >::difference_type = std::ptrdiff_t |
Definition at line 1064 of file MachineRegisterInfo.h.
| using llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr >::iterator_category = std::forward_iterator_tag |
Definition at line 1062 of file MachineRegisterInfo.h.
| using llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr >::pointer = value_type * |
Definition at line 1065 of file MachineRegisterInfo.h.
| using llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr >::reference = value_type & |
Definition at line 1066 of file MachineRegisterInfo.h.
| using llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr >::value_type = MachineOperand |
Definition at line 1063 of file MachineRegisterInfo.h.
|
default |
|
inline |
getOperandNo - Return the operand # of this MachineOperand in its MachineInstr.
Definition at line 1138 of file MachineRegisterInfo.h.
Referenced by llvm::FastISel::tryToFoldLoad().
|
inline |
Definition at line 1108 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1144 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1113 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1132 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1149 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1105 of file MachineRegisterInfo.h.
Referenced by llvm::MachineRegisterInfo::defusechain_iterator< true, true, false, true, false >::operator!=().
|
friend |
Definition at line 1057 of file MachineRegisterInfo.h.