LLVM 20.0.0git
|
#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 |
#define DEBUG_TYPE "amdgpu-lower-kernel-arguments" |
Definition at line 22 of file AMDGPULowerKernelArguments.cpp.
|
static |
Definition at line 86 of file AMDGPULowerKernelArguments.cpp.
References llvm::BasicBlock::end(), llvm::BasicBlock::getFirstInsertionPt(), and llvm::AllocaInst::isStaticAlloca().
Referenced by lowerKernelArguments().
INITIALIZE_PASS_BEGIN | ( | AMDGPULowerKernelArguments | , |
DEBUG_TYPE | , | ||
"AMDGPU Lower Kernel Arguments" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 100 of file AMDGPULowerKernelArguments.cpp.
References llvm::CallBase::addRetAttr(), llvm::alignDown(), llvm::alignTo(), llvm::CallingConv::AMDGPU_KERNEL, CC, llvm::commonAlignment(), llvm::IRBuilderBase::CreateAddrSpaceCast(), llvm::IRBuilderBase::CreateAlignedLoad(), llvm::IRBuilderBase::CreateBitCast(), llvm::MDBuilder::createConstant(), llvm::IRBuilderBase::CreateConstInBoundsGEP1_64(), llvm::IRBuilderBase::CreateIntrinsic(), llvm::IRBuilderBase::CreateLShr(), llvm::IRBuilderBase::CreateShuffleVector(), llvm::IRBuilderBase::CreateTrunc(), DL, F, llvm::MDNode::get(), llvm::FixedVectorType::get(), getInsertPt(), llvm::IRBuilderBase::getInt32Ty(), llvm::IRBuilderBase::getInt64Ty(), llvm::IRBuilderBase::getInt8Ty(), llvm::IRBuilderBase::getIntNTy(), llvm::Value::getName(), llvm::Value::getType(), llvm::Attribute::getWithAlignment(), llvm::Attribute::getWithDereferenceableBytes(), llvm::Type::isAggregateType(), llvm::AMDGPUAS::LOCAL_ADDRESS, llvm::AMDGPUAS::REGION_ADDRESS, llvm::Value::replaceAllUsesWith(), and Size.
Referenced by llvm::AMDGPULowerKernelArgumentsPass::run().
AMDGPU Lower Kernel Arguments |
Definition at line 295 of file AMDGPULowerKernelArguments.cpp.
Referenced by llvm::Function::arg_begin(), llvm::Function::arg_end(), llvm::coro::buildCoroutineFrame(), llvm::MDBuilder::createCallbackEncoding(), llvm::coro::createMustTailCall(), llvm::PMTopLevelManager::dumpArguments(), llvm::Function::getArg(), llvm::IntrinsicCostAttributes::getArgs(), getVectorCallCosts(), llvm::LoopVectorizationCostModel::getVectorIntrinsicCost(), llvm::IntrinsicCostAttributes::isTypeBasedOnly(), llvm::lookupBuiltin(), llvm::logicalview::LVLogicalVisitor::visitKnownRecord(), and llvm::logicalview::LVTypeVisitor::visitKnownRecord().
DEBUG_TYPE |
Definition at line 295 of file AMDGPULowerKernelArguments.cpp.
AMDGPU Lower Kernel false |
Definition at line 296 of file AMDGPULowerKernelArguments.cpp.