LLVM
8.0.1
|
This pass optimizes atomic operations by using a single lane of a wavefront to perform the atomic operation, thus reducing contention on that memory location. More...
#include "AMDGPU.h"
#include "AMDGPUSubtarget.h"
#include "llvm/Analysis/LegacyDivergenceAnalysis.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "amdgpu-atomic-optimizer" |
Enumerations | |
enum | DPP_CTRL |
Functions | |
INITIALIZE_PASS_BEGIN (AMDGPUAtomicOptimizer, DEBUG_TYPE, "AMDGPU atomic optimizations", false, false) INITIALIZE_PASS_END(AMDGPUAtomicOptimizer | |
Variables | |
DEBUG_TYPE | |
AMDGPU atomic | optimizations |
AMDGPU atomic | false |
This pass optimizes atomic operations by using a single lane of a wavefront to perform the atomic operation, thus reducing contention on that memory location.
Definition in file AMDGPUAtomicOptimizer.cpp.
#define DEBUG_TYPE "amdgpu-atomic-optimizer" |
Definition at line 25 of file AMDGPUAtomicOptimizer.cpp.
enum DPP_CTRL |
Definition at line 31 of file AMDGPUAtomicOptimizer.cpp.
INITIALIZE_PASS_BEGIN | ( | AMDGPUAtomicOptimizer | , |
DEBUG_TYPE | , | ||
"AMDGPU atomic optimizations" | , | ||
false | , | ||
false | |||
) |
DEBUG_TYPE |
Definition at line 453 of file AMDGPUAtomicOptimizer.cpp.
AMDGPU atomic false |
Definition at line 453 of file AMDGPUAtomicOptimizer.cpp.
AMDGPU atomic optimizations |
Definition at line 453 of file AMDGPUAtomicOptimizer.cpp.