LLVM 20.0.0git
Macros
AMDGPUReserveWWMRegs.cpp File Reference

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

#include "AMDGPU.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.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"
 

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 26 of file AMDGPUReserveWWMRegs.cpp.