LLVM 20.0.0git
Macros | Functions | Variables
NVPTXAliasAnalysis.cpp File Reference

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

#include "NVPTXAliasAnalysis.h"
#include "MCTargetDesc/NVPTXBaseInfo.h"
#include "NVPTX.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Support/CommandLine.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "NVPTX-aa"
 

Functions

 INITIALIZE_PASS (NVPTXAAWrapperPass, "nvptx-aa", "NVPTX Address space based Alias Analysis", false, true) INITIALIZE_PASS(NVPTXExternalAAWrapper
 
static unsigned getAddressSpace (const Value *V, unsigned MaxLookup)
 
static AliasResult::Kind getAliasResult (unsigned AS1, unsigned AS2)
 
static bool isConstOrParam (unsigned AS)
 

Variables

static cl::opt< unsignedTraverseAddressSpacesLimit ("nvptx-traverse-address-aliasing-limit", cl::Hidden, cl::desc("Depth limit for finding address space through traversal"), cl::init(6))
 
nvptx aa wrapper
 
nvptx aa NVPTX Address space based Alias Analysis Wrapper
 
nvptx aa NVPTX Address space based Alias Analysis false
 

Detailed Description

This is the NVPTX address space based alias analysis pass.

Definition in file NVPTXAliasAnalysis.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "NVPTX-aa"

Definition at line 21 of file NVPTXAliasAnalysis.cpp.

Function Documentation

◆ getAddressSpace()

static unsigned getAddressSpace ( const Value V,
unsigned  MaxLookup 
)
static

◆ getAliasResult()

static AliasResult::Kind getAliasResult ( unsigned  AS1,
unsigned  AS2 
)
static

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( NVPTXAAWrapperPass  ,
"nvptx-aa"  ,
"NVPTX Address space based Alias Analysis"  ,
false  ,
true   
)

◆ isConstOrParam()

static bool isConstOrParam ( unsigned  AS)
static

Definition at line 105 of file NVPTXAliasAnalysis.cpp.

Referenced by llvm::NVPTXAAResult::getModRefInfoMask().

Variable Documentation

◆ false

nvptx aa NVPTX Address space based Alias Analysis false

Definition at line 37 of file NVPTXAliasAnalysis.cpp.

◆ TraverseAddressSpacesLimit

cl::opt< unsigned > TraverseAddressSpacesLimit("nvptx-traverse-address-aliasing-limit", cl::Hidden, cl::desc("Depth limit for finding address space through traversal"), cl::init(6)) ( "nvptx-traverse-address-aliasing-limit"  ,
cl::Hidden  ,
cl::desc("Depth limit for finding address space through traversal")  ,
cl::init(6)   
)
static

◆ wrapper

nvptx aa wrapper

Definition at line 36 of file NVPTXAliasAnalysis.cpp.

◆ Wrapper

nvptx aa NVPTX Address space based Alias Analysis Wrapper

Definition at line 37 of file NVPTXAliasAnalysis.cpp.