Home
last modified time | relevance | path

Searched refs:IsNSW (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp325 bool IsNSW; member
328 const APInt &Offset, bool IsNSW) in LinearExpression()
329 : Val(Val), Scale(Scale), Offset(Offset), IsNSW(IsNSW) {} in LinearExpression()
395 E.IsNSW &= NSW; in GetLinearExpression()
402 E.IsNSW &= NSW; in GetLinearExpression()
423 E.IsNSW &= NSW; in GetLinearExpression()
465 bool IsNSW; member
1220 if (!Index.IsNSW) in aliasGEP()
1240 if (Index.IsNSW) in aliasGEP()
1283 if (Var.IsNSW) in aliasGEP()
[all …]
H A DInstructionSimplify.cpp630 static Value *simplifyAddInst(Value *Op0, Value *Op1, bool IsNSW, bool IsNUW, in simplifyAddInst() argument
667 if ((IsNSW || IsNUW) && match(Op1, m_SignMask()) && 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()
1276 Value *Op1, bool IsNSW, const SimplifyQuery &Q, in simplifyShift() argument
1326 if (IsNSW) { in simplifyShift()
H A DScalarEvolution.cpp3753 const SCEV *ScalarEvolution::getAbsExpr(const SCEV *Op, bool IsNSW) { in getAbsExpr() argument
3754 SCEV::NoWrapFlags Flags = IsNSW ? SCEV::FlagNSW : SCEV::FlagAnyWrap; in getAbsExpr()
5061 bool IsNSW = false; member
5072 IsNSW = OBO->hasNoSignedWrap(); in BinaryOp()
5077 explicit BinaryOp(unsigned Opcode, Value *LHS, Value *RHS, bool IsNSW = false, in BinaryOp()
5079 : Opcode(Opcode), LHS(LHS), RHS(RHS), IsNSW(IsNSW), IsNUW(IsNUW) {} in BinaryOp()
5581 if (BO->IsNSW) in createSimpleAffineAddRec()
5681 if (BO->IsNSW) in createAddRecFromPHI()
7770 if (BO->Opcode == Instruction::Sub && BO->IsNSW) { in createSCEV()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolution.h625 const SCEV *getAbsExpr(const SCEV *Op, bool IsNSW);
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp434 bool IsNSW = maintainNoSignedWrap(I, B, C) && hasNoSignedWrap(*Op0); in SimplifyAssociativeOrCommutative() local
446 if (IsNSW) in SimplifyAssociativeOrCommutative()