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

12

/external/clang/test/SemaTemplate/
H A 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 '0' for template parameter of type 'unsigned char'}}
/external/freetype/src/psaux/
H A Dpsconv.c295 goto Overflow;
302 goto Overflow;
308 goto Overflow;
349 Overflow:
/external/pdfium/third_party/freetype/src/psaux/
H A Dpsconv.c295 goto Overflow;
302 goto Overflow;
308 goto Overflow;
349 Overflow:
/external/clang/lib/Lex/
H A DPPExpressions.cpp246 // Overflow parsing integer literal.
377 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); local
380 if (Overflow && ValueLive)
572 bool Overflow = false; local
587 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false);
599 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false);
606 Res = LHS.Val.ushl_ov(RHS.Val, Overflow);
608 Res = llvm::APSInt(LHS.Val.sshl_ov(RHS.Val, Overflow), false);
615 Overflow = true, ShAmt = LHS.getBitWidth()-1;
623 Res = llvm::APSInt(LHS.Val.sadd_ov(RHS.Val, Overflow), fals
[all...]
/external/llvm/lib/Support/
H A DAPInt.cpp2015 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const {
2017 Overflow = isNonNegative() == RHS.isNonNegative() &&
2022 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const {
2024 Overflow = Res.ult(RHS);
2028 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const {
2030 Overflow = isNonNegative() != RHS.isNonNegative() &&
2035 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const {
2037 Overflow = Res.ugt(*this);
2041 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const {
2043 Overflow
[all...]
/external/llvm/include/llvm/ADT/
H A DAPInt.h949 APInt sadd_ov(const APInt &RHS, bool &Overflow) const;
950 APInt uadd_ov(const APInt &RHS, bool &Overflow) const;
951 APInt ssub_ov(const APInt &RHS, bool &Overflow) const;
952 APInt usub_ov(const APInt &RHS, bool &Overflow) const;
953 APInt sdiv_ov(const APInt &RHS, bool &Overflow) const;
954 APInt smul_ov(const APInt &RHS, bool &Overflow) const;
955 APInt umul_ov(const APInt &RHS, bool &Overflow) const;
956 APInt sshl_ov(const APInt &Amt, bool &Overflow) const;
957 APInt ushl_ov(const APInt &Amt, bool &Overflow) const;
/external/freetype/src/cff/
H A Dcffparse.c269 goto Overflow;
339 goto Overflow;
370 goto Overflow;
382 Overflow:
426 goto Overflow;
431 goto Overflow;
436 Overflow:
/external/pdfium/third_party/freetype/src/cff/
H A Dcffparse.c269 goto Overflow;
339 goto Overflow;
370 goto Overflow;
382 Overflow:
426 goto Overflow;
431 goto Overflow;
436 Overflow:
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mutexset_test.cc108 TEST(MutexSet, Overflow) {
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp1665 bool Overflow; local
1669 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow);
1672 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow);
1675 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow);
1678 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow);
1681 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow);
1684 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow);
1689 ConstantInt::get(Type::getInt1Ty(Ty->getContext()), Overflow)
H A DScalarEvolution.cpp2311 static uint64_t umul_ov(uint64_t i, uint64_t j, bool &Overflow) {
2313 if (j > 1 && k / j != i) Overflow = true;
2318 /// intermediate computation overflows, Overflow will be set and the return will
2319 /// be garbage. Overflow is not cleared on absence of overflow.
2320 static uint64_t Choose(uint64_t n, uint64_t k, bool &Overflow) {
2337 r = umul_ov(r, n-(i-1), Overflow);
2542 bool Overflow = false;
2547 OtherAddRec->getNumOperands() - 1; x != xe && !Overflow; ++x) {
2549 for (int y = x, ye = 2*x+1; y != ye && !Overflow; ++y) {
2550 uint64_t Coeff1 = Choose(x, 2*x - y, Overflow);
[all...]
H A DInstructionSimplify.cpp1058 bool Overflow; local
1059 C1->getValue().umul_ov(C2->getValue(), Overflow);
1060 if (Overflow)
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp83 bool Overflow; local
85 Product = C1.smul_ov(C2, Overflow);
87 Product = C1.umul_ov(C2, Overflow);
89 return Overflow;
1051 bool Overflow; local
1052 APInt C2ShlC1 = C2->ushl_ov(*C1, Overflow);
1053 if (!Overflow) {
H A DInstCombineInternal.h440 /// \p Result and a constant \p Overflow value.
442 Constant *Overflow) {
443 Constant *V[] = {UndefValue::get(Result->getType()), Overflow};
441 CreateOverflowTuple(IntrinsicInst *II, Value *Result, Constant *Overflow) argument
H A DInstructionCombining.cpp133 bool Overflow = false; local
136 BVal.sadd_ov(CVal, Overflow);
138 BVal.ssub_ov(CVal, Overflow);
141 return !Overflow;
H A DInstCombineCompares.cpp2114 Value *&Result, Constant *&Overflow) {
2121 Overflow = OverflowVal;
3519 Constant *Overflow; local
3521 Overflow)) {
3523 return ReplaceInstUsesWith(I, Overflow);
2112 OptimizeOverflowCheck(OverflowCheckFlavor OCF, Value *LHS, Value *RHS, Instruction &OrigI, Value *&Result, Constant *&Overflow) argument
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp101 unsigned Overflow = local
105 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS);
/external/llvm/lib/Target/R600/
H A DR600ISelLowering.cpp1022 // Overflow. So we do the shift in two steps, the alternative is to
1025 SDValue Overflow = DAG.getNode(ISD::SRL, DL, VT, Lo, CompShift); local
1026 Overflow = DAG.getNode(ISD::SRL, DL, VT, Overflow, One);
1029 HiSmall = DAG.getNode(ISD::OR, DL, VT, HiSmall, Overflow);
1060 // Overflow. So we do the shift in two steps, the alternative is to
1063 SDValue Overflow = DAG.getNode(ISD::SHL, DL, VT, Hi, CompShift); local
1064 Overflow = DAG.getNode(ISD::SHL, DL, VT, Overflow, One);
1068 LoSmall = DAG.getNode(ISD::OR, DL, VT, LoSmall, Overflow);
[all...]
/external/freetype/src/raster/
H A Dftraster.c654 ras.error = FT_THROW( Overflow );
761 ras.error = FT_THROW( Overflow );
817 ras.error = FT_THROW( Overflow );
1070 ras.error = FT_THROW( Overflow );
1245 ras.error = FT_THROW( Overflow );
/external/pdfium/third_party/freetype/src/raster/
H A Dftraster.c748 ras.error = FT_THROW( Overflow );
855 ras.error = FT_THROW( Overflow );
911 ras.error = FT_THROW( Overflow );
1164 ras.error = FT_THROW( Overflow );
1339 ras.error = FT_THROW( Overflow );
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp729 // Overflow occurred if it occurred in the larger type, or if the high part
732 SDValue Overflow; local
737 Overflow = DAG.getSetCC(DL, N->getValueType(1), Hi,
743 Overflow = DAG.getSetCC(DL, N->getValueType(1), SExt, Mul, ISD::SETNE);
748 Overflow = DAG.getNode(ISD::OR, DL, N->getValueType(1), Overflow,
752 ReplaceValueWith(SDValue(N, 1), Overflow); local
2066 // Overflow -> (LHSSign == RHSSign) && (LHSSign != SumSign)
2068 // Overflow -> (LHSSign != RHSSign) && (LHSSign != SumSign)
2340 SDValue Overflow local
2345 ReplaceValueWith(SDValue(N, 1), Overflow); local
[all...]
/external/clang/test/CXX/expr/expr.const/
H A Dp2-0x.cpp228 namespace Overflow { namespace in namespace:UndefinedBehavior
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp1268 SDValue Value, Overflow; local
1327 Overflow = DAG.getNode(AArch64ISD::SUBS, DL, VTs, UpperBits, LowerBits)
1338 Overflow =
1354 Overflow = DAG.getNode(AArch64ISD::SUBS, DL, VTs, UpperBits, LowerBits)
1359 Overflow =
1372 Overflow = Value.getValue(1);
1374 return std::make_pair(Value, Overflow);
1486 SDValue Value, Overflow; local
1487 std::tie(Value, Overflow) = getAArch64XALUOOp(CC, Op, DAG);
1497 Overflow
3267 SDValue Value, Overflow; local
3779 SDValue Value, Overflow; local
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1052 bool Overflow = ArgOffset + Size > kParamTLSSize; local
1063 if (Overflow) {
1078 if (Overflow) {
1088 if (MS.TrackOrigins && !Overflow) {
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp787 auto *Overflow = local
790 CI->replaceAllUsesWith(Overflow);

Completed in 675 milliseconds

12