Return true if the floating‐point value can never contain a NaN or infinity.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

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

Return Value

True if V is known never to be NaN or infinity.

Parameters

Name

Description

V

Floating‐point value to test.

SQ

Simplify query providing context for the analysis.

Depth

Current recursion depth for this query.

Created with MrDocs