Home | History | Annotate | Download | only in Support

Lines Matching refs:getBitWidth

45   assert(L.getBitWidth() == U.getBitWidth() &&
56 uint32_t W = CR.getBitWidth();
139 return contains(APInt::getSignedMaxValue(getBitWidth())) &&
140 contains(APInt::getSignedMinValue(getBitWidth()));
147 return APInt(getBitWidth(), 0);
148 if (getBitWidth() == 1) {
163 return APInt::getMaxValue(getBitWidth());
173 return APInt::getMinValue(getBitWidth());
182 APInt SignedMax(APInt::getSignedMaxValue(getBitWidth()));
200 APInt SignedMin(APInt::getSignedMinValue(getBitWidth()));
255 assert(Val.getBitWidth() == getBitWidth() && "Wrong bit width");
268 assert(getBitWidth() == CR.getBitWidth() &&
281 return ConstantRange(getBitWidth(), false);
294 return ConstantRange(getBitWidth(), false);
312 return ConstantRange(getBitWidth(), false);
351 assert(getBitWidth() == CR.getBitWidth() &&
376 return ConstantRange(getBitWidth());
390 return ConstantRange(getBitWidth());
420 return ConstantRange(getBitWidth());
438 unsigned SrcTySize = getBitWidth();
454 unsigned SrcTySize = getBitWidth();
469 unsigned SrcTySize = getBitWidth();
481 unsigned SrcTySize = getBitWidth();
493 unsigned SrcTySize = getBitWidth();
505 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
507 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
513 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
518 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
526 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
528 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
534 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
539 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
552 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
554 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
556 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2);
557 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2);
558 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2);
559 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2);
563 return Result_zext.truncate(getBitWidth());
571 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
575 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
584 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
588 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
595 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
597 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
608 RHS_umin = APInt(getBitWidth(), 1);
616 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
624 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
630 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
631 return ConstantRange(APInt::getNullValue(getBitWidth()), umin + 1);
637 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
643 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
644 return ConstantRange(umax, APInt::getNullValue(getBitWidth()));
650 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
656 APInt Zeros(getBitWidth(), getUnsignedMax().countLeadingZeros());
661 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
667 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
672 return ConstantRange(getBitWidth(), /*isFullSet=*/true);
679 return ConstantRange(getBitWidth(), /*isFullSet=*/false);
681 return ConstantRange(getBitWidth(), /*isFullSet=*/true);