LLVM 20.0.0git
Functions | Variables
AMDGPULibFunc.cpp File Reference
#include "AMDGPULibFunc.h"
#include "AMDGPU.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ModRef.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Functions

static int parseVecSize (StringRef &mangledName)
 
static AMDGPULibFunc::ENamePrefix parseNamePrefix (StringRef &mangledName)
 
static const chargetItaniumTypeName (AMDGPULibFunc::EType T)
 
static TypegetIntrinsicParamType (LLVMContext &C, const AMDGPULibFunc::Param &P, bool useAddrSpace)
 

Variables

static cl::opt< boolEnableOCLManglingMismatchWA ("amdgpu-enable-ocl-mangling-mismatch-workaround", cl::init(true), cl::ReallyHidden, cl::desc("Enable the workaround for OCL name mangling mismatch."))
 

Function Documentation

◆ getIntrinsicParamType()

static Type * getIntrinsicParamType ( LLVMContext C,
const AMDGPULibFunc::Param &  P,
bool  useAddrSpace 
)
static

◆ getItaniumTypeName()

static const char * getItaniumTypeName ( AMDGPULibFunc::EType  T)
static

◆ parseNamePrefix()

static AMDGPULibFunc::ENamePrefix parseNamePrefix ( StringRef mangledName)
static

◆ parseVecSize()

static int parseVecSize ( StringRef mangledName)
static

Definition at line 543 of file AMDGPULibFunc.cpp.

Variable Documentation

◆ EnableOCLManglingMismatchWA

cl::opt< bool > EnableOCLManglingMismatchWA("amdgpu-enable-ocl-mangling-mismatch-workaround", cl::init(true), cl::ReallyHidden, cl::desc("Enable the workaround for OCL name mangling mismatch.")) ( "amdgpu-enable-ocl-mangling-mismatch-workaround"  ,
cl::init(true ,
cl::ReallyHidden  ,
cl::desc("Enable the workaround for OCL name mangling mismatch.")   
)
static