Lines Matching refs:TruncBits
263 unsigned TruncBits = 0; member
267 unsigned TruncBits) in CastedValue()
268 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits) {} in CastedValue()
271 return V->getType()->getPrimitiveSizeInBits() - TruncBits + ZExtBits + in getBitWidth()
276 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits); in withValue()
283 if (ExtendBy <= TruncBits) in withZExtOfValue()
284 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withZExtOfValue()
287 ExtendBy -= TruncBits; in withZExtOfValue()
295 if (ExtendBy <= TruncBits) in withSExtOfValue()
296 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withSExtOfValue()
299 ExtendBy -= TruncBits; in withSExtOfValue()
306 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); in evaluateWith()
315 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits); in evaluateWith()
330 TruncBits == Other.TruncBits; in hasSameCastsAs()
390 if (Val.TruncBits) in GetLinearExpression()
503 << ", truncbits=" << Val.TruncBits in print()
667 unsigned TruncBits = IndexSize < Width ? Width - IndexSize : 0; in DecomposeGEPExpression() local
669 CastedValue(Index, 0, SExtBits, TruncBits), DL, 0, AC, DT); in DecomposeGEPExpression()
1237 if (Var.Val.TruncBits == 0 && in aliasGEP()
1269 if (Var0.hasNegatedScaleOf(Var1) && Var0.Val.TruncBits == 0 && in aliasGEP()
1801 if (Var0.Val.TruncBits != 0 || !Var0.Val.hasSameCastsAs(Var1.Val) || in constantOffsetHeuristic()