Determine which floating‐point classes are valid for V, and return them in KnownFPClass bit sets.
Synopsis
Declared in <llvm/Analysis/ValueTracking.h>
KnownFPClass
computeKnownFPClass(
Value const* V,
APInt const& DemandedElts,
FPClassTest InterestedClasses,
SimplifyQuery const& SQ,
unsigned int Depth = 0);
Description
This function is defined on values with floating‐point type, values vectors of floating‐point type, and arrays of floating‐point type.
InterestedClasses is a compile time optimization hint for which floating point classes should be queried. Queries not specified in InterestedClasses should be reliable if they are determined during the query.
Return Value
Known floating‐point classes for the demanded elements of V.
Parameters
Name |
Description |
V |
Floating‐point value to analyze. |
DemandedElts |
Demanded vector elements for the query. |
InterestedClasses |
FP classes the caller is interested in. |
SQ |
Simplify query providing context for the analysis. |
Depth |
Current recursion depth for this query. |
Created with MrDocs