13 #ifndef LLVM_TARGET_TARGETINTRINSICINFO_H 14 #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;
64 unsigned numTys = 0)
const = 0;
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
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 lookupName(const char *Name, unsigned Len) const =0
Look up target intrinsic by name.
LLVM_NODISCARD size_t size() const
size - Get the string size.
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.
LLVM_NODISCARD const char * data() const
data - Get a pointer to the start of the string (which may not be null terminated).
StringRef - Represent a constant reference to a string, i.e.