reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/KnownBits.h
  168     if (isNonNegative())
lib/Analysis/BasicAliasAnalysis.cpp
 1485         bool SignKnownZero = Known.isNonNegative();
lib/Analysis/IVDescriptors.cpp
  138     if (!Bits.isNonNegative()) {
lib/Analysis/InstructionSimplify.cpp
 2588     if (LHSKnown.isNonNegative())
 2596     if (LHSKnown.isNonNegative() &&
 2605     if (LHSKnown.isNonNegative())
 2613     if (LHSKnown.isNonNegative() &&
 2751         if (RHSKnown.isNonNegative() && YKnown.isNegative())
 2753         if (RHSKnown.isNegative() || YKnown.isNonNegative())
 2767         if (LHSKnown.isNonNegative() && YKnown.isNegative())
 2769         if (LHSKnown.isNegative() || YKnown.isNonNegative())
 2820       if (!Known.isNonNegative())
 2831       if (!Known.isNonNegative())
 2850       if (!Known.isNonNegative())
 2861       if (!Known.isNonNegative())
lib/Analysis/ScalarEvolution.cpp
 7677     if (Known.isNonNegative())
lib/Analysis/ValueTracking.cpp
  251   return Known.isNonNegative();
  337       bool isKnownNonNegativeOp1 = Known.isNonNegative();
  338       bool isKnownNonNegativeOp0 = Known2.isNonNegative();
  434   else if (isKnownNegative && !Known.isNonNegative())
  781         if (RHSKnown.isNonNegative()) {
  794         if (RHSKnown.isAllOnes() || RHSKnown.isNonNegative()) {
 1078       else if (Known.isNonNegative() || Known2.isNonNegative())
 1078       else if (Known.isNonNegative() || Known2.isNonNegative())
 1082       if (Known.isNonNegative() && Known2.isNonNegative())
 1082       if (Known.isNonNegative() && Known2.isNonNegative())
 1246         if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero))
 1263     if (Known2.isNonNegative())
 1400               if (Known2.isNonNegative() && Known3.isNonNegative())
 1400               if (Known2.isNonNegative() && Known3.isNonNegative())
 1409               if (Known2.isNonNegative() && Known3.isNegative())
 1411               else if (Known2.isNegative() && Known3.isNonNegative())
 1416             else if (Opcode == Instruction::Mul && Known2.isNonNegative() &&
 1417                      Known3.isNonNegative())
 2174     if (XKnown.isNonNegative() && YKnown.isNonNegative())
 2174     if (XKnown.isNonNegative() && YKnown.isNonNegative())
 2193     if (XKnown.isNonNegative() &&
 2196     if (YKnown.isNonNegative() &&
 2526           if (Known.isNonNegative())
 2551           if (Known.isNonNegative())
 4061     if (LHSKnown.isNonNegative() || RHSKnown.isNonNegative())
 4061     if (LHSKnown.isNonNegative() || RHSKnown.isNonNegative())
 4135     if ((AddKnown.isNonNegative() && LHSOrRHSKnownNonNegative) ||
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 3102         if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero))
 3227     if (Known2.isNonNegative()) {
 3692         if (Known.isNonNegative())
 3715         if (Known.isNonNegative())
 3950   if (Known.isNonNegative()) {        // sign bit is 0
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1693     if (Known.isNonNegative()) {
lib/IR/ConstantRange.cpp
   66   if (!IsSigned || Known.isNegative() || Known.isNonNegative())
lib/Support/KnownBits.cpp
   69   if (!KnownOut.isNegative() && !KnownOut.isNonNegative()) {
   73       if (LHS.isNonNegative() && RHS.isNonNegative())
   73       if (LHS.isNonNegative() && RHS.isNonNegative())
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 4451       bool LHSPositive = LHSKnown.isNonNegative();
 4453       bool RHSPositive = RHSKnown.isNonNegative();
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  794   if (!Known.isNonNegative())
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1375   if (Known.isNonNegative())
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  881       if (Known.isNonNegative())
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  412     if (InputKnown.isNonNegative() ||
  622         if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero))
  640       if (LHSKnown.isNonNegative())
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5137       return Known.isNonNegative();