|
LLVM 24.0.0git
|
#include "llvm/Analysis/AliasSetTracker.h"
Public Types | |
| using | iterator = SmallVectorImpl<MemoryLocation>::const_iterator |
| using | PointerVector = SmallVector<const Value *, 8> |
| Retrieve the pointer values for the memory locations in this alias set. | |
Friends | |
| class | AliasSetTracker |
Additional Inherited Members | |
| Protected Types inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< AliasSet, Options... >::type > | |
| using | self_iterator |
| using | const_self_iterator |
| using | reverse_self_iterator |
| using | const_reverse_self_iterator |
| Protected Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< AliasSet, Options... >::type > | |
| ilist_node_impl ()=default | |
Definition at line 49 of file AliasSetTracker.h.
Definition at line 111 of file AliasSetTracker.h.
| using llvm::AliasSet::PointerVector = SmallVector<const Value *, 8> |
Retrieve the pointer values for the memory locations in this alias set.
The order matches that of the memory locations, but duplicate pointer values are omitted.
Definition at line 120 of file AliasSetTracker.h.
References AliasSet().
Referenced by AliasSet(), AliasSetTracker, mergeSetIn(), and operator=().
| AliasResult AliasSet::aliasesMemoryLocation | ( | const MemoryLocation & | MemLoc, |
| BatchAAResults & | AA ) const |
If the specified memory location "may" (or must) alias one of the members in the set return the appropriate AliasResult.
aliasesMemoryLocation - If the specified memory location "may" (or must) alias one of the members in the set return the appropriate AliasResult.
Otherwise return NoAlias.
Definition at line 153 of file AliasSetTracker.cpp.
References llvm::isModOrRefSet(), llvm::AliasResult::MayAlias, and llvm::AliasResult::NoAlias.
| ModRefInfo AliasSet::aliasesUnknownInst | ( | const Instruction * | Inst, |
| BatchAAResults & | AA ) const |
Definition at line 173 of file AliasSetTracker.cpp.
References llvm::dyn_cast(), llvm::isModAndRefSet(), llvm::isModOrRefSet(), llvm::Instruction::mayReadOrWriteMemory(), llvm::ModRef, and llvm::NoModRef.
|
inline |
Definition at line 112 of file AliasSetTracker.h.
| LLVM_DUMP_METHOD void AliasSet::dump | ( | ) | const |
Definition at line 564 of file AliasSetTracker.cpp.
References llvm::dbgs(), LLVM_DUMP_METHOD, and print().
|
inline |
Definition at line 113 of file AliasSetTracker.h.
| AliasSet::PointerVector AliasSet::getPointers | ( | ) | const |
Definition at line 202 of file AliasSetTracker.cpp.
References llvm::SetVector< T, Vector, Set, N >::insert(), llvm::MemoryLocation::Ptr, and llvm::SetVector< T, Vector, Set, N >::takeVector().
|
inline |
Return true if this alias set should be ignored as part of the AliasSetTracker object.
Definition at line 103 of file AliasSetTracker.h.
|
inline |
Definition at line 99 of file AliasSetTracker.h.
|
inline |
Definition at line 97 of file AliasSetTracker.h.
References llvm::isModSet().
|
inline |
Definition at line 98 of file AliasSetTracker.h.
|
inline |
| void AliasSet::mergeSetIn | ( | AliasSet & | AS, |
| AliasSetTracker & | AST, | ||
| BatchAAResults & | BatchAA ) |
Merge the specified alias set into this alias set.
mergeSetIn - Merge the specified alias set into this alias set.
Definition at line 43 of file AliasSetTracker.cpp.
References AliasSet(), AliasSetTracker, llvm::any_of(), llvm::append_range(), assert(), and std::swap().
References AliasSet().
| void AliasSet::print | ( | raw_ostream & | OS | ) | const |
Definition at line 505 of file AliasSetTracker.cpp.
References llvm::LocationSize::afterPointer(), llvm::LocationSize::beforeOrAfterPointer(), I, llvm::Mod, llvm::ModRef, llvm::NoModRef, llvm::Value::printAsOperand(), llvm::MemoryLocation::Ptr, llvm::Ref, and llvm::MemoryLocation::Size.
Referenced by dump(), llvm::operator<<(), and llvm::AliasSetTracker::print().
|
inline |
Definition at line 115 of file AliasSetTracker.h.
|
friend |
Definition at line 50 of file AliasSetTracker.h.
References AliasSet(), and AliasSetTracker.
Referenced by AliasSetTracker, and mergeSetIn().