14 #ifndef LLVM_TARGET_TARGETINTRINSICINFO_H
15 #define LLVM_TARGET_TARGETINTRINSICINFO_H
43 virtual std::string
getName(
unsigned IID,
Type **Tys =
nullptr,
44 unsigned numTys = 0)
const = 0;
48 virtual unsigned lookupName(
const char *
Name,
unsigned Len)
const =0;
60 unsigned numTys = 0)
const = 0;
A Module instance is used to store all the information related to an LLVM module. ...
virtual Function * getDeclaration(Module *M, unsigned ID, Type **Tys=nullptr, unsigned numTys=0) const =0
Create or insert an LLVM Function declaration for an intrinsic, and return it.
virtual unsigned getIntrinsicID(Function *F) const
Return the target intrinsic ID of a function, or 0.
virtual unsigned lookupName(const char *Name, unsigned Len) const =0
Look up target intrinsic by name.
virtual ~TargetIntrinsicInfo()
The instances of the Type class are immutable: once they are created, they are never changed...
TargetIntrinsicInfo - Interface to description of machine instruction set.
virtual bool isOverloaded(unsigned IID) const =0
Returns true if the intrinsic can be overloaded.
virtual std::string getName(unsigned IID, Type **Tys=nullptr, unsigned numTys=0) const =0
Return the name of a target intrinsic, e.g.