LLVM  8.0.1
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 (const CallBase *Call, unsigned ArgIdx)
 
FunctionModRefBehavior getModRefBehavior (const CallBase *Call)
 
FunctionModRefBehavior getModRefBehavior (const Function *F)
 
ModRefInfo getModRefInfo (const CallBase *Call, const MemoryLocation &Loc)
 
ModRefInfo getModRefInfo (const CallBase *Call1, const CallBase *Call2)
 

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 862 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ AAResultsProxy()

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

Definition at line 867 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 870 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 ( const CallBase Call,
unsigned  ArgIdx 
)
inline

Definition at line 879 of file AliasAnalysis.h.

References llvm::AAResults::getArgModRefInfo().

◆ getModRefBehavior() [1/2]

template<typename DerivedT>
FunctionModRefBehavior llvm::AAResultBase< DerivedT >::AAResultsProxy::getModRefBehavior ( const CallBase Call)
inline

◆ getModRefBehavior() [2/2]

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

Definition at line 889 of file AliasAnalysis.h.

References llvm::AAResults::getModRefBehavior().

◆ getModRefInfo() [1/2]

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

Definition at line 893 of file AliasAnalysis.h.

References llvm::AAResults::getModRefInfo().

◆ getModRefInfo() [2/2]

template<typename DerivedT>
ModRefInfo llvm::AAResultBase< DerivedT >::AAResultsProxy::getModRefInfo ( const CallBase Call1,
const CallBase Call2 
)
inline

Definition at line 898 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 874 of file AliasAnalysis.h.

References llvm::AAResults::pointsToConstantMemory().


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