Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h32 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
37 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
77 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()
401 bool isNUW = false, isNSW = false, isExact = false; in FoldPHIArgOpIntoPHI() local
422 isNSW = BO->hasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
444 if (isNSW) in FoldPHIArgOpIntoPHI()
445 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
489 if (isNSW) BinOp->setHasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp265 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); in PHITranslateSubExpr() local
277 isNSW = isNUW = false; in PHITranslateSubExpr()
287 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, TD, DT)) { in PHITranslateSubExpr()
DInstructionSimplify.cpp522 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument
584 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument
586 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); in SimplifyAddInst()
591 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument
705 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument
707 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); in SimplifySubInst()
1054 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument
1072 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument
1074 return ::SimplifyShlInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); in SimplifyShlInst()