Searched refs:SPF (Results 1 – 10 of 10) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 1136 static bool isMinOrMax(SelectPatternFlavor SPF) { in isMinOrMax() 1137 return SPF != SPF_UNKNOWN && SPF != SPF_ABS && SPF != SPF_NABS; in isMinOrMax() 1181 CmpInst::Predicate getMinMaxPred(SelectPatternFlavor SPF, bool Ordered = false); 1185 SelectPatternFlavor getInverseMinMaxFlavor(SelectPatternFlavor SPF); 1191 APInt getMinMaxLimit(SelectPatternFlavor SPF, unsigned BitWidth);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 264 SelectPatternFlavor SPF; in getHashValueImpl() local 266 if (matchSelectWithOptionalNotCond(Inst, Cond, A, B, SPF)) { in getHashValueImpl() 272 if (SPF == SPF_SMIN || SPF == SPF_SMAX || in getHashValueImpl() 273 SPF == SPF_UMIN || SPF == SPF_UMAX) { in getHashValueImpl() 276 return hash_combine(Inst->getOpcode(), SPF, A, B); in getHashValueImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1200 SelectPatternFlavor SPF = in canonicalizeSPF() local 1202 if (SPF == SelectPatternFlavor::SPF_ABS || in canonicalizeSPF() 1203 SPF == SelectPatternFlavor::SPF_NABS) { in canonicalizeSPF() 1208 bool IntMinIsPoison = SPF == SelectPatternFlavor::SPF_ABS && in canonicalizeSPF() 1215 if (SPF == SelectPatternFlavor::SPF_NABS) in canonicalizeSPF() 1220 if (SelectPatternResult::isMinOrMax(SPF)) { in canonicalizeSPF() 1222 switch (SPF) { in canonicalizeSPF() 3795 auto SPF = SPR.Flavor; in visitSelectInst() local 3796 if (SPF) { in visitSelectInst() 3800 RHS2, SI, SPF, RHS)) in visitSelectInst() [all …]
|
| H A D | InstCombineCalls.cpp | 545 SelectPatternFlavor SPF = matchSelectPattern(Op0, X, Y).Flavor; in foldCttzCtlz() local 546 if (SPF == SPF_ABS || SPF == SPF_NABS) in foldCttzCtlz()
|
| H A D | InstCombineCompares.cpp | 6497 SelectPatternFlavor SPF = matchSelectPattern(Cmp.user_back(), A, B).Flavor; in foldICmpUsingKnownBits() local 6498 if (!SelectPatternResult::isMinOrMax(SPF)) in foldICmpUsingKnownBits()
|
| /freebsd/contrib/unbound/doc/ |
| H A D | FEATURES | 102 4408: SPF
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 3676 SelectPatternFlavor SPF = matchSelectPattern(Select, LHS, RHS).Flavor; in isSignedMinMaxClamp() local 3677 if (SPF != SPF_SMAX && SPF != SPF_SMIN) in isSignedMinMaxClamp() 3685 if (getInverseMinMaxFlavor(SPF) != SPF2) in isSignedMinMaxClamp() 3691 if (SPF == SPF_SMIN) in isSignedMinMaxClamp() 8759 CmpInst::Predicate llvm::getMinMaxPred(SelectPatternFlavor SPF, bool Ordered) { in getMinMaxPred() argument 8760 if (SPF == SPF_SMIN) return ICmpInst::ICMP_SLT; in getMinMaxPred() 8761 if (SPF == SPF_UMIN) return ICmpInst::ICMP_ULT; in getMinMaxPred() 8762 if (SPF == SPF_SMAX) return ICmpInst::ICMP_SGT; in getMinMaxPred() 8763 if (SPF == SPF_UMAX) return ICmpInst::ICMP_UGT; in getMinMaxPred() 8764 if (SPF == SPF_FMINNUM) in getMinMaxPred() [all …]
|
| H A D | InstructionSimplify.cpp | 4662 SelectPatternFlavor SPF = in simplifySelectWithICmpCond() local 4666 if (SelectPatternResult::isMinOrMax(SPF) && Pred == getMinMaxPred(SPF)) { in simplifySelectWithICmpCond() 4667 APInt LimitC = getMinMaxLimit(getInverseMinMaxFlavor(SPF), in simplifySelectWithICmpCond()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 962 SelectPatternFlavor SPF = matchSelectPattern(Sel, LHS, RHS).Flavor; in getCmpSelInstrCost() local 964 switch (SPF) { in getCmpSelInstrCost()
|
| /freebsd/contrib/ldns/ |
| H A D | Changelog | 692 * Added reading/writing support for the SPF Resource Record
|