13 #ifndef LLVM_ANALYSIS_AMDGPUALIASANALYSIS_H
14 #define LLVM_ANALYSIS_AMDGPUALIASANALYSIS_H
33 DL(DL), AS(AMDGPU::
getAMDGPUAS(T)), ASAliasRules(AS, T.getArch()) {}
36 ASAliasRules(Arg.ASAliasRules){}
50 class ASAliasRulesTy {
53 AliasResult getAliasResult(
unsigned AS1,
unsigned AS2)
const;
77 std::unique_ptr<AMDGPUAAResult> Result;
102 #endif // LLVM_ANALYSIS_AMDGPUALIASANALYSIS_H
bool doInitialization(Module &M) override
doInitialization - Virtual method overridden by subclasses to do any necessary initialization before ...
A parsed version of the target data layout string in and methods for querying it. ...
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
AMDGPUAAResult(const DataLayout &DL, Triple T)
A Module instance is used to store all the information related to an LLVM module. ...
AMDGPUAAResult(AMDGPUAAResult &&Arg)
AMDGPUAS getAMDGPUAS(const Module &M)
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
void initializeAMDGPUAAWrapperPassPass(PassRegistry &)
const std::string & getTargetTriple() const
Get the target triple which is a string describing the target host.
AMDGPUAAResult & getResult()
bool invalidate(Function &, const PreservedAnalyses &)
Handle invalidation events from the new pass manager.
AMDGPUAAResult run(Function &F, AnalysisManager< Function > &AM)
OpenCL uses address spaces to differentiate between various memory regions on the hardware...
AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB)
A CRTP-driven "mixin" base class to help implement the function alias analysis results concept...
A set of analyses that are preserved following a run of a transformation pass.
const AMDGPUAAResult & getResult() const
A CRTP mix-in that provides informational APIs needed for analysis passes.
AliasResult
The possible results of an alias query.
Represent the analysis usage information of a pass.
Legacy wrapper pass to provide the AMDGPUAAResult object.
Analysis pass providing a never-invalidated alias analysis result.
Triple - Helper class for working with autoconf configuration names.
Representation for a specific memory location.
ImmutablePass class - This class is used to provide information that does not need to be run...
Module.h This file contains the declarations for the Module class.
bool doFinalization(Module &M) override
doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes...
const DataLayout & getDataLayout() const
Get the data layout for the module's target platform.
A simple AA result that uses TBAA metadata to answer queries.
Module * getParent()
Get the module that this global value is contained inside of...
bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal)
A container for analyses that lazily runs them and caches their results.