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);

Parameters

Name

Description

V

LLVM Value Representation

DemandedElts

Arbitrary‐precision integer.

FMF

Convenience struct for specifying and reasoning about fast‐math flags.

InterestedClasses

Floating‐point class tests, supported by 'is_fpclass' intrinsic. Actual test may be an OR combination of basic tests.

Created with MrDocs