computeKnownFPClass overloads
Synopses
Declared in <llvm/Analysis/ValueTracking.h>
Determine known floating‐point classes for V.
KnownFPClass
computeKnownFPClass(
Value const* V,
FPClassTest InterestedClasses,
SimplifyQuery const& SQ,
unsigned int Depth = 0);
Wrapper to account for known fast math flags at the use instruction.
KnownFPClass
computeKnownFPClass(
Value const* V,
FastMathFlags FMF,
FPClassTest InterestedClasses,
SimplifyQuery const& SQ,
unsigned int Depth = 0);
Determine which floating‐point classes are valid for V, and return them in KnownFPClass bit sets.
KnownFPClass
computeKnownFPClass(
Value const* V,
APInt const& DemandedElts,
FPClassTest InterestedClasses,
SimplifyQuery const& SQ,
unsigned int Depth = 0);
Wrapper to account for known fast math flags at the use instruction.
KnownFPClass
computeKnownFPClass(
Value const* V,
APInt const& DemandedElts,
FastMathFlags FMF,
FPClassTest InterestedClasses,
SimplifyQuery const& SQ,
unsigned int Depth = 0);
Determine known floating‐point classes for V using explicit analysis context.
KnownFPClass
computeKnownFPClass(
Value const* V,
DataLayout const& DL,
FPClassTest InterestedClasses = fcAllFlags,
TargetLibraryInfo const* TLI = nullptr,
AssumptionCache* AC = nullptr,
Instruction const* CxtI = nullptr,
DominatorTree const* DT = nullptr,
bool UseInstrInfo = true,
unsigned int Depth = 0);
Return Value
-
Known floating‐point classes for
V. -
Known floating‐point classes for the demanded elements of
V.
Parameters
Name |
Description |
V |
Floating‐point value to analyze. |
InterestedClasses |
FP classes the caller is interested in. |
SQ |
Simplify query providing context for the analysis. |
Depth |
Current recursion depth for this query. |
FMF |
Fast‐math flags from the use site. |
DemandedElts |
Demanded vector elements for the query. |
DL |
Data layout used for type sizes. |
TLI |
Optional target library info. |
AC |
Optional assumption cache for context‐sensitive facts. |
CxtI |
Optional context instruction for local analysis. |
DT |
Optional dominator tree for context‐sensitive analysis. |
UseInstrInfo |
Whether to use instruction‐level information. |
Created with MrDocs