LLVM 20.0.0git
|
#include "Target/AMDGPU/AMDGPULibFunc.h"
Public Member Functions | |
AMDGPUMangledLibFunc () | |
AMDGPUMangledLibFunc (EFuncId id, const AMDGPUMangledLibFunc ©From) | |
AMDGPUMangledLibFunc (EFuncId id, FunctionType *FT, bool SignedInts=true) | |
std::string | getName () const override |
Get unmangled name for mangled library function and name for unmangled library function. | |
unsigned | getNumArgs () const override |
FunctionType * | getFunctionType (Module &M) const override |
bool | parseFuncName (StringRef &mangledName) override |
std::string | mangle () const override |
Public Member Functions inherited from llvm::AMDGPULibFuncImpl | |
AMDGPULibFuncImpl ()=default | |
virtual | ~AMDGPULibFuncImpl ()=default |
virtual std::string | getName () const =0 |
Get unmangled name for mangled library function and name for unmangled library function. | |
virtual unsigned | getNumArgs () const =0 |
EFuncId | getId () const |
ENamePrefix | getPrefix () const |
bool | isMangled () const |
void | setId (EFuncId id) |
virtual bool | parseFuncName (StringRef &mangledName)=0 |
virtual std::string | mangle () const =0 |
void | setName (StringRef N) |
void | setPrefix (ENamePrefix pfx) |
virtual FunctionType * | getFunctionType (Module &M) const =0 |
Static Public Member Functions | |
static StringRef | getUnmangledName (StringRef MangledName) |
static bool | classof (const AMDGPULibFuncImpl *F) |
Static Public Member Functions inherited from llvm::AMDGPULibFuncBase | |
static bool | isMangled (EFuncId Id) |
static unsigned | getEPtrKindFromAddrSpace (unsigned AS) |
static unsigned | getAddrSpaceFromEPtrKind (unsigned Kind) |
Public Attributes | |
Param | Leads [2] |
Definition at line 419 of file AMDGPULibFunc.h.
|
explicit |
Definition at line 509 of file AMDGPULibFunc.cpp.
References llvm::AMDGPULibFuncBase::EI_NONE, llvm::AMDGPULibFuncImpl::FKind, llvm::AMDGPULibFuncImpl::FuncId, Leads, llvm::AMDGPULibFuncImpl::Name, llvm::AMDGPULibFuncBase::NOPFX, and llvm::AMDGPULibFuncBase::Param::reset().
|
explicit |
Definition at line 522 of file AMDGPULibFunc.cpp.
References llvm::AMDGPULibFuncImpl::FKind, llvm::AMDGPULibFuncImpl::FuncId, and Leads.
|
explicit |
Definition at line 530 of file AMDGPULibFunc.cpp.
References llvm::AMDGPULibFuncImpl::FuncId, llvm::FunctionType::getNumParams(), llvm::FunctionType::getParamType(), and Leads.
|
inlinestatic |
Definition at line 437 of file AMDGPULibFunc.h.
References F.
|
overridevirtual |
Implements llvm::AMDGPULibFuncImpl.
Definition at line 974 of file AMDGPULibFunc.cpp.
References llvm::CallingConv::C, FuncId, llvm::FunctionType::get(), getIntrinsicParamType(), I, and P.
|
overridevirtual |
Get unmangled name for mangled library function and name for unmangled library function.
Implements llvm::AMDGPULibFuncImpl.
Definition at line 995 of file AMDGPULibFunc.cpp.
References OS.
|
overridevirtual |
Implements llvm::AMDGPULibFuncImpl.
Definition at line 987 of file AMDGPULibFunc.cpp.
References FuncId.
Definition at line 709 of file AMDGPULibFunc.cpp.
|
overridevirtual |
Implements llvm::AMDGPULibFuncImpl.
Definition at line 736 of file AMDGPULibFunc.cpp.
Implements llvm::AMDGPULibFuncImpl.
Definition at line 666 of file AMDGPULibFunc.cpp.
References llvm::AMDGPULibFuncImpl::FKind, llvm::AMDGPULibFuncImpl::FuncId, I, Leads, llvm::AMDGPULibFuncImpl::Name, P, and parseNamePrefix().
Param llvm::AMDGPUMangledLibFunc::Leads[2] |
Definition at line 421 of file AMDGPULibFunc.h.
Referenced by AMDGPUMangledLibFunc(), and parseFuncName().