Home
last modified time | relevance | path

Searched refs:hasNoUnsignedWrap (Results 1 – 19 of 19) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp62 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 …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp91 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()
DInstCombinePHI.cpp37 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()
DInstCombineMulDivRem.cpp62 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) { in simplifyValueKnownNonZero()
126 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap(); in visitMul()
DInstCombineShifts.cpp622 I.hasNoSignedWrap(), I.hasNoUnsignedWrap(), in visitShl()
633 if (!I.hasNoUnsignedWrap() && in visitShl()
DInstCombineSelect.cpp233 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap()); in FoldSelectIntoOp()
268 BO->setHasNoUnsignedWrap(FVI_BO->hasNoUnsignedWrap()); in FoldSelectIntoOp()
DInstCombineCompares.cpp1265 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()
DInstCombineSimplifyDemanded.cpp586 else if (IOp->hasNoUnsignedWrap()) in SimplifyDemandedUseBits()
DInstCombineCasts.cpp35 if (OBI && !OBI->hasNoUnsignedWrap()) { in DecomposeSimpleLinearExpr()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp266 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); in PHITranslateSubExpr()
435 Res->setHasNoUnsignedWrap(cast<BinaryOperator>(Inst)->hasNoUnsignedWrap()); in InsertPHITranslatedSubExpr()
DInstructionSimplify.cpp828 (!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()
DValueTracking.cpp789 if (BO->hasNoUnsignedWrap()) in isKnownNonZero()
DScalarEvolution.cpp2948 if (OBO->hasNoUnsignedWrap()) in createNodeForPHI()
/external/llvm/include/llvm/
DOperator.h95 bool hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function
DInstrTypes.h355 bool hasNoUnsignedWrap() const;
/external/llvm/lib/VMCore/
DInstructions.cpp1710 bool BinaryOperator::hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function in BinaryOperator
1711 return cast<OverflowingBinaryOperator>(this)->hasNoUnsignedWrap(); in hasNoUnsignedWrap()
DAsmWriter.cpp665 if (OBO->hasNoUnsignedWrap()) in WriteOptimizationInfo()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp923 if (OBO->hasNoUnsignedWrap()) WideBO->setHasNoUnsignedWrap(); in CloneIVUser()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp503 if (OBO->hasNoUnsignedWrap()) in GetOptimizationFlags()