|
LLVM
10.0.0
|
Try to reassign registers on GFX10+ from non-sequential to sequential in NSA image instructions. More...
#include "AMDGPU.h"#include "AMDGPUSubtarget.h"#include "SIInstrInfo.h"#include "SIMachineFunctionInfo.h"#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/LiveInterval.h"#include "llvm/CodeGen/LiveIntervals.h"#include "llvm/CodeGen/LiveRegMatrix.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/VirtRegMap.h"#include "llvm/InitializePasses.h"#include "llvm/Support/MathExtras.h"#include <algorithm>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "amdgpu-nsa-reassign" |
Functions | |
| STATISTIC (NumNSAInstructions, "Number of NSA instructions with non-sequential address found") | |
| STATISTIC (NumNSAConverted, "Number of NSA instructions changed to sequential") | |
| INITIALIZE_PASS_BEGIN (GCNNSAReassign, DEBUG_TYPE, "GCN NSA Reassign", false, false) INITIALIZE_PASS_END(GCNNSAReassign | |
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 relace NSA with sequential versions where possible.
Definition in file GCNNSAReassign.cpp.
| #define DEBUG_TYPE "amdgpu-nsa-reassign" |
Definition at line 32 of file GCNNSAReassign.cpp.
| INITIALIZE_PASS_BEGIN | ( | GCNNSAReassign | , |
| DEBUG_TYPE | , | ||
| "GCN NSA Reassign" | , | ||
| false | , | ||
| false | |||
| ) |
| STATISTIC | ( | NumNSAInstructions | , |
| "Number of NSA instructions with non-sequential address found" | |||
| ) |
| STATISTIC | ( | NumNSAConverted | , |
| "Number of NSA instructions changed to sequential" | |||
| ) |
| DEBUG_TYPE |
Definition at line 103 of file GCNNSAReassign.cpp.
| GCN NSA false |
Definition at line 103 of file GCNNSAReassign.cpp.
| GCN NSA Reassign |
Definition at line 103 of file GCNNSAReassign.cpp.
Referenced by llvm::RegBankSelect::getAnalysisUsage().
1.8.13