Lines Matching refs:ZExtBits
245 unsigned ZExtBits = 0; member
250 explicit CastedValue(const Value *V, unsigned ZExtBits, unsigned SExtBits, 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()
268 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withZExtOfValue()
272 return CastedValue(NewV, ZExtBits + SExtBits + ExtendBy, 0, 0); in withZExtOfValue()
280 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withSExtOfValue()
284 return CastedValue(NewV, ZExtBits, SExtBits + ExtendBy, 0); in withSExtOfValue()
292 if (ZExtBits) N = N.zext(N.getBitWidth() + ZExtBits); in evaluateWith()
301 if (ZExtBits) N = N.zeroExtend(N.getBitWidth() + ZExtBits); in evaluateWith()
309 return (!ZExtBits || NUW) && (!SExtBits || NSW); in canDistributeOver()
313 return ZExtBits == Other.ZExtBits && SExtBits == Other.SExtBits && in hasSameCastsAs()
473 << ", zextbits=" << Val.ZExtBits in print()