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

References

include/llvm/ADT/SetVector.h
  123     assert(!empty() && "Cannot call front() on empty SetVector!");
  129     assert(!empty() && "Cannot call back() on empty SetVector!");
  222     assert(!empty() && "Cannot remove an element from an empty SetVector!");
include/llvm/CodeGen/MachinePipeliner.h
  352   bool empty() const { return Nodes.empty(); }
lib/Analysis/DDG.cpp
   69   OS << (N.getEdges().empty() ? " Edges:none!\n" : " Edges:\n");
lib/Analysis/DemandedBits.cpp
  354   while (!Worklist.empty()) {
lib/Analysis/MemorySSAUpdater.cpp
  934     if (PrevBlockSet.empty()) {
  971     assert(!PrevBlockSet.empty() &&
 1326   if (!PhisToCheck.empty()) {
lib/Analysis/StackSafetyAnalysis.cpp
  524   while (!WorkList.empty()) {
  535   assert(WorkList.empty());
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  850   if (InlinedSubprograms.empty())
lib/CodeGen/CodeGenPrepare.cpp
  521     MadeChange |= !WorkList.empty();
  522     while (!WorkList.empty()) {
lib/CodeGen/LiveRangeEdit.cpp
  402     if (ToShrink.empty())
lib/CodeGen/MachineBlockPlacement.cpp
 2542     if (!LoopBlockSet.empty()) {
lib/CodeGen/MachinePipeliner.cpp
 1472   return !Preds.empty();
 1504   return !Succs.empty();
 1688       if (!Path.empty())
 1699       if (!Path.empty())
 1764   return !Result.empty();
 1849     while (!R.empty()) {
 1854         while (!R.empty()) {
 1900         while (!R.empty()) {
 1962   if (NodeOrder.empty()){
lib/CodeGen/ProcessImplicitDefs.cpp
  143   assert(WorkList.empty() && "Inconsistent worklist state");
  153     if (WorkList.empty())
  162     while (!WorkList.empty());
lib/CodeGen/PrologEpilogInserter.cpp
  983         !(LargeArrayObjs.empty() && SmallArrayObjs.empty() &&
  983         !(LargeArrayObjs.empty() && SmallArrayObjs.empty() &&
  984           AddrOfObjs.empty()))
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  187       while (!PruningList.empty()) {
 1385   } while (!Nodes.empty());
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  644     while (!NodesToAnalyze.empty()) {
lib/CodeGen/ShrinkWrap.cpp
  165     if (CurrentCSRs.empty()) {
lib/IR/AsmWriter.cpp
 2619   if (!Comdats.empty())
lib/IR/SafepointIRVerifier.cpp
  614   while (!Worklist.empty()) {
lib/MC/MCDwarf.cpp
 1155   if (MCOS->getContext().getGenDwarfSectionSyms().empty())
lib/TableGen/SetTheory.cpp
  134     if (Set.empty())
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  765   while (!worklist.empty()) {
lib/Target/AMDGPU/SIInstrInfo.cpp
 4821   while (!Worklist.empty()) {
lib/Target/ARM/ARMCodeGenPrepare.cpp
  935   while (!WorkList.empty()) {
lib/Target/ARM/MVETailPredication.cpp
  421   while (!MaybeDead.empty()) {
lib/Target/Hexagon/HexagonCommonGEP.cpp
  399   if (!Us.empty()) {
  618     if (MinUs.empty())
  990   if (Us.empty()) {
  998   assert(!NewUs.empty());
 1041     if (!LSs.empty())
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1478   if (Refs.empty())
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1142   return !Cycle.empty();
 1348   if (Users.empty())
lib/Target/Hexagon/RDFDeadCode.cpp
  173   return !DeadNodes.empty();
  180   if (Nodes.empty())
lib/Target/Hexagon/RDFGraph.cpp
 1539   while (!PhiQ.empty()) {
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  401   assert(OnStack.empty() &&
lib/Transforms/IPO/Attributor.cpp
 1162     if (!RetValAAUnresolvedCalls.empty()) {
 1221     assert(!It.second.empty() && "Entry does not add anything.");
 2412   if (NoReturnCalls.empty() &&
 4515   } while (!Worklist.empty() && (IterationCounter++ < MaxFixpointIterations ||
lib/Transforms/IPO/FunctionAttrs.cpp
 1390   if (SCCNodes.empty())
lib/Transforms/Scalar/ADCE.cpp
  464   if (BlocksWithDeadTerminators.empty())
lib/Transforms/Scalar/ConstantHoisting.cpp
  833     if (IPSet.empty())
lib/Transforms/Scalar/DCE.cpp
  132   while (!WorkList.empty()) {
lib/Transforms/Scalar/DeadStoreElimination.cpp
  859       if (DeadStackObjects.empty())
  897     if (DeadStackObjects.empty())
lib/Transforms/Scalar/InferAddressSpaces.cpp
  658   while (!Worklist.empty()) {
lib/Transforms/Scalar/LICM.cpp
 1537   while (!PredBBs.empty()) {
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5611   if (Factors.empty() && Types.empty()) return;
 5611   if (Factors.empty() && Types.empty()) return;
lib/Transforms/Scalar/LoopUnrollPass.cpp
  616   while (!ExitWorklist.empty()) {
lib/Transforms/Scalar/PlaceSafepoints.cpp
  556         assert(!Headers.empty() && "poll location is not a loop latch?");
lib/Transforms/Scalar/Reassociate.cpp
 2428     while (!ToRedo.empty()) {
 2438     while (!RedoInsts.empty()) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 2744     if (!Data.LiveIn[&BB].empty())
 2749   while (!Worklist.empty()) {
lib/Transforms/Scalar/SROA.cpp
 4221     if (PHIUsers.empty() && SelectUsers.empty()) {
 4221     if (PHIUsers.empty() && SelectUsers.empty()) {
 4488   while (!SpeculatablePHIs.empty())
 4492   while (!SpeculatableSelects.empty())
 4510   while (!DeadInsts.empty()) {
 4577     while (!Worklist.empty()) {
 4597   } while (!Worklist.empty());
lib/Transforms/Utils/BreakCriticalEdges.cpp
  372   if (Targets.empty())
lib/Transforms/Utils/CodeExtractor.cpp
  572   if (Blocks.empty())
 1473   assert(HoistingCands.empty() || CommonExit);
 1489   assert((SinkingCands.empty() || FirstSunkAlloca) &&
 1497   if (!HoistingCands.empty()) {
lib/Transforms/Utils/InlineFunction.cpp
  830   if (MD.empty())
lib/Transforms/Utils/Local.cpp
  631   while (!WorkList.empty()) {
lib/Transforms/Utils/SimplifyCFG.cpp
 3864   if (TrivialUnwindBlocks.empty())
 3894   return !TrivialUnwindBlocks.empty();
lib/Transforms/Vectorize/LoopVectorize.cpp
 3899     while (!Worklist.empty()) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
  483   bool empty()    const { return Impl.empty(); }
tools/clang/lib/AST/VTableBuilder.cpp
 3464     assert(!SpecificPath.empty());
tools/clang/lib/CodeGen/CGException.cpp
 1664     return !Captures.empty() || SEHCodeSlot.isValid();
tools/clang/lib/CodeGen/CGObjCMac.cpp
 5582   if ((!LazySymbols.empty() || !DefinedSymbols.empty()) &&
 5582   if ((!LazySymbols.empty() || !DefinedSymbols.empty()) &&
tools/clang/lib/Frontend/CompilerInvocation.cpp
 3591     if (!hsOpts.ModulesIgnoreMacros.empty()) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 3957   if (Ivars.empty())
tools/clang/lib/Sema/SemaExprCXX.cpp
  635     if (UuidAttrs.empty())
  658       if (UuidAttrs.empty())
 7716     if (!TypoExprs.empty()) {
 7782     if (!IsAmbiguous && !Res.isInvalid() && !AmbiguousTypoExprs.empty()) {
 7788       while (!AmbiguousTypoExprs.empty()) {
tools/clang/lib/Sema/SemaOverload.cpp
12162       if (SuggestedNamespaces.empty()) {
tools/clang/lib/Serialization/ASTReader.cpp
  542   while (!TopImport->ImportedBy.empty())
 1614   if (F->ImportedBy.empty() || !F->ImportedBy[0]) {
 2396       while (!ImportStack.back()->ImportedBy.empty())
tools/clang/lib/Serialization/ASTWriter.cpp
 3029     if (!Mod->Imports.empty()) {
tools/clang/lib/Serialization/Module.cpp
   49   if (!Imports.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
   77       return !InvalidationMethods.empty();
tools/llvm-exegesis/lib/Clustering.cpp
  150     while (!ToProcess.empty()) {
tools/polly/lib/Analysis/ScopBuilder.cpp
 1579     if (!NewParams.empty()) {
tools/polly/lib/Analysis/ScopDetection.cpp
  447   return (AllowNonAffineSubLoops || Context.BoxedLoopsSet.empty());
  455   if (!PollyInvariantLoadHoisting && !RequiredILS.empty())
 1038   if (Context.HasUnknownAccess && !Context.NonAffineAccesses.empty())
unittests/ADT/DirectedGraphTest.cpp
  240   EXPECT_TRUE(N3.getEdges().empty());
utils/TableGen/CodeGenRegisters.cpp
  780     while (!Order.empty()) {
utils/TableGen/FixedLenDecoderEmitter.cpp
  946   if (!Predicates.empty()) {