LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Friends | List of all members
llvm::AliasSet Class Reference

#include <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

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
 
- 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 35 of file AliasSetTracker.h.

Member Function Documentation

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
iterator llvm::AliasSet::begin ( ) const
inline
void AliasSet::dump ( ) const

Definition at line 592 of file AliasSetTracker.cpp.

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

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

Definition at line 177 of file AliasSetTracker.h.

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

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 166 of file AliasSetTracker.h.

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

Definition at line 158 of file AliasSetTracker.h.

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

Definition at line 156 of file AliasSetTracker.h.

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

Definition at line 157 of file AliasSetTracker.h.

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

Accessors...

Definition at line 155 of file AliasSetTracker.h.

bool llvm::AliasSet::isVolatile ( ) const
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<<().

Friends And Related Function Documentation

friend class AliasSetTracker
friend

Definition at line 36 of file AliasSetTracker.h.

friend struct ilist_sentinel_traits< AliasSet >
friend

Definition at line 222 of file AliasSetTracker.h.


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