Lines Matching refs:CastedValue

243 struct CastedValue {  struct
249 explicit CastedValue(const Value *V) : V(V) {} in CastedValue() function
250 explicit CastedValue(const Value *V, unsigned ZExtBits, unsigned SExtBits, in CastedValue() function
259 CastedValue withValue(const Value *NewV) const { in withValue() argument
260 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits); in withValue()
264 CastedValue withZExtOfValue(const Value *NewV) const { in withZExtOfValue() argument
268 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withZExtOfValue()
272 return CastedValue(NewV, ZExtBits + SExtBits + ExtendBy, 0, 0); in withZExtOfValue()
276 CastedValue withSExtOfValue(const Value *NewV) const { in withSExtOfValue() argument
280 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withSExtOfValue()
284 return CastedValue(NewV, ZExtBits, SExtBits + ExtendBy, 0); in withSExtOfValue()
312 bool hasSameCastsAs(const CastedValue &Other) const { in hasSameCastsAs() argument
320 CastedValue Val;
327 LinearExpression(const CastedValue &Val, const APInt &Scale, in LinearExpression()
331 LinearExpression(const CastedValue &Val) : Val(Val), IsNSW(true) { in LinearExpression()
349 const CastedValue &Val, const DataLayout &DL, unsigned Depth, in GetLinearExpression()
458 CastedValue Val;
633 CastedValue(Index, 0, SExtBits, TruncBits), DL, 0, AC, DT); in DecomposeGEPExpression()
1830 GetLinearExpression(CastedValue(Var0.Val.V), DL, 0, AC, DT); in constantOffsetHeuristic()
1832 GetLinearExpression(CastedValue(Var1.Val.V), DL, 0, AC, DT); in constantOffsetHeuristic()