LLVM 22.0.0git
AMDGPUPreloadKernArgProlog.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-preload-kern-arg-prolog"

Functions

static LoadConfig getLoadParameters (const TargetRegisterInfo &TRI, Register KernArgPreloadSGPR, unsigned NumKernArgPreloadSGPRs)
 Find the largest possible load size that fits with SGPR alignment.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-preload-kern-arg-prolog"

Definition at line 38 of file AMDGPUPreloadKernArgProlog.cpp.

Function Documentation

◆ getLoadParameters()

LoadConfig getLoadParameters ( const TargetRegisterInfo & TRI,
Register KernArgPreloadSGPR,
unsigned NumKernArgPreloadSGPRs )
static

Find the largest possible load size that fits with SGPR alignment.

Definition at line 157 of file AMDGPUPreloadKernArgProlog.cpp.

References llvm::CallingConv::C, and TRI.