Home
last modified time | relevance | path

Searched refs:isNonNegative (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/Support/
DAPInt.cpp2007 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
2008 Res.isNonNegative() != isNonNegative(); in sadd_ov()
2020 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
2021 Res.isNonNegative() != isNonNegative(); in ssub_ov()
2062 if (isNonNegative()) // Don't allow sign change. in sshl_ov()
/external/llvm/include/llvm/ADT/
DAPInt.h325 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function
333 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp711 if (DemandedMask.isNegative() && KnownZero.isNonNegative()) { in SimplifyDemandedUseBits()
DInstCombineMulDivRem.cpp1134 if (I.isExact() && RHS->getValue().isNonNegative() && in visitSDiv()
DInstCombineCompares.cpp1327 (!AndCst->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DValueTracking.cpp1302 if (KnownZero.isNonNegative()) { in computeKnownBitsFromOperator()
3123 assert(Offset.isNonNegative() && "offset can't be negative"); in isDereferenceableFromAttribute()
3306 if (Offset.isNonNegative()) in isDereferenceableAndAlignedPointer()
DInstructionSimplify.cpp2700 if (RHSC->getValue().isNonNegative()) { in SimplifyICmpInst()
DScalarEvolution.cpp7363 if (MatchBinaryAddToConst(RHS, LHS, C, SCEV::FlagNSW) && C.isNonNegative()) in isKnownPredicateViaNoOverflow()
/external/clang/lib/Sema/
DSemaChecking.cpp6339 shift.isNonNegative()) { in GetExprRange()
6597 if (Value.isNonNegative() && OtherWidth >= Value.getActiveBits()) in DiagnoseOutOfRangeComparison()
6627 bool PositiveConstant = !ConstantSigned || Value.isNonNegative(); in DiagnoseOutOfRangeComparison()
6672 if (Value.isUnsigned() || Value.isNonNegative()) { in DiagnoseOutOfRangeComparison()
DSemaDecl.cpp13818 if (Value.isUnsigned() || Value.isNonNegative()) { in isRepresentableIntegerValue()
13921 << (EnumVal.isUnsigned() || EnumVal.isNonNegative()); in CheckEnumConstant()
14364 if (InitVal.isUnsigned() || InitVal.isNonNegative()) in ActOnEnumBody()
DSemaOpenMP.cpp5728 !((!StrictlyPositive && Result.isNonNegative()) || in IsNonNegativeIntegerValue()
DSemaExpr.cpp7831 if (index.isNonNegative() && in diagnoseStringPlusInt()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp815 assert(ExtentInt.isNonNegative() || ExtentInt.isUnsigned()); in collectSubRegionBindings()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1473 return DAG.getConstant(C1.isNonNegative(), dl, VT); in SimplifySetCC()
DSelectionDAG.cpp2365 if (CLHS->getAPIntValue().isNonNegative()) { in computeKnownBits()
DDAGCombiner.cpp2294 if (N1C->getAPIntValue().isNonNegative()) in visitSDIV()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7409 if (Divisor.isNonNegative()) in BuildSDIVPow2()
7432 if (Value.isNonNegative()) { in performMulCombine()