LLVM 24.0.0git
AMDGPUReserveWWMRegs.cpp File Reference

This pass should be invoked at the end of wwm-regalloc pipeline. More...

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

Detailed Description

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.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-reserve-wwm-regs"

Definition at line 27 of file AMDGPUReserveWWMRegs.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( AMDGPUReserveWWMRegsLegacy ,
DEBUG_TYPE ,
"AMDGPU Reserve WWM Registers" ,
false ,
false  )

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 64 of file AMDGPUReserveWWMRegs.cpp.

◆ false

AMDGPU Reserve WWM false

Definition at line 65 of file AMDGPUReserveWWMRegs.cpp.

◆ Registers