Lines Matching defs:SPF
1125 SelectPatternFlavor SPF = matchSelectPattern(Select, LHS, RHS).Flavor;
1126 if (SPF != SPF_SMAX && SPF != SPF_SMIN)
1134 if (getInverseMinMaxFlavor(SPF) != SPF2)
1140 if (SPF == SPF_SMIN)
9114 CmpInst::Predicate llvm::getMinMaxPred(SelectPatternFlavor SPF, bool Ordered) {
9115 if (SPF == SPF_SMIN) return ICmpInst::ICMP_SLT;
9116 if (SPF == SPF_UMIN) return ICmpInst::ICMP_ULT;
9117 if (SPF == SPF_SMAX) return ICmpInst::ICMP_SGT;
9118 if (SPF == SPF_UMAX) return ICmpInst::ICMP_UGT;
9119 if (SPF == SPF_FMINNUM)
9121 if (SPF == SPF_FMAXNUM)
9126 Intrinsic::ID llvm::getMinMaxIntrinsic(SelectPatternFlavor SPF) {
9127 switch (SPF) {
9137 llvm_unreachable("Unexpected SPF");
9141 SelectPatternFlavor llvm::getInverseMinMaxFlavor(SelectPatternFlavor SPF) {
9142 if (SPF == SPF_SMIN) return SPF_SMAX;
9143 if (SPF == SPF_UMIN) return SPF_UMAX;
9144 if (SPF == SPF_SMAX) return SPF_SMIN;
9145 if (SPF == SPF_UMAX) return SPF_UMIN;
9165 APInt llvm::getMinMaxLimit(SelectPatternFlavor SPF, unsigned BitWidth) {
9166 switch (SPF) {