14 #ifndef LLVM_LIB_TARGET_R600_AMDGPUINTRINSICINFO_H
15 #define LLVM_LIB_TARGET_R600_AMDGPUINTRINSICINFO_H
23 namespace AMDGPUIntrinsic {
26 #define GET_INTRINSIC_ENUM_VALUES
27 #include "AMDGPUGenIntrinsics.inc"
28 #undef GET_INTRINSIC_ENUM_VALUES
37 std::string
getName(
unsigned IntrId,
Type **Tys =
nullptr,
38 unsigned numTys = 0)
const override;
39 unsigned lookupName(
const char *
Name,
unsigned Len)
const override;
43 unsigned numTys = 0)
const override;
A Module instance is used to store all the information related to an LLVM module. ...
unsigned lookupName(const char *Name, unsigned Len) const override
Look up target intrinsic by name.
bool isOverloaded(unsigned IID) const override
Returns true if the intrinsic can be overloaded.
std::string getName(unsigned IntrId, Type **Tys=nullptr, unsigned numTys=0) const override
Return the name of a target intrinsic, e.g.
The instances of the Type class are immutable: once they are created, they are never changed...
TargetIntrinsicInfo - Interface to description of machine instruction set.
Function * getDeclaration(Module *M, unsigned ID, Type **Tys=nullptr, unsigned numTys=0) const override
Create or insert an LLVM Function declaration for an intrinsic, and return it.