Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp3483 const SCEV *ScalarEvolution::getAbsExpr(const SCEV *Op, bool IsNSW) { in getAbsExpr() argument
3484 SCEV::NoWrapFlags Flags = IsNSW ? SCEV::FlagNSW : SCEV::FlagAnyWrap; in getAbsExpr()
4542 bool IsNSW = false; member
4554 IsNSW = OBO->hasNoSignedWrap(); in BinaryOp()
4561 explicit BinaryOp(unsigned Opcode, Value *LHS, Value *RHS, bool IsNSW = false, in BinaryOp()
4563 : Opcode(Opcode), LHS(LHS), RHS(RHS), IsNSW(IsNSW), IsNUW(IsNUW), in BinaryOp()
5063 if (BO->IsNSW) in createSimpleAffineAddRec()
5161 if (BO->IsNSW) in createAddRecFromPHI()
6676 if (BO->Opcode == Instruction::Sub && BO->IsNSW) { in createSCEV()
DInstructionSimplify.cpp609 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool IsNSW, bool IsNUW, in SimplifyAddInst() argument
643 if ((IsNSW || IsNUW) && match(Op1, m_SignMask()) && in SimplifyAddInst()
673 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool IsNSW, bool IsNUW, in SimplifyAddInst() argument
675 return ::SimplifyAddInst(Op0, Op1, IsNSW, IsNUW, Query, RecursionLimit); in SimplifyAddInst()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp3793 bool IsNSW; member
3802 IsNSW(false), IsNUW(false), Op(Op) { in BinaryOp()
3804 IsNSW = OBO->hasNoSignedWrap(); in BinaryOp()
3809 explicit BinaryOp(unsigned Opcode, Value *LHS, Value *RHS, bool IsNSW = false, in BinaryOp()
3811 : Opcode(Opcode), LHS(LHS), RHS(RHS), IsNSW(IsNSW), IsNUW(IsNUW), in BinaryOp()
3986 if (BO->IsNSW) in createAddRecFromPHI()
/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolution.h577 const SCEV *getAbsExpr(const SCEV *Op, bool IsNSW);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp4481 bool IsNSW = false; member
4492 IsNSW = OBO->hasNoSignedWrap(); in BinaryOp()
4497 explicit BinaryOp(unsigned Opcode, Value *LHS, Value *RHS, bool IsNSW = false, in BinaryOp()
4499 : Opcode(Opcode), LHS(LHS), RHS(RHS), IsNSW(IsNSW), IsNUW(IsNUW) {} in BinaryOp()
4998 if (BO->IsNSW) in createSimpleAffineAddRec()
5096 if (BO->IsNSW) in createAddRecFromPHI()
6503 if (BO->Opcode == Instruction::Sub && BO->IsNSW) { in createSCEV()
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()
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp356 bool IsNSW = maintainNoSignedWrap(I, B, C) && hasNoSignedWrap(*Op0); in SimplifyAssociativeOrCommutative() local
368 if (IsNSW) in SimplifyAssociativeOrCommutative()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp397 bool IsNSW = maintainNoSignedWrap(I, B, C) && hasNoSignedWrap(*Op0); in SimplifyAssociativeOrCommutative() local
409 if (IsNSW) in SimplifyAssociativeOrCommutative()