Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h34 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
41 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
90 Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW,
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp34 bool isNUW = false, isNSW = false, isExact = false; in FoldPHIArgBinOpIntoPHI() local
38 isNSW = BO->hasNoSignedWrap(); in FoldPHIArgBinOpIntoPHI()
60 if (isNSW) in FoldPHIArgBinOpIntoPHI()
61 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in FoldPHIArgBinOpIntoPHI()
124 if (isNSW) NewBinOp->setHasNoSignedWrap(); in FoldPHIArgBinOpIntoPHI()
405 bool isNUW = false, isNSW = false, isExact = false; in FoldPHIArgOpIntoPHI() local
426 isNSW = BO->hasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
448 if (isNSW) in FoldPHIArgOpIntoPHI()
449 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
493 if (isNSW) BinOp->setHasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp264 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); in PHITranslateSubExpr() local
276 isNSW = isNUW = false; in PHITranslateSubExpr()
286 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, TD, TLI, DT)) { in PHITranslateSubExpr()
DInstructionSimplify.cpp592 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument
653 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument
656 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, Query (TD, TLI, DT), in SimplifyAddInst()
757 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument
882 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument
885 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Query (TD, TLI, DT), in SimplifySubInst()
1234 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument
1250 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument
1253 return ::SimplifyShlInst(Op0, Op1, isNSW, isNUW, Query (TD, TLI, DT), in SimplifyShlInst()