llvm::cannotOrderStrictlyGreaterEq

Returns true if all values in LHS must be less than those in RHS. That is, the comparison fcmp oge LHS, RHS will always return false.

Synopsis

Declared in <llvm/ADT/FloatingPointMode.h>

bool
cannotOrderStrictlyGreaterEq(
    FPClassTest LHS,
    FPClassTest RHS,
    bool OrderedZeroSign = false);

Description

If OrderedZeroSign is true, -0 will be treated as ordered less than +0, unlike fcmp.

Return Value

True if every value in LHS must be less than every value in RHS.

Parameters

NameDescription
LHSClasses on the left-hand side of the comparison.
RHSClasses on the right-hand side of the comparison.
OrderedZeroSignTreat -0 as ordered less than +0 when true.