Lines Matching refs:SExtBits
246 unsigned SExtBits = 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()
256 SExtBits; 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()
291 if (SExtBits) N = N.sext(N.getBitWidth() + SExtBits); in evaluateWith()
300 if (SExtBits) N = N.signExtend(N.getBitWidth() + SExtBits); in evaluateWith()
309 return (!ZExtBits || NUW) && (!SExtBits || NSW); in canDistributeOver()
313 return ZExtBits == Other.ZExtBits && SExtBits == Other.SExtBits && in hasSameCastsAs()
474 << ", sextbits=" << Val.SExtBits in print()
630 unsigned SExtBits = IndexSize > Width ? IndexSize - Width : 0; in DecomposeGEPExpression() local
633 CastedValue(Index, 0, SExtBits, TruncBits), DL, 0, AC, DT); in DecomposeGEPExpression()