• Home
  • Raw
  • Download

Lines Matching refs:ShiftAmt

7454     int ShiftAmt = Shift * VT.getScalarSizeInBits() / (ByteShift ? 8 : 1);  in lowerVectorShuffleAsShift()  local
7468 DAG.getConstant(ShiftAmt, DL, MVT::i8)); in lowerVectorShuffleAsShift()
15973 SDValue SrcOp, uint64_t ShiftAmt, in getTargetVShiftByConstNode() argument
15978 if (ShiftAmt == 0) in getTargetVShiftByConstNode()
15982 if (ShiftAmt >= ElementType.getSizeInBits()) { in getTargetVShiftByConstNode()
15984 ShiftAmt = ElementType.getSizeInBits() - 1; in getTargetVShiftByConstNode()
16011 Elts.push_back(DAG.getConstant(C.shl(ShiftAmt), dl, ElementType)); in getTargetVShiftByConstNode()
16023 Elts.push_back(DAG.getConstant(C.lshr(ShiftAmt), dl, ElementType)); in getTargetVShiftByConstNode()
16035 Elts.push_back(DAG.getConstant(C.ashr(ShiftAmt), dl, ElementType)); in getTargetVShiftByConstNode()
16044 DAG.getConstant(ShiftAmt, dl, MVT::i8)); in getTargetVShiftByConstNode()
18316 auto ArithmeticShiftRight64 = [&](uint64_t ShiftAmt) { in LowerScalarImmediateShift() argument
18321 if (ShiftAmt >= 32) { in LowerScalarImmediateShift()
18326 ShiftAmt - 32, DAG); in LowerScalarImmediateShift()
18335 ShiftAmt, DAG); in LowerScalarImmediateShift()
18337 getTargetVShiftByConstNode(X86ISD::VSRLI, dl, VT, R, ShiftAmt, DAG); in LowerScalarImmediateShift()
18351 uint64_t ShiftAmt = ShiftConst->getZExtValue(); in LowerScalarImmediateShift() local
18354 return getTargetVShiftByConstNode(X86Opc, dl, VT, R, ShiftAmt, DAG); in LowerScalarImmediateShift()
18359 return ArithmeticShiftRight64(ShiftAmt); in LowerScalarImmediateShift()
18366 if (Op.getOpcode() == ISD::SHL && ShiftAmt == 1) in LowerScalarImmediateShift()
18370 if (Op.getOpcode() == ISD::SRA && ShiftAmt == 7) { in LowerScalarImmediateShift()
18382 R, ShiftAmt, DAG); in LowerScalarImmediateShift()
18386 NumElts, DAG.getConstant(uint8_t(-1U << ShiftAmt), dl, MVT::i8)); in LowerScalarImmediateShift()
18393 R, ShiftAmt, DAG); in LowerScalarImmediateShift()
18397 NumElts, DAG.getConstant(uint8_t(-1U) >> ShiftAmt, dl, MVT::i8)); in LowerScalarImmediateShift()
18405 DAG.getConstant(128 >> ShiftAmt, dl, in LowerScalarImmediateShift()
18439 uint64_t ShiftAmt = 0; in LowerScalarImmediateShift() local
18446 ShiftAmt |= C->getZExtValue() << (i * (1 << (6 - RatioInLog2))); in LowerScalarImmediateShift()
18460 if (ShAmt != ShiftAmt) in LowerScalarImmediateShift()
18466 return getTargetVShiftByConstNode(X86Opc, dl, VT, R, ShiftAmt, DAG); in LowerScalarImmediateShift()
18469 return ArithmeticShiftRight64(ShiftAmt); in LowerScalarImmediateShift()
25078 APInt ShiftAmt = AmtSplat->getAPIntValue(); in performShiftToAllZeros() local
25086 if (ShiftAmt.trunc(8).uge(MaxAmount)) in performShiftToAllZeros()