23 #define GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN
24 #include "AMDGPUGenIntrinsics.inc"
25 #undef GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN
33 unsigned int numTys)
const {
34 static const char*
const names[] = {
35 #define GET_INTRINSIC_NAME_TABLE
36 #include "AMDGPUGenIntrinsics.inc"
37 #undef GET_INTRINSIC_NAME_TABLE
44 &&
"Invalid intrinsic ID");
52 if (!
StringRef(Name, Len).startswith(
"llvm."))
55 #define GET_FUNCTION_RECOGNIZER
56 #include "AMDGPUGenIntrinsics.inc"
57 #undef GET_FUNCTION_RECOGNIZER
71 #define GET_INTRINSIC_OVERLOAD_TABLE
72 #include "AMDGPUGenIntrinsics.inc"
73 #undef GET_INTRINSIC_OVERLOAD_TABLE
79 unsigned numTys)
const {
std::string getName(unsigned int IntrId, Type **Tys=0, unsigned int numTys=0) const
AMDGPU specific subclass of TargetSubtarget.
The main container class for the LLVM Intermediate Representation.
AMDGPUIntrinsicInfo(TargetMachine *tm)
#define llvm_unreachable(msg)
Function * getDeclaration(Module *M, unsigned int ID, Type **Tys=0, unsigned int numTys=0) const
ID getIntrinsicForGCCBuiltin(const char *Prefix, const char *BuiltinName)
Map a GCC builtin name to an intrinsic ID.
unsigned int lookupName(const char *Name, unsigned int Len) const
bool isOverloaded(unsigned int IID) const
Interface for the AMDGPU Implementation of the Intrinsic Info class.