Searched refs:SPF (Results 1 - 9 of 9) sorted by relevance
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 1050 /// Return true if \p SPF is a min or a max pattern. 1051 static bool isMinOrMax(SelectPatternFlavor SPF) { argument 1052 return SPF != SPF_UNKNOWN && SPF != SPF_ABS && SPF != SPF_NABS; 1096 CmpInst::Predicate getMinMaxPred(SelectPatternFlavor SPF, bool Ordered = false); 1100 SelectPatternFlavor getInverseMinMaxFlavor(SelectPatternFlavor SPF); 1106 APInt getMinMaxLimit(SelectPatternFlavor SPF, unsigned BitWidth);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 264 SelectPatternFlavor SPF; local 266 if (matchSelectWithOptionalNotCond(Inst, Cond, A, B, SPF)) { 272 if (SPF == SPF_SMIN || SPF == SPF_SMAX || 273 SPF == SPF_UMIN || SPF == SPF_UMAX) { 276 return hash_combine(Inst->getOpcode(), SPF, A, B);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 1181 SelectPatternFlavor SPF = 1183 if (SPF == SelectPatternFlavor::SPF_ABS || 1184 SPF == SelectPatternFlavor::SPF_NABS) { 1189 bool IntMinIsPoison = SPF == SelectPatternFlavor::SPF_ABS && 1196 if (SPF == SelectPatternFlavor::SPF_NABS) 1201 if (SelectPatternResult::isMinOrMax(SPF)) { 1203 switch (SPF) { 1217 llvm_unreachable("Unexpected SPF"); 1856 /// We have an SPF (e.g. a min or max) of an SPF o 3575 auto SPF = SPR.Flavor; local [all...] |
H A D | InstCombineMulDivRem.cpp | 325 SelectPatternFlavor SPF = matchSelectPattern(Op0, X, Y).Flavor; local 326 if (SPF == SPF_ABS || SPF == SPF_NABS)
|
H A D | InstCombineCalls.cpp | 551 SelectPatternFlavor SPF = matchSelectPattern(Op0, X, Y).Flavor; local 552 if (SPF == SPF_ABS || SPF == SPF_NABS)
|
H A D | InstCombineCompares.cpp | 6168 SelectPatternFlavor SPF = matchSelectPattern(Cmp.user_back(), A, B).Flavor; 6169 if (!SelectPatternResult::isMinOrMax(SPF))
|
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 3192 SelectPatternFlavor SPF = matchSelectPattern(Select, LHS, RHS).Flavor; 3193 if (SPF != SPF_SMAX && SPF != SPF_SMIN) 3201 if (getInverseMinMaxFlavor(SPF) != SPF2) 3207 if (SPF == SPF_SMIN) 8004 CmpInst::Predicate llvm::getMinMaxPred(SelectPatternFlavor SPF, bool Ordered) { 8005 if (SPF == SPF_SMIN) return ICmpInst::ICMP_SLT; 8006 if (SPF == SPF_UMIN) return ICmpInst::ICMP_ULT; 8007 if (SPF == SPF_SMAX) return ICmpInst::ICMP_SGT; 8008 if (SPF [all...] |
H A D | InstructionSimplify.cpp | 4636 SelectPatternFlavor SPF = local 4640 if (SelectPatternResult::isMinOrMax(SPF) && Pred == getMinMaxPred(SPF)) { 4641 APInt LimitC = getMinMaxLimit(getInverseMinMaxFlavor(SPF),
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 958 SelectPatternFlavor SPF = matchSelectPattern(Sel, LHS, RHS).Flavor; local 960 switch (SPF) {
|
Completed in 314 milliseconds