Home
last modified time | relevance | path

Searched refs:IsNUW (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp355 bool IsNUW = hasNoUnsignedWrap(I) && hasNoUnsignedWrap(*Op0); in SimplifyAssociativeOrCommutative() local
365 if (IsNUW) in SimplifyAssociativeOrCommutative()
453 bool IsNUW = hasNoUnsignedWrap(I) && in SimplifyAssociativeOrCommutative() local
456 BinaryOperator *NewBO = (IsNUW && Opcode == Instruction::Add) ? in SimplifyAssociativeOrCommutative()
473 if (IsNUW) in SimplifyAssociativeOrCommutative()
DInstCombineAddSub.cpp1588 Type *Ty, bool IsNUW) { in OptimizePointerDifference() argument
1660 if (IsNUW && !GEP2 && !Swapped && GEP1->isInBounds() && in OptimizePointerDifference()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp617 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool IsNSW, bool IsNUW, in SimplifyAddInst() argument
651 if ((IsNSW || IsNUW) && match(Op1, m_SignMask()) && in SimplifyAddInst()
656 if (IsNUW && match(Op1, m_AllOnes())) in SimplifyAddInst()
681 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool IsNSW, bool IsNUW, in SimplifyAddInst() argument
683 return ::SimplifyAddInst(Op0, Op1, IsNSW, IsNUW, Query, RecursionLimit); in SimplifyAddInst()
DScalarEvolution.cpp4482 bool IsNUW = false; member
4493 IsNUW = OBO->hasNoUnsignedWrap(); in BinaryOp()
4498 bool IsNUW = false) in BinaryOp()
4499 : Opcode(Opcode), LHS(LHS), RHS(RHS), IsNSW(IsNSW), IsNUW(IsNUW) {} in BinaryOp()
4996 if (BO->IsNUW) in createSimpleAffineAddRec()
5094 if (BO->IsNUW) in createAddRecFromPHI()