Lines Matching refs:ZExtBits
261 unsigned ZExtBits = 0; member
266 explicit CastedValue(const Value *V, unsigned ZExtBits, unsigned SExtBits, in CastedValue()
268 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits) {} in CastedValue()
271 return V->getType()->getPrimitiveSizeInBits() - TruncBits + ZExtBits + in getBitWidth()
276 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits); in withValue()
284 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withZExtOfValue()
288 return CastedValue(NewV, ZExtBits + SExtBits + ExtendBy, 0, 0); in withZExtOfValue()
296 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withSExtOfValue()
300 return CastedValue(NewV, ZExtBits, SExtBits + ExtendBy, 0); in withSExtOfValue()
308 if (ZExtBits) N = N.zext(N.getBitWidth() + ZExtBits); in evaluateWith()
317 if (ZExtBits) N = N.zeroExtend(N.getBitWidth() + ZExtBits); in evaluateWith()
325 return (!ZExtBits || NUW) && (!SExtBits || NSW); in canDistributeOver()
329 return ZExtBits == Other.ZExtBits && SExtBits == Other.SExtBits && in hasSameCastsAs()
501 << ", zextbits=" << Val.ZExtBits in print()