LLVM: lib/Target/AMDGPU/GCNNSAReassign.cpp File Reference (original) (raw)
Try to reassign registers on GFX10+ from non-sequential to sequential in NSA image instructions. More...
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "amdgpu-nsa-reassign" |
| Variables | |
|---|---|
| DEBUG_TYPE | |
| GCN NSA | Reassign |
| GCN NSA | false |
Try to reassign registers on GFX10+ from non-sequential to sequential in NSA image instructions.
Later SIShrinkInstructions pass will replace NSA with sequential versions where possible.
Definition in file GCNNSAReassign.cpp.
◆ DEBUG_TYPE
#define DEBUG_TYPE "amdgpu-nsa-reassign"
◆ INITIALIZE_PASS_BEGIN()
| INITIALIZE_PASS_BEGIN | ( | GCNNSAReassignLegacy | , |
|---|---|---|---|
| DEBUG_TYPE | , | ||
| "GCN NSA Reassign" | , | ||
| false | , | ||
| false | ) |
◆ STATISTIC() [1/2]
| STATISTIC | ( | NumNSAConverted | , |
|---|---|---|---|
| "Number of NSA instructions changed to sequential" | ) |
◆ STATISTIC() [2/2]
| STATISTIC | ( | NumNSAInstructions | , |
|---|---|---|---|
| "Number of NSA instructions with non-sequential address found" | ) |