LLVM  14.0.0git
Public Member Functions | List of all members
llvm::AMDGPUAAResult Class Reference

A simple AA result that uses TBAA metadata to answer queries. More...

#include "Target/AMDGPU/AMDGPUAliasAnalysis.h"

Inheritance diagram for llvm::AMDGPUAAResult:
Inheritance graph
[legend]
Collaboration diagram for llvm::AMDGPUAAResult:
Collaboration graph
[legend]

Public Member Functions

 AMDGPUAAResult (const DataLayout &DL)
 
 AMDGPUAAResult (AMDGPUAAResult &&Arg)
 
bool invalidate (Function &, const PreservedAnalyses &, FunctionAnalysisManager::Invalidator &Inv)
 Handle invalidation events from the new pass manager. More...
 
AliasResult alias (const MemoryLocation &LocA, const MemoryLocation &LocB, AAQueryInfo &AAQI)
 
bool pointsToConstantMemory (const MemoryLocation &Loc, AAQueryInfo &AAQI, bool OrLocal)
 
- Public Member Functions inherited from llvm::AAResultBase< AMDGPUAAResult >
AliasResult alias (const MemoryLocation &LocA, const MemoryLocation &LocB, AAQueryInfo &AAQI)
 
bool pointsToConstantMemory (const MemoryLocation &Loc, AAQueryInfo &AAQI, bool OrLocal)
 
ModRefInfo getArgModRefInfo (const CallBase *Call, unsigned ArgIdx)
 
FunctionModRefBehavior getModRefBehavior (const CallBase *Call)
 
FunctionModRefBehavior getModRefBehavior (const Function *F)
 
ModRefInfo getModRefInfo (const CallBase *Call, const MemoryLocation &Loc, AAQueryInfo &AAQI)
 
ModRefInfo getModRefInfo (const CallBase *Call1, const CallBase *Call2, AAQueryInfo &AAQI)
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::AAResultBase< AMDGPUAAResult >
 AAResultBase ()=default
 
 AAResultBase (const AAResultBase &Arg)
 
 AAResultBase (AAResultBase &&Arg)
 
AAResultsProxy getBestAAResults ()
 Get a proxy for the best AA result set to query at this time. More...
 

Detailed Description

A simple AA result that uses TBAA metadata to answer queries.

Definition at line 23 of file AMDGPUAliasAnalysis.h.

Constructor & Destructor Documentation

◆ AMDGPUAAResult() [1/2]

llvm::AMDGPUAAResult::AMDGPUAAResult ( const DataLayout DL)
inlineexplicit

Definition at line 29 of file AMDGPUAliasAnalysis.h.

References DL.

◆ AMDGPUAAResult() [2/2]

llvm::AMDGPUAAResult::AMDGPUAAResult ( AMDGPUAAResult &&  Arg)
inline

Definition at line 30 of file AMDGPUAliasAnalysis.h.

References DL.

Member Function Documentation

◆ alias()

AliasResult AMDGPUAAResult::alias ( const MemoryLocation LocA,
const MemoryLocation LocB,
AAQueryInfo AAQI 
)

◆ invalidate()

bool llvm::AMDGPUAAResult::invalidate ( Function ,
const PreservedAnalyses ,
FunctionAnalysisManager::Invalidator Inv 
)
inline

Handle invalidation events from the new pass manager.

By definition, this result is stateless and so remains valid.

Definition at line 36 of file AMDGPUAliasAnalysis.h.

◆ pointsToConstantMemory()

bool AMDGPUAAResult::pointsToConstantMemory ( const MemoryLocation Loc,
AAQueryInfo AAQI,
bool  OrLocal 
)

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