LLVM 20.0.0git
Macros | Functions | Variables
SIPreAllocateWWMRegs.cpp File Reference

Pass to pre-allocated WWM registers. More...

#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/LiveRegMatrix.h"
#include "llvm/CodeGen/MachineFrameInfo.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   "si-pre-allocate-wwm-regs"
 

Functions

 INITIALIZE_PASS_BEGIN (SIPreAllocateWWMRegs, DEBUG_TYPE, "SI Pre-allocate WWM Registers", false, false) INITIALIZE_PASS_END(SIPreAllocateWWMRegs
 

Variables

static cl::opt< boolEnablePreallocateSGPRSpillVGPRs ("amdgpu-prealloc-sgpr-spill-vgprs", cl::init(false), cl::Hidden)
 
 DEBUG_TYPE
 
SI Pre allocate WWM Registers
 
SI Pre allocate WWM false
 

Detailed Description

Pass to pre-allocated WWM registers.

Definition in file SIPreAllocateWWMRegs.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "si-pre-allocate-wwm-regs"

Definition at line 29 of file SIPreAllocateWWMRegs.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( SIPreAllocateWWMRegs  ,
DEBUG_TYPE  ,
"SI Pre-allocate WWM Registers"  ,
false  ,
false   
)

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 81 of file SIPreAllocateWWMRegs.cpp.

◆ EnablePreallocateSGPRSpillVGPRs

cl::opt< bool > EnablePreallocateSGPRSpillVGPRs("amdgpu-prealloc-sgpr-spill-vgprs", cl::init(false), cl::Hidden) ( "amdgpu-prealloc-sgpr-spill-vgprs"  ,
cl::init(false)  ,
cl::Hidden   
)
static

◆ false

SI Pre allocate WWM false

Definition at line 82 of file SIPreAllocateWWMRegs.cpp.

◆ Registers

SI Pre allocate WWM Registers

Definition at line 82 of file SIPreAllocateWWMRegs.cpp.

Referenced by ConsecutiveRegisters().