ΒΆint lookupLLVMIntrinsicByName(
    ArrayRef<const char*> NameTable,
    llvm::StringRef Name)

Description

Looks up Name in NameTable via binary search. NameTable must be sorted and all entries must start with "llvm.". If NameTable contains an exact match for Name or a prefix of Name followed by a dot, its index in NameTable is returned. Otherwise, -1 is returned.

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

Parameters

ArrayRef<const char*> NameTable
llvm::StringRef Name