|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/DirectedGraph.h 108 assert(EL.empty() && "Expected the list of edges to be empty.");
112 return !EL.empty();
217 assert(EL.empty() && "Expected the list of edges to be empty.");
226 return !EL.empty();
include/llvm/ADT/ImmutableSet.h 666 assert(!stack.empty());
672 assert(!stack.empty());
676 bool atEnd() const { return stack.empty(); }
683 assert(!stack.empty());
685 if (stack.empty())
708 assert(!stack.empty());
734 assert(!stack.empty());
include/llvm/ADT/IntervalMap.h 811 return !path.empty() && path.front().offset < path.front().size;
include/llvm/ADT/MapVector.h 80 return Vector.empty();
include/llvm/ADT/PriorityWorklist.h 69 return V.empty();
151 } while (!V.empty() && V.back() == T());
172 } while (!V.empty() && V.back() == T());
include/llvm/ADT/SetVector.h 73 return vector_.empty();
include/llvm/ADT/SmallSet.h 156 return Vector.empty() && Set.empty();
193 while (!Vector.empty()) {
include/llvm/ADT/SmallVector.h 158 assert(!empty());
162 assert(!empty());
167 assert(!empty());
171 assert(!empty());
870 if (!RHS.empty())
880 if (!RHS.empty())
885 if (!RHS.empty())
include/llvm/ADT/SparseSet.h 183 bool empty() const { return Dense.empty(); }
include/llvm/ADT/TinyPtrVector.h 168 return Vec->empty();
include/llvm/Analysis/CGSCCPassManager.h 585 assert(CallHandles.empty() && "Must start with a clear set of handles.");
include/llvm/Analysis/DDG.h 123 assert(!InstList.empty() && "Instruction List is empty.");
include/llvm/Analysis/LazyCallGraph.h 947 assert(!PostOrderRefSCCs.empty() &&
953 assert(!PostOrderRefSCCs.empty() &&
1078 while (!Worklist.empty()) {
include/llvm/Analysis/LoopAccessAnalysis.h 382 bool empty() const { return Pointers.empty(); }
include/llvm/Analysis/LoopCacheAnalysis.h 60 assert(!Subscripts.empty() && "Expecting non-empty container");
64 assert(!Subscripts.empty() && "Expecting non-empty container");
include/llvm/Analysis/LoopInfo.h 330 while (!PreOrderWorklist.empty()) {
include/llvm/Analysis/LoopInfoImpl.h 319 assert(!OutsideLoopPreds.empty() && "Loop is unreachable!");
320 } else if (!OutsideLoopPreds.empty()) {
555 if (!Backedges.empty()) {
593 assert(PreOrderWorklist.empty() &&
602 } while (!PreOrderWorklist.empty());
include/llvm/Analysis/PtrUseVisitor.h 234 while (!Worklist.empty()) {
include/llvm/Analysis/ScalarEvolution.h 1305 return !ExitNotTaken.empty() || !isa<SCEVCouldNotCompute>(getMax());
include/llvm/Analysis/ScalarEvolutionExpander.h 157 assert(InsertPointGuards.empty());
include/llvm/Analysis/ScalarEvolutionExpressions.h 576 while (!Worklist.empty() && !Visitor.isDone()) {
include/llvm/Analysis/SparsePropagation.h 470 while (!BBWorkList.empty() || !ValueWorkList.empty()) {
470 while (!BBWorkList.empty() || !ValueWorkList.empty()) {
472 while (!ValueWorkList.empty()) {
487 while (!BBWorkList.empty()) {
include/llvm/Bitstream/BitstreamReader.h 500 if (BlockScope.empty()) return true;
include/llvm/CodeGen/ExecutionDomainFix.h 73 bool isCollapsed() const { return Instrs.empty(); }
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h 64 if (OnFailResumeAt.empty())
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h 433 if (!DeadInsts.empty())
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h 471 assert(Rules.empty() && "Aliasing will discard rules");
include/llvm/CodeGen/LiveInterval.h 300 bool hasAtLeastOneValue() const { return !valnos.empty(); }
373 bool empty() const { return segments.empty(); }
include/llvm/CodeGen/MachineFunction.h 931 return !LPadToCallSiteMap[Sym].empty();
include/llvm/CodeGen/SelectionDAG.h 187 return DbgValues.empty() && ByvalParmDbgValues.empty() && DbgLabels.empty();
187 return DbgValues.empty() && ByvalParmDbgValues.empty() && DbgLabels.empty();
187 return DbgValues.empty() && ByvalParmDbgValues.empty() && DbgLabels.empty();
include/llvm/CodeGen/SelectionDAGNodes.h 905 while (!Worklist.empty()) {
include/llvm/CodeGen/SlotIndexes.h 525 (I == MBBIndexEnd() && !idx2MBBMap.empty())) ? std::prev(I) : I;
include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h 57 bool empty() const { return Macros.empty(); }
include/llvm/IR/CallSite.h 791 return !CI.ParameterEncoding.empty();
804 assert(!CI.ParameterEncoding.empty() &&
include/llvm/MC/MCDwarf.h 249 return MCDwarfFiles.empty() || (HasAllMD5 == HasAnyMD5);
include/llvm/MC/MCParser/MCAsmLexer.h 74 assert(!CurTok.empty());
80 if (CurTok.empty()) {
include/llvm/MC/MCParser/MCAsmParser.h 200 bool hasPendingError() { return !PendingErrors.empty(); }
203 bool rv = !PendingErrors.empty();
include/llvm/MC/MCStreamer.h 347 if (!SectionStack.empty())
355 if (!SectionStack.empty())
398 if (SectionStack.empty())
include/llvm/MCA/Instruction.h 207 assert(Users.empty() && "Write is in an inconsistent state.");
384 bool isZeroLatency() const { return !MaxLatency && Resources.empty(); }
include/llvm/Support/Allocator.h 200 if (Slabs.empty())
include/llvm/Support/ArrayRecycler.h 98 assert(Bucket.empty() && "Non-empty ArrayRecycler deleted!");
include/llvm/Support/GenericDomTree.h 154 while (!WorkStack.empty()) {
359 while (!WL.empty()) {
589 if (Roots.empty()) {
705 while (!WorkStack.empty()) {
include/llvm/Support/GenericDomTreeConstruction.h 225 while (!WorkList.empty()) {
280 assert(Stack.empty());
299 } while (!Stack.empty());
372 return !ChildrenGetter<false>::Get(N, BUI).empty();
581 if (DT.Roots.empty()) return;
836 if (UnaffectedOnCurrentLevel.empty())
1224 assert(!BUI.Updates.empty() && "No updates to apply!");
1241 if (FS.empty()) BUI.FutureSuccessors.erase(CurrentUpdate.getFrom());
1247 if (FP.empty()) BUI.FuturePredecessors.erase(CurrentUpdate.getTo());
1265 if (!DT.Parent && !DT.Roots.empty()) {
1272 if (DT.Roots.empty()) {
include/llvm/Support/GenericIteratedDominanceFrontier.h 171 while (!Worklist.empty()) {
include/llvm/Transforms/InstCombine/InstCombineWorklist.h 36 bool isEmpty() const { return Worklist.empty(); }
56 assert(Worklist.empty() && "Worklist must be empty to add initial group");
include/llvm/Transforms/Scalar/LoopPassManager.h 122 assert(PreOrderLoops.empty() && "Must start with an empty preorder walk.");
123 assert(PreOrderWorklist.empty() &&
130 } while (!PreOrderWorklist.empty());
include/llvm/Transforms/Utils/SSAUpdaterImpl.h 127 while (!WorkList.empty()) {
169 while (!RootList.empty()) {
176 while (!WorkList.empty()) {
411 while (!WorkList.empty()) {
lib/Analysis/AssumptionCache.cpp 172 assert(AssumeHandles.empty() && "Already have assumes when scanning!");
lib/Analysis/BasicAliasAnalysis.cpp 706 } while (!Worklist.empty() && --MaxLookup);
709 return Worklist.empty();
1285 !DecompObject.VarIndices.empty())
1295 if (!DecompGEP.VarIndices.empty())
1435 if (GEP1BaseOffset == 0 && DecompGEP1.VarIndices.empty())
1442 if (GEP1BaseOffset != 0 && DecompGEP1.VarIndices.empty()) {
1467 if (!DecompGEP1.VarIndices.empty()) {
1698 if (V1Srcs.empty())
1944 if (Src.empty())
lib/Analysis/BlockFrequencyInfoImpl.cpp 216 if (Weights.empty())
lib/Analysis/BranchProbabilityInfo.cpp 227 if (UnreachableEdges.empty())
230 if (ReachableEdges.empty()) {
373 if (ColdEdges.empty())
376 if (NormalEdges.empty()) {
528 while (!WorkList.empty()) {
616 if (BackEdges.empty() && ExitingEdges.empty() && UnlikelyEdges.empty())
616 if (BackEdges.empty() && ExitingEdges.empty() && UnlikelyEdges.empty())
616 if (BackEdges.empty() && ExitingEdges.empty() && UnlikelyEdges.empty())
621 unsigned Denom = (BackEdges.empty() ? 0 : LBH_TAKEN_WEIGHT) +
622 (InEdges.empty() ? 0 : LBH_TAKEN_WEIGHT) +
623 (UnlikelyEdges.empty() ? 0 : LBH_UNLIKELY_WEIGHT) +
624 (ExitingEdges.empty() ? 0 : LBH_NONTAKEN_WEIGHT);
lib/Analysis/CFG.cpp 65 } while (!VisitStack.empty());
199 } while (!Worklist.empty());
255 if (Worklist.empty()) {
lib/Analysis/CGSCCPassManager.cpp 546 if (!NewRefSCCs.empty()) {
lib/Analysis/CaptureTracking.cpp 249 while (!Worklist.empty()) {
lib/Analysis/ConstantFolding.cpp 925 if (!NewIdxs.empty())
lib/Analysis/DDG.cpp 30 assert(IList.empty() && "Expected the IList to be empty on entry.");
37 return !IList.empty();
81 assert(InstList.empty() && "Expected empty list.");
lib/Analysis/DependenceGraphBuilder.cpp 135 if (SrcIList.empty())
143 if (DstIList.empty())
lib/Analysis/DivergenceAnalysis.cpp 204 while (!TaintStack.empty()) {
lib/Analysis/EHPersonalities.cpp 97 while (!Worklist.empty()) {
lib/Analysis/GlobalsModRef.cpp 678 } while (!Inputs.empty());
801 } while (!Inputs.empty());
lib/Analysis/IVDescriptors.cpp 169 while (!Worklist.empty()) {
273 while (!Worklist.empty()) {
917 assert(CastInsts.empty() && "CastInsts is expected to be empty.");
971 if (!CastInsts.empty())
lib/Analysis/InlineCost.cpp 1710 while (!NewDead.empty()) {
lib/Analysis/LazyCallGraph.cpp 234 assert(!Nodes.empty() && "Can't have an empty SCC!");
291 } while (!Worklist.empty());
308 assert(!SCCs.empty() && "Can't have an empty SCC!");
388 } while (!Worklist.empty());
618 } while (!Worklist.empty());
763 assert(DFSStack.empty() &&
765 assert(PendingSCCStack.empty() &&
811 while (!DFSStack.empty())
868 } while (!DFSStack.empty());
1034 } while (!Worklist.empty());
1074 if (MergedSCCs.empty())
1195 assert(DFSStack.empty() &&
1197 assert(PendingRefSCCStack.empty() &&
1259 assert(!DFSStack.empty() &&
1300 } while (!DFSStack.empty());
1302 assert(DFSStack.empty() && "Didn't flush the entire DFS stack!");
1303 assert(PendingRefSCCStack.empty() && "Didn't flush all pending nodes!");
1304 } while (!Worklist.empty());
1582 assert(DFSStack.empty() &&
1584 assert(PendingSCCStack.empty() &&
1657 } while (!DFSStack.empty());
1667 assert(RC.SCCs.empty() && "Already built SCCs!");
1701 if (EntryEdges.empty() || !PostOrderRefSCCs.empty())
lib/Analysis/LazyValueInfo.cpp 514 while (!BlockValueStack.empty()) {
528 while (!StartingStack.empty()) {
1556 assert(BlockValueStack.empty() && BlockValueSet.empty());
lib/Analysis/LoopAccessAnalysis.cpp 251 assert(Checks.empty() && "Checks is not empty");
559 bool isDependencyCheckNeeded() { return !CheckDeps.empty(); }
lib/Analysis/LoopCacheAnalysis.cpp 56 assert(!Loops.empty() && "Expecting a non-empy loop vector");
308 assert(Subscripts.empty() && "Subscripts should be empty");
309 assert(Sizes.empty() && "Sizes should be empty");
336 if (Subscripts.empty() || Sizes.empty() ||
336 if (Subscripts.empty() || Sizes.empty() ||
458 assert(!Loops.empty() && "Expecting a non-empty loop vector.");
512 assert(RefGroups.empty() && "Reference groups should be empty");
557 if (RefGroups.empty())
606 assert(!RG.empty() && "Reference group should have at least one member.");
lib/Analysis/LoopInfo.cpp 966 if (!ExitBlocks.empty()) {
lib/Analysis/MemoryDependenceAnalysis.cpp 389 while (!LoadOperandsQueue.empty()) {
834 while (!DirtyBlocks.empty()) {
1233 while (!Worklist.empty()) {
1612 while (!ReverseDepsToAdd.empty()) {
1643 while (!ReverseDepsToAdd.empty()) {
1686 while (!ReversePtrDepsToAdd.empty()) {
lib/Analysis/MemorySSA.cpp 417 while (!Worklist.empty()) {
626 assert(!PausedSearches.empty() && "No searches to continue?");
630 while (!PausedSearches.empty()) {
746 assert(!Paths.empty() && NP >= &Paths.front() && NP <= &Paths.back() &&
766 assert(Paths.empty() && VisitedPhis.empty() &&
783 assert(!Paths.empty() && "Need a path to move");
853 if (NewPaused.empty()) {
870 if (!TerminatedPaths.empty()) {
891 if (!Clobbers.empty()) {
1154 while (!WorkStack.empty()) {
1338 !VersionStack.empty() &&
lib/Analysis/MemorySSAUpdater.cpp 260 if (!RenameUses && !InsertedPHIs.empty()) {
416 while (!FixupList.empty()) {
483 while (!Worklist.empty()) {
793 if (!RevDeleteUpdates.empty()) {
1054 if (!BlocksToProcess.empty()) {
lib/Analysis/ModuleSummaryAnalysis.cpp 95 while (!Worklist.empty()) {
587 if (!Types.empty()) {
lib/Analysis/MustExecute.cpp 169 while (!WorkList.empty()) {
lib/Analysis/PHITransAddr.cpp 99 if (!Tmp.empty()) {
lib/Analysis/PhiValues.cpp 84 while (!Stack.empty() && DepthMap[Stack.back()] >= DepthNumber) {
117 assert(Stack.empty());
lib/Analysis/ScalarEvolution.cpp 2411 assert(!Ops.empty() && "Cannot get empty add!");
2601 if (Ops.empty())
2707 if (!LIOps.empty()) {
2912 assert(!Ops.empty() && "Cannot get empty mul!");
3045 if (!LIOps.empty()) {
3129 if (SumOps.empty())
3551 assert(!Ops.empty() && "Cannot get empty (u|s)(min|max)!");
3661 assert(!Ops.empty() && "Reduced smax down to nothing!");
4136 assert(!Ops.empty() && "At least one operand must be!");
4197 while (!Worklist.empty()) {
4912 assert(!(Rewrite.second).empty() && "Expected to find Predicates");
6080 while (!PoisonStack.empty() && !LatchControlDependentOnPoison) {
6707 while (!Worklist.empty()) {
6803 while (!LoopWorklist.empty()) {
6829 while (!Worklist.empty()) {
6868 while (!Worklist.empty()) {
6896 if (!isComplete() || ExitNotTaken.empty())
11195 if (NewTerms.empty() || !findArrayDimensionsRec(*this, NewTerms, Sizes)) {
11214 if (Sizes.empty())
11324 if (Terms.empty())
11330 if (Sizes.empty())
11336 if (Subscripts.empty())
11373 while (!Worklist.empty()) {
11943 while (!LoopStack.empty()) {
lib/Analysis/ScalarEvolutionExpander.cpp 326 const SCEV *Sum = NoAddRecs.empty() ?
367 if (!AddRecs.empty()) {
447 if (!ScaledOps.empty()) {
458 Value *Scaled = ScaledOps.empty() ?
470 if (Ops.empty())
lib/Analysis/StackSafetyAnalysis.cpp 287 while (!WorkList.empty()) {
lib/Analysis/TypeMetadataUtils.cpp 92 if (!Assumes.empty())
lib/Analysis/VFABIDemangling.cpp 343 if (Parameters.empty())
lib/Analysis/ValueTracking.cpp 475 while (!WorkSet.empty()) {
1937 assert(WorkList.empty() && "Should be!");
1941 while (!WorkList.empty()) {
3802 } while (!Worklist.empty());
3866 } while (!Working.empty());
lib/Analysis/VectorUtils.cpp 406 if (Worklist.empty() || (TTI && !SeenExtFromIllegalType))
410 while (!Worklist.empty()) {
lib/AsmParser/LLParser.cpp 2299 if (Indices.empty()) return TokError("expected index");
2438 if (!ArgList.empty() &&
2514 if (!BundleList.empty() &&
2544 if (BundleList.empty())
3148 if (Elts.empty())
3177 if (Elts.empty()) {
6151 if (!Args.empty() &&
7231 if (!Indices.empty() && !Ty->isSized(&Visited))
7361 assert(Indexes.empty() && "Expected empty order vector");
lib/BinaryFormat/MsgPackDocument.cpp 127 if (Stack.empty())
156 while (!Stack.empty()) {
167 } while (!Stack.empty());
216 while (!Stack.empty()) {
226 if (Stack.empty())
lib/Bitcode/Reader/BitcodeReader.cpp 1967 if (!SSIDs.empty())
1982 if (SSIDs.empty())
2370 if (Record.empty())
2385 if (!CurTy->isIntegerTy() || Record.empty())
2390 if (!CurTy->isIntegerTy() || Record.empty())
2400 if (Record.empty())
2430 if (Record.empty())
2458 if (Record.empty())
2467 if (Record.empty())
lib/Bitcode/Reader/MetadataLoader.cpp 150 bool empty() const { return MetadataPtrs.empty(); }
2014 if (Record.empty())
lib/Bitcode/Writer/BitcodeWriter.cpp 2175 if (MDs.empty()) continue;
2198 if (Names.empty()) return;
2224 if (Tags.empty())
2244 if (SSNs.empty())
4142 if (!NameVals.empty()) {
4156 if (!NameVals.empty()) {
lib/Bitcode/Writer/ValueEnumerator.cpp 599 while (!Worklist.empty())
622 while (!Worklist.empty()) {
649 if (Worklist.empty() || Worklist.back().first->isDistinct()) {
lib/CodeGen/AllocationOrder.cpp 42 if (!Hints.empty()) {
lib/CodeGen/Analysis.cpp 426 while (!Path.empty() && !indexReallyValid(SubTypes.back(), Path.back() + 1)) {
432 if (Path.empty())
478 if (Path.empty())
499 assert(!Path.empty() && "found a leaf but didn't set the path?");
701 while (!Worklist.empty()) {
768 if (EHScopeBlocks.empty())
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 192 assert(!DD && Handlers.empty() && "Debug/EH info didn't get finalized");
1365 assert(!Filename->empty() && "The filename can't be empty.");
3121 if (Sleds.empty())
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 1202 return !Loc.LoadChain.empty() && Loc.LoadChain.back() == 0;
1255 DR.InMemory = !Location->LoadChain.empty();
1257 !Location->LoadChain.empty() ? Location->LoadChain.back() : 0;
1266 if (Var.DefRanges.empty() ||
1287 if (!R.empty() && R.back().second == Begin)
1869 if (!ReturnAndArgTypeIndices.empty()) {
1921 if (!ArgTypeIndices.empty() && ArgTypeIndices.back() == TypeIndex::Void())
2586 while (!DeferredCompleteTypes.empty()) {
2621 if (Var.DefRanges.empty())
3034 if (!GlobalVariables.empty()) {
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp 60 if (!Entries.empty() && Entries.back().isDbgValue() &&
121 if (VarSet.empty())
lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp 96 while (!WorkList.empty()) {
100 if (!Children.empty())
214 if (Entries.empty())
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp 328 if (CURanges.empty() || !SameAsPrevCU ||
735 while (!WorkList.empty()) {
777 assert(Children.empty());
799 *HasNonScopeChildren = !Children.empty();
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 255 assert(FrameIndexExprs.empty() && "Already initialized?");
292 assert(!FrameIndexExprs.empty() && "Expected an MMI entry");
293 assert(!V.FrameIndexExprs.empty() && "Expected an MMI entry");
491 if (Ranges.empty())
631 if (ExplicitFwdRegDefs.empty() && ImplicitFwdRegDefs.empty())
631 if (ExplicitFwdRegDefs.empty() && ImplicitFwdRegDefs.empty())
643 if (I->getNumExplicitDefs() != 1 || ExplicitFwdRegDefs.empty())
1099 if (getDwarfVersion() < 5 && !SkeletonHolder.getRangeLists().empty()) {
1452 if (OpenRanges.empty())
1521 if (HistoryMapEntries.empty())
1941 if (getUnits().empty())
2222 assert(!Values.empty() &&
2668 if (Holder.getRangeLists().empty())
2697 if (Holder.getRangeLists().empty())
2882 if (!TypeUnitsUnderConstruction.empty() && AddrPool.hasBeenUsed())
2891 bool TopLevelType = TypeUnitsUnderConstruction.empty();
2966 assert(TypeUnitsUnderConstruction.empty() || !DD->AddrPool.hasBeenUsed());
lib/CodeGen/AsmPrinter/DwarfDebug.h 141 assert(FrameIndexExprs.empty() && "Already initialized?");
152 assert(FrameIndexExprs.empty() && "Already initialized?");
181 bool hasFrameIndexExprs() const { return !FrameIndexExprs.empty(); }
212 assert((FrameIndexExprs.empty() ||
216 return !FrameIndexExprs.empty();
lib/CodeGen/AsmPrinter/WinException.cpp 685 if (!FuncInfo.CxxUnwindMap.empty())
688 if (!FuncInfo.TryBlockMap.empty())
691 if (!IPToStateTable.empty())
782 if (!TBME.HandlerArray.empty())
1041 assert(!FuncInfo.SEHUnwindMap.empty());
1177 assert(HandlerStack.empty());
1216 assert(HandlerStack.empty());
lib/CodeGen/BranchFolding.cpp 204 MadeChange |= MBB.CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
524 if (TBB == NextBB && !Cond.empty() && !FBB) {
1178 if (!Cond.empty() && TBB == IBB) {
1190 if (TBB && (Cond.empty() || FBB)) {
1193 if (!Cond.empty())
1452 !PriorCond.empty());
1475 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 &&
1547 if (MBB->succ_empty() && !PriorCond.empty() && !PriorFBB &&
1595 if (PredAnalyzable && !PredCond.empty() && PredTBB == MBB &&
1626 MadeChange |= MBB->CorrectExtraCFGEdges(CurTBB, CurFBB, !CurCond.empty());
1647 if (CurTBB && CurCond.empty() && !CurFBB &&
1677 assert(PriorCond.empty() && !PriorFBB &&
1970 if (TII->analyzeBranch(*MBB, TBB, FBB, Cond, true) || !TBB || Cond.empty())
lib/CodeGen/CFGuardLongjmp.cpp 100 if (SetjmpCalls.empty())
lib/CodeGen/CFIInstrInserter.cpp 242 } while (!Stack.empty());
lib/CodeGen/CodeGenPrepare.cpp 633 while (!LoopList.empty()) {
1916 while (!PtrOps.empty()) {
2725 return !Actions.empty() ? Actions.back().get() : nullptr;
2737 while (!Actions.empty() && Point != Actions.back().get()) {
3004 while (!WorkList.empty()) {
3111 if (AddrModes.empty()) {
3289 while (!WorkList.empty()) {
3383 while (!TraverseOrder.empty()) {
3424 while (!Worklist.empty()) {
4678 while (!worklist.empty()) {
5723 while (!WorkList.empty()) {
6312 if (InstsToBePromoted.empty())
6528 if (InstsToBePromoted.empty() || !CombineInst)
lib/CodeGen/DwarfEHPrepare.cpp 194 if (Resumes.empty())
lib/CodeGen/EarlyIfConversion.cpp 394 while (!Reads.empty())
494 if (Cond.empty()) {
lib/CodeGen/ExecutionDomainFix.cpp 26 DomainValue *dv = Avail.empty() ? new (Allocator.Allocate()) DomainValue
116 while (!dv->Instrs.empty())
350 while (!Regs.empty()) {
lib/CodeGen/ExpandMemCmp.cpp 226 (LoadSequence.empty() || LoadSequence.size() > 2)) {
230 if (!OverlappingLoads.empty() &&
231 (LoadSequence.empty() ||
lib/CodeGen/GlobalISel/IRTranslator.cpp 167 Offsets->empty() ? Offsets : nullptr);
190 Offsets->empty() ? Offsets : nullptr);
498 while (!WorkList.empty()) {
1030 if (!Regs.empty())
1863 if (Regs.empty()) {
1887 if (Regs.empty()) {
2083 if (Offsets && !Offsets->empty())
2252 assert(PendingPHIs.empty() && "stale PHIs");
lib/CodeGen/GlobalISel/Legalizer.cpp 217 assert(RetryList.empty() && "Expected no instructions in RetryList");
248 if (!RetryList.empty()) {
250 while (!RetryList.empty())
lib/CodeGen/GlobalISel/LegalizerInfo.cpp 183 if (Rules.empty()) {
206 if (Rules.empty()) {
229 if (Rules.empty()) {
lib/CodeGen/GlobalISel/RegBankSelect.cpp 291 assert(!PossibleMappings.empty() &&
637 if (PossibleMappings.empty())
lib/CodeGen/GlobalISel/Utils.cpp 274 while (!SeenOpcodes.empty()) {
lib/CodeGen/IfConversion.cpp 687 if (TrueBBI.TrueBB && TrueBBI.BrCond.empty())
1060 bool AlreadyPredicated = !BBI.Predicate.empty();
1217 while (!BBStack.empty()) {
1238 if (!BBI.IsBrAnalyzable || BBI.BrCond.empty() || BBI.IsDone) {
1284 bool TNeedSub = !TrueBBI.Predicate.empty();
1285 bool FNeedSub = !FalseBBI.Predicate.empty();
lib/CodeGen/ImplicitNullChecks.cpp 307 if (!NullCheckList.empty())
310 return !NullCheckList.empty();
lib/CodeGen/IndirectBrExpandPass.cpp 108 if (IndirectBrs.empty())
157 if (BBs.empty()) {
lib/CodeGen/InlineSpiller.cpp 481 } while (!WorkList.empty());
517 } while (!WorkList.empty());
684 if (DeadDefs.empty())
832 if (FoldOps.empty())
1086 if (!DeadDefs.empty()) {
1125 assert(DeadDefs.empty() && "Previous spill didn't remove dead defs");
1131 if (!RegsToSpill.empty())
1502 if (!SpillsToIns.empty() || !SpillsToRm.empty())
lib/CodeGen/InterleavedAccessPass.cpp 305 if (Shuffles.empty())
lib/CodeGen/LexicalScopes.cpp 238 while (!WorkStack.empty()) {
332 if (!Children.empty())
lib/CodeGen/LiveDebugVariables.cpp 765 if (Kills.empty())
802 if (CopyValues.empty())
lib/CodeGen/LiveInterval.cpp 121 if (segments().empty())
137 if (segments().empty())
523 } while (!valnos.empty() && valnos.back()->isUnused());
560 assert(segments.empty() || segments.back().end <= S.start);
807 segments.empty() &&
1185 assert(Spills.empty() && "Leftover spilled segments");
1226 if (!Spills.empty() && coalescable(Spills.back(), Seg)) {
1286 if (Spills.empty()) {
lib/CodeGen/LiveIntervals.cpp 385 while (!WorkList.empty()) {
760 if (!SRs.empty()) {
lib/CodeGen/LiveRangeCalc.cpp 134 assert(MainRange.segments.empty() && MainRange.valnos.empty() &&
134 assert(MainRange.segments.empty() && MainRange.valnos.empty() &&
lib/CodeGen/LiveRangeEdit.cpp 399 while (!Dead.empty())
434 if (!SplitLIs.empty())
lib/CodeGen/LiveVariables.cpp 488 while (!Defs.empty()) {
588 if (!PHIVarInfo[MBB->getNumber()].empty()) {
lib/CodeGen/LoopTraversal.cpp 41 while (!Workqueue.empty()) {
lib/CodeGen/MIRParser/MIParser.cpp 899 if (!Operands.empty() && expectAndConsume(MIToken::equal))
988 if (!MemOperands.empty())
lib/CodeGen/MachineBasicBlock.cpp 544 if (Cond.empty()) {
863 if (Cond.empty()) return nullptr;
994 while (!KilledRegs.empty()) {
lib/CodeGen/MachineBlockPlacement.cpp 272 assert(!Blocks.empty() && "Can't merge into an empty chain.");
1593 if (WorkList.empty())
2470 assert(BlockWorkList.empty() &&
2472 assert(EHPadWorkList.empty() &&
2596 assert(BlockWorkList.empty() &&
2598 assert(EHPadWorkList.empty() &&
2721 if (TBB && !Cond.empty() && FBB &&
lib/CodeGen/MachineCSE.cpp 688 while (!PhysDefs.empty()) {
753 } while (!WorkList.empty());
864 } while (!BBs.empty());
lib/CodeGen/MachineCombiner.cpp 278 assert(!InsInstrs.empty() && "Only support sequences that insert instrs.");
475 if (InsInstrs.empty() || !TSchedModel.hasInstrSchedModelOrItineraries())
lib/CodeGen/MachineDominators.cpp 88 if (CriticalEdgesToSplit.empty())
lib/CodeGen/MachineFunction.cpp 746 if (LandingPads[i].BeginLabels.empty()) {
lib/CodeGen/MachineInstr.cpp 1828 while (!DeadOps.empty()) {
1893 while (!DeadOps.empty()) {
lib/CodeGen/MachineLICM.cpp 341 while (!Worklist.empty()) {
682 while (!WorkList.empty()) {
817 if (!TII->analyzeBranch(*BB, TBB, FBB, Cond, false) && Cond.empty())
1085 } while (!Work.empty());
lib/CodeGen/MachineOperand.cpp 490 if (SSNs.empty())
lib/CodeGen/MachinePipeliner.cpp 609 while (!Worklist.empty()) {
671 if (Objs.empty())
680 if (Objs.empty())
2344 while (!Worklist.empty()) {
2367 while (!Worklist.empty()) {
lib/CodeGen/MachineSink.cpp 1292 assert((!UsedOpsInCopy.empty() && !DefedRegsInCopy.empty()) &&
1292 assert((!UsedOpsInCopy.empty() && !DefedRegsInCopy.empty()) &&
lib/CodeGen/MachineTraceMetrics.cpp 548 } while (!WorkList.empty());
573 } while (!WorkList.empty());
859 while (!Stack.empty()) {
1044 for (;!Stack.empty(); Stack.pop_back()) {
1079 if (!Deps.empty()) {
lib/CodeGen/MachineVerifier.cpp 702 if (!Cond.empty()) {
706 } else if (TBB && !FBB && Cond.empty()) {
729 } else if (TBB && !FBB && !Cond.empty()) {
788 if (Cond.empty()) {
2107 while (!regMasks.empty()) {
lib/CodeGen/MacroFusion.cpp 103 if (SU.Succs.empty())
lib/CodeGen/ModuloSchedule.cpp 1418 Defaults.resize(Defaults.size() + StageDiff, Defaults.empty()
lib/CodeGen/PeepholeOptimizer.cpp 554 if (ExtendLife && !ExtendedUses.empty())
560 if (!Uses.empty()) {
743 } while (!SrcToLook.empty());
758 assert(!SrcRegs.empty() && "No sources to create a PHI instruction?");
lib/CodeGen/PrologEpilogInserter.cpp 490 while (!WorkList.empty()) {
1036 if (!ObjectsToAllocate.empty() &&
lib/CodeGen/RegAllocBasic.cpp 223 assert(!Intfs.empty() && "expected interference");
lib/CodeGen/RegAllocGreedy.cpp 2473 if (PhysReg || !NewVRegs.empty())
2499 if (PhysReg || !NewVRegs.empty())
2983 } while (!RecoloringCandidates.empty());
3048 NewVRegs.empty()) {
3051 if (CSRReg || !NewVRegs.empty())
3084 assert((NewVRegs.empty() || Depth) && "Cannot append to existing NewVRegs");
lib/CodeGen/RegAllocPBQP.cpp 735 AnotherRoundNeeded |= !NewVRegs.empty();
lib/CodeGen/RegisterCoalescer.cpp 1506 if (!DeadDefs.empty())
2864 assert(!TaintExtent.empty() && "There should be at least one conflict.");
3255 if (EndPoints.empty())
3385 while (!ShrinkRegs.empty())
3397 if (!EndPoints.empty()) {
3482 if (!DeadDefs.empty())
3637 assert(WorkList.empty() && LocalWorkList.empty() && "Old data still around.");
3637 assert(WorkList.empty() && LocalWorkList.empty() && "Old data still around.");
lib/CodeGen/RegisterPressure.cpp 325 assert(P.LiveInRegs.empty() && "inconsistent max pressure result");
337 assert(P.LiveOutRegs.empty() && "inconsistent max pressure result");
lib/CodeGen/SafeStack.cpp 288 while (!WorkList.empty()) {
761 if (StaticAllocas.empty() && DynamicAllocas.empty() &&
761 if (StaticAllocas.empty() && DynamicAllocas.empty() &&
762 ByValArguments.empty() && StackRestorePoints.empty())
762 ByValArguments.empty() && StackRestorePoints.empty())
765 if (!StaticAllocas.empty() || !DynamicAllocas.empty() ||
765 if (!StaticAllocas.empty() || !DynamicAllocas.empty() ||
766 !ByValArguments.empty())
769 if (!StackRestorePoints.empty())
819 IRB, F, StackRestorePoints, StaticTop, !DynamicAllocas.empty());
lib/CodeGen/SafeStackColoring.cpp 75 while (!WorkList.empty()) {
lib/CodeGen/SafeStackLayout.cpp 57 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End;
93 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End;
lib/CodeGen/SafeStackLayout.h 71 unsigned getFrameSize() { return Regions.empty() ? 0 : Regions.back().End; }
lib/CodeGen/ScheduleDAG.cpp 229 } while (!WorkList.empty());
244 } while (!WorkList.empty());
291 } while (!WorkList.empty());
322 } while (!WorkList.empty());
488 assert(SU.Succs.empty() && "SUnit should have no successors");
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 200 while (!N && !Worklist.empty()) {
1868 if (Ops.empty()) {
15437 while (!Worklist.empty()) {
16346 while (!Chains.empty()) {
20663 while (!Chains.empty()) {
lib/CodeGen/SelectionDAG/InstrEmitter.cpp 969 if (!UsedRegs.empty() || II.getImplicitDefs() || II.hasOptionalDef())
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 1425 if (!Stores.empty()) // Not all undef elements?
3711 if (Results.empty() && Node->isStrictFPOpcode()) {
3739 if (Results.empty()) {
4104 if (!Results.empty()) {
4578 if (!Results.empty()) {
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp 214 while (!Worklist.empty()) {
888 if (Results.empty())
923 if (Results.empty())
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp 51 bool empty() const { return Queue.empty(); }
518 return !LRegs.empty();
533 assert(RootSU->Succs.empty() && "Graph root shouldn't have successors!");
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp 368 assert(Interferences.empty() && LRegsMap.empty() && "stale Interferences");
1431 return !LRegs.empty();
1604 assert(RootSU->Succs.empty() && "Graph root shouldn't have successors!");
1612 while (!AvailableQueue->empty() || !Interferences.empty()) {
1955 while (!WorkList.empty()) {
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp 346 while (!Worklist.empty()) {
422 while (!CallSUnits.empty()) {
684 while (!GluedNodes.empty()) {
906 while (!GluedNodes.empty()) {
lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp 175 if (SUnits[i].Preds.empty()) {
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 701 while (!DeadNodes.empty()) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 804 if (ValueVTs.empty())
951 else if (!Regs.empty() && Register::isVirtualRegister(Regs.front())) {
1035 if (PendingLoads.empty())
1055 if (PendingExports.empty())
3031 while (!UsersToVisit.empty()) {
4081 assert(PendingLoads.empty() && "PendingLoads must be serialized first");
8227 if (OpInfo.AssignedRegs.Regs.empty()) {
8374 if (OpInfo.AssignedRegs.Regs.empty()) {
8392 if (!OpInfo.AssignedRegs.Regs.empty())
8458 if (OpInfo.AssignedRegs.Regs.empty())
8498 if (!ResultValues.empty()) {
8510 if (!OutChains.empty())
8514 if (ResultValues.empty() || HasSideEffect || !OutChains.empty() || IsCallBr)
8514 if (ResultValues.empty() || HasSideEffect || !OutChains.empty() || IsCallBr)
8528 if (ValueVTs.empty())
9267 assert((!CLI.IsTailCall || InVals.empty()) &&
9348 if (ReturnValues.empty())
9838 if (ArgValues.empty())
9896 if (!Chains.empty()) {
9908 if (!DbgDeclareInfo.empty() && !ArgCopyElisionFrameIndexMap.empty()) {
10566 while (!WorkList.empty()) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 564 if (!FuncInfo->ArgDbgValues.empty())
774 } while (!Worklist.empty());
1066 while (!Nodes.empty()) {
1133 while (!Nodes.empty()) {
2289 if (!ChainNodesMatched.empty()) {
2328 if (!NowDeadNodes.empty())
2374 while (!Worklist.empty())
2934 NewEntry.HasChainNodesMatched = !ChainNodesMatched.empty();
3000 assert(!NodeStack.empty() && "Node stack imbalance!");
3257 assert(ChainNodesMatched.empty() &&
3293 assert(ChainNodesMatched.empty() &&
3312 if (ChainNodesMatched.empty())
3507 LLVM_DEBUG(if (!MatchedMemRefs.empty() && Res->memoperands_empty()) dbgs()
3577 if (MatchScopes.empty()) {
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp 282 while (!GluedNodes.empty()) {
286 if (!GluedNodes.empty())
lib/CodeGen/SelectionDAG/StatepointLowering.cpp 74 assert(PendingGCRelocateCalls.empty() &&
88 assert(PendingGCRelocateCalls.empty() &&
506 assert(SI.Bases.empty() && "No gc specified, so cannot relocate pointers!");
507 assert(SI.Ptrs.empty() && "No gc specified, so cannot relocate pointers!");
lib/CodeGen/SjLjEHPrepare.cpp 138 while (!UseWorkList.empty()) {
291 while (!Users.empty()) {
375 if (Invokes.empty())
lib/CodeGen/SlotIndexes.cpp 56 assert(idx2MBBMap.empty() &&
58 assert(MBBRanges.empty() &&
lib/CodeGen/SpillPlacement.cpp 329 return !RecentPositive.empty();
lib/CodeGen/SplitKit.cpp 97 if (EHPadSuccessors.empty())
166 assert(UseSlots.empty() && "Call clear first");
1429 if (Dead.empty())
1467 } while(!WorkList.empty());
lib/CodeGen/StackColoring.cpp 1035 if (Objs.empty())
lib/CodeGen/SwiftErrorValueTracking.cpp 121 if (SwiftErrorVals.empty())
153 if (SwiftErrorVals.empty())
214 assert(!VRegs.empty() &&
229 assert(!VRegs.empty() &&
262 if (!TLI->supportSwiftError() || SwiftErrorVals.empty())
lib/CodeGen/TailDuplicator.cpp 185 if (!SSAUpdateVRs.empty()) {
692 if (!PredCond.empty())
727 if (PredCond.empty())
782 if (!PredCond.empty())
886 PriorCond.empty() &&
lib/CodeGen/TwoAddressInstructionPass.cpp 800 if (!VirtRegPairs.empty()) {
803 while (!VirtRegPairs.empty()) {
lib/CodeGen/VirtRegMap.cpp 575 while (!SuperKills.empty())
578 while (!SuperDeads.empty())
581 while (!SuperDefs.empty())
lib/CodeGen/WasmEHPrepare.cpp 156 while (!WL.empty()) {
217 if (CatchPads.empty() && CleanupPads.empty())
217 if (CatchPads.empty() && CleanupPads.empty())
lib/CodeGen/WinEHPrepare.cpp 430 if (!FuncInfo.SEHUnwindMap.empty())
526 while (!Worklist.empty()) {
914 if (UsesToRename.empty())
925 while (!UsesToRename.empty())
1118 while (!Worklist.empty()) {
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp 27 assert(!Limits.empty() && "Not in a record!");
61 assert(!Limits.empty() && "Not in a record!");
lib/DebugInfo/CodeView/TypeStreamMerger.cpp 405 if (Refs.empty())
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp 875 if (NameIndices.empty())
lib/DebugInfo/DWARF/DWARFContext.cpp 875 if (!NormalUnits.empty())
887 if (!DWOUnits.empty())
955 if (InlinedChain.empty())
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp 304 if (!AugmentationData.empty()) {
lib/DebugInfo/DWARF/DWARFUnit.cpp 650 assert(InlinedChain.empty());
lib/DebugInfo/DWARF/DWARFVerifier.cpp 1188 if (Result.empty() || Result[0] != Str)
1336 if (EntryNames.empty())
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp 174 if (!InjectedSources.empty()) {
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp 477 while (!BlockSyms.empty()) {
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp 99 if (IBBs.empty())
291 if (CallerBlocks.empty())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp 1855 if (!PendingRelocs.empty())
lib/ExecutionEngine/TargetSelect.cpp 79 if (!MAttrs.empty()) {
lib/IR/AsmWriter.cpp 1711 if (Extra || SplitFlags.empty())
1735 if (Extra || SplitFlags.empty())
2488 if (SSNs.empty())
4089 if (MDs.empty())
4092 if (MDNames.empty())
lib/IR/ConstantFold.cpp 2453 if (!NewIdxs.empty()) {
lib/IR/Constants.cpp 471 while (!WorkList.empty()) {
lib/IR/ConstantsContext.h 382 assert(Storage.empty() && "Expected empty storage");
493 assert(Storage.empty() && "Expected empty storage");
lib/IR/DIBuilder.cpp 87 if (!RetainValues.empty())
97 if (!AllGVs.empty())
100 if (!AllImportedModules.empty())
lib/IR/DebugInfo.cpp 573 while (!ToVisit.empty()) {
lib/IR/DebugInfoMetadata.cpp 1062 if (Ops.empty())
lib/IR/Function.cpp 339 if (!Name.empty())
342 if (!Name.empty())
1063 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) {
lib/IR/LLVMContextImpl.h 1179 bool empty() const { return Attachments.empty(); }
1222 bool empty() const { return Attachments.empty(); }
lib/IR/LegacyPassManager.cpp 1027 if (PassDebugging >= Details && !DeadPasses.empty()) {
1117 if (!TransferLastUses.empty()) {
1305 if (Set.empty())
lib/IR/Metadata.cpp 969 if (!EndPoints.empty())
lib/IR/SafepointIRVerifier.cpp 163 while (!NewDead.empty()) {
335 while(!Worklist.empty()) {
lib/IR/TypeFinder.cpp 113 } while (!TypeWorklist.empty());
lib/IR/Verifier.cpp 1884 while (!Stack.empty()) {
2232 assert(F.hasMetadata() != MDs.empty() && "Bit out-of-sync");
2246 Assert(MDs.empty(), "unmaterialized function cannot have metadata", &F,
2247 MDs.empty() ? nullptr : MDs.front().second);
3770 while (!Worklist.empty()) {
3883 while (!Worklist.empty()) {
5085 if (DeoptimizeDeclarations.empty())
lib/LTO/LTOBackend.cpp 334 if (!DwoFile.empty()) {
lib/LTO/ThinLTOCodeGenerator.cpp 354 if (EntryPath.empty())
369 if (EntryPath.empty())
lib/Linker/IRMover.cpp 81 assert(SpeculativeTypes.empty());
82 assert(SpeculativeDstOpaqueTypes.empty());
1164 if (!AllImportedModules.empty())
lib/MC/ConstantPools.cpp 27 if (Entries.empty())
57 bool ConstantPool::empty() { return Entries.empty(); }
lib/MC/MCAsmStreamer.cpp 366 if (CommentToEmit.empty() && CommentStream.GetNumBytesInBuffer() == 0) {
lib/MC/MCCodePadder.cpp 314 if (Windows.empty())
331 if (Window.empty())
lib/MC/MCCodeView.cpp 195 if (Files.empty())
lib/MC/MCContext.cpp 628 if (FileNameBuf.empty() || FileNameBuf == "-")
lib/MC/MCDwarf.cpp 436 MCOS->EmitULEB128IntValue(MCDwarfFiles.empty() ? 1 : MCDwarfFiles.size());
570 if (MCDwarfFiles.empty()) {
579 FileNumber = MCDwarfFiles.empty() ? 1 : MCDwarfFiles.size();
1022 assert(MCDwarfFiles.empty() || MCDwarfFiles.size() >= 2);
1024 MCDwarfFiles.empty()
lib/MC/MCELFStreamer.cpp 652 assert(!BundleGroups.empty() && "There are no bundle groups");
lib/MC/MCObjectStreamer.cpp 46 if (PendingLabels.empty())
lib/MC/MCSection.cpp 59 if (Subsection == 0 && SubsectionFragmentMap.empty())
lib/MC/WasmObjectWriter.cpp 813 if (DataSegments.empty())
853 if (DataSegments.empty())
lib/MCA/InstrBuilder.cpp 490 bool UsesResources = !ID.Resources.empty();
676 if (D.Writes.empty())
lib/MCA/Pipeline.cpp 38 assert(!Stages.empty() && "Unexpected empty pipeline found!");
77 if (!Stages.empty()) {
lib/Object/ArchiveWriter.cpp 568 if (!StringTableBuf.empty())
lib/Object/MachOObjectFile.cpp 3055 assert(!Stack.empty() && "ExportEntry::moveNext() with empty node stack");
3065 while (!Stack.empty()) {
lib/Object/WasmObjectFile.cpp 1658 if (WorkList.empty())
lib/Passes/PassBuilder.cpp 1637 if (!Callbacks.empty()) {
lib/Passes/StandardInstrumentations.cpp 147 assert(ModuleDescStack.empty() && "ModuleDescStack is not empty at exit");
161 assert(!ModuleDescStack.empty() && "empty ModuleDescStack");
lib/ProfileData/Coverage/CoverageMapping.cpp 271 if (RecordIndices.empty() || RecordIndices.back() != RecordIndex)
338 if (Readers.empty() && !ObjectFilenames.empty())
488 startSegment(ActiveRegions.empty() ? CR.value() : *ActiveRegions.back(),
504 if (!ActiveRegions.empty())
lib/ProfileData/GCOV.cpp 414 if (!SrcEdges.empty()) {
420 if (!DstEdges.empty()) {
426 if (!Lines.empty()) {
lib/Remarks/YAMLRemarkSerializer.cpp 238 assert(!FilenameBuf.empty() && "The filename can't be empty.");
lib/Support/APFloat.cpp 3553 assert(!buffer.empty() && "no characters in buffer!");
lib/Support/ARMAttributeParser.cpp 689 if (!Indicies.empty())
lib/Support/CommandLine.cpp 302 return (!Sub.OptionsMap.empty() || !Sub.PositionalOpts.empty() ||
447 assert(!Categories.empty() && "Categories cannot be empty.");
815 if (Token.empty()) {
852 if (!Token.empty())
863 if (!Token.empty())
988 if (!Token.empty())
1313 if (!PositionalOpts.empty()) {
1382 if (!PositionalOpts.empty()) {
1437 if (!Handler && SinkOpts.empty())
1443 if (SinkOpts.empty()) {
1544 if (PositionalOpts.size() == 1 && ValNo == 0 && !PositionalVals.empty()) {
2129 if (Sub == &*TopLevelSubCommand && !Subs.empty()) {
lib/Support/ConvertUTFWrapper.cpp 144 assert(DstUTF16.empty());
lib/Support/FileCheck.cpp 669 assert(!MatchInfo.empty() && "Didn't get any match");
lib/Support/IntervalMap.cpp 19 assert(!path.empty() && "Can't replace missing root");
lib/Support/JSON.cpp 661 assert(!Stack.empty());
679 assert(!Stack.empty());
lib/Support/Path.cpp 432 !path.empty() && is_separator(path[path.size() - 1], style);
446 !(path.empty() || has_root_name(component, style))) {
533 if (Path.empty())
700 if (!components.empty() && components.back() != "..") {
lib/Support/TimeProfiler.cpp 72 assert(!Stack.empty() && "Must call begin() first");
77 assert((Entries.empty() ||
107 assert(Stack.empty() &&
lib/Support/VirtualFileSystem.cpp 710 if (Path.empty())
820 if (Path.empty())
962 if (!Path.empty())
1386 assert(!FullPath.empty() &&
1641 if (Path.empty())
1928 DirStack.empty() ? Path : containedPart(DirStack.back(), Path);
1997 while (!DirStack.empty() && !containedIn(DirStack.back(), Dir)) {
2014 while (!DirStack.empty()) {
lib/Support/YAMLParser.cpp 1000 if (!SimpleKeys.empty() && (SimpleKeys.end() - 1)->FlowLevel == Level)
1220 if (!SimpleKeys.empty()) {
lib/Support/YAMLTraits.cpp 376 if (!StringStorage.empty()) {
408 if (!StringStorage.empty()) {
709 if (!StateStack.empty())
714 unsigned Indent = StateStack.empty() ? 1 : StateStack.size();
757 if (StateStack.empty() || (!inFlowSeqAnyElement(StateStack.back()) &&
lib/TableGen/Record.cpp 248 while (!Stack.empty()) {
lib/TableGen/TGParser.cpp 604 if (Result.TemplateArgs.empty()) {
649 if (Result.TemplateArgs.empty()) {
754 if (Ranges.empty()) return true;
776 if (Ranges.empty()) return true;
1837 if (Args.empty()) return nullptr;
1886 if (Vals.empty()) return nullptr;
1950 if (Vals.empty()) return nullptr;
2049 if (DagArgs.empty()) return nullptr;
2121 if (Ranges.empty()) return nullptr;
2144 if (Ranges.empty()) return nullptr;
2497 if (!Ranges.empty()) {
2913 if (LetInfo.empty()) return true;
lib/Target/AArch64/AArch64CallLowering.cpp 565 if (OutArgs.empty())
lib/Target/AArch64/AArch64ConditionOptimizer.cpp 376 if (HeadCond.empty() || !parseCond(HeadCond, HeadCmp)) {
381 if (TrueCond.empty() || !parseCond(TrueCond, TrueCmp)) {
lib/Target/AArch64/AArch64ConditionalCompares.cpp 510 if (!TBB || HeadCond.empty()) {
537 if (!TBB || CmpBBCond.empty()) {
lib/Target/AArch64/AArch64ISelLowering.cpp 3470 if (!MemOps.empty()) {
3618 if (isVarArg && !Outs.empty()) {
3653 if (Outs.empty())
3912 assert(!Ins.empty() && Ins[0].VT == MVT::i64 &&
4009 if (!MemOpChains.empty())
4138 if (!Ins.empty())
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp 347 while (!toDel.empty()) {
lib/Target/AArch64/AArch64PromoteConstant.cpp 570 if (Updates.empty())
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp 367 if (KnownRegs.empty())
445 if (KnownRegs.empty())
lib/Target/AArch64/AArch64SpeculationHardening.cpp 194 if (analyzeBranchCondCode.empty())
lib/Target/AArch64/AArch64StackTagging.cpp 185 if (Ranges.empty()) {
631 if (UnrecognizedLifetimes.empty() && Info.LifetimeStart.size() == 1 &&
lib/Target/AArch64/AArch64StackTaggingPreRA.cpp 202 if (ReTags.empty())
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 4494 assert(!Operands.empty() && "Unexpect empty operand list!");
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp 66 while (!Stack.empty()) {
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp 115 while (!Stack.empty()) {
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp 95 const bool Changed = !ToReplace.empty();
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp 1532 if (!GEPInfo.VgprParts.empty())
1882 if (AddrInfo.empty() || AddrInfo[0].SgprParts.size() != 1)
1903 if (AddrInfo.empty() || AddrInfo[0].SgprParts.size() != 1)
1928 if (AddrInfo.empty() || AddrInfo[0].SgprParts.size() != 1)
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 581 if (Printfs.empty())
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 249 while (!ToReplace.empty()) {
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp 1052 if (SrcRegs.empty()) {
1142 if (!SrcReg.empty()) {
1346 if (DefRegs.empty()) {
1347 assert(Src1Regs.empty() && Src2Regs.empty());
1347 assert(Src1Regs.empty() && Src2Regs.empty());
1352 if (Src0Regs.empty())
1358 if (Src1Regs.empty())
1364 if (Src2Regs.empty())
1394 if (DefRegs.empty()) {
1395 assert(Src0Regs.empty() && Src1Regs.empty());
1395 assert(Src0Regs.empty() && Src1Regs.empty());
1401 (Src0Regs.empty() || Src0Regs.size() == 2));
1408 if (Src0Regs.empty())
1413 if (Src1Regs.empty())
1656 if (DstRegs.empty()) {
1722 if (InsRegs.empty()) {
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp 257 if (OutArgs.empty())
270 if (Returns.empty())
lib/Target/AMDGPU/AMDGPUSubtarget.cpp 796 while (!Preds.empty()) {
816 while (!Worklist.empty() && MaxChain-- > 0) {
lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp 105 while (!Stack.empty()) {
211 if (!UnreachableBlocks.empty()) {
228 if (!ReturningBlocks.empty()) {
253 if (ReturningBlocks.empty())
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp 1042 assert(!ExitingMBBs.empty() && "Infinite Loop not supported");
lib/Target/AMDGPU/GCNDPPCombine.cpp 450 while (!Uses.empty()) {
535 Rollback |= !Uses.empty();
546 while (!S.second.empty())
lib/Target/AMDGPU/GCNMinRegStrategy.cpp 198 while (!Worklist.empty()) {
lib/Target/AMDGPU/GCNNSAReassign.cpp 292 if (Intervals.empty())
lib/Target/AMDGPU/GCNRegBankReassign.cpp 659 while (!BankStalls.empty()) {
lib/Target/AMDGPU/GCNSchedStrategy.cpp 505 assert(!Regions.empty());
527 if (!Regions.empty())
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp 169 return !Stack.empty() && Stack.back().first == BB;
364 if (!Stack.empty()) {
lib/Target/AMDGPU/SIFixSGPRCopies.cpp 367 while (!Worklist.empty()) {
lib/Target/AMDGPU/SIFixupVectorISel.cpp 92 while (!Worklist.empty()) {
lib/Target/AMDGPU/SIISelLowering.cpp 2236 return Chains.empty() ? Chain :
2274 Info->setIfReturnsVoid(Outs.empty());
2636 if (Outs.empty())
2879 if (!MemOpChains.empty())
2972 if (!Ins.empty())
lib/Target/AMDGPU/SIInsertSkips.cpp 451 if (!ExecBranchStack.empty() && ExecBranchStack.back() == &MBB) {
456 if (HaveKill && ExecBranchStack.empty()) {
492 if (ExecBranchStack.empty()) {
lib/Target/AMDGPU/SIInstrInfo.cpp 2006 if (TBB != MaskBrDest || Cond.empty())
lib/Target/AMDGPU/SILowerControlFlow.cpp 165 while (!Worklist.empty()) {
lib/Target/AMDGPU/SILowerI1Copies.cpp 155 assert(Stack.empty());
193 while (!Stack.empty()) {
380 while (!Stack.empty()) {
lib/Target/AMDGPU/SILowerSGPRSpills.cpp 237 assert(SaveBlocks.empty() && RestoreBlocks.empty());
237 assert(SaveBlocks.empty() && RestoreBlocks.empty());
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp 336 if (!Spill.Lanes.empty())
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp 333 while (!Blocks.empty()) {
lib/Target/AMDGPU/SIPeepholeSDWA.cpp 1253 Changed = !ConvertedInstructions.empty();
1257 while (!ConvertedInstructions.empty())
lib/Target/AMDGPU/SIWholeQuadMode.cpp 895 if (!(GlobalFlags & StateWWM) && LowerToCopyInstrs.empty())
896 return !LiveMaskQueries.empty();
902 if (GlobalFlags & StateExact || !LiveMaskQueries.empty()) {
lib/Target/ARC/ARCISelLowering.cpp 306 if (!MemOpChains.empty())
411 if (!MemOpChains.empty())
556 if (!CFRegNode.empty())
580 if (!MemOps.empty()) {
655 if (!MemOpChains.empty())
lib/Target/ARC/ARCInstrInfo.cpp 202 if (!Cond.empty())
lib/Target/ARM/ARMAsmPrinter.cpp 169 if (! ThumbIndirectPads.empty()) {
1130 assert(RegList.empty() &&
lib/Target/ARM/ARMBaseInstrInfo.cpp 348 if (!Cond.empty())
lib/Target/ARM/ARMConstantIslandPass.cpp 406 if (!T2JumpTables.empty())
2412 if (!B && Cond.empty() && BB != &MF->front() &&
lib/Target/ARM/ARMFrameLowering.cpp 1016 if (Regs.empty())
1112 if (Regs.empty())
2006 for (; RegDeficit > 0 && !AvailableRegs.empty(); --RegDeficit) {
2050 if (CS1Spilled && !UnspilledCS1GPRs.empty()) {
2068 } else if (!UnspilledCS2GPRs.empty() && !AFI->isThumb1OnlyFunction()) {
2088 while (NumExtras && !UnspilledCS1GPRs.empty()) {
2099 while (NumExtras && !UnspilledCS2GPRs.empty()) {
2305 } while (!WalkList.empty());
lib/Target/ARM/ARMISelLowering.cpp 2066 bool isStructRet = (Outs.empty()) ? false : Outs[0].Flags.isSRet();
2186 assert(!Ins.empty() && Ins[0].VT == MVT::i32 &&
2253 if (!MemOpChains.empty())
2440 if (!Ins.empty())
2624 if (!Outs.empty()) {
3302 while (!Worklist.empty()) {
3925 if (!MemOps.empty())
9820 while (!Successors.empty()) {
lib/Target/ARM/ARMLegalizerInfo.cpp 407 if (Libcalls.empty()) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp 963 assert(ImpDefs.empty());
lib/Target/ARM/ARMLowOverheadLoops.cpp 532 if (Starts.empty() && Decs.empty() && Ends.empty())
532 if (Starts.empty() && Decs.empty() && Ends.empty())
532 if (Starts.empty() && Decs.empty() && Ends.empty())
lib/Target/ARM/ARMParallelDSP.cpp 369 if (Loads.empty() || Loads.size() > NumLoadLimit)
622 return !R.getMulPairs().empty();
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 122 bool hasFnStart() const { return !FnStartLocs.empty(); }
123 bool cantUnwind() const { return !CantUnwindLocs.empty(); }
124 bool hasHandlerData() const { return !HandlerDataLocs.empty(); }
127 return !(PersonalityLocs.empty() && PersonalityIndexLocs.empty());
127 return !(PersonalityLocs.empty() && PersonalityIndexLocs.empty());
lib/Target/ARM/Disassembler/ARMDisassembler.cpp 103 return !VPTStates.empty();
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 766 assert(Contents.empty() &&
1076 if (Contents.empty())
lib/Target/ARM/MVETailPredication.cpp 314 return !MaskedInsts.empty();
lib/Target/AVR/AVRISelLowering.cpp 1298 if (!Ins.empty()) {
lib/Target/AVR/AVRInstrInfo.cpp 330 if (Cond.empty()) {
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp 1015 } while (!Lookahead.empty () && !Lexer.is(AsmToken::Colon));
1022 while (!Lookahead.empty()) {
1069 while (!Tokens.empty()) {
1105 if (!Operands.empty())
1113 if (Operands.empty()) {
lib/Target/Hexagon/HexagonConstPropagation.cpp 2933 if (!NewInstrs.empty()) {
lib/Target/Hexagon/HexagonExpandCondsets.cpp 458 if (!ExtTo.empty())
lib/Target/Hexagon/HexagonFrameLowering.cpp 451 if (SFBlocks.empty())
1950 if (!NewRegs.empty() || mayOverflowFrameOffset(MF)) {
lib/Target/Hexagon/HexagonHardwareLoops.cpp 1661 if (NotAnalyzed || Cond.empty())
1972 if (TB != Header && (Tmp2.empty() || FB != Header))
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 1664 return (!HaveConst && Q.empty());
1954 while (!Worklist.empty()) {
2255 while (!Worklist.empty()) {
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 974 return !Nodes.empty();
lib/Target/Hexagon/HexagonISelLowering.cpp 327 bool IsStructRet = Outs.empty() ? false : Outs[0].Flags.isSRet();
445 if (!MemOpChains.empty())
lib/Target/Hexagon/HexagonInstrInfo.cpp 1524 if (Cond.empty())
4141 if (Cond.empty())
lib/Target/Hexagon/RDFGraph.cpp 582 if (!Ms.empty())
1824 if (!ReachedDefs.empty()) {
1830 if (!ReachedUses.empty()) {
lib/Target/Hexagon/RDFLiveness.cpp 289 if (RDs.empty())
671 if (!Ds.empty()) {
lib/Target/Lanai/LanaiISelLowering.cpp 705 if (!MemOpChains.empty())
lib/Target/Lanai/LanaiInstrInfo.cpp 624 if (Condition.empty()) {
lib/Target/MSP430/MSP430ISelLowering.cpp 409 if (Args.empty())
563 if (Ins.empty())
731 if (CallConv == CallingConv::MSP430_INTR && !Outs.empty())
867 if (!MemOpChains.empty())
lib/Target/MSP430/MSP430InstrInfo.cpp 237 if (Cond.empty()) {
lib/Target/Mips/MipsAnalyzeImmediate.cpp 23 if (SeqLs.empty()) {
lib/Target/Mips/MipsISelLowering.cpp 3225 if (!MemOpChains.empty())
lib/Target/Mips/MipsOptimizePICCall.cpp 206 while (!WorkList.empty()) {
lib/Target/Mips/MipsRegisterBankInfo.cpp 289 while (!AdjacentInstrs.empty()) {
lib/Target/Mips/MipsSEISelLowering.cpp 750 while (!WorkStack.empty()) {
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp 632 if (E0.empty() || E1.empty())
632 if (E0.empty() || E1.empty())
lib/Target/NVPTX/NVPTXISelLowering.cpp 1511 assert(StoreOperands.empty() && "Unfinished preceding store.");
1570 assert(StoreOperands.empty() && "Unfinished parameter store.");
1799 assert(VecIdx == -1 && LoadVTs.empty() && "Orphaned operand list.");
2692 assert(StoreOperands.empty() && "Orphaned operand list.");
lib/Target/NVPTX/NVPTXProxyRegErasure.cpp 91 return !RemoveList.empty();
lib/Target/PowerPC/PPCBoolRetToInt.cpp 77 while (!WorkList.empty()) {
160 while (!ToRemove.empty()) {
lib/Target/PowerPC/PPCCTRLoops.cpp 168 if (!CheckPreds && Preds.empty())
192 } while (!Preds.empty());
lib/Target/PowerPC/PPCExpandISEL.cpp 163 if (!thisBlockISELs.empty())
329 if (BIL.empty())
lib/Target/PowerPC/PPCFrameLowering.cpp 826 bool MustSaveCR = !MustSaveCRs.empty();
1397 bool MustSaveCR = !MustSaveCRs.empty();
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 1474 if (BitGroups.empty())
1505 if (BitGroups.empty())
2362 if (BitGroups.empty())
5385 while (!Queue.empty()) {
lib/Target/PowerPC/PPCISelLowering.cpp 3668 if (!MemOps.empty())
4096 if (!MemOps.empty())
4456 if (!MemOps.empty())
4920 if (!MemOpChains2.empty())
5328 if (!Ins.empty())
5613 if (!MemOpChains.empty())
6281 if (!MemOpChains.empty())
6675 if (!MemOpChains.empty())
8341 if (!Stores.empty())
11885 while (!Queue.empty()) {
11916 while (!Queue.empty()) {
12120 while (!BinOps.empty()) {
12336 while (!BinOps.empty()) {
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp 471 if (Buckets.empty())
601 if (!UpdateFormBuckets.empty())
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp 162 if (FeatureBitStack.empty())
lib/Target/RISCV/RISCVISelLowering.cpp 1526 assert(!ArgFlags.isSplit() && PendingLocs.empty() &&
1548 if (ArgFlags.isSplit() || !PendingLocs.empty()) {
1585 if (!PendingLocs.empty()) {
2052 auto IsCalleeStructRet = Outs.empty() ? false : Outs[0].Flags.isSRet();
2247 if (!MemOpChains.empty())
lib/Target/Sparc/SparcISelLowering.cpp 680 if (!OutChains.empty())
925 if (!MemOpChains.empty())
1228 if (!MemOpChains.empty())
lib/Target/SystemZ/SystemZCallingConv.h 96 if (!ArgFlags.isSplit() && PendingMembers.empty())
lib/Target/SystemZ/SystemZISelLowering.cpp 1553 if (!MemOpChains.empty())
1675 if (RetLocs.empty())
4556 if (!ResidueOps.empty()) {
5543 if (!Replicate || OtherUses.empty())
lib/Target/SystemZ/SystemZInstrInfo.cpp 415 if (Cond.empty()) {
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp 101 if (ControlFlowStack.empty()) {
110 if (ControlFlowStack.empty()) {
120 if (ControlFlowStack.empty()) {
131 if (EHPadStack.empty()) {
145 if (EHPadStack.empty()) {
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp 104 if (Grouped.empty() || Grouped.back().first != Type)
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 195 int FieldCount = int(!Languages.empty()) + int(!Tools.empty());
195 int FieldCount = int(!Languages.empty()) + int(!Tools.empty());
204 if (Producers.second->empty())
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp 290 while (!Entries.empty() && Entries.back().NumBlocksLeft == 0)
311 if (!Entries.empty() &&
342 if (!Entries.empty() &&
355 assert(Entries.empty() && "Active sort region list not finished");
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp 664 if (Analyzable && ((Cond.empty() && TBB && TBB == Cont) ||
665 (!Cond.empty() && FBB && FBB == Cont)))
905 assert(EHPadStack.empty());
937 if (EHPadStack.empty() || !WebAssembly::mayThrow(MI))
958 assert(EHPadStack.empty());
1342 assert(Stack.empty() && "Control flow should be balanced");
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp 105 while (!WL.empty()) {
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp 140 while (!WorkList.empty()) {
208 while (!WorkList.empty()) {
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 783 if (!Chains.empty())
839 DAG.getNode(Ins.empty() ? WebAssemblyISD::CALL0 : WebAssemblyISD::CALL1,
841 if (Ins.empty()) {
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp 66 while (!WL.empty()) {
89 while (!WL.empty()) {
251 bool Changed = !ToDelete.empty() || !ExtractInstrs.empty();
251 bool Changed = !ToDelete.empty() || !ExtractInstrs.empty();
254 if (ExtractInstrs.empty())
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp 368 bool HasMutableRegisters = !MutableRegisters.empty();
664 bool done() const { return Worklist.empty(); }
672 assert((Worklist.empty() ||
697 if (Worklist.empty())
931 assert(Stack.empty() &&
lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp 522 assert(Rets.empty());
523 assert(Params.empty());
lib/Target/X86/AsmParser/X86AsmParser.cpp 151 assert (!PostfixStack.empty() && "Poped an empty stack!");
166 if (InfixOperatorStack.empty()) {
186 if (InfixOperatorStack.empty())
216 while (!InfixOperatorStack.empty()) {
222 if (PostfixStack.empty())
3144 assert(!Operands.empty() && "Unexpect empty operand list!");
3350 assert(!Operands.empty() && "Unexpect empty operand list!");
3436 if (Match.empty() || LastOpcode != Inst.getOpcode())
3451 if (Match.empty()) {
lib/Target/X86/MCTargetDesc/X86InstComments.cpp 1264 if (ShuffleMask.empty())
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp 187 if (!CurFPOData->Instructions.empty()) {
lib/Target/X86/X86CallLowering.cpp 428 bool IsFixed = Info.OrigArgs.empty() ? true : Info.OrigArgs.back().IsFixed;
477 if (!NewRegs.empty())
lib/Target/X86/X86CallingConv.cpp 251 if (ArgFlags.isSplit() || !PendingMembers.empty()) {
260 if (PendingMembers.empty()) {
lib/Target/X86/X86CmovConversion.cpp 295 if (Group.empty()) {
331 if (Group.empty())
350 if (Group.empty())
359 return !CmovInstGroups.empty();
561 return !CmovInstGroups.empty();
612 assert(!Group.empty() && "No CMOV instructions to convert");
lib/Target/X86/X86DomainReassignment.cpp 551 while (!Worklist.empty()) {
lib/Target/X86/X86FixupBWInsts.cpp 439 while (!MIReplacements.empty()) {
lib/Target/X86/X86FlagsCopyLowering.cpp 454 } while (!Worklist.empty());
678 } while (!Blocks.empty());
lib/Target/X86/X86FloatingPoint.cpp 393 assert(LiveBundles.empty() && "Stale data in LiveBundles");
lib/Target/X86/X86FrameLowering.cpp 3091 if (ObjectsToAllocate.empty())
lib/Target/X86/X86ISelLowering.cpp 2479 if (CallConv == CallingConv::X86_INTR && !Outs.empty())
3438 if (!MemOps.empty())
3721 if (!Outs.empty() && Outs.back().Flags.isInAlloca()) {
3852 if (!MemOpChains.empty())
3975 if (!MemOpChains2.empty())
4356 if (isVarArg && !Outs.empty()) {
4409 if (!Outs.empty()) {
5571 assert(Ops.empty() && "Expected an empty ops vector");
5959 assert(EltBits.empty() && "Expected an empty EltBits vector");
6340 assert(Mask.empty() && "Expected an empty shuffle mask vector");
6423 assert(Mask.empty() && "getTargetShuffleMask expects an empty Mask vector");
6424 assert(Ops.empty() && "getTargetShuffleMask expects an empty Ops vector");
6562 if (N0.getValueType() == VT || !Ops.empty()) {
6695 if (Mask.empty())
6713 if (Ops.empty()) {
32889 assert(!WideInputs.empty() && "Shuffle with no inputs detected");
33085 OpInputIdx.push_back(AddOp(OpInput, OpInputIdx.empty() ? SrcOpIndex : -1));
33178 assert(!Ops.empty() && "Shuffle with no inputs detected");
33397 while (!Chain.empty()) {
40841 unsigned NumShuffles = (LMask.empty() ? 0 : 1) + (RMask.empty() ? 0 : 1);
40841 unsigned NumShuffles = (LMask.empty() ? 0 : 1) + (RMask.empty() ? 0 : 1);
40845 if (LMask.empty()) {
40851 if (RMask.empty()) {
lib/Target/X86/X86ISelLowering.h 1658 assert(Mask.empty() && "Expected an empty shuffle mask vector");
lib/Target/X86/X86InsertPrefetch.cpp 109 assert(Prefetches.empty() &&
153 return !Prefetches.empty();
206 assert(!Prefetches.empty() &&
lib/Target/X86/X86InstrInfo.cpp 2567 if (Cond.empty()) {
3858 if (SrcOperandIds.empty())
5505 bool isAligned = !MMOs.empty() && MMOs.front()->getAlignment() >= Alignment;
5582 bool isAligned = !MMOs.empty() && MMOs.front()->getAlignment() >= Alignment;
5637 if (MMOs.empty() && RC == &X86::VR128RegClass &&
5649 bool isAligned = !MMOs.empty() && MMOs.front()->getAlignment() >= Alignment;
5708 if (MMOs.empty() && RC == &X86::VR128RegClass &&
5715 bool isAligned = !MMOs.empty() && MMOs.front()->getAlignment() >= Alignment;
lib/Target/X86/X86MCInstLower.cpp 2150 if (!Mask.empty())
2222 if (!Mask.empty())
2253 if (!Mask.empty())
2270 if (!Mask.empty())
lib/Target/X86/X86SpeculativeLoadHardening.cpp 354 while (!DupIndices.empty()) {
440 if (!HasVulnerableLoad && Infos.empty())
467 if (FenceCallAndRet && Infos.empty())
669 if (Info.CondBrs.empty()) {
1993 (HardenOpRegs.empty() ||
2016 if (HardenOpRegs.empty())
lib/Target/X86/X86VZeroUpper.cpp 309 assert(BlockStates.empty() && DirtySuccessors.empty() &&
309 assert(BlockStates.empty() && DirtySuccessors.empty() &&
327 while (!DirtySuccessors.empty()) {
lib/Target/XCore/XCoreISelLowering.cpp 1096 if (!MemOpChains.empty())
1178 if (!MemOpChains.empty())
1381 if (!CFRegNode.empty())
1409 if (!MemOps.empty()) {
1492 if (!MemOpChains.empty())
lib/Target/XCore/XCoreLowerThreadLocal.cpp 133 while (!WUsers.empty())
165 while (!WUsers.empty())
lib/Testing/Support/Annotations.cpp 47 Require(!OpenRanges.empty(), "unmatched ]]");
64 Require(OpenRanges.empty(), "unmatched [[");
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp 72 while (!Worklist.empty()) {
84 if (!Stack.empty() && Stack.back() == I) {
153 while (!Worklist.empty()) {
169 if (!Stack.empty() && Stack.back() == I) {
403 while (!Worklist.empty()) {
lib/Transforms/CFGuard/CFGuard.cpp 279 if (IndirectCalls.empty()) {
lib/Transforms/Coroutines/CoroElide.cpp 47 if (Users.empty())
147 if (CoroAllocs.empty())
263 if (DevirtAddr.empty())
313 if (L->CoroIds.empty())
lib/Transforms/Coroutines/CoroFrame.cpp 765 if (!UsersToUpdate.empty()) {
1319 if (!AllocasToPromote.empty()) {
1370 if (Spills.empty())
lib/Transforms/Coroutines/CoroSplit.cpp 791 if (Shape.CoroSizes.empty())
825 assert(!Args.empty());
1028 while (!Worklist.empty()) {
1177 assert(Clones.empty());
1192 assert(Clones.empty());
1265 assert(ReturnPHIs.empty());
1362 if (Shape.CoroSuspends.empty()) {
1550 if (Coroutines.empty() && !PrepareFn)
1555 if (Coroutines.empty())
lib/Transforms/Coroutines/Coroutines.cpp 172 if (CoroFrees.empty())
lib/Transforms/IPO/AlwaysInliner.cpp 83 if (!InlinedFunctions.empty()) {
lib/Transforms/IPO/ArgumentPromotion.cpp 739 if (Loads.empty())
825 while (!WorkList.empty()) {
899 if (PointerArgs.empty())
lib/Transforms/IPO/Attributor.cpp 233 } while (!Worklist.empty());
3642 while (!Worklist.empty()) {
lib/Transforms/IPO/BlockExtractor.cpp 120 if (LineSplit.empty())
127 if (BBNames.empty())
lib/Transforms/IPO/DeadArgumentElimination.cpp 302 if (UnusedArgs.empty())
lib/Transforms/IPO/FunctionAttrs.cpp 462 while (!Worklist.empty()) {
724 if (Tracker.Uses.empty()) {
785 if (Node->Uses.empty()) {
1159 if (InferInSCC.empty())
1180 if (InferInThisFunc.empty())
1197 if (InferInThisFunc.empty())
1202 if (InferInSCC.empty())
lib/Transforms/IPO/FunctionImport.cpp 558 while (!Worklist.empty()) {
820 while (!Worklist.empty()) {
lib/Transforms/IPO/GlobalDCE.cpp 171 if (GV.isDeclaration() || Types.empty())
344 while (!NewLiveGVs.empty()) {
lib/Transforms/IPO/GlobalOpt.cpp 151 } while (!Types.empty());
284 while (!WorkList.empty()) {
2513 if (SimpleCEs.empty())
lib/Transforms/IPO/HotColdSplitting.cpp 297 assert(!Region.empty());
606 if (OutliningWorklist.empty())
631 } while (!OutliningWorklist.empty());
lib/Transforms/IPO/Inliner.cpp 595 if (CallSites.empty())
706 if (!InlineInfo.InlinedCalls.empty()) {
836 if (!DeadFunctionsInComdats.empty()) {
844 if (FunctionsToRemove.empty())
948 if (Calls.empty())
1096 if (!IFI.InlinedCallSites.empty()) {
lib/Transforms/IPO/PartialInlining.cpp 1113 if (ClonedOMRI->ORI.empty())
1177 return !OutlinedFunctions.empty();
1333 if (Cloner.OutlinedFunctions.empty())
lib/Transforms/IPO/PassManagerBuilder.cpp 193 return GlobalExtensions.isConstructed() && !GlobalExtensions->empty();
lib/Transforms/IPO/SampleProfile.cpp 1322 if (!Predecessors[B1].empty())
1332 if (!Successors[B1].empty())
lib/Transforms/IPO/StripSymbols.cpp 351 if (!LiveGlobalVariables.empty())
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 340 if(!CfiFunctionMDs.empty()) {
365 if (!FunctionAliases.empty()) {
381 if (!Symvers.empty()) {
lib/Transforms/IPO/WholeProgramDevirt.cpp 787 if (GV.isDeclaration() || Types.empty())
1573 if (!Assumes.empty()) {
lib/Transforms/InstCombine/InstCombineAddSub.cpp 590 if (!SimpVect.empty())
602 assert(!Opnds.empty() && "Expect at least one addend");
lib/Transforms/InstCombine/InstCombineCalls.cpp 4288 if (!ArgNos.empty()) {
lib/Transforms/InstCombine/InstCombineCasts.cpp 2180 while (!PhiWorklist.empty()) {
lib/Transforms/InstCombine/InstCombineCompares.cpp 228 if (!LaterIndices.empty())
533 while (!WorkList.empty()) {
536 while (!WorkList.empty()) {
1053 while (!Worklist.empty()) {
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 67 while (!ValuesToInspect.empty()) {
817 } while (!Worklist.empty());
lib/Transforms/InstCombine/InstCombinePHI.cpp 1018 if (PHIUsers.empty())
lib/Transforms/InstCombine/InstructionCombining.cpp 1903 if (!Indices.empty())
2349 } while (!Worklist.empty());
3097 if (NewClauses.empty())
3462 } while (!Worklist.empty());
lib/Transforms/Instrumentation/AddressSanitizer.cpp 929 if (AllocaVec.empty() && DynamicAllocaVec.empty()) return false;
929 if (AllocaVec.empty() && DynamicAllocaVec.empty()) return false;
1025 if (AllocaVec.empty())
2083 if (!MetadataGlobals.empty())
2155 if (!LivenessGlobals.empty())
2738 if (NumInstrumented > 0 || ChangedStack || !NoReturnCalls.empty())
2957 if (!ClInstrumentDynamicAllocas || DynamicAllocaVec.empty()) {
2958 assert(DynamicAllocaPoisonCallVec.empty());
2984 if (AllocaVec.empty()) {
2985 assert(StaticAllocaPoisonCallVec.empty());
3166 if (!StaticAllocaPoisonCallVec.empty()) {
lib/Transforms/Instrumentation/BoundsChecking.cpp 205 return !TrapInfo.empty();
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 894 if (RI.HasBranch || !Selects.empty()) {
1272 assert(Result.empty() &&
1367 assert(Scope->HoistStopMap.empty() && Scope->CHRRegions.empty() &&
2052 if (!SortedScopes.empty()) {
lib/Transforms/Instrumentation/GCOVProfiling.cpp 321 assert(OutEdges.empty());
424 if (Block.OutEdges.empty()) continue;
996 uint32_t CfgChecksum = FileChecksums.empty() ? 0 : FileChecksums[i];
1006 uint32_t FuncChecksum = Funcs.empty() ? 0 : Funcs[j]->getFuncChecksum();
1060 if (FileInfos.empty()) {
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1150 if (!LandingPadVec.empty())
1153 if (AllocasToInstrument.empty() && F.hasPersonalityFn() &&
1160 if (AllocasToInstrument.empty() && ToInstrument.empty())
1160 if (AllocasToInstrument.empty() && ToInstrument.empty())
1169 !AllocasToInstrument.empty());
1172 if (!AllocasToInstrument.empty()) {
lib/Transforms/Instrumentation/MemorySanitizer.cpp 3938 if (!VAStartInstrumentationList.empty()) {
4091 if (!VAStartInstrumentationList.empty()) {
4276 if (!VAStartInstrumentationList.empty()) {
4528 if (!VAStartInstrumentationList.empty()) {
lib/Transforms/ObjCARC/DependencyAnalysis.cpp 257 } while (!Worklist.empty());
lib/Transforms/ObjCARC/ObjCARCContract.cpp 729 while (!BitCastUsers.empty()) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 323 bool isExit() const { return Succs.empty(); }
697 } while (!Users.empty());
1033 } while (!Worklist.empty());
1497 } while (!SuccStack.empty());
1514 while (!PredStack.empty()) {
1715 if (NewReleases.empty()) break;
1773 if (NewRetains.empty()) break;
1875 while (!DeadInsts.empty())
lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp 109 } while (!Worklist.empty());
lib/Transforms/Scalar/ADCE.cpp 358 while (!Worklist.empty()) {
374 } while (!Worklist.empty());
558 return !Worklist.empty();
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 316 while (!WorkList.empty()) {
lib/Transforms/Scalar/BDCE.cpp 67 while (!WorkList.empty()) {
lib/Transforms/Scalar/CallSiteSplitting.cpp 485 return P.second.empty();
499 if (PredsWithConds.empty())
501 if (PredsWithConds.empty())
lib/Transforms/Scalar/ConstantHoisting.cpp 310 assert(!ConstInfo.RebasedConstants.empty() && "Invalid constant info entry.");
949 if (!ConstIntInfoVec.empty())
952 if (!MapEntry.second.empty())
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 177 if (!CommonValue || IncomingConstants.empty())
595 if (ArgNos.empty())
lib/Transforms/Scalar/DeadStoreElimination.cpp 145 } while (!NowDeadInsts.empty());
602 while (!WorkList.empty()) {
667 while (!Blocks.empty()) {
lib/Transforms/Scalar/EarlyCSE.cpp 835 while (!WorkList.empty()) {
lib/Transforms/Scalar/GVN.cpp 722 } while (!BBWorklist.empty());
1204 while (!NewInsts.empty()) {
1214 return !CriticalEdgePred.empty();
1221 LLVM_DEBUG(if (!NewInsts.empty()) dbgs()
1352 if (ValuesPerBlock.empty())
1360 if (UnavailableBlocks.empty()) {
1785 while (!Worklist.empty()) {
2147 assert(InstrsToErase.empty() &&
2162 if (InstrsToErase.empty()) {
2461 if (toSplit.empty())
2467 } while (!toSplit.empty());
2527 while (!NewDead.empty()) {
lib/Transforms/Scalar/GVNSink.cpp 143 if (Insts.empty())
180 if (NewInsts.empty()) {
809 if (Candidates.empty() || Candidates.front().Cost <= 0)
lib/Transforms/Scalar/GuardWidening.cpp 346 assert(EliminatedGuardsAndBranches.empty() || Changed);
691 while (!Checks.empty()) {
lib/Transforms/Scalar/IndVarSimplify.cpp 556 while (!WorkList.empty()) {
1791 assert(Widened.empty() && NarrowIVUsers.empty() && "expect initial state" );
1796 while (!NarrowIVUsers.empty()) {
1905 while (!Worklist.empty()) {
1981 while (!LoopPhis.empty()) {
2000 } while(!LoopPhis.empty());
2002 for (; !WideIVs.empty(); WideIVs.pop_back()) {
2138 while (!Worklist.empty()) {
2677 if (ExitCounts.empty())
2711 if (ExitingBlocks.empty())
2901 if (ExitingBlocks.empty())
3096 while (!DeadInsts.empty())
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 1805 if (RangeChecks.empty())
lib/Transforms/Scalar/JumpThreading.cpp 610 return !Result.empty();
643 return !Result.empty();
665 return !Result.empty();
676 if (Result.empty())
700 if (LHSVals.empty() && RHSVals.empty())
700 if (LHSVals.empty() && RHSVals.empty())
726 return !Result.empty();
735 if (Result.empty())
764 return !Result.empty();
819 return !Result.empty();
846 return !Result.empty();
889 return !Result.empty();
907 return !Result.empty();
941 return !Result.empty();
956 return !Result.empty();
1412 if (AvailablePreds.empty()) return false;
1534 assert(!PredToDestList.empty());
1574 if (!SamePopularity.empty()) {
1604 assert(!PredValues.empty() &&
1650 if (PredToDestList.empty()) {
1672 if (PredToDestList.empty())
1733 if (PredToDestList.empty())
1836 assert(XorOpValues.empty());
1843 assert(!XorOpValues.empty() &&
2071 if (UsesToRename.empty())
2082 while (!UsesToRename.empty())
2264 assert(!PredBBs.empty() && "Can't handle an empty set");
2390 if (UsesToRename.empty())
2402 while (!UsesToRename.empty())
lib/Transforms/Scalar/LICM.cpp 2043 if (LoopUses.empty()) {
lib/Transforms/Scalar/LoopDistribute.cpp 169 while (!Worklist.empty()) {
690 if (!Dependences || Dependences->empty())
804 if (LAI->hasConvergentOp() && !Checks.empty()) {
809 if (!Pred.isAlwaysTrue() || !Checks.empty()) {
lib/Transforms/Scalar/LoopFuse.cpp 1409 assert(OriginalFC0PHIs.empty() && "Expecting OriginalFC0PHIs to be empty!");
lib/Transforms/Scalar/LoopInstSimplify.cpp 152 if (!DeadInsts.empty()) {
lib/Transforms/Scalar/LoopLoadElimination.cpp 517 if (Candidates.empty())
537 if (!Checks.empty() || !LAI.getPSE().getUnionPredicate().isAlwaysTrue()) {
lib/Transforms/Scalar/LoopPredication.cpp 771 } while (!Worklist.empty());
1007 if (Guards.empty() && GuardsAsWidenableBranches.empty())
1007 if (Guards.empty() && GuardsAsWidenableBranches.empty())
lib/Transforms/Scalar/LoopRerollPass.cpp 688 while (!Queue.empty()) {
819 if (Roots.empty() || (Roots.size() == 1 && BaseUsers.empty()))
879 if (DRS.Roots.empty())
939 } else if (DRS.Roots.empty()) {
968 assert(RootSets.empty() && "Unclean state!");
982 if (RootSets.empty()) {
987 if (V.Roots.empty() || V.Roots.size() != RootSets[0].Roots.size()) {
1676 if (PossibleIVs.empty()) {
lib/Transforms/Scalar/LoopSimplifyCFG.cpp 349 if (DeadExitBlocks.empty())
547 if (FoldCandidates.empty()) {
586 if (!DeadLoopBlocks.empty()) {
lib/Transforms/Scalar/LoopSink.cpp 339 } while (!PreorderLoops.empty());
lib/Transforms/Scalar/LoopStrengthReduce.cpp 447 if (!Good.empty()) {
453 if (!Bad.empty()) {
472 if (Scale == 1 && BaseRegs.empty())
501 assert(!BaseRegs.empty() && "1*reg => reg, should not be needed.");
555 return !BaseRegs.empty() ? BaseRegs.front()->getType() :
601 if (HasBaseReg && BaseRegs.empty()) {
604 } else if (!HasBaseReg && !BaseRegs.empty()) {
970 while (!DeadInsts.empty()) {
1536 if (!Formulae.empty() && RigidFormula)
1878 assert(!Incs.empty());
2673 } while (!Worklist.empty());
2847 assert(!Chain.Incs.empty() && "empty IV chains are not allowed");
3106 assert(!Chain.Incs.empty() && "empty IV chains are not allowed");
3326 if (LU.Formulae.empty()) {
3393 while (!Worklist.empty()) {
4008 if (F.Scale == 1 && (F.BaseRegs.empty() ||
4981 if (Solution.empty()) {
5091 if (!ExitingBlocks.empty()) {
5196 if (!Ops.empty() && LU.Kind == LSRUse::Address &&
5213 if (!Ops.empty()) {
5223 if (!Ops.empty()) {
5257 const SCEV *FullS = Ops.empty() ?
5572 if (Uses.empty())
5593 if (Solution.empty())
lib/Transforms/Scalar/LoopUnrollPass.cpp 386 assert(CostWorklist.empty() && "Must start with an empty cost list");
387 assert(PHIUsedList.empty() && "Must start with an empty phi used list");
448 } while (!CostWorklist.empty());
450 if (PHIUsedList.empty())
500 while (!SimplifiedInputValues.empty())
1393 assert(PreOrderLoops.empty() && "Must start with an empty preorder walk.");
1394 assert(PreOrderWorklist.empty() &&
1401 } while (!PreOrderWorklist.empty());
1444 while (!Worklist.empty()) {
lib/Transforms/Scalar/LoopVersioningLICM.cpp 406 if (LAI->getRuntimePointerChecking()->getChecks().empty()) {
lib/Transforms/Scalar/LowerConstantIntrinsics.cpp 132 return !Worklist.empty();
lib/Transforms/Scalar/LowerGuardIntrinsic.cpp 55 if (ToLower.empty())
lib/Transforms/Scalar/LowerWidenableCondition.cpp 56 if (ToLower.empty())
lib/Transforms/Scalar/MakeGuardsExplicit.cpp 92 if (GuardIntrinsics.empty())
lib/Transforms/Scalar/MemCpyOptimizer.cpp 163 bool empty() const { return Ranges.empty(); }
405 if (!Range.TheStores.empty())
821 while (!srcUseList.empty()) {
lib/Transforms/Scalar/NaryReassociate.cpp 535 while (!Candidates.empty()) {
lib/Transforms/Scalar/NewGVN.cpp 229 while (!Stack.empty() && Root.lookup(Stack.back()) >= OurDFS) {
2637 while (!Worklist.empty()) {
2939 while (!TempInst.empty()) {
3733 bool empty() const { return DFSStack.empty(); }
3747 !DFSStack.empty() &&
lib/Transforms/Scalar/PlaceSafepoints.cpp 657 assert(IFI.StaticAllocas.empty() && "can't have allocs");
lib/Transforms/Scalar/Reassociate.cpp 497 while (!Worklist.empty()) {
623 if (Ops.empty()) {
758 if (NodesToRewrite.empty()) {
1470 if (Ops.empty())
1646 if (Ops.empty())
1734 } while (!Ops.empty());
1825 if (Ops.empty())
1839 while (!Ops.empty() && isa<Constant>(Ops.back().Op)) {
1844 if (Ops.empty())
2000 if (Candidates.empty())
2341 while (!Worklist.empty() && Ops.size() <= GlobalReassociateLimit) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 810 while (!Worklist.empty()) {
1866 if (!PromotableAllocas.empty()) {
2378 return !Records.empty();
2555 if (ParsePointNeeded.empty())
lib/Transforms/Scalar/SCCP.cpp 1367 while (!BBWorkList.empty() || !InstWorkList.empty() ||
1367 while (!BBWorkList.empty() || !InstWorkList.empty() ||
1368 !OverdefinedInstWorkList.empty()) {
1371 while (!OverdefinedInstWorkList.empty()) {
1387 while (!InstWorkList.empty()) {
1404 while (!BBWorkList.empty()) {
lib/Transforms/Scalar/SROA.cpp 459 assert((P.SI != SE || !P.SplitTails.empty()) &&
463 if (!P.SplitTails.empty()) {
494 assert(P.SplitTails.empty() && "Failed to clear the split slices!");
523 if (!P.SplitTails.empty() && P.SI->beginOffset() != P.EndOffset &&
536 P.BeginOffset = P.SplitTails.empty() ? P.SI->beginOffset() : P.EndOffset;
591 if (P.SI == RHS.P.SI && P.SplitTails.empty() == RHS.P.SplitTails.empty()) {
591 if (P.SI == RHS.P.SI && P.SplitTails.empty() == RHS.P.SplitTails.empty()) {
986 } while (!Uses.empty());
1399 if (Indices.empty())
1894 if (!CandidateTys.empty()) {
1919 if (CandidateTys.empty())
1935 if (CandidateTys.empty())
3142 } while (!Uses.empty());
3239 while (!Queue.empty()) {
3811 if (Loads.empty() && Stores.empty())
3811 if (Loads.empty() && Stores.empty())
3900 if (!Stores.empty() && SplitOffsetsMap.count(SI)) {
lib/Transforms/Scalar/Scalarizer.cpp 248 else if (CachePtr->empty())
315 assert(Gathered.empty() && Scattered.empty());
369 if (!SV.empty()) {
827 if (Gathered.empty() && Scattered.empty())
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 1153 while (!Candidates.empty()) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 136 } while (!Worklist.empty());
598 } else if (ExitCaseIndices.empty())
1182 } while (!LoopsToClone.empty());
1272 while (!Worklist.empty()) {
1371 while (!UnloopedBlockSet.empty() && !OrderedClonedExitsInLoops.empty()) {
1372 assert(Worklist.empty() && "Didn't clear worklist!");
1406 } while (!Worklist.empty());
1492 while (!DeathCandidates.empty()) {
1598 while (!Worklist.empty()) {
1760 while (!UnloopedBlocks.empty() && !ExitsInLoops.empty()) {
1761 assert(Worklist.empty() && "Didn't clear worklist!");
1805 } while (!Worklist.empty());
1898 } while (!DomWorklist.empty());
2588 if (UnswitchCandidates.empty())
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 164 } while (!DFSStack.empty());
381 } while (!DFSStack.empty());
529 while (!SpecWorklist.empty()) {
763 if (PNs.empty()) {
796 if (SpecPNs.empty())
818 if (PNs.empty())
lib/Transforms/Scalar/StructurizeCFG.cpp 724 BasicBlock *Insert = Order.empty() ? ParentRegion->getExit() :
755 if (!Order.empty() || !ExitUseAllowed)
828 while (!Order.empty() && !Visited.count(LoopEnd) &&
895 while (!Order.empty()) {
lib/Transforms/Scalar/TailRecursionElimination.cpp 121 while (!Worklist.empty()) {
293 if (!WorklistEscaped.empty()) {
298 while (!WorklistUnescaped.empty()) {
710 while (!UncondBranchPreds.empty()) {
lib/Transforms/Utils/BasicBlockUtils.cpp 713 if (!NewBB2Preds.empty()) {
lib/Transforms/Utils/BreakCriticalEdges.cpp 305 if (!LoopPreds.empty()) {
382 if (!IBRPred || OtherPreds.empty())
lib/Transforms/Utils/CodeExtractor.cpp 100 while (!ToVisit.empty()) {
551 if (Bitcasts.empty())
lib/Transforms/Utils/EscapeEnumerator.cpp 63 if (Calls.empty())
lib/Transforms/Utils/FunctionComparator.cpp 859 while (!FnLBBs.empty()) {
932 while (!BBs.empty()) {
lib/Transforms/Utils/InlineFunction.cpp 232 while (!Worklist.empty()) {
453 while (!Worklist.empty()) {
836 while (!Queue.empty()) {
931 if (NoAliasArgs.empty())
1027 if (PtrArgs.empty() && !IsFuncCall)
1104 if (!NoAliases.empty())
1130 if (!Scopes.empty())
1891 if (!VarArgsToForward.empty() &&
1898 if (!Attrs.isEmpty() || !VarArgsAttrs.empty()) {
1956 if (InsertLifetime && !IFI.StaticAllocas.empty()) {
2152 assert(!OpBundles.empty() &&
2349 } else if (!Returns.empty()) {
lib/Transforms/Utils/LCSSA.cpp 88 while (!Worklist.empty()) {
101 if (ExitBlocks.empty())
115 if (UsesToRewrite.empty())
285 while (!BBWorklist.empty()) {
332 if (ExitBlocks.empty())
lib/Transforms/Utils/Local.cpp 457 while (!DeadInsts.empty()) {
497 return !DbgUsers.empty();
1399 if (Dbgs.empty())
1608 if (DbgUsers.empty())
1650 if (!Ops.empty()) {
1738 if (Users.empty())
2171 } while (!Worklist.empty());
lib/Transforms/Utils/LoopRotationUtils.cpp 413 if (!InsertedPHIs.empty())
lib/Transforms/Utils/LoopSimplify.cpp 177 } while (!Worklist.empty());
737 while (!Worklist.empty())
lib/Transforms/Utils/LoopUnroll.cpp 209 while (!DeadInsts.empty())
lib/Transforms/Utils/LoopUnrollAndJam.cpp 101 while (!Worklist.empty()) {
lib/Transforms/Utils/LoopUnrollPeel.cpp 86 if (!Exits.empty()) {
lib/Transforms/Utils/LoopUtils.cpp 60 assert(InLoopPredecessors.empty() &&
81 assert(!InLoopPredecessors.empty() && "Must have *some* loop predecessor!");
lib/Transforms/Utils/ModuleUtils.cpp 92 if (Init.empty())
lib/Transforms/Utils/PredicateInfo.cpp 257 if (Stack.empty())
285 while (!Stack.empty() && !stackIsInScope(Stack, VD))
343 if (OperandInfo.Infos.empty())
672 if (RenameStack.empty()) {
694 if (RenameStack.empty())
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 410 if (!Info.UsingBlocks.empty())
481 if (StoresByIndex.empty())
817 while (!LiveInBlockWorklist.empty()) {
lib/Transforms/Utils/SSAUpdater.cpp 142 if (PredValues.empty())
lib/Transforms/Utils/SSAUpdaterBulk.cpp 104 while (!LiveInBlockWorklist.empty()) {
lib/Transforms/Utils/SimplifyCFG.cpp 645 while (!DFT.empty()) {
1010 while (!Preds.empty()) {
4128 if (!UncondBranchPreds.empty() && DupRet) {
4129 while (!UncondBranchPreds.empty()) {
4150 while (!CondBranchPreds.empty()) {
4370 assert(!CasesB.empty() && "There must be non-default cases.");
4371 assert(!CasesA.empty() || HasDefault);
4377 if (!CasesA.empty() && CasesAreContiguous(CasesA)) {
4400 if (NumCases->isNullValue() && !ContiguousCases->empty())
4489 if (HasDefault && DeadCases.empty() &&
4496 if (DeadCases.empty())
lib/Transforms/Utils/SimplifyIndVar.cpp 867 while (!SimpleIVUsers.empty()) {
lib/Transforms/Utils/SimplifyLibCalls.cpp 2140 if (SinCosCalls.empty() && (SinCalls.empty() || CosCalls.empty()))
2140 if (SinCosCalls.empty() && (SinCalls.empty() || CosCalls.empty()))
2140 if (SinCosCalls.empty() && (SinCalls.empty() || CosCalls.empty()))
lib/Transforms/Utils/SplitModule.cpp 82 while (!Worklist.empty()) {
lib/Transforms/Utils/StripGCRelocates.cpp 70 return !GCRelocates.empty();
lib/Transforms/Utils/ValueMapper.cpp 131 bool hasWorkToDo() const { return !Worklist.empty(); }
634 while (!Worklist.empty()) {
737 assert(DistinctWorklist.empty() && "MDNodeMapper::map is not recursive");
746 while (!DistinctWorklist.empty())
815 while (!Worklist.empty()) {
845 while (!DelayedBBs.empty()) {
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 510 while (!Worklist.empty()) {
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 501 if (!Casts.empty())
lib/Transforms/Vectorize/LoopVectorize.cpp 1782 if (Casts.empty())
4833 if (!PSE.getUnionPredicate().getPredicates().empty()) {
5597 while (!Worklist.empty()) {
6055 while (!Worklist.empty()) {
6966 assert(VPBB->getSuccessors().empty() &&
7853 while (!Worklist.empty()) {
lib/Transforms/Vectorize/SLPVectorizer.cpp 928 bool empty() const { return OpsVec.empty(); }
1260 assert(Operands.empty() && "Already initialized?");
1288 assert(!Operands[OpIdx].empty() && "No operand available");
1366 if (ReuseShuffleIndices.empty())
2125 if (!Entry->ReuseShuffleIndices.empty()) {
2369 if (!CurrentOrder.empty()) {
2438 if (CurrentOrder.empty()) {
2452 if (CurrentOrder.empty()) {
2924 bool NeedToShuffleReuses = !E->ReuseShuffleIndices.empty();
3344 assert(VectorizableTree.empty()
3345 ? ExternalUses.empty()
3637 if (!E->ReuseShuffleIndices.empty()) {
3656 if (VL.size() == E->Scalars.size() && !E->ReuseShuffleIndices.empty()) {
3702 if (!ReuseShuffleIndicies.empty()) {
3736 bool NeedToShuffleReuses = !E->ReuseShuffleIndices.empty();
4552 while (!Bundle->isReady() && !ReadyInsts.empty()) {
4725 while (!WorkList.empty()) {
4942 while (!Worklist.empty() && !FoundUnknownInst) {
5056 if (ExternalUses.empty())
5179 while (!Roots.empty())
6282 while (!Stack.empty()) {
6374 if (ReducedVals.empty())
6757 while (!Stack.empty()) {
lib/Transforms/Vectorize/VPlan.cpp 89 if (!Successors.empty() || !Parent)
97 if (!Predecessors.empty() || !Parent)
180 !(Replica && getPredecessors().empty())) { /* C */
lib/Transforms/Vectorize/VPlan.h 506 assert(Successors.empty() && "Setting one successor when others exist.");
516 assert(Successors.empty() && "Setting two successors when others exist.");
527 assert(Predecessors.empty() && "Block predecessors already set.");
1088 assert(Entry->getPredecessors().empty() && "Entry block has predecessors.");
1089 assert(Exit->getSuccessors().empty() && "Exit block has successors.");
1113 assert(EntryBlock->getPredecessors().empty() &&
1131 assert(ExitBlock->getSuccessors().empty() &&
1466 assert(NewBlock->getSuccessors().empty() &&
1484 assert(IfTrue->getSuccessors().empty() &&
1486 assert(IfFalse->getSuccessors().empty() &&
lib/Transforms/Vectorize/VPlanSLP.cpp 262 if (BestCandidates.empty())
tools/bugpoint/ExtractFunction.cpp 190 if (aliases.empty())
tools/clang/include/clang/AST/ASTImporter.h 181 if (Nodes.empty())
tools/clang/include/clang/AST/CommentParser.h 61 if (MoreLATokens.empty())
tools/clang/include/clang/AST/DeclBase.h 519 if (Vec.empty())
tools/clang/include/clang/AST/DeclContextInternals.h 229 } else if (!Vec.empty() && Vec.back()->hasTagIdentifierNamespace()) {
tools/clang/include/clang/AST/JSONNodeDumper.h 54 while (!Pending.empty()) {
tools/clang/include/clang/AST/OpenMPClause.h 4462 assert(!CI->empty() && "Invalid component list!");
tools/clang/include/clang/AST/RecursiveASTVisitor.h 639 while (!LocalQueue.empty()) {
tools/clang/include/clang/AST/StmtOpenMP.h 288 assert(!CaptureRegions.empty() &&
tools/clang/include/clang/AST/TextNodeDumper.h 59 while (!Pending.empty()) {
tools/clang/include/clang/AST/UnresolvedSet.h 123 bool empty() const { return decls().empty(); }
tools/clang/include/clang/AST/VTableBuilder.h 455 return ContainingVBases.empty() ? nullptr : ContainingVBases.front();
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 6471 while(!Stack.empty()) {
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h 227 if (Bindings.empty())
245 return !Bindings.empty();
tools/clang/include/clang/Analysis/Analyses/UninitializedValues.h 101 bool branch_empty() const { return UninitBranches.empty(); }
tools/clang/include/clang/Analysis/CallGraph.h 167 bool empty() const { return CalledFunctions.empty(); }
tools/clang/include/clang/Analysis/CloneDetection.h 300 if (!A.empty())
tools/clang/include/clang/Analysis/PathDiagnostic.h 764 if (pathStack.empty())
778 void popActivePath() { if (!pathStack.empty()) pathStack.pop_back(); }
780 bool isWithinCall() const { return !pathStack.empty(); }
tools/clang/include/clang/Basic/SourceManager.h 1710 assert(LoadedSLocEntryTable.empty() &&
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h 72 assert(Buffer.empty() && "didn't claim all values out of buffer");
tools/clang/include/clang/CodeGen/SwiftCallingConv.h 75 return Entries.empty();
tools/clang/include/clang/Driver/Job.h 193 bool empty() const { return Jobs.empty(); }
tools/clang/include/clang/Lex/LiteralSupport.h 197 assert(!UDSuffixBuf.empty() && "no ud-suffix");
264 assert(!UDSuffixBuf.empty() && "no ud-suffix");
269 assert(!UDSuffixBuf.empty() && "no ud-suffix");
tools/clang/include/clang/Lex/MacroInfo.h 244 bool tokens_empty() const { return ReplacementTokens.empty(); }
tools/clang/include/clang/Lex/Preprocessor.h 467 bool hasRecordedPreamble() const { return !ConditionalStack.empty(); }
tools/clang/include/clang/Lex/PreprocessorLexer.h 109 if (ConditionalStack.empty())
118 assert(!ConditionalStack.empty() && "No conditionals active!");
tools/clang/include/clang/Parse/Parser.h 325 if (!Locs.empty() && Locs.back().isActive(P)) {
341 while (!Locs.empty() && Locs.back().isActiveOrNested(P))
348 if (!Locs.empty() && Locs.back().isActive(P))
tools/clang/include/clang/Sema/CXXFieldCollector.h 62 assert(!FieldCount.empty() && "no currently-parsed class");
tools/clang/include/clang/Sema/DeclSpec.h 2207 assert(!DeclTypeInfo.empty() && "No type chunks to drop.");
tools/clang/include/clang/Sema/DelayedDiagnostic.h 300 return (Diagnostics.empty() && (!Parent || Parent->empty()));
310 if (pool.Diagnostics.empty()) return;
312 if (Diagnostics.empty()) {
324 bool pool_empty() const { return Diagnostics.empty(); }
tools/clang/include/clang/Sema/Designator.h 190 bool empty() const { return Designators.empty(); }
tools/clang/include/clang/Sema/Overload.h 1034 bool empty() const { return Candidates.empty(); }
tools/clang/include/clang/Sema/ScopeInfo.h 902 return !TemplateParams.empty() || GLTemplateParameterList;
tools/clang/include/clang/Sema/Sema.h 1471 return FunctionScopes.empty() ? nullptr : FunctionScopes.back();
1711 return ModuleScopes.empty() ? nullptr : ModuleScopes.back().Module;
8075 if (!CodeSynthesisContexts.empty() &&
8100 assert(!ExprEvalContexts.empty() &&
8226 assert(S.VTableUses.empty() &&
11548 assert(S.DelayedOverridingExceptionSpecChecks.empty() &&
11550 assert(S.DelayedEquivalentExceptionSpecChecks.empty() &&
11552 assert(S.DelayedDllExportClasses.empty() &&
tools/clang/include/clang/Sema/TemplateDeduction.h 333 bool empty() const { return Candidates.empty(); }
tools/clang/include/clang/Sema/TypoCorrection.h 203 return !CorrectionDecls.empty() && CorrectionDecls.front() == nullptr;
213 bool isResolved() const { return !CorrectionDecls.empty(); }
262 return (!isKeyword() && !CorrectionDecls.empty());
tools/clang/include/clang/Serialization/ASTReader.h 1238 if (I == KeyDecls.end() || I->second.empty())
2279 assert(!StmtStack.empty() && "Read too many sub-statements!");
tools/clang/include/clang/Serialization/ASTWriter.h 801 bool empty() const { return Record->empty(); }
tools/clang/include/clang/Serialization/ContinuousRangeMap.h 67 if (!Rep.empty() && Rep.back() == Val)
70 assert((Rep.empty() || Rep.back().first < Val.first) &&
tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h 223 assert((R.isValid() || Ranges.empty()) && "Invalid range can only be used "
552 assert(!Reports.empty());
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h 1162 if (Cache.empty())
tools/clang/include/clang/Tooling/ASTDiff/ASTDiff.h 46 bool isLeaf() const { return Children.empty(); }
tools/clang/lib/ARCMigrate/ObjCMT.cpp 857 if (PotentialImplicitProtocols.empty())
869 if (ConformingProtocols.empty())
891 if (MinimalConformingProtocols.empty())
1398 if (CFFunctionIBCandidates.empty())
1436 assert(CFFunctionIBCandidates.empty() &&
1451 if (!CFFunctionIBCandidates.empty()) {
tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp 203 if (Scopes.empty())
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp 255 if (ATLs.empty())
tools/clang/lib/ARCMigrate/TransProperties.cpp 336 if (props.empty())
346 assert(!props.empty());
359 assert(!props.empty());
tools/clang/lib/AST/ASTContext.cpp 1058 if (LazyInitializers.empty())
1070 assert(LazyInitializers.empty() &&
8426 if (!Protocols.empty())
8477 if (!Protocols.empty())
8776 newParamInfos.empty() ? nullptr : newParamInfos.data();
9173 assert(NewParamInfos.empty() && "param info list not empty");
9745 if (ArgTypes.empty() && Variadic && !getLangOpts().CPlusPlus)
tools/clang/lib/AST/ASTImporter.cpp 1883 if (!Bases.empty())
2213 if (!ConflictingDecls.empty()) {
2338 if (!ConflictingDecls.empty()) {
2416 if (!ConflictingDecls.empty()) {
2530 if (!ConflictingDecls.empty()) {
2608 if (!FoundDecls.empty()) {
2666 if (!ConflictingDecls.empty() && SearchName) {
2837 if (!ConflictingDecls.empty()) {
3072 if (!ConflictingDecls.empty()) {
3730 if (!ConflictingDecls.empty()) {
5078 if (!ConflictingDecls.empty()) {
5363 if (!ConflictingDecls.empty()) {
7847 if (Result.empty())
8228 while (!NestedNames.empty()) {
tools/clang/lib/AST/CXXInheritance.cpp 183 if (Queue.empty())
199 bool IsFirstStep = ScratchPath.empty();
687 while (!Stack.empty()) {
tools/clang/lib/AST/CommentSema.cpp 503 while (!HTMLOpenTags.empty()) {
549 while (!HTMLOpenTags.empty()) {
tools/clang/lib/AST/Decl.cpp 2386 Eval->IsICE = Result && Notes.empty();
4386 if (Decls.empty())
tools/clang/lib/AST/DeclBase.cpp 817 assert(AttrBlank.empty() && "HasAttrs was wrong?");
1301 if (Decls.empty())
tools/clang/lib/AST/DeclCXX.cpp 172 while (!WorkList.empty()) {
460 if (VBases.empty()) {
618 while (!WorkList.empty()) {
2143 assert(PreventedBy.empty() && "PreventedBy is expected to be empty");
tools/clang/lib/AST/DeclObjC.cpp 463 if (ProtocolRefs.empty())
1295 assert(!Overridden.empty() &&
1642 if (!layout.empty()) {
tools/clang/lib/AST/DeclPrinter.cpp 407 if (!Decls.empty() && !CurDeclType.isNull()) {
417 if (!Decls.empty())
489 if (!Decls.empty())
tools/clang/lib/AST/Expr.cpp 688 if (!Buffer.empty() && Buffer.front() == '\01')
tools/clang/lib/AST/ExprConstant.cpp 115 if (!Adjustments.empty())
1071 if (!EvalStatus.Diag->empty()) {
1204 Info.EvalStatus.Diag->empty() &&
1212 if (Enabled && HadNoPriorDiags && !Info.EvalStatus.Diag->empty() &&
1576 if (!Designator.Entries.empty()) {
1667 assert(!Path.empty());
1695 if (Path.empty())
1703 if (Path.empty())
2016 << IsReferenceType << !Designator.Entries.empty()
2031 << IsReferenceType << !Designator.Entries.empty();
2100 << !Designator.Entries.empty() << !!VD << VD;
3758 if (LVal.Designator.Entries.empty()) {
4137 } else if (!MemPtr.Path.empty()) {
5388 if (UnionPathLengths.empty())
6633 if (Diag.empty())
6641 if (Diag.empty())
6996 if (!CovariantAdjustmentPath.empty() &&
10312 if (!LVal.Designator.Entries.empty())
11158 while (!Queue.empty())
14313 if (!Diags.empty()) {
14389 return Diags.empty();
14418 return Diags.empty();
14447 return Diags.empty();
tools/clang/lib/AST/ExternalASTMerger.cpp 505 if (Candidates.empty())
tools/clang/lib/AST/Interp/State.cpp 45 if (!getEvalStatus().Diag || !getEvalStatus().Diag->empty()) {
tools/clang/lib/AST/ItaniumMangle.cpp 667 if (ReturnTypeAbiTags.empty()) {
820 if (VariableTypeAbiTags.empty()) {
2306 if (!ASString.empty())
tools/clang/lib/AST/NestedNameSpecifier.cpp 650 while (!Stack.empty()) {
675 SaveSourceLocation(Stack.empty()? R.getEnd() : R.getBegin(),
tools/clang/lib/AST/RecordLayoutBuilder.cpp 2830 if (FieldOffsets.empty() && Bases.empty())
tools/clang/lib/AST/VTableBuilder.cpp 466 bool empty() const { return Offsets.empty(); }
3251 assert(Paths.empty());
3283 if (P->MangledPath.empty() || P->MangledPath.back() != Base)
3298 else if (P->ContainingVBases.empty())
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp 72 if (Bindings.empty())
423 return !Patterns.empty();
tools/clang/lib/Analysis/CFG.cpp 5844 while (!DFSWorkList.empty()) {
tools/clang/lib/Analysis/CFGReachabilityAnalysis.cpp 54 while (!worklist.empty()) {
tools/clang/lib/Analysis/CloneDetection.cpp 156 if (IgnoredFilesPattern.empty() || Group.empty() ||
358 if (Group.empty())
tools/clang/lib/Analysis/PathDiagnostic.cpp 165 while (!WorkList.empty()) {
tools/clang/lib/Analysis/ReachableCode.cpp 327 while (!WL.empty()) {
489 while (!WorkList.empty()) {
530 if (!DeferredLocs.empty()) {
tools/clang/lib/Analysis/RetainSummaryManager.cpp 144 return !(match(SubclassM, *D, D->getASTContext()).empty());
tools/clang/lib/Analysis/ThreadSafety.cpp 1158 if (Info->Vect.empty())
tools/clang/lib/Analysis/UninitializedValues.cpp 260 if (!worklist.empty())
611 while (!Queue.empty()) {
tools/clang/lib/Basic/Diagnostic.cpp 1012 if (getDiags()->PrintTemplateTree && Tree.empty()) {
1021 if (!Tree.empty()) {
tools/clang/lib/Basic/DiagnosticIDs.cpp 611 if (::getDiagnosticsInGroup(Flavor, &O, Diags) || Diags.empty())
tools/clang/lib/Basic/Module.cpp 154 if (!Current->MissingHeaders.empty()) {
298 while (!Stack.empty()) {
410 while (!Stack.empty()) {
438 if (!Requirements.empty()) {
545 OS << (UnresolvedExports[I].Id.empty() ? "*" : ".*");
tools/clang/lib/Basic/Targets.cpp 630 if (!ValidList.empty())
tools/clang/lib/CodeGen/BackendUtil.cpp 1676 if (UsedArray.empty())
tools/clang/lib/CodeGen/CGBlocks.cpp 450 assert(elementTypes.empty());
664 if (layout.empty()) {
tools/clang/lib/CodeGen/CGBuiltin.cpp 1288 if (!RetainableOperands.empty() && getLangOpts().ObjCAutoRefCount &&
tools/clang/lib/CodeGen/CGCUDANV.cpp 396 if (EmittedKernels.empty() && DeviceVars.empty())
396 if (EmittedKernels.empty() && DeviceVars.empty())
493 if ((IsHIP || (IsCUDA && !RelocatableDeviceCode)) && EmittedKernels.empty() &&
494 DeviceVars.empty())
tools/clang/lib/CodeGen/CGCall.cpp 148 assert(paramInfos.empty() &&
329 if (!paramInfos.empty()) {
tools/clang/lib/CodeGen/CGCall.h 314 bool hasWritebacks() const { return !Writebacks.empty(); }
tools/clang/lib/CodeGen/CGClass.cpp 1092 if (!AggregatedInits.empty()) {
1231 if (!AggregatedStmts.empty()) {
2194 } else if (!CXXInheritedCtorInitExprArgs.empty()) {
tools/clang/lib/CodeGen/CGCleanup.cpp 215 if (!BranchFixups.empty()) {
tools/clang/lib/CodeGen/CGCoroutine.cpp 405 if (Bundles.empty()) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp 3171 if (Identifier.empty())
4435 Expr.empty() ? nullptr : DBuilder.createExpression(Expr),
tools/clang/lib/CodeGen/CGDeclCXX.cpp 539 if (CXXGlobalInits.empty() && PrioritizedCXXGlobalInits.empty())
546 if (!PrioritizedCXXGlobalInits.empty()) {
582 if (FileName.empty())
tools/clang/lib/CodeGen/CGException.cpp 866 llvm::ArrayType::get(!filterTypes.empty() ?
1960 assert(!SEHCodeSlotStack.empty() && "emitting EH code outside of __except");
1974 assert(!SEHCodeSlotStack.empty() && "emitting EH code outside of __except");
tools/clang/lib/CodeGen/CGExpr.cpp 481 assert(Adjustments.empty());
tools/clang/lib/CodeGen/CGExprAgg.cpp 1627 assert((cleanupDominator || cleanups.empty()) &&
tools/clang/lib/CodeGen/CGExprConstant.cpp 1433 assert(!PlaceholderAddresses.empty());
1575 if (!PlaceholderAddresses.empty()) {
1585 assert(PlaceholderAddresses.empty() && "unhandled placeholders");
tools/clang/lib/CodeGen/CGExprScalar.cpp 1844 if (!Args.empty()) {
1894 if (Args.empty()) {
3651 assert(!Checks.empty());
4758 assert(!Checks.empty() && "Should have produced some checks.");
tools/clang/lib/CodeGen/CGLoopInfo.cpp 568 Active.empty() ? nullptr : Active.back().get()));
759 assert(!Active.empty() && "No active loops to pop");
tools/clang/lib/CodeGen/CGLoopInfo.h 275 bool hasInfo() const { return !Active.empty(); }
tools/clang/lib/CodeGen/CGObjCGNU.cpp 1914 if (Protocols.empty())
3941 assert((!CGF.ObjCEHValueStack.empty() && CGF.ObjCEHValueStack.back()) &&
tools/clang/lib/CodeGen/CGObjCMac.cpp 2340 bool hasBitmapData() const { return !IvarsInfo.empty(); }
2374 if (CGM.getLangOpts().ObjCGCBitmapPrint && !buffer.empty()) {
2720 if (RunSkipBlockVars.empty())
2781 while (!Layout.empty()) {
3288 if (Properties.empty())
4209 if (Locals.empty()) return;
4250 if (Locals.empty()) return;
4256 assert(!Locals.empty());
4265 if (Locals.empty()) return;
4770 assert((!CGF.ObjCEHValueStack.empty() && CGF.ObjCEHValueStack.back()) &&
5272 assert(!IvarsInfo.empty() && "generating bitmap for no data");
5284 assert(buffer.empty());
5292 if (!buffer.empty() && !(buffer.back() & ScanMask)) {
5317 if (!buffer.empty()) {
5380 if (buffer.empty())
5451 } else if (!ivars.empty()) {
5466 if (ivars.empty())
5482 if (CGM.getLangOpts().ObjCGCBitmapPrint && !buffer.empty()) {
5586 if (!Asm.empty() && Asm.back() != '\n')
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 4769 if ((!IsTargetTask && !Data.FirstprivateVars.empty()) ||
4927 if (!Data.FirstprivateVars.empty()) {
5041 if (!Privates.empty()) {
5073 if (!Privates.empty()) {
5136 if (!Privates.empty()) {
5141 (!Data.LastprivateVars.empty() || checkInitIsRequired(CGF, Privates))) {
5145 /*WithLastIter=*/!Data.LastprivateVars.empty());
6189 if (!CGF.HaveInsertPoint() || Data.ReductionVars.empty())
9353 if (CurBasePointers.empty())
9364 assert(!CurBasePointers.empty() &&
10459 assert(!Sizes.empty() && "Unable to determine NDS and WDS.");
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2046 if (!LastPrivatesReductions.empty()) {
2051 } else if (!LastPrivatesReductions.empty()) {
5059 if (!GlobalizedRecords.empty()) {
5070 if (Records.Records.empty())
5168 if (!TeamsReductions.empty()) {
tools/clang/lib/CodeGen/CGStmt.cpp 570 assert(!Labels.empty());
1148 assert(!BreakContinueStack.empty() && "break stmt not in a loop or switch!");
1160 assert(!BreakContinueStack.empty() && "continue stmt not in a loop!");
1672 if (!BreakContinueStack.empty())
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 2805 if (!S.getSingleClause<OMPNowaitClause>() && CopyprivateVars.empty()) {
2985 if (!Data.PrivateVars.empty() || !Data.FirstprivateVars.empty() ||
2985 if (!Data.PrivateVars.empty() || !Data.FirstprivateVars.empty() ||
2986 !Data.LastprivateVars.empty()) {
3091 if (!InRedVars.empty()) {
3224 if (!Data.FirstprivateVars.empty()) {
tools/clang/lib/CodeGen/CodeGenAction.cpp 901 if (LinkModules.empty())
tools/clang/lib/CodeGen/CodeGenFunction.cpp 93 assert(LifetimeExtendedCleanupStack.empty() && "failed to emit a cleanup");
296 assert(BreakContinueStack.empty() &&
2150 if (ReqFeatures.empty())
2256 if (!RO.Conditions.Features.empty()) {
tools/clang/lib/CodeGen/CodeGenFunction.h 596 bool isSEHTryScope() const { return !SEHTryEpilogueStack.empty(); }
809 if (!Labels.empty())
814 return !Labels.empty();
tools/clang/lib/CodeGen/CodeGenModule.cpp 444 (Context.getLangOpts().Modules || !LinkerOptionsMetadata.empty())) {
460 if (!ELFDependentLibraries.empty() && !Context.getLangOpts().CUDAIsDevice) {
1912 if (UsedArray.empty())
2030 while (!Stack.empty()) {
5415 while (!Stack.empty()) {
tools/clang/lib/CodeGen/CodeGenPGO.cpp 454 assert(!BreakContinueStack.empty() && "break not in a loop or switch!");
462 assert(!BreakContinueStack.empty() && "continue stmt not in a loop!");
610 if (!BreakContinueStack.empty())
tools/clang/lib/CodeGen/CodeGenTypes.cpp 375 while (!DeferredRecords.empty())
768 while (!DeferredRecords.empty())
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp 53 assert(Buffer.empty() && "buffer not current empty");
170 assert(indices.empty());
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 422 if (MappingRegions.empty())
853 if (MappingRegions.empty())
925 assert(!BreakContinueStack.empty() && "break not in a loop or switch!");
934 assert(!BreakContinueStack.empty() && "continue stmt not in a loop!");
1134 if (!BreakContinueStack.empty())
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 296 assert(!Args.empty() && "expected the arglist to not be empty!");
2570 if (!OrderedInits.empty()) {
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1621 if (Info.PathToIntroducingObject.empty()) {
2635 assert(fields.empty());
2887 assert(!fields.empty());
tools/clang/lib/CodeGen/ModuleBuilder.cpp 90 assert(DeferredInlineMemberFuncDefs.empty() ||
176 if (DeferredInlineMemberFuncDefs.empty())
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 266 if (Entries.empty() || Entries.back().End <= begin) {
452 if (Entries.empty()) {
486 assert(Entries.empty());
556 if (Entries.empty()) {
613 if (Entries.empty()) return false;
tools/clang/lib/Driver/Action.cpp 226 assert(!getInputs().empty() && "No dependencies for offload action??");
270 assert(!getInputs().empty() && "No dependencies for offload action??");
tools/clang/lib/Driver/Compilation.cpp 198 if (FailingCommands.empty())
tools/clang/lib/Driver/Driver.cpp 796 if (!CfgDir.empty()) {
807 if (!CfgDir.empty()) {
899 if (!FixedConfigFile.empty()) {
1003 if (!CLModePassThroughArgList.empty()) {
1231 if (!CrashFilePath.empty()) {
1302 if (Inputs.empty()) {
1347 if (!FailingCommands.empty()) {
1354 if (TempFiles.empty()) {
1371 if (ReproCrashFilename.empty()) {
1468 if (FailingCommands.empty())
2226 if (CCCIsCPP() && Inputs.empty()) {
2321 bool isValid() { return !ToolChains.empty(); }
2372 assert(!GpuArchList.empty() &&
2450 if (CudaDeviceActions.empty())
2546 if (GpuArchList.empty())
2572 if (CudaDeviceActions.empty())
2630 if (!DeviceActions.empty()) {
2690 if (CudaDeviceActions.empty() ||
2805 if (OpenMPDeviceActions.empty())
2893 if (OpenMPDeviceActions.empty())
3016 if (SpecializedBuilders.empty())
3054 if (DDeps.getActions().empty())
3137 HostAction->getType() != types::TY_Nothing && !OffloadAL.empty()) {
3166 if (DeviceAL.empty())
3197 if (DDeps.getActions().empty()) {
3337 if (!SuppressMissingInputWarning && Inputs.empty()) {
3396 if (PL.empty())
3480 if (!LinkerInputs.empty()) {
3489 if (!MergerInputs.empty())
4195 if (!OffloadDependencesInputInfo.empty())
4296 if (UnbundlingResults.empty())
4308 if (UnbundlingResults.empty())
4541 if (BasePath.empty())
4690 if (Output.empty())
tools/clang/lib/Driver/Job.cpp 243 if (!NewIncFlags.empty()) {
tools/clang/lib/Driver/ToolChains/Ananas.cpp 105 assert(!Inputs.empty() && "Must have at least one input.");
tools/clang/lib/Driver/ToolChains/Clang.cpp 738 if (Path.empty() || llvm::sys::fs::is_directory(Path))
2758 } else if (Path.empty()) {
5138 if (F.empty()) {
5235 if (!StatsFile.empty())
6123 assert(!SourceAction->getInputs().empty() && "unexpected root action!");
tools/clang/lib/Driver/ToolChains/CloudABI.cpp 77 assert(!Inputs.empty() && "Must have at least one input.");
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 472 if (Path.empty() || llvm::sys::fs::is_directory(Path))
488 if (!StatsFile.empty())
767 return !StaticRuntimes.empty() || !NonWholeStaticRuntimes.empty();
767 return !StaticRuntimes.empty() || !NonWholeStaticRuntimes.empty();
1283 if (DeviceInputs.empty())
tools/clang/lib/Driver/ToolChains/Darwin.cpp 97 assert(!SourceAction->getInputs().empty() && "unexpected root action!");
536 if (!StatsFile.empty()) {
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp 263 assert(!Inputs.empty() && "Must have at least one input.");
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp 110 assert(!Inputs.empty() && "Must have at least one input.");
tools/clang/lib/Driver/ToolChains/Gnu.cpp 514 assert(!Inputs.empty() && "Must have at least one input.");
tools/clang/lib/Driver/ToolChains/HIP.cpp 328 if (BCLibs.empty()) {
tools/clang/lib/Driver/ToolChains/MSVC.cpp 1253 if (!Dirs.empty())
tools/clang/lib/Driver/ToolChains/RISCVToolchain.cpp 105 assert(!Inputs.empty() && "Must have at least one input.");
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp 576 if (Vals.empty()) {
tools/clang/lib/Format/AffectedRangeManager.cpp 125 if (!Tok->Children.empty() && Tok->Children.front()->Affected)
128 IncludeLeadingNewlines = Tok->Children.empty();
tools/clang/lib/Format/ContinuationIndenter.cpp 836 !Current.MatchingParen->Children.empty()) {
1411 Current.Children.empty() &&
tools/clang/lib/Format/Format.cpp 2032 } else if (!IncludesInBlock.empty() && !EmptyLineSkipped) {
2044 if (!IncludesInBlock.empty()) {
2187 } else if (Trimmed.size() > 0 && !ImportsInBlock.empty()) {
2196 if (!ImportsInBlock.empty())
2638 if (!UnsuitableConfigFiles.empty())
2651 if (!UnsuitableConfigFiles.empty())
tools/clang/lib/Format/FormatToken.h 642 if (Commas.empty())
tools/clang/lib/Format/FormatTokenLexer.cpp 49 assert(Tokens.empty());
tools/clang/lib/Format/SortJavaScriptImports.cpp 138 if (References.empty())
287 if (Start.isInvalid() || References.empty())
tools/clang/lib/Format/TokenAnalyzer.cpp 73 assert(UnwrappedLines.rbegin()->empty());
115 assert(!UnwrappedLines.empty());
tools/clang/lib/Format/TokenAnnotator.cpp 2640 return !Left.Children.empty(); // No spaces in "{}".
3023 !Left.Children.empty())
3127 (!Left.Children.empty() &&
tools/clang/lib/Format/UnwrappedLineFormatter.cpp 1067 assert(!Lines.empty());
1140 if (!Tok->Children.empty())
tools/clang/lib/Format/UnwrappedLineParser.cpp 285 while (!PPLevelBranchIndex.empty() &&
290 if (!PPLevelBranchIndex.empty()) {
295 } while (!PPLevelBranchIndex.empty());
320 !CommentsBeforeNextToken.empty())
436 if (LBraceStack.empty())
499 if (!LBraceStack.empty() && LBraceStack.back()->BlockKind == BK_Unknown)
507 } while (Tok->Tok.isNot(tok::eof) && !LBraceStack.empty());
552 CurrentLines->empty()
703 (!PPStack.empty() && PPStack.back().Kind == PP_Unreachable))
722 if (!PPStack.empty())
744 if (!PPStack.empty())
939 CommentsBeforeNextToken.empty()
1366 CommentsBeforeNextToken.empty()
1988 if (CommentsBeforeNextToken.empty() && FormatTok->Tok.is(tok::l_brace)) {
2482 if (CurrentLines == &Lines && !PreprocessorDirectives.empty()) {
2665 if (Comments.empty())
2739 if (!PPStack.empty() && (PPStack.back().Kind == PP_Unreachable) &&
tools/clang/lib/Format/WhitespaceManager.cpp 89 if (Changes.empty())
tools/clang/lib/Frontend/ASTUnit.cpp 2329 if (!Buffer.empty())
2441 if (Decls->empty() || Decls->back().first <= Offset) {
2468 if (LocDecls.empty())
tools/clang/lib/Frontend/ChainedIncludesSource.cpp 174 assert(!SerialBufs.empty());
208 assert(!SerialBufs.empty());
tools/clang/lib/Frontend/CompilerInstance.cpp 474 if (!SpecificModuleCache.empty() && !getHeaderSearchOpts().DisableModuleHash)
1401 assert(!TimestampFile.empty());
1565 while (!Stack.empty()) {
tools/clang/lib/Frontend/CompilerInvocation.cpp 2051 if (!(P.empty() || llvm::sys::path::is_absolute(P))) {
tools/clang/lib/Frontend/FrontendAction.cpp 332 if (!Module->MissingHeaders.empty()) {
tools/clang/lib/Frontend/LogDiagnosticPrinter.cpp 83 if (Entries.empty())
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 1603 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1633 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1680 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty");
1683 assert(!ObjCBcLabelNo.empty() &&
3812 if (!IVars.empty()) {
3821 if (!IVars.empty()) {
4323 !Blocks.empty() &&
4431 (!Blocks.empty()) ? getFunctionSourceLocation(*this, FD)
5205 if (!InnerBlockDeclRefs.empty()) {
5578 if (Stmts.empty() || !IsDeclStmtInForeachHeader(DS))
5616 assert(!Stmts.empty() && "Statement stack is empty");
7201 if (!DefinedNonLazyClasses.empty()) {
7232 if (!DefinedNonLazyCategories.empty()) {
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 1410 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1427 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back()))
1474 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty");
1477 assert(!ObjCBcLabelNo.empty() &&
3533 if (CurFunctionDeclToDeclareForBlock && !Blocks.empty())
3536 !Blocks.empty() &&
4358 if (!InnerBlockDeclRefs.empty()) {
4682 if (Stmts.empty() || !IsDeclStmtInForeachHeader(DS))
4718 assert(!Stmts.empty() && "Statement stack is empty");
tools/clang/lib/Frontend/TextDiagnostic.cpp 569 while (End < Length && !PunctuationEndStack.empty()) {
1152 if (Loc == LastLoc && Ranges.empty() && Hints.empty() &&
tools/clang/lib/Index/CommentToXML.cpp 915 if (!USR.empty()) {
tools/clang/lib/Index/IndexBody.cpp 60 assert(!StmtStack.empty() && E == StmtStack.back());
tools/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp 76 TokenKind top() const { return Tokens.empty() ? pp_none : Tokens.back().K; }
888 if (!Out.empty() && Out.back() != '\n')
921 if (Offsets.empty())
930 if (Offsets.empty())
938 } while (!Offsets.empty());
tools/clang/lib/Lex/HeaderSearch.cpp 513 if (FrameworkName.empty() || FrameworkName.back() != '/')
685 return !FrameworkName.empty() && FoundComp >= 2;
904 if (!MappedName.empty()) {
913 *IsMapped |= (!MappedName.empty() || (IsInHeaderMap && File));
tools/clang/lib/Lex/Lexer.cpp 2744 while (!ConditionalStack.empty()) {
tools/clang/lib/Lex/LiteralSupport.cpp 1563 if (UDSuffixBuf.empty()) {
tools/clang/lib/Lex/MacroInfo.cpp 42 if (ReplacementTokens.empty())
tools/clang/lib/Lex/ModuleMap.cpp 112 if (Unresolved.Id.empty()) {
166 if (Paths.empty())
628 if (UmbrellaModule->InferExportWildcard && Result->Exports.empty())
644 if (UmbrellaModule->InferExportWildcard && Result->Exports.empty())
1277 return !Mod->UnresolvedExports.empty();
1290 return !Mod->UnresolvedDirectUses.empty();
2085 ActiveModule->LinkLibraries.empty()) {
tools/clang/lib/Lex/PPConditionalDirectiveRecord.cpp 113 assert(!CondDirectiveStack.empty());
tools/clang/lib/Lex/PPDirectives.cpp 2324 if (Parameters.empty()) // #define FOO()
tools/clang/lib/Lex/PPLexerChange.cpp 314 !BuildingSubmoduleStack.empty() &&
710 if (BuildingSubmoduleStack.empty())
722 if (BuildingSubmoduleStack.empty() ||
tools/clang/lib/Lex/PPMacroExpansion.cpp 207 while (!Worklist.empty()) {
290 while (!Worklist.empty()) {
530 if (!DelayedMacroExpandsCallbacks.empty()) {
636 if (Brackets.empty() || Brackets.back() == Brace)
642 if (Brackets.empty() || Brackets.back() == Paren)
647 return Brackets.empty();
746 return !ParenHints.empty() && InitLists.empty();
746 return !ParenHints.empty() && InitLists.empty();
815 if (!ArgTokens.empty() &&
864 if (ArgTokens.empty() && Tok.getKind() == tok::r_paren)
919 if (!InitLists.empty()) {
tools/clang/lib/Lex/Pragma.cpp 142 assert(!Tokens.empty() && "collected unexpected number of tokens");
771 if (LexModuleNameComponent(PP, Tok, NameComponent, ModuleName.empty()))
tools/clang/lib/Lex/Preprocessor.cpp 1127 if (ModuleImportPath.empty() && getLangOpts().CPlusPlusModules) {
1232 if (ModuleImportPath.empty() || Result.is(tok::eof))
1278 if (!Suffix.empty()) {
1298 if (!BuildingSubmoduleStack.empty() && M != BuildingSubmoduleStack.back().M)
tools/clang/lib/Lex/TokenLexer.cpp 160 if (ResultToks.empty() || !ResultToks.back().is(tok::comma))
170 if (!ResultToks.empty()) {
406 !ResultToks.empty() && ResultToks.back().is(tok::hashhash);
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp 495 assert(!LM.Toks.empty() && "Empty body!");
590 if (!Class.LateParsedDeclarations.empty()) {
tools/clang/lib/Parse/ParseDecl.cpp 365 if (!ArgExprs.empty() ? Tok.is(tok::comma) : Tok.isNot(tok::r_paren)) {
367 if (!ArgExprs.empty())
1446 if (!Class.LateParsedDeclarations.empty()) {
2436 assert(!Exprs.empty() && Exprs.size()-1 == CommaLocs.size() &&
6054 if (!Bindings.empty()) {
6090 if (Bindings.empty())
tools/clang/lib/Parse/ParseDeclCXX.cpp 112 if (!ExtraNSs.empty() && attrLoc.isValid())
154 if (ExtraNSs.empty()) {
3778 Exceptions.empty());
3779 return Exceptions.empty() ? EST_DynamicNone : EST_Dynamic;
3836 if (Victim->LateParsedDeclarations.empty()) {
tools/clang/lib/Parse/ParseExprCXX.cpp 1273 if (TemplateParams.empty()) {
2971 if (PlacementArgs.empty()) {
3323 if (!Arity && Args.empty()) {
tools/clang/lib/Parse/ParseObjc.cpp 334 if (!ProtocolIdents.empty()) {
344 } else if (protocols.empty() && Tok.is(tok::less) &&
1803 if (!protocols.empty()) {
2248 assert(LateParsedObjCMethods.empty());
3641 assert(!LM.Toks.empty() && "ParseLexedObjCMethodDef - Empty body!");
tools/clang/lib/Parse/ParseOpenMP.cpp 298 if (ReductionTypes.empty()) {
459 assert(!Exprs.empty() && Exprs.size() - 1 == CommaLocs.size() &&
580 if (Clauses.empty()) {
1197 if (Decls.empty())
2771 Vars.empty()) ||
2772 (Kind != OMPC_depend && Kind != OMPC_map && Vars.empty()) ||
tools/clang/lib/Parse/ParsePragma.cpp 1366 if (SubjectMatchRuleSet.empty()) {
1982 assert(!Identifiers.empty() && "Valid '#pragma unused' must have arguments");
3246 if (AttributeTokens.empty()) {
tools/clang/lib/Parse/ParseStmt.cpp 2259 if (Handlers.empty())
tools/clang/lib/Parse/ParseStmtAsm.cpp 564 assert(!LBraceLocs.empty() && "Should have at least one location here");
568 if (!TheTarget || AsmToks.empty()) {
tools/clang/lib/Parse/ParseTemplate.cpp 127 if (!TemplateParams.empty()) {
1494 assert(!LPT.Toks.empty() && "Empty body!");
tools/clang/lib/Parse/Parser.cpp 432 !PP.isIncrementalProcessingEnabled() && !TemplateIds.empty()) {
440 assert(TemplateIds.empty() && "Still alive TemplateIdAnnotations around?");
2346 else if (!Path.empty())
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 228 while (!WorkList.empty()) {
289 while (!Stack.empty()) {
1406 if (UsesByStmt.empty())
1541 if (!vec->empty() && hasSelfInit && hasAlwaysUninitializedUse(vec))
2095 if (!fscope->PossiblyUnreachableDiags.empty()) {
tools/clang/lib/Sema/DeclSpec.cpp 1311 if (!SpecName.empty()) SpecName += " ";
tools/clang/lib/Sema/JumpDiagnostics.cpp 603 while (!Jumps.empty()) {
667 if (GotoJumps.empty())
673 if (JumpTargets.empty()) {
856 if (!Diagnosed && !ToScopesCXX98Compat.empty()) {
915 if (!ToScopesWarning.empty()) {
921 if (!ToScopesError.empty()) {
927 if (ToScopesError.empty() && !ToScopesCXX98Compat.empty()) {
927 if (ToScopesError.empty() && !ToScopesCXX98Compat.empty()) {
tools/clang/lib/Sema/ParsedAttr.cpp 66 if (index < FreeLists.size() && !FreeLists[index].empty()) {
tools/clang/lib/Sema/Sema.cpp 112 if (!IncludeStack.empty()) {
548 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) {
716 if (Undefined.empty()) return;
933 assert(LateParsedInstantiations.empty() &&
965 !ModuleScopes.empty() && ModuleScopes.back().Module->Kind ==
991 assert(DelayedOverridingExceptionSpecChecks.empty());
992 assert(DelayedEquivalentExceptionSpecChecks.empty());
995 assert(DelayedDllExportClasses.empty());
996 assert(DelayedDllExportMemberFunctions.empty());
1043 if (!ModuleScopes.empty() &&
1056 (ModuleScopes.empty() ||
1072 while (!Stack.empty()) {
1529 while (!Worklist.empty()) {
1633 if (FunctionScopes.empty() && CachedFunctionScope) {
1739 assert(!FunctionScopes.empty() && "mismatched push/pop!");
1774 assert(!CurFunction->CompoundScopes.empty() && "mismatched push/pop");
1786 if (!FunctionScopes.empty())
1791 if (!FunctionScopes.empty())
1796 if (!FunctionScopes.empty())
1801 if (FunctionScopes.empty())
1808 assert(!CodeSynthesisContexts.empty());
1816 if (FunctionScopes.empty())
1834 assert(!CodeSynthesisContexts.empty());
1844 if (FunctionScopes.empty())
1859 assert(!CodeSynthesisContexts.empty());
2175 if (FunctionScopes.empty())
2199 if (Exts.empty())
tools/clang/lib/Sema/SemaAccess.cpp 320 if (Queue.empty()) break;
512 if (EC.Functions.empty()) return AR_inaccessible;
676 assert(CurPath.empty());
791 if (S.getLangOpts().MSVCCompat && !EC.Functions.empty())
tools/clang/lib/Sema/SemaAttr.cpp 63 if (PackIncludeStack.empty())
241 if (PackStack.Stack.empty()) {
328 if (PackStack.Stack.empty())
346 (PackIncludeStack.empty() ||
370 if (PackStack.Stack.empty())
420 if (Action & PSK_Pop && VtorDispStack.Stack.empty())
451 } else if (!Stack.empty()) {
523 if (Action & PSK_Pop && Stack->Stack.empty())
664 if (StrictSubjectMatchRuleSet.empty()) {
756 if (PragmaAttributeStack.empty()) {
774 if (PragmaAttributeStack.empty()) {
808 if (PragmaAttributeStack.empty())
844 if (PragmaAttributeStack.empty())
tools/clang/lib/Sema/SemaChecking.cpp12461 } while (!Exprs.empty());
12986 while (!WorkList.empty()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 680 while (!TargetParents.empty()) {
2211 !SemaRef.getCurFunction()->SwitchStack.empty()) {
4963 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter)
8678 if (!NativeRelDir.empty()) {
8704 NativeRelDir.empty() && !Filename.consume_back(".framework"))
tools/clang/lib/Sema/SemaCoroutine.cpp 1190 if (!OperatorNew && !PlacementArgs.empty()) {
tools/clang/lib/Sema/SemaDecl.cpp 8001 MismatchedParams.empty() ? 0 : MismatchedParams.front() + 1;
8460 assert(!HistoryStack.empty());
8538 } while (!VisitStack.empty());
12468 if (Context.DeclMustBeEmitted(var) && !ModuleScopes.empty())
12557 if (Context.DeclMustBeEmitted(var) && !ModuleScopes.empty())
16368 if (LangOpts.ObjCRuntime.isFragile() || AllIvarDecls.empty())
tools/clang/lib/Sema/SemaDeclAttr.cpp 780 if (Args.empty())
1470 if (NonNullArgs.empty() && AL.getLoc().isFileID() &&
6112 if (Args.empty())
8341 if (StmtStack.empty())
tools/clang/lib/Sema/SemaDeclCXX.cpp 754 if (!BadSpecifiers.empty()) {
762 } else if (!CPlusPlus20Specifiers.empty()) {
2237 if (ReturnStmts.empty()) {
2393 if (Queue.empty())
2804 assert(BasePathArray.empty() && "Base path array must be empty!");
2983 if (!OverloadedMethods.empty()) {
7102 while (!Classes.empty()) {
8313 if (!OverloadedMethods.empty()) {
11836 if (!DelayedDllExportMemberFunctions.empty()) {
11853 if (!DelayedDllExportClasses.empty()) {
12745 while (!Worklist.empty()) {
14534 if (!CodeSynthesisContexts.empty()) {
15652 if (VTableUses.empty())
15794 if (ivars.empty())
16073 if (!Unexpanded.empty()) {
tools/clang/lib/Sema/SemaDeclObjC.cpp 3492 if (!Methods.empty())
tools/clang/lib/Sema/SemaExpr.cpp 1952 !CodeSynthesisContexts.empty() &&
14203 if (!Params.empty()) {
14977 if (Folded && getLangOpts().CPlusPlus11 && Notes.empty()) {
15157 if (!Rec.Lambdas.empty()) {
tools/clang/lib/Sema/SemaExprCXX.cpp 1444 if (Result || !getLangOpts().CUDA || PreventedBy.empty())
2078 if (!AllPlaceArgs.empty())
2626 } else if (!Matches.empty()) {
2932 if (!Matches.empty()) {
3132 if (!NewExprs.empty())
3154 return NewExprs.empty();
7930 if (E && !ExprEvalContexts.empty() && ExprEvalContexts.back().NumTypos &&
tools/clang/lib/Sema/SemaExprObjC.cpp 2793 if (!Methods.empty()) {
2853 if (!Methods.empty()) {
2941 if (!Methods.empty()) {
tools/clang/lib/Sema/SemaInit.cpp 3513 return !Steps.empty() && Steps.back().Kind == SK_ConstructorInitialization;
7379 if (Path.empty()) {
7435 if (Path.empty() ||
7822 if (Steps.empty())
8392 assert(!ArrayLoopCommonExprs.empty() &&
tools/clang/lib/Sema/SemaLambda.cpp 229 if (!LSI->GLTemplateParameterList && !LSI->TemplateParams.empty()) {
527 assert(LSI->TemplateParams.empty() &&
724 if (CSI.Returns.empty()) {
1065 if (!LSI->Captures.empty())
1217 if (!LSI->Captures.empty())
1780 if (Captures.empty() && CaptureDefault == LCD_None)
tools/clang/lib/Sema/SemaLookup.cpp 166 if (queue.empty())
615 if (!EquivalentNonFunctions.empty() && !Ambiguous)
1741 if (VisibleWithinParent && SemaRef.CodeSynthesisContexts.empty() &&
2081 while (!Queue.empty()) {
2776 while (!Bases.empty()) {
2963 if (Queue.empty())
4122 bool AnyVisibleDecls = !NewDecls.empty();
4136 if (NewDecls.empty())
4263 if (!CList.empty() && !CList.back().isResolved())
4280 if (CList.empty() || Correction.isResolved())
4330 if (RI->second.empty()) {
4537 if (NamespaceDeclChain.empty() || NamespaceDeclChain.back() != C)
4546 if (NamespaceDeclChain.empty()) {
4579 if (NNS && !CurNameSpecifierIdentifiers.empty()) {
4767 !SemaRef.getCurFunction()->SwitchStack.empty()) {
4825 if (!CodeSynthesisContexts.empty())
5372 if (UniqueModules.empty()) {
tools/clang/lib/Sema/SemaModule.cpp 61 if (!ModuleScopes.empty() &&
132 if (!ModuleScopes.empty() &&
142 if (!ModuleScopes.empty() &&
151 ModuleScopes.empty()
253 switch (ModuleScopes.empty() ? Module::GlobalModuleFragment
392 if (!ModuleScopes.empty())
396 if (!ModuleScopes.empty() && ModuleScopes.back().ModuleInterface) {
430 if (!ModuleScopes.empty())
472 assert(!ModuleScopes.empty() && ModuleScopes.back().Module == Mod &&
536 if (ModuleScopes.empty() || !ModuleScopes.back().Module->isModulePurview()) {
tools/clang/lib/Sema/SemaObjCProperty.cpp 856 if (Properties.empty())
949 if (Mismatches.empty())
tools/clang/lib/Sema/SemaOpenMP.cpp 183 return Stack.empty() ? const_iterator()
187 return Stack.empty() ? const_iterator() : Stack.back().first.rend();
191 return Stack.empty() ? iterator()
195 return Stack.empty() ? iterator() : Stack.back().first.rend();
201 return Stack.empty() ||
312 if (Stack.empty() ||
322 assert(!Stack.back().first.empty() &&
392 if (!Stack.empty() && Stack.back().second == OldFSI) {
393 assert(Stack.back().first.empty());
2495 if (!Vars.empty()) {
2654 if (Vars.empty())
3705 if (!LCs.empty() && OC && OC->getNumForLoops()) {
4288 if (!ImplicitFirstprivates.empty()) {
4299 if (!ImplicitMaps.empty()) {
4339 assert(ClausesWithImplicit.empty() &&
4348 assert(ClausesWithImplicit.empty() &&
4377 assert(ClausesWithImplicit.empty() &&
4384 assert(ClausesWithImplicit.empty() &&
4391 assert(ClausesWithImplicit.empty() &&
4436 assert(ClausesWithImplicit.empty() &&
4683 if (!AllowedNameModifiers.empty())
12141 if (Vars.empty())
12441 if (Vars.empty())
12601 if (Vars.empty())
12655 if (Vars.empty())
13538 if (!BasePath.empty()) {
13680 return RD.Vars.empty();
13884 if (Vars.empty())
14099 if (Vars.empty())
14193 if (Vars.empty())
14306 if (Vars.empty())
14477 Vars.empty())
15340 assert(!CurComponents.empty() &&
15599 (ParentFn != nullptr) && !ParentFn->CompoundScopes.empty();
15851 (ParentFn != nullptr) && !ParentFn->CompoundScopes.empty();
16358 if (MVLI.ProcessedVarList.empty())
16375 if (MVLI.ProcessedVarList.empty())
16461 if (MVLI.ProcessedVarList.empty())
16543 if (MVLI.ProcessedVarList.empty())
16605 if (Vars.empty())
tools/clang/lib/Sema/SemaOverload.cpp 1553 NewParamInfos.empty() ? nullptr : NewParamInfos.data();
5602 if (Notes.empty()) {
6502 if (Attrs.empty())
9648 while (!PendingBest.empty()) {
9673 if (!EquivalentCands.empty())
11551 assert(Ret || Matches.empty());
11610 assert(Matches.empty());
tools/clang/lib/Sema/SemaStmt.cpp 433 if (getCurFunction()->SwitchStack.empty())
482 if (getCurFunction()->SwitchStack.empty()) {
506 if (getCurFunction()->SwitchStack.empty()) {
981 if (!CaseVals.empty()) {
1227 if (TheDefaultStmt && UnhandledNames.empty() && ED->isClosedNonFlag())
1231 if (!UnhandledNames.empty()) {
1297 if (EnumVals.empty())
2913 if (!S.CurrentSEHFinally.empty() &&
tools/clang/lib/Sema/SemaStmtAttr.cpp 38 if (FnScope->SwitchStack.empty()) {
358 if (Attrs.empty())
tools/clang/lib/Sema/SemaTemplate.cpp 5300 if (!ArgumentPack.empty()) {
5321 if ((*Param)->isTemplateParameterPack() && !ArgumentPack.empty())
8933 assert(S.DelayedDllExportClasses.empty() &&
10399 if (Modules.empty())
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 739 assert(!Packs.empty() && "Pack expansion without unexpanded packs?");
844 if (!Pack.New.empty() || !DeducedArg.isNull()) {
879 if (PackElements && Pack.New.empty()) {
889 } else if (Pack.New.empty()) {
1798 while (!ToVisit.empty()) {
2562 if (PackedArgsBuilder.empty()) {
3035 if (!Builder.empty()) {
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp 1652 assert(!CodeSynthesisContexts.empty() &&
1669 assert(!CodeSynthesisContexts.empty() &&
1699 assert(!CodeSynthesisContexts.empty() &&
1744 assert(!CodeSynthesisContexts.empty() &&
1922 assert(!CodeSynthesisContexts.empty() &&
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 114 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
3817 assert(Params.empty() && "parameter vector is non-empty at start");
tools/clang/lib/Sema/SemaTemplateVariadic.cpp 316 if (LambdaParamPackReferences.empty()) {
393 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs");
407 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs");
423 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs");
460 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs");
474 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs");
487 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs");
tools/clang/lib/Sema/SemaType.cpp 234 trivial &= savedAttrs.empty();
2811 if (!QualStr.empty()) QualStr += ' ';
4344 if (S.CodeSynthesisContexts.empty()) {
5144 if (!RemovalLocs.empty()) {
7920 if (CodeSynthesisContexts.empty() &&
8385 if (AsUnevaluated && CodeSynthesisContexts.empty() &&
tools/clang/lib/Sema/TreeTransform.h 3520 assert(NewArgs.empty() &&
3548 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
3678 while (!Qualifiers.empty()) {
4153 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
5515 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
6517 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
12158 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
12338 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
12761 if (!params.empty())
tools/clang/lib/Serialization/ASTReader.cpp 414 if (AllowCompatibleDifferences && UnmatchedReadFeatures.empty())
426 return !UnmatchedReadFeatures.empty() || !UnmatchedExistingFeatures.empty();
426 return !UnmatchedReadFeatures.empty() || !UnmatchedExistingFeatures.empty();
3230 if (SpecialTypes.empty()) {
3323 if (!Record.empty()) {
3334 if (!Record.empty()) {
3361 if (!Record.empty() && Listener)
3418 if (!F.PreloadSLocEntries.empty()) {
4012 while (!Stack.empty()) {
4704 if (F->PragmaDiagMappings.empty())
4916 if (!CUDASpecialDeclRefs.empty()) {
6165 if (Record.empty())
6290 if (T.empty())
7845 if (Merged.empty())
8073 return !Decls.empty();
8178 if (!SelectorsLoaded.empty())
8297 if (!FPPragmaOptions.empty()) {
8314 if (!SemaDeclRefs.empty()) {
8346 if (!PragmaPackStack.empty() &&
8727 if (ReferencedSelectorsData.empty())
8745 if (WeakUndeclaredIdentifiers.empty())
9854 while (!PendingIdentifierInfos.empty() || !PendingFunctionTypes.empty() ||
9855 !PendingIncompleteDeclChains.empty() || !PendingDeclChains.empty() ||
9855 !PendingIncompleteDeclChains.empty() || !PendingDeclChains.empty() ||
9857 !PendingUpdateRecords.empty()) {
9943 while (!PendingUpdateRecords.empty()) {
10063 if (PendingOdrMergeFailures.empty() && PendingOdrMergeChecks.empty() &&
10117 while (!PendingOdrMergeChecks.empty()) {
10179 if (Candidates.empty())
tools/clang/lib/Serialization/ASTReaderDecl.cpp 266 if (IDs.empty())
4021 assert((PendingLazySpecializationIDs.empty() || isa<ClassTemplateDecl>(D) ||
tools/clang/lib/Serialization/ASTReaderInternals.h 63 if (Found.empty() && !Data.empty()) {
tools/clang/lib/Serialization/ASTWriter.cpp 2118 while (!Worklist.empty()) {
2579 while (!Worklist.empty()) {
2600 if (Record.empty() && !EmittedModuleMacros)
3037 if (!Mod->Exports.empty()) {
3078 if (!Inits.empty())
3857 if (!InterestingIdents.empty())
4179 if (!ConstructorDecls.empty())
4182 if (!ConversionDecls.empty())
4822 if (!SemaRef.VTableUses.empty()) {
4941 if (Record.empty())
5101 if (!DeclUpdatesOffsetsRecord.empty())
5128 if (!EagerlyDeserializedDecls.empty())
5131 if (!ModularCodegenDecls.empty())
5135 if (!TentativeDefinitions.empty())
5139 if (!UnusedFileScopedDecls.empty())
5143 if (!WeakUndeclaredIdentifiers.empty())
5148 if (!ExtVectorDecls.empty())
5152 if (!VTableUses.empty())
5156 if (!UnusedLocalTypedefNameCandidates.empty())
5161 if (!PendingInstantiations.empty())
5165 if (!SemaDeclRefs.empty())
5169 if (!CUDASpecialDeclRefs.empty())
5173 if (!DelegatingCtorDecls.empty())
5177 if (!KnownNamespaces.empty())
5181 if (!UndefinedButUsed.empty())
5184 if (!DeleteExprsToAnalyze.empty())
5205 if (!Imports.empty()) {
5754 if (Decls.empty() || Decls.back().first <= Offset) {
5881 while(!NestedNames.empty()) {
5928 while(!NestedNames.empty()) {
tools/clang/lib/Serialization/ASTWriterDecl.cpp 1756 if (LocalRedecls.empty())
tools/clang/lib/Serialization/ModuleManager.cpp 354 while (!Queue.empty()) {
385 if (ModuleFilesHit && !ModulesInCommonWithGlobalIndex.empty()) {
423 if (State->Stack.empty())
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp 89 while (!worklist.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp 183 *BT_null, buf.empty() ? BT_null->getDescription() : StringRef(buf), N);
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp 203 return SrcArgs.empty() && DstArgs.empty() &&
203 return SrcArgs.empty() && DstArgs.empty() &&
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 1329 if (!MatchingStatements.empty()) {
1357 if (!MatchingStatements.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp 71 if (ReqRegions.empty())
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 2664 if (!Errors.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp 273 if (PossibleMallocOverflows.empty())
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 268 while (!Fields.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp 1432 if (Leaked.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp 326 if (Cb.V.empty())
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 566 if (Accesses.empty())
572 if (Guards.empty())
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 1179 if (!C.CallStack.empty()) {
2331 if (Ranges.empty() && isa_and_nonnull<Expr>(getStmt()))
2550 if (ReportNodes.empty())
2947 while (!WL.empty()) {
2978 if (!WL.empty() && &WL.back() == &WI)
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 2443 if (LhsString.empty() || RhsString.empty() ||
2443 if (LhsString.empty() || RhsString.empty() ||
tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp 731 if (TempBuf.empty())
747 if (TempBuf.empty())
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp 464 while (!WL1.empty()) {
482 if (WL2.empty())
489 while (!WL2.empty()) {
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp 191 if (!Match.empty())
208 if (Matches.empty())
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 622 while (!WorkList.empty()) {
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 776 while (!WL.empty()) {
840 if (Fields.empty())
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp 128 assert(!itr.empty() && "attempting to iterate on an 'end' iterator");
134 assert(!itr.empty() && "attempting to dereference an 'end' iterator");
tools/clang/lib/StaticAnalyzer/Core/WorkList.cpp 41 return !Stack.empty();
49 assert(!Stack.empty());
97 return !Queue.empty() || !Stack.empty();
109 if (!Stack.empty()) {
146 return !(StackUnexplored.empty() && StackOthers.empty());
146 return !(StackUnexplored.empty() && StackOthers.empty());
174 if (!StackUnexplored.empty()) {
tools/clang/lib/Tooling/CompilationDatabase.cpp 320 if (CompileAnalyzer.Inputs.empty()) {
tools/clang/lib/Tooling/Core/Lookup.cpp 173 if (UnspelledScopes.empty()) {
tools/clang/lib/Tooling/Tooling.cpp 146 assert(!CC1Args.empty() && "Must at least contain the program name!");
tools/clang/lib/Tooling/Transformer/Transformer.cpp 40 if (Transformations->empty()) {
tools/clang/tools/arcmt-test/arcmt-test.cpp 254 if (strs.empty()) {
tools/clang/tools/clang-refactor/ClangRefactor.cpp 554 if (MatchingRules.empty()) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 24 if (Namespaces.empty())
81 while (!PartialNsNameSplitted.empty()) {
222 if (DeclNsSplitted.empty())
226 if (NsNameSplitted.empty())
256 while (!NsSplitted.empty()) {
294 assert(!SymbolSplitted.empty());
300 assert(!NsSplitted.empty());
360 while (!OldNsSplitted.empty() && !NewNsSplitted.empty() &&
360 while (!OldNsSplitted.empty() && !NewNsSplitted.empty() &&
383 if (!DiffOldNsSplitted.empty())
tools/clang/tools/extra/clang-doc/BitcodeWriter.cpp 402 if (R.USR == EmptySID && R.Name.empty())
tools/clang/tools/extra/clang-doc/Generators.cpp 106 if (It->Path.empty())
108 if (It->Name.empty())
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp 311 if (Type.Path.empty() && !Type.IsInGlobalNamespace) {
365 if (Members.empty())
396 if (Members.empty())
576 if (!Index.Name.empty()) {
812 if (!I.Members.empty())
tools/clang/tools/extra/clang-doc/MDGenerator.cpp 116 if (!I.Members.empty())
216 if (!I.Members.empty()) {
tools/clang/tools/extra/clang-doc/Representation.cpp 123 if (Name.empty())
125 if (Path.empty())
139 if (Namespace.empty())
179 if (Members.empty())
183 if (Parents.empty())
185 if (VirtualParents.empty())
198 if (Members.empty())
213 if (Params.empty())
219 if (!Name.empty())
228 if (Name == "GlobalNamespace" && Namespace.empty())
tools/clang/tools/extra/clang-doc/Serialize.cpp 385 if ((Namespaces.empty() && dyn_cast<RecordDecl>(D)) ||
386 (!Namespaces.empty() && Namespaces.back().RefType == InfoType::IT_record))
503 if (I->Namespace.empty() && I->USR == SymbolID())
507 ParentI->USR = I->Namespace.empty() ? SymbolID() : I->Namespace[0].USR;
510 if (I->Namespace.empty())
574 if (!Func.Namespace.empty())
578 if (Func.Namespace.empty())
631 if (Enum.Namespace.empty()) {
tools/clang/tools/extra/clang-include-fixer/IncludeFixerContext.cpp 44 while (!SymbolQualifiers.empty() &&
tools/clang/tools/extra/clang-include-fixer/SymbolIndexManager.cpp 147 } while (MatchedSymbols.empty() && !Names.empty() && IsNestedSearch);
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp 41 if (Results.empty()) {
272 if (NewFieldsOrder.empty())
tools/clang/tools/extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp 128 .empty()) {
144 if (!match(IsInsideTemplate, *ArgExpr, *Result.Context).empty())
tools/clang/tools/extra/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp 51 .empty() ||
54 .empty() ||
59 .empty() ||
62 .empty())
tools/clang/tools/extra/clang-tidy/bugprone/BranchCloneCheck.cpp 185 if (!Branches.empty())
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp 124 if (Parents.empty())
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp 140 assert(!Initializers.empty() && "No initializers to insert");
242 if (!Insertion.Initializers.empty())
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp 182 if (!MissingMembers.empty())
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp 111 .empty())
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp 230 return !match(isInTemplateInstantiation(), Node, *Result.Context).empty();
238 return !match(IsInsideTemplate, Node, *Result.Context).empty();
250 .empty();
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 907 Descriptor.ContainerString.empty() || Usages.empty() ||
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp 86 .empty())
105 .empty())
135 .empty())
162 .empty())
182 .empty())
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp 39 return !Matches.empty();
50 return Matches.empty();
tools/clang/tools/extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp 99 if (Std.empty())
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 315 if (Words.empty())
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp 153 if (!DifferingParams.empty()) {
320 if (InconsistentDeclarations.empty()) {
tools/clang/tools/extra/clang-tidy/readability/NamedParameterCheck.cpp 85 if (!UnnamedParams.empty()) {
tools/clang/tools/extra/clang-tidy/readability/RedundantPreprocessorCheck.cpp 61 if (!IfStack.empty() && IfLoc == IfStack.back().Loc)
63 if (!IfdefStack.empty() && IfLoc == IfdefStack.back().Loc)
65 if (!IfndefStack.empty() && IfLoc == IfndefStack.back().Loc)
tools/clang/tools/extra/clang-tidy/utils/DeclRefExprUtils.cpp 151 return !Matches.empty();
165 return !Matches.empty();
tools/clang/tools/extra/clang-tidy/utils/ExprSequence.cpp 36 while (!NodesToProcess.empty()) {
199 if (Parents.empty())
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp 118 if (SourceLocations.empty()) {
129 if (!IncludeBucket[IncludeKind].empty()) {
152 if (!IncludeBucket[i].empty()) {
179 if (SourceLocations.empty())
tools/clang/tools/extra/clang-tidy/utils/NamespaceAliaser.cpp 60 !match(findAll(ConflictMatcher), *Function, Context).empty();
64 .empty();
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp 85 if (Transformations->empty())
tools/clang/tools/extra/clang-tidy/utils/UsingInserter.cpp 55 .empty();
63 !match(findAll(ConflictingDecl), *Function, Context).empty();
66 .empty();
tools/clang/tools/extra/clangd/CodeComplete.cpp 216 RankedIncludeHeaders.empty())
1802 const auto *InsertInclude = Includes.empty() ? nullptr : &Includes[0];
tools/clang/tools/extra/clangd/Diagnostics.cpp 580 if (Message.empty()) // either !SytheticMessage, or we failed to make one.
tools/clang/tools/extra/clangd/FileDistance.cpp 49 if (Result.empty() || Result.front() != '/')
126 if (Hash == RootHash && !Ancestors.empty() &&
tools/clang/tools/extra/clangd/IncludeFixer.cpp 137 if (!Matched.IncludeHeaders.empty() && Matched.Definition &&
418 if (!Sym.IncludeHeaders.empty())
447 if (!Matched.IncludeHeaders.empty() && Matched.Definition &&
tools/clang/tools/extra/clangd/Selection.cpp 355 if (N.Selected || !N.Children.empty()) {
tools/clang/tools/extra/clangd/Trace.cpp 167 if (!Name.empty()) {
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp 300 if (Args.empty())
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp 169 if (Ref.Targets.empty())
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp 251 if (!ExtZone.Parent || ExtZone.Parent->Children.empty())
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp 295 assert(!Op.SelectedOperands.empty() && "got only operator on one side!");
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp 68 return !arg.Includes.empty() && arg.Includes[0].Header == IncludeHeader;
71 return !arg.Includes.empty() && arg.Includes[0].Header == IncludeHeader &&
75 return !arg.Includes.empty() && bool(arg.Includes[0].Insertion);
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp 64 MATCHER(IncludeHeader, "") { return !arg.IncludeHeaders.empty(); }
tools/clang/tools/extra/clangd/unittests/TraceTests.cpp 95 bool ThreadsHaveNames = !ThreadName.empty();
tools/clang/tools/libclang/CIndex.cpp 314 while (Decls.empty() || Decls.front()->isTopLevelDeclInObjCContainer()) {
333 assert(!Decls.empty());
1031 if (DeclsInContainer.empty())
1370 while (!Qualifiers.empty()) {
3003 while (!WL.empty()) {
3209 if (!WorkListFreeList.empty()) {
6591 if (Pieces.empty()) {
6799 if (CXTokens.empty())
6838 if (CXTokens.empty())
6946 assert(PostChildrenInfos.empty());
6958 if (PostChildrenInfos.empty())
7252 if (PostChildrenInfos.empty())
7874 if (AvailabilityAttrs.empty())
tools/clang/tools/libclang/CIndexCodeCompletion.cpp 986 if (Buffer.empty())
tools/clang/tools/libclang/CIndexHigh.cpp 33 if (Overridden.empty()) {
tools/clang/tools/libclang/CIndexInclusionStack.cpp 58 if (HasPreamble && !InclusionStack.empty())
tools/clang/tools/libclang/CXIndexDataConsumer.h 256 if (CXAttrs.empty())
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp 315 if (CurrentDiags.empty())
tools/clang/unittests/Frontend/FrontendActionTest.cpp 223 assert(Error.empty());
226 assert(Note.empty());
tools/clang/unittests/Frontend/OutputStreamTest.cpp 44 EXPECT_TRUE(!IRBuffer.empty());
tools/clang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp 34 EXPECT_TRUE(Out.empty());
40 EXPECT_TRUE(Out.empty());
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp 200 if (QueryTokens.empty()) {
tools/clang/utils/TableGen/NeonEmitter.cpp 2489 while (!Defs.empty() && MadeProgress) {
2521 assert(Defs.empty() && "Some requirements were not satisfied!");
2596 while (!Defs.empty() && MadeProgress) {
2628 assert(Defs.empty() && "Some requirements were not satisfied!");
tools/dsymutil/DwarfLinker.cpp 917 while (!Worklist.empty()) {
931 if (!Worklist.empty())
tools/dsymutil/MachODebugMapParser.cpp 336 if (Archs.empty() || is_contained(Archs, "all") || is_contained(Archs, "*"))
tools/dsymutil/dsymutil.cpp 419 if (Path.empty())
tools/gold/gold-plugin.cpp 1039 bool SaveTemps = !Filename.empty();
1098 if (!F.first.empty())
tools/lld/COFF/Driver.cpp 1734 if (config->pdbPath.empty()) {
1741 if (config->pdbAltPath.empty()) {
tools/lld/COFF/LTO.cpp 192 if (buf[i].empty())
tools/lld/COFF/MarkLive.cpp 57 while (!worklist.empty()) {
tools/lld/COFF/PDB.cpp 265 if (config->pdbSourcePath.empty()) {
498 if (precompIndexMap.tpiMap.empty())
736 s.openingRecord->ptrParent = stack.empty() ? 0 : stack.back().scopeOffset;
742 if (stack.empty()) {
912 if (symbolGoesInGlobalsStream(sym, scopes.empty())) {
918 if (symbolGoesInModuleStream(sym, scopes.empty())) {
1434 if (config->pdbSourcePath.empty())
tools/lld/COFF/Writer.cpp 160 if (!config->pdbAltPath.empty())
618 if (!config->pdbPath.empty() && config->debug) {
1783 config->mingw && config->debug && config->pdbPath.empty();
tools/lld/ELF/LTO.cpp 298 if (!buf[i].empty())
tools/lld/ELF/MarkLive.cpp 273 while (!queue.empty()) {
tools/lld/ELF/OutputSections.cpp 303 if (!compressedData.empty()) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 325 if (symbols.empty() && section.content.empty())
328 if (symbols.empty()) {
tools/lld/wasm/LTO.cpp 150 if (buf[i].empty())
tools/lld/wasm/MarkLive.cpp 109 while (!queue.empty()) {
tools/lld/wasm/SyntheticSections.cpp 551 if (field.second.empty())
tools/lld/wasm/SyntheticSections.h 305 return int(!languages.empty()) + int(!tools.empty()) + int(!sDKs.empty());
305 return int(!languages.empty()) + int(!tools.empty()) + int(!sDKs.empty());
305 return int(!languages.empty()) + int(!tools.empty()) + int(!sDKs.empty());
tools/lld/wasm/WriterUtils.cpp 47 if (sig.Returns.empty())
tools/lldb/include/lldb/Symbol/ClangASTContext.h 270 if (args.empty())
tools/lldb/include/lldb/Utility/RangeMap.h 213 if (m_entries.empty())
224 if (m_entries.empty())
239 bool IsEmpty() const { return m_entries.empty(); }
265 if (!m_entries.empty()) {
287 if (!m_entries.empty()) {
310 if (!m_entries.empty()) {
694 bool IsEmpty() const { return m_entries.empty(); }
753 if (!m_entries.empty()) {
772 if (!m_entries.empty()) {
794 if (!m_entries.empty()) {
812 Entry *Back() { return (m_entries.empty() ? nullptr : &m_entries.back()); }
903 if (!m_entries.empty()) {
tools/lldb/include/lldb/Utility/UUID.h 62 bool IsValid() const { return !m_bytes.empty(); }
tools/lldb/source/Commands/CommandObjectPlatform.cpp 977 if (!exe_path.empty())
tools/lldb/source/Core/DumpDataExtractor.cpp 583 if (!sv.empty()) {
tools/lldb/source/Core/ValueObject.cpp 259 (!old_checksum.empty() && !m_value_checksum.empty()));
259 (!old_checksum.empty() && !m_value_checksum.empty()));
3287 bool ValueObject::IsChecksumEmpty() { return m_value_checksum.empty(); }
tools/lldb/source/Host/common/FileSystem.cpp 242 if (path.empty())
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h 348 if (!Result.empty())
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp 1115 if (methods.empty()) {
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 1369 if (load_instructions.empty())
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 1881 if (template_param_infos.args.empty())
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp 38 assert(!m_worklist.empty() && "Incrementing end iterator?");
72 if (a.m_worklist.empty() || b.m_worklist.empty())
72 if (a.m_worklist.empty() || b.m_worklist.empty())
73 return a.m_worklist.empty() == b.m_worklist.empty();
73 return a.m_worklist.empty() == b.m_worklist.empty();
tools/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp 86 lldbassert(item.m_build_info.empty());
tools/lldb/source/Symbol/ClangASTContext.cpp 1465 if (!template_param_infos.packed_args->args.empty() &&
tools/lldb/source/Symbol/PostfixExpression.cpp 63 if (stack.empty())
91 if (exprs.empty() || !exprs.back().trim().empty())
tools/lldb/source/Target/TargetList.cpp 350 if (unglobbed_path.empty())
tools/lldb/source/Utility/FileSpec.cpp 212 if (resolved.empty()) {
403 if (denormalize && !path.empty())
507 if (current_path.empty())
tools/lldb/source/Utility/ProcessInfo.cpp 68 if (!filename.empty())
tools/llvm-ar/llvm-ar.cpp 232 if (PositionalArgs.empty())
241 if (PositionalArgs.empty())
253 if (PositionalArgs.empty())
278 if (!PositionalArgs.empty() || !Options.empty())
tools/llvm-cov/gcov.cpp 27 if (CoverageFileStem.empty()) {
tools/llvm-diff/DiffConsumer.cpp 94 if (contexts.empty()) return;
tools/llvm-diff/DifferenceEngine.cpp 44 bool empty() const { return Storage.empty(); }
tools/llvm-exegesis/lib/BenchmarkResult.cpp 72 if (Pieces.empty()) {
tools/llvm-exegesis/lib/Clustering.cpp 195 if (PointsOfOpcode.empty()) // If we previously have not seen any points of
tools/llvm-exegesis/lib/MCInstrDescView.cpp 26 assert(!TiedOperands.empty());
321 bool AliasingConfigurations::empty() const { return Configurations.empty(); }
338 if (!ARO.Defs.empty() && !ARO.Uses.empty() &&
338 if (!ARO.Defs.empty() && !ARO.Uses.empty() &&
tools/llvm-exegesis/lib/SnippetGenerator.cpp 180 assert(!Container.empty() &&
tools/llvm-exegesis/lib/Uops.cpp 183 if (!TiedVariables.empty()) {
tools/llvm-lipo/llvm-lipo.cpp 314 if (C.InputFiles.empty())
351 if (ActionArgs.empty())
373 if (C.VerifyArchList.empty())
tools/llvm-mca/CodeRegion.h 74 bool empty() const { return Instructions.empty(); }
tools/llvm-mca/Views/BottleneckAnalysis.cpp 199 if (N.NumPredecessors == 0 && !N.OutgoingEdges.empty())
261 } while (!RootSet.empty());
313 if (Seq.empty())
tools/llvm-objcopy/CopyConfig.cpp 403 if (Positional.empty())
789 if (Positional.empty())
tools/llvm-objcopy/ELF/ELFConfig.cpp 93 if (!UnsupportedFlags.empty())
tools/llvm-objcopy/MachO/MachOWriter.cpp 121 if (!Ends.empty())
tools/llvm-pdbutil/BytesOutputStyle.cpp 473 if (StreamPurposes.empty())
tools/llvm-pdbutil/DumpOutputStyle.cpp 386 if (StreamPurposes.empty())
1203 if (!Str.empty())
tools/llvm-pdbutil/MinimalTypeDumper.cpp 487 if (Indices.empty())
tools/llvm-pdbutil/TypeReferenceTracker.cpp 126 while (!RefWorklist.empty()) {
tools/llvm-pdbutil/llvm-pdbutil.cpp 1335 if (OutFile.empty()) {
tools/llvm-profdata/llvm-profdata.cpp 670 if (WeightedInputs.empty())
tools/llvm-readobj/ELFDumper.cpp 714 if (!VersionMap.empty())
tools/llvm-xray/xray-converter.cpp 227 if (siblings.empty()) {
tools/llvm-xray/xray-graph.cpp 240 VertexIdentifier VI = ThreadStack.empty() ? 0 : ThreadStack.back().FuncId;
tools/llvm-xray/xray-stacks.cpp 378 if (TS.empty()) {
412 if (TS.empty()) {
571 while (!S.empty()) {
595 while (!lineage.empty()) {
624 while (!S.empty()) {
629 if (!Top->ExtraData.TerminalDurations.empty()) {
tools/polly/include/polly/ScopInfo.h 1402 bool isEmpty() const { return MemAccs.empty(); }
2239 bool hasInvariantAccesses() { return !InvariantEquivClasses.empty(); }
tools/polly/lib/Analysis/ScopBuilder.cpp 465 while (!ConditionSets.empty())
2970 if (InvMAs.empty())
3452 if (ReadOnlyAccesses.empty() && ReadWriteArrays.size() <= 1)
tools/polly/lib/Analysis/ScopDetection.cpp 895 if (Terms.empty())
940 if (Sizes.empty()) {
1255 return !ExitingBlocks.empty();
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp 116 while (!Todo.empty()) {
tools/polly/lib/Analysis/ScopInfo.cpp 2158 if (MinMaxAliasGroups.empty()) {
2166 if (Pair.second.empty()) {
tools/polly/lib/CodeGen/BlockGenerators.cpp 546 if (EscapeUsers.empty())
tools/polly/lib/CodeGen/IRBuilder.cpp 108 MDNode *Ids = ParallelLoops.empty()
119 assert(!ParallelLoops.empty() && "Expected a parallel loop to pop");
137 assert(!ParallelLoops.empty() && "Expected a parallel loop to annotate");
197 if (!ParallelLoops.empty())
tools/polly/lib/CodeGen/IslAst.cpp 466 Scop.getAliasGroups().empty())
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1434 if (EscapeUsers.empty())
1509 if (InvariantEquivClasses.empty())
tools/polly/lib/Support/VirtualInstruction.cpp 318 while (!WorklistAccs.empty()) {
369 if (WorklistInsts.empty())
tools/polly/lib/Transform/DeLICM.cpp 1054 while (!Worklist.empty()) {
tools/polly/lib/Transform/ZoneAlgo.cpp 514 while (!Worklist.empty()) {
tools/verify-uselistorder/verify-uselistorder.cpp 114 assert(!Vector.empty());
unittests/ADT/DirectedGraphTest.cpp 174 EXPECT_TRUE(EL.empty());
243 EXPECT_TRUE(EL.empty());
unittests/ADT/SmallStringTest.cpp 33 EXPECT_TRUE(v.empty());
unittests/ADT/SmallVectorTest.cpp 164 EXPECT_TRUE(v.empty());
249 EXPECT_FALSE(this->theVector.empty());
718 EXPECT_TRUE(constVector.empty());
987 EXPECT_TRUE(V1.empty());
unittests/Bitstream/BitstreamReaderTest.cpp 149 EXPECT_TRUE(Record.empty());
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 525 if (FileBytes.empty())
531 if (FileBytes.empty())
unittests/IR/TimePassesTest.cpp 86 EXPECT_FALSE(TimePassesStr.empty());
96 EXPECT_TRUE(TimePassesStr.empty());
144 EXPECT_FALSE(TimePassesStr.empty());
153 EXPECT_TRUE(TimePassesStr.empty());
unittests/LineEditor/LineEditor.cpp 27 ASSERT_FALSE(HistPath.empty());
unittests/Support/CommandLineTest.cpp 314 EXPECT_TRUE(Actual.empty());
322 EXPECT_TRUE(Actual.empty());
1130 if (!FilePath.empty())
unittests/Support/Path.cpp 363 EXPECT_TRUE(!TempDir.empty());
366 EXPECT_TRUE(!TempDir.empty());
1273 if (!ResultPath.empty()) {
usr/include/c++/7.4.0/bits/stl_queue.h 568 { return c.empty(); }
usr/include/c++/7.4.0/bits/stl_stack.h 186 { return c.empty(); }
utils/TableGen/AsmMatcherEmitter.cpp 278 while (!Worklist.empty()) {
924 if (AsmOperands.empty())
2902 if (II.RequiredFeatures.empty())
3337 if (MI->RequiredFeatures.empty())
3449 if (MI->RequiredFeatures.empty())
utils/TableGen/AsmWriterEmitter.cpp 960 assert(!Ops.empty() && "AssemblerCondString cannot be empty");
utils/TableGen/CodeGenDAGPatterns.cpp 188 if (Modes.empty()) {
3990 if (Instrs.empty())
4026 if (Msgs.empty())
utils/TableGen/CodeGenRegisters.cpp 124 if (ConcatenationOf.empty())
138 assert(SRI->ConcatenationOf.empty() && "No transitive closure?");
141 if (SubIdx->ConcatenationOf.empty()) {
186 if (CoveredBySubRegs && !ExplicitSubRegs.empty())
348 while (!Indices.empty() && !Orphans.empty()) {
488 assert(!Cand->ExplicitSubRegs.empty() &&
499 if (SubRegIdx->ConcatenationOf.empty()) {
512 if (Parts.empty())
756 assert(!VTs.empty() && "RegisterClass must contain at least one ValueType!");
838 assert(!SuperClasses.empty() && "Synthesized class without super class");
1154 if (!SRI.ConcatenationOf.empty())
1289 assert(Idx->ConcatenationOf.empty() && "No transitive closure?");
utils/TableGen/CodeGenSchedule.cpp 1728 if (LastTransitions[0].PredTerm.empty())
utils/TableGen/CodeGenTarget.h 130 if (LegalValueTypes.empty())
utils/TableGen/DAGISelMatcherGen.cpp 524 if (!Names.empty()) {
867 if (isRoot && !PhysRegInputs.empty()) {
956 assert((!ResultVTs.empty() || TreeHasOutGlue || NodeHasChain) &&
1015 if (!MatchedChainNodes.empty())
utils/TableGen/DAGISelMatcherOpt.cpp 342 if (NewOptionsToMatch.empty()) {
utils/TableGen/DFAEmitter.cpp 74 if (NewStates.empty())
utils/TableGen/FastISelEmitter.cpp 137 bool empty() const { return Operands.empty(); }
utils/TableGen/GlobalISelEmitter.cpp 726 assert(!Conditions.empty() &&
733 assert(!Conditions.empty() &&
737 bool hasFirstCondition() const override { return !Conditions.empty(); }
2302 while (!Stash.empty())
3525 if (!ParsedAddrSpaces.empty()) {
5439 assert(Conditions.empty() && "Already finalized?");
5462 if (!Conditions.empty()) {
5476 if (!Conditions.empty())
utils/TableGen/PseudoLoweringEmitter.cpp 205 if (!Expansions.empty()) {
utils/TableGen/RISCVCompressInstEmitter.cpp 477 assert(!Ops.empty() && "AssemblerCondString cannot be empty");
575 if (CompressPatterns.empty()) {
utils/TableGen/RegisterInfoEmitter.cpp 639 assert(V.empty() && "Clear DiffVec before diffEncode.");
652 assert(V.empty() && "Clear DiffVec before diffEncode.");
948 assert(LaneMaskVec.empty());