Home | History | Annotate | Download | only in InstCombine

Lines Matching defs: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)));
456 uint32_t Op1Val = Op1->getLimitedValue(TypeBits);
458 APInt::getHighBitsSet(TypeBits, TypeBits-Op1Val)));
507 isValid = Op0C->getValue()[TypeBits-1] == highBitSet;
543 uint32_t ShiftAmt1 = ShiftAmt1C->getLimitedValue(TypeBits);
544 uint32_t ShiftAmt2 = Op1->getLimitedValue(TypeBits);
556 if (AmtSum >= TypeBits) {
559 AmtSum = TypeBits-1; // Saturate to 31 for i32 ashr.
570 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt1));
606 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2));
654 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2));