| /freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineShifts.cpp | 589 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); in FoldShiftByConstant() 615 if (ShiftOp->hasNoSignedWrap()) { in FoldShiftByConstant() 663 if (ShiftOp->hasNoSignedWrap()) { in FoldShiftByConstant() 679 I.hasNoSignedWrap(), I.hasNoUnsignedWrap(), in visitShl() 698 if (!I.hasNoSignedWrap() && in visitShl() 774 if (cast<OverflowingBinaryOperator>(Op0)->hasNoSignedWrap()) in visitAShr()
|
| D | InstCombinePHI.cpp | 38 isNSW = BO->hasNoSignedWrap(); in FoldPHIArgBinOpIntoPHI() 61 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in FoldPHIArgBinOpIntoPHI() 426 isNSW = BO->hasNoSignedWrap(); in FoldPHIArgOpIntoPHI() 449 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
|
| D | InstCombineAddSub.cpp | 917 if (Value *V = SimplifyAddInst(LHS, RHS, I.hasNoSignedWrap(), in visitAdd() 997 New->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitAdd() 1355 if (Value *V = SimplifySubInst(Op0, Op1, I.hasNoSignedWrap(), in visitSub() 1366 Res->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitSub()
|
| D | InstCombineCompares.cpp | 1344 cast<BinaryOperator>(LHSI)->hasNoSignedWrap()) in visitICmpInstWithInstAndIntCst() 1455 if (cast<BinaryOperator>(LHSI)->hasNoSignedWrap() && RHSV == 0) in visitICmpInstWithInstAndIntCst() 1476 cast<BinaryOperator>(LHSI)->hasNoSignedWrap()) in visitICmpInstWithInstAndIntCst() 1735 if (RHSV == 0 && BO->hasNoSignedWrap()) { in visitICmpInstWithInstAndIntCst() 2614 (CmpInst::isSigned(Pred) && BO0->hasNoSignedWrap()); in visitICmpInst() 2618 (CmpInst::isSigned(Pred) && BO1->hasNoSignedWrap()); in visitICmpInst() 2835 bool NSW = BO0->hasNoSignedWrap() && BO1->hasNoSignedWrap(); in visitICmpInst()
|
| D | InstructionCombining.cpp | 134 if (!OBO || !OBO->hasNoSignedWrap()) { in MaintainNoSignedWrap() 231 (!Op0 || (isa<BinaryOperator>(Op0) && Op0->hasNoSignedWrap()))) { in SimplifyAssociativeOrCommutative() 907 NoSignedWrap = BO->hasNoSignedWrap(); in Descale() 946 NoSignedWrap = BO->hasNoSignedWrap(); in Descale() 1051 bool OpNoSignedWrap = BO->hasNoSignedWrap(); in Descale()
|
| D | InstCombineSelect.cpp | 241 BO->setHasNoSignedWrap(TVI_BO->hasNoSignedWrap()); in FoldSelectIntoOp() 276 BO->setHasNoSignedWrap(FVI_BO->hasNoSignedWrap()); in FoldSelectIntoOp()
|
| D | InstCombineSimplifyDemanded.cpp | 613 if (IOp->hasNoSignedWrap()) in SimplifyDemandedUseBits() 892 New->setHasNoSignedWrap(Orig->hasNoSignedWrap()); in SimplifyShrShlDemandedBits()
|
| D | InstCombineMulDivRem.cpp | 153 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap(); in visitMul() 932 if (match(Sub->getOperand(0), m_Zero()) && Sub->hasNoSignedWrap()) in visitSDiv()
|
| D | InstCombineVectorOps.cpp | 638 New->setHasNoSignedWrap(BO->hasNoSignedWrap()); in BuildNew()
|
| D | InstCombineCasts.cpp | 37 if (OBI && !OBI->hasNoUnsignedWrap() && !OBI->hasNoSignedWrap()) { in DecomposeSimpleLinearExpr()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | EarlyCSE.cpp | 99 BinOp->hasNoSignedWrap() * OverflowingBinaryOperator::NoSignedWrap | in getHashValue() 164 LHSBinOp->hasNoSignedWrap() != RHSBinOp->hasNoSignedWrap()) in isEqual()
|
| D | IndVarSimplify.cpp | 823 if (OBO->hasNoSignedWrap()) WideBO->setHasNoSignedWrap(); in CloneIVUser() 846 if (IsSigned && OBO->hasNoSignedWrap()) in GetExtendedOperandRecurrence()
|
| D | GVN.cpp | 1767 if (ReplOp->hasNoSignedWrap() && !Op->hasNoSignedWrap()) in patchReplacementInstruction()
|
| /freebsd-9-stable/contrib/llvm/lib/Analysis/ |
| D | PHITransAddr.cpp | 266 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); in PHITranslateSubExpr() 435 Res->setHasNoSignedWrap(cast<BinaryOperator>(Inst)->hasNoSignedWrap()); in InsertPHITranslatedSubExpr()
|
| D | InstructionSimplify.cpp | 1106 if ((isSigned && Mul->hasNoSignedWrap()) || in SimplifyDiv() 1414 cast<OverflowingBinaryOperator>(Op0)->hasNoSignedWrap()) in SimplifyAShrInst() 2210 (CmpInst::isSigned(Pred) && LBO->hasNoSignedWrap()); in SimplifyICmpInst() 2216 (CmpInst::isSigned(Pred) && RBO->hasNoSignedWrap()); in SimplifyICmpInst() 2347 bool NSW = LBO->hasNoSignedWrap() && RBO->hasNoSignedWrap(); in SimplifyICmpInst() 3051 cast<BinaryOperator>(I)->hasNoSignedWrap(), in SimplifyInstruction() 3061 cast<BinaryOperator>(I)->hasNoSignedWrap(), in SimplifyInstruction() 3092 cast<BinaryOperator>(I)->hasNoSignedWrap(), in SimplifyInstruction()
|
| D | ValueTracking.cpp | 384 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in ComputeMaskedBits() 534 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in ComputeMaskedBits() 541 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in ComputeMaskedBits() 872 if (OrZero || VOBO->hasNoUnsignedWrap() || VOBO->hasNoSignedWrap()) { in isKnownToBeAPowerOfTwo() 1088 if ((BO->hasNoSignedWrap() || BO->hasNoUnsignedWrap()) && in isKnownNonZero()
|
| D | ScalarEvolution.cpp | 3089 if (OBO->hasNoSignedWrap()) in createNodeForPHI() 3109 if (OBO->hasNoSignedWrap()) in createNodeForPHI()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/IR/ |
| D | Operator.h | 107 bool hasNoSignedWrap() const { in hasNoSignedWrap() function
|
| D | InstrTypes.h | 356 bool hasNoSignedWrap() const;
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | Instructions.cpp | 2013 bool BinaryOperator::hasNoSignedWrap() const { in hasNoSignedWrap() function in BinaryOperator 2014 return cast<OverflowingBinaryOperator>(this)->hasNoSignedWrap(); in hasNoSignedWrap()
|
| D | AsmWriter.cpp | 754 if (OBO->hasNoSignedWrap()) in WriteOptimizationInfo()
|
| /freebsd-9-stable/contrib/llvm/lib/Bitcode/Writer/ |
| D | BitcodeWriter.cpp | 673 if (OBO->hasNoSignedWrap()) in GetOptimizationFlags()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Vectorize/ |
| D | LoopVectorize.cpp | 2624 VecOp->setHasNoSignedWrap(BinOp->hasNoSignedWrap()); in vectorizeBlockInLoop()
|