Lines Matching defs:LSB
3356 unsigned LSB = Srl_imm;
3360 if ((LSB + Width + 1) == N->getValueType(0).getSizeInBits()) {
3365 CurDAG->getTargetConstant(LSB, dl, MVT::i32),
3374 CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, LSB), dl,
3382 assert(LSB + Width + 1 <= 32 && "Shouldn't create an invalid ubfx");
3384 CurDAG->getTargetConstant(LSB, dl, MVT::i32),
3403 int LSB = Srl_imm - Shl_imm;
3404 if (LSB < 0)
3407 assert(LSB + Width + 1 <= 32 && "Shouldn't create an invalid ubfx");
3409 CurDAG->getTargetConstant(LSB, dl, MVT::i32),
3421 unsigned LSB = llvm::countr_zero(And_imm);
3423 if (isInt32Immediate(N->getOperand(1), Srl_imm) && Srl_imm == LSB) {
3427 unsigned Width = MSB - LSB;
3441 unsigned LSB = 0;
3442 if (!isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::SRL, LSB) &&
3443 !isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::SRA, LSB))
3446 if (LSB + Width > 32)
3450 assert(LSB + Width <= 32 && "Shouldn't create an invalid ubfx");
3452 CurDAG->getTargetConstant(LSB, dl, MVT::i32),
3583 // 1. Mask includes the LSB -> Simply shift the top N bits off