llvm::isKnownIntegral

Return true if the floating-point value V is known to be an integer value.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

bool
isKnownIntegral(
    Value const* V,
    SimplifyQuery const& SQ,
    FastMathFlags FMF);

Return Value

True if V is known to be an integral floating-point value.

Parameters

NameDescription
VFloating-point value to test.
SQSimplify query providing context for the analysis.
FMFFast-math flags that apply to the query.