LLVM  4.0.0
Public Member Functions | List of all members
llvm::AAResultBase< DerivedT >::AAResultsProxy Class Reference

This proxy class models a common pattern where we delegate to either the top-level AAResults aggregation if one is registered, or to the current result if none are registered. More...

#include <AliasAnalysis.h>

Public Member Functions

 AAResultsProxy (AAResults *AAR, DerivedT &CurrentResult)
 
AliasResult alias (const MemoryLocation &LocA, const MemoryLocation &LocB)
 
bool pointsToConstantMemory (const MemoryLocation &Loc, bool OrLocal)
 
ModRefInfo getArgModRefInfo (ImmutableCallSite CS, unsigned ArgIdx)
 
FunctionModRefBehavior getModRefBehavior (ImmutableCallSite CS)
 
FunctionModRefBehavior getModRefBehavior (const Function *F)
 
ModRefInfo getModRefInfo (ImmutableCallSite CS, const MemoryLocation &Loc)
 
ModRefInfo getModRefInfo (ImmutableCallSite CS1, ImmutableCallSite CS2)
 

Detailed Description

template<typename DerivedT>
class llvm::AAResultBase< DerivedT >::AAResultsProxy

This proxy class models a common pattern where we delegate to either the top-level AAResults aggregation if one is registered, or to the current result if none are registered.

Definition at line 784 of file AliasAnalysis.h.

Constructor & Destructor Documentation

template<typename DerivedT>
llvm::AAResultBase< DerivedT >::AAResultsProxy::AAResultsProxy ( AAResults AAR,
DerivedT &  CurrentResult 
)
inline

Definition at line 789 of file AliasAnalysis.h.

Member Function Documentation

template<typename DerivedT>
AliasResult llvm::AAResultBase< DerivedT >::AAResultsProxy::alias ( const MemoryLocation LocA,
const MemoryLocation LocB 
)
inline

Definition at line 792 of file AliasAnalysis.h.

References llvm::AAResults::alias().

Referenced by llvm::BasicAAResult::getModRefInfo().

template<typename DerivedT>
ModRefInfo llvm::AAResultBase< DerivedT >::AAResultsProxy::getArgModRefInfo ( ImmutableCallSite  CS,
unsigned  ArgIdx 
)
inline

Definition at line 801 of file AliasAnalysis.h.

References llvm::AAResults::getArgModRefInfo().

template<typename DerivedT>
FunctionModRefBehavior llvm::AAResultBase< DerivedT >::AAResultsProxy::getModRefBehavior ( ImmutableCallSite  CS)
inline
template<typename DerivedT>
FunctionModRefBehavior llvm::AAResultBase< DerivedT >::AAResultsProxy::getModRefBehavior ( const Function F)
inline

Definition at line 809 of file AliasAnalysis.h.

References llvm::AAResults::getModRefBehavior().

template<typename DerivedT>
ModRefInfo llvm::AAResultBase< DerivedT >::AAResultsProxy::getModRefInfo ( ImmutableCallSite  CS,
const MemoryLocation Loc 
)
inline

Definition at line 813 of file AliasAnalysis.h.

References llvm::AAResults::getModRefInfo().

template<typename DerivedT>
ModRefInfo llvm::AAResultBase< DerivedT >::AAResultsProxy::getModRefInfo ( ImmutableCallSite  CS1,
ImmutableCallSite  CS2 
)
inline

Definition at line 818 of file AliasAnalysis.h.

References llvm::AAResults::getModRefInfo().

template<typename DerivedT>
bool llvm::AAResultBase< DerivedT >::AAResultsProxy::pointsToConstantMemory ( const MemoryLocation Loc,
bool  OrLocal 
)
inline

Definition at line 796 of file AliasAnalysis.h.

References llvm::AAResults::pointsToConstantMemory().


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