Searched refs:hasNoUnsignedWrap (Results 1 – 19 of 19) sorted by relevance
62 EXPECT_FALSE(AddClone->hasNoUnsignedWrap()); in TEST_F()64 EXPECT_FALSE(SubClone->hasNoUnsignedWrap()); in TEST_F()66 EXPECT_FALSE(MulClone->hasNoUnsignedWrap()); in TEST_F()79 EXPECT_TRUE(AddClone->hasNoUnsignedWrap()); in TEST_F()81 EXPECT_TRUE(SubClone->hasNoUnsignedWrap()); in TEST_F()83 EXPECT_TRUE(MulClone->hasNoUnsignedWrap()); in TEST_F()96 EXPECT_TRUE(AddClone->hasNoUnsignedWrap()); in TEST_F()98 EXPECT_TRUE(SubClone->hasNoUnsignedWrap()); in TEST_F()100 EXPECT_TRUE(MulClone->hasNoUnsignedWrap()); in TEST_F()113 EXPECT_FALSE(AddClone->hasNoUnsignedWrap()); in TEST_F()[all …]
91 I.hasNoUnsignedWrap(), TD)) in visitAdd()154 New->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitAdd()533 I.hasNoUnsignedWrap(), TD)) in visitSub()544 Res->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitSub()
37 isNUW = BO->hasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()59 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()421 isNUW = BO->hasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()443 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()
622 I.hasNoSignedWrap(), I.hasNoUnsignedWrap(), in visitShl()633 if (!I.hasNoUnsignedWrap() && in visitShl()
233 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap()); in FoldSelectIntoOp()268 BO->setHasNoUnsignedWrap(FVI_BO->hasNoUnsignedWrap()); in FoldSelectIntoOp()
1265 if (cast<BinaryOperator>(LHSI)->hasNoUnsignedWrap()) in visitICmpInstWithInstAndIntCst()2274 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) || in visitICmpInst()2278 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || in visitICmpInst()2429 bool NUW = BO0->hasNoUnsignedWrap() && BO1->hasNoUnsignedWrap(); in visitICmpInst()
586 else if (IOp->hasNoUnsignedWrap()) in SimplifyDemandedUseBits()
35 if (OBI && !OBI->hasNoUnsignedWrap()) { in DecomposeSimpleLinearExpr()
266 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); in PHITranslateSubExpr()435 Res->setHasNoUnsignedWrap(cast<BinaryOperator>(Inst)->hasNoUnsignedWrap()); in InsertPHITranslatedSubExpr()
828 (!isSigned && Mul->hasNoUnsignedWrap())) in SimplifyDiv()1092 cast<OverflowingBinaryOperator>(Op0)->hasNoUnsignedWrap()) in SimplifyLShrInst()1765 (CmpInst::isUnsigned(Pred) && LBO->hasNoUnsignedWrap()) || in SimplifyICmpInst()1771 (CmpInst::isUnsigned(Pred) && RBO->hasNoUnsignedWrap()) || in SimplifyICmpInst()1877 bool NUW = LBO->hasNoUnsignedWrap() && LBO->hasNoUnsignedWrap(); in SimplifyICmpInst()2391 cast<BinaryOperator>(I)->hasNoUnsignedWrap(), in SimplifyInstruction()2397 cast<BinaryOperator>(I)->hasNoUnsignedWrap(), in SimplifyInstruction()2424 cast<BinaryOperator>(I)->hasNoUnsignedWrap(), in SimplifyInstruction()
789 if (BO->hasNoUnsignedWrap()) in isKnownNonZero()
2948 if (OBO->hasNoUnsignedWrap()) in createNodeForPHI()
95 bool hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function
355 bool hasNoUnsignedWrap() const;
1710 bool BinaryOperator::hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function in BinaryOperator1711 return cast<OverflowingBinaryOperator>(this)->hasNoUnsignedWrap(); in hasNoUnsignedWrap()
665 if (OBO->hasNoUnsignedWrap()) in WriteOptimizationInfo()
923 if (OBO->hasNoUnsignedWrap()) WideBO->setHasNoUnsignedWrap(); in CloneIVUser()
503 if (OBO->hasNoUnsignedWrap()) in GetOptimizationFlags()