Lines Matching refs:ZExtBits
268 unsigned ZExtBits = 0; member
275 explicit CastedValue(const Value *V, unsigned ZExtBits, unsigned SExtBits, 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()
297 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy, in withZExtOfValue()
306 return CastedValue(NewV, ZExtBits + SExtBits + ExtendBy, 0, 0, in withZExtOfValue()
317 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy, in withSExtOfValue()
324 return CastedValue(NewV, ZExtBits, SExtBits + ExtendBy, 0, IsNonNegative); in withSExtOfValue()
332 if (ZExtBits) N = N.zext(N.getBitWidth() + ZExtBits); in evaluateWith()
341 if (ZExtBits) N = N.zeroExtend(N.getBitWidth() + ZExtBits); in evaluateWith()
349 return (!ZExtBits || NUW) && (!SExtBits || NSW); in canDistributeOver()
353 if (ZExtBits == Other.ZExtBits && SExtBits == Other.SExtBits && in hasSameCastsAs()
359 return (ZExtBits + SExtBits == Other.ZExtBits + Other.SExtBits && in hasSameCastsAs()
532 << ", zextbits=" << Val.ZExtBits in print()