Lines Matching refs:ShiftAmount
312 uint64_t ShiftAmount = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue(); in LowerShifts() local
321 ShiftAmount = ShiftAmount % VT.getSizeInBits(); in LowerShifts()
325 ShiftAmount = ShiftAmount % VT.getSizeInBits(); in LowerShifts()
339 if (Op.getOpcode() == ISD::SHL && 4 <= ShiftAmount && ShiftAmount < 7) { in LowerShifts()
344 ShiftAmount -= 4; in LowerShifts()
345 } else if (Op.getOpcode() == ISD::SRL && 4 <= ShiftAmount && in LowerShifts()
346 ShiftAmount < 7) { in LowerShifts()
351 ShiftAmount -= 4; in LowerShifts()
352 } else if (Op.getOpcode() == ISD::SHL && ShiftAmount == 7) { in LowerShifts()
356 ShiftAmount = 0; in LowerShifts()
357 } else if (Op.getOpcode() == ISD::SRL && ShiftAmount == 7) { in LowerShifts()
361 ShiftAmount = 0; in LowerShifts()
362 } else if (Op.getOpcode() == ISD::SRA && ShiftAmount == 7) { in LowerShifts()
366 ShiftAmount = 0; in LowerShifts()
369 if (4 <= ShiftAmount && ShiftAmount < 8) in LowerShifts()
374 ShiftAmount -= 4; in LowerShifts()
379 ShiftAmount -= 4; in LowerShifts()
384 else if (8 <= ShiftAmount && ShiftAmount < 12) in LowerShifts()
389 ShiftAmount -= 8; in LowerShifts()
394 ShiftAmount -= 8; in LowerShifts()
399 ShiftAmount -= 8; in LowerShifts()
404 else if (12 <= ShiftAmount) in LowerShifts()
409 ShiftAmount -= 12; in LowerShifts()
414 ShiftAmount -= 12; in LowerShifts()
421 while (ShiftAmount--) { in LowerShifts()