LLVM 20.0.0git
Macros | Functions | Variables
AMDGPULowerKernelArguments.cpp File Reference
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/IntrinsicsAMDGPU.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-lower-kernel-arguments"
 

Functions

static BasicBlock::iterator getInsertPt (BasicBlock &BB)
 
static bool lowerKernelArguments (Function &F, const TargetMachine &TM)
 
 INITIALIZE_PASS_BEGIN (AMDGPULowerKernelArguments, DEBUG_TYPE, "AMDGPU Lower Kernel Arguments", false, false) INITIALIZE_PASS_END(AMDGPULowerKernelArguments
 

Variables

 DEBUG_TYPE
 
AMDGPU Lower Kernel Arguments
 
AMDGPU Lower Kernel false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-lower-kernel-arguments"

Definition at line 22 of file AMDGPULowerKernelArguments.cpp.

Function Documentation

◆ getInsertPt()

static BasicBlock::iterator getInsertPt ( BasicBlock BB)
static

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( AMDGPULowerKernelArguments  ,
DEBUG_TYPE  ,
"AMDGPU Lower Kernel Arguments"  ,
false  ,
false   
)

◆ lowerKernelArguments()

static bool lowerKernelArguments ( Function F,
const TargetMachine TM 
)
static

Variable Documentation

◆ Arguments

AMDGPU Lower Kernel Arguments

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 295 of file AMDGPULowerKernelArguments.cpp.

◆ false

AMDGPU Lower Kernel false

Definition at line 296 of file AMDGPULowerKernelArguments.cpp.