LLVM 20.0.0git
Classes | Macros | Functions | Variables
AMDGPUAnnotateUniformValues.cpp File Reference

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

#include "AMDGPU.h"
#include "AMDGPUMemoryUtils.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/MemorySSA.h"
#include "llvm/Analysis/UniformityAnalysis.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/InitializePasses.h"

Go to the source code of this file.

Classes

class  AMDGPUAnnotateUniformValuesLegacy
 

Macros

#define DEBUG_TYPE   "amdgpu-annotate-uniform"
 

Functions

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

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 ( AMDGPUAnnotateUniformValuesLegacy  ,
DEBUG_TYPE  ,
"Add AMDGPU uniform metadata"  ,
false  ,
false   
)

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 144 of file AMDGPUAnnotateUniformValues.cpp.

◆ false

Add AMDGPU uniform false

Definition at line 145 of file AMDGPUAnnotateUniformValues.cpp.

◆ metadata

Add AMDGPU uniform metadata

Definition at line 145 of file AMDGPUAnnotateUniformValues.cpp.