Lines Matching defs:TruncBits
270 unsigned TruncBits = 0;
276 unsigned TruncBits, bool IsNonNegative)
277 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits),
281 return V->getType()->getPrimitiveSizeInBits() - TruncBits + ZExtBits +
286 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits,
294 if (ExtendBy <= TruncBits)
297 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy,
301 ExtendBy -= TruncBits;
314 if (ExtendBy <= TruncBits)
317 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy,
321 ExtendBy -= TruncBits;
330 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits);
339 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits);
354 TruncBits == Other.TruncBits)
360 TruncBits == Other.TruncBits);
421 if (Val.TruncBits)
504 // ZExt(SExt(Trunc(V, TruncBits), SExtBits), ZExtBits) * Scale.
534 << ", truncbits=" << Val.TruncBits
698 unsigned TruncBits = IndexSize < Width ? Width - IndexSize : 0;
700 CastedValue(Index, 0, SExtBits, TruncBits, false), DL, 0, AC, DT);
1209 DecompGEP1.VarIndices[0].Val.TruncBits == 0 &&
1310 if (Var.Val.TruncBits == 0 &&
1342 if (Var0.hasNegatedScaleOf(Var1) && Var0.Val.TruncBits == 0 &&
1895 if (Var0.Val.TruncBits != 0 || !Var0.Val.hasSameCastsAs(Var1.Val) ||