LLVM
17.0.0git
|
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 "llvm/Analysis/MemorySSA.h"
Additional Inherited Members | |
![]() | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = const MemoryAccessPair |
using | difference_type = std::ptrdiff_t |
using | pointer = const MemoryAccessPair * |
using | reference = 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 1221 of file MemorySSA.h.
|
inline |
Definition at line 1228 of file MemorySSA.h.
References Info.
|
inline |
Definition at line 1237 of file MemorySSA.h.
|
inline |
Definition at line 1259 of file MemorySSA.h.
References llvm::memoryaccess_def_iterator_base< T >::getPhiArgBlock().
|
inline |
Definition at line 1243 of file MemorySSA.h.
References assert(), and llvm::MemoryAccess::defs_end().
|
inline |
Definition at line 1250 of file MemorySSA.h.
References assert(), and llvm::MemoryAccess::defs_end().
|
inline |
Definition at line 1239 of file MemorySSA.h.
References Other.