LLVM 20.0.0git
|
#include "SPIRVMetadata.h"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Functions | |
static MDString * | getOCLKernelArgAttribute (const Function &F, unsigned ArgIdx, const StringRef AttributeName) |
MDString * | llvm::getOCLKernelArgAccessQual (const Function &F, unsigned ArgIdx) |
MDString * | llvm::getOCLKernelArgTypeQual (const Function &F, unsigned ArgIdx) |
|
static |
Definition at line 18 of file SPIRVMetadata.cpp.
References assert(), F, llvm::NamedMDNode::getNumOperands(), llvm::MDNode::getOperand(), llvm::NamedMDNode::getOperand(), llvm::ValueAsMetadata::getValue(), llvm::MDNode::operands(), and llvm::CallingConv::SPIR_KERNEL.
Referenced by llvm::getOCLKernelArgAccessQual(), and llvm::getOCLKernelArgTypeQual().