llvm::simplifyFNegInst

Given operand for an FNeg, fold the result or return null.

Synopsis

Declared in <llvm/Analysis/InstructionSimplify.h>

Value*
simplifyFNegInst(
    Value* Op,
    FastMathFlags FMF,
    SimplifyQuery const& Q);

Return Value

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

Parameters

NameDescription
OpOperand to negate.
FMFFast-math flags to honor while folding.
QSimplification query providing analyses and flags.