LLVM 18.0.0git
|
#include "llvm/Analysis/AliasSetTracker.h"
Classes | |
class | iterator |
Define an iterator for alias sets... this is just a forward iterator. More... | |
Friends | |
class | AliasSetTracker |
Additional Inherited Members | |
![]() | |
using | self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, false >::type |
using | const_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, true >::type |
using | reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, false >::type |
using | const_reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, true >::type |
![]() | |
ilist_node_impl ()=default | |
Definition at line 49 of file AliasSetTracker.h.
AliasResult AliasSet::aliasesPointer | ( | const Value * | Ptr, |
LocationSize | Size, | ||
const AAMDNodes & | AAInfo, | ||
BatchAAResults & | AA | ||
) | const |
If the specified pointer "may" (or must) alias one of the members in the set return the appropriate AliasResult.
aliasesPointer - If the specified pointer "may" (or must) alias one of the members in the set return the appropriate AliasResult.
Otherwise return NoAlias.
Definition at line 190 of file AliasSetTracker.cpp.
References llvm::BatchAAResults::alias(), assert(), begin(), E, end(), llvm::BatchAAResults::getModRefInfo(), I, llvm::isModOrRefSet(), llvm::AliasResult::MayAlias, llvm::AliasResult::NoAlias, Ptr, and Size.
ModRefInfo AliasSet::aliasesUnknownInst | ( | const Instruction * | Inst, |
BatchAAResults & | AA | ||
) | const |
Definition at line 229 of file AliasSetTracker.cpp.
References begin(), E, end(), llvm::BatchAAResults::getModRefInfo(), I, llvm::isModAndRefSet(), llvm::isModOrRefSet(), llvm::Instruction::mayReadOrWriteMemory(), llvm::ModRef, and llvm::NoModRef.
|
inline |
Definition at line 211 of file AliasSetTracker.h.
Referenced by llvm::AliasSetTracker::add(), aliasesPointer(), aliasesUnknownInst(), and print().
LLVM_DUMP_METHOD void AliasSet::dump | ( | ) | const |
Definition at line 618 of file AliasSetTracker.cpp.
References llvm::dbgs(), and print().
|
inline |
Definition at line 213 of file AliasSetTracker.h.
Referenced by print().
|
inline |
Definition at line 212 of file AliasSetTracker.h.
Referenced by llvm::AliasSetTracker::add(), aliasesPointer(), aliasesUnknownInst(), and print().
|
inline |
Return true if this alias set should be ignored as part of the AliasSetTracker object.
Definition at line 203 of file AliasSetTracker.h.
|
inline |
Definition at line 199 of file AliasSetTracker.h.
|
inline |
Definition at line 197 of file AliasSetTracker.h.
|
inline |
Definition at line 198 of file AliasSetTracker.h.
|
inline |
Accessors...
Definition at line 196 of file AliasSetTracker.h.
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 44 of file AliasSetTracker.cpp.
References llvm::append_range(), assert(), llvm::BatchAAResults::isMustAlias(), size(), and std::swap().
void AliasSet::print | ( | raw_ostream & | OS | ) | const |
Definition at line 567 of file AliasSetTracker.cpp.
References llvm::LocationSize::afterPointer(), llvm::LocationSize::beforeOrAfterPointer(), begin(), E, empty(), end(), I, llvm_unreachable, and OS.
Referenced by dump(), llvm::operator<<(), and llvm::AliasSetTracker::print().
|
inline |
Definition at line 217 of file AliasSetTracker.h.
Referenced by mergeSetIn().
|
friend |
Definition at line 50 of file AliasSetTracker.h.