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

References

include/llvm/Analysis/DomTreeUpdater.h
   64   bool hasPendingDeletedBB() const { return !DeletedBBs.empty(); }
include/llvm/IR/PassManager.h
  330     return NotPreservedAnalysisIDs.empty() &&
  345     return NotPreservedAnalysisIDs.empty() &&
include/llvm/Support/CommandLine.h
 1775     if (!Subs.empty())
lib/Analysis/BasicAliasAnalysis.cpp
  655   assert(Visited.empty() && "Visited must be cleared after use!");
 1921   if (VisitedPhiBBs.empty())
lib/Analysis/BranchProbabilityInfo.cpp
  954   assert(PostDominatedByUnreachable.empty());
  955   assert(PostDominatedByColdCall.empty());
lib/Analysis/CFG.cpp
  141   if (ExclusionSet && !ExclusionSet->empty())
  267     if (!ExclusionSet || ExclusionSet->empty()) {
lib/Analysis/DomTreeUpdater.cpp
  101   if (DeletedBBs.empty())
  168   if (Strategy == UpdateStrategy::Eager || DeletedBBs.empty())
lib/Analysis/LazyValueInfo.cpp
  262     if (ValueSet.empty())
  336       if (ValueSet.empty()) {
lib/Analysis/MemoryDependenceAnalysis.cpp
  107   if (InstIt->second.empty())
 1591     assert(!ReverseDepIt->second.empty() && !RemInst->isTerminator() &&
lib/Analysis/MemorySSA.cpp
 1926   if (BlockNumberingValid.empty())
 1955   assert(ValidBlocks.empty() &&
lib/Analysis/ModuleSummaryAnalysis.cpp
  749                            !LocalsUsed.empty() || HasLocalInlineAsmSymbol,
lib/Analysis/MustExecute.cpp
  160   assert(Predecessors.empty() && "Garbage in predecessors set?");
lib/Analysis/PhiValues.cpp
  161       else if (It->second.empty())
lib/Analysis/ScalarEvolution.cpp
 7037         if (EL.Predicates.empty())
 7080     assert((AllowPredicates || EL.Predicates.empty()) &&
 9130   if (LoopsUsed.empty())
11470   assert(PendingLoopPredicates.empty() && "isImpliedCond garbage");
11471   assert(PendingPhiRanges.empty() && "getRangeRef garbage");
11472   assert(PendingMerges.empty() && "isImpliedViaMerge garbage");
lib/Analysis/ScalarEvolutionExpander.cpp
 1914   if (!PostIncLoops.empty())
lib/Analysis/ScopedNoAliasAA.cpp
  157     if (ScopeNodes.empty())
lib/Analysis/SyncDependenceAnalysis.cpp
  308     if (!ReachedLoopExits.empty()) {
lib/CodeGen/CodeGenPrepare.cpp
 5556   if (!AllSeenFirst && !UnhandledExts.empty())
lib/CodeGen/GlobalISel/Localizer.cpp
  190     if (Users.empty())
lib/CodeGen/InlineSpiller.cpp
 1390     if (SpillsInSubTree.empty())
 1472     if (Ent.second.empty())
lib/CodeGen/LiveDebugValues.cpp
  117       if (LBlocks.empty())
lib/CodeGen/LiveRangeEdit.cpp
  101   return !Remattable.empty();
lib/CodeGen/MachineBlockPlacement.cpp
 2155   if (!BlocksExitingToOuterLoop.empty() &&
 2625     if (!FunctionBlockSet.empty()) {
lib/CodeGen/MachinePipeliner.cpp
 1240   while (!BU.empty()) {
lib/CodeGen/MachineSink.cpp
 1233   if (SinkableBBs.empty())
lib/CodeGen/MachineVerifier.cpp
 2155   while (!todo.empty()) {
 2188   while (!todo.empty()) {
lib/CodeGen/PHIEliminationUtils.cpp
   42   if (DefUsesInMBB.empty()) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 6725   assert(!Loads.empty() && "All the bytes of the value must be loaded from "
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 7735   if (!DeadNodeSet.empty()) {
lib/CodeGen/SjLjEHPrepare.cpp
  338     if (PHIsToDemote.empty())
lib/CodeGen/SplitKit.cpp
  987     if (!DominatedVNIs.empty()) {
lib/IR/LLVMContextImpl.cpp
   47   while (!OwnedModules.empty())
lib/Support/CommandLine.cpp
  185     if (Opt.Subs.empty())
  246     if (O->Subs.empty()) {
  288     if (O->Subs.empty())
  327     if (O->Subs.empty())
lib/Target/AArch64/AArch64AsmPrinter.cpp
  481   if (!AArch64FI->getLOHRelated().empty())
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
  150   return !FuncsToAlwaysInline.empty() || !FuncsToNoInline.empty();
  150   return !FuncsToAlwaysInline.empty() || !FuncsToNoInline.empty();
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  153   while (!WorkSet.empty()) {
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  186   if (Roots.empty())
  254   } while (!NewRoots.empty());
lib/Target/X86/X86SpeculativeLoadHardening.cpp
 1050   if (IndirectTargetMBBs.empty())
lib/Transforms/IPO/ArgumentPromotion.cpp
 1010   if (ArgsToPromote.empty() && ByValArgsToTransform.empty())
 1010   if (ArgsToPromote.empty() && ByValArgsToTransform.empty())
lib/Transforms/IPO/Attributor.cpp
 4547     if (!Visited.empty())
lib/Transforms/IPO/GlobalDCE.cpp
  266   if (VFESafeVTables.empty())
lib/Transforms/IPO/GlobalOpt.cpp
 2601   if (Init.empty()) {
lib/Transforms/IPO/HotColdSplitting.cpp
  284   if (!SuccsOutsideRegion.empty()) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
 1794         !RetainsToMove.ReverseInsertPts.empty() ||
 1795         !ReleasesToMove.ReverseInsertPts.empty();
lib/Transforms/ObjCARC/PtrState.h
  163   bool HasReverseInsertPts() const { return !RRI.ReverseInsertPts.empty(); }
lib/Transforms/Scalar/ConstantProp.cpp
   87   while (!WorkList.empty()) {
lib/Transforms/Scalar/IndVarSimplify.cpp
 1791   assert(Widened.empty() && NarrowIVUsers.empty() && "expect initial state" );
lib/Transforms/Scalar/InstSimplifyPass.cpp
   47         if (!ToSimplify->empty() && !ToSimplify->count(&I))
   75   } while (!ToSimplify->empty());
lib/Transforms/Scalar/LICM.cpp
  626       else if (!TrueDestSucc.empty()) {
  681     return PredecessorBlocks.empty();
 1624   if (VisitedUsers.empty())
lib/Transforms/Scalar/LoopDistribute.cpp
  147   bool empty() const { return Set.empty(); }
lib/Transforms/Scalar/LoopInstSimplify.cpp
   98         bool IsFirstIteration = ToSimplify->empty();
  162     if (Next->empty())
lib/Transforms/Scalar/LoopLoadElimination.cpp
  223     if (!LoadsWithUnknownDepedence.empty())
lib/Transforms/Scalar/LoopSink.cpp
  201   if (BBsToSinkInto.empty())
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2841   if (!Users.empty()) {
lib/Transforms/Scalar/NewGVN.cpp
  335   bool empty() const { return Members.empty(); }
  344   bool memory_empty() const { return MemoryMembers.empty(); }
 3480   Changed |= !InstructionsToErase.empty();
lib/Transforms/Scalar/SCCP.cpp
 1309   if (!TrackingIncomingArguments.empty() && TrackingIncomingArguments.count(F)){
lib/Transforms/Scalar/SROA.cpp
 4583       if (!DeletedAllocas.empty()) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1269   if (!BlocksInClonedLoop.empty()) {
 1353   if (BlocksInClonedLoop.empty())
 1371   while (!UnloopedBlockSet.empty() && !OrderedClonedExitsInLoops.empty()) {
 1594   if (LoopBlockSet.empty())
 1701   if (!LoopBlockSet.empty() && L.getParentLoop() != ParentL) {
 1724       LoopBlockSet.empty()
 1732   if (LoopBlockSet.empty())
 1760   while (!UnloopedBlocks.empty() && !ExitsInLoops.empty()) {
 1762     assert(NewExitLoopBlocks.empty() && "Didn't clear loop set!");
 1834       LoopBlockSet.empty()
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  434     assert(UserSet.empty() && "Must start with an empty user set!");
lib/Transforms/Utils/Local.cpp
 1779   if (!DeleteOrSalvage.empty()) {
lib/Transforms/Utils/LoopUnrollAndJam.cpp
  542   while (!MergeBlocks.empty()) {
lib/Transforms/Utils/SimplifyCFG.cpp
  393       (!SpeculateOneExpensiveInst || !AggressiveInsts.empty() || Depth > 0))
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3604       if (Bundle.empty())
 5075   if (!Expr.empty())
tools/clang/include/clang/Sema/Scope.h
  287   bool decl_empty() const { return DeclsInScope.empty(); }
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  845   if (!IDecl || ObjCProtocolDecls.empty() || IDecl->isDeprecated())
tools/clang/lib/AST/ASTContext.cpp
 4779   if (InheritedProtocols.empty())
 8118       if (LHSInheritedProtocols.empty() && lhs->qual_empty())
 8303   if (!ImpliedProtocols.empty()) {
 8530     if (SuperClassInheritedProtocols.empty())
tools/clang/lib/AST/DeclCXX.cpp
  594       if (Bases.empty()) {
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 2998   while (!Work.empty()) {
tools/clang/lib/CodeGen/CGCleanup.h
  359   bool hasBranches() const { return ExtInfo && !ExtInfo->Branches.empty(); }
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  374   if (RecordsBeingLaidOut.empty())
  767   if (RecordsBeingLaidOut.empty())
tools/clang/lib/CodeGen/CodeGenTypes.h
  307     return RecordsBeingLaidOut.empty();
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 3554   if (AmbiguousBases.empty())
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 1055       assert(ReachableBlocks.empty() && "ReachableBlocks already filled");
 1084       assert(!ReachableBlocks.empty() && "ReachableBlocks empty");
 1260   if (PerFunction && FM.getFallthroughStmts().empty())
tools/clang/lib/Sema/Sema.cpp
 1239   assert(ParsingInitForAutoVars.empty() &&
tools/clang/lib/Sema/SemaChecking.cpp
14316   return UnmatchedFields.empty();
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4243   if (Context.getLangOpts().CPlusPlus && !Qualifier && Enumerators.Seen.empty()) {
tools/clang/lib/Sema/SemaDecl.cpp
14059     assert(MaybeODRUseExprs.empty() &&
tools/clang/lib/Sema/SemaDeclCXX.cpp
 3822     if (UninitializedFields.empty() && UninitializedBaseClasses.empty())
 3822     if (UninitializedFields.empty() && UninitializedBaseClasses.empty())
 3830       if (UninitializedFields.empty() && UninitializedBaseClasses.empty())
 3830       if (UninitializedFields.empty() && UninitializedBaseClasses.empty())
tools/clang/lib/Sema/SemaDeclObjC.cpp
 2939   if (InsMap.empty() && ClsMap.empty())
 2939   if (InsMap.empty() && ClsMap.empty())
tools/clang/lib/Sema/SemaExpr.cpp
15076   if (!MaybeODRUseExprs.empty())
16681   assert(MaybeODRUseExprs.empty() &&
tools/clang/lib/Sema/SemaExprMember.cpp
  120   if (Classes.empty())
tools/clang/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp
  208   if (!AllocFunctions.empty())
tools/clang/lib/StaticAnalyzer/Checkers/VforkChecker.cpp
   98   if (VforkWhitelist.empty()) {
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 2514   assert(!RemainingNodes.empty() && "No error node found in the trimmed graph");
 2538       if (RemainingNodes.empty())
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
  174   if (Reinits.empty()) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
  410   if (FieldsToInit.empty())
  436   if (AllFieldsToInit.empty())
  467   if (FieldsToFix.empty())
  500   if (BasesToInit.empty())
  514   if (BasesToInit.empty())
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
  101     if (!Context.UsingTargetDecls.empty())
tools/clang/tools/extra/clang-tidy/performance/ForRangeCopyCheck.cpp
  103            .empty()) {
tools/lld/COFF/SymbolTable.cpp
  318   if (undefs.empty() && (!localImports || localImports->empty()))
tools/polly/lib/Analysis/DependenceInfo.cpp
  175     if (!ReductionArrays.empty() && Level == Dependences::AL_Statement)
tools/polly/lib/Analysis/ScopBuilder.cpp
 3456   if (ReadWriteArrays.empty())
tools/polly/lib/CodeGen/IslAst.cpp
  148   if (!BrokenReductions || BrokenReductions->empty())
unittests/ADT/SmallPtrSetTest.cpp
  140   EXPECT_TRUE(s1.empty());
  155   EXPECT_TRUE(s3.empty());
unittests/Analysis/CFGTest.cpp
   62     assert(ExclusionSet.empty());
utils/TableGen/CodeGenRegisters.cpp
  348   while (!Indices.empty() && !Orphans.empty()) {