/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 122 if (I.hasNoUnsignedWrap()) { in generatePoisonChecksForBinOp() 135 if (I.hasNoUnsignedWrap()) { in generatePoisonChecksForBinOp() 148 if (I.hasNoUnsignedWrap()) { in generatePoisonChecksForBinOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instruction.cpp | 112 bool Instruction::hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function in Instruction 113 return cast<OverflowingBinaryOperator>(this)->hasNoUnsignedWrap(); in hasNoUnsignedWrap() 248 setHasNoUnsignedWrap(OB->hasNoUnsignedWrap()); in copyIRFlags() 271 setHasNoUnsignedWrap(hasNoUnsignedWrap() & OB->hasNoUnsignedWrap()); in andIRFlags()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 71 template <class InstT> bool hasNoUnsignedWrap(const InstT *Op) const { in hasNoUnsignedWrap() function 73 return Op->hasNoUnsignedWrap(); in hasNoUnsignedWrap()
|
D | ScalarEvolutionExpressions.h | 179 bool hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 84 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) { in simplifyValueKnownNonZero() 206 if (I.hasNoUnsignedWrap() && Mul->hasNoUnsignedWrap()) in visitMul() 219 if (I.hasNoUnsignedWrap()) in visitMul() 349 if (I.hasNoUnsignedWrap()) in visitMul() 385 if (!I.hasNoUnsignedWrap() && willNotOverflowUnsignedMul(Op0, Op1, I)) { in visitMul() 727 Mul->setHasNoUnsignedWrap(!IsSigned && OBO->hasNoUnsignedWrap()); in commonIDivTransforms() 753 Mul->setHasNoUnsignedWrap(!IsSigned && OBO->hasNoUnsignedWrap()); in commonIDivTransforms() 801 bool HasNUW = cast<OverflowingBinaryOperator>(Op1)->hasNoUnsignedWrap(); in commonIDivTransforms()
|
D | InstCombineShifts.cpp | 143 NewShift->setHasNoUnsignedWrap(Sh0->hasNoUnsignedWrap() && in reassociateShiftAmtsOfTwoSameDirectionShifts() 144 Sh1->hasNoUnsignedWrap()); in reassociateShiftAmtsOfTwoSameDirectionShifts() 929 I.hasNoSignedWrap(), I.hasNoUnsignedWrap(), Q)) in visitShl() 974 NewShl->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitShl() 997 if (!I.hasNoUnsignedWrap() && in visitShl() 1084 if (cast<BinaryOperator>(Op0)->hasNoUnsignedWrap()) { in visitLShr() 1098 if (cast<BinaryOperator>(Op0)->hasNoUnsignedWrap()) { in visitLShr()
|
D | InstCombineAddSub.cpp | 914 if (Add.hasNoSignedWrap() || Add.hasNoUnsignedWrap()) in foldAddWithConstant() 1076 BOp->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in canonicalizeLowbitMask() 1207 I.hasNoSignedWrap(), I.hasNoUnsignedWrap(), in visitAdd() 1281 Shl->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitAdd() 1396 if (!I.hasNoUnsignedWrap() && willNotOverflowUnsignedAdd(LHS, RHS, I)) { in visitAdd() 1681 I.hasNoSignedWrap(), I.hasNoUnsignedWrap(), in visitSub() 2064 I.hasNoUnsignedWrap())) in visitSub() 2090 Value *Neg = Builder.CreateNeg(A, "", I.hasNoUnsignedWrap(), in visitSub() 2107 if (!I.hasNoUnsignedWrap() && willNotOverflowUnsignedSub(Op0, Op1, I)) { in visitSub()
|
D | InstructionCombining.cpp | 241 static bool hasNoUnsignedWrap(BinaryOperator &I) { in hasNoUnsignedWrap() function 243 return OBO && OBO->hasNoUnsignedWrap(); in hasNoUnsignedWrap() 355 bool IsNUW = hasNoUnsignedWrap(I) && hasNoUnsignedWrap(*Op0); in SimplifyAssociativeOrCommutative() 453 bool IsNUW = hasNoUnsignedWrap(I) && in SimplifyAssociativeOrCommutative() 454 hasNoUnsignedWrap(*Op0) && in SimplifyAssociativeOrCommutative() 455 hasNoUnsignedWrap(*Op1); in SimplifyAssociativeOrCommutative() 619 HasNUW = I.hasNoUnsignedWrap(); in tryFactorization() 624 HasNUW &= LOBO->hasNoUnsignedWrap(); in tryFactorization() 629 HasNUW &= ROBO->hasNoUnsignedWrap(); in tryFactorization()
|
D | InstCombineSimplifyDemanded.cpp | 512 else if (IOp->hasNoUnsignedWrap()) in SimplifyDemandedUseBits() 982 New->setHasNoUnsignedWrap(Orig->hasNoUnsignedWrap()); in simplifyShrShlDemandedBits()
|
D | InstCombineCompares.cpp | 2077 if (Shl->hasNoUnsignedWrap()) { in foldICmpShlConstant() 2509 ((Cmp.isUnsigned() && Sub->hasNoUnsignedWrap()) || in foldICmpSubConstant() 2574 (Add->hasNoUnsignedWrap() && in foldICmpAddConstant() 3729 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) || in foldICmpBinOp() 3734 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || in foldICmpBinOp() 4032 bool NUW = BO0->hasNoUnsignedWrap() && BO1->hasNoUnsignedWrap(); in foldICmpBinOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 258 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); in PHITranslateSubExpr() 432 Res->setHasNoUnsignedWrap(cast<BinaryOperator>(Inst)->hasNoUnsignedWrap()); in InsertPHITranslatedSubExpr()
|
D | InstructionSimplify.cpp | 1065 (!IsSigned && Q.IIQ.hasNoUnsignedWrap(Mul))) in simplifyDiv() 1669 bool isNUW = IIQ.hasNoUnsignedWrap(AddInst); in simplifyAndOfICmpsWithAdd() 1742 bool isNUW = IIQ.hasNoUnsignedWrap(AddInst); in simplifyOrOfICmpsWithAdd() 2723 Q.IIQ.hasNoUnsignedWrap(cast<OverflowingBinaryOperator>(LBO))) || in simplifyICmpWithBinOp() 2733 Q.IIQ.hasNoUnsignedWrap(cast<OverflowingBinaryOperator>(RBO))) || in simplifyICmpWithBinOp() 2954 Q.IIQ.hasNoUnsignedWrap(cast<OverflowingBinaryOperator>(LBO)) || in simplifyICmpWithBinOp() 3001 bool NUW = Q.IIQ.hasNoUnsignedWrap(LBO) && Q.IIQ.hasNoUnsignedWrap(RBO); in simplifyICmpWithBinOp() 3732 if (Q.IIQ.hasNoSignedWrap(B) || Q.IIQ.hasNoUnsignedWrap(B)) in SimplifyWithOpReplaced() 5358 Q.IIQ.hasNoUnsignedWrap(cast<BinaryOperator>(I)), Q); in SimplifyInstruction() 5368 Q.IIQ.hasNoUnsignedWrap(cast<BinaryOperator>(I)), Q); in SimplifyInstruction() [all …]
|
D | DemandedBits.cpp | 195 else if (S->hasNoUnsignedWrap()) in determineLiveOperandBits()
|
D | ScalarEvolution.cpp | 277 if (AR->hasNoUnsignedWrap()) in print() 319 if (NAry->hasNoUnsignedWrap()) in print() 1701 if (!AR->hasNoUnsignedWrap()) { in getZeroExtendExpr() 1708 if (AR->hasNoUnsignedWrap()) in getZeroExtendExpr() 1871 if (SA->hasNoUnsignedWrap()) { in getZeroExtendExpr() 1904 if (SM->hasNoUnsignedWrap()) { in getZeroExtendExpr() 3351 if (!Mul || !Mul->hasNoUnsignedWrap()) in getUDivExactExpr() 3895 if (I->hasNoUnsignedWrap() && !NS->hasNoUnsignedWrap()) in SCEVLostPoisonFlags() 4459 if (!AR->hasNoUnsignedWrap()) { in proveNoWrapViaConstantRanges() 4493 IsNUW = OBO->hasNoUnsignedWrap(); in BinaryOp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 274 bool hasNoUnsignedWrap() const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Instruction.h | 346 bool hasNoUnsignedWrap() const;
|
D | Operator.h | 90 bool hasNoUnsignedWrap() const { in hasNoUnsignedWrap() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 732 if (BO->hasNoUnsignedWrap() && BO->hasNoSignedWrap()) in strengthenOverflowingOperation() 744 if (!BO->hasNoUnsignedWrap() && in strengthenOverflowingOperation()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 255 return I.hasNoUnsignedWrap(); in promotedOpIsNSW() 269 return I.hasNoUnsignedWrap(); in promotedOpIsNUW()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1276 else if(ExtKind == ZeroExtended && OBO->hasNoUnsignedWrap()) in getExtendedOperandRecurrence() 1440 else if (ExtKind == ZeroExtended && OBO->hasNoUnsignedWrap()) in widenWithVariantLoadUse() 2467 if (BO->hasNoUnsignedWrap()) in linearFunctionTestReplace() 2468 BO->setHasNoUnsignedWrap(AR->hasNoUnsignedWrap()); in linearFunctionTestReplace()
|
D | SeparateConstOffsetFromGEP.cpp | 542 if (ZeroExtended && !BO->hasNoUnsignedWrap()) in CanTraceInto()
|
D | CorrelatedValuePropagation.cpp | 751 bool NUW = BinOp->hasNoUnsignedWrap(); in processBinOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TypePromotion.cpp | 417 return cast<Instruction>(V)->hasNoUnsignedWrap(); in isPromotedResultSafe()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyInstrMemory.td | 28 [{ return N->getFlags().hasNoUnsignedWrap(); }]>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 520 if (getFlags().hasNoUnsignedWrap()) in print_details()
|