LLVM API Documentation
#include <AMDILIntrinsicInfo.h>
Public Member Functions | |
AMDGPUIntrinsicInfo (TargetMachine *tm) | |
std::string | getName (unsigned int IntrId, Type **Tys=0, unsigned int numTys=0) const |
unsigned int | lookupName (const char *Name, unsigned int Len) const |
bool | isOverloaded (unsigned int IID) const |
Function * | getDeclaration (Module *M, unsigned int ID, Type **Tys=0, unsigned int numTys=0) const |
![]() | |
TargetIntrinsicInfo () | |
virtual | ~TargetIntrinsicInfo () |
virtual std::string | getName (unsigned IID, Type **Tys=0, unsigned numTys=0) const =0 |
virtual unsigned | lookupName (const char *Name, unsigned Len) const =0 |
virtual unsigned | getIntrinsicID (Function *F) const |
Return the target intrinsic ID of a function, or 0. More... | |
virtual bool | isOverloaded (unsigned IID) const =0 |
Returns true if the intrinsic can be overloaded. More... | |
virtual Function * | getDeclaration (Module *M, unsigned ID, Type **Tys=0, unsigned numTys=0) const =0 |
Definition at line 34 of file AMDILIntrinsicInfo.h.
AMDGPUIntrinsicInfo::AMDGPUIntrinsicInfo | ( | TargetMachine * | tm | ) |
Definition at line 27 of file AMDILIntrinsicInfo.cpp.
Function * AMDGPUIntrinsicInfo::getDeclaration | ( | Module * | M, |
unsigned int | ID, | ||
Type ** | Tys = 0 , |
||
unsigned int | numTys = 0 |
||
) | const |
Definition at line 77 of file AMDILIntrinsicInfo.cpp.
References llvm_unreachable.
std::string AMDGPUIntrinsicInfo::getName | ( | unsigned int | IntrId, |
Type ** | Tys = 0 , |
||
unsigned int | numTys = 0 |
||
) | const |
Definition at line 32 of file AMDILIntrinsicInfo.cpp.
References llvm::AMDGPUIntrinsic::num_AMDGPU_intrinsics, and llvm::Intrinsic::num_intrinsics.
Definition at line 69 of file AMDILIntrinsicInfo.cpp.
Definition at line 51 of file AMDILIntrinsicInfo.cpp.
References llvm::Intrinsic::getIntrinsicForGCCBuiltin(), and llvm::Intrinsic::not_intrinsic.