Go to the documentation of this file.
13 #ifndef LLVM_TARGET_TARGETINTRINSICINFO_H
14 #define LLVM_TARGET_TARGETINTRINSICINFO_H
42 virtual std::string
getName(
unsigned IID,
Type **Tys =
nullptr,
43 unsigned numTys = 0)
const = 0;
47 virtual unsigned lookupName(
const char *
Name,
unsigned Len)
const =0;
63 unsigned numTys = 0)
const = 0;
This is an optimization pass for GlobalISel generic memory operations.
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 unsigned lookupName(const char *Name, unsigned Len) const =0
Look up target intrinsic by name.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
unsigned lookupName(StringRef Name) const
virtual ~TargetIntrinsicInfo()
A Module instance is used to store all the information related to an LLVM module.
StringRef - Represent a constant reference to a string, i.e.
Machine Check Debug Module
virtual std::string getName(unsigned IID, Type **Tys=nullptr, unsigned numTys=0) const =0
Return the name of a target intrinsic, e.g.
virtual unsigned getIntrinsicID(const Function *F) const
Return the target intrinsic ID of a function, or 0.
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 bool isOverloaded(unsigned IID) const =0
Returns true if the intrinsic can be overloaded.