Emit a call to the binary DoubleFn, FloatFn, or LongDoubleFn for Op1's type.
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitBinaryFloatFnCall(
Value* Op1,
Value* Op2,
TargetLibraryInfo const* TLI,
LibFunc DoubleFn,
LibFunc FloatFn,
LibFunc LongDoubleFn,
IRBuilderBase& B,
AttributeList const& Attrs);
The binary float libcall, or null if unavailable.
| Name | Description |
|---|---|
| Op1 | First operand; type selects which LibFunc to call. |
| Op2 | Second operand; type must match Op1. |
| 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. |