LLVM 20.0.0git
Macros | Functions
AMDGPUPreloadKernArgProlog.cpp File Reference
#include "AMDGPUPreloadKernArgProlog.h"
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/TargetParser/TargetParser.h"

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()

static 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, Config, and TRI.