Lines Matching refs:NSW
345 bool canDistributeOver(bool NUW, bool NSW) const { in canDistributeOver()
349 return (!ZExtBits || NUW) && (!SExtBits || NSW); in canDistributeOver()
387 bool NSW = IsNSW && (Other.isOne() || (MulIsNSW && Offset.isZero())); in mul() local
388 return LinearExpression(Val, Scale * Other, Offset * Other, NSW); in mul()
411 bool NUW = true, NSW = true; in GetLinearExpression() local
414 NSW &= BOp->hasNoSignedWrap(); in GetLinearExpression()
416 if (!Val.canDistributeOver(NUW, NSW)) in GetLinearExpression()
422 NUW = NSW = false; in GetLinearExpression()
440 E.IsNSW &= NSW; in GetLinearExpression()
447 E.IsNSW &= NSW; in GetLinearExpression()
453 .mul(RHS, NSW); in GetLinearExpression()
464 E = GetLinearExpression(Val.withValue(BOp->getOperand(0), NSW), DL, in GetLinearExpression()
468 E.IsNSW &= NSW; in GetLinearExpression()