Home
last modified time | relevance | path

Searched refs:isNUW (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/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/swiftshader/third_party/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()
405 bool isNUW = false, isNSW = false, isExact = false; in FoldPHIArgOpIntoPHI() local
425 isNUW = BO->hasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
446 if (isNUW) in FoldPHIArgOpIntoPHI()
447 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
492 if (isNUW) BinOp->setHasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h51 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
60 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
154 Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW,
/external/swiftshader/third_party/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.cpp542 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument
604 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument
606 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); in SimplifyAddInst()
611 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument
725 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument
727 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); in SimplifySubInst()
1074 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument
1092 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument
1094 return ::SimplifyShlInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); in SimplifyShlInst()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp261 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); in PHITranslateSubExpr() local
272 isNSW = isNUW = false; in PHITranslateSubExpr()
283 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, DL, TLI, DT, AC)) { in PHITranslateSubExpr()
DInstructionSimplify.cpp529 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument
582 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument
586 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), in SimplifyAddInst()
663 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument
683 if (isNUW && match(Op0, m_Zero())) in SimplifySubInst()
777 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument
781 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), in SimplifySubInst()
1375 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument
1383 return isNSW || isNUW ? Op0 : Constant::getNullValue(Op0->getType()); in SimplifyShlInst()
1392 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument
[all …]