14 #ifndef LLVM_TARGET_TARGETINTRINSICINFO_H 15 #define LLVM_TARGET_TARGETINTRINSICINFO_H 44 virtual std::string
getName(
unsigned IID,
Type **Tys =
nullptr,
45 unsigned numTys = 0)
const = 0;
49 virtual unsigned lookupName(
const char *
Name,
unsigned Len)
const =0;
65 unsigned numTys = 0)
const = 0;
Type
MessagePack types as defined in the standard, with the exception of Integer being divided into a sign...
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE size_t size() const
size - Get the string size.
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.
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE const char * data() const
data - Get a pointer to the start of the string (which may not be null terminated).
amdgpu Simplify well known AMD library false Value Value const Twine & Name
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.
unsigned lookupName(StringRef Name) const
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.
StringRef - Represent a constant reference to a string, i.e.