14 #ifndef LLVM_ANALYSIS_LIBCALLALIASANALYSIS_H
15 #define LLVM_ANALYSIS_LIBCALLALIASANALYSIS_H
23 struct LibCallFunctionInfo;
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
LibCallInfo - Abstract interface to query about library call information.
LibCallAliasAnalysis(LibCallInfo *LC=nullptr)
void * getAdjustedAnalysisPointer(const void *PI) override
getAdjustedAnalysisPointer - This method is used when a pass implements an analysis interface through...
LibCallFunctionInfo - Each record in the array of FunctionInfo structs records the behavior of one li...
Represent the analysis usage information of a pass.
FunctionPass class - This class is used to implement most global optimizations.
Representation for a specific memory location.
Module.h This file contains the declarations for the Module class.
bool runOnFunction(Function &F) override
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass...
ModRefResult getModRefInfo(const Instruction *I)
getModRefInfo - Return information about whether or not an instruction may read or write memory (with...
ModRefResult getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc) override
getModRefInfo (for call sites) - Return information about whether a particular call site modifies or ...
void initializeLibCallAliasAnalysisPass(PassRegistry &)
LibCallAliasAnalysis(char &ID, LibCallInfo *LC)
ImmutableCallSite - establish a view to a call site for examination.
ModRefResult getModRefInfo(ImmutableCallSite CS1, ImmutableCallSite CS2) override
getModRefInfo - Return information about whether two call sites may refer to the same set of memory l...
ModRefResult
Simple mod/ref information...
LibCallAliasAnalysis - Alias analysis driven from LibCallInfo.
~LibCallAliasAnalysis() override
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - All alias analysis implementations should invoke this directly (using AliasAnalysi...