llvm::isKnownNeverInfinity

Return true if the floating-point scalar value is not an infinity or if the floating-point vector value has no infinities.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

bool
isKnownNeverInfinity(
    Value const* V,
    SimplifyQuery const& SQ,
    unsigned int Depth = 0);

Description

Return false if a value could ever be infinity.

Return Value

True if V is known never to be infinity.

Parameters

NameDescription
VFloating-point value to test.
SQSimplify query providing context for the analysis.
DepthCurrent recursion depth for this query.