Lines Matching refs:TruncBits
247 unsigned TruncBits = 0; member
251 unsigned TruncBits) in CastedValue()
252 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits) {} in CastedValue()
255 return V->getType()->getPrimitiveSizeInBits() - TruncBits + ZExtBits + in getBitWidth()
260 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits); in withValue()
267 if (ExtendBy <= TruncBits) in withZExtOfValue()
268 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withZExtOfValue()
271 ExtendBy -= TruncBits; in withZExtOfValue()
279 if (ExtendBy <= TruncBits) in withSExtOfValue()
280 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withSExtOfValue()
283 ExtendBy -= TruncBits; in withSExtOfValue()
290 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); in evaluateWith()
299 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits); in evaluateWith()
314 TruncBits == Other.TruncBits; in hasSameCastsAs()
374 if (Val.TruncBits) in GetLinearExpression()
475 << ", truncbits=" << Val.TruncBits in print()
631 unsigned TruncBits = IndexSize < Width ? Width - IndexSize : 0; in DecomposeGEPExpression() local
633 CastedValue(Index, 0, SExtBits, TruncBits), DL, 0, AC, DT); in DecomposeGEPExpression()
1275 if (Var.Val.TruncBits == 0 && in aliasGEP()
1310 if (Var0.Scale == -Var1.Scale && Var0.Val.TruncBits == 0 && in aliasGEP()
1820 if (Var0.Val.TruncBits != 0 || !Var0.Val.hasSameCastsAs(Var1.Val) || in constantOffsetHeuristic()