#include "AMDGPUAliasAnalysis.h"
#include "AMDGPU.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/Instructions.h"
usingnamespacellvm;
#define DEBUG_TYPE …
AnalysisKey AMDGPUAA::Key;
char AMDGPUAAWrapperPass::ID = …;
char AMDGPUExternalAAWrapper::ID = …;
INITIALIZE_PASS(…)
INITIALIZE_PASS(…)
ImmutablePass *llvm::createAMDGPUAAWrapperPass() { … }
ImmutablePass *llvm::createAMDGPUExternalAAWrapperPass() { … }
AMDGPUAAWrapperPass::AMDGPUAAWrapperPass() : … { … }
void AMDGPUAAWrapperPass::getAnalysisUsage(AnalysisUsage &AU) const { … }
AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA,
const MemoryLocation &LocB, AAQueryInfo &AAQI,
const Instruction *) { … }
ModRefInfo AMDGPUAAResult::getModRefInfoMask(const MemoryLocation &Loc,
AAQueryInfo &AAQI,
bool IgnoreLocals) { … }