ΒΆstd::string getName(
    llvm::Intrinsic::ID Id,
    ArrayRef<llvm::Type*> Tys,
    llvm::Module* M,
    llvm::FunctionType* FT = nullptr)

Description

Return the LLVM name for an intrinsic, such as "llvm.ppc.altivec.lvx" or "llvm.ssa.copy.p0s_s.1". Note, this version of getName supports overloads. This is less efficient than the StringRef version of this function. If no overloads are required, it is safe to use this version, but better to use the StringRef version. If one of the types is based on an unnamed type, a function type will be computed. Providing FT will avoid this computation.

Declared at: llvm/include/llvm/IR/Intrinsics.h:68

Parameters

llvm::Intrinsic::ID Id
ArrayRef<llvm::Type*> Tys
llvm::Module* M
llvm::FunctionType* FT = nullptr