Searched refs:IsNUW (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 266 bool IsNUW = getOpcode() == VPInstruction::CanonicalIVIncrementNUW; in generateInstruction() local 272 Next = Builder.CreateAdd(Phi, Step, Name, IsNUW, false); in generateInstruction() 283 bool IsNUW = getOpcode() == VPInstruction::CanonicalIVIncrementForPartNUW; in generateInstruction() local 293 Value *Next = Builder.CreateAdd(IV, Step, Name, IsNUW, false); in generateInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 433 bool IsNUW = hasNoUnsignedWrap(I) && hasNoUnsignedWrap(*Op0); in SimplifyAssociativeOrCommutative() local 443 if (IsNUW) in SimplifyAssociativeOrCommutative() 532 bool IsNUW = hasNoUnsignedWrap(I) && in SimplifyAssociativeOrCommutative() local 535 BinaryOperator *NewBO = (IsNUW && Opcode == Instruction::Add) ? in SimplifyAssociativeOrCommutative() 552 if (IsNUW) in SimplifyAssociativeOrCommutative()
|
| H A D | InstCombineAddSub.cpp | 1679 Type *Ty, bool IsNUW) { in OptimizePointerDifference() argument 1735 if (IsNUW && !GEP2 && !Swapped && GEP1->isInBounds() && in OptimizePointerDifference()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 630 static Value *simplifyAddInst(Value *Op0, Value *Op1, bool IsNSW, bool IsNUW, in simplifyAddInst() argument 667 if ((IsNSW || IsNUW) && match(Op1, m_SignMask()) && in simplifyAddInst() 672 if (IsNUW && match(Op1, m_AllOnes())) in simplifyAddInst() 697 Value *llvm::simplifyAddInst(Value *Op0, Value *Op1, bool IsNSW, bool IsNUW, in simplifyAddInst() argument 699 return ::simplifyAddInst(Op0, Op1, IsNSW, IsNUW, Query, RecursionLimit); in simplifyAddInst()
|
| H A D | ScalarEvolution.cpp | 5062 bool IsNUW = false; member 5073 IsNUW = OBO->hasNoUnsignedWrap(); in BinaryOp() 5078 bool IsNUW = false) in BinaryOp() 5079 : Opcode(Opcode), LHS(LHS), RHS(RHS), IsNSW(IsNSW), IsNUW(IsNUW) {} in BinaryOp() 5579 if (BO->IsNUW) in createSimpleAffineAddRec() 5679 if (BO->IsNUW) in createAddRecFromPHI()
|