/external/llvm/unittests/IR/ |
H A D | ConstantRangeTest.cpp | 598 bool Overflow = false; local 599 I.uadd_ov(C, Overflow); 600 EXPECT_FALSE(Overflow); 605 bool Overflow = false; local 606 I.sadd_ov(C, Overflow); 607 EXPECT_FALSE(Overflow); 612 bool Overflow = false; local 614 I.sadd_ov(C, Overflow); 615 EXPECT_FALSE(Overflow); 617 I.uadd_ov(C, Overflow); [all...] |
/external/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 240 // Overflow parsing integer literal. 371 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); local 374 if (Overflow && ValueLive) 566 bool Overflow = false; local 581 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false); 593 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false); 600 Res = LHS.Val.ushl_ov(RHS.Val, Overflow); 602 Res = llvm::APSInt(LHS.Val.sshl_ov(RHS.Val, Overflow), false); 609 Overflow = true, ShAmt = LHS.getBitWidth()-1; 617 Res = llvm::APSInt(LHS.Val.sadd_ov(RHS.Val, Overflow), fals [all...] |
H A D | LiteralSupport.cpp | 142 bool Overflow = false; local 148 Overflow = true; 155 Overflow = true; 160 if (Overflow && Diags) // Too many digits to fit in
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineInternal.h | 440 /// \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 D | InstCombineMulDivRem.cpp | 82 bool Overflow; local 84 Product = C1.smul_ov(C2, Overflow); 86 Product = C1.umul_ov(C2, Overflow); 88 return Overflow; 1061 bool Overflow; local 1062 APInt C2ShlC1 = C2->ushl_ov(*C1, Overflow); 1063 if (!Overflow) {
|
H A D | InstCombineCompares.cpp | 2218 Value *&Result, Constant *&Overflow) { 2224 Overflow = OverflowVal; 3654 Constant *Overflow; local 3656 Overflow)) { 3658 return ReplaceInstUsesWith(I, Overflow); 2216 OptimizeOverflowCheck(OverflowCheckFlavor OCF, Value *LHS, Value *RHS, Instruction &OrigI, Value *&Result, Constant *&Overflow) argument
|
H A D | InstructionCombining.cpp | 143 bool Overflow = false; local 146 BVal.sadd_ov(CVal, Overflow); 148 BVal.ssub_ov(CVal, Overflow); 151 return !Overflow;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 102 unsigned Overflow = local 106 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS);
|
/external/clang/test/CXX/expr/expr.const/ |
H A D | p2-0x.cpp | 228 namespace Overflow { namespace in namespace:UndefinedBehavior
|
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1720 bool Overflow; local 1724 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow); 1727 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow); 1730 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow); 1733 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow); 1736 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow); 1739 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow); 1744 ConstantInt::get(Type::getInt1Ty(Ty->getContext()), Overflow)
|
H A D | InstructionSimplify.cpp | 1057 bool Overflow; local 1058 C1->getValue().umul_ov(C2->getValue(), Overflow); 1059 if (Overflow)
|
/external/llvm/lib/Target/AMDGPU/ |
H A D | R600ISelLowering.cpp | 1004 // Overflow. So we do the shift in two steps, the alternative is to 1007 SDValue Overflow = DAG.getNode(ISD::SRL, DL, VT, Lo, CompShift); local 1008 Overflow = DAG.getNode(ISD::SRL, DL, VT, Overflow, One); 1011 HiSmall = DAG.getNode(ISD::OR, DL, VT, HiSmall, Overflow); 1042 // Overflow. So we do the shift in two steps, the alternative is to 1045 SDValue Overflow = DAG.getNode(ISD::SHL, DL, VT, Hi, CompShift); local 1046 Overflow = DAG.getNode(ISD::SHL, DL, VT, Overflow, One); 1050 LoSmall = DAG.getNode(ISD::OR, DL, VT, LoSmall, Overflow); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 777 // Overflow occurred if it occurred in the larger type, or if the high part 780 SDValue Overflow; local 786 Overflow = DAG.getSetCC(DL, N->getValueType(1), Hi, 793 Overflow = DAG.getSetCC(DL, N->getValueType(1), SExt, Mul, ISD::SETNE); 798 Overflow = DAG.getNode(ISD::OR, DL, N->getValueType(1), Overflow, 802 ReplaceValueWith(SDValue(N, 1), Overflow); local 2183 // Overflow -> (LHSSign == RHSSign) && (LHSSign != SumSign) 2185 // Overflow -> (LHSSign != RHSSign) && (LHSSign != SumSign) 2470 SDValue Overflow local 2475 ReplaceValueWith(SDValue(N, 1), Overflow); local [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 1101 bool Overflow = ArgOffset + Size > kParamTLSSize; local 1112 if (Overflow) { 1127 if (Overflow) { 1137 if (MS.TrackOrigins && !Overflow) {
|
/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 1708 llvm::Value *Overflow, *Result; local 1709 Result = EmitOverflowIntrinsic(*this, IntrinsicId, Left, Right, Overflow); 1723 Overflow = Builder.CreateOr(Overflow, TruncationOverflow); 1732 return RValue::get(Overflow);
|
/external/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 840 auto *Overflow = local 843 CI->replaceAllUsesWith(Overflow);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 1548 SDValue Value, Overflow; local 1607 Overflow = DAG.getNode(AArch64ISD::SUBS, DL, VTs, UpperBits, LowerBits) 1618 Overflow = 1635 Overflow = DAG.getNode(AArch64ISD::SUBS, DL, VTs, UpperBits, LowerBits) 1640 Overflow = 1654 Overflow = Value.getValue(1); 1656 return std::make_pair(Value, Overflow); 1768 SDValue Value, Overflow; local 1769 std::tie(Value, Overflow) = getAArch64XALUOOp(CC, Op, DAG); 1779 Overflow 3613 SDValue Value, Overflow; local 4059 SDValue Value, Overflow; local [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 3442 SDValue Overflow = DAG.getNode(ARMISD::CMOV, dl, VT, TVal, FVal, local 3446 return DAG.getNode(ISD::MERGE_VALUES, dl, VTs, Value, Overflow);
|