ΒΆbool isLibFuncEmittable(
    const llvm::Module* M,
    const llvm::TargetLibraryInfo* TLI,
    llvm::LibFunc TheLibFunc)

Description

Check whether the library function is available on target and also that it in the current Module is a Function with the right type.

Declared at: llvm/include/llvm/Transforms/Utils/BuildLibCalls.h:67

Parameters

const llvm::Module* M
const llvm::TargetLibraryInfo* TLI
llvm::LibFunc TheLibFunc