|
LLVM 24.0.0git
|
This pass should be invoked at the end of wwm-regalloc pipeline. More...
#include "AMDGPUReserveWWMRegs.h"#include "AMDGPU.h"#include "SIMachineFunctionInfo.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/RegisterClassInfo.h"#include "llvm/CodeGen/VirtRegMap.h"#include "llvm/InitializePasses.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "amdgpu-reserve-wwm-regs" |
Functions | |
| INITIALIZE_PASS_BEGIN (AMDGPUReserveWWMRegsLegacy, DEBUG_TYPE, "AMDGPU Reserve WWM Registers", false, false) INITIALIZE_PASS_END(AMDGPUReserveWWMRegsLegacy | |
Variables | |
| DEBUG_TYPE | |
| AMDGPU Reserve WWM | Registers |
| AMDGPU Reserve WWM | false |
This pass should be invoked at the end of wwm-regalloc pipeline.
It identifies the WWM regs allocated during this pipeline and add them to the list of reserved registers so that they won't be available for per-thread VGPR allocation in the subsequent regalloc pipeline.
Definition in file AMDGPUReserveWWMRegs.cpp.
| #define DEBUG_TYPE "amdgpu-reserve-wwm-regs" |
Definition at line 27 of file AMDGPUReserveWWMRegs.cpp.
| INITIALIZE_PASS_BEGIN | ( | AMDGPUReserveWWMRegsLegacy | , |
| DEBUG_TYPE | , | ||
| "AMDGPU Reserve WWM Registers" | , | ||
| false | , | ||
| false | ) |
References DEBUG_TYPE, and INITIALIZE_PASS_DEPENDENCY.
| DEBUG_TYPE |
Definition at line 64 of file AMDGPUReserveWWMRegs.cpp.
| AMDGPU Reserve WWM false |
Definition at line 65 of file AMDGPUReserveWWMRegs.cpp.
| AMDGPU Reserve WWM Registers |
Definition at line 65 of file AMDGPUReserveWWMRegs.cpp.
Referenced by ConsecutiveRegisters(), llvm::SIRegisterInfo::getNumUsedPhysRegs(), llvm::dwarf::RegisterLocations::getRegisters(), and llvm::MIRParserImpl::initializeSaveRestorePoints().