|
LLVM
4.0.0
|
Provide an iterator that walks defs, giving both the memory access, and the current pointer location, updating the pointer location as it changes due to phi node translation. More...
#include <MemorySSA.h>
Public Member Functions | |
| upward_defs_iterator (const MemoryAccessPair &Info) | |
| upward_defs_iterator () | |
| bool | operator== (const upward_defs_iterator &Other) const |
| BaseT::iterator::reference | operator* () const |
| upward_defs_iterator & | operator++ () |
| BasicBlock * | getPhiArgBlock () const |
Public Member Functions inherited from llvm::iterator_facade_base< upward_defs_iterator, std::forward_iterator_tag, const MemoryAccessPair > | |
| upward_defs_iterator | operator+ (std::ptrdiff_tn) const |
| upward_defs_iterator | operator- (std::ptrdiff_tn) const |
| upward_defs_iterator & | operator++ () |
| upward_defs_iterator | operator++ (int) |
| upward_defs_iterator & | operator-- () |
| upward_defs_iterator | operator-- (int) |
| bool | operator!= (const upward_defs_iterator &RHS) const |
| bool | operator> (const upward_defs_iterator &RHS) const |
| bool | operator<= (const upward_defs_iterator &RHS) const |
| bool | operator>= (const upward_defs_iterator &RHS) const |
| const MemoryAccessPair * | operator-> () const |
| ReferenceProxy | operator[] (std::ptrdiff_tn) const |
Additional Inherited Members | |
Protected Types inherited from llvm::iterator_facade_base< upward_defs_iterator, std::forward_iterator_tag, const MemoryAccessPair > | |
| enum | |
Provide an iterator that walks defs, giving both the memory access, and the current pointer location, updating the pointer location as it changes due to phi node translation.
This iterator, while somewhat specialized, is what most clients actually want when walking upwards through MemorySSA def chains. It takes a pair of <MemoryAccess,MemoryLocation>, and walks defs, properly translating the memory location through phi nodes for the user.
Definition at line 934 of file MemorySSA.h.
|
inline |
Definition at line 941 of file MemorySSA.h.
|
inline |
Definition at line 950 of file MemorySSA.h.
|
inline |
Definition at line 975 of file MemorySSA.h.
References llvm::memoryaccess_def_iterator_base< T >::getPhiArgBlock().
|
inline |
Definition at line 959 of file MemorySSA.h.
References assert(), and llvm::MemoryAccess::defs_end().
|
inline |
Definition at line 966 of file MemorySSA.h.
References assert(), and llvm::MemoryAccess::defs_end().
|
inline |
Definition at line 955 of file MemorySSA.h.
1.8.6