Emit a call to the unary DoubleFn, FloatFn, or LongDoubleFn for Op's type.

Synopsis

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

Value*
emitUnaryFloatFnCall(
    Value* Op,
    TargetLibraryInfo const* TLI,
    LibFunc DoubleFn,
    LibFunc FloatFn,
    LibFunc LongDoubleFn,
    IRBuilderBase& B,
    AttributeList const& Attrs);

Return Value

The unary float libcall, or null if unavailable.

Parameters

Name

Description

Op

Operand whose type selects which LibFunc to call.

TLI

Target library info describing available libcalls.

DoubleFn

LibFunc for the double variant.

FloatFn

LibFunc for the float variant.

LongDoubleFn

LibFunc for the long double variant.

B

IR builder used to create the call.

Attrs

Attributes to attach to the call.

Created with MrDocs