LLVM API Documentation
#include <AliasSetTracker.h>
Classes | |
class | iterator |
Define an iterator for alias sets... this is just a forward iterator. More... | |
Public Member Functions | |
bool | isRef () const |
Accessors... More... | |
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 MDNode *TBAAInfo, AliasAnalysis &AA) const |
bool | aliasesUnknownInst (Instruction *Inst, AliasAnalysis &AA) const |
![]() | |
AliasSet * | getPrevNode () |
Get the previous node, or 0 for the list head. More... | |
const AliasSet * | getPrevNode () const |
Get the previous node, or 0 for the list head. More... | |
AliasSet * | getNextNode () |
Get the next node, or 0 for the list tail. More... | |
const AliasSet * | getNextNode () const |
Get the next node, or 0 for the list tail. More... | |
Friends | |
class | AliasSetTracker |
struct | ilist_sentinel_traits< AliasSet > |
Additional Inherited Members | |
![]() | |
ilist_node () | |
Definition at line 35 of file AliasSetTracker.h.
bool AliasSet::aliasesPointer | ( | const Value * | Ptr, |
uint64_t | Size, | ||
const MDNode * | TBAAInfo, | ||
AliasAnalysis & | AA | ||
) | const |
aliasesPointer - Return true if the specified pointer "may" (or must) alias one of the members in the set.
Definition at line 143 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 179 of file AliasSetTracker.cpp.
References begin(), end(), llvm::AliasAnalysis::getModRefInfo(), I, llvm::Instruction::mayReadOrWriteMemory(), and llvm::AliasAnalysis::NoModRef.
|
inline |
Definition at line 175 of file AliasSetTracker.h.
Referenced by llvm::AliasSetTracker::add(), aliasesPointer(), aliasesUnknownInst(), and print().
void AliasSet::dump | ( | ) | const |
Definition at line 592 of file AliasSetTracker.cpp.
References llvm::dbgs(), and print().
|
inline |
Definition at line 177 of file AliasSetTracker.h.
Referenced by print(), and llvm::AliasSetTracker::remove().
|
inline |
Definition at line 176 of file AliasSetTracker.h.
Referenced by llvm::AliasSetTracker::add(), aliasesPointer(), aliasesUnknownInst(), and print().
|
inline |
isForwardingAliasSet - Return true if this alias set should be ignored as part of the AliasSetTracker object.
Definition at line 166 of file AliasSetTracker.h.
|
inline |
Definition at line 158 of file AliasSetTracker.h.
|
inline |
Definition at line 156 of file AliasSetTracker.h.
|
inline |
Definition at line 157 of file AliasSetTracker.h.
|
inline |
Accessors...
Definition at line 155 of file AliasSetTracker.h.
|
inline |
Definition at line 162 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 31 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 550 of file AliasSetTracker.cpp.
References begin(), empty(), end(), I, isVolatile(), llvm_unreachable, and llvm::WriteAsOperand().
Referenced by dump(), and llvm::operator<<().
|
friend |
Definition at line 36 of file AliasSetTracker.h.
|
friend |
Definition at line 222 of file AliasSetTracker.h.