LLVM  6.0.0svn
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 "llvm/Analysis/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 837 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ AAResultsProxy()

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

Definition at line 842 of file AliasAnalysis.h.

Member Function Documentation

◆ alias()

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

Definition at line 845 of file AliasAnalysis.h.

References llvm::AAResults::alias().

Referenced by llvm::BasicAAResult::getModRefInfo(), and MergeAliasResults().

◆ getArgModRefInfo()

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

Definition at line 854 of file AliasAnalysis.h.

References llvm::AAResults::getArgModRefInfo().

◆ getModRefBehavior() [1/2]

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

◆ getModRefBehavior() [2/2]

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

Definition at line 862 of file AliasAnalysis.h.

References llvm::AAResults::getModRefBehavior().

◆ getModRefInfo() [1/2]

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

Definition at line 866 of file AliasAnalysis.h.

References llvm::AAResults::getModRefInfo().

◆ getModRefInfo() [2/2]

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

Definition at line 871 of file AliasAnalysis.h.

References llvm::AAResults::getModRefInfo().

◆ pointsToConstantMemory()

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

Definition at line 849 of file AliasAnalysis.h.

References llvm::AAResults::pointsToConstantMemory().


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