Lines Matching defs:ShAmt
4600 unsigned ShAmt = (i << Shift) % 8;
4601 Mask |= Elt << ShAmt;
5315 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) {
5342 ShAmt = NumZeros;
5350 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) {
5377 ShAmt = NumZeros;
5385 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) {
5391 if (isVectorShiftLeft(SVOp, DAG, isLeft, ShVal, ShAmt) ||
5392 isVectorShiftRight(SVOp, DAG, isLeft, ShVal, ShAmt))
9352 unsigned ShAmt = 0;
9354 bool isShift = HasSSE2 && isVectorShift(SVOp, DAG, isLeft, ShVal, ShAmt);
9359 ShAmt *= EltVT.getSizeInBits();
9360 return getVShift(isLeft, VT, ShVal, ShAmt, DAG, *this, dl);
9398 ShAmt *= EltVT.getSizeInBits();
9399 return getVShift(isLeft, VT, ShVal, ShAmt, DAG, *this, dl);
10625 SDValue ShAmt = Op.getOperand(2);
10629 SDValue SafeShAmt = DAG.getNode(ISD::AND, dl, MVT::i8, ShAmt,
10637 Tmp2 = DAG.getNode(X86ISD::SHLD, dl, VT, ShOpHi, ShOpLo, ShAmt);
10640 Tmp2 = DAG.getNode(X86ISD::SHRD, dl, VT, ShOpLo, ShOpHi, ShAmt);
10647 SDValue AndNode = DAG.getNode(ISD::AND, dl, MVT::i8, ShAmt,
11774 unsigned ShAmt = Op->getConstantOperandVal(1);
11775 if (ShAmt >= BitWidth) // Avoid undefined shifts.
11778 ? APInt::getHighBitsSet(BitWidth, BitWidth - ShAmt)
11779 : APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt);
13444 SDValue SrcOp, SDValue ShAmt,
13446 assert(ShAmt.getValueType() == MVT::i32 && "ShAmt is not i32");
13449 if (ConstantSDNode *CShAmt = dyn_cast<ConstantSDNode>(ShAmt))
13464 ShOps[0] = ShAmt;
13467 ShAmt = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4i32, ShOps);
13474 ShAmt = DAG.getNode(ISD::BITCAST, dl, ShVT, ShAmt);
13475 return DAG.getNode(Opc, dl, VT, SrcOp, ShAmt);
15192 SDValue ShAmt =
15195 DAG.getNode(ISD::SRA, dl, VT, Op0, ShAmt), Op1);
15197 DAG.getNode(ISD::SRA, dl, VT, Op1, ShAmt), Op0);
15347 uint64_t ShAmt = 0;
15354 ShAmt |= C->getZExtValue() << (j * (1 << (6 - RatioInLog2)));
15356 if (ShAmt != ShiftAmt)
15578 uint64_t ShAmt = C.getZExtValue();
15579 if (ShAmt >= SVTBits) {
15583 Elts.push_back(DAG.getConstant(One.shl(ShAmt), SVT));
19411 unsigned ShAmt = TrueC->getAPIntValue().logBase2();
19413 DAG.getConstant(ShAmt, MVT::i8));
19968 unsigned ShAmt = TrueC->getAPIntValue().logBase2();
19970 DAG.getConstant(ShAmt, MVT::i8));
20162 uint64_t ShAmt = C.getZExtValue();
20166 if (ShAmt >= SVTBits)
20171 if (ShAmt == 0)
20262 APInt ShAmt = N1C->getAPIntValue();
20263 Mask = Mask.shl(ShAmt);