llvm::isLibFuncEmittable

isLibFuncEmittable overloads

Synopses

Declared in <llvm/Transforms/Utils/BuildLibCalls.h>

Return true if the library function is available and correctly typed.

bool
isLibFuncEmittable(
    Module const* M,
    TargetLibraryInfo const* TLI,
    LibFunc TheLibFunc);
» more...

Return true if a named library function is available and correctly typed.

bool
isLibFuncEmittable(
    Module const* M,
    TargetLibraryInfo const* TLI,
    StringRef Name);
» more...

Return Value

True if the libcall is available and correctly typed.

Parameters

NameDescription
MModule in which the function may already be declared.
TLITarget library info describing available libcalls.
TheLibFuncLibrary function identifier to check.
NameName of the library function to check.