Searched refs:Overflow (Results 1 - 17 of 17) sorted by relevance

/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Lex/
H A DPPExpressions.cpp247 // Overflow parsing integer literal.
372 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); local
375 if (Overflow && ValueLive)
567 bool Overflow = false; local
582 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false);
594 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false);
602 Overflow = ShAmt >= LHS.Val.getBitWidth();
603 if (Overflow)
607 Res = llvm::APSInt(LHS.Val.sshl_ov(ShAmt, Overflow), false);
615 Overflow
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Support/
H A DAPInt.cpp1996 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const {
1998 Overflow = isNonNegative() == RHS.isNonNegative() &&
2003 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const {
2005 Overflow = Res.ult(RHS);
2009 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const {
2011 Overflow = isNonNegative() != RHS.isNonNegative() &&
2016 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const {
2018 Overflow = Res.ugt(*this);
2022 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const {
2024 Overflow
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/ADT/
H A DAPInt.h936 APInt sadd_ov(const APInt &RHS, bool &Overflow) const;
937 APInt uadd_ov(const APInt &RHS, bool &Overflow) const;
938 APInt ssub_ov(const APInt &RHS, bool &Overflow) const;
939 APInt usub_ov(const APInt &RHS, bool &Overflow) const;
940 APInt sdiv_ov(const APInt &RHS, bool &Overflow) const;
941 APInt smul_ov(const APInt &RHS, bool &Overflow) const;
942 APInt umul_ov(const APInt &RHS, bool &Overflow) const;
943 APInt sshl_ov(unsigned Amt, bool &Overflow) const;
/freebsd-10.1-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp1596 bool Overflow; local
1600 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow);
1603 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow);
1606 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow);
1609 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow);
1612 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow);
1615 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow);
1620 ConstantInt::get(Type::getInt1Ty(F->getContext()), Overflow)
H A DScalarEvolution.cpp1830 static uint64_t umul_ov(uint64_t i, uint64_t j, bool &Overflow) {
1832 if (j > 1 && k / j != i) Overflow = true;
1837 /// intermediate computation overflows, Overflow will be set and the return will
1838 /// be garbage. Overflow is not cleared on absence of overflow.
1839 static uint64_t Choose(uint64_t n, uint64_t k, bool &Overflow) {
1856 r = umul_ov(r, n-(i-1), Overflow);
2058 bool Overflow = false;
2063 OtherAddRec->getNumOperands() - 1; x != xe && !Overflow; ++x) {
2065 for (int y = x, ye = 2*x+1; y != ye && !Overflow; ++y) {
2066 uint64_t Coeff1 = Choose(x, 2*x - y, Overflow);
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp98 unsigned Overflow = local
101 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS);
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp671 // Overflow occurred if it occurred in the larger type, or if the high part
674 SDValue Overflow; local
679 Overflow = DAG.getSetCC(DL, N->getValueType(1), Hi,
685 Overflow = DAG.getSetCC(DL, N->getValueType(1), SExt, Mul, ISD::SETNE);
690 Overflow = DAG.getNode(ISD::OR, DL, N->getValueType(1), Overflow,
694 ReplaceValueWith(SDValue(N, 1), Overflow); local
2032 // Overflow -> (LHSSign == RHSSign) && (LHSSign != SumSign)
2034 // Overflow -> (LHSSign != RHSSign) && (LHSSign != SumSign)
2306 SDValue Overflow local
2311 ReplaceValueWith(SDValue(N, 1), Overflow); local
[all...]
/freebsd-10.1-release/contrib/gcc/config/arm/
H A Dieee754-sf.S242 @ Overflow: return INF.
500 @ Overflow?
578 @ Overflow: return INF (sign already in r0).
H A Dieee754-df.S353 @ Overflow: return INF.
696 @ Overflow?
817 @ Overflow: return INF (sign already in xh).
/freebsd-10.1-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp461 bool Overflow; local
462 LHSMax.umul_ov(RHSMax, Overflow);
463 if (!Overflow) {
H A DInstructionCombining.cpp154 bool Overflow = false; local
157 BVal.sadd_ov(CVal, Overflow);
159 BVal.ssub_ov(CVal, Overflow);
162 return !Overflow;
/freebsd-10.1-release/contrib/sqlite3/
H A Dshell.c1050 fprintf(pArg->out, "Number of Pcache Overflow Bytes: %d (max %d) bytes\n", iCur, iHiwtr);
1059 fprintf(pArg->out, "Number of Scratch Overflow Bytes: %d (max %d) bytes\n", iCur, iHiwtr);
/freebsd-10.1-release/sys/dev/mps/mpi/
H A Dmpi2_history.txt278 * Overflow Event data.
/freebsd-10.1-release/sys/dev/mpr/mpi/
H A Dmpi2_history.txt341 * Overflow Event data.
/freebsd-10.1-release/sys/boot/i386/btx/btx/
H A Dbtx.S322 jmp ex_noc # Overflow
/freebsd-10.1-release/sys/boot/pc98/btx/btx/
H A Dbtx.S324 jmp ex_noc # Overflow
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp2132 llvm::Value *Overflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); local
2133 Cond = Cond ? Builder.CreateAnd(Cond, Overflow, "and") : Overflow;

Completed in 290 milliseconds