LLVM: llvm::GlobalsAAResult Class Reference (original) (raw)

An alias analysis result set for globals. More...

#include "[llvm/Analysis/GlobalsModRef.h](GlobalsModRef%5F8h%5Fsource.html)"

Classes
class FunctionInfo
The mod/ref information collected for a particular function. More...
Public Member Functions
LLVM_ABI GlobalsAAResult (GlobalsAAResult &&Arg)
LLVM_ABI ~GlobalsAAResult ()
LLVM_ABI bool invalidate (Module &M, const PreservedAnalyses &PA, ModuleAnalysisManager::Invalidator &)
LLVM_ABI AliasResult alias (const MemoryLocation &LocA, const MemoryLocation &LocB, AAQueryInfo &AAQI, const Instruction *CtxI)
alias - If one of the pointers is to a global that we are tracking, and the other is some random pointer, we know there cannot be an alias, because the address of the global isn't taken.
LLVM_ABI ModRefInfo getModRefInfo (const CallBase *Call, const MemoryLocation &Loc, AAQueryInfo &AAQI)
LLVM_ABI MemoryEffects getMemoryEffects (const Function *F)
getMemoryEffects - Return the behavior of the specified function if called from the specified call site.
ModRefInfo getModRefInfo (const CallBase *Call1, const CallBase *Call2, AAQueryInfo &AAQI)
MemoryEffects getMemoryEffects (const CallBase *Call, AAQueryInfo &AAQI)
Public Member Functions inherited from llvm::AAResultBase
AliasResult alias (const MemoryLocation &LocA, const MemoryLocation &LocB, AAQueryInfo &AAQI, const Instruction *I)
AliasResult aliasErrno (const MemoryLocation &Loc, const Module *M)
ModRefInfo getModRefInfoMask (const MemoryLocation &Loc, AAQueryInfo &AAQI, bool IgnoreLocals)
ModRefInfo getArgModRefInfo (const CallBase *Call, unsigned ArgIdx)
MemoryEffects getMemoryEffects (const CallBase *Call, AAQueryInfo &AAQI)
MemoryEffects getMemoryEffects (const Function *F)
ModRefInfo getModRefInfo (const CallBase *Call, const MemoryLocation &Loc, AAQueryInfo &AAQI)
ModRefInfo getModRefInfo (const CallBase *Call1, const CallBase *Call2, AAQueryInfo &AAQI)
Friends
struct RecomputeGlobalsAAPass

An alias analysis result set for globals.

This focuses on handling aliasing properties of globals and interprocedural function call mod/ref information.

Definition at line 31 of file GlobalsModRef.h.

~GlobalsAAResult()

GlobalsAAResult::~GlobalsAAResult ( ) default

alias()

analyzeModule()

getMemoryEffects() [1/2]

getMemoryEffects() [2/2]

getModRefInfo() [1/2]

getModRefInfo() [2/2]

invalidate()

RecomputeGlobalsAAPass


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