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

#include "llvm/Analysis/AliasSetTracker.h"

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

Classes

class  iterator
 Define an iterator for alias sets... this is just a forward iterator. More...
 

Public Member Functions

 AliasSet (const AliasSet &)=delete
 
AliasSetoperator= (const AliasSet &)=delete
 
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 >
using self_iterator = ilist_iterator< ilist_detail::compute_node_options< AliasSet, Options... >::type, false, false >
 
using const_self_iterator = ilist_iterator< ilist_detail::compute_node_options< AliasSet, Options... >::type, false, true >
 
using reverse_self_iterator = ilist_iterator< ilist_detail::compute_node_options< AliasSet, Options... >::type, true, false >
 
using const_reverse_self_iterator = ilist_iterator< ilist_detail::compute_node_options< AliasSet, Options... >::type, true, true >
 
- 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 47 of file AliasSetTracker.h.

Constructor & Destructor Documentation

◆ AliasSet()

llvm::AliasSet::AliasSet ( const AliasSet )
delete

Member Function Documentation

◆ aliasesPointer()

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

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

Referenced by llvm::AliasSet::iterator::operator++().

◆ aliasesUnknownInst()

bool AliasSet::aliasesUnknownInst ( const Instruction Inst,
AliasAnalysis AA 
) const

◆ begin()

iterator llvm::AliasSet::begin ( ) const
inline

◆ dump()

LLVM_DUMP_METHOD void AliasSet::dump ( ) const

Definition at line 653 of file AliasSetTracker.cpp.

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

Referenced by llvm::AliasSetTracker::end(), and size().

◆ empty()

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

Definition at line 221 of file AliasSetTracker.h.

Referenced by print().

◆ end()

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

◆ isForwardingAliasSet()

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

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

Definition at line 211 of file AliasSetTracker.h.

References mergeSetIn().

Referenced by llvm::addStringMetadataToLoop().

◆ isMayAlias()

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

Definition at line 204 of file AliasSetTracker.h.

Referenced by llvm::addStringMetadataToLoop().

◆ isMod()

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

Definition at line 202 of file AliasSetTracker.h.

Referenced by llvm::addStringMetadataToLoop(), and pointerInvalidatedByLoop().

◆ isMustAlias()

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

Definition at line 203 of file AliasSetTracker.h.

Referenced by llvm::addStringMetadataToLoop(), and mergeSetIn().

◆ isRef()

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

Accessors...

Definition at line 201 of file AliasSetTracker.h.

◆ isVolatile()

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

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

Definition at line 207 of file AliasSetTracker.h.

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

◆ mergeSetIn()

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

◆ operator=()

AliasSet& llvm::AliasSet::operator= ( const AliasSet )
delete

◆ print()

void AliasSet::print ( raw_ostream OS) const

◆ size()

unsigned llvm::AliasSet::size ( )
inline

Definition at line 225 of file AliasSetTracker.h.

References dump(), and print().

Referenced by mergeSetIn().

Friends And Related Function Documentation

◆ AliasSetTracker

friend class AliasSetTracker
friend

Definition at line 48 of file AliasSetTracker.h.

Referenced by llvm::AliasSetTracker::dump().


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