Searched refs:hasNoUnsignedWrap (Results 1 – 19 of 19) sorted by relevance
64 EXPECT_FALSE(AddClone->hasNoUnsignedWrap()); in TEST_F()66 EXPECT_FALSE(SubClone->hasNoUnsignedWrap()); in TEST_F()68 EXPECT_FALSE(MulClone->hasNoUnsignedWrap()); in TEST_F()81 EXPECT_TRUE(AddClone->hasNoUnsignedWrap()); in TEST_F()83 EXPECT_TRUE(SubClone->hasNoUnsignedWrap()); in TEST_F()85 EXPECT_TRUE(MulClone->hasNoUnsignedWrap()); in TEST_F()98 EXPECT_TRUE(AddClone->hasNoUnsignedWrap()); in TEST_F()100 EXPECT_TRUE(SubClone->hasNoUnsignedWrap()); in TEST_F()102 EXPECT_TRUE(MulClone->hasNoUnsignedWrap()); in TEST_F()115 EXPECT_FALSE(AddClone->hasNoUnsignedWrap()); in TEST_F()[all …]
584 NewShl->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in FoldShiftByConstant()600 if (ShiftOp->hasNoUnsignedWrap()) { in FoldShiftByConstant()652 if (ShiftOp->hasNoUnsignedWrap()) { in FoldShiftByConstant()686 I.hasNoSignedWrap(), I.hasNoUnsignedWrap(), in visitShl()697 if (!I.hasNoUnsignedWrap() && in visitShl()
91 I.hasNoUnsignedWrap(), TD)) in visitAdd()166 New->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitAdd()544 I.hasNoUnsignedWrap(), TD)) in visitSub()555 Res->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitSub()
37 isNUW = BO->hasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()59 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()425 isNUW = BO->hasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()447 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
62 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) { in simplifyValueKnownNonZero()126 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap(); in visitMul()
233 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap()); in FoldSelectIntoOp()268 BO->setHasNoUnsignedWrap(FVI_BO->hasNoUnsignedWrap()); in FoldSelectIntoOp()
1292 if (cast<BinaryOperator>(LHSI)->hasNoUnsignedWrap()) in visitICmpInstWithInstAndIntCst()2327 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) || in visitICmpInst()2331 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || in visitICmpInst()2482 bool NUW = BO0->hasNoUnsignedWrap() && BO1->hasNoUnsignedWrap(); in visitICmpInst()
590 else if (IOp->hasNoUnsignedWrap()) in SimplifyDemandedUseBits()
37 if (OBI && !OBI->hasNoUnsignedWrap()) { in DecomposeSimpleLinearExpr()
265 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); in PHITranslateSubExpr()434 Res->setHasNoUnsignedWrap(cast<BinaryOperator>(Inst)->hasNoUnsignedWrap()); in InsertPHITranslatedSubExpr()
1004 (!isSigned && Mul->hasNoUnsignedWrap())) in SimplifyDiv()1271 cast<OverflowingBinaryOperator>(Op0)->hasNoUnsignedWrap()) in SimplifyLShrInst()2034 (CmpInst::isUnsigned(Pred) && LBO->hasNoUnsignedWrap()) || in SimplifyICmpInst()2040 (CmpInst::isUnsigned(Pred) && RBO->hasNoUnsignedWrap()) || in SimplifyICmpInst()2151 bool NUW = LBO->hasNoUnsignedWrap() && RBO->hasNoUnsignedWrap(); in SimplifyICmpInst()2770 cast<BinaryOperator>(I)->hasNoUnsignedWrap(), in SimplifyInstruction()2776 cast<BinaryOperator>(I)->hasNoUnsignedWrap(), in SimplifyInstruction()2803 cast<BinaryOperator>(I)->hasNoUnsignedWrap(), in SimplifyInstruction()
893 if (BO->hasNoUnsignedWrap()) in isKnownNonZero()961 if ((BO->hasNoSignedWrap() || BO->hasNoUnsignedWrap()) && in isKnownNonZero()
3062 if (OBO->hasNoUnsignedWrap()) in createNodeForPHI()
96 bool hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function
355 bool hasNoUnsignedWrap() const;
780 if (OBO->hasNoUnsignedWrap()) WideBO->setHasNoUnsignedWrap(); in CloneIVUser()807 else if(!IsSigned && OBO->hasNoUnsignedWrap()) in GetExtendedOperandRecurrence()
1993 bool BinaryOperator::hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function in BinaryOperator1994 return cast<OverflowingBinaryOperator>(this)->hasNoUnsignedWrap(); in hasNoUnsignedWrap()
683 if (OBO->hasNoUnsignedWrap()) in WriteOptimizationInfo()
549 if (OBO->hasNoUnsignedWrap()) in GetOptimizationFlags()