Go to the source code of this file.
|
| #define | DEBUG_TYPE "amdgpu-preload-kernel-arguments" |
◆ DEBUG_TYPE
| #define DEBUG_TYPE "amdgpu-preload-kernel-arguments" |
◆ INITIALIZE_PASS()
| INITIALIZE_PASS |
( |
AMDGPUPreloadKernelArgumentsLegacy | , |
|
|
DEBUG_TYPE | , |
|
|
"AMDGPU Preload Kernel Arguments" | , |
|
|
false | , |
|
|
false | ) |
◆ markKernelArgsAsInreg()
Definition at line 283 of file AMDGPUPreloadKernelArguments.cpp.
References llvm::alignTo(), llvm::CallingConv::AMDGPU_KERNEL, Changed, DL, llvm::SmallVectorTemplateCommon< T, typename >::empty(), EnableKernargPreload, F, llvm::TargetMachine::getSubtarget(), KernargPreloadCount, and uint64_t.
Referenced by llvm::AMDGPUPreloadKernelArgumentsPass::run().
◆ EnableKernargPreload
| cl::opt< bool > EnableKernargPreload("amdgpu-kernarg-preload", cl::desc("Enable preload kernel arguments to SGPRs"), cl::init(true)) |
( |
"amdgpu-kernarg-preload" | , |
|
|
cl::desc("Enable preload kernel arguments to SGPRs") | , |
|
|
cl::init(true) | ) |
|
static |
◆ KernargPreloadCount
| cl::opt< unsigned > KernargPreloadCount("amdgpu-kernarg-preload-count", cl::desc("How many kernel arguments to preload onto SGPRs"), cl::init(0)) |
( |
"amdgpu-kernarg-preload-count" | , |
|
|
cl::desc("How many kernel arguments to preload onto SGPRs") | , |
|
|
cl::init(0) | ) |
|
static |