LLVM  3.7.0
Classes | Public Member Functions | Friends | List of all members
llvm::AliasSet Class Reference

#include <AliasSetTracker.h>

Inheritance diagram for llvm::AliasSet:
[legend]
Collaboration diagram for llvm::AliasSet:
[legend]

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
 isForwardingAliasSet - Return true if this alias set should be ignored as part of the AliasSetTracker object. More...
 
void mergeSetIn (AliasSet &AS, AliasSetTracker &AST)
 mergeSetIn - Merge the specified alias set into this alias set... More...
 
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
 aliasesPointer - Return true if the specified pointer "may" (or must) alias one of the members in the set. More...
 
bool aliasesUnknownInst (const Instruction *Inst, AliasAnalysis &AA) const
 
- Public Member Functions inherited from llvm::ilist_node< AliasSet >
AliasSetgetPrevNode ()
 Get the previous node, or 0 for the list head. More...
 
const AliasSetgetPrevNode () const
 Get the previous node, or 0 for the list head. More...
 
AliasSetgetNextNode ()
 Get the next node, or 0 for the list tail. More...
 
const AliasSetgetNextNode () const
 Get the next node, or 0 for the list tail. More...
 

Friends

class AliasSetTracker
 
struct ilist_sentinel_traits< AliasSet >
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::ilist_node< AliasSet >
 ilist_node ()
 

Detailed Description

Definition at line 36 of file AliasSetTracker.h.

Member Function Documentation

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 144 of file AliasSetTracker.cpp.

References llvm::AliasAnalysis::alias(), begin(), end(), llvm::AliasAnalysis::getModRefInfo(), I, and llvm::AliasAnalysis::NoModRef.

bool AliasSet::aliasesUnknownInst ( const Instruction Inst,
AliasAnalysis AA 
) const
iterator llvm::AliasSet::begin ( ) const
inline
void AliasSet::dump ( ) const

Definition at line 612 of file AliasSetTracker.cpp.

References llvm::dbgs(), and print().

bool llvm::AliasSet::empty ( ) const
inline
iterator llvm::AliasSet::end ( ) const
inline
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 173 of file AliasSetTracker.h.

Referenced by canSinkOrHoistInst(), and llvm::promoteLoopAccessesToScalars().

bool llvm::AliasSet::isMayAlias ( ) const
inline

Definition at line 165 of file AliasSetTracker.h.

bool llvm::AliasSet::isMod ( ) const
inline
bool llvm::AliasSet::isMustAlias ( ) const
inline

Definition at line 164 of file AliasSetTracker.h.

Referenced by llvm::promoteLoopAccessesToScalars().

bool llvm::AliasSet::isRef ( ) const
inline

Accessors...

Definition at line 162 of file AliasSetTracker.h.

bool llvm::AliasSet::isVolatile ( ) const
inline
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::MustAlias, and std::swap().

void AliasSet::print ( raw_ostream OS) const

Definition at line 570 of file AliasSetTracker.cpp.

References begin(), empty(), end(), I, isVolatile(), llvm_unreachable, and llvm::Value::printAsOperand().

Referenced by dump(), and llvm::operator<<().

Friends And Related Function Documentation

friend class AliasSetTracker
friend

Definition at line 37 of file AliasSetTracker.h.

friend struct ilist_sentinel_traits< AliasSet >
friend

Definition at line 224 of file AliasSetTracker.h.


The documentation for this class was generated from the following files: