Home
last modified time | relevance | path

Searched refs:setHasNoSignedWrap (Results 1 – 21 of 21) sorted by relevance

/external/llvm/include/llvm/IR/
DNoFolder.h44 if (HasNSW) BO->setHasNoSignedWrap();
60 if (HasNSW) BO->setHasNoSignedWrap();
76 if (HasNSW) BO->setHasNoSignedWrap();
122 if (HasNSW) BO->setHasNoSignedWrap();
160 if (HasNSW) BO->setHasNoSignedWrap();
DInstrTypes.h392 BO->setHasNoSignedWrap(true);
398 BO->setHasNoSignedWrap(true);
404 BO->setHasNoSignedWrap(true);
535 void setHasNoSignedWrap(bool b = true);
DOperator.h88 void setHasNoSignedWrap(bool B) { in setHasNoSignedWrap() function
DIRBuilder.h747 if (HasNSW) BO->setHasNoSignedWrap(); in CreateInsertNUWNSWBinOp()
1000 if (HasNSW) BO->setHasNoSignedWrap();
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp98 Add->setHasNoSignedWrap(); in TEST_F()
99 Sub->setHasNoSignedWrap(); in TEST_F()
100 Mul->setHasNoSignedWrap(); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp234 BO->setHasNoSignedWrap(false); in GetShiftedValue()
257 BO->setHasNoSignedWrap(false); in GetShiftedValue()
607 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); in FoldShiftByConstant()
686 NewShl->setHasNoSignedWrap(true); in FoldShiftByConstant()
722 I.setHasNoSignedWrap(); in visitShl()
DInstCombineMulDivRem.cpp192 BO->setHasNoSignedWrap(); in visitMul()
212 BO->setHasNoSignedWrap(); in visitMul()
235 Shl->setHasNoSignedWrap(); in visitMul()
299 BO->setHasNoSignedWrap(); in visitMul()
364 BO->setHasNoSignedWrap(); in visitMul()
391 I.setHasNoSignedWrap(true); in visitMul()
838 BO->setHasNoSignedWrap( in commonIDivTransforms()
866 BO->setHasNoSignedWrap( in commonIDivTransforms()
DInstCombineAddSub.cpp1137 New->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd()
1283 New->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd()
1292 New->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd()
1303 I.setHasNoSignedWrap(true); in visitAdd()
1514 Res->setHasNoSignedWrap(true); in visitSub()
1517 Res->setHasNoSignedWrap(true); in visitSub()
1681 I.setHasNoSignedWrap(true); in visitSub()
DInstCombinePHI.cpp125 if (isNSW) NewBinOp->setHasNoSignedWrap(); in FoldPHIArgBinOpIntoPHI()
585 if (isNSW) BinOp->setHasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
DInstCombineSimplifyDemanded.cpp543 BinOP.setHasNoSignedWrap(false); in SimplifyDemandedUseBits()
852 New->setHasNoSignedWrap(Orig->hasNoSignedWrap()); in SimplifyShrShlDemandedBits()
DInstCombineSelect.cpp238 BO->setHasNoSignedWrap(TVI_BO->hasNoSignedWrap()); in FoldSelectIntoOp()
273 BO->setHasNoSignedWrap(FVI_BO->hasNoSignedWrap()); in FoldSelectIntoOp()
DInstructionCombining.cpp223 I.setHasNoSignedWrap(true); in SimplifyAssociativeOrCommutative()
542 BO->setHasNoSignedWrap(HasNSW); in tryFactorization()
1222 BO->setHasNoSignedWrap(NoSignedWrap); in Descale()
DInstCombineVectorOps.cpp649 New->setHasNoSignedWrap(BO->hasNoSignedWrap()); in buildNew()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp434 Res->setHasNoSignedWrap(cast<BinaryOperator>(Inst)->hasNoSignedWrap()); in InsertPHITranslatedSubExpr()
DScalarEvolutionExpander.cpp1228 cast<BinaryOperator>(IncV)->setHasNoSignedWrap(); in getAddRecExprPHILiterally()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp402 BO->setHasNoSignedWrap(); in strengthenOverflowingOperation()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp913 I->setHasNoSignedWrap(false); in NegateValue()
960 TheNeg->setHasNoSignedWrap(false); in NegateValue()
1049 Mul->setHasNoSignedWrap(true); in ConvertShiftToMul()
/external/llvm/lib/IR/
DInstructions.cpp2177 void BinaryOperator::setHasNoSignedWrap(bool b) { in setHasNoSignedWrap() function in BinaryOperator
2178 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); in setHasNoSignedWrap()
2200 setHasNoSignedWrap(OB->hasNoSignedWrap()); in copyIRFlags()
2215 setHasNoSignedWrap(hasNoSignedWrap() & OB->hasNoSignedWrap()); in andIRFlags()
DConstants.cpp3033 BO->setHasNoSignedWrap(SubclassOptionalData & in getAsInstruction()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4098 cast<BinaryOperator>(I)->setHasNoSignedWrap(true); in parseFunctionBody()
/external/llvm/lib/AsmParser/
DLLParser.cpp4745 if (NSW) cast<BinaryOperator>(Inst)->setHasNoSignedWrap(true); in ParseInstruction()