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

References

include/llvm/Analysis/PtrUseVisitor.h
  268     if (GEPI.use_empty())
include/llvm/CodeGen/FastISel.h
  113       IsReturnValueUsed = !Call.getInstruction()->use_empty();
  137       IsReturnValueUsed = !Call.getInstruction()->use_empty();
include/llvm/CodeGen/TargetLowering.h
 3515       IsReturnValueUsed = !Call.getInstruction()->use_empty();
include/llvm/Transforms/Utils/Evaluator.h
   50       if (!Tmp->use_empty())
lib/Analysis/AliasSetTracker.cpp
  182     !(I->use_empty() && match(I, m_Intrinsic<Intrinsic::invariant_start>()));
  493       if (Call->use_empty() &&
lib/Analysis/DomTreeUpdater.cpp
  222     if (!I.use_empty())
lib/Analysis/IVDescriptors.cpp
  280     if (Cur->use_empty())
lib/Analysis/LazyCallGraph.cpp
 1465   assert(OldF.use_empty() &&
 1495   assert(F.use_empty() &&
lib/Analysis/LazyValueInfo.cpp
  841   if (!GuardDecl || GuardDecl->use_empty())
lib/Analysis/MemorySSA.cpp
 1808   assert(MA->use_empty() &&
lib/Analysis/MemorySSAUpdater.cpp
 1286     assert((NewDefTarget || MP->use_empty()) &&
 1295   if (!isa<MemoryUse>(MA) && !MA->use_empty()) {
 1309     while (!MA->use_empty()) {
lib/Analysis/ScalarEvolution.cpp
11418   HasGuards = GuardDecl && !GuardDecl->use_empty();
lib/AsmParser/LLParser.cpp
 7324   if (V->use_empty())
lib/Bitcode/Reader/BitcodeReader.cpp
 5323     if (!I.first->use_empty())
lib/Bitcode/Reader/ValueList.cpp
  168     while (!Placeholder->use_empty()) {
lib/Bitcode/Writer/ValueEnumerator.cpp
  249   if (!V->use_empty() && std::next(V->use_begin()) != V->use_end())
lib/CodeGen/Analysis.cpp
  603   if (I->use_empty()) {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1557   if (!InitTrampolineIntrinsic || InitTrampolineIntrinsic->use_empty())
 1610       if (!GV.use_empty() && !GV.isThreadLocal() &&
lib/CodeGen/AtomicExpandPass.cpp
 1302   if (!CI->use_empty()) {
lib/CodeGen/CodeGenPrepare.cpp
 1126   if (CI->use_empty()) {
 1403   if (Cmp->use_empty()) {
 1686   if (ShiftI->use_empty()) {
 1861       if (II->use_empty()) {
 2041       if (CI && CI->use_empty() && TLI->mayBeEmittedAsTailCall(CI) &&
 3880   if (SExtOpnd->use_empty())
 5009   if (Repl->use_empty()) {
 5059   assert(!Val->use_empty() && "Input must have at least one use");
 6160   if (SVI->use_empty()) {
lib/CodeGen/DwarfEHPrepare.cpp
  128     if (SelIVI->use_empty())
  130     if (ExcIVI->use_empty())
  132     if (SelLoad && SelLoad->use_empty())
lib/CodeGen/GlobalMerge.cpp
  312         if (CE->use_empty())
lib/CodeGen/IntrinsicLowering.cpp
   48   if (!CI->use_empty())
  483   assert(CI->use_empty() &&
lib/CodeGen/PreISelIntrinsicLowering.cpp
   29   if (F.use_empty())
   61   if (F.use_empty())
   88     if (!CI->use_empty())
lib/CodeGen/RegUsageInfoCollector.cpp
  118   if (MF.getFunction().use_empty()) {
lib/CodeGen/SafeStack.cpp
  597     while (!AI->use_empty()) {
  701         assert(II->use_empty());
lib/CodeGen/SafeStackColoring.cpp
   61     if (Op && Op->use_empty())
lib/CodeGen/SelectionDAG/FastISel.cpp
 1381     if (!Op && !Address->use_empty() && isa<Instruction>(Address) &&
 2277       if (PN.use_empty())
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
   49   if (I->use_empty()) return false;
  270       if (PN.use_empty())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1938     assert(!V->use_empty() && "Unused value assigned virtual registers!");
 5816         (Address->use_empty() && !isa<Argument>(Address))) {
 8645       .setDiscardResult(Call->use_empty())
 9401     return A->use_empty();
 9615     bool isArgValueUsed = !Arg.use_empty();
 9788     bool ArgHasUses = !Arg.use_empty();
 9951       if (PN.use_empty())
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1515               !Inst->use_empty()) {
lib/CodeGen/SelectionDAG/StatepointLowering.h
   70     if (!RelocCall.use_empty())
   79     if (RelocCall.use_empty())
lib/CodeGen/SjLjEHPrepare.cpp
  149     if (EVI->use_empty())
  153   if (LPI->use_empty())
  267       if (Inst.use_empty())
lib/CodeGen/WasmEHPrepare.cpp
  307       assert(GetSelectorCI->use_empty() &&
lib/IR/AsmWriter.cpp
  254   if (!V->use_empty() && std::next(V->use_begin()) != V->use_end())
lib/IR/AutoUpgrade.cpp
 3918       if (!CI->use_empty())
 3923     if (Fn->use_empty())
lib/IR/BasicBlock.cpp
   71     assert(!use_empty() && "There should be at least one blockaddress!");
   74     while (!use_empty()) {
lib/IR/Constants.cpp
  406   while (!use_empty()) {
  419     assert((use_empty() || user_back() != V) && "Constant not removed!");
  559   while (!C->use_empty()) {
lib/IR/DebugInfo.cpp
  595       while (!DbgVal->use_empty())
lib/IR/Function.cpp
  320                         [](const Argument &A) { return A.use_empty(); }) &&
lib/IR/LLVMContextImpl.cpp
  151       if (C->use_empty()) {
lib/IR/Value.cpp
   85   if (!use_empty()) {
   91   assert(use_empty() && "Uses remain when a value is destroyed!");
lib/LTO/LTO.cpp
  871   if ((TypeTestFunc && !TypeTestFunc->use_empty()) ||
  872       (TypeCheckedLoadFunc && !TypeCheckedLoadFunc->use_empty()))
lib/LTO/LTOBackend.cpp
  476     if (GV->use_empty())
lib/Linker/LinkModules.cpp
  429   if (GV.use_empty()) {
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
  133       if (!F.isDeclaration() && !F.use_empty() &&
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  580   const bool NeedResult = !I.use_empty();
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  611       const bool ArgUsed = !Arg.use_empty();
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
  104     if (Arg.use_empty())
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  363       if (!CI->use_empty()) {
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  257     if (F->use_empty())
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  390   return !GV.use_empty();
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  370     if (!U->use_empty())
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  712       if (F->use_empty())
 1113     if (GVar->use_empty())
lib/Target/NVPTX/NVPTXISelLowering.cpp
 2516     if (theArgs[i]->use_empty()) {
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  632   bool SetjmpUsed = SetjmpF && !SetjmpF->use_empty();
  633   bool LongjmpUsed = LongjmpF && !LongjmpF->use_empty();
lib/Target/X86/X86FrameLowering.cpp
 2240     if (I->hasNestAttr() && !I->use_empty())
lib/Target/X86/X86ISelLowering.cpp
26507     return !AI->use_empty() ? AtomicExpansionKind::CmpXChg
26537         AI->use_empty())
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  382     if (I->first->use_empty())
lib/Transforms/Coroutines/CoroInstr.h
  135     if (Inst->use_empty()) {
lib/Transforms/Coroutines/CoroSplit.cpp
  419   if (NewS->use_empty()) return;
  446   if (NewS->use_empty()) return;
 1484     if (!Cast->use_empty()) break;
 1540     if (PrepareFn && PrepareFn->use_empty())
lib/Transforms/Coroutines/Coroutines.cpp
  269         if (II->use_empty())
lib/Transforms/IPO/ArgumentPromotion.cpp
  153     } else if (I->use_empty()) {
  242   while (!F->use_empty()) {
  273       } else if (!I->use_empty()) {
  351     if (!Call->use_empty()) {
  420     if (I->use_empty())
  428     while (!I->use_empty()) {
  467         while (!GEP->use_empty()) {
  575   if (Arg->use_empty())
  680       if (GEP->use_empty()) {
lib/Transforms/IPO/Attributor.cpp
 4604       if (!I->use_empty())
lib/Transforms/IPO/CalledValuePropagation.cpp
  348     if (I.use_empty())
lib/Transforms/IPO/ConstantMerge.cpp
  161       if (GV->use_empty() && GV->hasLocalLinkage()) {
lib/Transforms/IPO/DeadArgumentElimination.cpp
  216     if (!Call->use_empty())
  286   if (Fn.use_empty())
  293     if (!Arg.hasSwiftErrorAttr() && Arg.use_empty() && !Arg.hasByValOrInAllocaAttr()) {
  877   while (!F->use_empty()) {
  955     if (!Call->use_empty() || Call->isUsedByMetadata()) {
lib/Transforms/IPO/GlobalDCE.cpp
  402     if (!F->use_empty()) {
  445   if (GV.use_empty())
  448   return GV.use_empty();
lib/Transforms/IPO/GlobalOpt.cpp
  237       if (CE->use_empty()) {
  315       if (CE->use_empty()) {
  338       if (GEP->use_empty()) {
  552   while (!GV->use_empty()) {
  603     if (NewGlobals[i]->use_empty()) {
  718       if (CI->use_empty()) {
  736       if (GEPI->use_empty()) {
  765       if (LI->use_empty()) {
  803     if (GV->use_empty()) {
  861   while (!CI->use_empty()) {
  891   while (!GV->use_empty()) {
  901     while (!LI->use_empty()) {
  942     while (!InitBool->use_empty())  // Delete initializations
 1014   while (!Alloc->use_empty()) {
 1268   if (Load->use_empty()) {
 1696   while (!GV->use_empty()) {
 1773     Dead = (F->isDeclaration() && F->use_empty()) || F->isDefTriviallyDead();
 1775     Dead = GV.use_empty();
 1981     if (GV->use_empty()) {
 2002     if (GV->use_empty()) {
 2031         if (GV->use_empty()) {
 2686   if (GA.use_empty()) // No use at all.
 2926         if (!GV.isDiscardableIfUnused() || !GV.use_empty())
 2934         if (!GA.isDiscardableIfUnused() || !GA.use_empty())
lib/Transforms/IPO/GlobalSplit.cpp
  134   if (!GV.use_empty())
  148   if ((!TypeTestFunc || TypeTestFunc->use_empty()) &&
  149       (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty()))
lib/Transforms/IPO/IPConstantPropagation.cpp
   51   if (F.arg_empty() || F.use_empty()) return false; // No arguments? Early exit.
  130     if (ArgumentConstants[i].second || AI->use_empty() ||
  233     if (Call->use_empty())
lib/Transforms/IPO/Inliner.cpp
  719       if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() &&
 1119         if (Callee.use_empty() && !CG.isLibFunction(Callee)) {
lib/Transforms/IPO/LowerTypeTests.cpp
 1764   if ((!TypeTestFunc || TypeTestFunc->use_empty()) &&
 1765       (!ICallBranchFunnelFunc || ICallBranchFunnelFunc->use_empty()) &&
 1778     if (ICallBranchFunnelFunc && !ICallBranchFunnelFunc->use_empty())
lib/Transforms/IPO/MergeFunctions.cpp
  850     if (G->isDiscardableIfUnused() && G->use_empty() && !MergeFunctionsPDI) {
lib/Transforms/IPO/PartialInlining.cpp
 1457     if (!F.use_empty() && !F.isDeclaration())
 1465     if (CurrFunc->use_empty())
lib/Transforms/IPO/PruneEH.cpp
  253     if (!I->use_empty())
lib/Transforms/IPO/StripDeadPrototypes.cpp
   35     if (F->isDeclaration() && F->use_empty()) {
   47     if (GV->isDeclaration() && GV->use_empty())
lib/Transforms/IPO/StripSymbols.cpp
  141   assert(C->use_empty() && "Constant is not dead!");
  257     while (!Declare->use_empty()) {
  261       assert(CI->use_empty() && "llvm.dbg intrinsic should have void result");
  263       if (Arg1->use_empty()) {
  269       if (Arg2->use_empty())
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
   50       if (ImportGV->use_empty()) {
  146     if (F.isDeclaration() && F.use_empty()) {
  167     if (GV.isDeclaration() && GV.use_empty()) {
  260             !F->arg_begin()->use_empty())
  374     if (!F || F->use_empty())
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1415         Target.Fn->arg_empty() || !Target.Fn->arg_begin()->use_empty() ||
 1593     if (CI->use_empty())
 1652     if (!CI->use_empty()) {
 1781       (!TypeTestFunc || TypeTestFunc->use_empty() || !AssumeFunc ||
 1782        AssumeFunc->use_empty()) &&
 1783       (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty()))
lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
  120       RMWI.use_empty()) {
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3997     if (II->use_empty())
 4135     return CI->use_empty() ? CI : replaceInstUsesWith(*CI, With);
 4446       if (!Caller->use_empty() &&
 4452     if (!CallerPAL.isEmpty() && !Caller->use_empty()) {
 4462     if (!Caller->use_empty()) {
 4652   if (OldRetTy != NV->getType() && !Caller->use_empty()) {
 4675   if (!Caller->use_empty())
lib/Transforms/InstCombine/InstCombineInternal.h
  664     if (I.use_empty()) return nullptr;
  707     assert(I.use_empty() && "Cannot erase instruction that is used!");
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  108             (Call->use_empty() || Call->doesNotCapture(DataOpNo)))
  119         assert(I->use_empty() && "Lifetime markers have no result to use!");
  572   if (LI.use_empty())
  609       assert(LI.use_empty() && "Failed to remove all users of the load!");
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  606   if (SI->use_empty() && SelectCond->hasOneUse())
lib/Transforms/InstCombine/InstCombinePHI.cpp
  834   if (PN->use_empty()) return true;
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 2008         if (!BC->use_empty())
lib/Transforms/InstCombine/InstructionCombining.cpp
 3224     if (!I->use_empty() &&
 3243     if (ExpensiveCombines && !I->use_empty() && Ty->isIntOrIntVectorTy()) {
 3403       if (!Inst->use_empty() &&
lib/Transforms/Instrumentation/InstrProfiling.cpp
  479     if (!F->use_empty())
  483     if (!F->use_empty())
  487     if (!F->use_empty())
lib/Transforms/ObjCARC/ObjCARC.h
   54   bool Unused = CI->use_empty();
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  441   if (Load->use_empty())
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  110       if (!U->use_empty() || GetRCIdentityRoot(U) != Arg)
  851     if (IsAutorelease(Class) && Inst->use_empty()) {
 1899     if (Class == ARCInstKind::LoadWeak && Inst->use_empty()) {
lib/Transforms/Scalar/BDCE.cpp
   95     if (I.mayHaveSideEffects() && I.use_empty())
lib/Transforms/Scalar/CallSiteSplitting.cpp
  317   if (!IsMustTailCall && !Instr->use_empty()) {
  397     if (!CurrentI->use_empty()) {
lib/Transforms/Scalar/ConstantHoisting.cpp
  894       assert(!Base->use_empty() && "The use list is empty!?");
  920     if (I.first->use_empty())
lib/Transforms/Scalar/ConstantProp.cpp
   92       if (!I->use_empty()) // Don't muck with dead instructions...
lib/Transforms/Scalar/DCE.cpp
   98       if (!OpV->use_empty() || I == OpV)
lib/Transforms/Scalar/DeadStoreElimination.cpp
  130       if (!Op->use_empty()) continue;
  263     return CS.getInstruction()->use_empty();
lib/Transforms/Scalar/EarlyCSE.cpp
  955       if (!Inst->use_empty())
 1006         if (!Inst->use_empty()) {
 1094           if (!Inst->use_empty())
 1137         if (!Inst->use_empty())
lib/Transforms/Scalar/GVN.cpp
 1524   if (L->use_empty()) {
 1952     if (!I->use_empty()) {
lib/Transforms/Scalar/IndVarSimplify.cpp
  607       if (PN->use_empty())
 1808     if (DU.NarrowDef->use_empty())
 1970   bool HasGuards = GuardDecl && !GuardDecl->use_empty();
 2744     if (OldCond->use_empty())
 2963     if (OldCond->use_empty())
lib/Transforms/Scalar/InferAddressSpaces.cpp
 1017     if (V->use_empty()) {
lib/Transforms/Scalar/InstSimplifyPass.cpp
   54         } else if (!I.use_empty()) {
lib/Transforms/Scalar/JumpThreading.cpp
  371   HasGuards = GuardDecl && !GuardDecl->use_empty();
  469   if (Cond->use_empty() && !Cond->mayHaveSideEffects())
  989   return !BA->use_empty();
 1166         if (CondCmp->use_empty())
 1701         if (CondInst->use_empty() && !CondInst->mayHaveSideEffects())
 2746     if (!Inst->use_empty()) {
lib/Transforms/Scalar/LICM.cpp
  893         return I.use_empty() &&
 1013         !II->use_empty())
 2144   if (PreheaderLoad->use_empty())
lib/Transforms/Scalar/LoopDistribute.cpp
  233       if (!Inst->use_empty())
lib/Transforms/Scalar/LoopInstSimplify.cpp
   90         if (I.use_empty()) {
  142         assert(I.use_empty() && "Should always have replaced all uses!");
lib/Transforms/Scalar/LoopPredication.cpp
  967   bool HasIntrinsicGuards = GuardDecl && !GuardDecl->use_empty();
  971       PredicateWidenableBranchGuards && WCDecl && !WCDecl->use_empty();
lib/Transforms/Scalar/LoopRerollPass.cpp
  635       C->use_empty())
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  980         if (U->use_empty())
 2351   if (Cmp->use_empty())
lib/Transforms/Scalar/LowerGuardIntrinsic.cpp
   47   if (!GuardDecl || GuardDecl->use_empty())
lib/Transforms/Scalar/LowerWidenableCondition.cpp
   47   if (!WCDecl || WCDecl->use_empty())
lib/Transforms/Scalar/MakeGuardsExplicit.cpp
   84   if (!GuardDecl || GuardDecl->use_empty())
lib/Transforms/Scalar/NewGVN.cpp
 3473     if (!ToErase->use_empty())
 3691     if (!Inst.use_empty())
lib/Transforms/Scalar/Reassociate.cpp
  505       assert(!Op->use_empty() && "No uses, so how did we get to it?!");
 1904       if (OpInst->use_empty())
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1568     if (!Call->getType()->isVoidTy() && !Call->use_empty()) {
lib/Transforms/Scalar/SCCP.cpp
 2076         if (!AI->use_empty() && tryToReplaceWithConstant(Solver, &*AI)) {
 2223     while (!GV->use_empty()) {
lib/Transforms/Scalar/SROA.cpp
  710     if (BC.use_empty())
  717     if (ASC.use_empty())
  724     if (GEPI.use_empty())
  993     if (I.use_empty())
 1278   while (!PN.use_empty()) {
 1361   while (!SI.use_empty()) {
 1627           assert(I->use_empty() && "Built a GEP with uses some how!");
 4439   if (AI.use_empty()) {
lib/Transforms/Scalar/Scalarizer.cpp
  832     if (!Op->use_empty()) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 2538     if (GuardDecl && !GuardDecl->use_empty())
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  703     if (!OrigI->use_empty()) {
  723     assert(SpecPN->use_empty() && "All users should have been speculated!");
lib/Transforms/Utils/BasicBlockUtils.cpp
   76       if (!I.use_empty())
  749     if (!LPad->use_empty()) {
lib/Transforms/Utils/CallPromotionUtils.cpp
  107   if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty())
lib/Transforms/Utils/CtorUtils.cpp
   54   if (!GCL->use_empty()) {
lib/Transforms/Utils/DemoteRegToStack.cpp
   25   if (I.use_empty()) {
   57   while (!I.use_empty()) {
  111   if (P->use_empty()) {
lib/Transforms/Utils/Evaluator.cpp
  521           if (!II->use_empty()) {
  650     if (!CurInst->use_empty()) {
lib/Transforms/Utils/InlineFunction.cpp
  928     if (Arg.hasNoAliasAttr() && !Arg.use_empty())
 1831       if (AI->use_empty()) {
 1845              !cast<AllocaInst>(I)->use_empty() &&
 2177     bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy;
 2241     if (!TheCall->use_empty()) {
 2315     if (!TheCall->use_empty()) {
 2352     if (!TheCall->use_empty()) {
 2374   } else if (!TheCall->use_empty()) {
lib/Transforms/Utils/LCSSA.cpp
  246       if (!PostProcessPN->use_empty())
  254       if (PN->use_empty())
  269     if (PN->use_empty())
  356       if (I.use_empty() ||
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  296   if (!CI.use_empty())
lib/Transforms/Utils/Local.cpp
  332       if (BA->use_empty())
  361   if (!I->use_empty())
  459     assert(I.use_empty() && "Instructions with uses are not dead.");
  472       if (!OpV->use_empty())
  528     if (I->use_empty())
  557       if (!OpV->use_empty() || I == OpV)
  584     if (!I->use_empty()) {
 1040       assert(PN->use_empty() && "There shouldn't be any uses here!");
 1885     if (!Inst->use_empty() && !Inst->getType()->isTokenTy())
 1931     if (!BBI->use_empty())
 2110         if (II->use_empty() && II->onlyReadsMemory()) {
 2253       if (!TI->use_empty())
lib/Transforms/Utils/LoopRotationUtils.cpp
  100     if (OrigHeaderVal->use_empty())
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  510   while (!AI->use_empty()) {
  549     if (AI->use_empty()) {
  665     if (!A->use_empty())
lib/Transforms/Utils/SSAUpdater.cpp
  468     if (!User->use_empty()) {
lib/Transforms/Utils/SimplifyCFG.cpp
 1305       if (!I2->use_empty())
 2255         if (!BBI->use_empty())
 2262         if (!BBI->use_empty())
 4027       if (PN->use_empty())
 4210     if (!BBI->use_empty())
 5969   if (I->use_empty())
lib/Transforms/Utils/SimplifyIndVar.cpp
  170   if (IVOperand->use_empty())
  475   if (WO->use_empty())
lib/Transforms/Utils/SimplifyLibCalls.cpp
 2333     return CI->use_empty() ? (Value *)CI : ConstantInt::get(CI->getType(), 0);
 2338   if (!CI->use_empty())
 2609   if (!CI->use_empty())
 2697     if (Bytes == 1 && CI->use_empty()) { // fwrite(S,1,1,F) -> fputc(S[0],F)
 2724   if (!CI->use_empty()) {
 2781   if (!CI->use_empty())
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  580     if (I->use_empty())
lib/Transforms/Vectorize/LoopVectorize.cpp
 3301       if (Erased.find(I) != Erased.end() || I->use_empty() ||
 3405       if (Inst && Inst->use_empty()) {
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2085     assert(Pair.getFirst()->use_empty() &&
 6955       if (it->use_empty() && KeyNodes.count(&*it) > 0 &&
 6989     if (it->use_empty() && (it->getType()->isVoidTy() || isa<CallInst>(it) ||
lib/Transforms/Vectorize/VPlan.h
  876     AlsoPack = IsPredicated && !I->use_empty();
tools/bugpoint-passes/TestPasses.cpp
   61           if (!CI->use_empty())
tools/bugpoint/CrashDebugger.cpp
  216     assert(UsedVar->use_empty());
tools/bugpoint/ExtractFunction.cpp
  250   if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() || !GV->use_empty())
  295   assert(GV->use_empty() && "llvm.ctors shouldn't have uses!");
tools/bugpoint/Miscompilation.cpp
  835     if (F->isDeclaration() && !F->use_empty() &&
  862         if (!F->use_empty()) {
tools/clang/lib/CodeGen/CGCall.cpp
 2575   while (insn->use_empty()) {
 2703   assert(retainCall->use_empty());
tools/clang/lib/CodeGen/CGCleanup.cpp
  632       assert(condition->use_empty());
  637   assert(entry->use_empty());
  722     assert(normalEntry && !normalEntry->use_empty());
tools/clang/lib/CodeGen/CGCleanup.h
  133       return !block->use_empty();
tools/clang/lib/CodeGen/CGException.cpp
  337   if (!Fn || Fn->use_empty()) return;
  488   if (dispatchBlock->use_empty()) {
 1424   if (catchBB->use_empty()) {
 1605     if (!TryExit.getBlock()->use_empty())
tools/clang/lib/CodeGen/CGExprAgg.cpp
 1621         if (GEP->use_empty())
tools/clang/lib/CodeGen/CGExprScalar.cpp
  408         if (ZI->use_empty())
 3328         LHSBinOp->use_empty())
 3333         RHSBinOp->use_empty())
tools/clang/lib/CodeGen/CGObjCMac.cpp
 4696     if (Caught->use_empty())
tools/clang/lib/CodeGen/CGStmt.cpp
  129     if (incoming != outgoing && outgoing->use_empty()) {
  471   if (IsFinished && BB->use_empty()) {
tools/clang/lib/CodeGen/CGVTables.cpp
  533     if (!OldThunkFn->use_empty()) {
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  252     if (CurBB->empty() || ReturnBlock.getBlock()->use_empty()) {
  290   if (!BB->use_empty())
  301     && ReturnBlock.getBlock()->use_empty();
  452   if (ReturnBlock.isValid() && ReturnBlock.getBlock()->use_empty()) {
  458     if (RetAlloca && RetAlloca->use_empty()) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3193     if (!Entry->use_empty()) {
 3472     if (!Entry->use_empty()) {
 3639     if (!OldGV->use_empty()) {
 4258   if (old->use_empty()) return;
 4285     if (callSite->getType() != newRetTy && !callSite->use_empty())
 4341     if (!callSite->use_empty())
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  374   if (result_global->use_empty()) {
 1359   if (global_variable->use_empty())
tools/llvm-diff/DifferenceEngine.cpp
  179     if (!L->use_empty())
  208       if (!LeftI->use_empty())
  643     if (!LCall->use_empty())
  656     if (!LInvoke->use_empty())
tools/llvm-reduce/deltas/ReduceArguments.cpp
   35       if (!CI->use_empty())
tools/verify-uselistorder/verify-uselistorder.cpp
  393   if (V->use_empty() || std::next(V->use_begin()) == V->use_end())
  435   if (V->use_empty() || std::next(V->use_begin()) == V->use_end())
unittests/IR/MetadataTest.cpp
 2534   ASSERT_TRUE(GV0->use_empty());
 2595   ASSERT_TRUE(GV0->use_empty());
 2612   ASSERT_TRUE(GV->use_empty());