llvm::fcmpToClassTest

Returns a pair of values, which if passed to llvm.is.fpclass, returns the same result as an fcmp with the given operands.

Synopses

Declared in <llvm/Analysis/FloatingPointPredicateUtils.h>

Returns a pair of values, which if passed to llvm.is.fpclass, returns the same result as an fcmp with the given operands.

std::pair<Value*, FPClassTest>
fcmpToClassTest(
    FCmpInst::Predicate Pred,
    Function const& F,
    Value* LHS,
    Value* RHS,
    bool LookThroughSrc = true);
» more...

Returns a pair of values, which if passed to llvm.is.fpclass, returns the same result as an fcmp with the given operands.

std::pair<Value*, FPClassTest>
fcmpToClassTest(
    FCmpInst::Predicate Pred,
    Function const& F,
    Value* LHS,
    APFloat const* ConstRHS,
    bool LookThroughSrc = true);
» more...