llvm::computeKnownFPClass

Wrapper to account for known fast math flags at the use instruction.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

KnownFPClass
computeKnownFPClass(
    Value const* V,
    APInt const& DemandedElts,
    FastMathFlags FMF,
    FPClassTest InterestedClasses,
    SimplifyQuery const& SQ,
    unsigned int Depth = 0);

Return Value

Known floating-point classes for the demanded elements of V.

Parameters

NameDescription
VFloating-point value to analyze.
DemandedEltsDemanded vector elements for the query.
FMFFast-math flags from the use site.
InterestedClassesFP classes the caller is interested in.
SQSimplify query providing context for the analysis.
DepthCurrent recursion depth for this query.