Lines Matching refs:SExtBits
269 unsigned SExtBits = 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()
282 SExtBits; 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()
331 if (SExtBits) N = N.sext(N.getBitWidth() + SExtBits); in evaluateWith()
340 if (SExtBits) N = N.signExtend(N.getBitWidth() + SExtBits); 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()
533 << ", sextbits=" << Val.SExtBits in print()
697 unsigned SExtBits = IndexSize > Width ? IndexSize - Width : 0; in DecomposeGEPExpression() local
700 CastedValue(Index, 0, SExtBits, TruncBits, false), DL, 0, AC, DT); in DecomposeGEPExpression()