Lines Matching refs:getBitWidth
280 unsigned getBitWidth() const { in getBitWidth() function
328 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith()
330 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); in evaluateWith()
331 if (SExtBits) N = N.sext(N.getBitWidth() + SExtBits); in evaluateWith()
332 if (ZExtBits) N = N.zext(N.getBitWidth() + ZExtBits); in evaluateWith()
337 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith()
339 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits); in evaluateWith()
340 if (SExtBits) N = N.signExtend(N.getBitWidth() + SExtBits); in evaluateWith()
341 if (ZExtBits) N = N.zeroExtend(N.getBitWidth() + ZExtBits); in evaluateWith()
379 unsigned BitWidth = Val.getBitWidth(); in LinearExpression()
403 return LinearExpression(Val, APInt(Val.getBitWidth(), 0), in GetLinearExpression()
461 if (RHS.getLimitedValue() > Val.getBitWidth()) in GetLinearExpression()
494 assert(IndexSize <= Offset.getBitWidth() && "Invalid IndexSize!"); in adjustToIndexSize()
495 unsigned ShiftBits = Offset.getBitWidth() - IndexSize; in adjustToIndexSize()
1196 ConstantRange CR = getVScaleRange(&F, Off.getBitWidth()); in aliasGEP()
1199 APInt(Off.getBitWidth(), LSize.getKnownMinValue()), Overflow); in aliasGEP()
1222 ConstantRange CR = getVScaleRange(&F, Scale.getBitWidth()); in aliasGEP()
1252 APInt::getOneBitSet(Scale.getBitWidth(), Scale.countr_zero()); in aliasGEP()
1266 CR = Index.Val.evaluateWith(CR).sextOrTrunc(OffsetRange.getBitWidth()); in aliasGEP()
1268 assert(OffsetRange.getBitWidth() == Scale.getBitWidth() && in aliasGEP()
1296 unsigned BW = OffsetRange.getBitWidth(); in aliasGEP()
1322 int MaxScaleValueBW = Var.Val.getBitWidth() - ValOrigBW; in aliasGEP()
1326 APInt::getMaxValue(MaxScaleValueBW).zext(Var.Scale.getBitWidth())); in aliasGEP()
1922 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()