LLVM  15.0.0git
Macros | Functions | Variables
AMDGPUAnnotateUniformValues.cpp File Reference
#include "AMDGPU.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "Utils/AMDGPUMemoryUtils.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/LegacyDivergenceAnalysis.h"
#include "llvm/Analysis/MemorySSA.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/InitializePasses.h"
Include dependency graph for AMDGPUAnnotateUniformValues.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-annotate-uniform"
 

Functions

 INITIALIZE_PASS_BEGIN (AMDGPUAnnotateUniformValues, DEBUG_TYPE, "Add AMDGPU uniform metadata", false, false) INITIALIZE_PASS_END(AMDGPUAnnotateUniformValues
 

Variables

 DEBUG_TYPE
 
Add AMDGPU uniform metadata
 
Add AMDGPU uniform false
 

Detailed Description

This pass adds amdgpu.uniform metadata to IR values so this information can be used during instruction selection.

Definition in file AMDGPUAnnotateUniformValues.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-annotate-uniform"

Definition at line 24 of file AMDGPUAnnotateUniformValues.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( AMDGPUAnnotateUniformValues  ,
DEBUG_TYPE  ,
"Add AMDGPU uniform metadata ,
false  ,
false   
)

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 75 of file AMDGPUAnnotateUniformValues.cpp.

◆ false

Add AMDGPU uniform false

Definition at line 76 of file AMDGPUAnnotateUniformValues.cpp.

◆ metadata

Add AMDGPU uniform metadata

Definition at line 76 of file AMDGPUAnnotateUniformValues.cpp.