Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DAPInt.cpp1958 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
1959 Res.isNonNegative() != isNonNegative(); in sadd_ov()
1971 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
1972 Res.isNonNegative() != isNonNegative(); in ssub_ov()
2013 if (isNonNegative()) // Don't allow sign change. in sshl_ov()
/external/llvm/include/llvm/ADT/
DAPInt.h302 bool isNonNegative() const { in isNonNegative() function
311 return isNonNegative() && !!*this; in isStrictlyPositive()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp519 if (I.isExact() && RHS->getValue().isNonNegative() && in visitSDiv()
DInstCombineSimplifyDemanded.cpp727 if (DemandedMask.isNegative() && KnownZero.isNonNegative()) { in SimplifyDemandedUseBits()
DInstCombineCompares.cpp1115 (!AndCST->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Analysis/
DValueTracking.cpp561 if (KnownZero.isNonNegative()) { in ComputeMaskedBits()
/external/clang/lib/Sema/
DSemaDecl.cpp9881 if (Value.isUnsigned() || Value.isNonNegative()) { in isRepresentableIntegerValue()
9984 << (EnumVal.isUnsigned() || EnumVal.isNonNegative()); in CheckEnumConstant()
10196 if (InitVal.isUnsigned() || InitVal.isNonNegative()) in ActOnEnumBody()
DSemaChecking.cpp3661 shift.isNonNegative()) { in GetExprRange()
DSemaExpr.cpp6159 if (index.isNonNegative() && in diagnoseStringPlusInt()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2114 return DAG.getConstant(C1.isNonNegative(), VT); in SimplifySetCC()
DSelectionDAGBuilder.cpp2186 assert((Range - 2ULL).isNonNegative() && in handleBTSplitSwitchCase()
2336 if (minValue.isNonNegative() && maxValue.slt(IntPtrBits)) { in handleBitTestsSwitchCase()
DSelectionDAG.cpp1964 if (CLHS->getAPIntValue().isNonNegative()) { in ComputeMaskedBits()
DDAGCombiner.cpp1887 if (N1C->getAPIntValue().isNonNegative()) in visitSDIV()