LLVM
13.0.0git
|
#include "AMDGPU.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Analysis/LegacyDivergenceAnalysis.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/MemoryDependenceAnalysis.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/InitializePasses.h"
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 | |
static void | setUniformMetadata (Instruction *I) |
static void | setNoClobberMetadata (Instruction *I) |
Variables | |
DEBUG_TYPE | |
Add AMDGPU uniform | metadata |
Add AMDGPU uniform | false |
This pass adds amdgpu.uniform metadata to IR values so this information can be used during instruction selection.
Definition in file AMDGPUAnnotateUniformValues.cpp.
#define DEBUG_TYPE "amdgpu-annotate-uniform" |
Definition at line 25 of file AMDGPUAnnotateUniformValues.cpp.
INITIALIZE_PASS_BEGIN | ( | AMDGPUAnnotateUniformValues | , |
DEBUG_TYPE | , | ||
"Add AMDGPU uniform metadata" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 75 of file AMDGPUAnnotateUniformValues.cpp.
References llvm::MDNode::get(), and I.
|
static |
Definition at line 72 of file AMDGPUAnnotateUniformValues.cpp.
References llvm::MDNode::get(), and I.
DEBUG_TYPE |
Definition at line 67 of file AMDGPUAnnotateUniformValues.cpp.
Add AMDGPU uniform false |
Definition at line 68 of file AMDGPUAnnotateUniformValues.cpp.
Add AMDGPU uniform metadata |
Definition at line 68 of file AMDGPUAnnotateUniformValues.cpp.