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

#include "llvm/Analysis/CFLSteensAliasAnalysis.h"

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

Classes

class  FunctionInfo
 Information we have about a function and would like to keep around. More...
 

Public Member Functions

 CFLSteensAAResult (const TargetLibraryInfo &TLI)
 
 CFLSteensAAResult (CFLSteensAAResult &&Arg)
 
 ~CFLSteensAAResult ()
 
bool invalidate (Function &, const PreservedAnalyses &, FunctionAnalysisManager::Invalidator &)
 Handle invalidation events from the new pass manager. More...
 
void scan (Function *Fn)
 Inserts the given Function into the cache. More...
 
void evict (Function *Fn)
 
const Optional< FunctionInfo > & ensureCached (Function *Fn)
 Ensures that the given function is available in the cache. More...
 
const cflaa::AliasSummarygetAliasSummary (Function &Fn)
 Get the alias summary for the given function Return nullptr if the summary is not found or not available. More...
 
AliasResult query (const MemoryLocation &LocA, const MemoryLocation &LocB)
 
AliasResult alias (const MemoryLocation &LocA, const MemoryLocation &LocB)
 
- Public Member Functions inherited from llvm::AAResultBase< CFLSteensAAResult >
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)
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::AAResultBase< CFLSteensAAResult >
 AAResultBase ()=default
 
 AAResultBase (const AAResultBase &Arg)
 
 AAResultBase (AAResultBase &&Arg)
 
AAResultsProxy getBestAAResults ()
 Get a proxy for the best AA result set to query at this time. More...
 

Detailed Description

Definition at line 40 of file CFLSteensAliasAnalysis.h.

Constructor & Destructor Documentation

◆ CFLSteensAAResult() [1/2]

CFLSteensAAResult::CFLSteensAAResult ( const TargetLibraryInfo TLI)
explicit

Definition at line 64 of file CFLSteensAliasAnalysis.cpp.

◆ CFLSteensAAResult() [2/2]

CFLSteensAAResult::CFLSteensAAResult ( CFLSteensAAResult &&  Arg)

Definition at line 66 of file CFLSteensAliasAnalysis.cpp.

References ~CFLSteensAAResult().

◆ ~CFLSteensAAResult()

CFLSteensAAResult::~CFLSteensAAResult ( )
default

Referenced by CFLSteensAAResult().

Member Function Documentation

◆ alias()

AliasResult llvm::CFLSteensAAResult::alias ( const MemoryLocation LocA,
const MemoryLocation LocB 
)
inline

◆ ensureCached()

const Optional< CFLSteensAAResult::FunctionInfo > & CFLSteensAAResult::ensureCached ( Function Fn)

Ensures that the given function is available in the cache.

Ensures that the given function is available in the cache, and returns the entry.

Returns the appropriate entry from the cache.

Definition at line 246 of file CFLSteensAliasAnalysis.cpp.

References assert(), and scan().

◆ evict()

void CFLSteensAAResult::evict ( Function Fn)

Definition at line 241 of file CFLSteensAliasAnalysis.cpp.

◆ getAliasSummary()

const AliasSummary * CFLSteensAAResult::getAliasSummary ( Function Fn)

Get the alias summary for the given function Return nullptr if the summary is not found or not available.

Definition at line 257 of file CFLSteensAliasAnalysis.cpp.

◆ invalidate()

bool llvm::CFLSteensAAResult::invalidate ( Function ,
const PreservedAnalyses ,
FunctionAnalysisManager::Invalidator  
)
inline

Handle invalidation events from the new pass manager.

By definition, this result is stateless and so remains valid.

Definition at line 53 of file CFLSteensAliasAnalysis.h.

References scan().

◆ query()

AliasResult CFLSteensAAResult::query ( const MemoryLocation LocA,
const MemoryLocation LocB 
)

◆ scan()

void CFLSteensAAResult::scan ( Function Fn)

Inserts the given Function into the cache.

Definition at line 226 of file CFLSteensAliasAnalysis.cpp.

References assert().


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