Given operands for an FAdd, fold the result or return null.

Synopsis

Declared in <llvm/Analysis/InstructionSimplify.h>

Value*
simplifyFAddInst(
    Value* LHS,
    Value* RHS,
    FastMathFlags FMF,
    SimplifyQuery const& Q,
    fp::ExceptionBehavior ExBehavior = fp::ebIgnore,
    RoundingMode Rounding = RoundingMode::NearestTiesToEven);

Return Value

The folded value, or null if no simplification was found.

Parameters

Name

Description

LHS

Left‐hand side operand.

RHS

Right‐hand side operand.

FMF

Fast‐math flags to honor while folding.

Q

Simplification query providing analyses and flags.

ExBehavior

Floating‐point exception behavior to assume.

Rounding

Rounding mode to assume.

Created with MrDocs