Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/include/llvm/IR/
DNoFolder.h49 if (HasNSW) BO->setHasNoSignedWrap();
62 if (HasNSW) BO->setHasNoSignedWrap();
75 if (HasNSW) BO->setHasNoSignedWrap();
117 if (HasNSW) BO->setHasNoSignedWrap();
161 if (HasNSW) BO->setHasNoSignedWrap();
/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();
DInstruction.h242 void setHasNoSignedWrap(bool b = true);
DOperator.h88 void setHasNoSignedWrap(bool B) { in setHasNoSignedWrap() function
DInstrTypes.h401 BO->setHasNoSignedWrap(true);
407 BO->setHasNoSignedWrap(true);
413 BO->setHasNoSignedWrap(true);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DNoFolder.h45 if (HasNSW) BO->setHasNoSignedWrap();
65 if (HasNSW) BO->setHasNoSignedWrap();
85 if (HasNSW) BO->setHasNoSignedWrap();
143 if (HasNSW) BO->setHasNoSignedWrap();
186 if (HasNSW) BO->setHasNoSignedWrap();
DInstruction.h339 void setHasNoSignedWrap(bool b = true);
/external/llvm/lib/IR/
DInstruction.cpp103 void Instruction::setHasNoSignedWrap(bool b) { in setHasNoSignedWrap() function in Instruction
104 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); in setHasNoSignedWrap()
221 setHasNoSignedWrap(OB->hasNoSignedWrap()); in copyIRFlags()
240 setHasNoSignedWrap(hasNoSignedWrap() & OB->hasNoSignedWrap()); in andIRFlags()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp104 void Instruction::setHasNoSignedWrap(bool b) { in setHasNoSignedWrap() function in Instruction
105 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); in setHasNoSignedWrap()
127 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(false); in dropPoisonGeneratingFlags()
247 setHasNoSignedWrap(OB->hasNoSignedWrap()); in copyIRFlags()
270 setHasNoSignedWrap(hasNoSignedWrap() & OB->hasNoSignedWrap()); in andIRFlags()
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp123 void Instruction::setHasNoSignedWrap(bool b) { in setHasNoSignedWrap() function in Instruction
124 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); in setHasNoSignedWrap()
146 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(false); in dropPoisonGeneratingFlags()
271 setHasNoSignedWrap(OB->hasNoSignedWrap()); in copyIRFlags()
294 setHasNoSignedWrap(hasNoSignedWrap() & OB->hasNoSignedWrap()); in andIRFlags()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp97 Add->setHasNoSignedWrap(); in TEST_F()
98 Sub->setHasNoSignedWrap(); in TEST_F()
99 Mul->setHasNoSignedWrap(); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp233 BO->setHasNoSignedWrap(false); in GetShiftedValue()
256 BO->setHasNoSignedWrap(false); in GetShiftedValue()
608 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); in FoldShiftByConstant()
687 NewShl->setHasNoSignedWrap(true); in FoldShiftByConstant()
723 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()
394 I.setHasNoSignedWrap(true); in visitMul()
852 BO->setHasNoSignedWrap( in commonIDivTransforms()
880 BO->setHasNoSignedWrap( in commonIDivTransforms()
DInstCombineAddSub.cpp1117 New->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd()
1263 New->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd()
1272 New->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd()
1283 I.setHasNoSignedWrap(true); in visitAdd()
1494 Res->setHasNoSignedWrap(true); in visitSub()
1497 Res->setHasNoSignedWrap(true); in visitSub()
1661 I.setHasNoSignedWrap(true); in visitSub()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp190 BO->setHasNoSignedWrap(); in visitMul()
210 BO->setHasNoSignedWrap(); in visitMul()
224 Shl->setHasNoSignedWrap(); in visitMul()
289 NewMul->setHasNoSignedWrap(); in visitMul()
352 BO->setHasNoSignedWrap(); in visitMul()
382 I.setHasNoSignedWrap(true); in visitMul()
728 Mul->setHasNoSignedWrap(OBO->hasNoSignedWrap()); in commonIDivTransforms()
754 Mul->setHasNoSignedWrap(OBO->hasNoSignedWrap()); in commonIDivTransforms()
DInstCombineAddSub.cpp1075 BOp->setHasNoSignedWrap(); in canonicalizeLowbitMask()
1280 Shl->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd()
1394 I.setHasNoSignedWrap(true); in visitAdd()
1701 Res->setHasNoSignedWrap(true); in visitSub()
1704 Res->setHasNoSignedWrap(true); in visitSub()
1998 Add->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitSub()
2006 Add->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitSub()
2105 I.setHasNoSignedWrap(true); in visitSub()
DInstCombineShifts.cpp145 NewShift->setHasNoSignedWrap(Sh0->hasNoSignedWrap() && in reassociateShiftAmtsOfTwoSameDirectionShifts()
565 InnerShift->setHasNoSignedWrap(false); in foldShiftedShift()
975 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitShl()
1005 I.setHasNoSignedWrap(); in visitShl()
1288 NewShl->setHasNoSignedWrap(true); in visitAShr()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp161 BO->setHasNoSignedWrap(); in visitMul()
181 BO->setHasNoSignedWrap(); in visitMul()
195 Shl->setHasNoSignedWrap(); in visitMul()
255 NewMul->setHasNoSignedWrap(); in visitMul()
318 BO->setHasNoSignedWrap(); in visitMul()
369 I.setHasNoSignedWrap(true); in visitMul()
755 Mul->setHasNoSignedWrap(OBO->hasNoSignedWrap()); in commonIDivTransforms()
781 Mul->setHasNoSignedWrap(OBO->hasNoSignedWrap()); in commonIDivTransforms()
DInstCombineShifts.cpp146 NewShift->setHasNoSignedWrap(Sh0->hasNoSignedWrap() && in reassociateShiftAmtsOfTwoSameDirectionShifts()
542 InnerShift->setHasNoSignedWrap(false); in foldShiftedShift()
934 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitShl()
955 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitShl()
990 I.setHasNoSignedWrap(); in visitShl()
1279 NewShl->setHasNoSignedWrap(true); in visitAShr()
DInstCombineAddSub.cpp1113 BOp->setHasNoSignedWrap(); in canonicalizeLowbitMask()
1271 NewI->setHasNoSignedWrap(HasNSW); in factorizeMathWithShlOps()
1275 NewShl->setHasNoSignedWrap(HasNSW); in factorizeMathWithShlOps()
1313 Shl->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd()
1419 I.setHasNoSignedWrap(true); in visitAdd()
1715 Res->setHasNoSignedWrap(true); in visitSub()
1718 Res->setHasNoSignedWrap(true); in visitSub()
1744 I.setHasNoSignedWrap(true); in visitSub()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp393 NewResult->setHasNoSignedWrap(true); in eliminateOverflowIntrinsic()
543 BO->setHasNoSignedWrap(); in strengthenOverflowingOperation()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp454 NewResult->setHasNoSignedWrap(true); in eliminateOverflowIntrinsic()
490 BO->setHasNoSignedWrap(); in eliminateSaturatingIntrinsic()
753 BO->setHasNoSignedWrap(); in strengthenOverflowingOperation()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h267 void setHasNoSignedWrap(bool b = true);
/external/llvm-project/llvm/unittests/Transforms/Utils/
DCloningTest.cpp105 Add->setHasNoSignedWrap(); in TEST_F()
106 Sub->setHasNoSignedWrap(); in TEST_F()
107 Mul->setHasNoSignedWrap(); in TEST_F()
/external/llvm-project/llvm/lib/Analysis/
DPHITransAddr.cpp431 Res->setHasNoSignedWrap(cast<BinaryOperator>(Inst)->hasNoSignedWrap()); in InsertPHITranslatedSubExpr()

123