LLVM 20.0.0git
|
A simple AA result that uses TBAA metadata to answer queries. More...
#include "Target/AMDGPU/AMDGPUAliasAnalysis.h"
Additional Inherited Members | |
Protected Member Functions inherited from llvm::AAResultBase | |
AAResultBase ()=default | |
AAResultBase (const AAResultBase &Arg) | |
AAResultBase (AAResultBase &&Arg) | |
A simple AA result that uses TBAA metadata to answer queries.
Definition at line 24 of file AMDGPUAliasAnalysis.h.
|
inlineexplicit |
Definition at line 28 of file AMDGPUAliasAnalysis.h.
References DL.
|
inline |
Definition at line 29 of file AMDGPUAliasAnalysis.h.
References DL.
AliasResult AMDGPUAAResult::alias | ( | const MemoryLocation & | LocA, |
const MemoryLocation & | LocB, | ||
AAQueryInfo & | AAQI, | ||
const Instruction * | CtxI | ||
) |
Definition at line 49 of file AMDGPUAliasAnalysis.cpp.
References A, llvm::AMDGPU::addrspacesMayAlias(), llvm::CallingConv::AMDGPU_KERNEL, B, llvm::AMDGPUAS::CONSTANT_ADDRESS, F, llvm::AMDGPUAS::FLAT_ADDRESS, llvm::Type::getPointerAddressSpace(), llvm::Value::getType(), llvm::getUnderlyingObject(), llvm::AMDGPUAS::LOCAL_ADDRESS, llvm::AliasResult::MayAlias, llvm::AliasResult::NoAlias, llvm::AMDGPUAS::PRIVATE_ADDRESS, llvm::MemoryLocation::Ptr, and std::swap().
ModRefInfo AMDGPUAAResult::getModRefInfoMask | ( | const MemoryLocation & | Loc, |
AAQueryInfo & | AAQI, | ||
bool | IgnoreLocals | ||
) |
Definition at line 99 of file AMDGPUAliasAnalysis.cpp.
References llvm::sampleprof::Base, llvm::AMDGPUAS::CONSTANT_ADDRESS, llvm::AMDGPUAS::CONSTANT_ADDRESS_32BIT, llvm::Type::getPointerAddressSpace(), llvm::Value::getType(), llvm::getUnderlyingObject(), llvm::ModRef, llvm::NoModRef, and llvm::MemoryLocation::Ptr.
|
inline |
Handle invalidation events from the new pass manager.
By definition, this result is stateless and so remains valid.
Definition at line 35 of file AMDGPUAliasAnalysis.h.