Lines Matching defs:LSB
3365 unsigned LSB = Srl_imm;
3369 if ((LSB + Width + 1) == N->getValueType(0).getSizeInBits()) {
3374 CurDAG->getTargetConstant(LSB, dl, MVT::i32),
3383 CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, LSB), dl,
3391 assert(LSB + Width + 1 <= 32 && "Shouldn't create an invalid ubfx");
3393 CurDAG->getTargetConstant(LSB, dl, MVT::i32),
3412 int LSB = Srl_imm - Shl_imm;
3413 if (LSB < 0)
3416 assert(LSB + Width + 1 <= 32 && "Shouldn't create an invalid ubfx");
3418 CurDAG->getTargetConstant(LSB, dl, MVT::i32),
3430 unsigned LSB = llvm::countr_zero(And_imm);
3432 if (isInt32Immediate(N->getOperand(1), Srl_imm) && Srl_imm == LSB) {
3436 unsigned Width = MSB - LSB;
3450 unsigned LSB = 0;
3451 if (!isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::SRL, LSB) &&
3452 !isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::SRA, LSB))
3455 if (LSB + Width > 32)
3459 assert(LSB + Width <= 32 && "Shouldn't create an invalid ubfx");
3461 CurDAG->getTargetConstant(LSB, dl, MVT::i32),
3592 // 1. Mask includes the LSB -> Simply shift the top N bits off