Home
last modified time | relevance | path

Searched refs:Overflow (Results 1 – 25 of 69) sorted by relevance

123

/external/arm-neon-tests/
Dref_dspfns.c65 Overflow = init_Overflow; in test_16_fn_32()
69 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
72 Overflow = init_Overflow; in test_16_fn_32()
76 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
79 Overflow = init_Overflow; in test_16_fn_32()
83 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
86 Overflow = init_Overflow; in test_16_fn_32()
90 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
93 Overflow = init_Overflow; in test_16_fn_32()
97 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
[all …]
Dref_integer.c70 Overflow = 0; in exec_integer()
73 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
77 Overflow = 0; in exec_integer()
80 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
84 Overflow = 0; in exec_integer()
87 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
91 Overflow = 0; in exec_integer()
94 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
98 Overflow = 0; in exec_integer()
101 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
[all …]
Dref_dsp.c60 Overflow = 0; in exec_dsp()
62 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
66 Overflow = 0; in exec_dsp()
68 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
72 Overflow = 0; in exec_dsp()
74 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
78 Overflow = 0; in exec_dsp()
80 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
84 Overflow = 0; in exec_dsp()
86 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
[all …]
/external/clang/lib/Lex/
DPPExpressions.cpp428 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue() local
431 if (Overflow && ValueLive) in EvaluateValue()
632 bool Overflow = false; in EvaluateDirectiveSubExpr() local
647 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
659 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
666 Res = LHS.Val.ushl_ov(RHS.Val, Overflow); in EvaluateDirectiveSubExpr()
668 Res = llvm::APSInt(LHS.Val.sshl_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
675 Overflow = true; in EvaluateDirectiveSubExpr()
685 Res = llvm::APSInt(LHS.Val.sadd_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
691 Res = llvm::APSInt(LHS.Val.ssub_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
[all …]
/external/clang/test/SemaTemplate/
Dtemp_arg_nontype.cpp96 template<unsigned char C> struct Overflow; // expected-note{{template parameter is declared here}}
98 Overflow<5> *overflow1; // okay
99 Overflow<255> *overflow2; // okay
100 Overflow<256> *overflow3; // expected-warning{{non-type template argument value '256' truncated to …
/external/freetype/src/psaux/
Dpsconv.c295 goto Overflow; in PS_Conv_ToFixed()
302 goto Overflow; in PS_Conv_ToFixed()
308 goto Overflow; in PS_Conv_ToFixed()
349 Overflow: in PS_Conv_ToFixed()
/external/pdfium/third_party/freetype/src/psaux/
Dpsconv.c295 goto Overflow; in PS_Conv_ToFixed()
302 goto Overflow; in PS_Conv_ToFixed()
308 goto Overflow; in PS_Conv_ToFixed()
349 Overflow: in PS_Conv_ToFixed()
/external/llvm/lib/Support/
DAPInt.cpp2009 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const { in sadd_ov()
2011 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
2016 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const { in uadd_ov()
2018 Overflow = Res.ult(RHS); in uadd_ov()
2022 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const { in ssub_ov()
2024 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
2029 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const { in usub_ov()
2031 Overflow = Res.ugt(*this); in usub_ov()
2035 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const { in sdiv_ov()
2037 Overflow = isMinSignedValue() && RHS.isAllOnesValue(); in sdiv_ov()
[all …]
/external/llvm/include/llvm/ADT/
DAPInt.h954 APInt sadd_ov(const APInt &RHS, bool &Overflow) const;
955 APInt uadd_ov(const APInt &RHS, bool &Overflow) const;
956 APInt ssub_ov(const APInt &RHS, bool &Overflow) const;
957 APInt usub_ov(const APInt &RHS, bool &Overflow) const;
958 APInt sdiv_ov(const APInt &RHS, bool &Overflow) const;
959 APInt smul_ov(const APInt &RHS, bool &Overflow) const;
960 APInt umul_ov(const APInt &RHS, bool &Overflow) const;
961 APInt sshl_ov(const APInt &Amt, bool &Overflow) const;
962 APInt ushl_ov(const APInt &Amt, bool &Overflow) const;
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h827 APInt sadd_ov(const APInt &RHS, bool &Overflow) const;
828 APInt uadd_ov(const APInt &RHS, bool &Overflow) const;
829 APInt ssub_ov(const APInt &RHS, bool &Overflow) const;
830 APInt usub_ov(const APInt &RHS, bool &Overflow) const;
831 APInt sdiv_ov(const APInt &RHS, bool &Overflow) const;
832 APInt smul_ov(const APInt &RHS, bool &Overflow) const;
833 APInt umul_ov(const APInt &RHS, bool &Overflow) const;
834 APInt sshl_ov(unsigned Amt, bool &Overflow) const;
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp2055 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const { in sadd_ov()
2057 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
2062 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const { in uadd_ov()
2064 Overflow = Res.ult(RHS); in uadd_ov()
2068 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const { in ssub_ov()
2070 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
2075 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const { in usub_ov()
2077 Overflow = Res.ugt(*this); in usub_ov()
2081 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const { in sdiv_ov()
2083 Overflow = isMinSignedValue() && RHS.isAllOnesValue(); in sdiv_ov()
[all …]
/external/llvm/unittests/IR/
DConstantRangeTest.cpp637 bool Overflow = false; in TEST() local
638 I.uadd_ov(C, Overflow); in TEST()
639 EXPECT_FALSE(Overflow); in TEST()
644 bool Overflow = false; in TEST() local
645 I.sadd_ov(C, Overflow); in TEST()
646 EXPECT_FALSE(Overflow); in TEST()
651 bool Overflow = false; in TEST() local
653 I.sadd_ov(C, Overflow); in TEST()
654 EXPECT_FALSE(Overflow); in TEST()
656 I.uadd_ov(C, Overflow); in TEST()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcffparse.c269 goto Overflow; in cff_parse_real()
339 goto Overflow; in cff_parse_real()
370 goto Overflow; in cff_parse_real()
382 Overflow: in cff_parse_real()
426 goto Overflow; in do_fixed()
431 goto Overflow; in do_fixed()
436 Overflow: in do_fixed()
/external/pdfium/third_party/base/numerics/
Dsafe_conversions.h93 static constexpr T Overflow() { in Overflow() function
117 ? S<Dst>::Overflow() in saturated_cast_impl()
/external/freetype/src/cff/
Dcffparse.c305 goto Overflow; in cff_parse_real()
375 goto Overflow; in cff_parse_real()
406 goto Overflow; in cff_parse_real()
418 Overflow: in cff_parse_real()
492 goto Overflow; in do_fixed()
497 goto Overflow; in do_fixed()
502 Overflow: in do_fixed()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp1376 bool Overflow; in ConstantFoldCall() local
1380 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1383 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1386 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1389 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1392 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1395 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1400 ConstantInt::get(Type::getInt1Ty(F->getContext()), Overflow) in ConstantFoldCall()
/external/llvm/lib/Analysis/
DConstantFolding.cpp866 bool Overflow; in SymbolicallyEvaluateGEP() local
867 APInt NewIdx = Offset.sdiv_ov(ElemSize, Overflow); in SymbolicallyEvaluateGEP()
868 if (Overflow) in SymbolicallyEvaluateGEP()
1774 bool Overflow; in ConstantFoldScalarCall() local
1778 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1781 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1784 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1787 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1790 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1793 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
[all …]
/external/v8/src/
Ddeoptimize-reason.h54 V(Overflow, "overflow") \
/external/boringssl/src/crypto/err/
Derr_test.cc25 TEST(ErrTest, Overflow) { in TEST() argument
/external/pdfium/third_party/libopenjpeg20/
D0022-jp2_apply_pclr_overflow.patch9 + /* Overflow check: prevent integer overflow */
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp82 bool Overflow; in MultiplyOverflows() local
84 Product = C1.smul_ov(C2, Overflow); in MultiplyOverflows()
86 Product = C1.umul_ov(C2, Overflow); in MultiplyOverflows()
88 return Overflow; in MultiplyOverflows()
1075 bool Overflow; in visitUDiv() local
1076 APInt C2ShlC1 = C2->ushl_ov(*C1, Overflow); in visitUDiv()
1077 if (!Overflow) { in visitUDiv()
/external/clang/test/CXX/basic/basic.types/
Dp10.cpp142 constexpr long Overflow[ // expected-error {{constexpr variable cannot have non-literal type 'long … variable
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp985 uint32_t Overflow = 0; in SelectMUBUFConstant() local
990 Overflow = Imm - 4095; in SelectMUBUFConstant()
1001 Overflow = High - 1; in SelectMUBUFConstant()
1008 if (Overflow > 0 && in SelectMUBUFConstant()
1014 if (Overflow <= 64) in SelectMUBUFConstant()
1015 SOffset = CurDAG->getTargetConstant(Overflow, DL, MVT::i32); in SelectMUBUFConstant()
1018 CurDAG->getTargetConstant(Overflow, DL, MVT::i32)), in SelectMUBUFConstant()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_layoutpagemgr.cpp949 RunBreak(XFA_Element::Overflow, XFA_ATTRIBUTEENUM_PageArea, in BreakOverflow()
953 RunBreak(XFA_Element::Overflow, XFA_ATTRIBUTEENUM_ContentArea, in BreakOverflow()
972 if (pOverflowNode->GetElementType() != XFA_Element::Overflow) in BreakOverflow()
988 RunBreak(XFA_Element::Overflow, XFA_ATTRIBUTEENUM_PageArea, pTarget, in BreakOverflow()
992 RunBreak(XFA_Element::Overflow, XFA_ATTRIBUTEENUM_ContentArea, in BreakOverflow()
1018 if (pFormNode->GetElementType() == XFA_Element::Overflow || in ProcessOverflow()
1653 if (pCurNode->GetElementType() == XFA_Element::Overflow) in QueryOverflow()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutexset_test.cc108 TEST(MutexSet, Overflow) { in TEST() argument

123