LLVM
8.0.1
|
#include "llvm/Analysis/CFLSteensAliasAnalysis.h"
Classes | |
class | FunctionInfo |
Information we have about a function and would like to keep around. More... | |
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... | |
Definition at line 40 of file CFLSteensAliasAnalysis.h.
|
explicit |
Definition at line 64 of file CFLSteensAliasAnalysis.cpp.
CFLSteensAAResult::CFLSteensAAResult | ( | CFLSteensAAResult && | Arg | ) |
Definition at line 66 of file CFLSteensAliasAnalysis.cpp.
References ~CFLSteensAAResult().
|
default |
Referenced by CFLSteensAAResult().
|
inline |
Definition at line 73 of file CFLSteensAliasAnalysis.h.
References llvm::AAResultBase< DerivedT >::alias(), F(), llvm::MayAlias, llvm::MustAlias, and llvm::MemoryLocation::Ptr.
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.
void CFLSteensAAResult::evict | ( | Function * | Fn | ) |
Definition at line 241 of file CFLSteensAliasAnalysis.cpp.
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.
|
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().
AliasResult CFLSteensAAResult::query | ( | const MemoryLocation & | LocA, |
const MemoryLocation & | LocB | ||
) |
Definition at line 265 of file CFLSteensAliasAnalysis.cpp.
References assert(), llvm::dbgs(), llvm::cflaa::StratifiedSets< T >::find(), llvm::cflaa::hasUnknownOrCallerAttr(), llvm::cflaa::isGlobalOrArgAttr(), LLVM_DEBUG, llvm::MayAlias, llvm::NoAlias, llvm::cflaa::parentFunctionOfValue(), and llvm::MemoryLocation::Ptr.
void CFLSteensAAResult::scan | ( | Function * | Fn | ) |
Inserts the given Function into the cache.
Definition at line 226 of file CFLSteensAliasAnalysis.cpp.
References assert().