|
LLVM
4.0.0
|
#include <MemorySSA.h>
Public Types | |
| typedef user_iterator | iterator |
| The user iterators for a memory access. More... | |
| typedef const_user_iterator | const_iterator |
Public Types inherited from llvm::User | |
| typedef Use * | op_iterator |
| typedef const Use * | const_op_iterator |
| typedef iterator_range < op_iterator > | op_range |
| typedef iterator_range < const_op_iterator > | const_op_range |
Public Types inherited from llvm::Value | |
| enum | ValueTy |
| Concrete subclass of this. More... | |
| typedef use_iterator_impl< Use > | use_iterator |
| typedef use_iterator_impl < const Use > | const_use_iterator |
| typedef user_iterator_impl< User > | user_iterator |
| typedef user_iterator_impl < const User > | const_user_iterator |
Static Public Member Functions | |
| static bool | classof (const MemoryAccess *) |
| static bool | classof (const Value *V) |
Static Public Member Functions inherited from llvm::User | |
| static bool | classof (const Value *V) |
Protected Member Functions | |
| virtual unsigned | getID () const =0 |
| Used for debugging and tracking things about MemoryAccesses. More... | |
| MemoryAccess (LLVMContext &C, unsigned Vty, BasicBlock *BB, unsigned NumOperands) | |
Protected Member Functions inherited from llvm::User | |
| void * | operator new (size_t Size) |
| Allocate a User with an operand pointer co-allocated. More... | |
| void * | operator new (size_t Size, unsigned Us) |
| Allocate a User with the operands co-allocated. More... | |
| void * | operator new (size_t Size, unsigned Us, unsigned DescBytes) |
| Allocate a User with the operands co-allocated. More... | |
| User (Type *ty, unsigned vty, Use *, unsigned NumOps) | |
| void | allocHungoffUses (unsigned N, bool IsPhi=false) |
| Allocate the array of Uses, followed by a pointer (with bottom bit set) to the User. More... | |
| void | growHungoffUses (unsigned N, bool IsPhi=false) |
| Grow the number of hung off uses. More... | |
| template<int Idx> | |
| Use & | Op () |
| template<int Idx> | |
| const Use & | Op () const |
Protected Member Functions inherited from llvm::Value | |
| Value (Type *Ty, unsigned scid) | |
| unsigned short | getSubclassDataFromValue () const |
| void | setValueSubclassData (unsigned short D) |
Protected Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< MemoryAccess, Options...>::type > | |
| ilist_node_impl ()=default | |
Friends | |
| class | MemorySSA |
| class | MemoryUseOrDef |
| class | MemoryUse |
| class | MemoryDef |
| class | MemoryPhi |
Definition at line 126 of file MemorySSA.h.
Definition at line 148 of file MemorySSA.h.
The user iterators for a memory access.
Definition at line 147 of file MemorySSA.h.
|
override |
Definition at line 2056 of file MemorySSA.cpp.
|
inlineprotected |
Definition at line 169 of file MemorySSA.h.
|
inlinestatic |
Definition at line 133 of file MemorySSA.h.
Definition at line 134 of file MemorySSA.h.
References llvm::Value::getValueID().
|
inline |
This iterator walks over all of the defs in a given MemoryAccess.
For MemoryPhi nodes, this walks arguments. For MemoryUse/MemoryDef, this walks the defining access.
Definition at line 890 of file MemorySSA.h.
Referenced by llvm::GraphTraits< MemoryAccess * >::child_begin().
|
inline |
Definition at line 894 of file MemorySSA.h.
|
inline |
Definition at line 898 of file MemorySSA.h.
Referenced by llvm::GraphTraits< MemoryAccess * >::child_end(), llvm::upward_defs_iterator::operator*(), and llvm::upward_defs_iterator::operator++().
|
inline |
Definition at line 902 of file MemorySSA.h.
|
virtual |
Definition at line 2068 of file MemorySSA.cpp.
References llvm::dbgs(), and llvm::MemorySSA::print().
|
inline |
Definition at line 141 of file MemorySSA.h.
Referenced by llvm::MemorySSA::createMemoryAccessAfter(), llvm::MemorySSA::createMemoryAccessBefore(), llvm::MemorySSA::dominates(), llvm::MemorySSA::locallyDominates(), NewGVN::runGVN(), and llvm::MemorySSA::spliceMemoryAccessAbove().
|
protectedpure virtual |
Used for debugging and tracking things about MemoryAccesses.
Guaranteed unique among MemoryAccesses, no guarantees otherwise.
Implemented in llvm::MemoryPhi, llvm::MemoryDef, and llvm::MemoryUse.
Referenced by llvm::MemoryUse::print(), llvm::MemoryDef::print(), llvm::MemoryPhi::print(), and llvm::MemoryUse::setDefiningAccess().
|
pure virtual |
Implemented in llvm::MemoryPhi, llvm::MemoryDef, and llvm::MemoryUse.
Referenced by llvm::operator<<().
|
friend |
Definition at line 162 of file MemorySSA.h.
|
friend |
Definition at line 163 of file MemorySSA.h.
|
friend |
Definition at line 159 of file MemorySSA.h.
|
friend |
Definition at line 161 of file MemorySSA.h.
|
friend |
Definition at line 160 of file MemorySSA.h.
1.8.6