Lines Matching refs:Cnt
10090 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
10102 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
10110 static bool isVShiftLImm(SDValue Op, EVT VT, bool isLong, int64_t &Cnt) { in isVShiftLImm() argument
10113 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
10115 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits); in isVShiftLImm()
10125 int64_t &Cnt) { in isVShiftRImm() argument
10128 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
10131 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits)); in isVShiftRImm()
10132 if (Cnt >= -(isNarrow ? ElementBits/2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
10133 Cnt = -Cnt; in isVShiftRImm()
10167 int64_t Cnt; in PerformIntrinsicCombine() local
10173 if (isVShiftLImm(N->getOperand(2), VT, false, Cnt)) { in PerformIntrinsicCombine()
10177 if (isVShiftRImm(N->getOperand(2), VT, false, true, Cnt)) { in PerformIntrinsicCombine()
10186 if (isVShiftRImm(N->getOperand(2), VT, false, true, Cnt)) in PerformIntrinsicCombine()
10192 if (isVShiftLImm(N->getOperand(2), VT, false, Cnt)) in PerformIntrinsicCombine()
10197 if (isVShiftLImm(N->getOperand(2), VT, false, Cnt)) in PerformIntrinsicCombine()
10209 if (isVShiftRImm(N->getOperand(2), VT, true, true, Cnt)) in PerformIntrinsicCombine()
10251 N->getOperand(1), DAG.getConstant(Cnt, dl, MVT::i32)); in PerformIntrinsicCombine()
10256 int64_t Cnt; in PerformIntrinsicCombine() local
10259 if (isVShiftLImm(N->getOperand(3), VT, false, Cnt)) in PerformIntrinsicCombine()
10261 else if (isVShiftRImm(N->getOperand(3), VT, false, true, Cnt)) in PerformIntrinsicCombine()
10270 DAG.getConstant(Cnt, dl, MVT::i32)); in PerformIntrinsicCombine()
10309 int64_t Cnt; in PerformShiftCombine() local
10315 if (isVShiftLImm(N->getOperand(1), VT, false, Cnt)) { in PerformShiftCombine()
10318 DAG.getConstant(Cnt, dl, MVT::i32)); in PerformShiftCombine()
10324 if (isVShiftRImm(N->getOperand(1), VT, false, false, Cnt)) { in PerformShiftCombine()
10329 DAG.getConstant(Cnt, dl, MVT::i32)); in PerformShiftCombine()