LLVM  4.0.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
 Return true if this alias set contains volatile loads or stores. More...
 
bool isForwardingAliasSet () const
 Return true if this alias set should be ignored as part of the AliasSetTracker object. More...
 
void mergeSetIn (AliasSet &AS, AliasSetTracker &AST)
 Merge the specified alias set into this alias set. More...
 
iterator begin () const
 
iterator end () const
 
bool empty () const
 
unsigned size ()
 
void print (raw_ostream &OS) const
 
void dump () const
 
bool aliasesPointer (const Value *Ptr, uint64_t Size, const AAMDNodes &AAInfo, AliasAnalysis &AA) const
 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_impl< ilist_detail::compute_node_options< AliasSet, Options...>::type >
self_iterator getIterator ()
 
const_self_iterator getIterator () const
 
reverse_self_iterator getReverseIterator ()
 
const_reverse_self_iterator getReverseIterator () const
 
bool isSentinel () const
 Check whether this is the sentinel node. More...
 

Friends

class AliasSetTracker
 

Additional Inherited Members

- Protected Types inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< AliasSet, Options...>::type >
typedef ilist_iterator
< ilist_detail::compute_node_options
< AliasSet, Options...>::type,
false, false
self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< AliasSet, Options...>::type,
false, true
const_self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< AliasSet, Options...>::type,
true, false
reverse_self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< AliasSet, Options...>::type,
true, true
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
 

Detailed Description

Definition at line 37 of file AliasSetTracker.h.

Member Function Documentation

bool AliasSet::aliasesPointer ( const Value Ptr,
uint64_t  Size,
const AAMDNodes AAInfo,
AliasAnalysis AA 
) const

Return true if the specified pointer "may" (or must) alias one of the members in the set.

aliasesPointer - Return true if the specified pointer "may" (or must) alias one of the members in the set.

Definition at line 174 of file AliasSetTracker.cpp.

References llvm::AAResults::alias(), assert(), begin(), E, end(), llvm::AAResults::getModRefInfo(), I, i, and llvm::MRI_NoModRef.

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

Definition at line 651 of file AliasSetTracker.cpp.

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

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

Definition at line 199 of file AliasSetTracker.h.

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

iterator llvm::AliasSet::end ( ) const
inline
bool llvm::AliasSet::isForwardingAliasSet ( ) const
inline

Return true if this alias set should be ignored as part of the AliasSetTracker object.

Definition at line 189 of file AliasSetTracker.h.

Referenced by llvm::promoteLoopAccessesToScalars().

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

Definition at line 182 of file AliasSetTracker.h.

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

Definition at line 181 of file AliasSetTracker.h.

Referenced by llvm::promoteLoopAccessesToScalars().

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

Accessors...

Definition at line 179 of file AliasSetTracker.h.

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

Return true if this alias set contains volatile loads or stores.

Definition at line 185 of file AliasSetTracker.h.

Referenced by llvm::AliasSetTracker::add(), print(), and llvm::promoteLoopAccessesToScalars().

void AliasSet::mergeSetIn ( AliasSet AS,
AliasSetTracker AST 
)

Merge the specified alias set into this alias set.

mergeSetIn - Merge the specified alias set into this alias set.

Definition at line 37 of file AliasSetTracker.cpp.

References llvm::AAResults::alias(), assert(), llvm::AliasSetTracker::getAliasAnalysis(), L, llvm::MustAlias, size(), and std::swap().

void AliasSet::print ( raw_ostream OS) const
unsigned llvm::AliasSet::size ( )
inline

Definition at line 203 of file AliasSetTracker.h.

Referenced by mergeSetIn().

Friends And Related Function Documentation

friend class AliasSetTracker
friend

Definition at line 38 of file AliasSetTracker.h.


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