Given operands for an FRem, fold the result or return null.
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);
The folded value, or null if no simplification was found.
| 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. |