LLVM
8.0.1
|
#include "Target/AMDGPU/AMDGPULibFunc.h"
Public Member Functions | |
AMDGPUMangledLibFunc () | |
AMDGPUMangledLibFunc (EFuncId id, const AMDGPUMangledLibFunc ©From) | |
std::string | getName () const override |
Get unmangled name for mangled library function and name for unmangled library function. More... | |
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 () | |
virtual | ~AMDGPULibFuncImpl () |
EFuncId | getId () const |
ENamePrefix | getPrefix () const |
bool | isMangled () const |
void | setId (EFuncId id) |
void | setName (StringRef N) |
void | setPrefix (ENamePrefix pfx) |
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 407 of file AMDGPULibFunc.h.
|
explicit |
Definition at line 523 of file AMDGPULibFunc.cpp.
|
explicit |
Definition at line 536 of file AMDGPULibFunc.cpp.
References llvm::AMDGPULibFuncImpl::FKind, FuncId, and Leads.
|
inlinestatic |
Definition at line 423 of file AMDGPULibFunc.h.
References llvm::AMDGPULibFuncImpl::isMangled(), and Name.
|
overridevirtual |
Implements llvm::AMDGPULibFuncImpl.
Definition at line 922 of file AMDGPULibFunc.cpp.
References llvm::AMDGPU::HSAMD::Kernel::Key::Args, C, FuncId, llvm::FunctionType::get(), llvm::Module::getContext(), getIntrinsicParamType(), I, and P.
|
overridevirtual |
Get unmangled name for mangled library function and name for unmangled library function.
Implements llvm::AMDGPULibFuncImpl.
Definition at line 943 of file AMDGPULibFunc.cpp.
References llvm::raw_svector_ostream::str().
|
overridevirtual |
Implements llvm::AMDGPULibFuncImpl.
Definition at line 935 of file AMDGPULibFunc.cpp.
References FuncId.
Definition at line 703 of file AMDGPULibFunc.cpp.
References llvm::StringRef::data(), FuncId, Name, and llvm::StringRef::size().
|
overridevirtual |
Implements llvm::AMDGPULibFuncImpl.
Definition at line 730 of file AMDGPULibFunc.cpp.
Implements llvm::AMDGPULibFuncImpl.
Definition at line 660 of file AMDGPULibFunc.cpp.
References FuncId, I, Name, P, and parseNamePrefix().
Param llvm::AMDGPUMangledLibFunc::Leads[2] |
Definition at line 409 of file AMDGPULibFunc.h.
Referenced by AMDGPUMangledLibFunc().