LLVM API Documentation
#include <AliasSetTracker.h>
Classes | |
class | iterator |
Define an iterator for alias sets... this is just a forward iterator. More... | |
class | PointerRec |
Public Member Functions | |
bool | isRef () const |
Accessors... | |
bool | isMod () const |
bool | isMustAlias () const |
bool | isMayAlias () const |
bool | isVolatile () const |
bool | isForwardingAliasSet () const |
void | mergeSetIn (AliasSet &AS, AliasSetTracker &AST) |
iterator | begin () const |
iterator | end () const |
bool | empty () const |
void | print (raw_ostream &OS) const |
void | dump () const |
bool | aliasesPointer (const Value *Ptr, uint64_t Size, const AAMDNodes &AAInfo, AliasAnalysis &AA) const |
bool | aliasesUnknownInst (Instruction *Inst, AliasAnalysis &AA) const |
Friends | |
class | AliasSetTracker |
struct | ilist_sentinel_traits< AliasSet > |
Definition at line 36 of file AliasSetTracker.h.
bool AliasSet::aliasesPointer | ( | const Value * | Ptr, |
uint64_t | Size, | ||
const AAMDNodes & | AAInfo, | ||
AliasAnalysis & | AA | ||
) | const |
aliasesPointer - Return true if the specified pointer "may" (or must) alias one of the members in the set.
Definition at line 142 of file AliasSetTracker.cpp.
References llvm::AliasAnalysis::alias(), begin(), end(), llvm::AliasAnalysis::getModRefInfo(), I, and llvm::AliasAnalysis::NoModRef.
bool AliasSet::aliasesUnknownInst | ( | Instruction * | Inst, |
AliasAnalysis & | AA | ||
) | const |
Definition at line 178 of file AliasSetTracker.cpp.
References begin(), end(), llvm::AliasAnalysis::getModRefInfo(), I, llvm::Instruction::mayReadOrWriteMemory(), and llvm::AliasAnalysis::NoModRef.
iterator llvm::AliasSet::begin | ( | ) | const [inline] |
Definition at line 176 of file AliasSetTracker.h.
Referenced by llvm::AliasSetTracker::add(), aliasesPointer(), aliasesUnknownInst(), and print().
void AliasSet::dump | ( | ) | const |
Definition at line 607 of file AliasSetTracker.cpp.
References llvm::dbgs(), and print().
bool llvm::AliasSet::empty | ( | ) | const [inline] |
Definition at line 178 of file AliasSetTracker.h.
Referenced by print(), and llvm::AliasSetTracker::remove().
iterator llvm::AliasSet::end | ( | ) | const [inline] |
Definition at line 177 of file AliasSetTracker.h.
Referenced by llvm::AliasSetTracker::add(), aliasesPointer(), aliasesUnknownInst(), and print().
bool llvm::AliasSet::isForwardingAliasSet | ( | ) | const [inline] |
isForwardingAliasSet - Return true if this alias set should be ignored as part of the AliasSetTracker object.
Definition at line 167 of file AliasSetTracker.h.
bool llvm::AliasSet::isMayAlias | ( | ) | const [inline] |
Definition at line 159 of file AliasSetTracker.h.
bool llvm::AliasSet::isMod | ( | ) | const [inline] |
Definition at line 157 of file AliasSetTracker.h.
bool llvm::AliasSet::isMustAlias | ( | ) | const [inline] |
Definition at line 158 of file AliasSetTracker.h.
bool llvm::AliasSet::isRef | ( | ) | const [inline] |
Accessors...
Definition at line 156 of file AliasSetTracker.h.
bool llvm::AliasSet::isVolatile | ( | ) | const [inline] |
Definition at line 163 of file AliasSetTracker.h.
Referenced by llvm::AliasSetTracker::add(), and print().
void AliasSet::mergeSetIn | ( | AliasSet & | AS, |
AliasSetTracker & | AST | ||
) |
mergeSetIn - Merge the specified alias set into this alias set...
mergeSetIn - Merge the specified alias set into this alias set.
Definition at line 30 of file AliasSetTracker.cpp.
References llvm::AliasAnalysis::alias(), llvm::AliasSetTracker::getAliasAnalysis(), llvm::AliasAnalysis::MustAlias, and std::swap().
void AliasSet::print | ( | raw_ostream & | OS | ) | const |
Definition at line 565 of file AliasSetTracker.cpp.
References begin(), empty(), end(), I, isVolatile(), llvm_unreachable, and llvm::Value::printAsOperand().
Referenced by dump(), and llvm::operator<<().
friend class AliasSetTracker [friend] |
Definition at line 37 of file AliasSetTracker.h.
friend struct ilist_sentinel_traits< AliasSet > [friend] |
Definition at line 223 of file AliasSetTracker.h.