Lines Matching refs:getBitWidth

254   unsigned getBitWidth() const {  in getBitWidth()  function
288 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith()
290 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); in evaluateWith()
291 if (SExtBits) N = N.sext(N.getBitWidth() + SExtBits); in evaluateWith()
292 if (ZExtBits) N = N.zext(N.getBitWidth() + ZExtBits); in evaluateWith()
297 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith()
299 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits); in evaluateWith()
300 if (SExtBits) N = N.signExtend(N.getBitWidth() + SExtBits); in evaluateWith()
301 if (ZExtBits) N = N.zeroExtend(N.getBitWidth() + ZExtBits); in evaluateWith()
332 unsigned BitWidth = Val.getBitWidth(); in LinearExpression()
356 return LinearExpression(Val, APInt(Val.getBitWidth(), 0), in GetLinearExpression()
416 if (RHS.getLimitedValue() > Val.getBitWidth()) in GetLinearExpression()
449 assert(IndexSize <= Offset.getBitWidth() && "Invalid IndexSize!"); in adjustToIndexSize()
450 unsigned ShiftBits = Offset.getBitWidth() - IndexSize; in adjustToIndexSize()
1221 ScaleForGCD = APInt::getOneBitSet(Scale.getBitWidth(), in aliasGEP()
1236 CR = Index.Val.evaluateWith(CR).sextOrTrunc(OffsetRange.getBitWidth()); in aliasGEP()
1238 assert(OffsetRange.getBitWidth() == Scale.getBitWidth() && in aliasGEP()
1261 unsigned BW = OffsetRange.getBitWidth(); in aliasGEP()
1278 MinAbsVarIndex = APInt(Var.Scale.getBitWidth(), 1); in aliasGEP()
1290 int MaxScaleValueBW = Var.Val.getBitWidth() - ValOrigBW; in aliasGEP()
1294 APInt::getMaxValue(MaxScaleValueBW).zext(Var.Scale.getBitWidth())); in aliasGEP()
1847 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()