Lines Matching refs:TruncBits

270   unsigned TruncBits = 0;  member
276 unsigned TruncBits, bool IsNonNegative) in CastedValue()
277 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits), in CastedValue()
281 return V->getType()->getPrimitiveSizeInBits() - TruncBits + ZExtBits + in getBitWidth()
286 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits, in withValue()
294 if (ExtendBy <= TruncBits) in withZExtOfValue()
297 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy, in withZExtOfValue()
301 ExtendBy -= TruncBits; in withZExtOfValue()
314 if (ExtendBy <= TruncBits) in withSExtOfValue()
317 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy, in withSExtOfValue()
321 ExtendBy -= TruncBits; in withSExtOfValue()
330 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); in evaluateWith()
339 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits); in evaluateWith()
354 TruncBits == Other.TruncBits) in hasSameCastsAs()
360 TruncBits == Other.TruncBits); in hasSameCastsAs()
421 if (Val.TruncBits) in GetLinearExpression()
534 << ", truncbits=" << Val.TruncBits in print()
698 unsigned TruncBits = IndexSize < Width ? Width - IndexSize : 0; in DecomposeGEPExpression() local
700 CastedValue(Index, 0, SExtBits, TruncBits, false), DL, 0, AC, DT); in DecomposeGEPExpression()
1209 DecompGEP1.VarIndices[0].Val.TruncBits == 0 && in aliasGEP()
1310 if (Var.Val.TruncBits == 0 && in aliasGEP()
1342 if (Var0.hasNegatedScaleOf(Var1) && Var0.Val.TruncBits == 0 && in aliasGEP()
1895 if (Var0.Val.TruncBits != 0 || !Var0.Val.hasSameCastsAs(Var1.Val) || in constantOffsetHeuristic()