|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/APInt.h 390 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); }
include/llvm/IR/PatternMatch.h 366 bool isValue(const APInt &C) { return C.isNonNegative(); }
lib/Analysis/InstructionSimplify.cpp 2803 if (RHSC->getValue().isNonNegative()) {
lib/Analysis/ScalarEvolution.cpp 9382 if (MatchBinaryAddToConst(RHS, LHS, C, SCEV::FlagNSW) && C.isNonNegative())
12314 if (Step->getValue()->getValue().isNonNegative())
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 3294 if (ValueLow.isNonNegative() && ValueHigh.isNonNegative()) {
3294 if (ValueLow.isNonNegative() && ValueHigh.isNonNegative()) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 3897 if (Offs.isNonNegative() && cast<GEPOperator>(I).isInBounds())
lib/CodeGen/SelectionDAG/TargetLowering.cpp 3317 return DAG.getConstant(C1.isNonNegative(), dl, VT);
lib/IR/ConstantRange.cpp 361 return !isSignWrappedSet() && Lower.isNonNegative();
881 if (LMin.isNonNegative()) {
956 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue()))
1159 if (MinLHS.isNonNegative()) {
1276 if (getSignedMin().isNonNegative()) {
1355 if (SMin.isNonNegative())
1396 if (Min.isNonNegative() && OtherMin.isNonNegative() &&
1396 if (Min.isNonNegative() && OtherMin.isNonNegative() &&
1403 if (Max.isNonNegative() && OtherMax.isNonNegative() &&
1403 if (Max.isNonNegative() && OtherMax.isNonNegative() &&
1442 if (Min.isNonNegative() && OtherMax.isNegative() &&
1445 if (Max.isNegative() && OtherMin.isNonNegative() &&
1449 if (Max.isNonNegative() && OtherMin.isNegative() &&
1452 if (Min.isNegative() && OtherMax.isNonNegative() &&
lib/Support/APInt.cpp 1933 Overflow = isNonNegative() == RHS.isNonNegative() &&
1933 Overflow = isNonNegative() == RHS.isNonNegative() &&
1934 Res.isNonNegative() != isNonNegative();
1934 Res.isNonNegative() != isNonNegative();
1946 Overflow = isNonNegative() != RHS.isNonNegative() &&
1946 Overflow = isNonNegative() != RHS.isNonNegative() &&
1947 Res.isNonNegative() != isNonNegative();
1947 Res.isNonNegative() != isNonNegative();
1995 if (isNonNegative()) // Don't allow sign change.
2922 if (B.isNonNegative()) {
2970 assert(D.isNonNegative() && "Negative discriminant");
2997 assert(X.isNonNegative() && "Solution should be non-negative");
lib/Target/AArch64/AArch64ISelLowering.cpp 9368 if (Divisor.isNonNegative())
9424 if (ConstValue.isNonNegative()) {
lib/Target/ARM/ARMTargetTransformInfo.cpp 101 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256)
lib/Target/X86/X86ISelLowering.cpp20354 if (Divisor.isNonNegative())
39905 if (C1.isNonNegative() && C2.isMask(VT.getScalarSizeInBits()))
39910 if (C1.isNonNegative() && C2.isMask(VT.getScalarSizeInBits()) &&
lib/Transforms/InstCombine/InstCombineCalls.cpp 2133 else if (Val->isNonNegative() == Val2->isNonNegative()) {
2133 else if (Val->isNonNegative() == Val2->isNonNegative()) {
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp 1075 if (I.isExact() && Op1C->isNonNegative() && Op1C->isPowerOf2()) {
lib/Transforms/InstCombine/InstructionCombining.cpp 2244 BasePtrOffset.isNonNegative()) {
lib/Transforms/Instrumentation/BoundsChecking.cpp 100 !SizeRange.getSignedMin().isNonNegative()) {
lib/Transforms/Scalar/IndVarSimplify.cpp 1709 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative();
1828 !NarrowDefRHS->isNonNegative())
lib/Transforms/Utils/SimplifyLibCalls.cpp 700 if ((Known.Zero.isNonNegative() && Known.Zero.ule(NullTermIdx)) ||
tools/clang/lib/Sema/SemaChecking.cpp11519 RHS->getValue().isNonNegative() &&
tools/polly/lib/CodeGen/IslExprBuilder.cpp 419 if (Val.isPowerOf2() && Val.isNonNegative()) {
unittests/IR/ConstantRangeTest.cpp 2047 IsOverflowHigh = N1.isNonNegative();
2060 IsOverflowHigh = N1.isNonNegative();
2148 if (!N.isNonNegative())