Create call to the fma intrinsic.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

Value*
CreateFMA(
    Value* Factor1,
    Value* Factor2,
    Value* Summand,
    FMFSource FMFSource = {},
    Twine const& Name = "");

Return Value

The created call to the fma intrinsic.

Parameters

Name

Description

Factor1

First multiply operand of an FMA.

Factor2

Second multiply operand of an FMA.

Summand

Addend of an FMA.

FMFSource

Optional source of fast‐math flags.

Name

Name of the new instruction or value.

Created with MrDocs