Lines Matching defs:CastedValue
266 struct CastedValue { struct
267 const Value *V;
268 unsigned ZExtBits = 0;
269 unsigned SExtBits = 0;
270 unsigned TruncBits = 0;
272 bool IsNonNegative = false;
274 explicit CastedValue(const Value *V) : V(V) {} in CastedValue() argument
275 explicit CastedValue(const Value *V, unsigned ZExtBits, unsigned SExtBits, in CastedValue() function
280 unsigned getBitWidth() const { in getBitWidth()
285 CastedValue withValue(const Value *NewV, bool PreserveNonNeg) const { in withValue()
291 CastedValue withZExtOfValue(const Value *NewV, bool ZExtNonNegative) const { in withZExtOfValue()
311 CastedValue withSExtOfValue(const Value *NewV) const { in withSExtOfValue()
327 APInt evaluateWith(APInt N) const { in evaluateWith()
336 ConstantRange evaluateWith(ConstantRange N) const { in evaluateWith()
345 bool canDistributeOver(bool NUW, bool NSW) const { in canDistributeOver()
352 bool hasSameCastsAs(const CastedValue &Other) const { in hasSameCastsAs()