LLVM  10.0.0svn
Macros | Functions | Variables
AMDGPUAliasAnalysis.cpp File Reference

This is the AMGPU address space based alias analysis pass. More...

#include "AMDGPUAliasAnalysis.h"
#include "AMDGPU.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/MemoryLocation.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/Argument.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/CallingConv.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Value.h"
#include "llvm/Pass.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
Include dependency graph for AMDGPUAliasAnalysis.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-aa"
 

Functions

 INITIALIZE_PASS (AMDGPUAAWrapperPass, "amdgpu-aa", "AMDGPU Address space based Alias Analysis", false, true) INITIALIZE_PASS(AMDGPUExternalAAWrapper
 
static AliasResult getAliasResult (unsigned AS1, unsigned AS2)
 

Variables

amdgpu aa wrapper
 
amdgpu aa AMDGPU Address space based Alias Analysis Wrapper
 
amdgpu aa AMDGPU Address space based Alias Analysis false
 
static const AliasResult ASAliasRules [8][8]
 

Detailed Description

This is the AMGPU address space based alias analysis pass.

Definition in file AMDGPUAliasAnalysis.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-aa"

Definition at line 32 of file AMDGPUAliasAnalysis.cpp.

Function Documentation

◆ getAliasResult()

static AliasResult getAliasResult ( unsigned  AS1,
unsigned  AS2 
)
static

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( AMDGPUAAWrapperPass  ,
"amdgpu-aa ,
"AMDGPU Address space based Alias Analysis ,
false  ,
true   
)

Variable Documentation

◆ ASAliasRules

const AliasResult ASAliasRules[8][8]
static
Initial value:
= {
}
The two locations do not alias at all.
Definition: AliasAnalysis.h:84
The two locations may or may not alias. This is the least precise result.
Definition: AliasAnalysis.h:86

Definition at line 57 of file AMDGPUAliasAnalysis.cpp.

Referenced by getAliasResult().

◆ false

amdgpu aa AMDGPU Address space based Alias Analysis false

Definition at line 41 of file AMDGPUAliasAnalysis.cpp.

◆ wrapper

amdgpu aa wrapper

Definition at line 41 of file AMDGPUAliasAnalysis.cpp.

◆ Wrapper

amdgpu aa AMDGPU Address space based Alias Analysis Wrapper