|
LLVM
5.0.0
|
#include "llvm/Analysis/MemorySSA.h"
Public Types | |
| using | AllAccessType = ilist_node< MemoryAccess, ilist_tag< MSSAHelpers::AllAccessTag >> |
| using | DefsOnlyType = ilist_node< MemoryAccess, ilist_tag< MSSAHelpers::DefsOnlyTag >> |
| typedef user_iterator | iterator |
| The user iterators for a memory access. More... | |
| typedef const_user_iterator | const_iterator |
Public Types inherited from llvm::User | |
| using | op_iterator = Use * |
| using | const_op_iterator = const Use * |
| using | op_range = iterator_range< op_iterator > |
| using | const_op_range = iterator_range< const_op_iterator > |
Public Types inherited from llvm::Value | |
| enum | ValueTy |
| Concrete subclass of this. More... | |
| using | use_iterator = use_iterator_impl< Use > |
| using | const_use_iterator = use_iterator_impl< const Use > |
| using | user_iterator = user_iterator_impl< User > |
| using | const_user_iterator = user_iterator_impl< const User > |
Static Public Member Functions | |
| static bool | classof (const Value *V) |
Static Public Member Functions inherited from llvm::User | |
| static bool | classof (const Value *V) |
Protected Member Functions | |
| void | setBlock (BasicBlock *BB) |
| Used by MemorySSA to change the block of a MemoryAccess when it is moved. More... | |
| unsigned | getID () const |
| Used for debugging and tracking things about MemoryAccesses. More... | |
| MemoryAccess (LLVMContext &C, unsigned Vty, DeleteValueTy DeleteValue, 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... | |
| ~User ()=default | |
| template<int Idx> | |
| Use & | Op () |
| template<int Idx> | |
| const Use & | Op () const |
Protected Member Functions inherited from llvm::Value | |
| Value (Type *Ty, unsigned scid) | |
| ~Value () | |
| Value's destructor should be virtual by design, but that would require that Value and all of its subclasses have a vtable that effectively duplicates the information in the value ID. More... | |
| 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 130 of file MemorySSA.h.
| using llvm::MemoryAccess::AllAccessType = ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::AllAccessTag>> |
Definition at line 136 of file MemorySSA.h.
Definition at line 159 of file MemorySSA.h.
| using llvm::MemoryAccess::DefsOnlyType = ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::DefsOnlyTag>> |
Definition at line 138 of file MemorySSA.h.
The user iterators for a memory access.
Definition at line 158 of file MemorySSA.h.
|
delete |
|
inlineprotected |
Definition at line 211 of file MemorySSA.h.
Definition at line 142 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 1008 of file MemorySSA.h.
Referenced by llvm::GraphTraits< MemoryAccess * >::child_begin().
|
inline |
Definition at line 1012 of file MemorySSA.h.
|
inline |
Definition at line 1016 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 1020 of file MemorySSA.h.
| void llvm::MemoryAccess::dump | ( | ) | const |
Definition at line 1857 of file MemorySSA.cpp.
References llvm::dbgs(), and llvm::MemorySSA::print().
|
inline |
Definition at line 152 of file MemorySSA.h.
Referenced by llvm::MemorySSAUpdater::createMemoryAccessAfter(), llvm::MemorySSAUpdater::createMemoryAccessBefore(), llvm::MemorySSA::dominates(), llvm::MemorySSAUpdater::insertDef(), llvm::MemorySSA::locallyDominates(), llvm::MemorySSAUpdater::moveAfter(), llvm::MemorySSAUpdater::moveBefore(), llvm::MemorySSA::removeFromLists(), and llvm::MemorySSA::removeFromLookups().
|
inline |
Definition at line 183 of file MemorySSA.h.
References llvm::ilist_node_impl< ilist_detail::compute_node_options< T, Options...>::type >::getIterator().
|
inline |
Definition at line 186 of file MemorySSA.h.
References llvm::ilist_node_impl< ilist_detail::compute_node_options< T, Options...>::type >::getIterator().
|
inlineprotected |
Used for debugging and tracking things about MemoryAccesses.
Guaranteed unique among MemoryAccesses, no guarantees otherwise.
Definition at line 564 of file MemorySSA.h.
References assert().
Referenced by llvm::MemoryUse::print(), llvm::MemoryDef::print(), llvm::MemoryPhi::print(), llvm::MemoryUse::setOptimized(), and llvm::MemoryDef::setOptimized().
|
inline |
Get the iterators for the all access list and the defs only list We default to the all access list.
Definition at line 171 of file MemorySSA.h.
References llvm::ilist_node_impl< ilist_detail::compute_node_options< T, Options...>::type >::getIterator().
Referenced by llvm::MemorySSAUpdater::createMemoryAccessAfter(), llvm::MemorySSAUpdater::createMemoryAccessBefore(), llvm::MemorySSAUpdater::moveAfter(), and llvm::MemorySSAUpdater::moveBefore().
|
inline |
Definition at line 174 of file MemorySSA.h.
References llvm::ilist_node_impl< ilist_detail::compute_node_options< T, Options...>::type >::getIterator().
|
inline |
Definition at line 189 of file MemorySSA.h.
References llvm::ilist_node_impl< ilist_detail::compute_node_options< T, Options...>::type >::getReverseIterator().
|
inline |
Definition at line 192 of file MemorySSA.h.
References llvm::ilist_node_impl< ilist_detail::compute_node_options< T, Options...>::type >::getReverseIterator().
|
inline |
Definition at line 177 of file MemorySSA.h.
References llvm::ilist_node_impl< ilist_detail::compute_node_options< T, Options...>::type >::getReverseIterator().
|
inline |
Definition at line 180 of file MemorySSA.h.
References llvm::ilist_node_impl< ilist_detail::compute_node_options< T, Options...>::type >::getReverseIterator().
|
delete |
|
delete |
| void llvm::MemoryAccess::print | ( | raw_ostream & | OS | ) | const |
Definition at line 1801 of file MemorySSA.cpp.
References llvm_unreachable(), and llvm::MemorySSA::print().
Referenced by llvm::operator<<().
|
inlineprotected |
Used by MemorySSA to change the block of a MemoryAccess when it is moved.
Definition at line 205 of file MemorySSA.h.
Referenced by llvm::MemorySSA::moveTo().
|
friend |
Definition at line 200 of file MemorySSA.h.
|
friend |
Definition at line 201 of file MemorySSA.h.
|
friend |
Definition at line 197 of file MemorySSA.h.
|
friend |
Definition at line 199 of file MemorySSA.h.
|
friend |
Definition at line 198 of file MemorySSA.h.
1.8.6