|
LLVM 22.0.0git
|
#include "llvm/Analysis/ValueTracking.h"
Static Public Member Functions | |
| static bool | isMinOrMax (SelectPatternFlavor SPF) |
| When implementing this min/max pattern as fcmp; select, does the fcmp have to be ordered? | |
Public Attributes | |
| SelectPatternFlavor | Flavor |
| SelectPatternNaNBehavior | NaNBehavior |
| bool | Ordered |
| Only applicable if Flavor is SPF_FMINNUM or SPF_FMAXNUM. | |
Definition at line 857 of file ValueTracking.h.
|
inlinestatic |
When implementing this min/max pattern as fcmp; select, does the fcmp have to be ordered?
Return true if SPF is a min or a max pattern.
Definition at line 866 of file ValueTracking.h.
References llvm::SPF_ABS, llvm::SPF_NABS, and llvm::SPF_UNKNOWN.
Referenced by llvm::canConvertToMinOrMaxIntrinsic(), llvm::InstCombinerImpl::foldICmpUsingKnownBits(), llvm::RecurrenceDescriptor::getReductionOpChain(), matchMinMaxOfMinMax(), and simplifySelectWithICmpCond().
| SelectPatternFlavor llvm::SelectPatternResult::Flavor |
Definition at line 858 of file ValueTracking.h.
Referenced by llvm::canConvertToMinOrMaxIntrinsic(), foldCttzCtlz(), llvm::InstCombinerImpl::foldICmpUsingKnownBits(), llvm::ARMTTIImpl::getCmpSelInstrCost(), isSignedMinMaxClamp(), isSSATMinMaxPattern(), matchMinMax(), simplifySelectWithICmpCond(), llvm::InstCombinerImpl::visitFCmpInst(), and llvm::InstCombinerImpl::visitICmpInst().
| SelectPatternNaNBehavior llvm::SelectPatternResult::NaNBehavior |
Definition at line 859 of file ValueTracking.h.
| bool llvm::SelectPatternResult::Ordered |
Only applicable if Flavor is SPF_FMINNUM or SPF_FMAXNUM.
Definition at line 861 of file ValueTracking.h.