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

Declarations

include/llvm/IR/Value.h
  445   bool hasNUsesOrMore(unsigned N) const;

References

lib/CodeGen/CodeGenPrepare.cpp
 6215     if (!I->hasNUsesOrMore(1)) {
lib/IR/BasicBlock.cpp
  310   assert((hasNUsesOrMore(16)||// Reduce cost of this assertion for complex CFGs.
lib/Target/ARM/MVETailPredication.cpp
  424     if (I->hasNUsesOrMore(1))
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  154   } while (CE->hasNUsesOrMore(1)); // We need to check because a recursive
lib/Transforms/IPO/GlobalOpt.cpp
  511     if (NumElements > 16 && GV->hasNUsesOrMore(16))
 2709   return V.hasNUsesOrMore(N);
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1960       if (isFreeToInvert(LHS, !LHS->hasNUsesOrMore(3)) &&
 1961           !NotA->hasNUsesOrMore(4)) {
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1697   if (!match(Op1, m_ZExt(m_Value(X))) || Op1->hasNUsesOrMore(3))
 3273       if (isFreeToInvert(LHS, !LHS->hasNUsesOrMore(3)) &&
 3274           isFreeToInvert(RHS, !RHS->hasNUsesOrMore(3))) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4564   if (MulVal->hasNUsesOrMore(2))
 4692   if (MulVal->hasNUsesOrMore(2)) {
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1618       ElidesXor |= !V->hasNUsesOrMore(3);
 1622     if (isFreeToInvert(V, !V->hasNUsesOrMore(3))) {
 2047   if (MinMax2->hasNUsesOrMore(3) || AddSub->hasNUsesOrMore(3))
 2047   if (MinMax2->hasNUsesOrMore(3) || AddSub->hasNUsesOrMore(3))
 2100   if (!LHS->hasNUsesOrMore(3) && RHS->hasNUsesOrMore(3)) {
 2100   if (!LHS->hasNUsesOrMore(3) && RHS->hasNUsesOrMore(3)) {
 2114   } else if (!RHS->hasNUsesOrMore(3)) {
 2474         if (match(X, m_Not(m_Value(A))) && !X->hasNUsesOrMore(3) &&
lib/Transforms/Scalar/LoopFuse.cpp
 1218       if (PHI->hasNUsesOrMore(1))
 1460       if (PHI->hasNUsesOrMore(1))
lib/Transforms/Scalar/LoopRerollPass.cpp
  857   if (I->hasNUsesOrMore(IL_MaxRerollIterations + 1))