Home
last modified time | relevance | path

Searched refs:setHasNoUnsignedWrap (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/IR/
DNoFolder.h43 if (HasNUW) BO->setHasNoUnsignedWrap();
59 if (HasNUW) BO->setHasNoUnsignedWrap();
75 if (HasNUW) BO->setHasNoUnsignedWrap();
121 if (HasNUW) BO->setHasNoUnsignedWrap();
159 if (HasNUW) BO->setHasNoUnsignedWrap();
DInstrTypes.h411 BO->setHasNoUnsignedWrap(true);
417 BO->setHasNoUnsignedWrap(true);
423 BO->setHasNoUnsignedWrap(true);
531 void setHasNoUnsignedWrap(bool b = true);
DOperator.h84 void setHasNoUnsignedWrap(bool B) { in setHasNoUnsignedWrap() function
DIRBuilder.h746 if (HasNUW) BO->setHasNoUnsignedWrap(); in CreateInsertNUWNSWBinOp()
999 if (HasNUW) BO->setHasNoUnsignedWrap();
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp81 Add->setHasNoUnsignedWrap(); in TEST_F()
82 Sub->setHasNoUnsignedWrap(); in TEST_F()
83 Mul->setHasNoUnsignedWrap(); in TEST_F()
115 Add->setHasNoUnsignedWrap(false); in TEST_F()
116 Sub->setHasNoUnsignedWrap(false); in TEST_F()
117 Mul->setHasNoUnsignedWrap(false); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp233 BO->setHasNoUnsignedWrap(false); in GetShiftedValue()
256 BO->setHasNoUnsignedWrap(false); in GetShiftedValue()
606 NewShl->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in FoldShiftByConstant()
667 NewShl->setHasNoUnsignedWrap(true); in FoldShiftByConstant()
715 I.setHasNoUnsignedWrap(); in visitShl()
DInstCombineMulDivRem.cpp66 I->setHasNoUnsignedWrap(); in simplifyValueKnownNonZero()
209 BO->setHasNoUnsignedWrap(); in visitMul()
231 Shl->setHasNoUnsignedWrap(); in visitMul()
362 BO->setHasNoUnsignedWrap(); in visitMul()
398 I.setHasNoUnsignedWrap(true); in visitMul()
835 BO->setHasNoUnsignedWrap( in commonIDivTransforms()
863 BO->setHasNoUnsignedWrap( in commonIDivTransforms()
DInstCombineAddSub.cpp1138 New->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitAdd()
1284 New->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitAdd()
1293 New->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitAdd()
1309 I.setHasNoUnsignedWrap(true); in visitAdd()
1685 I.setHasNoUnsignedWrap(true); in visitSub()
DInstCombinePHI.cpp124 if (isNUW) NewBinOp->setHasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()
584 if (isNUW) BinOp->setHasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
DInstCombineSimplifyDemanded.cpp544 BinOP.setHasNoUnsignedWrap(false); in SimplifyDemandedUseBits()
853 New->setHasNoUnsignedWrap(Orig->hasNoUnsignedWrap()); in SimplifyShrShlDemandedBits()
DInstCombineSelect.cpp237 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap()); in FoldSelectIntoOp()
272 BO->setHasNoUnsignedWrap(FVI_BO->hasNoUnsignedWrap()); in FoldSelectIntoOp()
DInstCombineVectorOps.cpp648 New->setHasNoUnsignedWrap(BO->hasNoUnsignedWrap()); in buildNew()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp435 Res->setHasNoUnsignedWrap(cast<BinaryOperator>(Inst)->hasNoUnsignedWrap()); in InsertPHITranslatedSubExpr()
DScalarEvolutionExpander.cpp1226 cast<BinaryOperator>(IncV)->setHasNoUnsignedWrap(); in getAddRecExprPHILiterally()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp390 BO->setHasNoUnsignedWrap(); in strengthenOverflowingOperation()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp912 I->setHasNoUnsignedWrap(false); in NegateValue()
959 TheNeg->setHasNoUnsignedWrap(false); in NegateValue()
1050 Mul->setHasNoUnsignedWrap(NUW); in ConvertShiftToMul()
/external/llvm/lib/IR/
DInstructions.cpp2173 void BinaryOperator::setHasNoUnsignedWrap(bool b) { in setHasNoUnsignedWrap() function in BinaryOperator
2174 cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(b); in setHasNoUnsignedWrap()
2201 setHasNoUnsignedWrap(OB->hasNoUnsignedWrap()); in copyIRFlags()
2216 setHasNoUnsignedWrap(hasNoUnsignedWrap() & OB->hasNoUnsignedWrap()); in andIRFlags()
DConstants.cpp3031 BO->setHasNoUnsignedWrap(SubclassOptionalData & in getAsInstruction()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4100 cast<BinaryOperator>(I)->setHasNoUnsignedWrap(true); in parseFunctionBody()
/external/llvm/lib/AsmParser/
DLLParser.cpp4744 if (NUW) cast<BinaryOperator>(Inst)->setHasNoUnsignedWrap(true); in ParseInstruction()