Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:TypeBits

331   uint32_t TypeBits = Op0->getType()->getScalarSizeInBits();
336 if (Op1->uge(TypeBits)) {
340 I.setOperand(1, ConstantInt::get(I.getType(), TypeBits-1));
424 uint32_t Op1Val = Op1->getLimitedValue(TypeBits);
426 APInt::getHighBitsSet(TypeBits, TypeBits-Op1Val)));
457 uint32_t Op1Val = Op1->getLimitedValue(TypeBits);
459 APInt::getHighBitsSet(TypeBits, TypeBits-Op1Val)));
510 isValid = Op0C->getValue()[TypeBits-1] == highBitSet;
533 uint32_t ShiftAmt1 = ShiftAmt1C->getLimitedValue(TypeBits);
534 uint32_t ShiftAmt2 = Op1->getLimitedValue(TypeBits);
546 if (AmtSum >= TypeBits) {
549 AmtSum = TypeBits-1; // Saturate to 31 for i32 ashr.
560 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt1));
567 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt1));
590 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt2));
608 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2));
643 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt2));
661 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2));