|
LLVM 22.0.0git
|
#include "AMDGPU.h"#include "AMDGPUTargetMachine.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/IR/Function.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/IntrinsicsAMDGPU.h"#include "llvm/IR/Module.h"#include "llvm/IR/PassManager.h"#include "llvm/IR/Verifier.h"#include "llvm/Pass.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "amdgpu-preload-kernel-arguments" |
Functions | |
| INITIALIZE_PASS (AMDGPUPreloadKernelArgumentsLegacy, DEBUG_TYPE, "AMDGPU Preload Kernel Arguments", false, false) ModulePass *llvm | |
| static bool | markKernelArgsAsInreg (Module &M, const TargetMachine &TM) |
Variables | |
| static cl::opt< unsigned > | KernargPreloadCount ("amdgpu-kernarg-preload-count", cl::desc("How many kernel arguments to preload onto SGPRs"), cl::init(0)) |
| static cl::opt< bool > | EnableKernargPreload ("amdgpu-kernarg-preload", cl::desc("Enable preload kernel arguments to SGPRs"), cl::init(true)) |
| #define DEBUG_TYPE "amdgpu-preload-kernel-arguments" |
Definition at line 32 of file AMDGPUPreloadKernelArguments.cpp.
| INITIALIZE_PASS | ( | AMDGPUPreloadKernelArgumentsLegacy | , |
| DEBUG_TYPE | , | ||
| "AMDGPU Preload Kernel Arguments" | , | ||
| false | , | ||
| false | ) |
Definition at line 269 of file AMDGPUPreloadKernelArguments.cpp.
References const, llvm::createAMDGPUPreloadKernelArgumentsLegacyPass(), and DEBUG_TYPE.
|
static |
Definition at line 282 of file AMDGPUPreloadKernelArguments.cpp.
References llvm::alignTo(), llvm::CallingConv::AMDGPU_KERNEL, Changed, DL, llvm::SmallVectorTemplateCommon< T, typename >::empty(), EnableKernargPreload, F, and KernargPreloadCount.
Referenced by llvm::AMDGPUPreloadKernelArgumentsPass::run().
|
static |
Referenced by markKernelArgsAsInreg().
|
static |
Referenced by markKernelArgsAsInreg().