|
LLVM
10.0.0
|
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 | reference = std::iterator< std::forward_iterator_tag, MachineInstr, ptrdiff_t >::reference |
| using | pointer = std::iterator< std::forward_iterator_tag, MachineInstr, ptrdiff_t >::pointer |
Public Member Functions | |
| defusechain_iterator ()=default | |
| bool | operator== (const defusechain_iterator &x) const |
| bool | operator!= (const defusechain_iterator &x) const |
| bool | atEnd () const |
| atEnd - return true if this iterator is equal to reg_end() on the value. More... | |
| defusechain_iterator & | operator++ () |
| defusechain_iterator | operator++ (int) |
| unsigned | getOperandNo () const |
| getOperandNo - Return the operand # of this MachineOperand in its MachineInstr. More... | |
| 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 266 of file MachineRegisterInfo.h.
| using llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr, ByBundle >::pointer = std::iterator<std::forward_iterator_tag, MachineInstr, ptrdiff_t>::pointer |
Definition at line 1011 of file MachineRegisterInfo.h.
| using llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr, ByBundle >::reference = std::iterator<std::forward_iterator_tag, MachineInstr, ptrdiff_t>::reference |
Definition at line 1009 of file MachineRegisterInfo.h.
|
default |
|
inline |
atEnd - return true if this iterator is equal to reg_end() on the value.
Definition at line 1023 of file MachineRegisterInfo.h.
Referenced by llvm::MachineTraceMetrics::Ensemble::verify().
|
inline |
getOperandNo - Return the operand # of this MachineOperand in its MachineInstr.
Definition at line 1051 of file MachineRegisterInfo.h.
References assert(), llvm::MachineInstr::getOperand(), and llvm::MachineOperand::getParent().
Referenced by isVirtualRegisterOperand(), llvm::FastISel::tryToFoldLoad(), and llvm::MachineTraceMetrics::Ensemble::verify().
|
inline |
Definition at line 1018 of file MachineRegisterInfo.h.
References llvm::operator==().
|
inline |
Definition at line 1057 of file MachineRegisterInfo.h.
References assert().
|
inline |
Definition at line 1026 of file MachineRegisterInfo.h.
References assert(), llvm::getBundleStart(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::MachineOperand::getParent(), and P.
|
inline |
Definition at line 1045 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1062 of file MachineRegisterInfo.h.
References assert().
|
inline |
Definition at line 1015 of file MachineRegisterInfo.h.
|
friend |
Definition at line 972 of file MachineRegisterInfo.h.
1.8.13