Emit a call to the binary function DoubleFn, FloatFn or LongDoubleFn, depending of the type of Op1.
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);
LLVM Value Representation
| Name | Description |
|---|---|
| Op1 | LLVM Value Representation |
| Op2 | LLVM Value Representation |
| TLI | Provides information about what library functions are available for the current target. |
| B | Common base class shared among various IRBuilders. |
| Attrs | This class holds the attributes for a function, its return value, and its parameters. You access the attributes for each of them via an index into the AttributeList object. The function attributes are at index `AttributeList::FunctionIndex', the return value is at index `AttributeList::ReturnIndex', and the attributes for the parameters start at index `AttributeList::FirstArgIndex'. |