Lines Matching refs:Overflow
157 const APInt &RightOperand, bool &Overflow) { in exprAdd() argument
158 return LeftOperand.sadd_ov(RightOperand, Overflow); in exprAdd()
162 const APInt &RightOperand, bool &Overflow) { in exprSub() argument
163 return LeftOperand.ssub_ov(RightOperand, Overflow); in exprSub()
167 const APInt &RightOperand, bool &Overflow) { in exprMul() argument
168 return LeftOperand.smul_ov(RightOperand, Overflow); in exprMul()
172 const APInt &RightOperand, bool &Overflow) { in exprDiv() argument
177 return LeftOperand.sdiv_ov(RightOperand, Overflow); in exprDiv()
181 const APInt &RightOperand, bool &Overflow) { in exprMax() argument
182 Overflow = false; in exprMax()
187 const APInt &RightOperand, bool &Overflow) { in exprMin() argument
188 Overflow = false; in exprMin()
189 if (cantFail(exprMax(LeftOperand, RightOperand, Overflow)) == LeftOperand) in exprMin()
220 bool Overflow; in eval() local
228 Expected<APInt> MaybeResult = EvalBinop(LeftOp, RightOp, Overflow); in eval()
232 if (!Overflow) in eval()