Home
last modified time | relevance | path

Searched refs:isNUW (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
37 isNUW = BO->hasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()
58 if (isNUW) in FoldPHIArgBinOpIntoPHI()
59 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()
123 if (isNUW) NewBinOp->setHasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()
401 bool isNUW = false, isNSW = false, isExact = false; in FoldPHIArgOpIntoPHI() local
421 isNUW = BO->hasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
442 if (isNUW) in FoldPHIArgOpIntoPHI()
443 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
488 if (isNUW) BinOp->setHasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp266 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); 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()