llvm::simplifyFRemInst

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

Synopsis

Declared in <llvm/Analysis/InstructionSimplify.h>

Value*
simplifyFRemInst(
    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

NameDescription
LHSLeft-hand side operand.
RHSRight-hand side operand.
FMFFast-math flags to honor while folding.
QSimplification query providing analyses and flags.
ExBehaviorFloating-point exception behavior to assume.
RoundingRounding mode to assume.