LLVM
10.0.0svn
|
defusechain_iterator - This class provides iterator support for machine operands in the function that use or define a specific register. 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_instr_iterator ()=default | |
bool | operator== (const defusechain_instr_iterator &x) const |
bool | operator!= (const defusechain_instr_iterator &x) const |
bool | atEnd () const |
atEnd - return true if this iterator is equal to reg_end() on the value. More... | |
defusechain_instr_iterator & | operator++ () |
defusechain_instr_iterator | operator++ (int) |
MachineInstr & | operator* () const |
MachineInstr * | operator-> () const |
Friends | |
class | MachineRegisterInfo |
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 269 of file MachineRegisterInfo.h.
using llvm::MachineRegisterInfo::defusechain_instr_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr, ByBundle >::pointer = std::iterator<std::forward_iterator_tag, MachineInstr, ptrdiff_t>::pointer |
Definition at line 1117 of file MachineRegisterInfo.h.
using llvm::MachineRegisterInfo::defusechain_instr_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr, ByBundle >::reference = std::iterator<std::forward_iterator_tag, MachineInstr, ptrdiff_t>::reference |
Definition at line 1115 of file MachineRegisterInfo.h.
|
default |
|
inline |
atEnd - return true if this iterator is equal to reg_end() on the value.
Definition at line 1129 of file MachineRegisterInfo.h.
Referenced by llvm::MachineRegisterInfo::getVRegDef().
|
inline |
Definition at line 1124 of file MachineRegisterInfo.h.
References llvm::operator==().
|
inline |
Definition at line 1156 of file MachineRegisterInfo.h.
References assert(), llvm::getBundleStart(), llvm::ilist_node_impl< OptionsT >::getIterator(), and llvm::MachineOperand::getParent().
|
inline |
Definition at line 1132 of file MachineRegisterInfo.h.
References assert(), llvm::getBundleStart(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::MachineOperand::getParent(), and P.
|
inline |
Definition at line 1151 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1163 of file MachineRegisterInfo.h.
References llvm::operator*().
|
inline |
Definition at line 1121 of file MachineRegisterInfo.h.
|
friend |
Definition at line 1078 of file MachineRegisterInfo.h.