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

References

examples/Kaleidoscope/Chapter9/toy.cpp
  287     for (const auto &Arg : Args)
  347     for (const auto &NamedVar : VarNames)
examples/SpeculativeJIT/SpeculativeJIT.cpp
  166   for (const auto &InputFile : InputFiles) {
  182   for (const auto &InputArg : InputArgv)
gen/lib/Target/AArch64/AArch64GenGICombiner.inc
   90   for (const auto &Identifier : AArch64PreLegalizerCombinerHelperOption)
include/llvm/ADT/BreadthFirstIterator.h
   86       NodeRef Next = *(*ChildIt)++;
include/llvm/ADT/DenseMap.h
  269       insert(*I);
include/llvm/ADT/DenseSet.h
  213       insert(*I);
include/llvm/ADT/DepthFirstIterator.h
  131         NodeRef Next = *(*Opt)++;
include/llvm/ADT/DirectedGraph.h
  109     for (auto *E : Edges)
include/llvm/ADT/Hashing.h
  407                                             get_hashable_data(*first)))
  420                                               get_hashable_data(*first)))
include/llvm/ADT/MapVector.h
  212     if (Pred(*I)) {
  220       *O = std::move(*I);
  220       *O = std::move(*I);
include/llvm/ADT/PostOrderIterator.h
  128       NodeRef BB = *VisitStack.back().second++;
include/llvm/ADT/PriorityWorklist.h
  200       if (*I != T())
  201         M[*I] = I - V.begin();
include/llvm/ADT/SCCIterator.h
  159     NodeRef childN = *VisitStack.back().NextChild++;
include/llvm/ADT/STLExtras.h
  218   FuncReturnTy operator*() { return F(*this->I); }
  322     while (this->I != End && !Pred(*this->I))
  528   using type = std::tuple<decltype(*declval<Iters>())...>;
  556     return value_type(*std::get<Ns>(iterators)...);
  681         typename std::remove_reference<decltype(*I)>::type>::type> {
  684   return *I;
  690           decltype(*std::declval<Iter>())>::type>::type>;
  865     return &*Begin;
 1071   qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start));
 1071   qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start));
 1071   qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start));
 1088   qsort(&*Start, NElts, sizeof(*Start),
 1088   qsort(&*Start, NElts, sizeof(*Start),
 1129   for (auto V : C)
 1417   const value_reference value() const { return *Iter; }
 1418   value_reference value() { return *Iter; }
include/llvm/ADT/SetOperations.h
   27     if (S1.insert(*SI).second)
include/llvm/ADT/SetVector.h
  152       if (set_.insert(*Start).second)
  153         vector_.push_back(*Start);
  172     const key_type &V = *I;
  250       if (insert(*SI))
  263       remove(*SI);
include/llvm/ADT/SmallPtrSet.h
  389       insert(*I);
include/llvm/ADT/SmallSet.h
  204       insert(*I);
include/llvm/ADT/SmallVector.h
  628       *J = *From;
include/llvm/ADT/StringExtras.h
  321     Len += (*Begin).size();
  323   S += (*Begin);
  326     S += (*Begin);
include/llvm/ADT/StringSet.h
   46         base::insert(std::make_pair(*It, None));
include/llvm/ADT/TinyPtrVector.h
  342         Val = *From;
include/llvm/ADT/iterator.h
  271   ReferenceT operator*() const { return *I; }
  296   T &operator*() const { return **this->I; }
  323   T &operator*() { return Ptr = &*this->I; }
include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1077     Nodes[*I] = Node;
 1093   for (const LoopT *L : *LI)
 1107     for (const LoopT *L : *Loop)
 1272     for (const auto Succ : children<const BlockT *>(BB))
 1325               Dist, OuterLoop, Node, getNode(*SI),
include/llvm/Analysis/CFG.h
  160     for (NodeT Succ : make_range(GT::child_begin(Node), GT::child_end(Node))) {
include/llvm/Analysis/CallGraph.h
  242     *I = CalledFunctions.back();
include/llvm/Analysis/DominanceFrontierImpl.h
  184       for (const auto Succ : children<BlockT *>(currentBB)) {
  198       DomTreeNodeT *IDominee = *NI;
include/llvm/Analysis/Interval.h
   67     for (BasicBlock *Node : Nodes)
   77     for (BasicBlock *Successor : Successors)
include/llvm/Analysis/IntervalIterator.h
  147         bool Done = ProcessInterval(getSourceGraphNode(OrigContainer, *SuccIt));
  186       ProcessNode(Int, getSourceGraphNode(OrigContainer, *I));
  216         if (!Int->contains(*I)) {        // If pred not in interval, we can't be
  239         ProcessNode(Int, getSourceGraphNode(OrigContainer, *It));
include/llvm/Analysis/LoopInfo.h
  211     for (const auto &Succ : children<const BlockT *>(BB)) {
  238     for (const auto Pred : children<Inverse<BlockT *>>(H))
  317     for (const auto Pred : children<Inverse<BlockT *>>(H))
  387     LoopT *Child = *I;
  485     for (auto *SubLoop : SubLoops)
  874     for (auto *L : TopLevelLoops)
  886     for (auto *L : TopLevelLoops)
  951     LoopT *L = *I;
  973     *I = NewLoop;
include/llvm/Analysis/LoopInfoImpl.h
   38     for (const auto &Succ : children<BlockT *>(BB))
   66     for (const auto &Succ : children<BlockT *>(BB))
   91     for (BlockT *Predecessor : children<Inverse<BlockT *>>(EB))
  108     for (BlockT *Successor : children<BlockT *>(BB))
  145     for (const auto &Succ : children<BlockT *>(BB))
  195   for (const auto Pred : children<Inverse<BlockT *>>(Header)) {
  213   for (const auto Pred : children<Inverse<BlockT *>>(Header)) {
  272   *I = NewChild;
  338     for (auto BB : Blocks) {
  349     for (block_iterator BI = (*I)->block_begin(), BE = (*I)->block_end();
  349     for (block_iterator BI = (*I)->block_begin(), BE = (*I)->block_end();
  373     (*I)->verifyLoopNest(Loops);
  406     (*I)->print(OS, Depth + 2);
  464       for (const auto Pred : children<Inverse<BlockT *>>(PredBB)) {
  547     for (const auto Backedge : children<Inverse<BlockT *>>(Header)) {
  592   for (LoopT *RootL : *this) {
  633   for (LoopT *SL : L)
  656   for (const LoopT *SubL : *L) {
  685     assert(!(*I)->getParentLoop() && "Top-level loop has a parent!");
  686     (*I)->verifyLoopNest(&Loops);
  696     for (LoopT *ChildLoop : *L)
  709   for (LoopT *L : OtherLI)
  715   for (LoopT *L : *this) {
include/llvm/Analysis/RegionInfo.h
  737     for (auto &SubR : *R)
include/llvm/Analysis/RegionInfoImpl.h
   78     for (std::unique_ptr<RegionT> &Child : *R) {
   96     for (std::unique_ptr<RegionT> &Child : *R) {
  167   for (BlockT *Pred : make_range(InvBlockTraits::child_begin(entry),
  191     BlockT *Pred = *PI;
  211   for (BlockT *Pred : make_range(InvBlockTraits::child_begin(exit),
  261   for (BlockT *Succ :
  269     for (BlockT *Pred : make_range(InvBlockTraits::child_begin(BB),
  286   for (BlockT *Succ :
  307   for (const std::unique_ptr<RegionT> &R : *this)
  385   for (std::unique_ptr<RegionT> &R : *this) {
  420   for (std::unique_ptr<RegionT> &R : *this) {
  468     for (BlockT *Pred : make_range(InvBlockTraits::child_begin(getExit()),
  473       return new RegionT(getEntry(), *BlockTraits::child_begin(exit), RI, DT);
  480   for (BlockT *Pred : make_range(InvBlockTraits::child_begin(getExit()),
  516     for (const std::unique_ptr<RegionT> &R : *this)
  534   for (std::unique_ptr<RegionT> &R : *this)
  568   for (BlockT *P : make_range(InvBlockTraits::child_begin(BB),
  656   if (num_successors <= 1 && exit == *(BlockTraits::child_begin(entry)))
  768   for (DomTreeNodeBase<BlockT> *C : *N) {
  849       Exit = *BlockTraits::child_begin(BB);
  859     for (BlockT *Pred : make_range(InvBlockTraits::child_begin(Exit),
include/llvm/Analysis/RegionIterator.h
  110       while (BlockTraits::child_end(node->getEntry()) != BItor && isExit(*BItor))
  133     BlockT *BB = isRegionMode() ? getRegionSucc() : *BItor;
  147           && isExit(*BItor));
  191            Node->getParent()->getExit() == *Itor)
include/llvm/CodeGen/AsmPrinter.h
  579     for (const auto &Abbrev : Abbrevs)
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
 1240     for(auto SizeAndAction: v) {
include/llvm/CodeGen/LiveInterval.h
  627         if (Seg->end <= *Idx) {
  628           Seg = std::upper_bound(++Seg, EndSeg, *Idx,
  629             [=](typename std::remove_reference<decltype(*Idx)>::type V,
include/llvm/CodeGen/MachineOutliner.h
  189     for (const Candidate &C : Candidates)
  216     for (Candidate &C : Candidates)
include/llvm/CodeGen/MachinePipeliner.h
  175       for (const auto &NodeNum : Topo)
  370     for (SUnit *SU : *this) {
include/llvm/CodeGen/MachineScheduler.h
  564     (*I)->NodeQueueId &= ~ID;
  565     *I = Queue.back();
include/llvm/CodeGen/PBQP/Graph.h
  574       for (auto AEId : adjEdgeIds(N1Id)) {
  636       for (auto AEId : adjEdgeIds(NId))
include/llvm/CodeGen/PBQP/ReductionRules.h
   40     EdgeId EId = *G.adjEdgeIds(NId).begin();
   87     EdgeId YXEId = *AEItr,
   88            ZXEId = *(++AEItr);
  202       for (auto EId : G.adjEdgeIds(NId)) {
include/llvm/CodeGen/PBQPRAConstraint.h
   53     for (auto &C : Constraints)
include/llvm/CodeGen/ScheduleDAG.h
  530         push(*I);
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
  151       for (auto &X : Items) {
  160       for (auto &X : Items) {
  183       for (auto &Item : Items) {
include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h
   25     for (auto Visitor : Pipeline) {
   33     for (auto Visitor : Pipeline) {
   41     for (auto Visitor : Pipeline) {
   49     for (auto Visitor : Pipeline) {
include/llvm/DebugInfo/CodeView/TypeHashing.h
  134             *HashIt = H;
include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h
   26     for (auto Visitor : Pipeline) {
   34     for (auto Visitor : Pipeline) {
   42     for (auto Visitor : Pipeline) {
   50     for (auto Visitor : Pipeline) {
   58     for (auto Visitor : Pipeline) {
   66     for (auto Visitor : Pipeline) {
   74     for (auto Visitor : Pipeline) {
  100     for (auto Visitor : Pipeline) {
  109     for (auto Visitor : Pipeline) {
include/llvm/DebugInfo/DWARF/DWARFListTable.h
  255       for (const auto &Entry : List.second.getEntries())
  263     for (const auto &Entry : List.second.getEntries())
include/llvm/DebugInfo/DWARF/DWARFUnit.h
  482       return DWARFDie(this, &*It);
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  232       for (auto BLK : BaseLayerVModuleKeys)
  241       for (auto &BLK : BaseLayerVModuleKeys)
include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
  118     for (const auto &CtorDtorName : CtorDtorNames) {
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
  158       for (auto &Frame : RegisteredEHFrames) {
  167       for (auto &ObjAllocs : Unmapped) {
  182       for (auto &ObjAllocs : Unfinalized) {
  197       for (auto &EHFrame : UnfinalizedEHFrames) {
  271       for (auto &Alloc : Allocs) {
  294         for (auto &Alloc : Allocs) {
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
  179     for (auto &Arg : Args)
include/llvm/ExecutionEngine/Orc/RPCSerialization.h
  588     for (const auto &E : V)
  605     for (auto &E : V)
include/llvm/FuzzMutate/Random.h
   54     for (auto &I : Items)
include/llvm/IR/ModuleSummaryIndex.h
 1339       for (auto &Summary : GlobalList.second.SummaryList) {
include/llvm/IR/ModuleSummaryIndexYAML.h
   86       for (uint64_t Arg : P.first) {
  216     for (auto &FSum : FSums) {
  218       for (auto &RefGUID : FSum.Refs) {
  238       for (auto &Sum : P.second.SummaryList) {
include/llvm/MCA/HardwareUnits/ResourceManager.h
  440     for (const std::unique_ptr<ResourceState> &Resource : Resources)
include/llvm/PassAnalysisSupport.h
  157     for (const auto &AnalysisImpl : AnalysisImpls) {
include/llvm/ProfileData/Coverage/CoverageMapping.h
  462     for (const FunctionRecord *F : Instantiations)
include/llvm/ProfileData/InstrProf.h
  531   for (auto Name : IterRange)
include/llvm/Support/Error.h
  371     for (auto &ErrPayload : Payloads) {
  401         for (auto &Payload : E2List.Payloads)
  910     for (auto &P : List.Payloads)
include/llvm/Support/FormatProviders.h
  407           detail::build_format_adapter(std::forward<reference>(*Begin));
  414           detail::build_format_adapter(std::forward<reference>(*Begin));
include/llvm/Support/FormatVariadic.h
  106     for (auto &R : Replacements) {
include/llvm/Support/GenericDomTree.h
  104     for (const DomTreeNodeBase *I : *Other) {
  109     for (const DomTreeNodeBase *I : *this) {
  158       for (DomTreeNodeBase *C : *Current) {
  186     PrintDomTree<NodeT>(*I, O, Lev + 1);
  716         const DomTreeNodeBase<NodeT> *Child = *ChildIt;
  778     NodeRef NewBBSucc = *GraphT::child_begin(NewBB);
  781     for (const auto &Pred : children<Inverse<N>>(NewBB))
  787     for (const auto &Pred : children<Inverse<N>>(NewBBSucc)) {
include/llvm/Support/GenericDomTreeConstruction.h
 1145     std::swap(*ChIt, IDom->Children.back());
 1323     for (const NodePtr N : NumToNode) {
 1520       for (TreeNodePtr Child : TN->getChildren())
 1547       for (const TreeNodePtr N : Siblings) {
 1554         for (const TreeNodePtr S : Siblings) {
include/llvm/Support/GenericIteratedDominanceFrontier.h
  199       for (auto DomChild : *Node) {
include/llvm/Support/GraphWriter.h
  231       if (!DTraits.isNodeHidden(*EI))
  234       if (!DTraits.isNodeHidden(*EI))
  239     if (NodeRef TargetNode = *EI) {
include/llvm/Support/JSON.h
  165     for (const auto &V : C)
include/llvm/Support/Parallel.h
   87   return Comp(*Start, *(End - 1))
   87   return Comp(*Start, *(End - 1))
   88              ? (Comp(*Mid, *(End - 1)) ? (Comp(*Start, *Mid) ? Mid : Start)
   88              ? (Comp(*Mid, *(End - 1)) ? (Comp(*Start, *Mid) ? Mid : Start)
   88              ? (Comp(*Mid, *(End - 1)) ? (Comp(*Start, *Mid) ? Mid : Start)
   88              ? (Comp(*Mid, *(End - 1)) ? (Comp(*Start, *Mid) ? Mid : Start)
   90              : (Comp(*Mid, *Start) ? (Comp(*(End - 1), *Mid) ? Mid : End - 1)
   90              : (Comp(*Mid, *Start) ? (Comp(*(End - 1), *Mid) ? Mid : End - 1)
   90              : (Comp(*Mid, *Start) ? (Comp(*(End - 1), *Mid) ? Mid : End - 1)
   90              : (Comp(*Mid, *Start) ? (Comp(*(End - 1), *Mid) ? Mid : End - 1)
  106   std::swap(*(End - 1), *Pivot);
  106   std::swap(*(End - 1), *Pivot);
  107   Pivot = std::partition(Start, End - 1, [&Comp, End](decltype(*Start) V) {
  108     return Comp(V, *(End - 1));
  111   std::swap(*Pivot, *(End - 1));
  111   std::swap(*Pivot, *(End - 1));
include/llvm/Support/YAMLTraits.h
 1100     for (StringRef key : io.keys())
include/llvm/TableGen/StringToOffsetTable.h
   88     for (char C : AggregateString) {
include/llvm/Testing/Support/SupportHelpers.h
   41     for (const auto &Info : Err.Infos) {
include/llvm/Transforms/IPO/Attributor.h
  608       for (CallGraphNode *Node : *I)
include/llvm/Transforms/Scalar/ConstantHoisting.h
  136     for (auto MapEntry : ConstGEPCandMap)
  140     for (auto MapEntry : ConstGEPInfoMap)
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
  199         BBInfo *SuccInfo = BBMap[*SI];
lib/Analysis/AliasAnalysis.cpp
   65   for (auto &AA : AAs)
   92   for (AnalysisKey *ID : AADeps)
  112   for (const auto &AA : AAs) {
  128   for (const auto &AA : AAs)
  138   for (const auto &AA : AAs) {
  187   for (const auto &AA : AAs) {
  254   for (const auto &AA : AAs) {
  385   for (const auto &AA : AAs) {
  399   for (const auto &AA : AAs) {
lib/Analysis/AliasAnalysisEvaluator.cpp
  143     Type *I1ElTy = cast<PointerType>((*I1)->getType())->getElementType();
  149       Type *I2ElTy = cast<PointerType>((*I2)->getType())->getElementType();
  153       AliasResult AR = AA.alias(*I1, I1Size, *I2, I2Size);
  153       AliasResult AR = AA.alias(*I1, I1Size, *I2, I2Size);
  156         PrintResults(AR, PrintNoAlias, *I1, *I2, F.getParent());
  156         PrintResults(AR, PrintNoAlias, *I1, *I2, F.getParent());
  160         PrintResults(AR, PrintMayAlias, *I1, *I2, F.getParent());
  160         PrintResults(AR, PrintMayAlias, *I1, *I2, F.getParent());
  164         PrintResults(AR, PrintPartialAlias, *I1, *I2, F.getParent());
  164         PrintResults(AR, PrintPartialAlias, *I1, *I2, F.getParent());
  168         PrintResults(AR, PrintMustAlias, *I1, *I2, F.getParent());
  168         PrintResults(AR, PrintMustAlias, *I1, *I2, F.getParent());
  177     for (Value *Load : Loads) {
  178       for (Value *Store : Stores) {
  206         AliasResult AR = AA.alias(MemoryLocation::get(cast<StoreInst>(*I1)),
  207                                   MemoryLocation::get(cast<StoreInst>(*I2)));
  210           PrintLoadStoreResults(AR, PrintNoAlias, *I1, *I2, F.getParent());
  210           PrintLoadStoreResults(AR, PrintNoAlias, *I1, *I2, F.getParent());
  214           PrintLoadStoreResults(AR, PrintMayAlias, *I1, *I2, F.getParent());
  214           PrintLoadStoreResults(AR, PrintMayAlias, *I1, *I2, F.getParent());
  218           PrintLoadStoreResults(AR, PrintPartialAlias, *I1, *I2, F.getParent());
  218           PrintLoadStoreResults(AR, PrintPartialAlias, *I1, *I2, F.getParent());
  222           PrintLoadStoreResults(AR, PrintMustAlias, *I1, *I2, F.getParent());
  222           PrintLoadStoreResults(AR, PrintMustAlias, *I1, *I2, F.getParent());
  232     for (auto Pointer : Pointers) {
lib/Analysis/AliasSetTracker.cpp
  624   for (auto Cur : ASVector) {
lib/Analysis/BlockFrequencyInfoImpl.cpp
  647   for (auto &I : Nodes)
  691   for (const auto *I : SCC)
lib/Analysis/BranchProbabilityInfo.cpp
  971     for (auto *BB : Scc) {
lib/Analysis/CFLAndersAliasAnalysis.cpp
  568       for (const auto &OVal : make_range(RangePair)) {
  618       for (auto &Edge : ValueInfo.getNodeInfoAtLevel(I).Edges) {
  684     for (const auto &AssignEdge : NodeInfo->Edges)
  688     for (const auto &RevAssignEdge : NodeInfo->ReverseEdges)
  752     for (const auto &Dst : WorkList) {
  796     for (const auto &Item : WorkList)
lib/Analysis/CFLSteensAliasAnalysis.cpp
  218       for (auto &Edge : ValueInfo.getNodeInfoAtLevel(I).Edges)
lib/Analysis/CGSCCPassManager.cpp
   70   for (auto &Pass : Passes) {
lib/Analysis/CallGraph.cpp
  169   for (const auto &I : *this) {
  191       *I = CalledFunctions.back();
  216     CallRecord &CR = *I;
  219       *I = CalledFunctions.back();
lib/Analysis/CallGraphSCCPass.cpp
  171   for (CallGraphNode *CGN : CurSCC) {
  208                   : CurSCC) CGN->dump(););
  217     CallGraphNode *CGN = *SCCIdx;
  388     for (CallGraphNode *CGN : CurSCC)
  430         (*I)->print(OS);
  650       for (CallGraphNode *CGN : SCC) {
  687   for (CallGraphNode *CGN : SCC) {
lib/Analysis/DDG.cpp
   70   for (auto &E : N.getEdges())
  156     for (auto *E : *N)
lib/Analysis/DomTreeUpdater.cpp
  522   for (auto BB : Callbacks) {
lib/Analysis/GlobalsModRef.cpp
  475     for (auto *CGN : SCC)
  499       for (auto *Node : SCC)
  557       for (auto *Node : SCC)
  563     for (auto *Node : SCC) {
lib/Analysis/InlineCost.cpp
 1920     for (Loop *L : LI) {
lib/Analysis/Interval.cpp
   41   for (const BasicBlock *Node : Nodes)
   45   for (const BasicBlock *Predecessor : Predecessors)
   49   for (const BasicBlock *Successor : Successors)
lib/Analysis/IntervalPartition.cpp
   55     IntervalMap.insert(std::make_pair(*It, I));
   64   for (BasicBlock *Successor : Int->Successors)
lib/Analysis/LoopAccessAnalysis.cpp
  827     for (auto A : Accesses)
  862         for (auto AC : S) {
 1672             auto A = std::make_pair(&*AI, *I1);
 1673             auto B = std::make_pair(&*OI, *I2);
 1675             assert(*I1 != *I2);
 1675             assert(*I1 != *I2);
 1676             if (*I1 > *I2)
 1676             if (*I1 > *I2)
 2412   for (Loop *TopLevelLoop : *LI)
lib/Analysis/LoopInfo.cpp
  729       Loop *L = LI->getLoopFor(*POI);
  730       Loop *NL = getNearestLoop(*POI, L);
  734         LI->changeLoopFor(*POI, NL);
  766     Loop *Subloop = *std::prev(Unloop.end());
  881       if (*I == Unloop) {
  909     if (*I == Unloop) {
lib/Analysis/MemDepPrinter.cpp
  112       for (const NonLocalDepEntry &I : NLDI) {
lib/Analysis/MemoryDependenceAnalysis.cpp
  807     for (auto &Entry : Cache)
  860       ExistingResult = &*Entry;
  990     ExistingResult = &*Entry;
 1136         for (auto &Entry : CacheInfo->NonLocalDeps)
 1156         for (auto &Entry : CacheInfo->NonLocalDeps)
 1179       for (auto &Entry : *Cache) {
 1193     for (auto &Entry : *Cache) {
 1547     for (auto &Entry : BlockMap)
 1628       for (auto &Entry : INLD.first) {
 1668       for (auto &Entry : NLPDI) {
 1713     for (const auto &Entry : DepKV.second.NonLocalDeps)
 1720     for (const auto &Entry : INLD.first)
lib/Analysis/MemorySSA.cpp
 1162       DomTreeNode *Child = *ChildIt;
lib/Analysis/ModuleSummaryAnalysis.cpp
  399       for (const auto *I : Instrs) {
  425     for (auto &VI : StoreRefEdges)
  433     for (auto &VI : LoadRefEdges)
  437     for (auto &VI : StoreRefEdges)
  539   for (auto &P : VTableFuncs) {
lib/Analysis/ProfileSummaryInfo.cpp
   77   return *It;
lib/Analysis/RegionPass.cpp
   42   for (const auto &E : R)
lib/Analysis/RegionPrinter.cpp
  119     for (const auto &RI : R)
lib/Analysis/ScalarEvolution.cpp
 3849     for (const auto &VE : SI->second)
11484   for (Loop *I : *L)
11639   for (Loop *I : LI)
lib/Analysis/ScalarEvolutionExpander.cpp
 1790       for (auto const &VOPair : *Set) {
lib/Analysis/StratifiedSets.h
  270     for (auto &Link : Links) {
  279     for (auto &Link : StratLinks) {
lib/Analysis/SyntheticCountsUtils.cpp
   33   for (auto &Node : SCC)
   39     for (auto &E : children_edges<CallGraphType>(Node)) {
lib/Analysis/Trace.cpp
   41     (*i)->printAsOperand(O, true, getModule());
lib/AsmParser/LLParser.cpp
  130     for (const auto &Attr : Attrs)
  497   for (auto &MD : MDs)
 7511     for (auto TIDRef : FwdRefTIDs->second) {
 7600     for (auto P : I.second) {
 7618     for (auto TIDRef : FwdRefTIDs->second) {
 7941     for (auto VIRef : FwdRefVIs->second) {
 7952     for (auto AliaseeRef : FwdRefAliasees->second) {
 8353     for (auto P : I.second) {
 8440     for (auto P : I.second) {
 8489   for (auto &VC : VContexts) {
 8501     for (auto P : I.second) {
 8596     for (auto P : I.second) {
 8637     for (auto P : I.second) {
 8676     for (auto P : I.second) {
lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
   59   for (auto &Item : Array)
lib/BinaryFormat/MsgPackDocument.cpp
  240       Node = *Stack.back().ArrayIt;
lib/Bitcode/Reader/BitcodeReader.cpp
 2914   for (uint64_t BitPos : DeferredMetadataInfo) {
 2985   for (auto &Pair : UpgradedVariables) {
lib/Bitcode/Reader/MetadataLoader.cpp
  485     for (auto CU_SP : CUSubprograms)
lib/Bitcode/Writer/BitcodeWriter.cpp
  194       for (auto &Summary : GUIDSummaryLists.second.SummaryList)
  454         for (auto &Summary : Summaries.second.SummaryList)
  745   for (ValueEnumerator::IndexAndAttrSet Pair : AttrGrps) {
 1095   for (const Comdat *C : VE.getComdats()) {
 1252     for (const auto P : M.getSourceFileName())
 2102     for (auto &Elt : IndexPos) {
 3630   for (auto &P : Summary) {
 4384   for (Module *M : Mods) {
 4562     for (const auto P : M.getSourceFileName())
lib/Bitcode/Writer/ValueEnumerator.cpp
  736   for (const Metadata *MD : MDs)
lib/CodeGen/AggressiveAntiDepBreaker.cpp
  163     for (const auto &LI : (*SI)->liveins()) {
  163     for (const auto &LI : (*SI)->liveins()) {
lib/CodeGen/Analysis.cpp
  721     for (const MachineBasicBlock *Succ : Visiting->successors())
lib/CodeGen/AsmPrinter/ARMException.cpp
  125     unsigned TypeID = *I;
lib/CodeGen/AsmPrinter/AccelTable.cpp
   83   for (auto &Bucket : Buckets)
  252     for (auto &Hash : Bucket) {
  268     for (auto *Hash : Buckets[i]) {
  320     for (auto *HD : Buckets[i]) {
  333     for (auto &Hash : Buckets[i]) {
  345       for (const auto *V : Hash->Values)
  401     for (auto *Hash : Bucket) {
  402       for (auto *Value : Hash->Values) {
  445     for (auto *Hash : Bucket.value()) {
  503     for (auto *Hash : Bucket) {
  506       for (const auto *Value : Hash->Values)
  658   for (auto *Value : Values)
  667     for (auto *V : Entry.second.Values)
  672   for (auto &Bucket : Buckets)
  673     for (auto &Hash : Bucket)
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1289   for (auto &I : GlobalGOTEquivs) {
 1434       for (const auto &Stub : Stubs) {
 1451       for (const auto &Stub : Stubs) {
 2857   for (const MachineLoop *CL : *Loop) {
 3025   MachineBasicBlock *Pred = *MBB->pred_begin();
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  552       Msg += *I;
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  579   for (auto &P : FnDebugInfo)
 1084     for (auto Annot : FI.Annotations) {
 1102     for (auto HeapAllocSite : FI.HeapAllocSites) {
 1301   for (const auto &I : DbgValues) {
 2161   for (const ClassInfo::MemberInfo &IndirectField : NestedInfo.Members)
 2324   for (const DIDerivedType *I : Info.Inheritance) {
 2352   for (ClassInfo::MemberInfo &MemberInfo : Info.Members) {
 2397   for (auto &MethodItr : Info.Methods) {
 2430   for (const DIType *Nested : Info.NestedTypes) {
lib/CodeGen/AsmPrinter/DIE.cpp
  142   for (DIEAbbrev *Abbrev : Abbreviations)
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  340   for (const auto &VarRangePair : *this) {
lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
  212   for (const auto &I : DbgValues) {
  269   for (const auto &I : DbgLabels) {
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
   75   for (const Function *Personality : MMI->getPersonalities()) {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1068   for (const auto &P : CUMap) {
 1171   for (const auto &P : CUMap) {
 1514   for (const auto &I : DbgValues) {
 1588   for (const auto &I : DbgLabels) {
 2044   for (const auto &NU : CUMap) {
 2349   for (const auto &P : SectionRanges) {
 2378     for (const auto *RS : P.second) {
 2490   for (const SymbolCU &SCU : ArangeLabels) {
 2506   for (auto &I : SectionMap) {
 2579   for (DwarfCompileUnit *CU : CUs) {
 2616     for (const ArangeSpan &Span : List) {
 2762   for (const auto &P : CUMap) {
lib/CodeGen/AsmPrinter/EHStreamer.cpp
   95     Offset -= getULEB128Size(*I);
  645     unsigned TypeID = *I;
lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp
   58     GCFunctionInfo &MD = **FI;
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
  118     GCFunctionInfo &FI = **I;
  137     GCFunctionInfo &FI = **I;
lib/CodeGen/AsmPrinter/WasmException.cpp
   46   for (const LandingPadInfo &Info : MF->getLandingPads()) {
lib/CodeGen/AsmPrinter/WinCFGuard.cpp
   54   for (const Function *F : Functions)
   59   for (const MCSymbol *S : LongjmpTargets) {
lib/CodeGen/BranchFolding.cpp
  433     for (MachineBasicBlock::RegisterMaskPair P : NewDest.liveins()) {
  933     for (MachineBasicBlock *Pred : MBB->predecessors()) {
 1146     for (MachineBasicBlock *PBB : I->predecessors()) {
 1230   for (const auto &Src : SameTails) {
 1244       *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI);
 1379   for (MachineBasicBlock *SuccBB : MBB.successors())
 1385   for (MachineBasicBlock *PredBB : MBB.predecessors())
 1429         MachineBasicBlock *Pred = *(MBB->pred_end()-1);
 1589       MachineBasicBlock *Pred = *MBB->pred_begin();
 1694             MachineBasicBlock *PMBB = *(MBB->pred_begin() + PI);
 1748       for (MachineBasicBlock *PredBB : MBB->predecessors()) {
 1780       for (MachineBasicBlock *SuccBB : MBB->successors()) {
 1845   for (MachineBasicBlock *SuccBB : BB->successors())
lib/CodeGen/BranchFolding.h
   92         return *getMPIter();
lib/CodeGen/BranchRelaxation.cpp
  459     for (const MachineBasicBlock *Succ : MBB->successors()) {
  460       for (const MachineBasicBlock::RegisterMaskPair &LiveIn : Succ->liveins())
lib/CodeGen/CFIInstrInserter.cpp
  234     for (auto *Succ : CurrentInfo.MBB->successors()) {
  314     for (MachineBasicBlock *Succ : CurrMBB->successors()) {
lib/CodeGen/CodeGenPrepare.cpp
 5283   for (auto &Entry : LargeOffsetGEPMap) {
 6214   for (auto *I : MaybeDead) {
 6892   for (GetElementPtrInst *UGEPI : UGEPIs) {
 6900   for (GetElementPtrInst *UGEPI : UGEPIs) {
lib/CodeGen/CriticalAntiDepBreaker.cpp
   73     for (const auto &LI : (*SI)->liveins()) {
   73     for (const auto &LI : (*SI)->liveins()) {
lib/CodeGen/DFAPacketizer.cpp
   69   for (auto U : InsnClass)
  184   for (auto &M : Mutations)
  214       for (MachineInstr *MI : CurrentPacketMIs) {
  246   for (SUnit &SU : VLIWScheduler->SUnits)
  288       for (auto MJ : CurrentPacketMIs) {
lib/CodeGen/DeadMachineInstructionElim.cpp
  118       for (const auto &LI : (*S)->liveins())
  118       for (const auto &LI : (*S)->liveins())
lib/CodeGen/EdgeBundles.cpp
   49       EC.join(OutE, 2 * (*SI)->getNumber());
   90         << printMBBReference(**SI) << "\" [ color=lightgray ]\n";
lib/CodeGen/ExecutionDomainFix.cpp
  169   for (MachineBasicBlock *pred : MBB->predecessors()) {
  215   for (DomainValue *OldLiveReg : MBBOutRegsInfos[MBBNumber]) {
  462     for (DomainValue *OutLiveReg : OutLiveRegs) {
lib/CodeGen/FaultMaps.cpp
   92   for (auto &Fault : FFI) {
lib/CodeGen/GlobalISel/CombinerHelper.cpp
 1106   for (auto CopyTy : MemOps) {
 1211   for (auto CopyTy : MemOps) {
lib/CodeGen/GlobalISel/IRTranslator.cpp
  473     for (const CaseCluster &C : Clusters) {
  680     if (*SI == DefaultMBB) {
  687       addMachineCFGPred({SwitchMBB->getBasicBlock(), (*SI)->getBasicBlock()},
  779         std::swap(*I, *W.LastCluster);
  779         std::swap(*I, *W.LastCluster);
 2174   for (auto &JTCase : SL->JTCases) {
 2382   MachineBasicBlock &NewEntryBB = **EntryBB->succ_begin();
 2391   for (const MachineBasicBlock::RegisterMaskPair &LiveIn : EntryBB->liveins())
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  350         for (SizeAndAction BitsizeAndAction : VectorSpecifiedActions.second) {
  721     for (unsigned Opcode : FailedOpcodes)
lib/CodeGen/GlobalISel/RegBankSelect.cpp
  811     for (auto &Succ : Src.successors())
lib/CodeGen/HardwareLoops.cpp
  192     Loop *L = *I;
  205     if (TryConvertLoop(*I))
lib/CodeGen/IfConversion.cpp
  613   for (MachineBasicBlock *SuccBB : BB->successors()) {
 1455   for (const MachineBasicBlock *Predecessor : MBB.predecessors()) {
 1645       for (MachineBasicBlock *PBB : CvtMBB.predecessors()) {
 2086       if (*PI != TrueBBI.BB && *PI != FalseBBI.BB)
 2086       if (*PI != TrueBBI.BB && *PI != FalseBBI.BB)
 2215     for (MachineBasicBlock *Succ : Succs) {
lib/CodeGen/InlineSpiller.cpp
  500       for (MachineBasicBlock *P : MBB->predecessors()) {
 1467   for (auto &Ent : MergeableSpills) {
lib/CodeGen/LatencyPriorityQueue.cpp
  125     if (Picker(*Best, *I))
  125     if (Picker(*Best, *I))
  127   SUnit *V = *Best;
  129     std::swap(*Best, Queue.back());
  139     std::swap(*I, Queue.back());
  147   for (const SUnit *SU : Queue) {
lib/CodeGen/LiveDebugValues.cpp
 1144   for (auto p : MBB.predecessors()) {
 1391           for (auto s : MBB->successors())
lib/CodeGen/LiveDebugVariables.cpp
 1209   for (auto &Pair : NewLocations) {
 1215       unsigned NewLocNo = std::distance(&*NewLocations.begin(), &Pair);
lib/CodeGen/LiveInterval.cpp
 1332         if (const VNInfo *PVNI = LR.getVNInfoBefore(LIS.getMBBEndIdx(*PI)))
lib/CodeGen/LiveIntervals.cpp
  327     for (const auto &LI : MBB.liveins()) {
  401       for (const MachineBasicBlock *Pred : MBB->predecessors()) {
  417     for (const MachineBasicBlock *Pred : MBB->predecessors()) {
  647   for (MachineBasicBlock *Succ : KillMBB->successors()) {
  846     for (const MachineBasicBlock *Pred : PHIMBB->predecessors())
lib/CodeGen/LivePhysRegs.cpp
  158   for (const auto &LI : MBB.liveins()) {
  194     for (const CalleeSavedInfo &Info : MFI.getCalleeSavedInfo())
  205   for (const CalleeSavedInfo &Info : MFI.getCalleeSavedInfo())
  213   for (const MachineBasicBlock *Succ : MBB.successors())
  227       for (const CalleeSavedInfo &Info : MFI.getCalleeSavedInfo())
lib/CodeGen/LiveRangeCalc.cpp
  286     for (MachineBasicBlock *S : B.successors())
  295   for (MachineBasicBlock *P : MBB.predecessors())
  338     for (MachineBasicBlock *P : B.predecessors())
  386     for (MachineBasicBlock *Pred : MBB->predecessors()) {
  518         for (MachineBasicBlock *Pred : MBB->predecessors()) {
  602     for (const MachineBasicBlock *P : B->predecessors())
lib/CodeGen/LiveRegUnits.cpp
   87   for (const auto &LI : MBB.liveins())
  110     for (const CalleeSavedInfo &Info : MFI.getCalleeSavedInfo())
  121   for (const CalleeSavedInfo &Info : MFI.getCalleeSavedInfo())
  132   for (const MachineBasicBlock *Succ : MBB.successors())
lib/CodeGen/LiveVariables.cpp
  179     MarkVirtRegAliveInBlock(VRInfo, MRI->getVRegDef(reg)->getParent(), *PI);
  567   for (const auto &LI : MBB->liveins()) {
  603     MachineBasicBlock *SuccMBB = *SI;
  606     for (const auto &LI : SuccMBB->liveins()) {
  747   for (const MachineBasicBlock *SuccMBB : MBB.successors()) {
lib/CodeGen/LoopTraversal.cpp
   46       for (MachineBasicBlock *Succ : ActiveMBB->successors()) {
lib/CodeGen/MIRCanonicalizerPass.cpp
  107   for (auto *II : instructions) {
  123   for (auto &II : StringInstrMap) {
  167   for (auto *II : Instructions) {
  183   for (auto *II : Instructions) {
  316   for (MachineInstr *MI : Copies) {
  343     for (auto *MO : Uses)
  437     for (auto *MO : RenameMOs) {
  470            : RPOList) { dbgs() << MBB->getName() << "\n"; } dbgs()
  481   for (auto MBB : RPOList)
lib/CodeGen/MIRParser/MIRParser.cpp
  348   for (auto YamlCSInfo : YamlMF.CallSitesInfo) {
  368     for (auto ArgRegPair : YamlCSInfo.ArgForwardingRegs) {
  503   for (const auto &VReg : YamlMF.VirtualRegisters) {
  543   for (const auto &LiveIn : YamlMF.LiveIns) {
  562     for (const auto &RegSource : YamlMF.CalleeSavedRegisters.getValue()) {
  665   for (const auto &Object : YamlMF.FixedStackObjects) {
  692   for (const auto &Object : YamlMF.StackObjects) {
  815   for (const auto &YamlConstant : YamlMF.Constants) {
  841   for (const auto &Entry : YamlJTI.Entries) {
  843     for (const auto &MBBSource : Entry.Blocks) {
lib/CodeGen/MIRPrinter.cpp
  410   for (const auto &CSInfo : MFI.getCalleeSavedInfo()) {
  504   for (const MachineConstantPoolEntry &Constant : ConstantPool.getConstants()) {
  528   for (const auto &Table : JTI.getJumpTables()) {
  532     for (const auto *MBB : Table.MBBs) {
  656       OS << printMBBReference(**I);
  672     for (const auto &LI : MBB.liveins()) {
lib/CodeGen/MIRVRegNamerUtils.cpp
  163   for (auto &vreg : VRegs) {
  241     for (auto *MO : RenameMOs) {
  265   for (auto candidate : Candidates) {
lib/CodeGen/MachineBasicBlock.cpp
  239     if ((*I)->isEHPad())
  351       OS << printMBBReference(**I);
  364       OS << printMBBReference(**I);
  377         OS << printMBBReference(**I) << '('
  395     for (const auto &LI : liveins()) {
  555         if ((*SI)->isEHPad())
  558         TBB = *SI;
  595     if ((*SI)->isEHPad() || *SI == TBB)
  595     if ((*SI)->isEHPad() || *SI == TBB)
  598     FallthroughBB = *SI;
  644   for (auto Prob : Probs)
  688                                   : *getProbabilityIterator(OldI));
  712   (*I)->removePredecessor(this);
  725     if (*I == Old) {
  730     if (*I == New) {
  742     *OldI = New;
  751       *ProbIter += *getProbabilityIterator(OldI);
  751       *ProbIter += *getProbabilityIterator(OldI);
  759     addSuccessor(*I, Orig->getSuccProbability(I));
  761     addSuccessorWithoutProb(*I);
  779     MachineBasicBlock *Succ = *FromMBB->succ_begin();
  784       auto Prob = *FromMBB->Probs.begin();
  799     MachineBasicBlock *Succ = *FromMBB->succ_begin();
  801       auto Prob = *FromMBB->Probs.begin();
  987   for (const auto &LI : Succ->liveins())
 1272     const MachineBasicBlock *MBB = *SI;
 1333   const auto &Prob = *getProbabilityIterator(Succ);
 1339     for (auto &P : Probs) {
 1356   *getProbabilityIterator(I) = Prob;
 1412     for (MachineBasicBlock *S : successors()) {
 1413       for (const MachineBasicBlock::RegisterMaskPair &LI : S->liveins()) {
 1468     for (const MachineBasicBlock::RegisterMaskPair &LI : liveins())
lib/CodeGen/MachineBlockPlacement.cpp
  603   for (MachineBasicBlock *Succ : MBB->successors()) {
  650   for (MachineBasicBlock *Succ : BB->successors()) {
  698   for (MachineBasicBlock *Succ : BB.successors())
  794   for (MachineBasicBlock *SuccPred : Succ->predecessors()) {
  906     for (auto SuccPred : Succ->predecessors()) {
  910         for (MachineBasicBlock *CheckSucc : SuccPred->successors())
 1005     for (MachineBasicBlock *SuccPred : Succ->predecessors()) {
 1079   for (MachineBasicBlock *Pred : Succ->predecessors()) {
 1177     for (MachineBasicBlock *Succ : BB.successors()) {
 1197     for (MachineBasicBlock* Pred : PDom->predecessors()) {
 1262     const MachineBasicBlock *Succ1 = *BB->succ_begin();
 1263     const MachineBasicBlock *Succ2 = *(BB->succ_begin() + 1);
 1419   for (MachineBasicBlock *Pred : Succ->predecessors()) {
 1683     for (MachineBasicBlock *Pred : ChainBB->predecessors()) {
 1790   MachineBasicBlock *Pred = *BottomBlock->pred_begin();
 1794   MachineBasicBlock *OtherBB = *Pred->succ_begin();
 1809   for (MachineBasicBlock *Pred : Top->predecessors()) {
 1817       for (MachineBasicBlock *Succ : Pred->successors()) {
 1877    for (MachineBasicBlock *Pred : NewTop->predecessors()) {
 1895      for (MachineBasicBlock *Succ : BestPred->successors()) {
 1968   for (MachineBasicBlock *Pred : OldTop->predecessors()) {
 1981       OtherBB = *Pred->succ_begin();
 2006          (*BestPred->pred_begin())->succ_size() == 1 &&
 2007          *BestPred->pred_begin() != L.getHeader())
 2008     BestPred = *BestPred->pred_begin();
 2087     for (MachineBasicBlock *Succ : MBB->successors()) {
 2173   for (MachineBasicBlock *Pred : Top->predecessors()) {
 2181       for (MachineBasicBlock *Succ : Pred->successors()) {
 2224     for (MachineBasicBlock *Succ : Bottom->successors()) {
 2311   for (auto *Pred : ChainHeaderBB->predecessors()) {
 2333     for (auto *Succ : BB->successors()) {
 2441     for (auto LoopPred : L.getHeader()->predecessors())
 2467   for (const MachineLoop *InnerLoop : L)
 2593   for (MachineLoop *L : *MLI)
 2964     for (MachineBasicBlock *NewSucc : Pred->successors()) {
 3148     for (MachineBasicBlock *Succ : MBB.successors()) {
lib/CodeGen/MachineBranchProbabilityInfo.cpp
   70       MaxSucc = *I;
lib/CodeGen/MachineCSE.cpp
  340     if (MBB->pred_size() != 1 || *MBB->pred_begin() != CSMBB)
  751     for (MachineDomTreeNode *Child : Children)
  858     for (MachineDomTreeNode *Child : Children)
lib/CodeGen/MachineDominators.cpp
  105     for (MachineBasicBlock *PredBB : Succ->predecessors()) {
  124         PredBB = *PredBB->pred_begin();
lib/CodeGen/MachineFrameInfo.cpp
  129   for (auto &I : getCalleeSavedInfo())
lib/CodeGen/MachineFunction.cpp
  804     unsigned i = *I, j = TyIds.size();
lib/CodeGen/MachineLICM.cpp
  511     for (const auto &LI : BB->liveins()) {
  818       InitRegPressure(*BB->pred_begin());
 1351   for (const MachineInstr *PrevMI : PrevMIs)
lib/CodeGen/MachineLoopInfo.cpp
  124   for (MachineBasicBlock *P : HB->predecessors()) {
  135   for (MachineBasicBlock *S : Preheader->successors()) {
lib/CodeGen/MachineLoopUtils.cpp
   31   MachineBasicBlock *Preheader = *Loop->pred_begin();
   33     Preheader = *std::next(Loop->pred_begin());
   34   MachineBasicBlock *Exit = *Loop->succ_begin();
   36     Exit = *std::next(Loop->succ_begin());
lib/CodeGen/MachineOutliner.cpp
  554           for (SuffixTreeNode *Leaf : LeafChildren)
  908     for (const Candidate &C : OF.Candidates)
 1019     for (const unsigned &StartIdx : RS.StartIndices) {
 1204   for (OutlinedFunction &OF : FunctionList) {
 1229     for (Candidate &C : OF.Candidates) {
lib/CodeGen/MachinePipeliner.cpp
  223   for (auto &L : *MLI)
  235   for (auto &InnerLoop : L)
  664   for (auto &SU : SUnits) {
  760   for (SUnit &I : SUnits) {
  843   for (SUnit &I : SUnits) {
 1288   for (SUnit &SU : DAG->SUnits) {
 1370       const SUnit &SU = SUnits[*I];
 1382     SUnit *SU = &SUnits[*I];
 1396     ScheduleInfo[*I].ASAP = asap;
 1397     ScheduleInfo[*I].ZeroLatencyDepth = zeroLatencyDepth;
 1451     for (SUnit::pred_iterator PI = (*I)->Preds.begin(), PE = (*I)->Preds.end();
 1451     for (SUnit::pred_iterator PI = (*I)->Preds.begin(), PE = (*I)->Preds.end();
 1461     for (SUnit::const_succ_iterator IS = (*I)->Succs.begin(),
 1462                                     ES = (*I)->Succs.end();
 1484     for (SUnit::succ_iterator SI = (*I)->Succs.begin(), SE = (*I)->Succs.end();
 1484     for (SUnit::succ_iterator SI = (*I)->Succs.begin(), SE = (*I)->Succs.end();
 1493     for (SUnit::const_pred_iterator PI = (*I)->Preds.begin(),
 1494                                     PE = (*I)->Preds.end();
 1550   for (SUnit *SU : NS) {
 1564   for (SUnit *SU : NS)
 1600     for (auto &SU : SUnits) {
 1779           I->insert(*NII);
 1831       for (auto &N : Nodes)
 1839       for (SUnit *SU : Nodes) {
 1952     for (SUnit *I : NodeOrder)
 1978       SUnit *SU = *NI;
 2275   for (auto &M : Mutations)
 2706           *llvm::lower_bound(Indices, std::make_pair(PredSU, 0), CompareKey));
 2722           *llvm::lower_bound(Indices, std::make_pair(SuccSU, 0), CompareKey));
 2863   for (const auto &I : Nodes)
lib/CodeGen/MachineRegisterInfo.cpp
  213   for (auto &I : LiveIns)
lib/CodeGen/MachineSSAUpdater.cpp
  166     MachineBasicBlock *PredBB = *PI;
  286       Preds->push_back(*PI);
lib/CodeGen/MachineScheduler.cpp
  598   for (const SUnit *SU : Queue)
  821   for (auto &m : Mutations)
  828   for (SUnit &SU : SUnits) {
  895     std::pair<MachineInstr *, MachineInstr *> P = *std::prev(DI);
  995   for (SUnit &SU : SUnits)
 1061                   : RegionCriticalPSets) dbgs()
 1167   for (const SUnit &SU : SUnits) {
 1602   for (SUnit &SU : DAG->SUnits) {
 1823   for (SUnit &SU : DAG->SUnits) {
 1892   for (SUnit &SU : DAG->SUnits) {
 2351     SUnit *SU = *(Pending.begin()+i);
 2393       if (checkHazard(*I)) {
 2394         Pending.push(*I);
 2414     return *Available.begin();
 2845   for (const SUnit *SU : Bot.Available) {
 3111   for (SUnit *SU : Q) {
 3401   for (SUnit *SU : Q) {
lib/CodeGen/MachineSink.cpp
  328     for (auto &Pair : ToSplit) {
  526       if (*PI == FromBB)
  528       if (!DT->dominates(ToBB, *PI))
  602   for (const auto &DTChild : Children)
  730   auto *PredMBB = *MBB->pred_begin();
 1120   for (auto *SI : CurBB.successors()) {
 1229   for (MachineBasicBlock *SI : CurBB.successors())
 1303     assert((SuccBB->pred_size() == 1 && *SuccBB->pred_begin() == &CurBB) &&
lib/CodeGen/MachineTraceMetrics.cpp
  335   for (const MachineBasicBlock *Pred : MBB->predecessors()) {
  359   for (const MachineBasicBlock *Succ : MBB->successors()) {
  536       for (const MachineBasicBlock *Pred : MBB->predecessors()) {
  561       for (const MachineBasicBlock *Succ : MBB->successors()) {
lib/CodeGen/MachineVerifier.cpp
  572       markReachable(*SuI);
  609   if (*i == a)
  610     return *++i == b;
  611   if (*i == b)
  612     return *++i == a;
  625     for (const auto &LI : MBB->liveins()) {
  638     if ((*I)->isEHPad())
  639       LandingPadSuccs.insert(*I);
  640     if (!FunctionBlocks.count(*I))
  642     if (!MBBInfoMap[*I].Preds.count(MBB)) {
  645              << printMBBReference(*(*I)) << ".\n";
  652     if (!FunctionBlocks.count(*I))
  654     if (!MBBInfoMap[*I].Succs.count(MBB)) {
  657              << printMBBReference(*(*I)) << ".\n";
  712            *MBB->succ_begin() != *LandingPadSuccs.begin())) {
  740         else if (TBB != *MBB->succ_begin())
  768         else if (TBB != *MBB->succ_begin())
  799     for (const auto &LI : MBB->liveins()) {
 2147       BBInfo &SInfo = MBBInfoMap[*SuI];
 2149         todo.insert(*SuI);
 2161       if (*SuI == MBB)
 2163       BBInfo &SInfo = MBBInfoMap[*SuI];
 2165         todo.insert(*SuI);
 2180       BBInfo &PInfo = MBBInfoMap[*PrI];
 2182         todo.insert(*PrI);
 2194       if (*PrI == MBB)
 2196       BBInfo &SInfo = MBBInfoMap[*PrI];
 2198         todo.insert(*PrI);
 2259       for (MachineBasicBlock *Pred : MBB.predecessors()) {
 2636       SlotIndex PEnd = LiveInts->getMBBEndIdx(*PI);
 2644         if (LiveRangeCalc::isJointlyDominated(*PI, Undefs, *Indexes))
 2646         report("Register not marked live out of predecessor", *PI);
 2657         report("Different value live out of predecessor", *PI);
 2660                << printMBBReference(*(*PI)) << '@' << PEnd << "\nValno #"
 2808       if (Reachable.count(*I) &&
 2809           (SPState[(*I)->getNumber()].ExitValue != BBState.EntryValue ||
 2810            SPState[(*I)->getNumber()].ExitIsSetup != BBState.EntryIsSetup)) {
 2812         errs() << "Predecessor " << printMBBReference(*(*I))
 2813                << " has exit state (" << SPState[(*I)->getNumber()].ExitValue
 2814                << ", " << SPState[(*I)->getNumber()].ExitIsSetup << "), while "
 2824       if (Reachable.count(*I) &&
 2825           (SPState[(*I)->getNumber()].EntryValue != BBState.ExitValue ||
 2826            SPState[(*I)->getNumber()].EntryIsSetup != BBState.ExitIsSetup)) {
 2828         errs() << "Successor " << printMBBReference(*(*I))
 2829                << " has entry state (" << SPState[(*I)->getNumber()].EntryValue
 2830                << ", " << SPState[(*I)->getNumber()].EntryIsSetup << "), while "
lib/CodeGen/MacroFusion.cpp
  102       for (SUnit &SU : DAG.SUnits) {
  135     for (SUnit &ISU : DAG->SUnits)
lib/CodeGen/ModuloSchedule.cpp
   25   for (MachineInstr *MI : ScheduledInstrs)
   68   Preheader = *BB->pred_begin();
   70     Preheader = *std::next(BB->pred_begin());
  263   if (*LoopExitI == KernelBB)
  266   MachineBasicBlock *LoopExitBB = *LoopExitI;
 1284   PreheaderBB = *BB->pred_begin();
 1286     PreheaderBB = *std::next(BB->pred_begin());
 1636     MachineBasicBlock *Pred = *(*EI)->pred_begin();
 1670   MachineBasicBlock *Exit = *BB->succ_begin();
 1672     Exit = *std::next(BB->succ_begin());
 1772     MachineBasicBlock *Fallthrough = *Prolog->succ_begin();
 1957   for (auto *L : MLI) {
lib/CodeGen/PHIElimination.cpp
  491           SlotIndex startIdx = LIS->getMBBStartIdx(*SI);
  662     for (const MachineBasicBlock *SI : MBB->successors())
lib/CodeGen/PostRASchedulerList.cpp
  443   for (auto &M : Mutations)
  695     std::pair<MachineInstr *, MachineInstr *> P = *std::prev(DI);
lib/CodeGen/PrologEpilogInserter.cpp
  337     MachineBasicBlock::iterator I = *i;
  411     for (auto &CS : CSI) {
  498     for (MachineBasicBlock *SuccBB : CurBB->successors())
lib/CodeGen/ReachingDefAnalysis.cpp
   41     for (const auto &LI : MBB->liveins()) {
   55   for (MachineBasicBlock *pred : MBB->predecessors()) {
   90   for (int &OutLiveReg : MBBOutRegsInfos[MBBNumber])
  159     for (MBBRegUnitDefs &RegUnitDefs : MBBDefs)
lib/CodeGen/RegAllocFast.cpp
 1255   for (const MachineBasicBlock::RegisterMaskPair LI : MBB.liveins())
lib/CodeGen/RegAllocGreedy.cpp
  550     for (MachineLoop *L : *Loops) {
 3148   for (MachineLoop *SubLoop : *L) {
lib/CodeGen/RegisterCoalescer.cpp
 1058   for (MachineBasicBlock *Pred : MBB.predecessors()) {
lib/CodeGen/RenameIndependentSubregs.cpp
  324         for (MachineBasicBlock *PredMBB : MBB.predecessors()) {
lib/CodeGen/ScheduleDAG.cpp
  393   for (const SUnit &SUnit : SUnits) {
  480   for (SUnit &SU : SUnits) {
  514   for (SUnit &SU : SUnits)  {
  698   for (unsigned LI : L) {
lib/CodeGen/ScheduleDAGInstrs.cpp
  218     for (const MachineBasicBlock *Succ : BB->successors()) {
  219       for (const auto &LI : Succ->liveins()) {
  650     for (auto &I : *this)
  663   for (auto &I : Val2SUsMap)
  680   for (auto &I : map) {
 1022   for (auto &Itr : *this) {
 1048   for (auto &I : stores)
 1051   for (auto &I : loads)
 1060   SUnit *newBarrierChain = &SUnits[*(NodeNums.end() - N)];
 1166   for (const SUnit &SU : SUnits)
 1339     for (const std::pair<const SUnit*, const SUnit*> &P : ConnectionPairs) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
12498   for (auto *U : Users) {
lib/CodeGen/SelectionDAG/FastISel.cpp
  222   for (auto &P : FuncInfo.PHINodesToUpdate)
 1173   for (auto &Arg : CLI.getArgs()) {
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  187           for (TargetLowering::AsmOperandInfo &Op : Ops) {
lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
  592     int BestCost = SUSchedulingCost(*Best);
  595       if (SUSchedulingCost(*I) > BestCost) {
  596         BestCost = SUSchedulingCost(*I);
  604       if (Picker(*Best, *I))
  604       if (Picker(*Best, *I))
  608   SUnit *V = *Best;
  610     std::swap(*Best, Queue.back());
  622     std::swap(*I, Queue.back());
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  936   unsigned HazardCycle = (*I)->getHeight();
  938     SUnit *SU = *I;
 1813       std::swap(*I, Queue.back());
 1843     if (Picker(*Best, *I))
 1843     if (Picker(*Best, *I))
 1845   SUnit *V = *Best;
 1847     std::swap(*Best, Q.back());
 2012   for (const SUnit &SU : *SUnits)
 2808     for (SUnit &SU : sunits)
 2942   for (SUnit &SU : *SUnits) {
 3054   for (SUnit &SU : *SUnits) {
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  697   for (const SUnit &SU : SUnits)
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 8438   for (auto N : TopoOrder) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1144   for (auto &DDIMI : DanglingDebugInfoMap) {
 1149     for (auto &DDI : DDIV)
 1166   for (auto &DDI : DDIV) {
 1362   for (auto &Pair : DanglingDebugInfoMap)
 1363     for (auto &DDI : Pair.second)
 7744     for (const auto &Code : Codes)
 8058   for (auto &T : TargetConstraints) {
10063     CaseCluster &Small = *W.FirstCluster;
10064     CaseCluster &Big = *W.LastCluster;
10129         std::swap(*I, *W.LastCluster);
10129         std::swap(*I, *W.LastCluster);
10177           if (*SI == DefaultMBB) {
10335         CaseCluster &CC = *FirstRight;
10347         CaseCluster &CC = *LastLeft;
10483   for (CaseCluster &CC : Clusters) {
10537     for (const CaseCluster &C : Clusters) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1774   for (auto &BTB : SDB->SL->BitTestCases) {
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  872   for (const GCRelocateInst *Relocate : ISP.getRelocates()) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4192   for (InlineAsm::ConstraintInfo &CI : IA->ParseConstraints()) {
lib/CodeGen/ShrinkWrap.cpp
  316   for (MachineBasicBlock *BB : BBs) {
lib/CodeGen/SplitKit.cpp
   83   for (const MachineBasicBlock *SMBB : MBB.successors())
 1244   for (MachineBasicBlock *P : B.predecessors()) {
 1460     for (const MachineBasicBlock *Pred : MBB.predecessors()) {
lib/CodeGen/StackColoring.cpp
  646       BlockBitVecMap::const_iterator I = SeenStartMap.find(*PI);
  777         LivenessMap::const_iterator I = BlockLiveness.find(*PI);
lib/CodeGen/StackMaps.cpp
  178   for (const auto &CSI : CSInfos) {
  441   for (auto const &FR : FnInfos) {
  457   for (const auto &ConstEntry : ConstPool) {
  495   for (const auto &CSI : CSInfos) {
lib/CodeGen/SwiftErrorValueTracking.cpp
  183       for (auto *Pred : MBB->predecessors()) {
lib/CodeGen/SwitchLoweringUtils.cpp
   49   for (CaseCluster &C : Clusters)
  237   for (MachineBasicBlock *Succ : Table) {
  269   for (const CaseCluster &C : Clusters)
  444   for (auto &CB : CBV) {
  461   for (const CaseCluster &CC : Clusters)
lib/CodeGen/TailDuplicator.cpp
  637   for (auto SB : TailBB.successors()) {
  675   for (MachineBasicBlock *BB : A.successors())
  683   for (MachineBasicBlock *PredBB : BB.predecessors()) {
  723     MachineBasicBlock *NewTarget = *TailBB->succ_begin();
  865     for (MachineBasicBlock *Succ : TailBB->successors())
  884       *PrevBB->succ_begin() == TailBB &&
lib/CodeGen/TargetFrameLoweringImpl.cpp
   72   for (const CalleeSavedInfo &Info : MFI.getCalleeSavedInfo())
lib/CodeGen/UnreachableBlockElim.cpp
  130         MachineBasicBlock* succ = *BB->succ_begin();
lib/CodeGen/WinEHPrepare.cpp
  726   for (auto &Funclets : FuncletBlocks) {
  737     for (BasicBlock *BB : BlocksInFunclet) {
  769     for (auto &BBMapping : Orig2Clone) {
  799     for (BasicBlock *BB : BlocksInFunclet)
  808     for (auto &BBMapping : Orig2Clone) {
  851     for (auto &BBMapping : Orig2Clone) {
  864     for (auto &BBMapping : Orig2Clone) {
  933   for (auto &Funclet : FuncletBlocks) {
  941     for (BasicBlock *BB : BlocksInFunclet) {
lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
   92   for (auto C : Fragments)
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
  254     for (auto V : Value) {
lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp
   95   for (const auto &FC : Checksums) {
lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp
   86   for (const auto &Item : Ids) {
lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp
   91   for (const auto &E : Entries) {
lib/DebugInfo/CodeView/DebugLinesSubsection.cpp
  113   for (const auto &B : Blocks) {
  139   for (const auto &B : Blocks) {
lib/DebugInfo/CodeView/DebugSymbolsSubsection.cpp
   23   for (const auto &Record : Records) {
lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
  103   for (auto C : Fragments)
lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp
  120   for (auto C : Fragments)
lib/DebugInfo/CodeView/SymbolDumper.cpp
  215   for (auto Entry : EnvBlock.Fields) {
  595   for (auto FuncID : Caller.Indices)
  642   for (StringRef Str : Annot.Strings)
lib/DebugInfo/CodeView/TypeRecordMapping.cpp
  486     for (auto Name : Record.MethodNames)
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  411   for (const auto &Attr : Attributes)
  527   for (const auto &Attr : Abbr.Attributes)
lib/DebugInfo/DWARF/DWARFContext.cpp
  142   for (auto &Contribution : Contributions) {
 1142   for (uint32_t RowIndex : RowVector) {
 1698     for (SectionName &S : SectionNames)
 1750     for (auto &P : InfoDWOSections)
 1755     for (auto &P : TypesDWOSections)
 1804     for (auto &P : InfoSections)
 1809     for (auto &P : TypesSections)
lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
   51   for (const auto &Decl : Decls)
   59     for (const auto &Decl : Decls) {
lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
  154     for (uint64_t Addr : Addrs)
lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
  107   for (const auto &Desc : ArangeDescriptors) {
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
   31     for (const auto &Desc : Set.descriptors()) {
   60         for (const auto &R : *CURanges)
   87   for (const auto &E : Endpoints) {
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  276   for (const auto &Instr : Instructions) {
  538   if (It != Entries.end() && (*It)->getOffset() == Offset)
  552   for (const auto &Entry : Entries)
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  460     for (const Row &R : Rows) {
  958   return findRowInSeq(*It, Address);
  999     const DWARFDebugLine::Sequence &CurSeq = *SeqPos;
lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
   49   for (const Set &S : Sets) {
   57     for (const Entry &E : S.Entries) {
lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
   61   for (const RangeListEntry &RLE : Entries) {
   73   for (const RangeListEntry &RLE : Entries) {
lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
  118   for (const RangeListEntry &RLE : Entries) {
lib/DebugInfo/DWARF/DWARFDie.cpp
   69   for (const DWARFAddressRange &R : Ranges) {
  513   for (const auto &R : RangesOrError.get())
lib/DebugInfo/DWARF/DWARFListTable.cpp
  102     for (const auto &Off : Offsets) {
lib/DebugInfo/DWARF/DWARFUnit.cpp
  606       for (const auto &R : DIERangesOrError.get()) {
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
  181   const auto *E = *I;
lib/DebugInfo/DWARF/DWARFVerifier.cpp
   68   DWARFAddressRange R = *I2;
   74       R = *I2;
   90     if (I1->intersects(*I2))
  244     for (auto AbbrDecl : *AbbrDecls) {
  394     for (auto Range : Ranges) {
  406                 << *IntersectingRange << "\n";
  713     for (const auto &FileName : LineTable->Prologue.FileNames) {
  749     for (const auto &Row : LineTable->Rows) {
 1015   for (const BucketInfo &B : BucketStarts) {
 1150     for (const auto &AttrEnc : Abbrev.Attributes) {
 1455       for (const DWARFDebugInfoEntry &Die : CU->dies())
lib/DebugInfo/GSYM/GsymCreator.cpp
  100   for (const auto &FuncInfo : Funcs) {
  126   for (auto File: Files) {
  138   for (const auto &FuncInfo : Funcs) {
  150   for (auto AddrInfoOffset: AddrInfoOffsets) {
  204           if (*Prev == *Curr) {
  204           if (*Prev == *Curr) {
  208                << *Curr << '\n';
  218                  << *Prev << "\nIn favor of this one:\n"
  219                  << *Curr << "\n";
  226              << *Prev << "\n"
  227              << *Curr << "\n";
  232            << *Prev << "\nKeeping:\n"
  233            << *Curr << "\n";
  262   for (auto &FI : Funcs) {
  271   for (const auto &FI : Funcs) {
lib/DebugInfo/GSYM/InlineInfo.cpp
   25   for (auto Range : II.Ranges) {
   34   for (const auto &Child : II.Children)
   47     for (const auto &Child : II.Children) {
  140     for (const auto &Child : Children) {
  143       for (const auto &ChildRange: Child.Ranges) {
lib/DebugInfo/GSYM/LineTable.cpp
  139     for (const auto &line_entry : Lines) {
  201   for (const auto &Curr : Lines) {
  284   for (const auto &LineEntry : LT)
lib/DebugInfo/GSYM/Range.cpp
   89   for (auto Range : Ranges)
  100   for (auto &Range : Ranges)
lib/DebugInfo/MSF/MSFBuilder.cpp
   87   for (auto B : DirectoryBlocks)
  241   for (const auto &D : StreamData) {
  375   for (const auto &Blocks : Layout.StreamMap) {
lib/DebugInfo/MSF/MappedBlockStream.cpp
  100     for (auto &Entry : CacheIter->second) {
  285     for (const auto &Alloc : MapEntry.second) {
lib/DebugInfo/PDB/IPDBSourceFile.cpp
   29     for (uint8_t c : Checksum)
lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
   91   for (const auto &Builder : C13Builders) {
  158     for (ArrayRef<uint8_t> Syms : Symbols) {
  165     for (const auto &Builder : C13Builders) {
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  139   for (const auto &M : ModiList)
  164   for (const auto &M : ModiList)
  210   for (const auto &MI : ModiList) {
  228   for (const auto &MI : ModiList) {
  258   for (auto &MI : ModiList)
  321   for (auto &MI : ModiList) {
  403   for (auto &M : ModiList) {
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
   89   for (const auto &Sym : Records)
  137   for (const CVSymbol &Sym : Records) {
  180     for (const auto &Entry : Bucket)
  270   for (auto &Sym : PublicsByAddr) {
lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp
   76   for (auto E : Features) {
lib/DebugInfo/PDB/Native/TpiStream.cpp
  169   for (TypeIndex TI : HashMap[Bucket]) {
  194   for (TypeIndex TI : HashMap[BucketIdx]) {
lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
  155   for (auto Rec : TypeRecords) {
  171     for (auto &IndexOffset : TypeIndexOffsets) {
lib/DebugInfo/PDB/PDBSymbolFunc.cpp
   64     const auto &Result = **CurIter;
lib/DebugInfo/PDB/UDTLayout.cpp
  134   for (auto &LI : LayoutItems) {
  205   for (auto &Base : Bases) {
  226   for (auto &Data : Members) {
  235   for (auto &VB : VirtualBaseSyms) {
  270   for (BaseClassLayout *BL : AllBases) {
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
   74   for (auto &P : Symbols)
   97       *J++ = I[-1];
  149     OffsetNamePair &Export = *I;
lib/DebugInfo/Symbolize/Symbolize.cpp
  296   for (const auto &Path : Opts.DsymHints) {
  299   for (const auto &Path : DsymPaths) {
lib/ExecutionEngine/Interpreter/Interpreter.h
   48     for (void *Allocation : Allocations)
lib/ExecutionEngine/JITLink/BasicGOTAndStubsBuilder.h
   30     for (auto *B : Blocks)
   31       for (auto &E : B->edges())
lib/ExecutionEngine/JITLink/JITLink.cpp
  166       for (auto &E : Sym->getBlock().edges()) {
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  131   for (auto &P : Passes)
  174         for (auto *B : *SIEntry.first)
  196     for (auto *B : SegLists.ContentBlocks) {
  205     for (auto *B : SegLists.ZeroFillBlocks) {
  247       for (auto *B : *SIList) {
  322     for (auto &E : Sym->getBlock().edges()) {
  337     for (auto *Sym : SymbolsToRemove) {
  350     for (auto *B : BlocksToRemove) {
lib/ExecutionEngine/JITLink/JITLinkGeneric.h
  168       for (auto *B : SegLayout.ContentBlocks) {
  202         for (auto &E : B->edges()) {
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  665   for (JITEventListener *L : EventListeners)
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
  234   for (auto *GV : GVsToAdd)
  289           for (auto &GV : PromotedGlobals)
lib/ExecutionEngine/Orc/Core.cpp
  214     for (auto &KV : make_range(std::next(JDs.begin()), JDs.end())) {
  763         for (auto &SI : AddedSyms)
  978       for (auto &Q : MI.takeQueriesMeeting(SymbolState::Resolved)) {
 1093             for (auto &Q : DependantMI.takeQueriesMeeting(SymbolState::Ready)) {
 1109         for (auto &Q : MI.takeQueriesMeeting(SymbolState::Ready)) {
 1231       for (auto &Q : MII->second.pendingQueries()) {
 1279       *I = {&NewJD, MatchNonExported};
 1332     for (auto &SymbolMaterializerItrPair : SymbolsToRemove) {
 1357     for (auto &DG : DefGenerators) {
 1409   for (auto &DG : DefGenerators) {
 1510   for (auto &Name : ToRemove)
 1531     for (auto &DG : DefGenerators) {
 1566     for (auto &MU : MUs)
 1635   for (auto &Name : ToRemove)
 1646     for (auto &KV : SearchOrder)
 1678       for (const auto &Q : KV.second.pendingQueries())
 1762   for (auto &S : MUDefsOverridden)
 1766   for (auto &S : ExistingDefsOverridden) {
 1833     for (auto &JD : JDs)
 1959       for (auto &KV : SearchOrder) {
 1985         for (auto &MU : KV.second)
 2018       for (auto &MU : KV.second)
 2113     for (auto &JD : JDs)
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  124     for (auto &Name : KV.second) {
  135       for (auto &Name : KV.second) {
  150   for (auto &P : CXXDestructorDataPairs)
lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
   63   for (const auto &F : FeatureVec)
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  210       for (auto &E : Sym->getBlock().edges()) {
  251         for (auto &E : Sym->getBlock().edges()) {
  272       for (auto &WLEntry : Worklist) {
  339   for (auto &P : Plugins)
  344   for (auto &P : Plugins)
  351   for (auto &P : Plugins)
  368   for (auto &P : Plugins)
  389   for (auto &P : Plugins)
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  245     for (auto &DtorRunner : IRStaticDestructorRunners)
  498     for (auto &Listener : EventListeners)
  505     for (auto &Listener : EventListeners)
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  392     for (object::OwningBinary<object::Archive> &OB : Archives) {
lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
  144   for (auto &Frame : EHFrames)
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  740   for (auto &Sym : SymbolsToAllocate) {
lib/FuzzMutate/FuzzerCLI.cpp
   68   for (std::string &S : Args)
  132   for (std::string &S : Args)
lib/FuzzMutate/IRMutator.cpp
   57   for (const auto &Getter : AllowedTypes)
   62   for (const auto &Strategy : Strategies)
lib/IR/AsmWriter.cpp
  540     StructType *STy = *I;
  549       *NextToUse++ = STy;
 2621   for (const Comdat *C : Comdats) {
 2690   for (auto &ModPair : moduleVec) {
 2705     for (auto &Summary : GlobalList.second.SummaryList)
 2819   for (auto &P : TI) {
 2831   for (auto arg : Args) {
 2991     for (auto &GUID : TIDInfo.TypeTests) {
 3055   for (auto &VFuncId : VCallList) {
 3066   for (auto &ConstVCall : VCallList) {
 4138   for (const auto &I : asVec)
lib/IR/DIBuilder.cpp
  105   for (const auto &I : AllMacrosPerParent) {
lib/IR/DebugInfoMetadata.cpp
 1026                              makeArrayRef(&*Expr->Elements.begin(),
lib/IR/LLVMContextImpl.cpp
   60   for (auto *I : DistinctMDNodes)
   74   for (MDNode *I : DistinctMDNodes)
lib/IR/LegacyPassManager.cpp
  113   for (auto *PassInf : PassesToPrint) {
  460     for (auto &OnTheFlyManager : OnTheFlyManagers) {
  850   for (const PassInfo *ImmPI : PassInf->getInterfacesImplemented())
 1720   for (auto &OnTheFlyManager : OnTheFlyManagers) {
 1781   for (auto &OnTheFlyManager : OnTheFlyManagers) {
 1935   for (PMDataManager *Manager : S)
lib/IR/ModuleSummaryIndex.cpp
   70     for (auto &GlobSummary : GlobalList.second.SummaryList) {
  159     for (auto &S : P.second.SummaryList) {
  205     for (const ValueInfo V : *I) {
  260   for (auto &A : Attrs)
  479   for (auto &E : CrossModuleEdges) {
  487     for (auto DstMod : ModList)
lib/IR/PassRegistry.cpp
   66   for (auto *Listener : Listeners)
lib/IR/ProfileSummary.cpp
   51   for (auto &Entry : DetailedSummary) {
lib/IR/Verifier.cpp
 2093   for (const auto &Pair : SiblingFuncletInfo) {
lib/LTO/LTO.cpp
  125   for (auto &A : Conf.MAttrs)
  260         for (uint64_t Arg : ByArg.first)
  367     for (auto &S : I.second.SummaryList)
  390   for (auto &S : GVSummaryList) {
  781   for (GlobalValue *GV : Mod.Keep) {
  880     for (auto &S : P.second.SummaryList) {
  934   for (auto &M : RegularLTO.ModsWithSummaries)
 1281   for (auto &Mod : ThinLTO.ModuleMap)
 1367   for (auto &Mod : ThinLTO.ModuleMap) {
lib/LTO/LTOBackend.cpp
  132   for (const std::string &A : Conf.MAttrs)
  472   for (GlobalValue *GV : DeadGVs) {
lib/LTO/LTOCodeGenerator.cpp
  638     for (std::string &Arg : CodegenOptions)
lib/LTO/LTOModule.cpp
  645   for (const NameAndAttributes &Sym : _symbols) {
lib/LTO/ThinLTOCodeGenerator.cpp
  145   for (auto &M : Modules) {
  569   for (auto &Mod : Modules) {
  913     for (auto &Mod : Modules) {
  964   for (const auto &M : Modules)
 1016   for (auto &Module : Modules) {
 1041     for (auto IndexCount : ModulesOrdering) {
lib/LineEditor/LineEditor.cpp
  176           OS << *I << "\n";
lib/Linker/IRMover.cpp
  783   for (StructType *ST : Types) {
 1101   for (const auto Elem : RAUWWorklist) {
 1541   for (StructType *Ty : StructTypes) {
lib/Linker/LinkModules.cpp
  409   for (GlobalValue *GV2 : LazyComdatMembers[SC]) {
  535     for (GlobalValue *GV2 : LazyComdatMembers[SC]) {
  546     for (GlobalValue *GV : ValuesToLink)
lib/MC/ConstantPools.cpp
   89   for (auto &CPI : ConstantPools) {
lib/MC/ELFObjectWriter.cpp
  763   for (ELFSymbolData &MSD : LocalSymbolData) {
  774   for (ELFSymbolData &MSD : ExternalSymbolData) {
  801   for (const MCSymbol *Sym : OWriter.AddrsigSyms)
 1071   for (const MCSectionELF *Section : SectionTable) {
 1165   for (MCSectionELF *Group : Groups) {
 1174     for (const MCSectionELF *Member : GroupMembers[SignatureSymbol]) {
 1199     for (MCSectionELF *RelSection : Relocations) {
 1222     for (const MCAssembler::CGProfileEntry &CGPE : Asm.CGProfile) {
 1280   for (const std::pair<StringRef, const MCSymbol *> &P : Asm.Symvers) {
 1325   for (const MCSymbol *&Sym : AddrsigSyms) {
lib/MC/MCAsmMacro.cpp
   24     for (const AsmToken &T : Value) {
   37   for (const MCAsmMacroParameter &P : Parameters) {
lib/MC/MCDwarf.cpp
  161   for (const MCDwarfLineEntry &LineEntry : LineEntries) {
  529   for (const auto &LineSec : MCLineSections.getMCLineEntries())
  903   for (MCSection *Sec : Sections) {
  996     MCSymbol *StartSymbol = (*TextSection)->getBeginSymbol();
  997     MCSymbol *EndSymbol = (*TextSection)->getEndSymbol(context);
 1060   for (const auto &Entry : Entries) {
 1108   for (MCSection *Sec : Sections) {
 1873     const MCDwarfFrameInfo &Frame = *I;
lib/MC/MCELFStreamer.cpp
  491   for (MCAssembler::CGProfileEntry &E : getAssembler().CGProfile) {
lib/MC/MCParser/AsmParser.cpp
 2450         for (const AsmToken &Token : A[Index])
 2487           for (const AsmToken &Token : A[Index])
 4387     for (const MCAsmMacroParameter& CurrParam : Parameters)
 5616   for (const MCAsmMacroArgument &Arg : A) {
lib/MC/MCStreamer.cpp
  124   for (auto &FI : DwarfFrameInfos)
  433     for (const MCCFIInstruction& Inst : MAI->getInitialFrameState()) {
lib/MC/MCSubtargetInfo.cpp
  184   for (const std::string &Feature : Features.getFeatures()) {
  281   for (std::string F : T.getFeatures()) {
lib/MC/MCWin64EH.cpp
   26   for (const auto &I : Insns) {
  270   for (const auto &I : Insns) {
  467   for (auto *EpilogStart : Epilogs) {
  551   for (auto &I : info->EpilogMap) {
  604   for (auto &I : EpilogInfo) {
  625   for (auto &I : info->EpilogMap) {
lib/MC/MachObjectWriter.cpp
  319     for (MachSymbolData &Entry : *SymbolData)
  425   for (const std::string &Option : Options)
  441   for (const std::string &Option : Options) {
  623     for (MachSymbolData &Entry : *SymbolData)
  627     for (RelAndSymbol &Rel : Relocations[&Section]) {
  807   for (const auto &Option : Asm.getLinkerOptions()) {
  949   for (const auto &Option : Asm.getLinkerOptions())
  978     const DataRegionData *Data = &(*it);
 1037       for (MachSymbolData &Entry : *SymbolData)
lib/MC/StringTableBuilder.cpp
  144     for (StringPair *P : Strings) {
lib/MC/SubtargetFeature.cpp
   57   for (auto &F : Features)
lib/MC/WasmObjectWriter.cpp
  907   for (const WasmRelocationEntry &RelEntry : Relocs) {
  923   for (const auto &Sec : CustomSections) {
 1002       for (const WasmComdatEntry &Entry : C.second) {
 1493     for (const WasmRelocationEntry &RelEntry : CodeRelocations)
 1495     for (const WasmRelocationEntry &RelEntry : DataRelocations)
 1580   for (auto &CustomSection : CustomSections)
lib/MC/WinCOFFObjectWriter.cpp
  558   for (auto &Section : Sections)
  564   for (auto &Section : Arr) {
  654   for (const auto &Relocation : Sec.Relocations)
  883   for (const std::unique_ptr<COFFSection> &Section : Sections)
  886   for (const std::unique_ptr<COFFSection> &Section : Sections)
  931       for (auto &Relocation : Sec->Relocations) {
  967   for (auto &Symbol : Symbols) {
  978   for (const auto &S : Sections)
  981   for (const auto &S : Symbols)
  987   for (const auto &S : Sections)
  989   for (auto &S : Symbols)
  993   for (auto &Symbol : Symbols) {
 1004   for (auto &Section : Sections) {
 1039     for (const MCSymbol *S : AddrsigSyms) {
 1074     writeSection(Asm, Layout, **I, *J);
 1080   for (auto &Symbol : Symbols)
lib/MCA/HardwareUnits/Scheduler.cpp
  124     InstRef &IR = *I;
  160     InstRef &IR = *I;
  221     InstRef &IR = *I;
  251   for (const InstRef &IR : make_range(PendingSet.begin(), EndIt)) {
  273   for (InstRef &IR : IssuedSet)
  277   for (InstRef &IR : PendingSet)
  280   for (InstRef &IR : WaitSet)
lib/Object/ArchiveWriter.cpp
  332     for (unsigned StringOffset : M.Symbols) {
  575     for (const auto &M : Data) {
  621   for (const MemberData &M : Data)
lib/Object/COFFObjectFile.cpp
 1800     const coff_relocation &R = **RelocsForOffset.first;
lib/Object/ELFObjectFile.cpp
  436   for (const auto &Entry : PltEntries)
lib/Object/IRObjectFile.cpp
   31   for (auto &M : this->Mods)
  121   for (auto BM : *BMsOrErr) {
lib/Object/ModuleSymbolTable.cpp
  166       for (auto &Alias : KV.second)
lib/Object/RecordStreamer.cpp
  210     for (auto AliasName : Symver.second) {
lib/Object/SymbolSize.cpp
   91   for (SymEntry &P : Addresses) {
lib/Object/TapiFile.cpp
   96   DRI.p = reinterpret_cast<uintptr_t>(&*Symbols.begin());
  102   DRI.p = reinterpret_cast<uintptr_t>(&*Symbols.end());
lib/Object/WasmObjectFile.cpp
  476   for (auto &I : Imports) {
lib/Object/WindowsResource.cpp
  941   for (auto DataNodes : DataEntriesTreeOrder) {
lib/ObjectYAML/COFFEmitter.cpp
   71       COFFYAML::Section &Sec = *i;
  110       COFFYAML::Symbol &Sym = *i;
  189   for (auto &SS : CVSS) {
  199   for (const auto &B : Builders) {
  219   for (COFFYAML::Section &S : CP.Obj.Sections) {
  232   for (COFFYAML::Section &S : CP.Obj.Sections) {
  360   for (const COFFYAML::Section &S : CP.Obj.Sections) {
  501   for (const COFFYAML::Section &S : CP.Obj.Sections) {
  509     for (const COFFYAML::Relocation &R : S.Relocations) {
lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
  406   for (const auto &CS : Checksums) {
  421   for (const auto &LC : Lines.Blocks) {
  433       for (const auto &L : LC.Lines) {
  450   for (const auto &Site : InlineeLines.Sites) {
  456     for (auto EF : Site.ExtraFiles) {
  468   for (const auto &M : Exports)
  481   for (const auto &M : Imports) {
  482     for (const auto Id : M.ImportIds)
  492   for (const auto &Sym : Symbols)
  503   for (const auto &Str : this->Strings)
  514   for (const auto &YF : Frames) {
  535   for (const auto &RVA : RVAs)
lib/ObjectYAML/CodeViewYAMLTypeHashing.cpp
   78   for (const auto &H : DebugH.Hashes) {
lib/ObjectYAML/CodeViewYAMLTypes.cpp
  495   for (const auto &Member : Members) {
lib/ObjectYAML/DWARFEmitter.cpp
   72   for (auto Str : DI.DebugStrings) {
   79   for (auto AbbrevDecl : DI.AbbrevDecls) {
   83     for (auto Attr : AbbrevDecl.Attributes) {
   95   for (auto Range : DI.ARanges) {
  107     for (auto Descriptor : Range.Descriptors) {
  124   for (auto Entry : Sect.Entries) {
  213   for (const auto &LineTable : DI.DebugLines) {
  227     for (auto OpcodeLength : LineTable.StandardOpcodeLengths)
  230     for (auto IncludeDir : LineTable.IncludeDirs) {
  236     for (auto File : LineTable.Files)
  240     for (auto Op : LineTable.Opcodes) {
  257           for (auto OpByte : Op.UnknownOpcodeData)
  286           for (auto OpData : Op.StandardOpcodeData) {
lib/ObjectYAML/DWARFVisitor.cpp
   47   for (auto &Unit : DebugInfo.CompileUnits) {
   51     for (auto &Entry : Unit.Entries) {
   61         onForm(*AbbrForm, *FormVal);
   61         onForm(*AbbrForm, *FormVal);
lib/ObjectYAML/ELFEmitter.cpp
  208   for (std::unique_ptr<ELFYAML::Section> &D : Doc.Sections) {
  236   for (StringRef SecName : ImplicitSections) {
  290   for (const auto &YamlPhdr : Doc.ProgramHeaders) {
  649   for (auto &YamlPhdr : Doc.ProgramHeaders) {
  653     for (const ELFYAML::SectionName &SecName : YamlPhdr.Sections) {
  672       for (Elf_Shdr *SHeader : Sections)
  680     for (Elf_Shdr *SHeader : Sections) {
  701       for (Elf_Shdr *SHeader : Sections)
  752   for (const auto &Rel : Section.Relocations) {
  780   for (uint32_t E : Shndx.Entries)
  802   for (const ELFYAML::SectionOrType &Member : Section.Members) {
  818   for (uint16_t Version : Section.Entries)
  838   for (const ELFYAML::StackSizeEntry &E : *Section.Entries) {
  864   for (uint32_t Val : *Section.Bucket)
  866   for (uint32_t Val : *Section.Chain)
 1013   for (const ELFYAML::DynamicEntry &DE : Section.Entries) {
 1037   for (const ELFYAML::AddrsigSymbol &Sym : *Section.Symbols) {
 1058   for (const ELFYAML::NoteEntry &NE : *Section.Notes) {
 1126     for (const ELFYAML::Symbol &Sym : *Doc.Symbols)
 1131   for (const ELFYAML::Symbol &Sym : Doc.DynamicSymbols)
 1136   for (const std::unique_ptr<ELFYAML::Section> &Sec : Doc.Sections) {
 1138       for (const ELFYAML::VerneedEntry &VE : VerNeed->VerneedV) {
 1140         for (const ELFYAML::VernauxEntry &Aux : VE.AuxV)
 1144       for (const ELFYAML::VerdefEntry &E : VerDef->Entries)
 1145         for (StringRef Name : E.VerNames)
lib/ObjectYAML/ELFYAML.cpp
  875     for (std::pair<StringRef, uint8_t> &P :
  914     for (StOtherPiece &Val : *Other)
 1278     for (const ELFYAML::AddrsigSymbol &AS : *Sec->Symbols)
lib/ObjectYAML/MachOEmitter.cpp
  118   for (const auto &Sec : LC.Sections) {
  133   for (const auto &Sec : LC.Sections) {
  179   for (const auto &T : LC.Tools) {
  209   for (auto &LC : Obj.LoadCommands) {
  259   for (auto &LC : Obj.LoadCommands) {
  270       for (auto &Sec : LC.Sections) {
  327   for (auto Opcode : BindOpcodes) {
  330     for (auto Data : Opcode.ULEBExtraData) {
  333     for (auto Data : Opcode.SLEBExtraData) {
  359   for (auto EE : Entry.Children) {
  364   for (auto EE : Entry.Children)
  394   for (auto &LC : Obj.LoadCommands) {
  423   for (auto writeOp : WriteQueue) {
  432   for (auto Opcode : LinkEdit.RebaseOpcodes) {
  435     for (auto Data : Opcode.ExtraData)
  453   for (auto NLE : Obj.LinkEdit.NameList) {
  462   for (auto Str : Obj.LinkEdit.StringTable) {
  554   for (auto Arch : FatFile.FatArchs) {
lib/ObjectYAML/MinidumpEmitter.cpp
  109   for (const auto &Callback : Callbacks)
  159   for (auto &E : S.Entries)
  166   for (auto &E : S.Entries)
lib/ObjectYAML/WasmEmitter.cpp
  164   for (StringRef Needed : Section.Needed)
  183     for (const WasmYAML::SymbolInfo &Info : Section.SymbolTable) {
  219     for (const WasmYAML::SegmentInfo &SegmentInfo : Section.SegmentInfos) {
  231     for (const WasmYAML::InitFunction &Func : Section.InitFunctions) {
  242     for (const auto &C : Section.Comdats) {
  246       for (const WasmYAML::ComdatEntry &Entry : C.Entries) {
  264     for (const WasmYAML::NameEntry &NameEntry : Section.FunctionNames) {
  288     for (auto &Entry : *Field.second) {
  299   for (auto &E : Section.Features) {
  327   for (const WasmYAML::Signature &Sig : Section.Signatures) {
  335     for (auto ParamType : Sig.ParamTypes)
  338     for (auto ReturnType : Sig.ReturnTypes)
  346   for (const WasmYAML::Import &Import : Section.Imports) {
  382   for (uint32_t FuncType : Section.FunctionTypes)
  389   for (const WasmYAML::Export &Export : Section.Exports) {
  404   for (auto &Table : Section.Tables) {
  413   for (const WasmYAML::Limits &Mem : Section.Memories)
  421   for (auto &Global : Section.Globals) {
  437   for (auto &Event : Section.Events) {
  451   for (auto &Segment : Section.Segments) {
  456     for (auto &Function : Segment.Functions)
  465   for (auto &Func : Section.Functions) {
  475     for (auto &LocalDecl : Func.Locals) {
  492   for (auto &Segment : Section.Segments) {
  529   for (auto Reloc : Sec.Relocations) {
  551   for (const std::unique_ptr<WasmYAML::Section> &Sec : Obj.Sections) {
  605   for (const std::unique_ptr<WasmYAML::Section> &Sec : Obj.Sections) {
lib/ProfileData/Coverage/CoverageMapping.cpp
  332     for (auto &Reader : CoverageReadersOrErr.get())
  625   for (const auto &CR : Function.CountedRegions)
  660     for (const auto &CR : Function.CountedRegions)
  707   for (const auto &CR : Function.CountedRegions)
  726   for (const auto &CR : Expansion.Function.CountedRegions)
  787     Segments.push_back(&*Next++);
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  303     for (auto &R : MappingRegions) {
  309     for (auto &R : MappingRegions) {
  785       for (auto &Reader : ChildReadersOrErr.get())
  795       for (auto &Buffer : Ar->takeThinBuffers())
lib/ProfileData/GCOV.cpp
  921   for (const auto &FC : FuncCoverages) {
lib/ProfileData/InstrProf.cpp
  685   for (auto &Count : this->Counts) {
lib/ProfileData/InstrProfWriter.cpp
  153       for (uint64_t I : ProfRecord.Counts)
  406   for (uint64_t Count : Func.Counts)
lib/ProfileData/ProfileSummaryBuilder.cpp
   72   for (const uint32_t Cutoff : DetailedSummaryCutoffs) {
lib/ProfileData/SampleProf.cpp
  223   for (auto &Sym : SortedList) {
  238   for (auto &Sym : SortedList)
lib/ProfileData/SampleProfReader.cpp
  608   for (auto &Entry : SecHdrTable) {
  663   for (auto Offset : OffsetsToUse) {
  776   for (auto &Entry : SecHdrTable) {
  790   for (auto &Entry : SecHdrTable) {
  798   for (auto &Entry : SecHdrTable) {
lib/ProfileData/SampleProfWriter.cpp
   58   for (const auto &I : V) {
  162   for (auto entry : FuncOffsetTable) {
  306   for (const auto &I : NameTable)
  344   for (auto entry : FuncOffsetTable) {
  489   for (auto Entry : Entries) {
lib/Remarks/RemarkStringTable.cpp
   58   for (StringRef Str : serialize()) {
lib/Support/CommandLine.cpp
 2155     for (auto I : GlobalParser->MoreHelp)
 2200       CategorizedOptions[*I] = std::vector<Option *>();
 2220       const auto &CategoryOptions = CategorizedOptions[*Category];
 2227       outs() << (*Category)->getName() << ":\n";
 2230       if (!(*Category)->getDescription().empty())
 2231         outs() << (*Category)->getDescription() << "\n\n";
 2242       for (const Option *Opt : CategoryOptions)
 2413       for (auto I : *ExtraVersionPrinters)
lib/Support/DAGDeltaAlgorithm.cpp
  131           assert(S.count(*it2) && "Attempt to run invalid changeset!");
  209       SuccClosure[*it].insert(Change);
  210       SuccClosure[*it].insert(ChangeSuccs.begin(), ChangeSuccs.end());
  211       Worklist.push_back(*it);
  241           llvm::errs() << "->" << *it2;
  254       llvm::errs() << *it;
lib/Support/Debug.cpp
   55   for (auto &d : *CurrentDebugType) {
lib/Support/DebugCounter.cpp
   35     for (auto Name : CounterInstance) {
lib/Support/DeltaAlgorithm.cpp
   62     Split(*it, SplitSets);
   76     if (GetTestResult(*it)) {
   78       Split(*it, Sets);
   79       Res = Delta(*it, Sets);
lib/Support/DynamicLibrary.cpp
   78       for (void *Handle : Handles) {
lib/Support/FileCheck.cpp
  645     for (const auto &Substitution : Substitutions) {
  725     for (const auto &Substitution : Substitutions) {
 1143   for (const auto &PatternString : Req.ImplicitCheckNot) {
 1265         *Req.CheckPrefixes.begin(), SMLoc::getFromPointer(Buffer.data()));
 1275       errs() << "\'" << *I << ":'";
 1279       errs() << ", \'" << *I << ":'";
 1572   for (const FileCheckPattern *Pat : NotStrings) {
 1618     const FileCheckPattern &Pat = *PatItr;
 1734   for (StringRef Prefix : Req.CheckPrefixes) {
 1758   for (StringRef Prefix : Req.CheckPrefixes) {
 1783   for (StringRef CmdlineDef : CmdlineDefines) {
lib/Support/FileCollector.cpp
  126   for (auto &entry : VFSWriter.getMappings()) {
lib/Support/JSON.cpp
  617       for (const Value &E : *V.getAsArray())
  622       for (const Object::value_type *E : sortedElements(*V.getAsObject()))
lib/Support/SpecialCaseList.cpp
   66   for (auto& RegExKV : RegExes)
  100   for (const auto &Path : Paths) {
  210   for (auto &SectionIter : Sections)
lib/Support/Statistic.cpp
  155   for (auto *Stat : Stats) {
  209   for (const TrackingStatistic *Stat : Stats.Stats) {
  258   for (const auto &Stat : StatInfo->statistics())
lib/Support/ThreadPool.cpp
  105   for (auto &Worker : Threads)
lib/Support/TimeProfiler.cpp
  143     for (const auto &E : SortedTotals) {
lib/Support/Timer.cpp
  306   for (const PrintRecord &Record : TimersToPrint)
  414   for (const PrintRecord &R : TimersToPrint) {
lib/Support/TrigramIndex.cpp
   39   for (unsigned Char : Regex) {
lib/Support/VirtualFileSystem.cpp
 1111   for (const auto &Root : Roots)
 1128     for (std::unique_ptr<Entry> &SubEntry :
 1218       for (const auto &Root : FS->Roots) {
 1227       for (std::unique_ptr<RedirectingFileSystem::Entry> &Content :
 1268       for (std::unique_ptr<RedirectingFileSystem::Entry> &SubEntry :
 1574     for (auto &E : RootEntries)
 1646   for (const auto &Root : Roots) {
 1691   for (const std::unique_ptr<RedirectingFileSystem::Entry> &DirEntry :
 1832     for (std::unique_ptr<RedirectingFileSystem::Entry> &SubEntry :
 2075     llvm::sys::path::append(PathStr, (*Current)->getName());
 2077     switch ((*Current)->getKind()) {
lib/Support/YAMLTraits.cpp
  307     for (auto &N : SQ->Entries) {
lib/TableGen/TGParser.cpp
  295   for (auto &E : Entry.Loop->Entries) {
  412   for (auto &E : Source) {
  873   for (const auto &L : Loops) {
 2633   for (SmallVectorImpl<LetRecord> &LetInfo : LetStack)
 2644   for (auto &E : Entry.Loop->Entries) {
 3137       for (auto &E : NewEntries) {
 3149   for (auto &E : NewEntries) {
 3229   for (const auto &E : Entries)
 3240   for (const auto &E : Entries)
lib/Target/AArch64/AArch64A53Fix835769.cpp
  143   for (MachineBasicBlock *S : MBB->predecessors())
  232   for (auto &MI : Sequences) {
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  357   for (auto &I : AllChains)
  360   for (auto &I : AllChains)
  361     for (auto &J : AllChains)
  397   for (auto &I : V)
  419     if ((*I)->size() <= MinSize) {
  421       Chain *Ch = *--I;
  426     if ((*I)->getPreferredColor() == PreferredColor) {
  427       Chain *Ch = *I;
  569     for (auto J : ToErase)
lib/Target/AArch64/AArch64AsmPrinter.cpp
  717     for (auto *JTBB : JTBBs)
lib/Target/AArch64/AArch64BranchTargets.cpp
   73     for (auto &JTE : JTI->getJumpTables())
   74       for (auto *MBB : JTE.MBBs)
lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
   88     for (MachineDomTreeNode *N : *Node) {
lib/Target/AArch64/AArch64CollectLOH.cpp
  515     for (const MachineBasicBlock *Succ : MBB.successors()) {
  516       for (const auto &LI : Succ->liveins()) {
lib/Target/AArch64/AArch64CompressJumpTables.cpp
  100   for (auto Block : JT.MBBs) {
lib/Target/AArch64/AArch64ConditionOptimizer.cpp
  155   for (auto SuccBB : MBB->successors())
lib/Target/AArch64/AArch64ConditionalCompares.cpp
  595     assert(*Head->succ_begin() == Tail && "Head successor is not Tail");
  606       BranchProbability CmpBB2I = MBPI->getEdgeProbability(CmpBB, *I);
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
  139   for (Loop *L : LI)
  832   for (MachineLoop *I : LI)
lib/Target/AArch64/AArch64FrameLowering.cpp
  337   for (const auto &Info : MF.getFrameInfo().getCalleeSavedInfo())
  358   for (const auto &Info : CSI) {
lib/Target/AArch64/AArch64InstrInfo.cpp
 1274   for (auto *BB : MBB->successors())
 5105         for (outliner::Candidate &C : RepeatedSequenceLocs)
 5193     for (outliner::Candidate &C : RepeatedSequenceLocs) {
lib/Target/AArch64/AArch64MachineFunctionInfo.h
  198       for (const auto &Info : MFI.getCalleeSavedInfo()) {
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
  155   MachineBasicBlock *PredMBB = *MBB->pred_begin();
  286   MachineBasicBlock *PredMBB = *MBB->pred_begin();
lib/Target/AArch64/AArch64SIMDInstrOpt.cpp
  295     for (auto &I : IRT) {
  297       for (auto &Repl : I.ReplOpc)
  515   for (auto &I : IRT) {
  524       for (auto &Repl : I.ReplOpc) {
lib/Target/AArch64/AArch64SpeculationHardening.cpp
  682   for (const LandingPadInfo &LPI : MF.getLandingPads())
lib/Target/AArch64/AArch64StackTagging.cpp
  439   for (auto &I : Allocas) {
  569   for (auto &I : Allocas) {
  613   for (auto &I : Allocas) {
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
  104     for (GlobalAlias* A : AliasesToRemove) {
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  220     for (auto I : *Node) {
  346   for (CallGraphNode *I : SCC) {
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
  106   for (auto &BB : Checklist) {
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
  527     for (auto CI : Children) {
  543     return (*(Children.begin()))->getBBSelectRegOut();
  561     for (auto MRTI : Children) {
  587     for (auto CI : Children) {
  607     for (auto &CI : Children) {
  772     for (auto &II : *(*SI)) {
  781                        << " -> " << printMBBReference(*(*SI))
  827   for (auto CI : *Children) {
 1261     MachineBasicBlock *Current = *SI;
 1266                *(Current->succ_begin()) == Succ) {
 1282     auto *Succ = *(MBB->succ_begin());
 1303     MachineBasicBlock *Succ = *SI;
 1332   for (auto CI : *Children) {
 1344   for (auto CI : *Children) {
 1785     if ((*PI) != MBB) {
 1786       (MBB)->removeSuccessor(*PI);
 1800     MachineBasicBlock *StartMBBSucc = *(StartMBB->succ_begin());
 1806       if ((*PI) != StartMBB &&
 1807           !((*PI) == StartMBBSucc && StartMBB != EndMBB && SuccSize == 1)) {
 1809             std::pair<MachineBasicBlock *, MachineBasicBlock *>(EndMBB, *PI));
 1817     if ((*PI) != EndMBB) {
 1819           std::pair<MachineBasicBlock *, MachineBasicBlock *>(*PI, StartMBB));
 1842       if ((*PI) != CodeBBEnd) {
 1843         MachineBasicBlock *Pred = (*PI);
 1869       CodeBBStart->pred_size() == 1 ? *(CodeBBStart->pred_begin()) : nullptr;
 2145                     << (*(Entry->pred_begin()))->getNumber() << "\n");
 2585     if (Region->contains(*PI)) {
 2586       (*PI)->removeSuccessor(Exit);
 2594     if (MBBs.count(*SI) != 0) {
 2659     MRT *Child = (*CI);
 2789   for (auto CI : *Children) {
 2845           initializeSelectRegisters((*CI), InnerSelectOut, MRI, TII);
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  375   for (CallGraphNode *I : SCC) {
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  420   for (Value *V : WorkList) {
  829   for (Value *V : WorkList) {
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  728     for (SUnit &SU : DAG->SUnits) {
  859     for (SUnit &SU : DAG->SUnits) {
  875         if (Visited.count(&*LastSALU))
  878         if (!isSALU(&*LastSALU) || !canAddEdge(&*LastSALU, &SU))
  878         if (!isSALU(&*LastSALU) || !canAddEdge(&*LastSALU, &SU))
  881         Lat -= linkSALUChain(&SU, &*LastSALU, Lat, Visited);
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  198       (*iter)->print(dbgs(), 0);
  394     SrcMBB = *SrcMBB->succ_begin();
  570   return (*It == TrueBranch) ? *Next : *It;
  570   return (*It == TrueBranch) ? *Next : *It;
  570   return (*It == TrueBranch) ? *Next : *It;
  657     DstMBB->addSuccessor(*It);  // *iter's predecessor is also taken care of
  720     MachineLoop *LoopRep = (*It);
  885       MBB = *blockIter;
  926   MachineBasicBlock *childBlk = *MBB->succ_begin();
  960     && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) {
  960     && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) {
  962     LandBlk = *TrueMBB->succ_begin();
  963   } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) {
  968              && *FalseMBB->succ_begin() == TrueMBB) {
  977     LandBlk = *FalseMBB->succ_begin();
  980     LandBlk = *TrueMBB->succ_begin();
 1015   for (auto &It: *MLI)
 1055   for (auto *LB : inverse_children<MachineBasicBlock*>(LoopHeader))
 1130       Num += serialPatternMatch(*HeadMBB->succ_begin());
 1131       Num += serialPatternMatch(*std::next(HeadMBB->succ_begin()));
 1138     DownBlk = (DownBlk->succ_size() == 1) ? (*DownBlk->succ_begin()) : nullptr;
 1348       MachineBasicBlock *MBB = *PI;
 1519     SrcMBB = *SrcMBB->succ_begin();
 1612   MachineBasicBlock *MBB1 = *MBB->succ_begin();
 1613   MachineBasicBlock *MBB2 = *std::next(MBB->succ_begin());
 1646     MBB->removeSuccessor(*MBB->succ_begin());
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
 1232     auto *Sym = Ctx.getOrCreateSymbol(std::get<1>(*Result));
lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  386   for (MachineBasicBlock *Pred : MBB->predecessors()) {
lib/Target/AMDGPU/GCNILPSched.cpp
  300   for (const SUnit &SU : SUnits)
  304   for (const SUnit &SU : SUnits)
  351   for (auto &SU : SUnits)
lib/Target/AMDGPU/GCNIterativeScheduler.cpp
  111   for (const auto R : Regions) {
  294     RPTracker.recede(*getMachineInstr(*--I));
  347     const auto &D = std::find_if(DbgB, DbgE, [SU](decltype(*DbgB) &P) {
  381   for (const auto &I : Schedule) {
  408   if (!std::is_same<decltype(*Schedule.begin()), MachineInstr*>::value) {
  458   for (auto R : Regions) {
  514     for (auto R : Regions) {
  549   for (auto R : Regions) {
  593   for (auto R : Regions) {
lib/Target/AMDGPU/GCNRegPressure.h
  207   for (MachineInstr *I : R) {
  213   auto &MRI = (*R.begin())->getParent()->getParent()->getRegInfo();
lib/Target/AMDGPU/GCNSchedStrategy.cpp
  150   for (SUnit *SU : Q) {
  398   for (MachineInstr *MI : Unsched) {
  447   if (MBB->succ_size() == 1 && !(*MBB->succ_begin())->empty()) {
  449     if (Ind->getMBBStartIdx(MBB) < Ind->getMBBStartIdx(*MBB->succ_begin()))
  450       OnlySucc = *MBB->succ_begin();
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
   89     if (*I == Item)
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
  300     for (MachineInstr *MI : PreviousRegSeqByReg[MOp->getReg()]) {
lib/Target/AMDGPU/SIFrameLowering.cpp
 1086   for (auto &CS : CSI) {
lib/Target/AMDGPU/SIISelLowering.cpp
11021       for (auto &TC : TargetConstraints) {
lib/Target/AMDGPU/SIInsertSkips.cpp
  325   if (!shouldSkip(**SrcMBB.succ_begin(), *DestBB))
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
 1492     for (BlockInfo &BI : BlockInfos) {
 1496       unsigned Idx = std::distance(&*BlockInfos.begin(), &BI);
 1515         for (MachineBasicBlock *Succ : BI.MBB->successors()) {
lib/Target/AMDGPU/SIInstrInfo.cpp
 4456     for (auto &Succ : RemainderBB->successors()) {
 6109       if (*PI == LoopEnd) {
 6112         MachineBasicBlock *PMBB = *PI;
 6118       HeaderPHIBuilder.addMBB(*PI);
lib/Target/AMDGPU/SILowerI1Copies.cpp
  188         for (MachineBasicBlock *Succ : MBB->successors())
  199       for (MachineBasicBlock *Succ : MBB->successors())
  205       for (MachineBasicBlock *Pred : MBB->predecessors()) {
  336       for (MachineBasicBlock *Pred : Dom->predecessors()) {
  388       for (MachineBasicBlock *Succ : MBB->successors()) {
lib/Target/AMDGPU/SIMachineScheduler.cpp
  265   for (SUnit* SU : TopReadySUs) {
  293   for (SUnit* SU : SUnits) {
  337   for (SUnit* SU : ScheduledSUnits) {
  411   for (SUnit* SU : SUnits) {
  431   for (SUnit* SU : SUnits) {
  441   for (SUnit* SU : SUnits) {
  528   for (SUnit* SU : SUnits) {
  541   for (SIScheduleBlock* P : Preds) {
  560   for (std::pair<SIScheduleBlock*, SIScheduleBlockLinkKind> &S : Succs) {
  586   for (SIScheduleBlock* P : Preds) {
  591   for (std::pair<SIScheduleBlock*, SIScheduleBlockLinkKind> S : Succs) {
  613     for (const SUnit* SU : SUnits)
  616     for (const SUnit* SU : SUnits)
  703   for (unsigned SUNum : DAG->TopDownIndex2SU) {
  742           for (unsigned k : SubGraph) {
  778         for (unsigned j : AdditionalElements)
  816   for (unsigned SUNum : DAG->TopDownIndex2SU) {
  858   for (unsigned SUNum : DAG->BottomUpIndex2SU) {
  935   if (*std::max_element(CurrentBottomUpReservedDependencyColoring.begin(),
  937       *std::max_element(CurrentTopDownReservedDependencyColoring.begin(),
  941   for (unsigned SUNum : DAG->BottomUpIndex2SU) {
 1011   for (unsigned SUNum : DAG->BottomUpIndex2SU) {
 1037   for (unsigned SUNum : DAG->BottomUpIndex2SU) {
 1058   for (unsigned SUNum : DAG->BottomUpIndex2SU) {
 1080   for (unsigned SUNum : DAG->BottomUpIndex2SU) {
 1086   for (unsigned SUNum : DAG->BottomUpIndex2SU) {
 1119   for (unsigned SUNum : DAG->BottomUpIndex2SU) {
 1151   for (unsigned SUNum : DAG->TopDownIndex2SU) {
 1176         for (unsigned k : SubGraph) {
 1312     for (SIScheduleBlock* Pred : Block->getPreds()) {
 1322     for (SIScheduleBlock* Pred : Block->getPreds()) {
 1361     for (SUnit* SU : SUs) {
 1391     Block->schedule((*SUs.begin())->getInstr(), (*SUs.rbegin())->getInstr());
 1424       for (SIScheduleBlock *Pred : Block->getPreds()) {
 1471       for (SIScheduleBlock* Pred: Block->getPreds()) {
 1535       for (SIScheduleBlock* Pred: Block->getPreds()) {
 1563                                             : BlocksScheduled) {
 1630                   : ReadyBlocks) dbgs()
 1644     TryCand.Block = *I;
 1792     for (SUnit* SU : SUs)
 2033     SUnit *SU = &SUnits[*I];
lib/Target/AMDGPU/SIModeRegister.cpp
  337     MachineBasicBlock &PB = *(*P);
  341       MachineBasicBlock *Pred = *P;
  353       MachineBasicBlock &B = *(*S);
lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
  259   for (MachineBasicBlock *Succ : MBB.successors()) {
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  158     MachineBasicBlock *Succ = *MBB->succ_begin();
  373         for (auto *Pred : CurBB->predecessors()) {
lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
  149   for (unsigned Reg : RegsToRewrite) {
lib/Target/AMDGPU/SIWholeQuadMode.cpp
  488   for (MachineBasicBlock *Pred : MBB.predecessors()) {
  499   for (MachineBasicBlock *Succ : MBB.successors()) {
lib/Target/ARC/ARCBranchFinalize.cpp
  169   for (auto P : BranchToPCList) {
lib/Target/ARC/ARCFrameLowering.cpp
   80   for (auto Reg : CSI) {
  223   for (const auto &Entry : CSI) {
  385   for (auto &I : CSI) {
lib/Target/ARM/ARMAsmPrinter.cpp
  531       for (auto &Stub : Stubs)
  544       for (auto &Stub : Stubs)
  957   for (MachineBasicBlock *MBB : JTBBs) {
 1000   for (MachineBasicBlock *MBB : JTBBs) {
 1032   for (auto MBB : JTBBs) {
lib/Target/ARM/ARMBaseInstrInfo.cpp
 2003     MachineBasicBlock *Pred = *MBB.pred_begin();
 3159       if ((*SI)->isLiveIn(ARM::CPSR))
lib/Target/ARM/ARMCodeGenPrepare.cpp
  548   for (auto *V : *Visited) {
  576   for (auto *V : *Visited) {
  667   for (auto V : *Visited) {
  713   for (auto *V : *Visited) {
  768   for (auto *V : Visited) {
  983              for (auto *I : CurrentVisited)
  987   for (auto *V : CurrentVisited) {
lib/Target/ARM/ARMConstantIslandPass.cpp
  944   MachineBasicBlock* WaterBB = *IP;
 1091   MachineBasicBlock *Succ = *MBB->succ_begin();
 1092   MachineBasicBlock *Pred = *MBB->pred_begin();
 1223     MachineBasicBlock* WaterBB = *IP;
 1473     MachineBasicBlock *WaterBB = *IP;
 2430   for (const MachineBasicBlock::RegisterMaskPair &RegMaskPair : BB->liveins())
lib/Target/ARM/ARMFrameLowering.cpp
  624     for (const auto &Entry : CSI) {
  657     for (const auto &Entry : CSI) {
  684     for (const auto &Entry : CSI) {
 1495     for (auto &Table: MF.getJumpTableInfo()->getJumpTables())
 2301     for (MachineBasicBlock *PredBB : CurMBB->predecessors()) {
 2317   for (const auto &LI : PrologueMBB.liveins()) {
lib/Target/ARM/ARMISelLowering.cpp
 9806     MachineBasicBlock *CurMBB = *I;
 9881     if (*I != Succ)
 9882       return *I;
10385       MachineBasicBlock* succ = *sItr;
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
 1958       for (CalleeSavedInfo &Info : MFI.getCalleeSavedInfo()) {
lib/Target/ARM/ARMLowOverheadLoops.cpp
  106   for (auto ML : MLI) {
  219     Changed |= ProcessLoop(*I);
  232       return SearchForStart(*MBB->pred_begin());
  251     for (auto *MBB : ML->getHeader()->predecessors()) {
lib/Target/ARM/ARMOptimizeBarriersPass.cpp
   92   for (auto MI : ToRemove) {
lib/Target/ARM/ARMParallelDSP.cpp
  119       for (auto *Add : Adds) {
  185         for (auto *Add : Adds)
lib/Target/ARM/ARMTargetTransformInfo.cpp
  983   for (auto Inner : *L)
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
10923   for (auto Feature : Features)
lib/Target/ARM/Thumb1FrameLowering.cpp
  349   for (auto &I : CSI) {
  377     for (auto &I : CSI) {
  532       for (auto &I : MFI.getCalleeSavedInfo()) {
  573   for (const CalleeSavedInfo &CSI : MF.getFrameInfo().getCalleeSavedInfo())
  627       if ((*MBB.succ_begin())->begin()->getOpcode() == ARM::tBX_RET)
  952   for (CalleeSavedInfo I : CSI) {
lib/Target/ARM/Thumb2SizeReduction.cpp
 1040   for (auto *Pred : MBB.predecessors()) {
lib/Target/AVR/AVRFrameLowering.cpp
  289   for (const CalleeSavedInfo &CCSI : CSI) {
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  283   for (auto Call : CallList) {
  337   for (auto Call : PreserveUnionIndexCalls) {
lib/Target/BPF/BPFMIChecking.cpp
  148   for (auto I : GPR32LiveDefs)
lib/Target/BPF/BTFDebug.cpp
  181   for (const auto &Enum : EnumValues) {
  254   for (const auto &Member : Members) {
  305   for (const auto &Param : Parameters) {
  360   for (const auto &V : Vars) {
  731   for (const auto &TypeEntry : TypeEntries)
  741   for (const auto &TypeEntry : TypeEntries)
  746   for (const auto &S : StringTable.getTable()) {
  803     for (const auto &FuncInfo : FuncSec.second) {
  817     for (const auto &LineInfo : LineSec.second) {
  836       for (const auto &FieldRelocInfo : FieldRelocSec.second) {
  904   for (const auto &TypeEntry : TypeEntries)
  934   for (const auto &TypeEntry : TypeEntries)
 1161     for (const auto &StructType : StructTypes) {
 1173     for (auto &DType : Fixup.second.second) {
 1179   for (const auto &TypeEntry : TypeEntries)
lib/Target/Hexagon/BitTracker.cpp
  961     for (const MachineBasicBlock *SB : B.successors()) {
  972     for (const MachineBasicBlock *SB : B.successors())
  976   for (const MachineBasicBlock *TB : Targets)
lib/Target/Hexagon/HexagonBitSimplify.cpp
  276   for (auto *DTN : children<MachineDomTreeNode*>(MDT->getNode(&B)))
  991   for (auto *DTN : children<MachineDomTreeNode*>(N))
  999   for (auto MI : Instrs) {
 1722   for (auto I : Instrs) {
 2277     for (MachineInstr *In : NewMIs) {
 3132     for (auto &I : Phis) {
 3331       if (*PI != &B)
 3332         PB = *PI;
 3341       if (*SI == &B)
 3345       if ((*SI)->pred_size() == 1)
 3346         EB = *SI;
 3354   for (auto &C : Cand)
lib/Target/Hexagon/HexagonBlockRanges.cpp
   76   for (auto &R : RL)
   95     if (Merge || Iter->overlaps(*Next)) {
   96       Iter->merge(*Next);
  146     IndexRange &Rg = *I;
  238   for (auto I : B.liveins()) {
  398   for (auto *SB : B.successors())
  515   for (auto &R : RL)
lib/Target/Hexagon/HexagonCFGOptimizer.cpp
  109   for (MachineBasicBlock *PB : MBB->predecessors())
  159         MachineBasicBlock* FirstSucc = *SI;
  160         MachineBasicBlock* SecondSucc = *(++SI);
  227               for (const auto &OrigLI : OrigLiveIn)
  229               for (const auto &NewLI : NewLiveIn)
lib/Target/Hexagon/HexagonCommonGEP.cpp
  275       OS << *I << ' ' << **I << '\n';
  275       OS << *I << ' ' << **I << '\n';
  294         User *R = (*J)->getUser();
  329   for (auto *DTN : children<DomTreeNode*>(DT->getNode(Root)))
  419     BasicBlock *B = cast<BasicBlock>(*I);
  437       GepNode *N = *I;
  455       GepNode *N = *First;
  542     GepNode *N = *I;
  631     GepNode *N = *I;
  650     GepNode *N = *I;
  660     Erase.insert(*I);
  674       if (!*I)
  676       BasicBlock *B = cast<BasicBlock>(*I);
  684   if (I == E || !*I)
  686   BasicBlock *Dom = cast<BasicBlock>(*I);
  688     BasicBlock *B = cast_or_null<BasicBlock>(*I);
  703     while (I != E && !*I)
  707     BasicBlock *DomB = cast<BasicBlock>(*I);
  709       if (!*I)
  711       BasicBlock *B = cast<BasicBlock>(*I);
  730       Value *V = *I;
  774       Use *U = *I;
  789       GepNode *CN = *I;
  830       recalculatePlacementRec(*I, NCM, Loc);
  920       adjustForInvariance(*I, NCM, Loc);
  983   for (Use *U : Us) {
  987   for (Use *U : NewUs)
 1022       Use *U = *J;
 1051       separateChainForNode(N, *J, Loc);
 1065     recalculatePlacementRec(*I, NCM, Loc);
 1071       adjustForInvariance(*I, NCM, Loc);
 1078       separateConstantChains(*I, NCM, Loc);
 1145     GepNode *N = *First;
 1152         Values.push_back((*I)->getUser());
 1172     GepNode *Root = *First, *Last = *First;
 1172     GepNode *Root = *First, *Last = *First;
 1222         GepNode *CN = *I;
 1237         Use *U = *I;
 1250     for (auto DTN : children<DomTreeNode*>(DT->getNode(B)))
 1264       Instruction *In = cast<Instruction>(*I);
lib/Target/Hexagon/HexagonConstExtenders.cpp
  559       for (unsigned I : Q.second)
 1316       for (unsigned I : P.second)
 1332   for (const OffsetRange &R : Ranges)
 1397       for (unsigned I : RangeMap[N->Range])
 1873     for (std::pair<MachineInstr*,unsigned> P : RegOps) {
 1904     for (const std::pair<Loc,IndexList> &Q : Defs) {
 1907       for (unsigned I : Q.second)
lib/Target/Hexagon/HexagonConstPropagation.cpp
  751     for (const MachineBasicBlock *SB : B.successors()) {
  771     for (const MachineBasicBlock *SB : B.successors())
  775   for (const MachineBasicBlock *TB : Targets) {
  839   for (const MachineBasicBlock *SB : MB->successors())
  928       for (const MachineBasicBlock *SSB : SB->successors())
  939       for (const MachineBasicBlock *SB : B.successors()) {
  972   for (MachineBasicBlock *B : POT) {
 1014       for (MachineBasicBlock *SB : B->successors()) {
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  233   MachineBasicBlock *SB = *B->succ_begin();
  305   MachineBasicBlock *TSB = (TNS > 0) ? *TB->succ_begin() : nullptr;
  306   MachineBasicBlock *FSB = (FNS > 0) ? *FB->succ_begin() : nullptr;
  528     MachineBasicBlock *TSB = *FP.TrueB->succ_begin();
  529     MachineBasicBlock *FSB = *FP.FalseB->succ_begin();
  573       MachineBasicBlock *SB = *FP.TrueB->succ_begin();
  578       MachineBasicBlock *SB = *FP.FalseB->succ_begin();
  651       Changed |= visitLoop(*I);
  865     TSB = *FP.TrueB->succ_begin();
  869     FSB = *FP.FalseB->succ_begin();
  880     MachineBasicBlock *T = *FP.SplitB->succ_begin();
  976     (*I)->removeSuccessor(B, true);
 1034   MachineBasicBlock *SB = *FP.SplitB->succ_begin();
 1065     Changed |= visitLoop(*I);
lib/Target/Hexagon/HexagonExpandCondsets.cpp
  392     for (MachineBasicBlock *D : Defs)
  404       for (auto *P : B->predecessors())
lib/Target/Hexagon/HexagonFrameLowering.cpp
  427       if (RPO[(*SI)->getNumber()] <= BN)
  537       for (auto &R : CSI)
  787     for (auto &R : CSI)
  791       for (auto &SB : MBB.successors())
  810   for (auto &SB : MBB.successors())
  819       for (auto &R : CSI)
  828     for (auto &R : CSI)
 1961     for (auto *RC : SpillRCs) {
 1988     for (auto &DR : F->second)
 2214       for (auto I : FIs) {
 2237     for (auto FI : BlockFIMap[&B]) {
 2242       for (auto &Range : RL) {
 2412   for (auto &R : CSI)
lib/Target/Hexagon/HexagonGenExtract.cpp
  223   for (auto *DTN : children<DomTreeNode*>(DT->getNode(B)))
lib/Target/Hexagon/HexagonGenInsert.cpp
  430       OS << printReg(*I, P.TRI);
  766     const MachineBasicBlock *PB = *I;
  841           LM[L].push_back(std::make_pair(*I, S));
  843           LM[L].push_back(std::make_pair(*I, S));
  854         LM[L].push_back(std::make_pair(*I, S));
  876     unsigned SrcR = *I;
  979   for (auto *DTN : children<MachineDomTreeNode*>(MDT->getNode(B))) {
 1336     IFRecordWithRegSet M = *MinI;
 1455   for (auto *DTN : children<MachineDomTreeNode*>(N))
 1464     MachineInstr *MI = *I;
lib/Target/Hexagon/HexagonGenPredicate.cpp
  490     (*I)->eraseFromParent();
  520       MachineInstr *MI = *I;
lib/Target/Hexagon/HexagonHardwareLoops.cpp
  391   for (auto &L : *MLI)
  571   MachineBasicBlock *Backedge = *PI++;
  574   MachineBasicBlock *Incoming = *PI++;
 1135     Changed |= convertToHardwareLoop(*I, RecL0used, RecL1used);
 1883     MachineBasicBlock *PB = *I;
 1966     MachineBasicBlock *PB = *I;
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  980   for (auto I : Nodes) {
 1028   for (auto I : Nodes) {
 1092   for (SDNode *N : Nodes) {
 1157   for (SDNode *N : Nodes) {
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  202   for (Node N : FirstQ) {
  341     for (RowType &Row : Table)
  737   for (const auto &R : Ops) {
  990     for (const OpRef &R : Node.Ops) {
 2013   for (int &Idx : Mask)
lib/Target/Hexagon/HexagonInstrInfo.cpp
  160   for (MachineBasicBlock *PB : BB->predecessors()) {
 1699     for (auto I : MBB->successors())
 3622         for (const MachineBasicBlock *SB : B.successors()) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  530     for (Rule &R : Rules) {
 1083   for (Instruction *In : LoopIns)
 1366   for (Value *V : Inputs)
 1369   for (Value *V : Internal)
lib/Target/Hexagon/HexagonMachineScheduler.cpp
  427     SUnit *SU = *(Pending.begin()+i);
  467       return !ResourceModel->isResourceAvailable(*Available.begin(), isTop()) ||
  468         getWeakLeft(*Available.begin(), isTop()) != 0;
  479     return *Available.begin();
  505     TempTracker.getMaxPressureDelta((*I)->getInstr(), RPDelta,
  509     dbgstr << "SU(" << std::setw(3) << (*I)->NodeNum << ")";
  511     SchedulingCost(Q, *I, Candidate, RPDelta, true);
  513     (*I)->getInstr()->dump();
  779     TempTracker.getMaxPressureDelta((*I)->getInstr(), RPDelta,
  783     int CurrentCost = SchedulingCost(Q, *I, Candidate, RPDelta, false);
  787       LLVM_DEBUG(traceCandidate("DCAND", Q, *I, CurrentCost));
  788       Candidate.SU = *I;
  798       if ((Q.getID() == TopQID && (*I)->NodeNum < Candidate.SU->NodeNum)
  799           || (Q.getID() == BotQID && (*I)->NodeNum > Candidate.SU->NodeNum)) {
  800         LLVM_DEBUG(traceCandidate("NCAND", Q, *I, CurrentCost));
  801         Candidate.SU = *I;
  811       LLVM_DEBUG(traceCandidate("CCAND", Q, *I, CurrentCost));
  812       Candidate.SU = *I;
  820     unsigned CurrWeak = getWeakLeft(*I, (Q.getID() == TopQID));
  824         LLVM_DEBUG(traceCandidate("WCAND", Q, *I, CurrentCost));
  825         Candidate.SU = *I;
  833     if (CurrentCost == Candidate.SCost && Zone.isLatencyBound(*I)) {
  836         CurrSize = (*I)->Succs.size();
  839         CurrSize = (*I)->Preds.size();
  843         LLVM_DEBUG(traceCandidate("SPCAND", Q, *I, CurrentCost));
  844         Candidate.SU = *I;
  859       if ((Q.getID() == TopQID && (*I)->NodeNum < Candidate.SU->NodeNum)
  860           || (Q.getID() == BotQID && (*I)->NodeNum > Candidate.SU->NodeNum)) {
  861         LLVM_DEBUG(traceCandidate("TCAND", Q, *I, CurrentCost));
  862         Candidate.SU = *I;
lib/Target/Hexagon/HexagonMachineScheduler.h
  185         for (auto &SU : DAG->SUnits)
lib/Target/Hexagon/HexagonNewValueJump.cpp
  540           MachineBasicBlock *succMBB = *SI;
lib/Target/Hexagon/HexagonRDFOpt.cpp
  178   for (NodeId N : PartlyDead) {
lib/Target/Hexagon/HexagonSplitDouble.cpp
  577   for (auto I : *MLI)
  580     for (auto I : *WorkQ[i])
lib/Target/Hexagon/HexagonStoreWidening.cpp
  176   for (auto SI : Stores) {
  222     MachineInstr *MI = *I;
  247     MachineInstr *MI = *I;
  264         *I = nullptr;
  313   MachineInstr *FirstMI = *Begin;
  353     MachineInstr *S2 = *I;
  403     MachineInstr *MI = *I;
  476     for (auto I : OG)
  479     for (auto I : NG)
  494   for (auto I : OG)
  518   for (auto I : OG)
  526   for (auto I : NG)
  576   for (auto &G : SGs) {
lib/Target/Hexagon/HexagonSubtarget.cpp
  129   for (SUnit &SU : DAG->SUnits) {
  142   for (SUnit &SU : DAG->SUnits) {
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
  379   for (auto BI : CurrentPacketMIs) {
  436   for (auto BI : CurrentPacketMIs) {
  664   for (auto I : CurrentPacketMIs) {
  750   for (auto I : CurrentPacketMIs) {
  915   for (auto I : CurrentPacketMIs) {
  985   for (auto I : CurrentPacketMIs) {
 1359     for (MachineInstr *PI : CurrentPacketMIs) {
 1672   for (auto MJ : CurrentPacketMIs) {
 1771       for (MachineInstr *MI : CurrentPacketMIs) {
 1786   for (MachineInstr *MI : CurrentPacketMIs) {
 1858   for (auto J : CurrentPacketMIs) {
 1869   for (auto J : OldPacketMIs) {
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  449   for (auto *D : Dependences) {
  720   for (auto *D : Dependences) {
lib/Target/Hexagon/HexagonVectorPrint.cpp
  163   for (auto *I : VecPrintList) {
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
  671     for (auto const &I : AppliedRestrictions) {
lib/Target/Hexagon/RDFCopy.cpp
   82   for (auto I : *N)
  106     for (NodeId I : Copies) {
  133   for (NodeId C : Copies) {
lib/Target/Hexagon/RDFDeadCode.cpp
  144     for (NodeId N : LiveNodes) {
  187   for (auto I : Nodes) {
lib/Target/Hexagon/RDFGraph.cpp
  272     for (int I : Ns) {
  281   for (MachineBasicBlock *B : BB->predecessors())
  288   for (MachineBasicBlock *B : BB->successors())
  900     for (auto I : EntryB.liveins())
  928       for (MachineBasicBlock *PB : B.predecessors())
 1415   for (auto DB : IDF) {
 1462     for (unsigned I : Closure)
 1471   for (MachineBasicBlock *PB : MBB->predecessors())
 1677   for (auto I : *N) {
 1695   for (MachineBasicBlock *SB : MBB->successors()) {
lib/Target/Hexagon/RDFLiveness.cpp
  159   for (NodeId N : DefQ) {
  230   for (NodeId T : Tmp) {
  816       for (auto I : LV)
  827       for (auto I : LV)
  841     for (auto I : T)
  859     for (auto I : B->liveins()) {
  876   for (auto SI : B->successors())
  954   for (auto I : *N) {
  966     for (auto I : *N)
lib/Target/Hexagon/RDFRegisters.cpp
  113     for (const uint32_t *RM : RegMasks) {
  123   for (const uint32_t *RM : RegMasks) {
lib/Target/Lanai/LanaiAsmPrinter.cpp
  218   const MachineBasicBlock *Pred = *MBB->pred_begin();
lib/Target/Lanai/LanaiInstrInfo.cpp
  424         if ((*SI)->isLiveIn(Lanai::SR))
lib/Target/MSP430/MSP430BranchSelector.cpp
  160         for (MachineBasicBlock *Succ : MBB->successors()) {
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
   89     if (Predicate(*I)) {
   90       *d1 = *I;
   93       *d2 = *I;
  208   for (const auto &R : Relocs)
lib/Target/Mips/MipsAsmPrinter.cpp
  340   for (const auto &I : CSI) {
  477   const MachineBasicBlock *Pred = *MBB->pred_begin();
lib/Target/Mips/MipsConstantIslandPass.cpp
  599     if (*I == NextBB)
  889   MachineBasicBlock* WaterBB = *IP;
 1003   MachineBasicBlock *Succ = *MBB->succ_begin();
 1004   MachineBasicBlock *Pred = *MBB->pred_begin();
 1176     MachineBasicBlock* WaterBB = *IP;
 1330     MachineBasicBlock *WaterBB = *IP;
lib/Target/Mips/MipsDelaySlotFiller.cpp
  408     if (*SI != &SuccBB)
  409       for (const auto &LI : (*SI)->liveins())
  409       for (const auto &LI : (*SI)->liveins())
  805     if (!examinePred(**PI, *SuccBB, RegDU, HasMultipleSuccs, BrMap))
  839   MachineBasicBlock *S = *std::max_element(
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  421     const MachineBasicBlock *PMBB = *I;
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1450     for (const auto &TOCMapPair : TOC) {
 1666       for (const Function *Personality : MMI->getPersonalities()) {
lib/Target/PowerPC/PPCBranchCoalescing.cpp
  296     (*Cand.BranchBlock->succ_begin() == Cand.BranchTargetBlock)
  298     : *Cand.BranchBlock->succ_begin();
lib/Target/PowerPC/PPCCTRLoops.cpp
  183       Preds.push_back(*PI);
lib/Target/PowerPC/PPCEarlyReturn.cpp
   69         if ((*PI)->empty())
   72         for (MachineBasicBlock::iterator J = (*PI)->getLastNonDebugInstr();;) {
   73           if (J == (*PI)->end())
   80               BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode()))
   92               BuildMI(**PI, J, J->getDebugLoc(), TII->get(PPC::BCCLR))
  107                   **PI, J, J->getDebugLoc(),
  129           if (J == (*PI)->begin())
  135         if ((*PI)->canFallThrough() && (*PI)->isLayoutSuccessor(&ReturnMBB))
  135         if ((*PI)->canFallThrough() && (*PI)->isLayoutSuccessor(&ReturnMBB))
  140           PredToRemove.push_back(*PI);
  154           MachineBasicBlock &PrevMBB = **ReturnMBB.pred_begin();
lib/Target/PowerPC/PPCExpandISEL.cpp
  353     for (auto &Succ : MBB->successors()) {
  385     for (auto &LI : MBB->liveins())
lib/Target/PowerPC/PPCFrameLowering.cpp
  934     for (CalleeSavedInfo CSI : Info) {
  956       for (CalleeSavedInfo CSI : Info) {
 1515     for (CalleeSavedInfo CSI : Info) {
 2162   for (auto &CS : CSI) {
lib/Target/PowerPC/PPCInstrInfo.cpp
 4231   MachineBasicBlock *Preheader = *LoopBB->pred_begin();
 4233     Preheader = *std::next(LoopBB->pred_begin());
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  210     for (auto L = df_begin(*I), LE = df_end(*I); L != LE; ++L)
  210     for (auto L = df_begin(*I), LE = df_end(*I); L != LE; ++L)
lib/Target/PowerPC/PPCMIPeephole.cpp
  983     MachineBasicBlock *TmpMBB = *MBB.pred_begin();
  995     MachineBasicBlock *Pred1MBB = *PI;
  996     MachineBasicBlock *Pred2MBB = *(PI+1);
lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
   47   for (const std::pair<unsigned, ISD::ArgFlagsTy> &LiveIn : LiveInAttrs)
   54   for (const std::pair<unsigned, ISD::ArgFlagsTy> &LiveIn : LiveInAttrs)
lib/Target/PowerPC/PPCPreEmitPeephole.cpp
  264           for (auto &Succ : MBB.successors())
  275           for (auto &SuccMBB : MBB.successors())
lib/Target/PowerPC/PPCReduceCRLogicals.cpp
  164   MachineBasicBlock *OrigFallThrough = OrigTarget == *ThisMBB->succ_begin()
  166                                            : *ThisMBB->succ_begin();
  241   for (auto *Succ : NewMBB->successors()) {
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  946     if (canSaveCmp(*I, BI, SE, LI, DT, AC, LibInfo))
lib/Target/RISCV/RISCVFrameLowering.cpp
  166   for (const auto &Entry : CSI) {
  301   for (const auto &Entry : CSI) {
lib/Target/SystemZ/SystemZElimCompare.cpp
  109     if ((*SI)->isLiveIn(SystemZ::CC))
lib/Target/SystemZ/SystemZFrameLowering.cpp
  369     for (auto &Save : CSI) {
  437   for (auto &Save : CSI) {
lib/Target/SystemZ/SystemZISelLowering.cpp
 6537       if ((*SI)->isLiveIn(SystemZ::CC))
lib/Target/SystemZ/SystemZLDCleanup.cpp
  109     Changed |= VisitNode(*I, TLSBaseAddrReg);
lib/Target/SystemZ/SystemZMachineScheduler.cpp
   44     PredMBB = *MBB->pred_begin();
   50       if (Loop->contains(*I))
   51         PredMBB = (*I == MBB ? nullptr : *I);
   51         PredMBB = (*I == MBB ? nullptr : *I);
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  136     for (auto Br : BrL.List)
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
  132   for (auto &Pair : Replacements) {
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  252         for (const MachineBasicBlock *Pred : MBB.predecessors())
  288           for (auto DeferredBlock : E.Deferred)
  294     for (MachineBasicBlock *Succ : MBB->successors()) {
  374         for (auto Pred : MBB.predecessors())
  381         for (auto Pred : MBB.predecessors())
  390       for (auto Pred : MBB.predecessors())
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  224   for (MachineBasicBlock *Pred : MBB.predecessors()) {
  450   for (auto *Pred : MBB.predecessors()) {
  891       for (auto *Succ : MBB.successors()) {
 1122       for (auto *Succ : MBB->successors()) {
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
  132     for (auto *Succ : MBB->successors())
  169   for (auto &SubE : SubExceptions)
  183   for (auto *WE : TopLevelExceptions)
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
   80         for (auto *Pred : MBB->predecessors()) {
  132       for (auto *Succ : MBB->successors()) {
  147         for (auto *Pred : MBB->predecessors()) {
  166       for (auto *Pred : Looper->predecessors()) {
  201     for (auto *Pred : Entry->predecessors()) {
  212         for (auto *Pred : MBB->predecessors()) {
  385     for (auto *Pred : Entry->predecessors()) {
  395     for (auto *Entry : Pred->successors()) {
  410     for (auto *Entry : Pred->successors())
  421     for (auto *Entry : Pred->successors()) {
  458     for (auto *Succ : Pred->successors()) {
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1172   for (auto MBB : MBBs)
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
 1075   for (Instruction *I : SetjmpTableInsts)
 1077   for (Instruction *I : SetjmpTableSizeInsts)
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  134     for (auto &AssociatedAndMore : PriorityAndMore.second) {
  149       for (auto Dtor : AssociatedAndMore.second)
lib/Target/X86/X86AsmPrinter.cpp
  671     for (auto &Stub : Stubs)
lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
  364       MachineBasicBlock *PMBB = *PB;
lib/Target/X86/X86CmovConversion.cpp
  227     for (MachineLoop *Child : Loops[i]->getSubLoops())
  583     if ((*I)->isLiveIn(X86::EFLAGS))
lib/Target/X86/X86CondBrFolding.cpp
  145   MachineBasicBlock *PredMBB = *MBB->pred_begin();
  179     PredMBB = *PredMBB->pred_begin();
lib/Target/X86/X86DomainReassignment.cpp
  773   for (Closure &C : Closures) {
lib/Target/X86/X86ExpandPseudo.cpp
  168   for (auto P : TargetMBBs) {
lib/Target/X86/X86FlagsCopyLowering.cpp
  287     if (IsEdgeSplit || *SI != &UnsplitSucc)
  295   for (MachineBasicBlock *Succ : NewMBB.successors())
  304   for (MachineBasicBlock *Succ : NewMBB.successors()) {
  446         for (auto *PredMBB : MBB->predecessors()) {
  464                           *TestMBB->pred_begin(),
  644       for (MachineBasicBlock *SuccMBB : UseMBB.successors())
lib/Target/X86/X86FrameLowering.cpp
  197   for (MachineBasicBlock::RegisterMaskPair RegMask : MBB.liveins()) {
  240   for (const MachineBasicBlock *Succ : MBB.successors())
 2339   for (const auto &LI : PrologueMBB.liveins()) {
 2660     for (const auto &LI : PrologueMBB.liveins()) {
 3145   for (auto &Obj : SortingObjects) {
lib/Target/X86/X86ISelLowering.cpp
29611       MachineBasicBlock* succ = *sItr;
31104   for (auto &LP : LPadList)
lib/Target/X86/X86InstrFoldTables.cpp
 5670     return &*I;
lib/Target/X86/X86InstrInfo.cpp
 2492     if ((*SI)->isEHPad() || (*SI == TBB && FallthroughBB))
 2492     if ((*SI)->isEHPad() || (*SI == TBB && FallthroughBB))
 2497     FallthroughBB = *SI;
 2715     for (auto *Succ : MBB.successors())
 3787     for (MachineBasicBlock *Successor : MBB->successors())
 7890         Changed |= VisitNode(*I, TLSBaseAddrReg);
 8006     for (outliner::Candidate &C : RepeatedSequenceLocs)
 8015   for (outliner::Candidate &C : RepeatedSequenceLocs)
lib/Target/X86/X86PadShortFunction.cpp
  158     if (*I == MBB)
  160     findReturns(*I, Cycles);
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  311   for (auto &LI : Succ.liveins())
  584     for (MachineBasicBlock *SuccMBB : MBB.successors())
 1042     for (MachineBasicBlock *Succ : MBB.successors())
 1077     for (MachineBasicBlock *Pred : MBB.predecessors()) {
lib/Target/X86/X86VZeroUpper.cpp
  273       addDirtySuccessor(**SI);
  343       for (MachineBasicBlock *Succ : MBB.successors())
lib/Target/X86/X86WinAllocaExpander.cpp
  150     for (MachineBasicBlock *Pred : MBB->predecessors())
  297   for (auto &P : Lowerings)
lib/Target/XCore/XCoreFrameLowering.cpp
  315     for (const auto &SpillLabel : XFI->getSpillLabels()) {
  445       XFI->getSpillLabels().push_back(std::make_pair(Store, *it));
lib/TextAPI/MachO/ArchitectureSet.cpp
   20   for (auto Arch : Archs) {
lib/TextAPI/MachO/TextStub.cpp
  453       for (const auto &Iter : File->umbrellas()) {
  459       for (const auto &Library : File->allowableClients())
  462       for (const auto &Library : File->reexportedLibraries())
  476         for (const auto &Library : File->allowableClients())
  480         for (const auto &Library : File->reexportedLibraries())
  620       for (auto &ID : UUIDs)
  640       for (const auto &Section : Exports) {
  644         for (const auto &Lib : Section.AllowableClients)
  648         for (const auto &Lib : Section.ReexportedLibraries)
  652         for (const auto &Symbol : Section.Symbols) {
  660         for (auto &Symbol : Section.Classes) {
  666         for (auto &Symbol : Section.ClassEHs)
  668         for (auto &Symbol : Section.IVars) {
  675         for (auto &Symbol : Section.WeakDefSymbols)
  678         for (auto &Symbol : Section.TLVSymbols)
  683       for (const auto &Section : Undefineds) {
  686         for (auto &Symbol : Section.Symbols) {
  696         for (auto &Symbol : Section.Classes) {
  703         for (auto &Symbol : Section.ClassEHs)
  706         for (auto &Symbol : Section.IVars) {
  713         for (auto &Symbol : Section.WeakRefSymbols)
  810       for (const auto &IT : File->uuids())
  829         for (const auto &it : File->umbrellas())
  914       for (auto &id : UUIDs)
  921       for (const auto &CurrentSection : ParentUmbrellas)
  922         for (const auto &target : CurrentSection.Targets)
  929       for (const auto &CurrentSection : AllowableClients) {
  930         for (const auto &lib : CurrentSection.Values)
  931           for (const auto &Target : CurrentSection.Targets)
  935       for (const auto &CurrentSection : ReexportedLibraries) {
  936         for (const auto &Lib : CurrentSection.Values)
  937           for (const auto &Target : CurrentSection.Targets)
  943         for (const auto &CurrentSection : CurrentSections) {
  944           for (auto &sym : CurrentSection.Symbols)
  948           for (auto &sym : CurrentSection.Classes)
  952           for (auto &sym : CurrentSection.ClassEHs)
  956           for (auto &sym : CurrentSection.Ivars)
  960           for (auto &sym : CurrentSection.WeakSymbols)
  963           for (auto &sym : CurrentSection.TlvSymbols)
  997       for (const auto &library : Libraries) {
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
  156   for (COFFShortExport& E : Def->Exports) {
  164     for (COFFShortExport& E : Def->Exports) {
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  359   for (NewArchiveMember &Member : Members) {
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  237   for (auto Itr : InstInfoMap) {
  301   for (auto &Itr : InstInfoMap) { // Forward
lib/Transforms/Coroutines/CoroSplit.cpp
 1545     for (CallGraphNode *CGN : SCC)
lib/Transforms/IPO/ArgumentPromotion.cpp
  286             for (auto II : ArgIndex.second) {
 1132     for (CallGraphNode *OldNode : SCC) {
lib/Transforms/IPO/Attributor.cpp
  731     for (const Use *U : Uses) {
  742     for (const Use *U : NextUses)
 1064   for (auto &It : ReturnedValues) {
 1129   for (auto &It : ReturnedValues) {
 1170     for (auto &RetValAAIt : RetValAA.returned_values()) {
 1197     for (auto &RetValAAIt : RetValAA.returned_values()) {
 1220   for (auto &It : NewRVsMap) {
 3183     for (auto &It : RVAA.returned_values()) {
 4428   for (Instruction *I :
 4496     for (AbstractAttribute *AA : Worklist)
lib/Transforms/IPO/CrossDSOCFI.cpp
  142   for (uint64_t TypeId : TypeIds) {
lib/Transforms/IPO/ForceFunctionAttrs.cpp
   72   for (auto &S : ForceAttributes) {
lib/Transforms/IPO/FunctionAttrs.cpp
  784       ArgumentGraphNode *Node = *I;
  796     for (ArgumentGraphNode *I : ArgumentSCC) {
  802       ArgumentGraphNode *N = *I;
 1500   for (CallGraphNode *I : SCC) {
lib/Transforms/IPO/FunctionImport.cpp
  757     for (auto &S : Entry.second.SummaryList)
  861       for (auto &S : P.second.SummaryList)
 1183       for (const auto *GV : GlobalsToImport)
 1240     for (auto &S : I.second.SummaryList) {
lib/Transforms/IPO/GlobalDCE.cpp
  401   for (Function *F : DeadFunctions) {
  414   for (GlobalVariable *GV : DeadGlobalVars)
  418   for (GlobalAlias *GA : DeadAliases)
  422   for (GlobalIFunc *GIF : DeadIFuncs)
lib/Transforms/IPO/HotColdSplitting.cpp
  581     for (OutliningRegion &Region : Regions) {
lib/Transforms/IPO/Inliner.cpp
  203     for (AllocaInst *AvailableAlloca : AllocasForType) {
  538   for (CallGraphNode *Node : SCC) {
  556   for (CallGraphNode *Node : SCC) {
lib/Transforms/IPO/LowerTypeTests.cpp
  206   for (uint64_t ObjIndex : Fragment)
  373     for (auto P : FunctionAliases)
 1159     for (CallInst *CI : TIUI.CallSites) {
 1630   for (auto &&MemSet : TypeMembers)
 1638   for (auto &&F : GLB.Fragments) {
 1639     for (auto &&Offset : F) {
 1643       *OGTMI++ = Globals[Offset];
 1803     for (GlobalAlias *GA : AliasesToErase)
 1845       for (auto &GVS : I.second.SummaryList)
 1990       for (GlobalTypeMember *GTM : TypeIdInfo[TypeId].RefGlobals)
 2057       for (auto &S : P.second.SummaryList) {
 2098   for (const auto &S : Sets) {
lib/Transforms/IPO/MergeFunctions.cpp
  325         Function *F1 = cast<Function>(*I);
  326         Function *F2 = cast<Function>(*J);
  347           Function *F3 = cast<Function>(*K);
  426     for (WeakTrackingVH &I : Worklist) {
lib/Transforms/IPO/PartialInlining.cpp
  947   for (User *User : Users) {
 1144       for (Value *value : Inputs)
 1146       for (Value *output : Outputs)
 1392   for (User *User : Users) {
lib/Transforms/IPO/PruneEH.cpp
   68   for (CallGraphNode *I : SCC)
   73   for (CallGraphNode *I : SCC)
   87     Function *F = (*I)->getFunction();
  151     for (CallGraphNode *I : SCC) {
  165   for (CallGraphNode *I : SCC) {
lib/Transforms/IPO/SampleProfile.cpp
  944         for (const auto *FS : findIndirectCallFunctionSamples(*I, Sum)) {
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  182   for (GlobalValue *GV : V)
  319   for (auto V : CfiFunctions) {
lib/Transforms/IPO/WholeProgramDevirt.cpp
  187       for (auto &&B : Used)
  198       for (auto &&B : Used) {
  724     for (auto &SlotSummary : T.second) {
  843   for (const TypeIdOffsetVtableInfo P : TIdInfo) {
  871     for (auto &&VCallSite : CSInfo.CallSites) {
  903     for (auto *FS : CSInfo.SummaryTypeCheckedLoadUsers) {
  907     for (auto *FS : CSInfo.SummaryTypeTestAssumeUsers) {
 1093     for (auto &&VCallSite : CSInfo.CallSites) {
 1193   for (auto Call : CSInfo.CallSites)
 1301   for (auto &&Call : CSInfo.CallSites) {
 1369   for (auto Call : CSInfo.CallSites) {
 1793     for (auto &S : CallSlots)
 1820       for (auto &S : P.second.SummaryList) {
 1858   for (auto &S : CallSlots) {
 1881         for (const auto &T : TargetsForSlot)
 1893       for (auto FS : S.second.CSInfo.SummaryTypeCheckedLoadUsers)
 1896         for (auto FS : CCS.second.SummaryTypeCheckedLoadUsers)
 1918     for (VTableBits &B : Bits)
 1941     for (auto &S : P.second.SummaryList) {
 1947         for (StringRef Name : NameByGUID[VF.GUID]) {
 1952         for (StringRef Name : NameByGUID[VF.GUID]) {
 1958         for (StringRef Name : NameByGUID[VC.VFunc.GUID]) {
 1966         for (StringRef Name : NameByGUID[VC.VFunc.GUID]) {
 1977   for (auto &S : CallSlots) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
  590     for (auto *PN : PHIs)
  599   for (Value *Val : Explored) {
  660   for (Value *Val : Explored) {
  672   for (Value *Val : Explored) {
  712   for (Value *Val : Explored) {
  730   for (Value *Val : Explored) {
lib/Transforms/Instrumentation/CFGMST.h
  210     for (auto &Ei : AllEdges) {
  221     for (auto &Ei : AllEdges) {
  247     for (auto &EI : AllEdges)
lib/Transforms/Instrumentation/CGProfile.cpp
   89   for (auto E : Counts) {
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  999     const std::unique_ptr<Region> &SubR = *It;
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  829     Function &F = **i;
  868         *i = NewF;
  899       *i = NewF;
  921       *i = nullptr;
  925   for (Function *i : FnsToInstrument) {
  975       for (Value *V : DFSF.NonZeroChecks) {
 1258       for (auto Child : Children)
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  475   for (Regex &Re : Regexes) {
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1065     for (auto *DDI : AllocaDeclareMap.lookup(AI)) {
 1427   for (GlobalVariable *GV : Globals) {
 1463   for (auto &P : PersonalityFns) {
 1493     for (Function *F : P.second)
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  337   for (auto &C : Candidates) {
  354   for (auto &I : findIndirectCalls(F)) {
lib/Transforms/Instrumentation/InstrProfiling.cpp
  455   for (const auto &LoadStore : PromotionCandidates) {
  937   for (auto *NamePtr : ReferencedNames)
  962   for (Value *Data : UsedVars)
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  593     for (auto &E : MST.AllEdges) {
  726   for (auto &E : MST.AllEdges)
  729   for (auto &E : EdgeList) {
  736   for (auto &E : MST.AllEdges) {
  820   for (auto *InstrBB : InstrumentBBs) {
  847     for (VPCandidateInfo Cand : FuncInfo.ValueSites[Kind]) {
 1077   for (BasicBlock *InstrBB : InstrumentBBs) {
 1095   for (auto &E : FuncInfo.MST.AllEdges) {
 1431   for (VPCandidateInfo &I : ValueSites) {
 1625   for (auto &F : HotFunctions) {
 1630   for (auto &F : ColdFunctions) {
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  151     for (auto &MI : WorkList) {
lib/Transforms/Instrumentation/ValueProfilePlugins.inc
   61     for (Instruction *I : Result) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  378     auto Pair = PerPtrTopDown.insert(*MI);
  421     auto Pair = PerPtrBottomUp.insert(*MI);
lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
   70   for (Value *V1 : Values) {
   72     for (Value *V2 : Values) {
lib/Transforms/Scalar/ADCE.cpp
  234   for (auto &BBInfo : BlockInfo)
  240   for (auto &BBInfo : BlockInfo)
  297   for (auto &PDTChild : children<DomTreeNode *>(PDT.getRootNode())) {
  320   for (auto &BBInfo : BlockInfo)
lib/Transforms/Scalar/ConstantHoisting.cpp
  215   for (auto BB : BBs) {
  252     for (auto ChildDomNode : DT.getNode(Node)->getChildren()) {
  325     for (auto BB : BBs) {
  346   Instruction &FirstInst = (*BBs.begin())->front();
  839     for (Instruction *IP : IPSet) {
  919   for (auto const &I : ClonedCastMap)
  942   for (auto &MapEntry : ConstGEPCandMap)
  951   for (auto MapEntry : ConstGEPInfoMap)
lib/Transforms/Scalar/DivRemPairs.cpp
  148   for (auto &RemPair : RemMap) {
lib/Transforms/Scalar/EarlyCSE.cpp
  581       DomTreeNode *child = *ChildIter;
lib/Transforms/Scalar/FlattenCFGPass.cpp
   69     for (WeakVH &BlockHandle : Blocks) {
lib/Transforms/Scalar/GVN.cpp
 1162   for (auto &PredLoad : PredLoads) {
 1240   for (const auto &PredLoad : PredLoads) {
 2642   for (BasicBlock *BB : DeadBlocks) {
lib/Transforms/Scalar/GVNHoist.cpp
  766     for (const auto &R : Ranks) {
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1380   for (Loop *SubLoop : *Original)
lib/Transforms/Scalar/LICM.cpp
 2161   for (Loop *InnerL : L->getSubLoops()) {
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  205   for (Loop *I : *LI)
lib/Transforms/Scalar/LoopDistribute.cpp
  982   for (Loop *TopLevelLoop : *LI)
lib/Transforms/Scalar/LoopFuse.cpp
 1286       Loop *ChildLoop = *ChildLoopIt;
 1539       Loop *ChildLoop = *ChildLoopIt;
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  632   for (auto &SL : StoreRefsForMemset)
  635   for (auto &SL : StoreRefsForMemsetPattern)
  760     if (Tails.count(*it))
  766     StoreInst *I = *it;
lib/Transforms/Scalar/LoopInterchange.cpp
 1085   for (auto &Row : DepMatrix) {
 1133   for (Loop *L : *OuterLoop)
lib/Transforms/Scalar/LoopLoadElimination.cpp
  609   for (Loop *TopLevelLoop : LI)
lib/Transforms/Scalar/LoopPassManager.cpp
   35   for (auto &Pass : Passes) {
lib/Transforms/Scalar/LoopRerollPass.cpp
 1194   for (auto &KV : Uses) {
 1204                   : Uses) {
 1497     for (auto &KV : Uses)
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  300       BasicBlock *BB = *I;
lib/Transforms/Scalar/LoopUnrollPass.cpp
 1392   for (Loop *RootL : Loops) {
 1436   for (auto &L : LI) {
lib/Transforms/Scalar/LoopUnswitch.cpp
  923   for (Loop *I : *L)
 1477     for (Instruction *UI : Worklist)
lib/Transforms/Scalar/MergeICmps.cpp
  748   for (auto &Cmp : Comparisons_) {
lib/Transforms/Scalar/NewGVN.cpp
 3167   for (const auto *CC : CongruenceClasses) {
lib/Transforms/Scalar/PlaceSafepoints.cpp
  125     for (Loop *I : *L)
  135     for (Loop *I : *LI) {
  534     for (Instruction *Term : PollLocations) {
  562         for (BasicBlock *Header : Headers) {
  679   for (auto *CI : Calls) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  379     for (Value *V : LiveSet)
  848   for (auto Pair : States) {
  873     for (auto Pair : States) {
  923   for (auto Pair : States) {
  930   for (auto Pair : States) {
 1027   for (auto Pair : States) {
 1117   for (auto Pair : States) {
 1162   for (Value *ptr : live) {
 1183     for (auto &Pair : PointerToBase) {
 1611   for (Value *L : LiveSet) {
 1668   for (auto RematerializedValuePair: RematerializedValues) {
 1722     for (auto RematerializedValuePair : Info.RematerializedValues) {
 2028   for (Value *LiveValue: Info.LiveSet) {
 2254     for (auto Pair : Info.PointerToBase)
 2268       for (auto Pair : Info.PointerToBase) {
 2287     for (auto &BasePair : Info.PointerToBase)
 2318   for (auto &PR : Replacements)
 2700   for (Value *V : Live) {
 2735     for (Value *Kill : Data.KillSet[&BB])
 2817   for (auto V : Updated)
 2825   for (auto V : Updated)
 2833   for (auto KVPair : Info.PointerToBase)
 2841   for (auto KVPair : Info.PointerToBase)
lib/Transforms/Scalar/SCCP.cpp
 2192   for (const auto &I : RV) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1325     for (Loop *ChildL : OrigL) {
 1432   for (Loop *ChildL : OrigL) {
 1736   for (auto *BB : make_range(BlocksSplitI, Blocks.end()))
 1840   for (auto *HoistedL : make_range(SubLoopsSplitI, SubLoops.end())) {
 1893     for (DomTreeNode *ChildN : *N) {
 2254     for (Loop *ChildL : UpdateL) {
lib/Transforms/Scalar/Sink.cpp
  170     BasicBlock *Candidate = (*I)->getBlock();
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  730   for (auto *UnlinkedInst : UnlinkedInstructions) {
lib/Transforms/Scalar/StructurizeCFG.cpp
  606   for (const auto &AddedPhi : AddedPhis) {
  614     for (const auto &PI : Map) {
lib/Transforms/Utils/BasicBlockUtils.cpp
  424       for (DomTreeNode *I : Children)
  841       for (DomTreeNode *Child : Children)
lib/Transforms/Utils/CodeExtractor.cpp
  215   for (auto *BB : Result) {
  374   Function *Func = (*Blocks.begin())->getParent();
  489   Function *Func = (*Blocks.begin())->getParent();
  574   BasicBlock *Header = *Blocks.begin();
  600   for (BasicBlock *BB : Blocks) {
  745   for (BasicBlock *Block : Blocks)
  787   for (Value *value : inputs) {
  793   for (Value *output : outputs) {
  803     for (Type *i : paramTy)
  945     for (User *use : Users)
  964   for (auto &U : Users)
  984   for (BasicBlock *BB : Blocks) {
 1076   for (Value *input : inputs) {
 1088   for (Value *output : outputs) {
 1107       ArgTypes.push_back((*v)->getType());
 1191   for (BasicBlock *Block : Blocks) {
 1327   Function *oldFunc = (*Blocks.begin())->getParent();
 1331   for (BasicBlock *Block : Blocks) {
 1392   BasicBlock *header = *Blocks.begin();
 1411     for (BasicBlock *Block : Blocks)
 1425   for (BasicBlock *Block : Blocks) {
 1482   for (auto *II : SinkingCands) {
 1491   for (auto *II : SinkingCands) {
 1500     for (auto *II : HoistingCands)
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
  106   for (const auto &Node : SortedNodes) {
  168   for (const auto &Name : NonImportedCallers) {
lib/Transforms/Utils/InlineFunction.cpp
  848   for (const MDNode *I : MD) {
  856   for (const MDNode *I : MD) {
 1737       for (auto &VH : InlinedFunctionInfo.OperandBundleCallSites) {
lib/Transforms/Utils/LCSSA.cpp
  390   for (Loop *SubLoop : L.getSubLoops())
  401   for (auto &L : *LI)
lib/Transforms/Utils/LoopSimplify.cpp
  819     Changed |= simplifyLoop(*I, DT, LI, SE, AC, MSSAU.get(), PreserveLCSSA);
  850         simplifyLoop(*I, DT, LI, SE, AC, MSSAU.get(), /*PreserveLCSSA*/ false);
lib/Transforms/Utils/LoopUnroll.cpp
  109   for (BasicBlock *BB : Blocks) {
  584   for (Loop *SubLoop : *L)
  621         for (PHINode *OrigPHI : OrigPHINode) {
  684     for (BasicBlock *NewBlock : NewBlocks) {
  695   for (PHINode *PN : OrigPHINode) {
  829     for (auto *BB : OriginalLoopBlocks) {
  832       for (auto *ChildDomNode : BBDomNode->getChildren()) {
  851         for (BasicBlock *Iter : TermBlocks) {
  875   for (BasicBlock *Latch : Latches) {
lib/Transforms/Utils/LoopUnrollAndJam.cpp
  181   Loop *SubLoop = *L->begin();
  381     for (BasicBlock *NewBlock : NewBlocks) {
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  851       for (auto *DomChild : DomNodeBB->getChildren()) {
  878   for (BasicBlock *BB : NewBlocks) {
lib/Transforms/Utils/LoopUtils.cpp
  500     for (DomTreeNode *Child : Worklist[I]->getChildren())
lib/Transforms/Utils/LoopVersioning.cpp
  273     for (Loop *TopLevelLoop : *LI)
lib/Transforms/Utils/LowerSwitch.cpp
  267     return newLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock,
  277   CaseRange &Pivot = *(Begin + Mid);
  429         *I = *J;
  429         *I = *J;
  524     for (const auto &I : Cases) {
lib/Transforms/Utils/MetaRenamer.cpp
   89       for (auto C : M.getModuleIdentifier())
  115       for (StructType *STy : StructTypes) {
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  661   for (Instruction *A : Allocas) {
lib/Transforms/Utils/SimplifyCFG.cpp
 1179       for (ValueEqualityComparisonCase &V : PredCases)
lib/Transforms/Utils/SymbolRewriter.cpp
  570   for (const auto &MapFile : MapFiles)
lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
   67     for (BasicBlock *BB : UnreachableBlocks) {
  103   for (BasicBlock *BB : ReturningBlocks) {
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  851   for (const std::pair<ChainID, InstrList> &Chain : Map) {
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  348   for (Loop *SubLp : *Lp)
 1080   for (Loop *SubLp : *Lp)
lib/Transforms/Vectorize/LoopVectorize.cpp
 1575   for (Loop *InnerL : L)
 3002   for (auto &InductionEntry : *List) {
 3293   for (const auto &KV : Cost->getMinimalBitwidths()) {
 3396   for (const auto &KV : Cost->getMinimalBitwidths()) {
 3444   for (auto &Entry : *Legal->getInductionVars())
 4460   for (auto &Induction : *Legal->getInductionVars()) {
 4503   for (auto &Induction : *Legal->getInductionVars()) {
 4785   for (auto &Induction : *Legal->getInductionVars()) {
 6372   for (auto &Induction : *Legal->getInductionVars()) {
 6536   for (auto &Induction : *Legal->getInductionVars()) {
 7173     for (Instruction *Instr : Ingredients) {
 7838   for (auto &L : *LI)
 7847   for (Loop *L : *LI)
lib/Transforms/Vectorize/SLPVectorizer.cpp
  564     for (auto &Iter : BlocksSchedules) {
 4242   for (auto &BSIter : BlocksSchedules) {
 4395   for (Instruction *I : GatherSeq) {
 4426   for (BasicBlock *BB : CSEBlocks)
 6399     for (auto &Pair : ExtraArgs) {
 6485       for (auto &Pair : ExternallyUsedValues) {
 7023   for (auto &Entry : GEPs) {
 7088       for (auto *V : Candidates) {
lib/XRay/InstrumentationMap.cpp
  197   for (const auto &Y : YAMLSleds) {
lib/XRay/LogBuilderConsumer.cpp
   31   for (auto *V : Visitors)
lib/XRay/Profile.cpp
   31     for (const auto &PathData : Block.PathData)
  180       Node = *CalleeIt;
  206       for (const auto &PathAndData : Block.PathData) {
  239       for (const auto &PathAndData : Block.PathData) {
  338   for (const auto &E : T) {
lib/XRay/Trace.cpp
  300     for (auto &R : FDRRecords)
  311       for (auto &B : Blocks) {
  313         for (auto *R : B.Records)
  337       for (auto &B : Blocks) {
  338         for (auto *R : B.Records)
projects/openmp/libomptarget/src/omptarget.cpp
  790   for (auto it : fpArrays) {
projects/openmp/libomptarget/src/rtl.cpp
  333     for (auto *R : RTLs.UsedRTLs) {
tools/bugpoint/CrashDebugger.cpp
  296     for (auto *F : ToRemove) {
  353   for (auto A : Attrs)
  520     for (const auto &BI : BlockInfo) {
  568   for (const auto *BB : BBs)
  627     for (auto &BI : BlockInfo) {
  672   for (const auto *BB : BBs)
  719     for (auto &BI : BlockInfo) {
  847   for (const std::string &Name : NamedMDs)
  860   for (auto *NamedMD : ToDelete)
 1129     for (std::string &Name : FunctionNames) {
tools/bugpoint/ExtractFunction.cpp
  393   for (BasicBlock *BB : BBs) {
tools/bugpoint/Miscompilation.cpp
  391       for (Function *F : MiscompiledFunctions) {
tools/bugpoint/OptimizerDriver.cpp
  219     pass_args.push_back(std::string("-") + (*I));
tools/bugpoint/ToolRunner.cpp
  180     LLIArgs.push_back(*i);
  271   for (const auto &Arg : CompilerArgs)
  276   for (const auto &Arg : CompilerArgs)
  639     CCArgs.push_back(*I);
  787     CCArgs.push_back(*I);
tools/bugpoint/bugpoint.cpp
  227   for (const PassInfo *PI : PassList)
tools/clang/include/clang/AST/OpenMPClause.h
 4484     for (auto &M : ComponentListMap) {
tools/clang/include/clang/AST/RecursiveASTVisitor.h
  182     for (Decl *D : AST.getTraversalScope())
tools/clang/include/clang/Analysis/PathDiagnostic.h
  647     for (auto &I : *this)
tools/clang/include/clang/Basic/TargetInfo.h
 1317     for (const auto &Ext : getTargetOpts().OpenCLExtensionsAsWritten) {
tools/clang/include/clang/Sema/TemplateInstCallback.h
   45   for (auto &C : Callbacks) {
   54   for (auto &C : Callbacks) {
   64   for (auto &C : Callbacks) {
   74   for (auto &C : Callbacks) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
 1133     for (const std::pair<CallDescription, T> &I : LinearMap)
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
  517       return *G->roots_begin();
tools/clang/include/clang/Tooling/DiagnosticsYaml.h
   40     for (auto &Fix : Fixes) {
tools/clang/include/clang/Tooling/Transformer/Stencil.h
  122     for (const auto &Part : Parts)
tools/clang/lib/ARCMigrate/ARCMT.cpp
  205     if (!StringRef(*I).startswith("error"))
  206       WarnOpts.push_back(*I);
tools/clang/lib/ARCMigrate/Transforms.cpp
  332       (*I)->traverseObjCImplementation(ImplCtx);
  345       (*I)->traverseBody(BodyCtx);
  356     delete *I;
  512     (*I)->traverseTU(*this);
tools/clang/lib/AST/CXXInheritance.cpp
  738   for (auto &OM : FinalOverriders) {
  739     for (auto &SO : OM.second) {
tools/clang/lib/AST/CommentBriefParser.cpp
   28     const char C = *I;
   31         *O++ = ' ';
   36       *O++ = C;
   40   if (O != S.begin() && *(O - 1) == ' ')
tools/clang/lib/AST/CommentCommandTraits.cpp
   29     registerBlockCommand(*I);
tools/clang/lib/AST/ExternalASTMerger.cpp
  258   for (const std::unique_ptr<ASTImporter> &I : Importers)
  273   for (const std::unique_ptr<ASTImporter> &I : Importers)
  288     for (const std::unique_ptr<ASTImporter> &Importer : Importers) {
  406   for (const auto &I : Importers)
tools/clang/lib/AST/Interp/Disasm.cpp
   66   for (auto &Anon : AnonFuncs) {
tools/clang/lib/AST/VTableBuilder.cpp
  179   for (const auto &Overrider : FinalOverriders) {
  183     for (const auto &M : Methods) {
 3424   for (const BaseSubobject &BSO : FullPath) {
 3536       for (const BaseSubobject &BSO : *BestPath)
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  551     for (const auto &MP : Matchers) {
  574     for (unsigned short I : Filter) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
   44   for (const std::string &S : Matches)
  164     for (auto &IM : InnerMatchers) {
  351   for (StringRef Name : Names)
  525     for (const StringRef Pattern : Names) {
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h
  600     for (const auto &O : Overloads) {
  621     for (const auto &O : Overloads) {
  631     for (const auto &O : Overloads) {
  640     for (const auto &O : Overloads) {
  649     for (const auto &O : Overloads) {
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp
  547   for (const auto &Completion : S->getMatcherCompletions(AcceptedTypes)) {
  551   for (const auto &Completion : getNamedValueCompletions(AcceptedTypes)) {
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  625         for (const std::vector<ArgKind> &Arg : ArgsKinds) {
  632           for (const ArgKind &AK : Arg) {
tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp
  165     for (const DynTypedMatcher &Matcher : Matchers) {
  207     for (const VariantMatcher &Matcher : Args) {
tools/clang/lib/Analysis/CloneDetection.cpp
  355   for (CloneDetector::CloneGroup &Group : Sequences) {
  479   for (auto &HashGroup : CloneGroups) {
tools/clang/lib/Analysis/LiveVariables.cpp
  637     llvm::errs() << "\n[ B" << (*it)->getBlockID()
  640     LiveVariables::LivenessValues vals = blocksEndToLiveness[*it];
  655       llvm::errs() << " " << (*di)->getDeclName().getAsString()
  657       (*di)->getLocation().print(llvm::errs(), M);
tools/clang/lib/Analysis/PathDiagnostic.cpp
  413   for (const auto D : BatchDiags)
 1100   for (const auto &I : *this)
tools/clang/lib/Analysis/ReachableCode.cpp
  698       numReachable += scanMaybeReachableFromBlock(*I, PP, reachable);
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp
  880   for (auto *A : CurrentArguments)
  901   for (auto *V : CurrentInstructions)
  943   for (auto *Ph : IncompleteArgs) {
tools/clang/lib/Basic/Diagnostic.cpp
  466   for (diag::kind Diag : AllDiags)
  784     for (char c : S) {
tools/clang/lib/Basic/Module.cpp
   69     delete *I;
  249       if (auto FE = FileMgr.getFile(*I))
  310       if (needUpdate(*Sub))
  311         Stack.push_back(*Sub);
  344     Module *Mod = *I;
  524     if (!(*MI)->IsInferred || (*MI)->IsFramework)
  524     if (!(*MI)->IsInferred || (*MI)->IsFramework)
  525       (*MI)->print(OS, Indent + 2);
  645     for (auto &C : V.M->Conflicts) {
tools/clang/lib/Basic/SanitizerSpecialCaseList.cpp
   38   for (auto &S : Sections) {
   57   for (auto &S : SanitizerSections)
tools/clang/lib/Basic/SourceManager.cpp
  292   return &*--I;
tools/clang/lib/Basic/TargetInfo.cpp
  405   for (const auto &F : FeatureVec) {
tools/clang/lib/Basic/Targets/AArch64.cpp
  286   for (const auto &Feature : Features) {
tools/clang/lib/Basic/Targets/AMDGPU.cpp
  233   for (auto &I : TargetOpts.FeaturesAsWritten) {
tools/clang/lib/Basic/Targets/ARM.cpp
  378   for (auto Feature : TargetFeatures)
  392   for (const auto &Feature : FeaturesVec) {
  428   for (const auto &Feature : Features) {
tools/clang/lib/Basic/Targets/Hexagon.cpp
   80   for (auto &F : Features) {
tools/clang/lib/Basic/Targets/Mips.h
  316     for (const auto &Feature : Features) {
tools/clang/lib/Basic/Targets/NVPTX.cpp
   43   for (const StringRef Feature : Opts.FeaturesAsWritten) {
tools/clang/lib/Basic/Targets/PPC.cpp
   34   for (const auto &Feature : Features) {
tools/clang/lib/Basic/Targets/RISCV.cpp
  148   for (const auto &Feature : Features) {
tools/clang/lib/Basic/Targets/SystemZ.h
  112     for (const auto &Feature : Features) {
tools/clang/lib/Basic/Targets/WebAssembly.cpp
  135   for (const auto &Feature : Features) {
tools/clang/lib/Basic/Targets/X86.cpp
  727   for (const auto &Feature : Features) {
tools/clang/lib/CodeGen/BackendUtil.cpp
  347     for (auto &FuncName : CodeGenOpts.getNoBuiltinFuncs())
  373   for (const auto &MapFile : Opts.RewriteMapFiles)
  502   for (const auto &Entry : HSOpts.UserEntries)
 1079   for (auto &PluginFN : CodeGenOpts.PassPlugins) {
 1387     for (auto &Summary : GlobalList.second.SummaryList) {
tools/clang/lib/CodeGen/CGCall.cpp
 1806   for (StringRef Attr : CodeGenOpts.DefaultFunctionAttrs) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 2385     for (auto &M : PPOpts.Macros) {
 2391       for (char c : Macro)
 4690       for (auto &MD : P.second)
 4697   for (const auto &P : ReplaceMap) {
 4710   for (const auto &P : FwdDeclReplaceMap) {
 4731   for (auto &RT : RetainedTypes)
tools/clang/lib/CodeGen/CGExprCXX.cpp
  499   for (CharUnits VBPtrOffset : VBPtrOffsets) {
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1576     for (auto *C : Categories) {
 1594     for (auto clsAlias : ClassAliases)
 1642       for (const auto &lateInit : EarlyInitList) {
 3669     for (auto &untypedSel : allSelectors) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 5590     for (const auto *Sym : DefinedSymbols)
 5593     for (const auto *Sym : LazySymbols)
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1327   for (const auto &Pair : DeferredVariantFunction) {
 8017     for (const auto &M : Info) {
 8126     for (const auto &M : Info) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 2301     for (auto &Rec : I->getSecond().LocalVarData) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  579   for (const auto &LocalAddrPair : LocalAddrs) {
tools/clang/lib/CodeGen/CGVTables.cpp
  997   for (const CXXRecordDecl *RD : DeferredVTables)
 1109   for (auto AP : AddressPoints) {
tools/clang/lib/CodeGen/CodeGenAction.cpp
  902     for (const CodeGenOptions::BitcodeFileToLink &F :
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  404   for (const auto &FuncletAndParent : TerminateFunclets)
 2224     for (const auto &F : ParsedAttr.Features) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
  300   for (const GlobalDecl &GD : Aliases) {
  360   for (const GlobalDecl &GD : Aliases) {
  977   for (StringRef Feat : Info.Features) {
 1165   for (const auto &I : Fns) {
 1629     for (const CXXRecordDecl *Base : getMostBaseClasses(MD->getParent())) {
 2018   for (Module *M : ImportedModules) {
 2036     for (const auto &SM : Mod->submodules()) {
 2060   for (Module *M : LinkModules)
 2099   for (GlobalDecl &D : CurDeclsToEmit) {
 2151   for (const CXXRecordDecl *RD : OpportunisticVTables) {
 2854   for (GlobalDecl GD : MultiVersionFuncs) {
 5429         if ((*Sub)->IsExplicit)
 5432         if (Visited.insert(*Sub).second)
 5433           Stack.push_back(*Sub);
 5517   for (const auto &Entry : DeferredEmptyCoverageMappingDecls.takeVector()) {
 5583   for (auto &I : StaticExternCValues) {
 5610   for (auto &I : MangledDeclNames) {
 5674     auto Val = *(MangledDeclNames.begin() + I);
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
   96   for (auto &entry : SelfReferences) {
  115     for (auto &entry : SelfReferences) {
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
  230     for (const auto &Region : SourceRegions) {
  310     for (const auto &Region : SourceRegions) {
 1395   for (auto &S : CoverageMappings) {
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  752       for (const CXXRecordDecl *Base : CGM.getMostBaseClasses(RD)) {
tools/clang/lib/CodeGen/ModuleBuilder.cpp
  149       for (auto &&Lib : CodeGenOpts.DependentLibraries)
  151       for (auto &&Opt : CodeGenOpts.LinkerOptions)
tools/clang/lib/DirectoryWatcher/DirectoryScanner.cpp
   47   for (const auto &File : Scan) {
tools/clang/lib/Driver/Driver.cpp
 1631     for (StringRef S : DiagnosticIDs::getDiagnosticFlags())
 1775     for (const Multilib &Multilib : TC.getMultilibs())
tools/clang/lib/Driver/Multilib.cpp
   92   for (StringRef Flag : Flags) {
  118   for (const auto &Flag : Flags)
  121   for (const auto &Flag : Other.Flags)
  145   for (StringRef Flag : M.flags()) {
  199       for (const auto &Base : *this) {
  249   for (StringRef Flag : Flags)
  253     for (StringRef Flag : M.flags()) {
  290   for (const auto &M : *this)
tools/clang/lib/Driver/SanitizerArgs.cpp
  955   for (const auto &BLPath : BlacklistFiles) {
  960   for (const auto &Dep : ExtraDeps) {
tools/clang/lib/Driver/ToolChain.cpp
  859     for (const auto &P :
tools/clang/lib/Driver/ToolChains/Clang.cpp
 5746   for (auto EHVal : EHArgs) {
tools/clang/lib/Driver/ToolChains/CrossWindows.cpp
  238     for (const auto &P : DriverArgs.getAllArgValues(options::OPT_isystem_after))
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  404   for (const auto& A : Args.getAllArgValues(options::OPT_Xcuda_ptxas))
  487   for (const auto& A : Args.getAllArgValues(options::OPT_Xcuda_fatbinary))
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
  219         for (const auto &Path : PathsCallback(SelectedMultilib))
tools/clang/lib/Driver/ToolChains/Gnu.cpp
  421   for (const auto &Opt : ToolChain.ExtraOpts)
 1860   for (const auto &Multilib : Multilibs)
tools/clang/lib/Driver/ToolChains/HIP.cpp
  151   for(auto OneFeature : Features) {
  314   for (auto Path :
  323   for (auto Lib : DriverArgs.getAllArgValues(options::OPT_hip_device_lib_EQ)) {
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  232   for (const auto &Opt : HTC.ExtraOpts)
  341       for (StringRef Lib : OsLibs)
  443   for (auto &Dir : RootDirs) {
tools/clang/lib/Driver/ToolChains/Linux.cpp
  216     for (const auto &Path : PathsCallback(Multilib))
  690       for (const auto &Path : Callback(GCCInstallation.getMultilib()))
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  353     for (const auto &LibPath : Args.getAllArgValues(options::OPT_L))
  669   for (const auto &Include : Includes)
 1239   for (const auto &Path : DriverArgs.getAllArgValues(options::OPT__SLASH_imsvc))
tools/clang/lib/Driver/ToolChains/MinGW.cpp
   86   for (auto Lib : Args.getAllArgValues(options::OPT_l))
  204   for (auto Lib : Args.getAllArgValues(options::OPT_l)) {
tools/clang/lib/Driver/ToolChains/MipsLinux.cpp
   59     for (const auto &Path : Callback(SelectedMultilib))
   99     for (std::string Path : Callback(SelectedMultilib)) {
tools/clang/lib/Driver/ToolChains/Solaris.cpp
  258       for (const auto &Path : Callback(GCCInstallation.getMultilib()))
tools/clang/lib/Driver/XRayArgs.cpp
  103       for (const auto &B : Bundles) {
  130     for (const auto &Filename :
  139     for (const auto &Filename :
  148     for (const auto &Filename :
  162       for (const auto &Arg : SpecifiedModes) {
  197   for (const auto &Always : AlwaysInstrumentFiles) {
  203   for (const auto &Never : NeverInstrumentFiles) {
  209   for (const auto &AttrFile : AttrListFiles) {
  215   for (const auto &Dep : ExtraDeps) {
  221   for (const auto &Mode : Modes) {
tools/clang/lib/Format/ContinuationIndenter.cpp
  176   for (const auto &Format : Style.RawStringFormats) {
  185   for (const auto &RawStringFormat : CodeStyle.RawStringFormats) {
  198     for (StringRef Delimiter : RawStringFormat.Delimiters) {
  201     for (StringRef EnclosingFunction : RawStringFormat.EnclosingFunctions) {
tools/clang/lib/Format/Format.cpp
 2116     for (StringRef CommentLine : Imports[Index].AssociatedCommentLines) {
tools/clang/lib/Format/FormatTokenLexer.cpp
   38   for (const std::string &ForEachMacro : Style.ForEachMacros)
   40   for (const std::string &StatementMacro : Style.StatementMacros)
   42   for (const std::string &TypenameMacro : Style.TypenameMacros)
   44   for (const std::string &NamespaceMacro : Style.NamespaceMacros)
tools/clang/lib/Format/UnwrappedLineFormatter.cpp
  717   for (const ParenState &P : State.Stack) {
tools/clang/lib/Frontend/ASTUnit.cpp
  173     for (const auto &RF : PreprocessorOpts.RemappedFiles) {
  189     for (const auto &RB : PreprocessorOpts.RemappedFileBuffers) {
  264     for (const auto &RB : PPOpts.RemappedFileBuffers)
 1031     for (const auto *D : TopLevelDecls) {
 1435   for (const auto TopLevelDecl : TopLevelDeclsInPreamble) {
 1843   for (const auto &RB : PPOpts.RemappedFileBuffers)
 2388     for (const auto &Range : SD.Ranges) {
 2396     for (const auto &FixIt : SD.FixIts) {
 2625     if (!Fn(context, *TL))
tools/clang/lib/Frontend/CompilerInstance.cpp
  204   for (const std::string &VFSFile : CI.getHeaderSearchOpts().VFSOverlayFiles) {
  334   for (const auto &RB : InitOpts.RemappedFileBuffers) {
  352   for (const auto &RF : InitOpts.RemappedFiles) {
  448   for (auto &Listener : DependencyCollectors)
  957   for (const FrontendInputFile &FIF : getFrontendOpts().Inputs) {
 1517     for (auto &Listener : DependencyCollectors)
 1904           unsigned ED = Name.edit_distance((*J)->Name,
 1913             Best.push_back((*J)->Name);
tools/clang/lib/Frontend/CompilerInvocation.cpp
  575   for (const auto &Level : Levels) {
  596   for (const auto &Sanitizer : Sanitizers) {
  772   for (const auto &Arg : Args.getAllArgValues(OPT_fdebug_prefix_map_EQ))
 1096     for (const auto &A : XRayInstrBundles)
 1490   for (const auto &Prefix : VerifyPrefixes) {
 1808   for (const std::string &Arg :
 3574   for (StringRef Feature : LangOpts->ModuleFeatures)
 3580   for (const auto &FeatureAsWritten : TargetOpts->FeaturesAsWritten)
 3588   for (const auto &I : getPreprocessorOpts().Macros) {
 3636   for (const auto &ext : frontendOpts.ModuleFileExtensions) {
 3700   for (const auto &File : CI.getHeaderSearchOpts().VFSOverlayFiles) {
tools/clang/lib/Frontend/DependencyFile.cpp
  188   for (const auto &ExtraDep : Opts.ExtraDeps) {
  331   for (StringRef Target : Targets) {
tools/clang/lib/Frontend/FrontendAction.cpp
  157   for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) {
  215   for (auto &C : AfterConsumers) {
  409             LangOpts, FileMgr, Diag, ModMap, *Sub, Includes))
  677   for (const auto &F : CI.getFrontendOpts().ModulesEmbedFiles) {
  795   for (const auto &Filename : CI.getFrontendOpts().ModuleMapFiles) {
  900   for (const auto &ModuleFile : CI.getFrontendOpts().ModuleFiles)
tools/clang/lib/Frontend/FrontendActions.cpp
  257   for (const FrontendInputFile &FIF : Inputs) {
  288   for (StringRef Name : ModuleHeaders) {
  536         for (StringRef Feature : LangOpts.ModuleFeatures)
  572       for (const std::string &Warning : DiagOpts->Warnings)
  574       for (const std::string &Remark : DiagOpts->Remarks)
tools/clang/lib/Frontend/HeaderIncludeGen.cpp
  121   for (const auto &Header : DepOpts.ExtraDeps)
tools/clang/lib/Frontend/InitHeaderSearch.cpp
  559   for (auto &Include : IncludePath)
  567   for (auto &Include : IncludePath)
  574   for (auto &Include : IncludePath)
  583   for (auto &Include : IncludePath)
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  265         for (auto Name : Symbol.Names) {
tools/clang/lib/Frontend/MultiplexConsumer.cpp
   42   for (auto &Listener : Listeners)
   72   for (auto &Listener : Listeners)
  155   for (auto &Listener : Listeners)
  165   for (auto *L : Listeners)
  184   for (auto &Listener : Listeners)
  214   for (ASTMutationListener *L : Listeners)
  219   for (auto *L : Listeners)
  224   for (auto *L : Listeners)
  231   for (auto *L : Listeners)
  244   for (auto &Consumer : Consumers) {
  264   for (auto &Consumer : Consumers)
  270   for (auto &Consumer : Consumers)
  276   for (auto &Consumer : Consumers)
  281   for (auto &Consumer : Consumers)
  286   for (auto &Consumer : Consumers)
  291   for (auto &Consumer : Consumers)
  296   for (auto &Consumer : Consumers)
  301   for (auto &Consumer : Consumers)
  306   for (auto &Consumer : Consumers)
  311   for (auto &Consumer : Consumers)
  316   for (auto &Consumer : Consumers)
  321   for (auto &Consumer : Consumers)
  326   for (auto &Consumer : Consumers)
  331   for (auto &Consumer : Consumers)
  344   for (auto &Consumer : Consumers)
  350   for (auto &Consumer : Consumers)
  356   for (auto &Consumer : Consumers)
  362   for (auto &Consumer : Consumers)
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  447   for (const auto &R : PreprocessorOpts.RemappedFiles) {
  461   for (const auto &RB : PreprocessorOpts.RemappedFileBuffers) {
tools/clang/lib/Frontend/TextDiagnosticBuffer.cpp
   54   for (const auto &I : All) {
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  428     if (!(Prefixes.size() == 1 ? PH.Search(*Prefixes.begin(), true, true)
  879   for (const auto *D : DL) {
  927   for (auto &Owner : Left) {
tools/clang/lib/Index/FileIndexRecord.cpp
   45   for (auto &DclInfo : Decls) {
tools/clang/lib/Lex/HeaderSearch.cpp
  135   for (auto &HM : HeaderMaps)
  157   for (const std::string &Dir : HSOpts->PrebuiltModulePaths) {
tools/clang/lib/Lex/Lexer.cpp
  383   Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin()));
tools/clang/lib/Lex/ModuleMap.cpp
 1296   for (auto &UC : Unresolved) {
tools/clang/lib/Lex/PPLexerChange.cpp
  263   for (auto *M : Mod.submodules())
tools/clang/lib/Lex/PPMacroExpansion.cpp
 1037     for (const auto &Lexer : MacroExpandingLexersStack) {
tools/clang/lib/Lex/PreprocessingRecord.cpp
  229     if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(),
  297                                            (*I)->getSourceRange().getBegin())) {
tools/clang/lib/Lex/Preprocessor.cpp
 1380     if ((*H)->HandleComment(*this, Comment))
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 1531     for (const auto &P : uses) {
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  573       for (const FixItHint &FixIt : Results[I].FixIts) {
tools/clang/lib/Sema/Sema.cpp
  324       for (auto &I : Atomic64BitTypes)
  659   for (const auto &UndefinedUse : UndefinedButUsed) {
  940   for (const auto &Typo : DelayedTypos) {
 1016   for (auto WeakID : WeakUndeclaredIdentifiers) {
 1228     for (const auto &DeletedFieldInfo : DeleteExprs) {
 1417   for (PartialDiagnosticAt &PDAt : It->second) {
 1553     for (std::pair<CanonicalDeclPtr<FunctionDecl>, SourceLocation> FDLoc :
tools/clang/lib/Sema/SemaCodeComplete.cpp
 1963         for (auto *MD : it->second) {
 4043             Builder.getAllocator().CopyString((*Sub)->Name));
 4046             (*Sub)->isAvailable() ? CXAvailability_Available
 8756     for (const auto &D : make_range(S.quoted_dir_begin(), S.quoted_dir_end()))
 8759   for (const auto &D : make_range(S.angled_dir_begin(), S.angled_dir_end()))
 8761   for (const auto &D : make_range(S.system_dir_begin(), S.system_dir_end()))
tools/clang/lib/Sema/SemaDecl.cpp
 9679   for (const auto &Feat : ParseInfo.Features) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
 2987   for (const auto &Feature : ParsedAttrs.Features) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9595   for (ComparisonCategoryResult CCR :
tools/clang/lib/Sema/SemaDeclObjC.cpp
 4980   for (auto &SelectorAndLocation : ReferencedSelectors) {
tools/clang/lib/Sema/SemaExpr.cpp
14813     for (FixItHint &H : ConvHints.Hints)
tools/clang/lib/Sema/SemaExprCXX.cpp
  852   for (CXXRecordDecl *PublicSubobject : PublicSubobjectsSeen) {
tools/clang/lib/Sema/SemaLookup.cpp
 4291   for (auto KNPair : KnownNamespaces)
tools/clang/lib/Sema/SemaOpenMP.cpp
 2098              &Callee : CallerCallees.getSecond()) {
 6866     for (const auto &Pair : Captures)
tools/clang/lib/Sema/SemaOverload.cpp
10139     FDiag << *HI;
tools/clang/lib/Serialization/ASTReader.cpp
 4250     for (auto Offset : F.PreloadIdentifierOffsets) {
 7964     for (auto Lexical : TULexicalDecls)
 9800     for (RawComment *C : Comments) {
10057   for (auto *ND : PendingMergedDefinitionsToDeduplicate)
tools/clang/lib/Serialization/ASTWriter.cpp
 1603   for (StringRef Feature : LangOpts.ModuleFeatures)
 1613   for (const auto &I : LangOpts.CommentOpts.BlockCommandNames) {
 1620   for (auto &T : LangOpts.OMPTargetTriples)
 2436       for (auto &LE : L.second) {
 2455       for (const auto &LE : L.second) {
 2849     ChildModules += getNumberOfModules(*Sub);
 3060     for (const auto &C : Mod->Conflicts) {
 3069     for (const auto &CM : Mod->ConfigMacros) {
 3088     for (auto *M : Mod->submodules())
 3459     for (auto &SelectorAndID : SelectorIDs) {
 3556   for (auto &SelectorAndLocation : SemaRef.ReferencedSelectors) {
 3799     for (auto IdentIDPair : IdentifierIDs) {
 4462   for (auto &LPTMapEntry : LPTMap) {
 4807   for (auto &WeakUndeclaredIdentifier : SemaRef.WeakUndeclaredIdentifiers) {
 4859   for (const auto &I : SemaRef.KnownNamespaces) {
 4879     for (const auto &DeleteExprsInfo :
 4948   for (const auto &Number : Context.MangleNumbers)
 4952   for (const auto &Number : Context.StaticLocalNumbers)
 4992   for (auto &SelectorAndID : SelectorIDs)
 5246   for (const auto &ExtWriter : ModuleFileExtensionWriters)
 5259   for (auto &DeclUpdate : LocalUpdates) {
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  182       for (const auto &F : Firsts)
tools/clang/lib/Serialization/ModuleManager.cpp
  417         if (State->VisitNumber[(*M)->Index] != VisitNumber) {
  418           State->Stack.push_back(*M);
  419           State->VisitNumber[(*M)->Index] = VisitNumber;
tools/clang/lib/Serialization/MultiOnDiskHashTable.h
  322         for (const auto &F : Merged->Files)
tools/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
   48   const ExplodedNode *GraphRoot = *G.roots_begin();
tools/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp
  114   for (const CloneDetector::CloneGroup &Group : CloneGroups) {
  133   for (const CloneDetector::CloneGroup &Group : CloneGroups) {
  166   for (VariablePattern::SuspiciousClonePair &Pair : Pairs) {
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  323   for (auto &P : Config.Propagations) {
  329   for (auto &F : Config.Filters) {
  334   for (auto &S : Config.Sinks) {
tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
  357   for (const auto &VRS: Summary.Ranges) {
  359     for (const auto &VR: VRS) {
  463   for (const FunctionSummaryTy &Spec : SpecVariants)
tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
   52     delete *I;
   61     (*I)->FlushDiagnostics(&filesMade);
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 1993   for (const std::string &CheckerOrPackage : Opts.SilencedCheckersAndPackages) {
 2028     for (const PathDiagnosticPieceRef &Note : VisitorNotes->second) {
 2398   for (const auto I : EQClassesVector)
 2405   for (const auto EQ : EQClassesVector)
 2520   WS.push(*TrimmedGraph->roots_begin());
tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp
   88     for (const auto &info : DeclCheckers)
  102   for (const auto BodyChecker : BodyCheckers)
  139       checkCtx.runChecker(*I, B, NI);
  405   for (const auto EndAnalysisChecker : EndAnalysisCheckers)
  458   for (const auto checkFn : EndFunctionCheckers) {
  545   for (const auto LiveSymbolsChecker : LiveSymbolsCheckers)
  602   for (const auto RegionChangesChecker : RegionChangesCheckers) {
  624   for (const auto PointerEscapeChecker : PointerEscapeCheckers) {
  638   for (const auto EvalAssumeChecker : EvalAssumeCheckers) {
  661     for (const auto EvalCallChecker : EvalCallCheckers) {
  700   for (const auto EndOfTranslationUnitChecker : EndOfTranslationUnitCheckers)
  900   for (const auto &Info : StmtCheckers)
  907   for (const auto CheckerDtor : CheckerDtors)
tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
  204     Dst.Add(*I);
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
  183   for (const auto node : ChangedNodes)
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 1961                         (*G.roots_begin())->getLocation().getLocationContext();
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  158   for (const auto Diag : Diags)
  300       os << "<h4 class=FileName>" << SMgr.getFileEntryForID(*I)->getName()
  310       R.InsertTextBefore(SMgr.getLocForStartOfFile(*I), os.str());
  314     for (auto I : llvm::make_range(FileIDs.begin() + 1, FileIDs.end())) {
  613   for (const auto &Range : PopUpRanges) {
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  617   for (const PathDiagnostic *D : Diags) {
  671     const PathDiagnostic *D = *DI;
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 1060       VisitBinding(*I);
 1319         if (const MemRegion *R = (*I).getAsRegion())
 2599       VisitBinding(*I);
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  140       const PathDiagnostic *PD = *I;
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
   95   if (!isInPackage(*It, CmdLineArg))
  203   for (const std::pair<std::string, bool> &Opt : AnOpts.CheckersAndPackages) {
  212     for (CheckerInfo &checker : CheckerForCmdLineArg) {
  264   for (const CheckerInfo &Checker : Checkers) {
  300     CheckerIt->Dependencies.emplace_back(&*DependencyIt);
  439   for (const auto *Checker : enabledCheckers) {
  516   for (const auto &Checker : Checkers) {
  533   for (const auto &Checker : Checkers) {
  562   for (const auto *i : EnabledCheckers)
  575   for (const CheckerInfo &Checker : Checkers) {
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  319   for (NodeId Leaf : Leaves) {
  651     for (SNodeId Id1 : S1.KeyRoots)
  652       for (SNodeId Id2 : S2.KeyRoots)
  790   for (const auto Tuple : R) {
  836   for (NodeId Id1 : Postorder) {
  872       for (NodeId Id : L1.pop())
  877       for (NodeId Id : L2.pop())
  884     for (NodeId Id1 : H1) {
  885       for (NodeId Id2 : H2) {
  892     for (NodeId Id1 : H1) {
  896     for (NodeId Id2 : H2) {
  931   for (NodeId Id1 : T1.NodesBfs) {
  942   for (NodeId Id2 : T2.NodesBfs) {
tools/clang/lib/Tooling/AllTUsExecution.cpp
  102   for (const auto& File : Compilations.getAllFiles()) {
  119     for (std::string File : Files) {
tools/clang/lib/Tooling/CommonOptionsParser.cpp
   77   for (CompileCommand &Command : Commands)
   78     for (const auto &Adjuster : Adjusters)
tools/clang/lib/Tooling/CompilationDatabase.cpp
  136   for (const auto &File : getAllFiles()) {
  335   assert(strcmp(*(End - 1), "-c") == 0);
tools/clang/lib/Tooling/Core/Replacement.cpp
  491   for (const auto &R : Ranges) {
  521   for (const auto &R : MergedRanges) {
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
  101       for (const auto &Entry : CI.getHeaderSearchOpts().UserEntries)
  103       for (const auto &Entry : CI.getHeaderSearchOpts().VFSOverlayFiles)
tools/clang/lib/Tooling/Execution.cpp
   33   for (const auto &KV : KVResults) {
tools/clang/lib/Tooling/FileMatchTrie.cpp
  127     for (const auto &Child : AllChildren) {
tools/clang/lib/Tooling/GuessTargetAndModeCompilationDatabase.cpp
   40     for (auto &Cmd : Cmds) {
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  181   for (const auto &Category : Style.IncludeCategories)
  244   for (const auto &Category : Style.IncludeCategories)
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  143       for (const std::string &S : OldArgs)
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp
  305     for (const auto *Node : Nodes)
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp
  227   for (const auto &Child : Node.Children)
  241   for (const auto &Child : Node.Children) {
  349     for (const auto &Child : ASTSelection.Children) {
  366   for (const auto &Child : ASTSelection.Children)
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
  242   for (const auto &R : NE.Replaces) {
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
  149   for (const auto &Occurrence : Occurrences) {
  211       for (const auto &Occurrence : Occurrences) {
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
   73       for (const auto &OverriddenMethod : OverriddenMethods) {
  122     for (const auto *PartialSpec : PartialSpecs) {
  157     for (const auto *Method : InstantiatedMethods) {
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  533   for (const auto &RenameInfo : Finder.getRenameInfos()) {
  577   for (const auto *Using : Finder.getUsingDecls())
tools/clang/lib/Tooling/RefactoringCallbacks.cpp
   46     for (const auto &Callback : Refactoring.Callbacks) {
   50     for (const auto &Callback : Refactoring.Callbacks) {
  203   for (const auto &Element : Template) {
tools/clang/lib/Tooling/Syntax/Tokens.cpp
  148     return {&File.SpelledTokens[It->BeginSpelled], /*Mapping*/ &*It};
  242   for (auto Mapping : File.Mappings) {
  604   for (FileID ID : Keys) {
  620     for (auto &M : File.Mappings) {
tools/clang/lib/Tooling/Tooling.cpp
  215   for (auto &FilenameWithContent : VirtualMappedFiles) {
  252       StringRef TokenRef(*Token);
  317   for (const std::string &Str : CommandLine)
  439   for (StringRef Arg : Args)
  456     for (const auto &MappedFile : MappedFileContents)
  468   for (const auto &SourcePath : SourcePaths) {
  490   for (llvm::StringRef File : AbsolutePaths) {
  505     for (CompileCommand &CompileCommand : CompileCommandsForFile) {
  522         for (const auto &MappedFile : MappedFileContents)
tools/clang/lib/Tooling/Transformer/Stencil.cpp
  262   for (auto &Part : OtherStencil.Parts)
  269   for (const auto &Part : Parts)
tools/clang/lib/Tooling/Transformer/Transformer.cpp
   24   for (auto &Matcher : transformer::detail::buildMatchers(Rule))
   59   for (const auto &I : Case.AddedIncludes) {
tools/clang/tools/arcmt-test/arcmt-test.cpp
  145   for (const auto &RB : PPOpts.RemappedFileBuffers)
tools/clang/tools/clang-format/ClangFormat.cpp
  540   for (const auto &FileName : FileNames) {
tools/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp
   28   for (auto &A : ExtraArgs)
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
   59   for (auto &A : ExtraArgs) {
tools/clang/tools/clang-import-test/clang-import-test.cpp
  355   for (auto I : Imports) {
  365     for (auto &ImportCI : ImportCIs) {
  371     for (auto &ImportCI : ImportCIs)
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  327     for (auto &T : TargetNames) {
  338     for (auto &T : TargetNames) {
  676   for (auto &I : InputFileNames) {
  701   for (auto &Triple : TargetNames) {
  739   for (auto &Triple : TargetNames) {
  740     Worklist[Triple] = *Output;
  872   for (StringRef Target : TargetNames) {
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  339   for (const std::string &File : Inputs) {
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  261     for (const auto &Rule : this->ActionRules) {
  274     for (const auto &Rule : this->ActionRules) {
  354     for (const auto &Action : Actions) {
  363     for (auto &Action : Actions) {
  480     for (const auto &Change : Changes)
  536     for (const auto &Rule : Subcommand.getActionRules()) {
  590       for (const auto &Subcommand : SubCommands)
  596     RefactoringActionSubcommand *Subcommand = &(**It);
tools/clang/tools/clang-refactor/TestSupport.cpp
   33   for (const auto &Group : GroupedRanges) {
   52   for (const auto &Group : GroupedRanges) {
   69   for (const auto &Change : Changes)
   87   for (const auto &Change : Changes)
  119     for (auto &Group : Results) {
  120       for (auto &Result : Group) {
tools/clang/tools/clang-rename/ClangRename.cpp
  116     for (const auto &Info : Infos) {
  142   for (const auto &NewName : NewNames) {
  167     for (const auto &PrevName : PrevNames) {
  224     for (const auto &File : Files) {
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp
  141   for (const auto &Command : Compilations->getAllCompileCommands())
  253   for (auto &W : WorkerThreads)
tools/clang/tools/diagtool/DiagTool.cpp
   55     out << "  " << (*it);
   60     out << getTool(*it)->getDescription() << '\n';    
tools/clang/tools/diagtool/ListWarnings.cpp
   41   for (const Entry &E : entries) {
tools/clang/tools/diagtool/ShowEnabledWarnings.cpp
  135   for (const PrettyDiag &PD : Active) {
tools/clang/tools/driver/cc1as_main.cpp
  245   for (const auto &Arg : Args.getAllArgValues(OPT_fdebug_prefix_map_EQ))
  510   for (auto &S : Opts.SymbolDefs) {
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
  178   for (const auto &Arg : InvocationInfo.Arguments)
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
  167   for (const auto &TU : TUs)
  168     for (const tooling::Replacement &R : TU.Replacements)
  171   for (const auto &TU : TUDs)
  172     for (const auto &D : TU.Diagnostics)
  202     for (const auto &R : FileAndReplacements.second) {
  248   for (const auto &Filename : Files) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  803   for (llvm::Regex &RE : WhiteListedSymbolRegexes)
  985     for (const auto &NsMove : NsMoves) {
 1008     for (const auto &FwdDeclInsertion : FwdDeclInsertions) {
tools/clang/tools/extra/clang-doc/BitcodeWriter.cpp
  124       for (const auto &Init : Inits)
  190       for (const auto &Init : Inits) {
  382   for (const auto &Block : RecordsByBlock) {
  393   for (RecordId RID : RIDs) {
  433   for (const auto &L : std::vector<std::pair<llvm::StringRef, RecordId>>{
  449   for (const auto &C : I.Children)
  460   for (const auto &CI : I.Description)
  462   for (const auto &C : I.ChildNamespaces)
  464   for (const auto &C : I.ChildRecords)
  466   for (const auto &C : I.ChildFunctions)
  468   for (const auto &C : I.ChildEnums)
  478   for (const auto &CI : I.Description)
  496   for (const auto &CI : I.Description)
  510   for (const auto &PB : I.Bases)
  512   for (const auto &C : I.ChildRecords)
  514   for (const auto &C : I.ChildFunctions)
  516   for (const auto &C : I.ChildEnums)
  531   for (const auto &C : I.ChildFunctions)
  541   for (const auto &CI : I.Description)
tools/clang/tools/extra/clang-doc/Generators.cpp
   86       I = &*It;
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  104     for (const auto &C : Children) {
  186   for (const auto &C : Children)
  193   for (const auto &A : Attributes)
  203   for (const auto &C : Children) {
  273   for (const auto &FilePath : CDCtx.UserStylesheets) {
  290   for (const auto &FilePath : CDCtx.JsScripts) {
  356   for (const auto &E : Enums) {
  385   for (const auto &F : Functions) {
  428   for (const auto &R : References) {
  567   for (const auto &C : Infos)
  591   for (const auto &C : Index.Children) {
  603     for (const auto &Child : I.Children) {
  611     for (const auto &Child : I.Children) {
  629   for (const auto &Child : C) {
  907         for (const Index &C : I.Children)
  991   for (const auto &FilePath : CDCtx.UserStylesheets) {
  996   for (const auto &FilePath : CDCtx.FilesToCopy) {
tools/clang/tools/extra/clang-doc/MDGenerator.cpp
   61     for (const auto &Child : I.Children)
   64     for (const auto &Child : I.Children)
   69     for (const auto &Child : I.Children)
   80     for (const auto &Child : I.Children)
  123   for (const auto &C : I.Description)
  150   for (const auto &C : I.Description)
  162     for (const auto &C : I.Description)
  169     for (const auto &R : I.ChildNamespaces)
  175     for (const auto &R : I.ChildRecords)
  181     for (const auto &F : I.ChildFunctions)
  187     for (const auto &E : I.ChildEnums)
  199     for (const auto &C : I.Description)
  230     for (const auto &R : I.ChildRecords)
  236     for (const auto &F : I.ChildFunctions)
  242     for (const auto &E : I.ChildEnums)
tools/clang/tools/extra/clang-doc/Representation.cpp
   41   for (auto &I : Values)
   59   for (auto &ChildToMerge : ChildrenToMerge) {
   71   for (auto &ChildToMerge : ChildrenToMerge) {
   83   for (auto &ChildToMerge : ChildrenToMerge) {
  272   for (auto &C : Children)
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  277       for (auto &Bitcode : Group.getValue()) {
tools/clang/tools/extra/clang-include-fixer/FuzzySymbolIndex.cpp
   21     for (auto &Symbol : Symbols) {
   33     for (const Entry &E : Symbols)
tools/clang/tools/extra/clang-include-fixer/InMemorySymbolIndex.cpp
   18   for (const auto &Symbol : Symbols)
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  422     for (const auto &Info : Context.getQuerySymbolInfos()) {
tools/clang/tools/extra/clang-include-fixer/IncludeFixerContext.cpp
   98   for (const auto &Symbol : MatchedSymbols) {
tools/clang/tools/extra/clang-include-fixer/SymbolIndexManager.cpp
   51   for (const auto &Symbol : Symbols) {
   94     for (const auto &DB : SymbolIndices) {
  102     for (auto &SymAndSig : Symbols) {
  152   for (auto &SymAndSig : MatchedSymbols)
tools/clang/tools/extra/clang-include-fixer/YamlSymbolIndex.cpp
   52   for (const auto &Symbol : Symbols) {
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/HeaderMapCollector.cpp
   19   for (const auto &Entry : *RegexHeaderMappingTable) {
   32   for (auto &Entry : RegexHeaderMappingTable) {
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp
   90   for (const auto &Context : Contexts) {
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
  105             for (auto &Symbol : Symbols) {
tools/clang/tools/extra/clang-include-fixer/plugin/IncludeFixerPlugin.cpp
   56     for (StringRef Arg : Args) {
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  243   for (const auto &Info : Context.getQuerySymbolInfos()) {
  254   for (const auto &Info : HeaderInfos) {
  361     for (auto &Symbol : MatchedSymbols) {
  404   for (const auto &Context : Contexts) {
  430     for (const auto &Context : Contexts) {
  460   for (const auto &Replacement : FixerReplacements) {
tools/clang/tools/extra/clang-move/Move.cpp
  386   for (const auto &Include : Includes)
  397   for (const auto *MovedDecl : Decls) {
  405       if (*CurrentIt != *DeclIt)
  405       if (*CurrentIt != *DeclIt)
  434       NewCode += "namespace " + *DeclIt + " {\n";
  447   for (const auto &NS : CurrentNamespaces)
  463   for (const auto *D : Decls) {
  735     for (const auto *D : HelperDeclarations) {
  747   for (const auto *RemovedDecl : RemovedDecls) {
  801   for (const auto *MovedDecl : MovedDecls) {
  815   for (const auto *D : NewCCDecls) {
tools/clang/tools/extra/clang-query/tool/ClangQuery.cpp
  120       QueryRef Q = QueryParser::parse(*I, QS);
  126       if (runCommandsInFile(argv[0], *I, QS))
tools/clang/tools/extra/clang-reorder-fields/tool/ClangReorderFields.cpp
   80   for (const auto &File : Files) {
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
   74     for (const ento::PathDiagnostic *PD : Diags) {
  346   for (StringRef CheckName : RegisteredCheckers) {
  359   for (StringRef CheckName : RegisteredCheckers) {
  413   for (auto &Check : Checks) {
  452   for (const auto &AnalyzerCheck : getAnalyzerCheckersAndPackages(
  465   for (const auto &Check : Checks)
  508           if (I != AdjustedArgs.end() && !StringRef(*I).startswith("-"))
  602   for (const auto &Error : Errors) {
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  451   for (const FileFilter &Filter : Context.getGlobalOptions().LineFilter) {
  455       for (const FileFilter::LineRange &Range : Filter.LineRanges) {
  639   for (auto &Error : Errors) {
  644   for (const auto &ErrorAndFix : ErrorFixes) {
  677     for (const auto &Event : Events) {
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
   53     for (const FileFilter::LineRange &Range : File.LineRanges) {
   74     for (const auto &KeyValue : Options)
  171   for (const auto &Source : getRawOptions(FileName))
  282   for (const ConfigFileHandler &ConfigHandler : ConfigHandlers) {
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
  115   for (auto Import : MF->Imports)
tools/clang/tools/extra/clang-tidy/GlobList.cpp
   56   for (const GlobListItem &Item : Items) {
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
  293     for (auto Comment : Comments) {
tools/clang/tools/extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp
  122     for (const auto *CurDecl : Declarations) {
  134       for (const auto *Decl : Declarations) {
  158       for (const auto *Def : Definitions) {
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
  164   for (auto &Context : Contexts) {
  171   for (const auto &Context : Contexts) {
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp
   54   for (const auto &KeyValue :
   78     for (const auto &KeyValue :
   88   for (const auto &Key :
tools/clang/tools/extra/clang-tidy/plugin/ClangTidyPlugin.cpp
   66     for (StringRef Arg : Args)
tools/clang/tools/extra/clang-tidy/readability/FunctionSizeCheck.cpp
  210   for (const auto &CSPos : FI.NestingThresholders) {
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.cpp
   77     for (const auto &InputValue : IgnoredFloatingPointValuesInput) {
tools/clang/tools/extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
  100     return *NewSuffix;
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  378     for (const std::string &Check : EnabledChecks) {
  396     for (const auto &CheckName : EnabledChecks)
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp
   73     for (const auto &MacroEntry : Macros) {
  231       for (const auto &MacroEntry : Macros) {
tools/clang/tools/extra/clang-tidy/utils/NamespaceAliaser.cpp
   57   for (const auto &Abbreviation : Abbreviations) {
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
   65     for (auto &Matcher : tooling::detail::buildMatchers(*Rule))
  101   for (const auto &I : Case.AddedIncludes) {
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  142   for (const auto &R : llvm::make_range(Ranges.begin() + 1, Ranges.end())) {
  463     for (OffsetEncoding Supported : *Params.capabilities.offsetEncoding)
  741         for (auto &Sym : *Items)
  862         for (auto &C : S.children)
  914   for (const Diagnostic &D : Params.context.diagnostics) {
  915     for (auto &F : getFixes(File.file(), D)) {
  931         for (const auto &T : *Tweaks)
  937         for (const auto &Action : Actions) {
  962                          for (const auto &R : List->Completions) {
  983                           for (auto &SigInfo : Signature->signatures) {
  984                             for (auto &Param : SigInfo.parameters)
 1020         for (auto &S : *Symbols) {
 1039         for (auto &S : *Symbols) {
 1323   for (auto &Diag : Diagnostics) {
 1356   for (const Path &FilePath : DraftMgr.getActiveFiles())
tools/clang/tools/extra/clangd/ClangdServer.cpp
  298   for (const tooling::Replacement &R :
  383     for (auto &T : prepareTweaks(*Selection, TweakFilter))
tools/clang/tools/extra/clangd/CodeComplete.cpp
  280       for (const auto &FixIt : C.SemaResult->FixIts) {
  534     for (llvm::StringRef AS : AccessibleScopes)
  575     for (auto &S : Scopes.scopesForIndexQuery()) {
  855       for (const auto &S : ScoredSignatures) {
  901     for (auto &SS : ScoredSignatures) {
 1272       for (const auto &Inc : Includes.MainFileIncludes)
 1373     for (std::string &S : Scopes.AccessibleScopes)
 1463     for (auto &C : Scored) {
 1557           UsedIndexResults.insert(&*I);
 1558           return &*I;
 1564     for (auto &SemaResult : SemaResults)
 1567     for (const auto &IndexResult : IndexResults) {
 1573     for (const auto &Ident : IdentifierResults)
 1578     for (auto &Bundle : Bundles)
 1826   for (const auto &FixIt : FixIts) {
 1858   for (const auto &C : R.Completions)
tools/clang/tools/extra/clangd/Compiler.cpp
   47   for (const auto &S : Inputs.CompileCommand.CommandLine)
tools/clang/tools/extra/clangd/Diagnostics.cpp
   69   for (auto &N : D.Notes) {
  244     for (auto &Note : D.Notes) {
  293     for (auto &Note : D.Notes) {
  302     for (auto &Fix : D.Fixes) {
  344     for (const auto &Fix : D.Fixes)
  353     for (auto &Note : D.Notes) {
  371     for (auto &Note : D.Notes) {
  402   for (auto &Diag : Output) {
  432         for (auto &Note : Diag.Notes)
  434         for (auto &Fix : Diag.Fixes)
tools/clang/tools/extra/clangd/FindSymbols.cpp
  125   for (auto &R : std::move(Top).items())
tools/clang/tools/extra/clangd/Format.cpp
  263   for (tooling::Range &R : Incremental.FormatRanges)
  274   for (auto &R : RangesToFormat) {
  332   for (auto Pass :
  355   for (const auto &R : Replacements) {
tools/clang/tools/extra/clangd/FormattedString.cpp
  120   for (const auto &C : Chunks) {
  151   for (const auto &C : Chunks) {
  179   for (const auto &C : Chunks) {
tools/clang/tools/extra/clangd/Function.h
   86     for (const auto &L : Listeners)
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp
  220     for (llvm::StringRef File : AllFiles) {
  235   for (llvm::StringRef File : AllFiles) {
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
   80   for (const auto *D : getIndexableLocalDecls(AST)) {
tools/clang/tools/extra/clangd/Headers.cpp
  153     for (const auto &Parent : PreviousLevel) {
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  136     auto &Matched = *Syms.begin();
  168   for (const auto &Sym : Syms) {
  315   for (const auto *Ctx : Collector.takeVisitedContexts()) {
  362       for (std::string &Scope : Unresolved.Scopes)
  446     auto &Matched = *Syms.begin();
tools/clang/tools/extra/clangd/ParsedAST.cpp
  164     for (const auto &Inc : Includes.MainFileIncludes) {
  302     for (const auto &Check : CTChecks) {
  320       for (const auto &Inc : Preamble->Includes.MainFileIncludes)
tools/clang/tools/extra/clangd/Protocol.cpp
  316         for (const auto &Format : *ContentFormat) {
tools/clang/tools/extra/clangd/RIFF.cpp
   72   for (const auto &C : F.Chunks)
   79   for (const auto &C : F.Chunks)
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  131     for (const auto &M : AST.getMacros().Ranges)
  476     for (const auto &Token : Line.Tokens) {
tools/clang/tools/extra/clangd/XRefs.cpp
  249   for (auto &Inc : AST.getIncludeStructure().MainFileIncludes) {
  289   for (const Decl *D : getDeclAtPosition(AST, SourceLocationBeg)) {
  359     for (const Decl *D : TargetDecls)
  425   for (const auto &Ref : References) {
  946   for (const auto &Ref : MainFileRefs) {
  962     for (const Decl *D : Decls) {
  992   for (const Decl *D : getDeclAtPosition(AST, Loc)) {
 1143   for (const CXXRecordDecl *ParentDecl : typeParents(&CXXRD)) {
tools/clang/tools/extra/clangd/benchmarks/IndexBenchmark.cpp
   56   for (const auto &Item : *JSONArray->getAsArray()) {
   72     for (const auto &Request : Requests)
   81     for (const auto &Request : Requests)
tools/clang/tools/extra/clangd/index/Background.cpp
  100   for (auto &Include : Node.DirectIncludes) {
  178     for (auto &Cmd : NeedsReIndexing)
  246   for (const auto &Sym : *Index.Symbols) {
  268   for (const auto &SymRefs : *Index.Refs) {
  279   for (const auto &Rel : *Index.Relations) {
  458     for (auto &LS : Result) {
  488   for (auto &LS : Result) {
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp
  105     for (PathRef Edge : ShardAndEdges.second) {
tools/clang/tools/extra/clangd/index/BackgroundQueue.cpp
   80     for (Task &T : Tasks)
   97   for (Task &T : Queue)
tools/clang/tools/extra/clangd/index/FileIndex.cpp
  141     for (const auto &Slab : SymbolSlabs) {
  142       for (const auto &Sym : *Slab) {
  150     for (const RefSlab *Refs : MainFileRefs)
  151       for (const auto &Sym : *Refs) {
  167     for (const auto &Slab : SymbolSlabs)
  168       for (const auto &Sym : *Slab) {
  183     for (const auto &RefSlab : RefSlabs)
  184       for (const auto &Sym : *RefSlab) {
  203   for (const auto &RelationSlab : RelationSlabs) {
  204     for (const auto &R : *RelationSlab)
  210   for (const auto &Slab : SymbolSlabs)
  212   for (const auto &RefSlab : RefSlabs)
  214   for (const auto &RelationSlab : RelationSlabs)
tools/clang/tools/extra/clangd/index/MemIndex.cpp
   55   for (const auto &Item : Results)
   98       for (const auto &Obj : It->second) {
tools/clang/tools/extra/clangd/index/MemIndex.h
   25     for (const Symbol &S : Symbols)
   27     for (const std::pair<SymbolID, llvm::ArrayRef<Ref>> &R : Refs)
   29     for (const Relation &R : Relations)
tools/clang/tools/extra/clangd/index/Merge.cpp
   59     Callback(mergeSymbol(*DynS, S));
   64   for (const Symbol &S : Dyn)
tools/clang/tools/extra/clangd/index/Serialization.cpp
  171     for (llvm::StringRef S : Sorted) {
  264   for (llvm::StringRef &Include : IGN.DirectIncludes)
  278   for (llvm::StringRef Include : IGN.DirectIncludes)
  359   for (auto &Ref : Result.second) {
  396   for (llvm::StringRef C : Cmd.CommandLine)
  405   for (llvm::StringRef &C : Cmd.CommandLine)
  431   for (const auto &Chunk : RIFF->Chunks)
  458       for (auto &Include : Entry->getValue().DirectIncludes)
  479       for (const auto &Ref : RefsBundle.second) // FIXME: bulk insert?
  506     for (llvm::StringRef C : Cmd.CommandLine)
  515   for (llvm::StringRef &Include : IGN.DirectIncludes)
  533   for (const auto &Sym : *Data.Symbols) {
  548     for (const auto &Sym : *Data.Refs) {
  550       for (auto &Ref : Refs.back().second) {
  560     for (const auto &Relation : *Data.Relations) {
  571     for (llvm::StringRef C : Data.Cmd->CommandLine) {
  587     for (const auto &Sym : Symbols)
  596       for (const auto &Sym : Refs)
  606       for (const auto &Relation : Relations)
  616       for (const auto &SF : Sources)
tools/clang/tools/extra/clangd/index/Symbol.cpp
   65   for (auto &S : SortedSymbols)
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
  524         for (const auto &LocAndRole : It.second) {
tools/clang/tools/extra/clangd/index/YAMLSerialization.cpp
  337   for (const auto &Sym : *O.Symbols) {
  343     for (auto &Sym : *O.Refs) {
  349     for (auto &R : *O.Relations) {
  374       for (const auto &Ref : Variant.Refs->second)
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
   55     for (const auto &ProximityURI :
   93     for (const auto &Token : generateSearchTokens(*Sym))
  120     for (const auto &ProximityURI : PathProximityURIs)
  179   for (const auto &Trigram : TrigramTokens)
  185   for (const auto &Scope : Req.Scopes)
  219   for (const auto &IDAndScore : IDAndScores) {
  237   for (const auto &Item : std::move(Top).items())
  277       for (const auto &Object : It->second) {
tools/clang/tools/extra/clangd/index/dex/Dex.h
   48     for (auto &&Sym : Symbols)
   50     for (auto &&Ref : Refs)
   52     for (auto &&Rel : Relations)
tools/clang/tools/extra/clangd/index/dex/Iterator.cpp
   31     for (const auto &Child : Children)
   68     for (const auto &Child : Children)
   81     for (const auto &Child : Children) {
  100       for (auto &Child : Children) {
  143     for (const auto &Child : Children)
  153     for (const auto &Child : Children)
  161     for (const auto &Child : Children)
  172     for (const auto &Child : Children)
  185     for (const auto &Child : Children)
  193     for (const auto &Child : Children)
  202     for (const auto &Child : Children) {
  360   for (auto &Child : Children) {
  390   for (auto &Child : Children) {
tools/clang/tools/extra/clangd/indexer/IndexerMain.cpp
   50           for (const auto &Sym : S) {
   59           for (const auto &Sym : S) {
   67           for (const auto &R : S) {
tools/clang/tools/extra/clangd/refactor/Rename.cpp
  184   for (const tooling::SymbolOccurrence &Rename :
tools/clang/tools/extra/clangd/refactor/tweaks/AnnotateHighlightings.cpp
   61   for (const auto &Token : HighlightingTokens) {
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
  311   for (const Parameter &P : Parameters) {
  323   for (const Parameter &P : Parameters) {
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp
  102   for (const Decl *ReferencedDecl : ReferencedDecls) {
tools/clang/tools/extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
  137   for (auto *D : AllDirectives) {
  184   for (auto *D : AllDirectives) {
  193   for (auto Loc : IdentsToQualify) {
tools/clang/tools/extra/clangd/unittests/Annotations.cpp
   24   for (size_t O : Offsets)
   46   for (Annotations::Range R : OffsetRanges)
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
  167   auto Common = *Syms.begin();
  226   for (const auto &Ref : *ShardHeader->Refs)
  234   for (const auto &Ref : *ShardSource->Refs)
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
   54   for (auto D : Diagnostics) {
  148     for (const auto &FileWithContents : ExtraFiles)
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
   94   for (const auto &Sym : Symbols)
 1052   for (auto Range : A.ranges()) {
 1717   for (const auto &C : Results.Completions) {
 1757   for (const auto &C : Results.Completions) {
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp
  711   for (const auto &D : Parsed.getDiagnostics()) {
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp
  246   Symbol Vector = *It++;
  247   Symbol MakeVector = *It++;
tools/clang/tools/extra/clangd/unittests/FormatTests.cpp
   31   for (const auto& R : Changes)
tools/clang/tools/extra/clangd/unittests/FormattedStringTests.cpp
   90   for (char C : Punctuation)
tools/clang/tools/extra/clangd/unittests/FuzzyMatchTests.cpp
  190     for (const auto &Str : RankedStrings)
  205     for (const auto &Str : RankedStrings) {
tools/clang/tools/extra/clangd/unittests/HeaderSourceSwitchTests.cpp
  122   for (auto &Sym : Testing.headerSymbols())
  135   for (auto &Sym : Testing.headerSymbols())
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
   95     for (const auto &Inc : Inclusions)
tools/clang/tools/extra/clangd/unittests/IndexActionTests.cpp
   51   for (llvm::StringRef Path : Paths) {
tools/clang/tools/extra/clangd/unittests/IndexTests.cpp
   76     EXPECT_THAT(*S.find(SymbolID(Sym)), Named(Sym));
tools/clang/tools/extra/clangd/unittests/Matchers.h
   47     for (const auto &M : Matchers) {
tools/clang/tools/extra/clangd/unittests/ParsedASTTests.cpp
  277   for (const auto &R : AST.getMacros().Ranges)
tools/clang/tools/extra/clangd/unittests/RenameTests.cpp
  195       for (const auto &R : T.ranges())
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp
  374     for (const SelectionTree::Node *N : allNodes(T))
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp
  112   for (auto File : AdditionalFiles)
  131   for (const Position &Point : NewTest.points()) {
  136   for (const HighlightingToken &Token : NewTokens) {
tools/clang/tools/extra/clangd/unittests/SerializationTests.cpp
  117   auto Sym1 = *ParsedYAML->Symbols->find(
  119   auto Sym2 = *ParsedYAML->Symbols->find(
  162   for (const auto &Sym : Slab)
  168   for (const auto &Refs : Slab)
  175   for (const auto &Rel : Slab)
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  309   for (auto P : Source.points()) {
  323   for (const std::string &Text : std::vector<std::string>{
  471   for (const auto& Case : Cases) {
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
  239     for (const auto &Inclusion : Preamble->Includes.MainFileIncludes)
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp
   78   for (llvm::StringRef QName : QualifiedNames)
tools/clang/tools/extra/clangd/unittests/TestTU.cpp
   99   for (const Symbol &S : Slab) {
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  142   for (const auto& Point : Test.points()) {
  146   for (const auto& Range : Test.ranges()) {
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp
  436   for (const auto &IO : InputOutputs) {
tools/clang/tools/extra/clangd/unittests/TypeHierarchyTests.cpp
   74   for (Position Pt : Source.points()) {
   98   for (Position Pt : Source.points()) {
  121   for (Position Pt : Source.points()) {
  371   for (Position Pt : Source.points()) {
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
   64   for (const auto &Range : Test.ranges())
   66   for (const auto &Range : Test.ranges("read"))
   68   for (const auto &Range : Test.ranges("write"))
 2052     for (const auto &R : T.ranges())
 2112     for (const auto &R : T.ranges())
 2204     for (Position Pos : File.points()) {
tools/clang/tools/extra/modularize/CoverageChecker.cpp
  231     collectModuleHeaders(**MI);
  335       if (!collectFileSystemHeaders(*I))
  417     if (ModuleMapHeadersSet.insert(*I).second) {
  418       UnaccountedForHeaders.push_back(*I);
  420         << " does not account for file: " << *I << "\n";
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
   76     llvm::StringRef InputPath = *I;
  351     collectModuleHeaders(**MI);
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
   88     if (!(*I)->output(OS, Indent))
   96     if (IsProblem || strstr((*I).c_str(), ".inl"))
   97       OS << "exclude header \"" << *I << "\"\n";
   99       OS << "header \"" << *I << "\"\n";
  121     if ((*I)->Name == SubName)
  122       return *I;
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
  562       if (*I == H)
  613         return &*I; // Found.
  660       if (*I == H)
  702         return &*I; // Found.
  953       if (**I == CanonicalPath)
 1001       if (*I == H)
 1156         MacroExpansionInstance &MacroInfo = *IMT;
 1164           const std::vector<HeaderHandle> &ip = getInclusionPath(*IIP);
 1217         ConditionalExpansionInstance &MacroInfo = *IMT;
 1225           const std::vector<HeaderHandle> &ip = getInclusionPath(*IIP);
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp
  422     for (const std::pair<llvm::GlobPattern, bool> &Filter : Filters)
tools/clang/tools/extra/pp-trace/PPTrace.cpp
   95     for (const CallbackCall &Callback : CallbackCalls) {
   97       for (const Argument &Arg : Callback.Arguments)
tools/clang/tools/extra/unittests/clang-move/ClangMoveTests.cpp
  342   for (const auto& Header : TestHeaders) {
  362   for (const auto& Header : TestHeaders) {
  388   for (const auto& Header : TestHeaders) {
  410   for (const auto& Header : TestHeaders) {
  632   for (const auto &DelPair : Reporter.getDeclarationList())
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
  134     for (const auto &Error : DiagConsumer.take()) {
  142   for (const ClangTidyError &Error : Diags) {
tools/clang/tools/extra/unittests/clang-tidy/IncludeInserterTest.cpp
   48     for (StringRef header : HeadersToInclude()) {
tools/clang/tools/libclang/CIndex.cpp
  532             const Optional<bool> V = handleDeclForVisitation(*TL);
 3556     for (const char *Arg : *Args)
 8685       wantedRanges.push_back(*i);
 8687       wantedRanges.push_back(*i);
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  750   for (const auto &Arg : TU->Arguments)
tools/clang/tools/libclang/CXCursor.cpp
 1469         delete *I;
tools/clang/tools/libclang/CXString.cpp
  130     delete *I;
tools/clang/unittests/AST/ASTImporterFixtures.h
   62     for (const auto &Arg : ExtraArgs) {
tools/clang/unittests/AST/ASTImporterTest.cpp
  206     for (const ImportAction &Action : ImportActions) {
tools/clang/unittests/ASTMatchers/ASTMatchersTest.h
  155   for (auto Mode : LangModes) {
tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp
  150   for (const auto &E : Sema.Errors) {
  187   for (const auto &E : Sema.Errors) {
tools/clang/unittests/CodeGen/CodeGenExternalTest.cpp
  174   for (auto decl : my->toplevel_decls ) {
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
  203       for (const auto &E : ExpectedInitialCopy) {
  207       for (const auto &E : ExpectedNonInitialCopy) {
  214       for (const auto &E : ExpectedInitial) {
  220       for (const auto &E : ExpectedNonInitial) {
  226       for (const auto &E : UnexpectedInitial) {
  232       for (const auto &E : UnexpectedNonInitial) {
tools/clang/unittests/Driver/MultilibTest.cpp
  162     ASSERT_TRUE(llvm::StringSwitch<bool>(*I)
  172     if (*I == Flag)
  174     else if (StringRef(*I).substr(1) == Flag.substr(1))
  203     ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid";
  207         << "Multilib " << *I << " wasn't expected";
  209                     .Case("", hasFlag(*I, "-sof"))
  210                     .Case("/sof", hasFlag(*I, "+sof"))
  211                     .Case("/el", hasFlag(*I, "-sof"))
  212                     .Case("/sof/el", hasFlag(*I, "+sof"))
  214         << "Multilib " << *I << " didn't have the appropriate {+,-}sof flag";
  216                     .Case("", hasFlag(*I, "-EL"))
  217                     .Case("/sof", hasFlag(*I, "-EL"))
  218                     .Case("/el", hasFlag(*I, "+EL"))
  219                     .Case("/sof/el", hasFlag(*I, "+EL"))
  221         << "Multilib " << *I << " didn't have the appropriate {+,-}EL flag";
  251         << "The filter should have removed " << *I;
  280         << "The filter should have removed " << *I;
tools/clang/unittests/Lex/LexerTest.cpp
  461   for (const Token &Tok : LexedTokens) {
tools/clang/unittests/Sema/CodeCompleteTest.cpp
  121   for (size_t Point : A.points()) {
tools/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
   32       for (const auto *PD : Diags)
tools/clang/unittests/Tooling/ASTSelectionTest.cpp
  132     for (const SelectedASTNode &Child : Node.Children) {
tools/clang/unittests/Tooling/CommentHandlerTest.cpp
  114     const Comment &C = *Current;
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
  387   for (const auto &Case : Cases) {
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  773   for (auto Range : Code.ranges("macro"))
  777   for (auto Expansion : Expansions)
tools/clang/unittests/Tooling/TestVisitor.h
  170           << "Matched disallowed " << *It;
tools/clang/unittests/Tooling/ToolingTest.cpp
   93     if (CXXRecordDecl* Record = dyn_cast<clang::CXXRecordDecl>(*i)) {
  418         for (llvm::StringRef Arg : Args) {
tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp
  227     Record *R = *i;
  242     if (DeclContexts.find(*i) != DeclContexts.end())
  243       OS << "DECL_CONTEXT(" << (*i)->getName() << ")\n";
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
   82   for (const auto &Spelling : Spellings) {
  165   for (const auto *Attr : Attrs) {
  795     for (const auto &i : enums) {
  849         OS << "    " << *i << ",\n";
  850       OS << "    " << *e << "\n";
  880       for (const auto &I : uniques) {
  959         OS << "    " << *i << ",\n";
  960       OS << "    " << *e << "\n";
  972       for (const auto &UI : uniques) {
 1485       for (const auto &arg : Args) {
 1561   for (const auto *Accessor : Accessors) {
 1582   for (const auto &Spelling :
 1610     const FlattenedSpelling &S = *I;
 1662   for (const auto *Attr : Attrs) {
 1669       for (const auto &I : Spellings) {
 1681   for (const auto &I : Spellings) {
 1830     for (const auto *Subject : ApplicableSubjects) {
 1843   for (const auto *MetaSubject : MetaSubjects) {
 1847     for (const auto *Constraint : Constraints)
 1855   for (const auto *Aggregate : Aggregates) {
 1861     for (const auto *D : DeclNodes) {
 1896   for (const auto &Rule : Rules) {
 1934   for (const auto *Subject : Subjects) {
 1982   for (const auto *Subject : Subjects) {
 2008   for (const auto &Rule : Rules) {
 2021     for (const auto &Rule : SubMatchRule.second) {
 2029     for (const auto &Rule : SubMatchRule.second) {
 2046   for (const auto &Rule : Rules) {
 2072     for (const auto &Rule : SubMatchRule.second) {
 2094   for (const FlattenedSpelling &S : Spellings) {
 2105   for (const auto *Attr : Attrs) {
 2127   for (const auto &I : Attrs) {
 2163   for (const auto *A : Attrs) {
 2184   for (const auto *Attr : Attrs) {
 2210   for (const auto *A : Attrs) {
 2236   for (const auto *Attr : Attrs) {
 2274     for (const auto *ArgRecord : ArgRecords) {
 2315       for (auto const &ai : Args) {
 2323       for (auto const &ai : Args) {
 2346       for (auto const &ai : Args) {
 2372       for (auto const &ai : Args) {
 2405       for (auto const &ai : Args) {
 2423       for (auto const &ai : Args) {
 2435       for (auto const &ai : Args) {
 2469     for (auto const &ai : Args) {
 2501   for (auto *Attr : Attrs) {
 2509     for (const auto *Arg : ArgRecords)
 2512     for (auto const &ai : Args)
 2518     for (auto const &ai : Args) {
 2536     for (const auto *Attr : Attrs) {
 2563   for (auto Cur : AttrList) {
 2629       for (auto SubClass : SubClasses) {
 2650       for (auto SubClass : SubClasses) {
 2691       for (auto &Class : Classes) {
 2700         assert((i == Classes.begin()) == ((*i)->SuperClass == nullptr) &&
 2707       for (auto &Class : Classes) {
 2713       for (auto &Class : Classes) {
 2724       for (auto &Class : Classes)
 2735       for (auto &Class : Classes) {
 2770   for (auto *Attr : Attrs) {
 2819   for (const auto *Attr : Attrs) {
 2830     for (const auto *Arg : ArgRecords) {
 2835     for (auto const &ri : Args) {
 2857   for (const auto *Attr : Attrs) {
 2870     for (const auto *Arg : Args)
 2889       StringRef Part = *I;
 2928       StringRef Part = *I;
 2963   for (const auto *Attr : Attrs) {
 2974         for (const auto &Spelling : Spellings) {
 3006     for (const auto &S : Spellings)
 3026   for (auto *R : Attrs) {
 3028     for (const auto &SI : Spellings) {
 3092   for (const auto &I : Attrs) {
 3121   for (const auto *Attr : Attrs) {
 3135   for (const auto *Attr : Attrs) {
 3149     for (const auto *Arg : ArgRecords)
 3164   for (const auto *Attr : Attrs) {
 3184   for (const auto *Attr : Attrs) {
 3213     for (const auto *ArgRecord : ArgRecords)
 3216     for (auto const &ai : Args)
 3220     for (auto const &ai : Args) {
 3262   for (const auto &I : Names) {
 3278   for (const auto *Arg : Args) {
 3323   for (const auto *Subject : Subjects) {
 3364   return '"' + Diag + ", and " + *(DiagList.end() - 1) + '"';
 3446     if ((*I)->isSubClassOf("SubsetSubject")) {
 3447       SS << "!" << GenerateCustomAppertainsTo(**I, OS) << "(D)";
 3449       SS << "!isa<" << GetSubjectWithSuffix(*I) << ">(D)";
 3477   for (const auto &Rule : PragmaAttributeSupport.Rules) {
 3492       if ((*I)->isSubClassOf("SubsetSubject"))
 3493         OS << functionNameForCustomAppertainsTo(**I) << "(D)";
 3495         OS << "isa<" << GetSubjectWithSuffix(*I) << ">(D)";
 3527     FnName += (*I)->getValueAsString("Name");
 3576     for (const auto &I : Dupes) {
 3724   for (const auto *A : Attrs) {
 3751       for (const auto &S : Spellings) {
 3819   for (const auto *Attr : Attrs) {
 3836     for (const auto *Arg : Args)
 3855   for (const auto *Attr : Attrs) {
 3864     for (const auto *Arg : Args)
 4008   for (const auto &I : Spellings)
 4081   for (const auto *A : Attrs) {
 4084     for (const auto *D : Docs) {
 4115     for (const auto &Doc : I.second)
 4125   for (const auto &I : Attrs) {
tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
   56     Record &Tag = **I;
tools/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp
   25   for (Record *Tag : Tags) {
   42   for (Record *Tag : Tags) {
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  607     for (auto *S : Records.getAllDerivedDefinitions("TextSubstitution")) {
  615     for (Record *Diag : Records.getAllDerivedDefinitions("Diagnostic")) {
  668       for (Piece *P : AllocatedPieces)
  699     for (int Idx : P->Modifiers)
  784     (*I) += std::string(Width - I->size(), ' ');
  792     *I = "|" + *I + "|";
  792     *I = "|" + *I + "|";
  796   for (char &K : Str)
  815       for (Piece *Node : MD->Pieces)
  839     for (const std::pair<Piece *, ModifierMappingsType> &NodePair : Pieces) {
  909     for (auto *O : P->Options) {
  917     for (size_t I : SeparatorIndexes)
  935     for (auto *Child : P->Pieces)
  949       for (auto *D : P->Options) {
 1329       for (auto const &SubGroup : SubGroups) {
 1337         for (auto const &Group : GroupsInPedantic) {
 1380       for (auto *Record : V)
 1384         for (auto const &Diag : DiagsInPedantic)
 1525   for (auto const &C : CategoriesByID)
 1618     for (const Record *Diag : GroupInfo.DiagsInGroup)
 1620     for (const auto &Name : GroupInfo.SubGroups)
 1643     for (const Record *Diag : GroupInfo.DiagsInGroup)
 1645     for (const auto &Name : GroupInfo.SubGroups)
 1663     for (auto &Line : Out)
 1716     for (auto *Group : GroupsInPedantic)
 1723   for (const Record *G : DiagGroups) {
 1762       for (const auto &Name : GroupInfo.SubGroups) {
 1772       for (const Record *D : GroupInfo.DiagsInGroup) {
tools/clang/utils/TableGen/ClangOpcodesEmitter.cpp
   74       for (auto *Type : TypeClass->getDef()->getValueAsListOfDefs("Types")) {
   89   for (auto *Opcode : Records.getAllDerivedDefinitions(Root.getName())) {
  164     for (auto *Arg : R->getValueAsListOfDefs("Args"))
  208     for (auto *Arg : Args)
  225     for (auto *Arg : Args)
  246   for (auto *Arg : Args)
  295       for (auto *Case : Cases) {
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
  203   for (const auto *T : Types) {
  294   for (const auto *T : Signature) {
  330   for (const auto &T : Types) {
  337   for (const auto *B : Builtins) {
  366   for (const auto &T : TypeMap) {
  391   for (const auto &P : SignaturesList) {
  393     for (const Record *R : P.first) {
  405   for (const auto &FOM : FctOverloadMap) {
  409     for (const auto &Overload : FOM.second) {
  425   for (auto &i : FctOverloadMap) {
  472   for (const auto *VectList : Records.getAllDerivedDefinitions("IntList")) {
  475     for (const auto V : VectList->getValueAsListOfInts("List")) {
  491   for (auto *IT : ImageTypes) {
  527   for (const auto *GenType : Records.getAllDerivedDefinitions("GenericType")) {
  538       for (const auto *T :
  565   for (const auto *T : Types) {
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
   50   for (Record *R : Records.getAllDerivedDefinitions("Option"))
   67   for (Record *R : Records.getAllDerivedDefinitions("OptionGroup")) {
   77   for (Record *R : Records.getAllDerivedDefinitions("Option")) {
  122     for (Record *G : Groups) {
  131     for (Record *O : Options)
  165   for (const Record *Flag : OptionOrGroup->getValueAsListOfDefs("Flags"))
  173   for (StringRef Exclusion : DocInfo->getValueAsListOfStrings("ExcludedFlags"))
  284   for (auto &Prefix : Option->getValueAsListOfStrings("Prefixes")) {
  298   for (auto *Alias : Option.Aliases)
  318     for (auto &Prefix : Option->getValueAsListOfStrings("Prefixes"))
  324   int SphinxWorkaroundSuffix = NextSuffix[*std::max_element(
  329   for (auto &S : SphinxOptionIDs)
  375   for (auto &O : Doc.Options)
  377   for (auto &G : Doc.Groups)
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp
  227   for (const Record *Package : packages) {
  234     for (Record *PackageOpt : PackageOptions) {
  254   for (const Record *checker : checkers) {
  268   for (const Record *Checker : checkers) {
  272     for (const Record *Dependency :
  302   for (const Record *Checker : checkers) {
  309     for (Record *CheckerOpt : CheckerOptions) {
tools/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
  146 	for (auto type : Types) {
  195 	for (auto type : Types) {
  209 	for (auto &macroName : MacrosToUndef) {
tools/clang/utils/TableGen/MveEmitter.cpp
  651       for (auto T : ParamTypes) {
  659     for (auto Arg : Args) {
  710     for (Result::Ptr W : V->prerequisites())
  724     for (const Type *T : ArgTypes)
 1027       for (unsigned i : Op->getValueAsListOfInts("address_params"))
 1030       for (unsigned i : Op->getValueAsListOfInts("int_constant_params"))
 1036       for (Record *RParam : Op->getValueAsListOfDefs("params"))
 1216   for (Record *R : Records.getAllDerivedDefinitions("PrimitiveType"))
 1221   for (Record *R : Records.getAllDerivedDefinitions("Intrinsic")) {
 1222     for (Record *RParam : R->getValueAsListOfDefs("params")) {
 1324         for (const Type *ArgTypePtr : Int.argTypes())
tools/clang/utils/TableGen/NeonEmitter.cpp
  121     for (char I : Str.str()) {
  340     for (const auto &T : Types){
  769   for (char I : S) {
 1511   for (auto &L : Lines) {
 2068   for (auto TS : TypeSpecs) {
 2071       for (auto SrcTS : TypeSpecs) {
 2088   for (auto &I : NewTypeSpecs) {
 2317   for (auto *R : RV)
 2410   for (auto &TS : TDTypeVec) {
 2443     for (auto &TS : TDTypeVec) {
 2477   for (auto *R : RV)
 2584   for (auto *R : RV)
tools/dsymutil/BinaryHolder.cpp
   76   for (auto MemRef : ArchiveBuffers) {
  114   for (auto MemRef : ObjectBuffers) {
  128   for (auto &Object : Objects) {
  135   for (const auto &Obj : Objects) {
  167   for (const auto &Archive : Archives) {
tools/dsymutil/BinaryHolder.h
   68       for (auto &Object : Objects) {
tools/dsymutil/CompileUnit.cpp
   38   for (auto &I : Info) {
   82   for (const auto &Ref : ForwardDIEReferences) {
tools/dsymutil/DebugMap.cpp
   68   for (const auto &Sym : Entries) {
  271   for (auto &Entry : Entries) {
tools/dsymutil/DwarfLinker.cpp
  404     (*I)->~DIEBlock();
  406     (*I)->~DIELoc();
 1721   for (const auto &RangeAttribute : Unit.getRangesAttributes()) {
 1786     *InsertPoint = Seq.front();
 1855   for (auto &Row : LineTable.Rows) {
 1964   for (const auto &Namespace : Unit.getNamespaces())
 1971   for (const auto &Pubname : Unit.getPubnames())
 1978   for (const auto &Pubtype : Unit.getPubtypes())
 1987   for (const auto &ObjC : Unit.getObjC())
 1992   for (const auto &Namespace : Unit.getNamespaces())
 1995   for (const auto &Pubname : Unit.getPubnames())
 1998   for (const auto &Pubtype : Unit.getPubtypes())
 2364   for (auto &CurrentUnit : CompileUnits) {
 2413   for (auto &CurrentUnit : CompileUnits) {
 2469   for (const auto &Warning : DMO.getWarnings()) {
 2557   for (const auto &Obj : Map.objects()) {
 2589   for (LinkContext &LinkContext : ObjectContexts) {
 2723     for (auto &CurrentUnit : LinkContext.CompileUnits) {
 2752       for (auto &CurrentUnit : LinkContext.CompileUnits)
 2756       for (auto &CurrentUnit : LinkContext.CompileUnits)
tools/dsymutil/DwarfStreamer.cpp
  197   for (auto Entry : Entries) {
  214   for (auto &CU : EmittedUnits) {
  281   for (const auto &Range : Entries) {
  414   for (const auto &Attr : Attributes) {
  727   for (const auto &Name : Names) {
tools/dsymutil/MachODebugMapParser.cpp
  115         (*--Result->end())->addWarning(Msg.str());
  136   for (auto &CommonSymbol : CommonSymbols) {
  367   for (const auto *Object : *Objects)
  389   for (const auto *Object : *Objects)
  455     for (const auto &Alias : getMainBinarySymbolNames(Value)) {
tools/dsymutil/MachOUtils.cpp
  538     for (auto EntryRef : Strings) {
tools/dsymutil/dsymutil.cpp
  116   for (const auto &Input : InputFiles) {
  482   for (const auto &Arch : Options.Archs)
  491   for (auto &InputFile : Options.InputFiles) {
  513       for (auto &Map : *DebugMapPtrsOrErr)
  540     for (auto &Map : *DebugMapPtrsOrErr) {
tools/gold/gold-plugin.cpp
  717   for (ld_plugin_symbol &Sym : F.syms) {
 1097   for (const auto &F : Files)
 1130   for (std::string &Name : Cleanup) {
tools/llc/llc.cpp
  565       for (const std::string &RunPassName : *RunPassNames) {
tools/lld/COFF/Chunks.cpp
  345   for (const std::string &s : symbolLocations)
  785   for (const RuntimePseudoReloc &rpr : relocs) {
  882   for (SectionChunk *c : sections)
  890   for (SectionChunk *c : sections) {
tools/lld/COFF/DLL.cpp
  144   for (DefinedImportData *sym : imports)
  510     for (const Export &e : config->exports) {
  534     for (Chunk *c : chunks) {
  550     for (Export &e : config->exports) {
  568   for (std::vector<DefinedImportData *> &syms : v) {
  574     for (DefinedImportData *s : syms) {
  629   for (std::vector<DefinedImportData *> &syms : v) {
  636     for (DefinedImportData *s : syms) {
  704   for (Export &e : config->exports)
  710   for (Export &e : config->exports)
  715   for (Export &e : config->exports) {
tools/lld/COFF/Driver.cpp
  190       for (MemoryBufferRef m : getArchiveMembers(archive))
  339   for (StringRef e : exports) {
  411   for (StringRef dir : searchPaths) {
  744   for (Export &e1 : config->exports) {
  830   for (COFFShortExport e1 : m.Exports) {
  881   for (Chunk *c : symtab->getChunks())
  895   for (std::string s : args::getLines(mb->getMemBufferRef())) {
  917   for (Export &r : config->exports)
  922   for (ObjFile *obj : ObjFile::instances) {
 1006   for (ObjFile *f : ObjFile::instances) {
 1024     for (ObjFile *f : resourceObjFiles)
 1792     for (Export &e : config->exports) {
 1896       ObjFile *file = *i;
tools/lld/COFF/DriverUtils.cpp
  171   for (char c : s.lower()) {
  398   for (StringRef filename : config->manifestInput) {
  426   for (StringRef filename : config->manifestInput) {
  624   for (Export &e : config->exports) {
  631   for (Export &e : config->exports) {
  640     for (Export &e : config->exports) {
  651   for (Export &e : config->exports) {
  675   for (Export &e : config->exports)
  677   for (Export &e : config->exports)
  733   for (const auto &dupeDiag : duplicates)
  868   for (StringRef tok : tokenize(s)) {
tools/lld/COFF/ICF.cpp
  261       for (SectionChunk *sc : mc->sections)
tools/lld/COFF/InputFiles.cpp
  442   for (uint32_t i : pendingIndexes) {
tools/lld/COFF/LTO.cpp
  203   for (std::unique_ptr<MemoryBuffer> &file : files)
tools/lld/COFF/MapFile.cpp
   50   for (ObjFile *file : ObjFile::instances)
  112     for (Chunk *c : sec->chunks) {
tools/lld/COFF/MarkLive.cpp
   54   for (Symbol *b : config->gcroot)
tools/lld/COFF/MinGW.cpp
  157   for (Export &e : config->exports) {
tools/lld/COFF/PDB.cpp
  520   for (ObjFile *f : ObjFile::instances) {
 1127   for (DebugFrameDataSubsectionRef &fds : newFpoFrames) {
 1137   for (ulittle32_t *ref : stringTableReferences)
 1228   for (ObjFile *file : ObjFile::instances) {
 1276   for (ObjFile *file : ObjFile::instances)
 1305     for (const PublicSym32 &pub : publics)
 1339   for (StringRef file : config->natvisFiles) {
 1461   const Chunk *firstChunk = *sec->chunks.begin();
 1501   for (PartialSection *sec : os.contribSections) {
 1513   for (ImportFile *file : ImportFile::instances) {
 1660     for (Chunk *c : os->chunks) {
tools/lld/COFF/SymbolTable.cpp
  167   for (Location loc : locations) {
  208   for (const UndefinedDiag::File &ref : undefDiag.files) {
  212     for (const std::string &s : symbolLocations) {
  321   for (Symbol *b : config->gcroot) {
  356   for (ObjFile *file : objFiles)
  360     for (BitcodeFile *file : *bitcodeFiles)
  363   for (const UndefinedDiag &undefDiag : undefDiags)
  712   for (ObjFile *file : ObjFile::instances) {
  756     for (auto *s : syms)
  787   for (BitcodeFile *f : BitcodeFile::instances)
  797   for (StringRef object : compileBitcodeFiles()) {
tools/lld/COFF/Writer.cpp
  104     for (const Chunk *record : records) {
  123     for (support::ulittle32_t *tds : timeDateStamps)
  500   for (Chunk *c : chunks) {
  531   for (OutputSection *sec : outputSections) {
  543     for (OutputSection *sec : outputSections) {
  564       for (OutputSection *sec : outputSections)
  572     for (OutputSection *sec : outputSections)
  754     for (Chunk *c : importDirs->chunks)
  761     for (Chunk *c : importAddresses->chunks)
  825   for (Chunk *c : symtab->getChunks()) {
  881     for (Chunk *c : pSec->chunks)
  917     for (Chunk *c : symtab->localImportChunks)
  936     for (Chunk *c : debugRecords)
  963   for (ImportFile *file : ImportFile::instances) {
  989   for (ImportFile *file : ImportFile::instances) {
 1006     for (Chunk *c : delayIdata.getChunks())
 1008     for (Chunk *c : delayIdata.getDataChunks())
 1022     for (Chunk *c : edata.chunks)
 1059   for (OutputSection *os : outputSections) {
 1061     for (Chunk *c : os->chunks)
 1070       for (SectionChunk *sc : mc->sections)
 1146   for (OutputSection *sec : outputSections) {
 1155     for (ObjFile *file : ObjFile::instances) {
 1224   for (OutputSection *sec : outputSections) {
 1238     for (Chunk *c : sec->chunks) {
 1439   for (OutputSection *sec : outputSections) {
 1472   for (ObjFile *file : ObjFile::instances) {
 1575   for (ObjFile *file : ObjFile::instances) {
 1594   for (Export &e : config->exports)
 1685   for (Chunk *c : symtab->getChunks()) {
 1734     for (OutputSection *sec : outputSections)
 1747   for (OutputSection *sec : outputSections) {
 1868     for (auto &c : chunks) {
 1877   for (OutputSection *sec : outputSections)
 1885   for (OutputSection *s : outputSections)
 1897   for (OutputSection *sec : outputSections) {
 1901     for (Chunk *c : sec->chunks)
tools/lld/Common/DWARF.cpp
   35     for (const auto &entry : cu->dies()) {
   94   for (const llvm::DWARFDebugLine::LineTable *lt : lineTables) {
tools/lld/Common/Memory.cpp
   19   for (SpecificAllocBase *alloc : SpecificAllocBase::instances)
tools/lld/Common/Strings.cpp
   45   for (const GlobPattern &pat : patterns)
tools/lld/Common/Timer.cpp
   51   for (const auto &child : children)
   76     for (const auto &child : children)
tools/lld/ELF/AArch64ErrataFix.cpp
  442   for (InputFile *file : objectFiles) {
  494   for (const InputSection *isec : isd.sections) {
  498         if ((*patchIt)->getLDSTAddr() - outSecAddr >= prevIsecLimit)
  500         (*patchIt)->outSecOff = prevIsecLimit;
  508     (*patchIt)->outSecOff = isecLimit;
  568     *relIt = makeRelToPatch(patcheeOffset, ps->patchSym);
  580   for (InputSection *isec : isd.sections) {
  594       uint64_t off = (*codeSym)->value;
  596           (dataSym == mapSyms.end()) ? isec->data().size() : (*dataSym)->value;
  629   for (OutputSection *os : outputSections) {
  632     for (BaseCommand *bc : os->sectionCommands)
tools/lld/ELF/ARMErrataFix.cpp
  278         scanRes.rel = &(*relIt);
  318   for (InputFile *file : objectFiles) {
  366   for (const InputSection *isec : isd.sections) {
  370         if ((*patchIt)->getBranchAddr() - outSecAddr >= prevIsecLimit)
  372         (*patchIt)->outSecOff = prevIsecLimit;
  379     (*patchIt)->outSecOff = isecLimit;
  475   for (InputSection *isec : isd.sections) {
  489       uint64_t off = (*thumbSym)->value;
  491                                                       : (*nonThumbSym)->value;
  511   for (OutputSection *os : outputSections) {
  514     for (BaseCommand *bc : os->sectionCommands)
tools/lld/ELF/Arch/Hexagon.cpp
   65   for (InputFile *f : objectFiles) {
tools/lld/ELF/Arch/MipsArchTree.cpp
  299   for (InputFile *f : objectFiles)
tools/lld/ELF/Arch/PPC64.cpp
  352   for (InputFile *f : objectFiles) {
tools/lld/ELF/Arch/RISCV.cpp
  113   for (InputFile *f : objectFiles) {
tools/lld/ELF/CallGraphSort.cpp
  117   for (std::pair<SectionPair, uint64_t> &c : profile) {
  146   for (Cluster &c : clusters)
  192   for (int l : sorted) {
  227   for (int leader : sorted)
  245     for (int leader : sorted)
tools/lld/ELF/Driver.cpp
  182   for (std::unique_ptr<MemoryBuffer> &mb : file->takeThinBuffers())
  209       for (const auto &p : getArchiveMembers(mbref))
  224       for (const std::pair<MemoryBufferRef, uint64_t> &p :
  231       for (const std::pair<MemoryBufferRef, uint64_t> &p :
  712   for (InputFile *file : objectFiles)
  730   for (StringRef line : args::getLines(mb)) {
  747   for (auto file : objectFiles) {
  797   for (StringRef s : args::getLines(mb))
 1055       for (StringRef s : args::getLines(*buffer))
 1256   for (InputFile *f : files) {
 1356   for (InputFile *file : objectFiles)
 1359   for (BitcodeFile *file : bitcodeFiles)
 1392   for (Symbol *sym : syms)
 1486   for (InputFile *f : objectFiles) {
 1526   for (Partition &part : partitions) {
 1575   for (BitcodeFile *file : bitcodeFiles)
 1578   for (InputFile *file : lto->compile()) {
 1678   for (InputFile *f : objectFiles) {
 1752   for (StringRef name : script->referencedSymbols)
 1756   for (StringRef arg : config->undefined)
 1765   for (StringRef pat : args::getStrings(args, OPT_undefined_glob))
 1854   for (InputFile *f : objectFiles)
 1858   for (BinaryFile *f : binaryFiles)
 1951   for (BaseCommand *base : script->sectionCommands)
tools/lld/ELF/DriverUtils.cpp
  220   for (StringRef dir : config->searchPaths)
  229   for (StringRef dir : config->searchPaths) {
tools/lld/ELF/ICF.cpp
  449   for (InputSectionBase *sec : inputSections) {
  506   for (BaseCommand *base : script->sectionCommands)
  508       for (BaseCommand *sub_base : sec->sectionCommands)
tools/lld/ELF/InputFiles.cpp
 1545     for (Symbol *sym : this->symbols) {
tools/lld/ELF/InputSection.cpp
  596       return &*it;
  893   for (const Relocation &rel : sec->relocations) {
  925   for (const Relocation &rel : relocations) {
 1014   for (Defined *f : functions) {
 1016     while (it != morestackCalls.end() && (*it)->offset < f->value)
 1019     while (it != morestackCalls.end() && (*it)->offset < f->value + f->size) {
 1020       (*it)->sym = moreStackNonSplit;
 1046   for (Relocation &rel : relocations) {
tools/lld/ELF/LTO.cpp
  217   for (LazyObjFile *f : lazyObjFiles) {
  301   for (std::unique_ptr<MemoryBuffer> &file : files)
tools/lld/ELF/LinkerScript.cpp
  219   for (BaseCommand *base : sectionCommands) {
  226     for (BaseCommand *sub_base : cast<OutputSection>(base)->sectionCommands)
  258   for (BaseCommand *base : sectionCommands) {
  282   for (BaseCommand *base : sectionCommands) {
  295     for (BaseCommand *base2 : sec->sectionCommands)
  335   for (InputSectionDescription *id : keptSections)
  337       for (SectionPattern &p : id->sectionPatterns)
  413   for (const SectionPattern &pat : cmd->sectionPatterns) {
  416     for (InputSectionBase *sec : inputSections) {
  466   for (BaseCommand *base : outCmd.sectionCommands) {
  469       for (InputSectionBase *s : cmd->sectionBases)
  480   for (BaseCommand *base : sectionCommands) {
  487         for (InputSectionBase *s : v)
  501         for (InputSectionBase *s : v)
  512         for (InputSectionBase *s : v)
  541   for (BaseCommand *base : sectionCommands) {
  545       for (BaseCommand *sub_base : cast<OutputSection>(base)->sectionCommands)
  706   for (InputSectionBase *isec : inputSections) {
  784   for (auto &pair : memoryRegions) {
  797   for (OutputSection *sec : outputSections)
  850   for (BaseCommand *base : sec->sectionCommands) {
  870     for (InputSection *sec : cast<InputSectionDescription>(base)->sections)
  896   for (BaseCommand *base : sec.sectionCommands) {
  932   for (BaseCommand *&cmd : sectionCommands) {
  973   for (BaseCommand *base : sectionCommands) {
 1000   for (BaseCommand *base : sectionCommands) {
 1034   for (OutputSection *sec : outputSections)
 1042   PhdrEntry *firstPTLoad = *it;
 1071   for (auto &mri : script->memoryRegions) {
 1101   for (BaseCommand *base : sectionCommands) {
 1121   for (const PhdrsCommand &cmd : phdrsCommands) {
 1137   for (OutputSection *sec : outputSections) {
 1139     for (size_t id : getPhdrIndices(sec)) {
 1156   for (PhdrsCommand &cmd : phdrsCommands)
 1196   for (StringRef s : cmd->phdrs) {
tools/lld/ELF/MapFile.cpp
   56   for (InputFile *file : objectFiles)
  127     for (const EhSectionPiece *fde : rec->fdes)
  133   for (EhSectionPiece &p : pieces) {
  164   for (BaseCommand *base : script->sectionCommands) {
  179     for (BaseCommand *base : osec->sectionCommands) {
  181         for (InputSection *isec : isd->sections) {
  236   for (InputFile *file : objectFiles) {
  251   for (auto kv : map) {
  256     for (InputFile *file : files)
tools/lld/ELF/MarkLive.cpp
  116   for (InputSectionBase *sec : cNamedSections.lookup(sym.getName()))
  234   for (StringRef s : config->undefined)
  236   for (StringRef s : script->referencedSymbols)
  241   for (InputSectionBase *sec : inputSections) {
  299   for (InputFile *file : objectFiles)
  306   for (InputSectionBase *sec : inputSections) {
  323     for (InputSectionBase *sec : inputSections)
  356   for (InputSectionBase *sec : inputSections) {
  377     for (InputSectionBase *sec : inputSections)
tools/lld/ELF/OutputSections.cpp
  164   for (BaseCommand *base : sectionCommands) {
  169     for (InputSectionBase *s : cmd->sectionBases) {
  203       (*i)->addSection(ms);
  211     for (InputSection *s : cmd->sections)
  214   for (auto *ms : mergeSections)
  241   for (BaseCommand *b : sectionCommands)
  335   for (BaseCommand *base : sectionCommands)
  466   for (BaseCommand *base : os->sectionCommands)
tools/lld/ELF/Relocations.cpp
   68   for (BaseCommand *base : script->sectionCommands)
  789   for (UndefinedDiag::Loc l : undef.locs) {
  829   for (UndefinedDiag &undef : undefs) {
 1445     for (BaseCommand *bc : os->sectionCommands)
 1558         for (const std::pair<ThunkSection *, uint32_t> ts : isd->thunkSections)
 1584   for (std::pair<ThunkSection *, uint32_t> tp : isd->thunkSections) {
 1617   for (BaseCommand *bc : tos->sectionCommands) {
 1672         for (const InputSection *isec : isd->sections) {
 1717   for (Thunk *t : *thunkVec)
 1782         for (InputSection *isec : isd->sections)
 1783           for (Relocation &rel : isec->relocations) {
 1821         for (auto &p : isd->thunkSections)
tools/lld/ELF/ScriptLexer.cpp
  296   for (MemoryBufferRef mb : mbs)
tools/lld/ELF/ScriptParser.cpp
  190   for (SymbolVersion v : globals)
  513     for (BaseCommand *cmd : v)
  534       for (BaseCommand *cmd : readOverlay())
  683     for (SectionPattern &pat : v) {
 1347   for (const SymbolVersion &pat : locals)
 1349   for (const SymbolVersion &pat : globals)
 1362   for (const SymbolVersion &pat : locals)
 1493   for (char c : next().lower()) {
tools/lld/ELF/SymbolTable.cpp
  122     for (Symbol *sym : symVector) {
  151   for (Symbol *sym : symVector)
  159   for (SymbolVersion &ver : config->dynamicList) {
  166     for (Symbol *sym : syms)
  196   for (Symbol *sym : syms) {
  221   for (Symbol *sym : findAllByVersion(ver))
  236   for (VersionDefinition &v : config->versionDefinitions)
  237     for (SymbolVersion &pat : v.patterns)
  244     for (SymbolVersion &pat : v.patterns)
  250   for (VersionDefinition &v : config->versionDefinitions)
  251     for (SymbolVersion &pat : v.patterns)
  258   for (Symbol *sym : symVector)
tools/lld/ELF/SymbolTable.h
   39     for (Symbol *sym : symVector)
tools/lld/ELF/SyntheticSections.cpp
  106   for (InputSectionBase *sec : inputSections) {
  173   for (InputSectionBase *sec : inputSections)
  181   for (InputSectionBase *sec : sections) {
  230   for (InputSectionBase *sec : inputSections)
  238   for (InputSectionBase *sec : sections) {
  404   for (EhSectionPiece &piece : sec->pieces) {
  467     for (EhInputSection *sec : sections)
  471     for (EhInputSection *sec : sections)
  475     for (EhInputSection *sec : sections)
  479     for (EhInputSection *sec : sections)
  485   for (CieRecord *rec : cieRecords) {
  489     for (EhSectionPiece *fde : rec->fdes) {
  512   for (CieRecord *rec : cieRecords) {
  514     for (EhSectionPiece *fde : rec->fdes) {
  575   for (CieRecord *rec : cieRecords) {
  579     for (EhSectionPiece *fde : rec->fdes) {
  592   for (EhInputSection *s : sections)
  809   for (const FileGot &g : gots)
  823   for (FileGot &got : gots) {
  824     for (auto &p: got.global)
  835   for (FileGot &got : gots) {
  847   for (FileGot &got : gots) {
  854   for (FileGot &got : gots) {
  859       for (BaseCommand *cmd : os->sectionCommands) {
  861           for (InputSection *isec : isd->sections) {
  875   for (FileGot &srcGot : gots) {
  904   for (FileGot &got : gots) {
  917     for (auto &p: got.local16)
  919     for (auto &p: got.global)
  921     for (auto &p: got.relocs)
  923     for (auto &p: got.tls)
  925     for (auto &p: got.dynTlsSymbols) {
  933   for (auto &p : primGot->global)
  935   for (auto &p : primGot->relocs)
  939   for (FileGot &got : gots) {
  941     for (std::pair<Symbol *, size_t> &p : got.tls) {
  947     for (std::pair<Symbol *, size_t> &p : got.dynTlsSymbols) {
  977     for (const std::pair<Symbol *, size_t> &p : got.global) {
  993     for (const std::pair<GotEntry, size_t> &p : got.local16) {
 1033   for (const FileGot &g : gots) {
 1053     for (const std::pair<GotEntry, size_t> &p : g.local16)
 1058       for (const std::pair<const Symbol *, size_t> &p : g.global)
 1060     for (const std::pair<Symbol *, size_t> &p : g.relocs)
 1062     for (const std::pair<Symbol *, size_t> &p : g.tls)
 1064     for (const std::pair<Symbol *, size_t> &p : g.dynTlsSymbols) {
 1106   for (const Symbol *b : entries) {
 1148   for (const Symbol *b : entries) {
 1178   for (StringRef s : strings) {
 1279   for (StringRef s : config->filterList)
 1281   for (StringRef s : config->auxiliaryList)
 1288   for (SharedFile *file : sharedFiles)
 1450     for (SharedFile *f : sharedFiles)
 1502   for (std::pair<int32_t, std::function<uint64_t()>> &kv : entries) {
 1613   for (const DynamicReloc &rel : relocs) {
 1690   for (const DynamicReloc &rel : relocs) {
 1715       group.push_back(*i++);
 1786   for (std::vector<Elf_Rela> &g : relativeGroups) {
 1819     for (Elf_Rela &r : ungroupedRelatives) {
 1830   for (ArrayRef<Elf_Rela> g : nonRelativeGroups) {
 1845     for (Elf_Rela &r : ungroupedNonRelatives) {
 1917   for (const RelativeReloc &rel : relocs)
 2018     for (const SymbolTableEntry &s : symbols)
 2045   for (const SymbolTableEntry &s : llvm::make_range(symbols.begin(), e))
 2049   for (std::pair<InputFile *, std::vector<SymbolTableEntry>> &p : arr)
 2050     for (SymbolTableEntry &entry : p.second)
 2051       *i++ = entry;
 2071     for (const SymbolTableEntry &e : symbols) {
 2118   for (SymbolTableEntry &ent : symbols) {
 2172     for (SymbolTableEntry &ent : symbols) {
 2224   for (BaseCommand *base : script->sectionCommands)
 2320   for (const Entry &sym : symbols) {
 2386   for (SymbolTableEntry &ent : llvm::make_range(mid, v.end())) {
 2398   for (const Entry &ent : symbols)
 2533   for (GdbChunk &chunk : chunks)
 2545   for (InputSectionBase *s : inputSections)
 2576     for (DWARFAddressRange &r : *ranges) {
 2615       for (const DWARFDebugPubTable::Entry &ent : set.Entries)
 2677   for (ArrayRef<GdbSymbol> v : symbols)
 2684   for (std::vector<GdbSymbol> &vec : symbols)
 2685     for (GdbSymbol &sym : vec)
 2691   for (GdbSymbol &sym : ret) {
 2695   for (GdbSymbol &sym : ret) {
 2710   for (InputSectionBase *s : inputSections)
 2745   for (GdbChunk &chunk : chunks) {
 2746     for (CuEntry &cu : chunk.compilationUnits) {
 2757   for (GdbChunk &chunk : chunks) {
 2758     for (AddressEntry &e : chunk.addressAreas) {
 2773   for (GdbSymbol &sym : symbols) {
 2794   for (GdbSymbol &sym : symbols) {
 2797     for (uint32_t val : sym.cuVector) {
 2836   for (FdeData &fde : fdes) {
 2902     writeOne(buf, v.id, v.name, *nameOffIt++);
 2968   for (SharedFile *f : sharedFiles) {
 2996   for (auto &vn : verneeds) {
 3007     for (auto &vna : vn.vernauxs) {
 3049   for (MergeInputSection *sec : sections)
 3060   for (MergeInputSection *sec : sections)
 3093     for (MergeInputSection *sec : sections) {
 3288   for (InputSection *isec : executableSections) {
 3320   for (InputSection *isec : executableSections) {
 3366   for (Thunk *t : thunks)
 3379   for (Thunk *t : thunks) {
 3397   for (BaseCommand *base : getParent()->sectionCommands)
 3399       for (InputSection *isec : isd->sections)
 3411   for (BaseCommand *base : getParent()->sectionCommands)
 3413       for (InputSection *isec : isd->sections) {
 3448   for (const Symbol *sym : entries) {
 3517   for (PhdrEntry *p : part.phdrs) {
tools/lld/ELF/Target.cpp
   97   for (InputSectionBase *d : inputSections) {
tools/lld/ELF/Writer.cpp
  158     for (InputSectionBase *s : inputSections) {
  178   for (InputSectionBase *&s : inputSections) {
  304   for (BaseCommand *base : script->sectionCommands)
  368   for (Partition &part : partitions) {
  563   for (OutputSection *sec : outputSections)
  572   for (Partition &part : partitions)
  580   for (Partition &part : partitions)
  584     for (OutputSection *sec : outputSections)
  680   for (InputFile *file : objectFiles) {
  705   for (BaseCommand *base : script->sectionCommands) {
  716     InputSectionBase *isec = cast<InputSectionDescription>(*i)->sections[0];
 1020   for (InputSectionBase *isec : inputSections)
 1023   for (Partition &part : partitions) {
 1024     for (EhInputSection *es : part.ehFrame->sections)
 1027       for (InputSection *ex : part.armExidx->exidxSections)
 1058   for (Partition &part : partitions) {
 1059     for (PhdrEntry *p : part.phdrs) {
 1079     for (OutputSection *os : outputSections) {
 1106     for (OutputSection *os : outputSections) {
 1155   OutputSection *sec = cast<OutputSection>(*e);
 1165   int proximity = getRankProximity(sec, *i);
 1167     auto *curSec = dyn_cast<OutputSection>(*i);
 1193   while (i != e && shouldSkip(*i))
 1218   for (StringRef s : config->symbolOrderingFile)
 1246   for (InputFile *file : objectFiles)
 1267   for (InputSection *isec : isd->sections) {
 1318   for (std::pair<InputSection *, int> p : orderedSections)
 1368     for (BaseCommand *b : sec->sectionCommands)
 1378   for (BaseCommand *base : script->sectionCommands)
 1393   for (BaseCommand *base : script->sectionCommands) {
 1403     for (InputSection *sec : getInputSections(os))
 1474       isa<SymbolAssignment>(**firstSectionOrDotAssignment))
 1480     OutputSection *orphan = cast<OutputSection>(*nonScriptI);
 1507   for (OutputSection *sec : outputSections) {
 1521     for (BaseCommand *base : sec->sectionCommands) {
 1523         for (InputSection *&isec : isd->sections) {
 1580     for (Partition &part : partitions) {
 1633     for (BaseCommand *b : os->sectionCommands)
 1682     for (BaseCommand *base : script->sectionCommands)
 1734   for (Partition &part : partitions)
 1766     for (SharedFile *file : sharedFiles)
 1802     for (DynamicReloc &reloc : part.relaDyn->relocs)
 1820   for (BaseCommand *base : script->sectionCommands)
 1825   for (OutputSection *sec : outputSections) {
 1846     for (Partition &part : partitions) {
 1866     for (PhdrEntry *p : mainPart->phdrs)
 1893   for (Partition &part : partitions) {
 1946   for (OutputSection *sec : outputSections)
 1957   for (OutputSection *os : outputSections)
 1959       for (InputSection *isec : getInputSections(os))
 2094   for (OutputSection *sec : outputSections) {
 2110   for (OutputSection *sec : outputSections) {
 2151   for (OutputSection *sec : outputSections)
 2194   for (OutputSection *sec : outputSections) {
 2219   entry->add(*i);
 2278   for (Partition &part : partitions) {
 2280     for (const PhdrEntry *p : part.phdrs)
 2326   for (OutputSection *sec : outputSections)
 2343   for (Partition &part : partitions)
 2344     for (PhdrEntry *p : part.phdrs)
 2348   for (OutputSection *sec : outputSections) {
 2371   for (OutputSection *sec : outputSections) {
 2384   for (PhdrEntry *p : part.phdrs) {
 2461   for (OutputSection *os : outputSections)
 2474   for (OutputSection *sec : outputSections)
 2492   for (OutputSection *sec : outputSections)
 2501   for (OutputSection *sec : outputSections)
 2581   for (OutputSection *sec : outputSections)
 2610   for (OutputSection *sec : outputSections)
 2627   for (Partition &part : partitions) {
 2629     for (PhdrEntry *p : part.phdrs)
 2640     for (PhdrEntry *p : part.phdrs)
 2655   for (OutputSection *sec : outputSections)
 2659   for (OutputSection *sec : outputSections)
 2702     for (Partition &part : partitions)
 2735   for (Partition &part : partitions)
tools/lld/MinGW/Driver.cpp
  382   for (const std::string &s : linkArgs)
tools/lld/include/lld/Core/PassManager.h
   35     for (std::unique_ptr<Pass> &pass : _passes)
tools/lld/lib/Core/LinkingContext.cpp
   55   for (StringRef undefSym : _initialUndefinedSymbols)
tools/lld/lib/Core/Reader.cpp
   42   for (const std::unique_ptr<Reader> &reader : _readers) {
   64   for (const std::unique_ptr<YamlIOTaggedDocumentHandler> &h : _yamlHandlers)
   81   for (const KindEntry &entry : _kindEntries) {
   98   for (const KindEntry &entry : _kindEntries) {
tools/lld/lib/Core/Resolver.cpp
   36   for (auto &atom : file.defined().owning_ptrs())
   38   for (auto &atom : file.undefined().owning_ptrs()) {
   42   for (auto &atom : file.sharedLibrary().owning_ptrs())
   44   for (auto &atom : file.absolute().owning_ptrs())
  298   for (const OwningAtomPtr<Atom> &atom : _atoms) {
  355   for (const OwningAtomPtr<Atom> &atom : _atoms) {
  366     for (const OwningAtomPtr<Atom> &atom : _atoms)
  410   for (const UndefinedAtom *undef : undefinedAtoms) {
tools/lld/lib/Driver/DarwinLdDriver.cpp
  162   for (std::unique_ptr<File> &file : files)
  642     for (auto path : ctx.searchDirs()) {
  646     for (auto path : ctx.frameworkDirs()) {
 1164   for (std::unique_ptr<Node> &ie : ctx.getNodes())
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  141     for (uint32_t encoding : commonEncodings) {
  196     for (auto &page : pages) {
  209     for (auto &page : pages) {
  491     for (auto &entry : unwindInfos)
tools/lld/lib/ReaderWriter/MachO/File.h
  178       for (auto &offAndAtom : sectAndAtoms.second) {
  193     for (auto &offAndAtom : vec)
  324     for (ReExportedDylib &entry : _reExportedDylibs) {
  363     for (const ReExportedDylib &dylib : _reExportedDylibs) {
tools/lld/lib/ReaderWriter/MachO/GOTPass.cpp
  133     for (const GOTEntryAtom *slot : entries)
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp
   46       assert(compareAtoms(*i, *j, customSorter));
   46       assert(compareAtoms(*i, *j, customSorter));
   47       assert(!compareAtoms(*j, *i, customSorter));
   47       assert(!compareAtoms(*j, *i, customSorter));
  425   for (OwningAtomPtr<DefinedAtom> &atom : atomRange.owning_ptrs()) {
  438   for (SortKey &k : keys)
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  480     for (auto syslibRoot : _syslibRoots) {
  508     for (auto syslibRoot : _syslibRoots) {
  561   for (StringRef dir : searchDirs()) {
  573   for (StringRef dir : frameworkDirs()) {
  710   for (StringRef sysPath : _syslibRoots) {
  749     for (MachODylibFile *dylib : _allDylibs) {
  816   for (const SectionAlign &entry : _sectAligns) {
  945   for (const OrderFileNode &info : nodes) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  288     for (const Section &sect : file.sections) {
  440   for (const DependentDylib &dep : _file.dependentDylibs) {
  446   for (const StringRef &path : _file.rpaths) {
  485   for (const Segment &sg1 : _file.segments) {
  486     for (const Segment &sg2 : _file.segments) {
  497   for (const Section &s1 : _file.sections) {
  498     for (const Section &s2 : _file.sections) {
  511   for (const Segment &sg : _file.segments) {
  517   for (const Section &s : _file.sections) {
  520     for (const Segment &sg : _file.segments) {
  540   for (const Segment &sg : _file.segments) {
  552     for (const Section *s : _segInfo[&sg].sections) {
  648   for (const Section &sin : _file.sections) {
  672   for (const Segment &seg : _file.segments) {
  715     for (const Section *section : segInfo.sections) {
  961     for (const DependentDylib &dep : _file.dependentDylibs) {
  979     for (const StringRef &path : _file.rpaths) {
 1021   for (const Section &s : _file.sections) {
 1037   for (Section sect : _file.sections) {
 1038     for (Relocation r : sect.relocations) {
 1049   for (const Symbol &sym : symbols) {
 1086   for (const DataInCode &entry : _file.dataInCode) {
 1114     for (const Section &section : _file.sections) {
 1115       for (uint32_t index : section.indirectSymbols) {
 1124     for (const Segment &seg : _file.segments) {
 1126       for (const Section *section : segInfo.sections) {
 1127         for (uint32_t index : section->indirectSymbols) {
 1172   for (const RebaseLocation& entry : _file.rebasingInfo) {
 1191   for (const BindLocation& entry : _file.bindingInfo) {
 1236   for (const BindLocation& entry : _file.lazyBindingInfo) {
 1438   for (const Export& entry : _file.exportInfo) {
 1445   for (const Export& entry : _file.exportInfo)
 1454     for (TrieNode* node : orderedNodes) {
 1461   for (TrieNode* node : orderedNodes) {
 1476   for (const Symbol &sym : _file.stabsSymbols) {
 1479   for (const Symbol &sym : _file.localSymbols) {
 1482   for (const Symbol &sym : _file.globalSymbols) {
 1485   for (const Symbol &sym : _file.undefinedSymbols) {
 1495   for (const Section &sect : _file.sections) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  214   for (SectionInfo *si : _sectionInfos) {
  222   for (SegmentInfo *sgi : _segmentInfos) {
  356     for(SectionInfo *sect : _customSections) {
  441   for (SegmentInfo *si : _segmentInfos) {
  531   for (SectionInfo *si : _sectionInfos) {
  539   for (SegmentInfo *seg : _segmentInfos) {
  549   for (SegmentInfo *seg : _segmentInfos) {
  551     for (SectionInfo *sect : seg->sections)
  558   for (SectionInfo *sect : seg->sections) {
  581   for (SectionInfo *sect : seg->sections) {
  593   for (SegmentInfo *seg : _segmentInfos) {
  610     for (SegmentInfo *sgi : _segmentInfos) {
  615       for (SectionInfo *si : sgi->sections) {
  626   for (SegmentInfo *sgi : _segmentInfos) {
  664     for (const SectionInfo *sectInfo : _sectionInfos)
  665       for (const AtomInfo &atomInfo : sectInfo->atomsAndOffsets)
  671   for (SectionInfo *si : _sectionInfos) {
  685     for (AtomInfo &ai : si->atomsAndOffsets) {
  703   for (SegmentInfo *sgi : _segmentInfos) {
  704     for (SectionInfo *si : sgi->sections) {
  713   for (SegmentInfo *sgi : _segmentInfos) {
  717     for (SectionInfo *si : sgi->sections) {
  742   for (SectionInfo *sect : _sectionInfos) {
  743     for (const AtomInfo &info : sect->atomsAndOffsets) {
  767   for (const Atom *atom : _machHeaderAliasAtoms) {
  806   for (SectionInfo *sect : _sectionInfos) {
  807     for (const AtomInfo &info : sect->atomsAndOffsets) {
  855   for (const DefinedAtom *atom : atomsNeedingDebugNotes) {
  938     for (auto &stab : stabsList) {
 1039   for (auto &stab : _stabs) {
 1056   for (SectionInfo *sect : _sectionInfos) {
 1057     for (const AtomInfo &info : sect->atomsAndOffsets) {
 1101   for (AtomAndIndex &ai : globals) {
 1126   for (AtomAndIndex &ai : undefs) {
 1171   for (SectionInfo *si : _sectionInfos) {
 1175       for (const AtomInfo &info : si->atomsAndOffsets) {
 1197       for (const AtomInfo &info : si->atomsAndOffsets) {
 1206       for (const AtomInfo &info : si->atomsAndOffsets) {
 1256   for (DependentDylib &dep : nFile.dependentDylibs) {
 1272   for (const SegmentInfo *seg : _segmentInfos) {
 1285   for (const SectionInfo *si : _sectionInfos) {
 1315   for (SectionInfo *si : _sectionInfos) {
 1317     for (const AtomInfo &info : si->atomsAndOffsets) {
 1342   for (SectionInfo *si : _sectionInfos) {
 1343     for (const AtomInfo &info : si->atomsAndOffsets) {
 1382   for (SectionInfo *si : _sectionInfos) {
 1383     for (const AtomInfo &info : si->atomsAndOffsets) {
 1430   for (SectionInfo *sect : _sectionInfos) {
 1432     for (const AtomInfo &info : sect->atomsAndOffsets) {
 1510     for (SectionInfo *sectInfo : _sectionInfos) {
 1511       for (const AtomInfo &atomInfo : sectInfo->atomsAndOffsets) {
 1537   for (SectionInfo *sect : _sectionInfos) {
 1538     for (const AtomInfo &info : sect->atomsAndOffsets) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  229   for (const Symbol &sym : inSymbols) {
  282   for (auto &sect : normalizedFile.sections) {
  494   for (const Section &s : normalizedFile.sections) {
  602     const Relocation &reloc = *it;
  621       const Relocation &reloc2 = *++it;
  727   for (const auto &stabSym : normalizedFile.stabsSymbols) {
  946   for (auto &s : normalizedFile.sections) {
 1324   for (auto &section : normalizedFile.sections)
 1438   for (auto &sect : normalizedFile.sections) {
 1462   for (auto &sym : normalizedFile.undefinedSymbols) {
 1476   for (auto &sect : normalizedFile.sections) {
 1499   for (const DataInCode &entry : normalizedFile.dataInCode) {
 1570     for (const Export &exp : normalizedFile.exportInfo) {
 1576     for (auto &sym : normalizedFile.globalSymbols) {
 1583   for (const DependentDylib &dep : normalizedFile.dependentDylibs) {
tools/lld/lib/ReaderWriter/MachO/ShimPass.cpp
   82     for (const DefinedAtom *shim : shims)
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp
  292     for (const Atom *target : targetsNeedingStubs) {
tools/lld/lib/ReaderWriter/MachO/TLVPass.cpp
  106     for (const TLVPEntryAtom *slot : entries)
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  608       for (const ArchMember &member : _members)
 1266   for (const lld::Reference *ref : _references) {
tools/lld/tools/lld/lld.cpp
   79     if (StringRef(*it) != "-m")
   81     return isPETargetName(*(it + 1));
tools/lld/wasm/Driver.cpp
  184     for (StringRef sym : args::getLines(*buf))
  212   for (std::unique_ptr<MemoryBuffer> &mb : file->takeThinBuffers())
  233       for (MemoryBufferRef &m : getArchiveMembers(mbref))
  260   for (StringRef dir : config->searchPaths) {
  713   for (InputFile *f : files)
tools/lld/wasm/InputFiles.cpp
  238   for (InputChunk *c : chunks) {
  304     for (const WasmRelocation &reloc : section.Relocations)
tools/lld/wasm/LTO.cpp
  161   for (std::unique_ptr<MemoryBuffer> &file : files)
tools/lld/wasm/MarkLive.cpp
   68     for (const ObjFile *obj : symtab->objectFiles) {
   70       for (const WasmInitFunc &f : l.InitFunctions) {
   91     for (const ObjFile *obj : symtab->objectFiles) {
   93       for (const WasmInitFunc &f : l.InitFunctions)
  147     for (const ObjFile *obj : symtab->objectFiles) {
  148       for (InputChunk *c : obj->functions)
  151       for (InputChunk *c : obj->segments)
  154       for (InputGlobal *g : obj->globals)
  157       for (InputEvent *e : obj->events)
  161     for (InputChunk *c : symtab->syntheticFunctions)
  164     for (InputGlobal *g : symtab->syntheticGlobals)
tools/lld/wasm/OutputSections.cpp
  168     for (InputSegment *inputSeg : segment->inputSegments)
  196     for (const InputChunk *chunk : segment->inputSegments)
  204     for (const InputChunk *inputSeg : seg->inputSegments)
  211     for (const InputChunk *c : seg->inputSegments)
tools/lld/wasm/SymbolTable.cpp
   73   for (BitcodeFile *f : bitcodeFiles)
   76   for (StringRef filename : lto->compile()) {
  574   for (Symbol* v : variants) {
  691     for (auto *s: variants) {
  700     for (auto *symbol : variants) {
  717     for (auto *symbol : variants) {
tools/lld/wasm/SyntheticSections.cpp
   66   for (auto *so : symtab->sharedFiles)
   90   for (const WasmSignature *sig : types)
  156   for (const Symbol *sym : importedSymbols) {
  184   for (const Symbol *sym : gotSymbols) {
  201   for (const InputFunction *func : inputFunctions)
  245   for (InputGlobal *g : inputGlobals)
  247   for (Symbol *sym : staticGotSymbols)
  268   for (InputGlobal *g : inputGlobals)
  270   for (const Symbol *sym : staticGotSymbols) {
  284   for (const DefinedData *sym : dataAddressGlobals) {
  304   for (InputEvent *e : inputEvents) {
  324   for (const WasmExport &export_ : exports)
  361   for (const FunctionSymbol *sym : indirectFunctions) {
  391     for (const Symbol *sym : symtabEntries) {
  431     for (const OutputSegment *s : dataSegments) {
  442     for (const WasmInitEntry &f : initFunctions) {
  455   for (const InputFunction *f : out.functionSec->inputFunctions) {
  467     for (const InputSegment *isec : inputSegments)
  481       for (const ComdatEntry &entry : c.second) {
  497   for (const InputFunction *f : out.functionSec->inputFunctions)
  512   for (const Symbol *s : out.importSec->importedSymbols) {
  518   for (const InputFunction *f : out.functionSec->inputFunctions) {
  536     for (auto &producer : *producers.first)
tools/lld/wasm/Writer.cpp
  109   for (ObjFile *file : symtab->objectFiles) {
  110     for (InputSection *section : file->customSections) {
  172   for (ObjFile *file : symtab->objectFiles) {
  240   for (OutputSegment *seg : segments) {
  364   for (OutputSection *s : outputSections) {
  389   for (ObjFile *file : symtab->objectFiles) {
  459   for (ObjFile *file : symtab->objectFiles) {
  556   for (ObjFile *file : symtab->objectFiles) {
  572   for (ObjFile *file : symtab->objectFiles) {
  579   for (const Symbol *sym : out.importSec->importedSymbols) {
  586   for (const InputFunction *f : out.functionSec->inputFunctions)
  589   for (const InputEvent *e : out.eventSec->inputEvents)
  594   for (ObjFile *file : symtab->objectFiles) {
  596     for (InputChunk *chunk : file->functions)
  598     for (InputChunk *chunk : file->segments)
  600     for (auto &p : file->customSections)
  610   for (InputFunction *func : symtab->syntheticFunctions)
  613   for (ObjFile *file : symtab->objectFiles) {
  615     for (InputFunction *func : file->functions)
  619   for (InputGlobal *global : symtab->syntheticGlobals)
  622   for (ObjFile *file : symtab->objectFiles) {
  624     for (InputGlobal *global : file->globals)
  628   for (ObjFile *file : symtab->objectFiles) {
  630     for (InputEvent *event : file->events)
  661   for (ObjFile *file : symtab->objectFiles) {
  662     for (InputSegment *segment : file->segments) {
  789       for (const OutputSegment *s : segments) {
  823       for (const OutputSegment *s : segments) {
  849     for (const OutputSegment *seg : segments)
  850       for (const InputSegment *inSeg : seg->inputSegments)
  877     for (const WasmInitEntry &f : initFunctions) {
  896     for (auto *seg : segments) {
  936   for (ObjFile *file : symtab->objectFiles) {
  938     for (const WasmInitFunc &f : l.InitFunctions) {
 1006     for (const OutputSegment *seg : segments)
 1051     for (ObjFile *file : symtab->objectFiles)
tools/lldb/include/lldb/Core/ModuleSpec.h
  362     for (auto spec : m_specs) {
  372       for (auto spec : m_specs) {
  388     for (auto spec : m_specs) {
  398       for (auto spec : m_specs) {
  408     for (auto spec : m_specs) {
tools/lldb/include/lldb/Core/UniqueCStringMap.h
   97       return &(*pos);
  123     for (const Entry &entry : llvm::make_range(std::equal_range(
tools/lldb/include/lldb/DataFormatters/FormattersContainer.h
  109     for (const auto &pos : m_map)
  120       for (const auto &pos : m_map) {
  302     for (const auto &pos : m_format_map.map()) {
  314     for (const FormattersMatchCandidate &candidate : candidates) {
tools/lldb/include/lldb/Symbol/UnwindPlan.h
  401     for (const RowSP &row_sp : rhs.m_row_list)
tools/lldb/include/lldb/Target/Language.h
  108       for (auto& scavenger : m_scavengers) {
tools/lldb/include/lldb/Utility/CompletionRequest.h
  172     for (const std::string &completion : completions)
tools/lldb/include/lldb/Utility/Iterable.h
   21 template <typename I, typename E> E vector_adapter(I &iter) { return *iter; }
   23 template <typename I, typename E> E list_adapter(I &iter) { return *iter; }
tools/lldb/include/lldb/Utility/RangeMap.h
  530         return &(*pos);
  534           return &(*pos);
  569       if (prev->Union(*pos))
  578         if (pos->Union(*next))
tools/lldb/include/lldb/Utility/StringList.h
  123     for (const auto &s : s_iterable)
tools/lldb/include/lldb/Utility/StructuredData.h
  173       for (const auto &object_sp : m_items) {
tools/lldb/source/API/SBBreakpoint.cpp
  709     for (std::string name : names_vec) {
  814     for (lldb::break_id_t &break_id : m_break_ids) {
  859     for (lldb::break_id_t id : m_break_ids) {
tools/lldb/source/API/SBFrame.cpp
  893               for (auto &rec_value_sp : recognized_arg_list->GetObjects()) {
tools/lldb/source/API/SBMemoryRegionInfoList.cpp
   45     for (const auto &val : list.m_regions)
tools/lldb/source/API/SBTarget.cpp
  223   for (auto &Entry : target_sp->GetStatistics()) {
 1204     for (auto name : name_vec)
 1846       for (auto *runtime : process_sp->GetLanguageRuntimes()) {
 1856     for (auto *type_system : target_sp->GetScratchTypeSystems())
 1870     for (auto *type_system : target_sp->GetScratchTypeSystems())
 1900       for (auto *runtime : process_sp->GetLanguageRuntimes()) {
 1904           for (auto type : types)
 1912       for (auto *type_system : target_sp->GetScratchTypeSystems())
tools/lldb/source/API/SBValueList.cpp
   38     for (auto val : list.m_values)
   49     for (auto val : m_values) {
   58       for (auto val : m_values) {
tools/lldb/source/Breakpoint/Breakpoint.cpp
  790             for (lldb::break_id_t old_id : old_id_vec) {
  795             for (lldb::break_id_t new_id : new_id_vec) {
tools/lldb/source/Breakpoint/BreakpointList.cpp
   54     NotifyChange(*it, eBreakpointEventTypeRemoved);
   63   for (const auto &bp_sp : m_breakpoints)
   69   for (const auto &bp_sp : m_breakpoints)
   75   for (const auto &bp_sp : m_breakpoints)
   85     for (const auto &bp_sp : m_breakpoints)
   95   for (const auto &bp_sp : m_breakpoints) {
  127     return *it;
  156   for (const auto &bp_sp : m_breakpoints)
  171   for (const auto &bp_sp : m_breakpoints)
  178   for (const auto &bp_sp : m_breakpoints)
  184   for (const auto &bp_sp : m_breakpoints)
tools/lldb/source/Breakpoint/BreakpointLocationCollection.cpp
   85     stop_sp = *pos;
   96     stop_sp = *pos;
  143     if ((*pos)->ValidForThisThread(thread))
  157     if (!(*pos)->GetBreakpoint().IsInternal()) {
  174     (*pos)->GetDescription(s, level);
tools/lldb/source/Breakpoint/BreakpointLocationList.cpp
   74   if (pos != end && (*pos)->GetID() == break_id)
   75     return *(pos);
   87     BreakpointLocationSP break_loc = (*pos);
  132     (*pos)->Dump(s);
  158     (*pos)->ClearBreakpointSite();
  166     if ((*pos)->IsEnabled())
  167       (*pos)->ResolveBreakpointSite();
  176     hit_count += (*pos)->GetHitCount();
  185     if ((*pos)->IsResolved())
  198     (*pos)->GetDescription(s, level);
  306   for (BreakpointLocationSP loc_sp : m_locations) {
tools/lldb/source/Breakpoint/BreakpointResolverName.cpp
   68   for (const std::string &name : names) {
  200     for (auto lookup : m_lookups) {
  226     for (ConstString variant_name : lang->GetMethodNameVariants(name)) {
  278       for (const auto &lookup : m_lookups) {
tools/lldb/source/Breakpoint/WatchpointOptions.cpp
  173     for (const std::string &line : data->user_source) {
tools/lldb/source/Commands/CommandCompletions.cpp
  311   for (const std::string &s : g_property_names)
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
  163           for (std::string &str : m_commands)
  724         for (auto name : m_options.m_breakpoint_names) {
 1921       for (const Args::ArgEntry &arg : command)
 1930       for (const std::string &name_str : name_list) {
tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
  243     for (BreakpointOptions *bp_options : *bp_options_vec) {
  268     for (auto bp_options : bp_options_vec) {
tools/lldb/source/Commands/CommandObjectCommands.cpp
  964         for (const std::string &line : lines) {
tools/lldb/source/Commands/CommandObjectDisassemble.cpp
  454       for (AddressRange cur_range : ranges) {
  499       for (AddressRange cur_range : ranges) {
tools/lldb/source/Commands/CommandObjectFrame.cpp
  530         for (auto &entry : command) {
  700           for (auto &rec_value_sp : recognized_arg_list->GetObjects()) {
tools/lldb/source/Commands/CommandObjectLog.cpp
   41     for (llvm::StringRef channel : Log::ListChannels())
  287     for (llvm::StringRef channel : Log::ListChannels())
tools/lldb/source/Commands/CommandObjectMemory.cpp
 1405     for (auto &entry : command) {
 1666     for (auto thread : thread_list) {
tools/lldb/source/Commands/CommandObjectMultiword.cpp
  141     for (const std::string &match : matches) {
tools/lldb/source/Commands/CommandObjectProcess.cpp
 1421       for (const auto &arg : signal_args) {
tools/lldb/source/Commands/CommandObjectRegister.cpp
  203         for (auto &entry : command) {
tools/lldb/source/Commands/CommandObjectReproducer.cpp
  342       for (GDBRemotePacket &packet : packets) {
tools/lldb/source/Commands/CommandObjectSettings.cpp
  281       for (const auto &arg : args) {
  402     for (const auto &arg : args) {
tools/lldb/source/Commands/CommandObjectStats.cpp
   81     for (auto &stat : target.GetStatistics()) {
tools/lldb/source/Commands/CommandObjectTarget.cpp
 4685         for (auto cmd : m_options.m_one_liner)
tools/lldb/source/Commands/CommandObjectThread.cpp
  146       for (const lldb::tid_t &tid : tids) {
  160         for (const uint32_t &thread_index_id : thread_index_ids) {
  175       for (const lldb::tid_t &tid : tids) {
  334       for (auto type : types) {
 1196         for (uint32_t line_number : line_numbers) {
 1218         for (lldb::addr_t address : m_options.m_until_addrs) {
tools/lldb/source/Commands/CommandObjectType.cpp
  198                 for (const std::string &type_name : options->m_target_types) {
  436                 for (const std::string &type_name : options->m_target_types) {
 2584       entry->AddExpressionPath(*begin);
 2784     for (Language *language : languages) {
tools/lldb/source/Core/Debugger.cpp
  527       for (const auto &debugger : *g_debugger_list_ptr)
  647       if ((*pos).get() == debugger_sp.get()) {
  661       if ((*pos)->m_instance_name == instance_name) {
  662         debugger_sp = *pos;
  676       target_sp = (*pos)->GetTargetList().FindTargetWithProcessID(pid);
  690       target_sp = (*pos)->GetTargetList().FindTargetWithProcess(process);
 1096       if ((*pos)->GetID() == id) {
 1097         debugger_sp = *pos;
tools/lldb/source/Core/Disassembler.cpp
 1056     uint32_t inst_size = (*pos)->GetOpcode().GetByteSize();
 1089     (*pos)->Dump(s, max_opcode_byte_size, show_address, show_bytes, exe_ctx,
tools/lldb/source/Core/FormatEntity.cpp
  386   for (const auto &child : children) {
 1111     for (const auto &child : entry.children) {
 1126     for (const auto &child : entry.children) {
tools/lldb/source/Core/IOHandler.cpp
 1027       if ((*pos).get() == window) {
 1056       if ((*pos)->m_name == name)
 1057         return *pos;
 1067       (*pos)->Erase();
 1121     for (auto &subwindow_sp : m_subwindows)
 1192     for (auto subwindow_sp : subwindows) {
 1252       for (auto subwindow_sp : m_subwindows) {
 2058     for (auto &item : m_children) {
 2124       for (auto &item : m_children) {
 2166       for (auto &item : m_children) {
 2624     for (auto &valobj_sp : valobj_list.GetObjects())
 2899     for (auto &row : rows) {
 2932     for (auto &row : rows) {
 2941     for (auto &row : rows) {
tools/lldb/source/Core/ModuleList.cpp
  189   for (auto pos : module_list.m_modules)
  195   for (auto pos : module_list.m_modules) {
  221   ModuleSP module_sp(*pos);
  287     if (Remove(*pos, false /* notify */))
  341       (*pos)->FindFunctions(lookup_info.GetLookupName(), nullptr,
  354       (*pos)->FindFunctions(name, nullptr, name_type_mask, include_symbols,
  371       (*pos)->FindFunctionSymbols(lookup_info.GetLookupName(),
  383       (*pos)->FindFunctionSymbols(name, name_type_mask, sc_list);
  394     (*pos)->FindFunctions(name, include_symbols, include_inlines, sc_list);
  403     (*pos)->FindCompileUnits(path, sc_list);
  412     (*pos)->FindGlobalVariables(name, nullptr, max_matches, variable_list);
  422     (*pos)->FindGlobalVariables(regex, max_matches, variable_list);
  432     (*pos)->FindSymbolsWithNameAndType(name, symbol_type, sc_list);
  441     (*pos)->FindSymbolsMatchingRegExAndType(regex, symbol_type, sc_list);
  449     ModuleSP module_sp(*pos);
  464       if ((*pos).get() == module_ptr) {
  465         module_sp = (*pos);
  481       if ((*pos)->GetUUID() == uuid) {
  482         module_sp = (*pos);
  514       (*pos)->FindTypes(name, name_is_fully_qualified, max_matches,
  527     if ((*pos)->FindSourceFile(orig_spec, new_spec))
  541     (*pos)->FindAddressesForLine(target_sp, file, line, function, output_local,
  551     ModuleSP module_sp(*pos);
  575     (*pos)->Dump(s);
  601     if ((*pos)->ResolveFileAddress(vm_addr, so_addr))
  623           (*pos)->ResolveSymbolContextForAddress(so_addr, resolve_scope, sc);
  646     (*pos)->ResolveSymbolContextsForFileSpec(file_spec, line, check_inlines,
  660       if ((*pos).get() == module)
  972   for (auto module : m_modules) {
  998   for (const auto &module : m_modules) {
tools/lldb/source/Core/PluginManager.cpp
  322   for (const auto &instances : GetArchitectureInstances()) {
 2326     for (auto &sym_file : GetSymbolFileInstances()) {
 2335     for (auto &os : GetOperatingSystemInstances()) {
 2344     for (auto &plugin : GetStructuredDataPluginInstances()) {
tools/lldb/source/Core/Section.cpp
  471     if ((*sect_iter)->GetID() == sect_id) {
  472       *sect_iter = sect_sp;
  475       if ((*sect_iter)
  489       count += (*sect_iter)->GetChildren().GetNumSections(depth - 1);
  514           sect_sp = *sect_iter;
  532       if ((*sect_iter)->GetID() == sect_id) {
  533         sect_sp = *sect_iter;
  536         sect_sp = (*sect_iter)->GetChildren().FindSectionByID(sect_id);
  579         sect_sp = *sect_iter;
  609     (*sect_iter)->Dump(s, target_has_loaded_sections ? target : nullptr, depth);
  620     if ((*pos)->Slide(slide_amount, slide_children))
tools/lldb/source/Core/ValueObject.cpp
  589     child_sp = GetChildAtIndex(*pos, can_create);
  592         ValueObjectSP new_child_sp(child_sp->GetChildAtIndex(*pos, can_create));
tools/lldb/source/Core/ValueObjectList.cpp
   68     ValueObject *valobj = (*pos).get();
   70       val_obj_sp = *pos;
   84     ValueObject *valobj = (*pos).get();
   86       valobj_sp = *pos;
   99     ValueObject *valobj = (*pos).get();
  101       valobj_sp = *pos;
tools/lldb/source/DataFormatters/FormatManager.cpp
  241   for (lldb::LanguageType language_type : GetCandidateLanguages(valobj)) {
  243       for (ConstString candidate :
  621   for (lldb::LanguageType lang_type : match_data.GetCandidateLanguages()) {
  662     for (lldb::LanguageType lang_type : match_data.GetCandidateLanguages()) {
  696   for (lldb::LanguageType lang_type : match_data.GetCandidateLanguages()) {
  737     for (lldb::LanguageType lang_type : match_data.GetCandidateLanguages()) {
  770   for (lldb::LanguageType lang_type : match_data.GetCandidateLanguages()) {
  811     for (lldb::LanguageType lang_type : match_data.GetCandidateLanguages()) {
  872     for (lldb::LanguageType lang_type : match_data.GetCandidateLanguages()) {
  905   for (lldb::LanguageType lang_type : match_data.GetCandidateLanguages()) {
tools/lldb/source/DataFormatters/FormattersHelpers.cpp
  110   for (auto child : children)
tools/lldb/source/DataFormatters/LanguageCategory.cpp
  138   for (auto &candidate : m_hardcoded_formats) {
  158   for (auto &candidate : m_hardcoded_summaries) {
  178   for (auto &candidate : m_hardcoded_synthetics) {
  198   for (auto &candidate : m_hardcoded_validators) {
tools/lldb/source/DataFormatters/TypeCategoryMap.cpp
  114     if (*viter)
  115       Enable(*viter, Last);
  182     for (auto match : match_data.GetMatchesVector()) {
  221     for (auto match : match_data.GetMatchesVector()) {
  262     for (auto match : match_data.GetMatchesVector()) {
  303     for (auto match : match_data.GetMatchesVector()) {
tools/lldb/source/Expression/DiagnosticManager.cpp
   50   for (const auto &diagnostic : Diagnostics()) {
tools/lldb/source/Expression/ExpressionVariable.cpp
   50   for (const IRExecutionUnit::JittedFunction &jitted_function :
   65   for (const IRExecutionUnit::JittedGlobalVariable &global_var :
tools/lldb/source/Expression/IRExecutionUnit.cpp
  111   for (JittedFunction &function : m_jitted_functions) {
  279   for (std::string &feature : m_cpu_features)
  402     for (ConstString failed_lookup : m_failed_lookups) {
  422   for (JittedFunction &jitted_function : m_jitted_functions) {
  449     for (AllocationRecord &record : m_records) {
  716   for (const SearchSpec &C_spec : C_specs) {
  748   for (const SearchSpec &C_spec : C_specs) {
  780   for (const SearchSpec &spec : specs) {
  915   for (const SearchSpec &spec : specs) {
  916     for (LanguageRuntime *runtime : process_sp->GetLanguageRuntimes()) {
  932   for (const SearchSpec &spec : specs) {
  993             for (JittedFunction &jitted_function : m_jitted_functions) {
 1058   for (AllocationRecord &record : m_records) {
 1085   for (AllocationRecord &record : m_records) {
 1145   for (AllocationRecord &record : m_records) {
 1154     for (AllocationRecord &record : m_records) {
 1168   for (AllocationRecord &record : m_records) {
 1185   for (AllocationRecord &record : m_records) {
 1226   for (AllocationRecord &record : m_records) {
tools/lldb/source/Expression/Materializer.cpp
  403   uint32_t ret = AddStructMember(**iter);
  404   (*iter)->SetOffset(ret);
  756   uint32_t ret = AddStructMember(**iter);
  757   (*iter)->SetOffset(ret);
 1037   uint32_t ret = AddStructMember(**iter);
 1038   (*iter)->SetOffset(ret);
 1153   uint32_t ret = AddStructMember(**iter);
 1154   (*iter)->SetOffset(ret);
 1330   uint32_t ret = AddStructMember(**iter);
 1331   (*iter)->SetOffset(ret);
 1368   for (EntityUP &entity_up : m_entities) {
 1382     for (EntityUP &entity_up : m_entities)
 1417       for (EntityUP &entity_up : m_materializer->m_entities)
 1421     for (EntityUP &entity_up : m_materializer->m_entities) {
 1437   for (EntityUP &entity_up : m_materializer->m_entities) {
tools/lldb/source/Expression/REPL.cpp
  150   for (char &ch : last_line) {
tools/lldb/source/Host/common/Editline.cpp
   93   for (wchar_t ch : content) {
  102   for (EditLineStringType line : lines) {
  134   for (EditLineCharType ch : line) {
  413   for (EditLineStringType line : m_input_lines) {
tools/lldb/source/Host/common/MainLoop.cpp
  232   for (const auto &fd : read_fds) {
  248   for (const auto &signal : signals) {
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
   96   for (const auto &thread : m_threads) {
  161   for (const auto &thread : m_threads) {
  182       for (auto unwatch_thread_sp : watchpoint_established_threads) {
  202   for (const auto &thread : m_threads) {
  248   for (const auto &thread : m_threads) {
  260       for (auto rollback_thread_sp : breakpoint_established_threads) {
  287   for (const auto &thread : m_threads) {
  329   for (auto native_delegate : m_delegates)
  354     for (auto native_delegate : m_delegates)
tools/lldb/source/Host/common/TCPSocket.cpp
  154   for (auto address : addresses) {
  192   for (auto address : addresses) {
tools/lldb/source/Interpreter/CommandAlias.cpp
  154   for (const auto &opt_entry : *options) {
  179   for (const auto &opt_entry : *GetOptionArguments()) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 1399   for (const auto &entry : *option_arg_vector) {
 1906     for (const auto &option_entry : *option_arg_vector) {
tools/lldb/source/Interpreter/OptionValueArgs.cpp
   18   for (auto value : m_values) {
tools/lldb/source/Interpreter/OptionValueDictionary.cpp
  113     for (const auto &entry : args) {
tools/lldb/source/Interpreter/Options.cpp
  900   for (const Args::ArgEntry &entry : args)
tools/lldb/source/Interpreter/ScriptInterpreter.cpp
   76   for (BreakpointOptions *bp_options : bp_options_vec) {
   89   for (BreakpointOptions *bp_options : bp_options_vec) {
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
 1344       for (const auto &ku : kexts_failed_to_load) {
 1348       for (const auto &ku : kexts_failed_to_load) {
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  155   for (addr_t solib_addr : solib_addresses) {
  169             if (solib_addr == (*pos).address) {
  952       for (Address address : addresses) {
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  604       if (image_infos[idx].address == (*pos).address) {
  605         image_infos[idx].uuid = (*pos).uuid;
  615           UnloadModuleSections(unload_image_module_sp.get(), *pos);
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
  292   for (auto const &modInfo : module_list.m_list) {
  308   for (auto const &modInfo : module_list.m_list) {
  310     for (auto const &existing : m_loaded_modules.m_list) {
  337   for (auto const &existing : m_loaded_modules.m_list) {
  339     for (auto const &modInfo : module_list.m_list) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
  451   for (clang::NamedDecl *decl : m_decls) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
 1676   for (const auto &item : sorted_items) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp
   24   for (auto *named_decl : named_decls) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
 1177         for (CompilerDecl decl : found_decls) {
 1328         for (const FuncDeclInfo &fdi : fdi_cache) {
 1390         for (clang::NamedDecl *decl : decls_from_modules) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  139     for (ClangModulesDeclVendor::ModuleID module : exported_modules)
  249   for (const std::string &dir : include_directories) {
 1107   for (const auto &diag : diagnostic_manager.Diagnostics()) {
 1110       for (const FixItHint &fixit : diagnostic->FixIts()) {
 1370   for (lldb::addr_t static_initializer : static_initializers) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
  328       for (ClangModulesDeclVendor::ModuleID module : hand_imported_modules) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  138   for (IDAndDiagnostic &diag : m_diagnostics) {
  212   for (ConstString path_component : module.path) {
  274     for (ConstString path_component : module.path) {
  350     for (auto &imported_module : cu.GetImportedModules())
  407   for (ModuleID module : modules) {
  648   for (const std::string &arg : compiler_invocation_arguments)
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
  357     for (ClangModulesDeclVendor::ModuleID module : hand_imported_modules) {
  475   for (const FileSpec &f : sc.comp_unit->GetSupportFiles())
  483       for (const FileSpec &f : support_files) {
  492     for (const FileSpec &f : files)
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
  163       if (!InstrumentInstruction(*ii))
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1412   for (CallInst *ci : calls_to_remove)
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
  412     for (auto &candidate : map) {
  488     for (auto &candidate : map) {
tools/lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
  941             for (const CompilerType &type :
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
  410     if (addr <= (*pos).code_start) {
  411       flags = (*pos).flags;
  609     if ((*pos).AddressInRegion(addr, flags))
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
  136     for (auto element : elements) {
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
  838   for (const auto &module_desc : *m_rsmodules) {
  842     for (const auto &reduction : module_desc->m_reductions) {
  899   for (auto &name : names) {
  909     for (const RSScriptGroupDescriptor::Kernel &k : sg->m_kernels) {
 1175     for (auto sg : m_scriptGroups) {
 1321   for (const uint64_t alloc_addr : allocs) {
 1458     auto &allocation_up = *iter; // get the unique pointer
 1632   for (const auto &rs_script : m_scripts) {
 2236   for (auto module_sp : m_rsmodules)
 2322     for (Element &child : elem.children) {
 2583   for (const RenderScriptRuntime::Element &child : elem.children) {
 2611   for (const Element &child : elem.children)
 2745     for (const auto &rs_module : m_rsmodules) {
 3105   for (const auto &script : m_scripts) {
 3129   for (const auto &module : m_rsmodules) {
 3132     for (const auto &kernel : module->m_kernels) {
 3152   for (const auto &a : m_allocations) {
 3326   for (auto &alloc : m_allocations) {
 3352   for (auto &alloc : m_allocations) {
 3447   for (const auto &kernel : rsmodule_sp->m_kernels) {
 3469     for (const auto &module : m_rsmodules)
 3812   for (const auto &module : m_rsmodules) {
 3820   for (const auto &s : m_scripts) {
 3836   for (const auto &a : m_allocations) {
 3851     if (*((*it)->address) == address) {
 3853                 __FUNCTION__, (*it)->id, address);
 3905   for (const auto &global : m_globals) {
 3914   for (const auto &kernel : m_kernels) {
 3935   for (const auto &reduction : m_reductions) {
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
  280     for (auto sg : m_script_groups) {
  398     for (const auto &module : m_rsmodules)
  399       for (const auto &kernel : module->m_kernels)
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.cpp
   64     for (const auto &name : sites) {
  116     for (const RSScriptGroupDescriptorSP &g : groups) {
  124         for (const auto &k : g->m_kernels) {
tools/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
  225       for (const llvm::MachO::fat_arch &fat_arch : fat_archs) {
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  410   for (const ELFProgramHeader &H : program_headers) {
 1399         const ELFSectionHeaderInfo &sheader = *I;
 1798     const ELFSectionHeaderInfo &header = *I;
 2348     ELFDynamic *symbol = &*I;
 2856         const ELFSectionHeader &reloc_header = *I;
 2913   for (const Symbol &s : new_symbols)
 3183     ObjectFileELF::DumpELFSectionHeader(s, *I);
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1966         for (auto name_slice : nameSlices)
 2513         for (auto &e : trie_entries)
 4475     for (auto &nlist : nlists) {
 4482     for (auto &nlist : nlists) {
 4668     for (const auto &e : trie_entries) {
 5078       for (auto &rpath : rpath_paths) {
 5088       for (const auto &rpath_relative_path : rpath_relative_paths) {
 5089         for (const auto &rpath : rpath_paths) {
 5111       for (const auto &at_exec_relative_path : at_exec_relative_paths) {
 6131         for (auto &LC_THREAD_data : LC_THREAD_datas) {
 6174         for (const auto &LC_THREAD_data : LC_THREAD_datas) {
 6199         for (auto &segment : segment_load_commands) {
 6205         for (const auto &LC_THREAD_data : LC_THREAD_datas) {
 6213         for (const auto &segment : segment_load_commands) {
 6257             for (const auto &segment : segment_load_commands) {
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
 1201     ObjectFilePECOFF::DumpSectionHeader(s, *pos);
tools/lldb/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp
  304   for (const EHInstruction &i : m_program)
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
  366   for (auto name: dl_open_names) {
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
 1663   for (const auto &executable_dir : g_executable_dirs) {
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
  184       for (const auto &sdk_directory_info : builtin_sdk_directory_infos) {
  202       for (std::string &dirname : device_support_dirnames)
  248         for (const auto &sdk_directory_info : env_var_sdk_directory_infos) {
  337       result = &*max;
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  854     for (auto path : *paths) {
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  846   for (const auto &gdbserver : remote_servers) {
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
 1039     for (const auto &thread : m_threads) {
 1056   for (const auto &thread : m_threads) {
 1115   for (const auto &thread : m_threads) {
 1150   for (const auto &thread : m_threads) {
 1552   for (const auto &thread : m_threads) {
 1570     if (*it && ((*it)->GetID() == thread_id)) {
 1570     if (*it && ((*it)->GetID() == thread_id)) {
 1623   for (const auto &it : m_mem_region_cache) {
 1641   for (const auto &it : m_mem_region_cache) {
 1705   for (const auto &thread : m_threads) {
 1718   for (const auto &thread_sp : m_threads) {
 1915   for (const auto &thread_sp : m_threads) {
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
  485       for (const uint32_t invalidate_reg_num : pos->second) {
  489           for (const uint32_t concrete_invalidate_reg_num :
  529   for (const auto &reg : m_regs) {
  541       for (auto &reg : m_regs) {
  562       for (auto &reg : m_regs) {
  585       for (auto &reg : m_regs) {
  601       for (auto &reg : m_regs) {
  653     if (*pos == set_name)
  742   for (auto &reg_info : m_regs) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
 1120     for (ConstString name : trap_handler_names) {
 1129   for (ConstString name : user_specified_trap_handler_names) {
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
  214   for (const auto &thread_data : m_thread_data) {
  224       for (auto &thread_data : m_thread_data)
  702     for (auto &data : m_thread_data)
  709     for (auto &data : m_thread_data) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  818         if (*c == '*') {
  823           int repeat_count = *++c + 3 - ' ';
  828         } else if (*c == 0x7d) {
  831           char escapee = *++c ^ 0x20;
  834           packet_str.push_back(*c);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 1573   for (const auto &map_region : m_qXfer_memory_map) {
 2328   for (auto d : v) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
 1193   for (auto &arg : proc_info.GetArguments()) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 2778     for (auto const &library : *library_list) {
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 1321               continue_packet.Printf(";c:%4.4" PRIx64, *t_pos);
 1344               continue_packet.Printf(";s:%4.4" PRIx64, *t_pos);
 4083   for (auto addr : load_addresses) {
 4276     for (const ModuleSpec &spec : *module_specs)
 4597       for (auto &feature_node : feature_nodes) {
 4602       for (const auto &include : target_info.includes) {
 4826   for (LoadedModuleInfoList::LoadedModuleInfo &modInfo : module_list->m_list) {
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  353     region = *std::prev(pos);
  411   for (auto module : filtered_modules) {
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  547     for (auto bp_options : *bp_options_vec) {
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  600       for (auto &rule_sp : m_filter_rules) {
  913       for (auto rule_sp : options_sp->GetFilterRules()) {
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  575     for (const auto &rule : llvm::make_range(program.begin(), it)) {
tools/lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
  162   for (const DIERef &die_ref : offsets) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
 1986         for (const DWARFDIE &die : member_function_dies)
 2044           for (const auto &base_class : bases) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp
  126       for (auto &section : *m_main_section_list)
  131       for (auto &section : *m_dwo_section_list)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
   60         return &(*pos);
   74   for (const auto &abbr_decl : m_decls) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  386     for (const DWARFDIE &die : dies) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
  212     for (const RngListEntry &E : pos->second) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
   82     if (!pos->NameMatches(*rhs_pos))
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  393         dies.emplace_back(this, &(*pos));
  470         if (die_offset == (*pos).GetOffset())
  471           return DWARFDIE(this, &(*pos));
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
  237   for (DWARFDIE die : v)
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
   75     for (auto &set : sets)
  117   for (const DWARFDebugInfoEntry &die : unit.dies()) {
  407     for (const DIERef &die_ref: offsets) {
  418     for (const DIERef &die_ref: offsets) {
  431     for (const DIERef &die_ref: offsets) {
  441     for (const DIERef &die_ref: offsets) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  839   for (const DWARFDIE &die : function_dies) {
 1003   for (auto &row : line_table->Rows) {
 2283   for (const DWARFDIE &die : dies) {
 2325   for (DIERef ref : offsets) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
   71     for (auto comp_unit_info : cu_infos) {
  316       for (uint32_t sym_idx : m_func_indexes) {
  324       for (uint32_t sym_idx : m_glob_indexes) {
tools/lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
   17   for (const UniqueDWARFASTType &udt : m_collection) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
  370   for (TypeIndex fwd : fwd_keys) {
  374   for (TypeIndex full : full_keys) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp
   66           for (const auto &pair : llvm::make_range(parsed.begin(), it)) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
 1150   for (llvm::StringRef f : cci->m_file_list) {
 1190   for (const SymbolAndOffset &result : results) {
 1222   for (const SymbolAndOffset &match : matches) {
 1273   for (TypeIndex ti : matches) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
  197   for (const OneMethodRecord &method : method_list.Methods)
  223   for (auto &ib : m_bases)
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
 1324       for (uint32_t id : ids) {
 1362       for (auto id : ids) {
 1641   for (auto type : type_collection) {
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
  827     for (ItemRefAndCodeAddress pending_item :
tools/lldb/source/Symbol/ArmUnwindInfo.cpp
  329   for (const auto &offset : register_offsets) {
tools/lldb/source/Symbol/Block.cpp
  105       (*pos)->Dump(s, base_addr, depth - 1, show_context);
  118     matching_block = (*pos)->FindBlockByID(block_id);
  482       (*pos)->SetBlockInfoHasBeenParsed(b, true);
  491       (*pos)->SetDidParseVariables(b, true);
tools/lldb/source/Symbol/ClangASTContext.cpp
 8341   for (auto &b : bases)
 9447   for (const auto &val : values) {
tools/lldb/source/Symbol/CompileUnit.cpp
   79   for (auto &f : sorted_functions)
tools/lldb/source/Symbol/CxxModuleHandler.cpp
   84   for (Scope *s : scopes)
tools/lldb/source/Symbol/DeclVendor.cpp
   25     for (auto decl : decls)
tools/lldb/source/Symbol/SymbolContext.cpp
 1210     m_symbol_contexts.push_back(*pos);
 1218     if (AppendIfUnique(*pos, merge_symbol_into_function))
 1228     if (*pos == sc)
tools/lldb/source/Symbol/SymbolFile.cpp
  222     for (const CompUnitSP &cu_sp : *m_compile_units) {
tools/lldb/source/Symbol/Symtab.cpp
  117           name_map.insert(std::make_pair(name, &(*pos)));
  162       size_t idx = *pos;
  329     for (const auto &record : backlog) {
  647           m_symbols[*pos].GetType() == symbol_type)
  667           m_symbols[*pos].GetType() == symbol_type)
  811         Symbol *symbol = SymbolAtIndex(*pos);
tools/lldb/source/Symbol/TypeList.cpp
   72       return *pos;
   81     if (!callback(*pos))
   89     if (!callback(*pos))
  181       matching_types.push_back(*pos);
  204       matching_types.push_back(*pos);
tools/lldb/source/Symbol/UnwindPlan.cpp
  371     RowSP row = *it;
  376   if (it == m_row_list.end() || (*it)->GetOffset() != row_sp->GetOffset())
  379     *it = row_sp;
  390         if ((*pos)->GetOffset() <= static_cast<lldb::offset_t>(offset))
  391           row = *pos;
  544     (*pos)->Dump(s, this, thread, base_addr);
tools/lldb/source/Symbol/VariableList.cpp
   77     if ((*pos)->NameMatches(name)) {
   78       if (include_static_members || !(*pos)->IsStaticMember()) {
   79         var_sp = (*pos);
   93     if ((*pos)->NameMatches(name) && (*pos)->GetScope() == value_type) {
   93     if ((*pos)->NameMatches(name) && (*pos)->GetScope() == value_type) {
   94       if (include_static_members || !(*pos)->IsStaticMember()) {
   95         var_sp = (*pos);
  107     var_list.AddVariableIfUnique(*pos);
  117     if ((*pos)->NameMatches(regex)) {
  121       var_list.AddVariableIfUnique(*pos);
  134     if ((*pos)->GetScope() == type) {
  136         var_list.AddVariableIfUnique(*pos);
  138         var_list.AddVariable(*pos);
  151     if ((*pos).get() == variable)
  161     mem_size += (*pos)->MemorySize();
  174     (*pos)->Dump(s, show_context);
tools/lldb/source/Target/JITLoaderList.cpp
   41   for (auto const &jit_loader : m_jit_loaders_vec)
   47   for (auto const &jit_loader : m_jit_loaders_vec)
   53   for (auto const &jit_loader : m_jit_loaders_vec)
tools/lldb/source/Target/PathMappingList.cpp
   76       m_pairs.push_back(*pos);
  162   for (const auto &it : m_pairs) {
  190   for (const auto &it : m_pairs) {
  212   for (auto entry : m_pairs) {
tools/lldb/source/Target/Platform.cpp
  275     for (const auto &platform_sp : GetPlatformList()) {
  318       for (const auto &platform_sp : GetPlatformList()) {
  325       for (const auto &platform_sp : GetPlatformList()) {
tools/lldb/source/Target/Process.cpp
 1552   for (LanguageRuntime *runtime : GetLanguageRuntimes()) {
 2292   for (const auto &Entry : entries) {
 5930     for (auto &type_name : names_to_remove)
tools/lldb/source/Target/StackFrameList.cpp
  627     StackFrame *frame = (*pos).get();
  744         if ((*pos)->GetStackID() == stack_id)
  745           return *pos;
  932       ret_sp = (*pos);
tools/lldb/source/Target/StackFrameRecognizer.cpp
   42   for (const auto o : args->GetObjects()) {
tools/lldb/source/Target/Target.cpp
 1623       for (LanguageRuntime *runtime : m_process_sp->GetLanguageRuntimes()) {
tools/lldb/source/Target/TargetList.cpp
  216           for (const auto &the_platform_sp : platforms) {
  244             for (const auto &the_platform_sp : platforms) {
  464     Module *exe_module = (*pos)->GetExecutableModulePointer();
  473         target_sp = *pos;
  486     Process *process = (*pos)->GetProcessSP().get();
  488       target_sp = *pos;
  501       if (process == (*pos)->GetProcessSP().get()) {
  502         target_sp = *pos;
  516       if (target == (*pos).get()) {
  517         target_sp = *pos;
  554       process = (*pos)->GetProcessSP().get();
tools/lldb/source/Target/Thread.cpp
  262   for (auto plan : m_plan_stack)
  265   for (auto plan : m_discarded_plan_stack)
  268   for (auto plan : m_completed_plan_stack)
 1210   for (ThreadPlanSP plan_sp : m_plan_stack) {
 1521   for (ThreadPlanSP plan_sp : plan_stack) {
 2204   for (LanguageRuntime *runtime : GetProcess()->GetLanguageRuntimes()) {
 2219   for (LanguageRuntime *runtime : GetProcess()->GetLanguageRuntimes()) {
tools/lldb/source/Target/ThreadList.cpp
  244     for (lldb::ThreadSP thread_sp : m_threads) {
  298     ThreadSP thread_sp(*pos);
  303     ThreadSP thread_sp(*pos);
  348       ThreadSP thread_sp(*pos);
  372     ThreadSP thread_sp(*pos);
  403     ThreadSP thread_sp(*pos);
  422     if ((*pos)->GetResumeState() != eStateSuspended) {
  423       switch ((*pos)->ShouldReportRun(event_ptr)) {
  434                   (*pos)->GetIndexID(), (*pos)->GetID());
  434                   (*pos)->GetIndexID(), (*pos)->GetID());
  471     (*pos)->RefreshStateAfterStop();
  481     (*pos)->DiscardThreadPlans(true);
  504     lldbassert((*pos)->GetCurrentPlan() &&
  506     if ((*pos)->GetResumeState() != eStateSuspended &&
  507         (*pos)->GetCurrentPlan()->StopOthers()) {
  508       if ((*pos)->IsOperatingSystemPluginThread() &&
  509           !(*pos)->GetBackingThread())
  536     if ((*pos)->GetResumeState() != eStateSuspended &&
  537         (!wants_solo_run || (*pos)->GetCurrentPlan()->StopOthers())) {
  538       if ((*pos)->IsOperatingSystemPluginThread() &&
  539           !(*pos)->GetBackingThread())
  541       (*pos)->SetupForResume();
  555     ThreadSP thread_sp(*pos);
  558       if ((*pos)->IsOperatingSystemPluginThread() &&
  559           !(*pos)->GetBackingThread())
  583       ThreadSP thread_sp(*pos);
  607       ThreadSP thread_sp(*pos);
  625     ThreadSP thread_sp(*pos);
  642     ThreadSP thread_sp(*pos);
  718       const lldb::tid_t tid = (*rhs_pos)->GetID();
  730         (*rhs_pos)->DestroyThread();
  739     (*pos)->Flush();
tools/lldb/source/Target/ThreadPlanRunToAddress.cpp
   54     *pos = target.GetOpcodeLoadAddress(*pos);
   54     *pos = target.GetOpcodeLoadAddress(*pos);
tools/lldb/source/Target/ThreadPlanStepOut.cpp
  220   for (StackFrameSP frame_sp : m_stepped_past_frames) {
tools/lldb/source/Target/ThreadPlanStepThrough.cpp
   90     for (LanguageRuntime *runtime :
tools/lldb/source/Utility/Args.cpp
  174   for (const std::string &arg : list)
  183   for (auto &entry : rhs.m_entries) {
  199   for (auto &entry : m_entries) {
  294   for (auto &entry : rhs.m_entries) {
  616   for (char c : arg) {
tools/lldb/source/Utility/CompletionRequest.cpp
   73   for (const Completion &completion : m_results)
   79   for (const Completion &completion : m_results)
tools/lldb/source/Utility/Reproducer.cpp
  231   return (it != m_files.end()) && (*it == file);
  261   for (auto &recorder : m_data_recorders) {
  323   for (auto &file : files) {
tools/lldb/source/Utility/StringLexer.cpp
   44   for (auto c : token) {
tools/lldb/source/Utility/StringList.cpp
   72   for (const auto &s : m_strings) {
  233   for (const auto &s : m_strings) {
tools/lldb/source/Utility/StructuredData.cpp
   90   for (json::Value &value : *array) {
  138   for (const auto &item_sp : m_items) {
tools/lldb/source/Utility/Timer.cpp
  146   for (const auto &stats : sorted)
tools/lldb/tools/driver/Driver.cpp
  164   for (const auto &command_entry : *command_set) {
tools/lldb/tools/lldb-test/lldb-test.cpp
  164   for (FunctionNameType Flag : FunctionNameFlags)
  271   for (auto entry: result)
  862   for (const auto &File : opts::object::InputFilenames) {
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  108   for (const auto &value : *json_array) {
tools/lldb/tools/lldb-vscode/VSCode.cpp
   65   for (auto &bp : exception_breakpoints) {
   74   for (auto &bp : exception_breakpoints) {
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
  429     for (const auto &value : *sourceMap) {
 1094   for (const auto &exc_bp : g_vsc.exception_breakpoints) {
 1579   for (const auto &bp : *breakpoints) {
 1618     for (auto line: remove_lines)
 1705   for (const auto &bp : g_vsc.exception_breakpoints)
 1708   for (const auto &value : *filters) {
 1810   for (const auto &value : *breakpoints) {
 1840   for (const auto &name: remove_names)
tools/lldb/unittests/Editline/EditlineTest.cpp
  161   for (auto &line : lines) {
  199   for (const std::string &line : lines) {
  200     for (auto ch : line) {
  315   for (const std::string &line : el_reported_lines)
tools/lldb/unittests/Symbol/PostfixExpressionTest.cpp
  112   for (const auto &p : parsed)
tools/lldb/unittests/Utility/ReproducerInstrumentationTest.cpp
  122   for (auto *foo : g_foos) {
  126   for (auto *bar : g_bars) {
tools/lldb/unittests/Utility/StringListTest.cpp
  511   for (const std::string &e : s)
  521   for (const std::string &e : s)
tools/lldb/unittests/tools/lldb-server/inferior/thread_inferior.cpp
   35   for (std::thread& t : threads) {
tools/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
   43       for (int Group : Groups)
  126     for (llvm::StringRef Completion : O.Completions)
  156   for (Record *R : Records)
  170   for (CommandOption &CO : Options)
tools/lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp
  133   for (Record *R : PropertyRecords)
  154   for (Record *R : PropertyRecords)
tools/lldb/utils/TableGen/LLDBTableGenUtils.cpp
   18   for (Record *R : Records)
tools/lli/lli.cpp
  816       orc::JITDylib *JD = J->getJITDylibByName(*JDItr);
  818         JD = &J->createJITDylib(*JDItr);
  824       auto M = parseIRFile(*EMItr, Err, *TSCtx.getContext());
  848   for (auto &ObjPath : ExtraObjects) {
  856   for (auto &Arg : InputArgv)
  864   for (auto &ThreadEntryPoint : ThreadEntryPoints) {
  876   for (auto &Arg : Args)
  886   for (auto &AltEntryThread : AltEntryThreads)
tools/llvm-ar/llvm-ar.cpp
  626   for (StringRef Name : Members)
  754     failIfError(sys::fs::status(*MI, Status), *MI);
  754     failIfError(sys::fs::status(*MI, Status), *MI);
  802         addMember(Ret, *MemberI);
  810         addMember(Moved, *MemberI);
  835   for (auto &M : Moved) {
  842     for (auto &Member : Members)
  848   for (auto &Member : Members)
tools/llvm-cat/llvm-cat.cpp
   60     for (const auto &InputFilename : InputFilenames) {
   64       for (auto &BitcodeMod : Mods) {
   74     for (const auto &InputFilename : InputFilenames) {
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  242   for (uint64_t SourceInstrAddress : TargetRefsKV->second) {
  296   for (const auto &BranchNode : Graph.ConditionalBranchNodes) {
  320   for (const auto &Branch : Graph.ConditionalBranchNodes) {
  568     for (const auto &Addr : ElfObject->getPltAddresses()) {
tools/llvm-cfi-verify/lib/GraphBuilder.cpp
   88   for (auto &BranchNode : ConditionalBranchNodes) {
tools/llvm-config/llvm-config.cpp
  617         for (auto &Lib : MissingLibs)
  629         for (auto &Lib : MissingLibs)
  642       for (auto &Component : DyLibComponents) {
  647       for (auto &Lib : RequiredLibs) {
tools/llvm-cov/CodeCoverage.cpp
  239   for (const auto &Files : LoadedSourceFiles)
  309   for (const auto &Group : Coverage.getInstantiationGroups(SourceFile)) {
  329       for (const auto &CR : Function->CountedRegions)
  350   for (StringRef ObjectFilename : ObjectFilenames)
  403   for (StringRef Filename : Coverage.getUniqueSourceFiles()) {
  417   for (std::string &Filename : SourceFiles) {
  477   for (StringRef Arg : ViewOpts.DemanglerOpts)
  660     for (const std::string &Filename : CovFilenames)
  716       for (const auto &Name : NameFilters)
  721       for (const auto &Regex : NameRegexFilters)
  748     for (const auto &RE : IgnoreFilenameRegexFilters)
  753       for (const std::string &Arch : Arches) {
  767     for (const std::string &File : InputSourceFiles)
  771       for (const std::string &SF : SourceFiles)
  886     for (StringRef Filename : Coverage->getUniqueSourceFiles()) {
  903     for (const auto &SourceFile : SourceFiles)
  921       for (const auto *Function : Functions) {
  951     for (const std::string &SourceFile : SourceFiles)
  957     for (const std::string &SourceFile : SourceFiles)
tools/llvm-cov/CoverageExporterJson.cpp
  129   for (const auto &Segment : FileCoverage)
  195   for (StringRef SF : Coverage.getUniqueSourceFiles()) {
tools/llvm-cov/CoverageExporterLcov.cpp
  111   for (StringRef SF : Coverage.getUniqueSourceFiles()) {
tools/llvm-cov/CoverageFilters.cpp
   62   for (const auto &Filter : Filters) {
   70   for (const auto &Filter : Filters) {
   80   for (const auto &Filter : Filters) {
tools/llvm-cov/CoverageReport.cpp
  327   for (const auto &Group : Coverage->getInstantiationGroups(Filename)) {
  375   for (const auto &FileReport : FileReports)
  384   for (StringRef SF : Coverage.getUniqueSourceFiles()) {
  405   for (const FileCoverageSummary &FCS : FileReports)
  428   for (const FileCoverageSummary &FCS : FileReports) {
  439     for (const FileCoverageSummary &FCS : FileReports)
tools/llvm-cov/CoverageSummaryInfo.cpp
   24   for (auto &CR : Function.CountedRegions) {
tools/llvm-cov/SourceCoverageView.cpp
   99   return (*MinSegIt).Line;
  252       renderExpansionView(OS, *NextESV, ViewDepth + 1);
  257       renderInstantiationView(OS, *NextISV, ViewDepth + 1);
tools/llvm-cov/gcov.cpp
  146   for (const auto &SourceFile : SourceFiles)
tools/llvm-cvtres/llvm-cvtres.cpp
  164   for (const auto &File : InputFiles) {
  188     for (const auto& DupeDiag : Duplicates)
tools/llvm-cxxdump/llvm-cxxdump.cpp
  191   for (auto &P : SymAddr) {
tools/llvm-cxxfilt/llvm-cxxfilt.cpp
  144     for (const auto &Symbol : Decorated)
tools/llvm-dwarfdump/Statistics.cpp
  387     for (auto Range : Ranges)
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  266     for (auto Arch : ArchFilters) {
  316     for (const auto &Entry : CU->dies()) {
  431     for (auto name : Name)
  627   for (const auto &F : InputFilenames) {
  639     for (auto Object : Objects)
  642     for (auto Object : Objects)
tools/llvm-dwp/llvm-dwp.cpp
  251   for (StringRef Types : TypesSections) {
  285   for (const auto &E : IndexEntries)
  306   for (const auto &P : IndexEntries) {
  326   for (const auto &I : Buckets)
  330   for (const auto &I : Buckets)
  576         return buildDuplicateError(*P.first, ID, "");
  603         return buildDuplicateError(*P.first, ID, Input);
  730   for (const auto &ExecFilename : ExecFilenames) {
tools/llvm-elfabi/ELFObjHandler.cpp
  137   for (uint64_t Offset : Dyn.NeededLibNames) {
  338   for (uint64_t NeededStrOffset : DynEnt.NeededLibNames) {
tools/llvm-elfabi/ErrorCollector.cpp
   34   for (Error &E : Errors) {
   59   for (Error &E : Errors) {
tools/llvm-exegesis/lib/Analysis.cpp
  147   for (const auto &Measurement : Point.Measurements) {
  191   for (const auto &Measurement : Clustering_.getPoints().front().Measurements) {
  200     for (const size_t PointId : Clusters[I].PointIndices) {
  265   for (const MCInst &Instr : Instructions) {
  302   for (const auto &Measurement :
  309   for (const SchedClassCluster &Cluster : Clusters) {
  318     for (const size_t PointId : Cluster.getPointIds()) {
  322     for (const auto &Stats : Cluster.getCentroid().getStats()) {
  414     for (const auto &Pressure : RSC.IdealizedProcResPressure) {
  444   for (const auto &Measurement : Points[Cluster.PointIndices[0]].Measurements) {
  452   for (const auto &PointId : Cluster.PointIndices) {
  456     for (const auto &Measurement : Points[PointId].Measurements) {
  547   for (const auto &RSCAndPoints : makePointsPerSchedClass()) {
  552     for (const size_t PointId : RSCAndPoints.PointIds) {
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
  146   for (BenchmarkMeasure &BM : InstrBenchmark.Measurements) {
tools/llvm-exegesis/lib/Latency.cpp
   51   for (const unsigned OtherOpcode : Opcodes) {
  128     for (const auto OtherInstr : computeAliasingInstructions(
tools/llvm-exegesis/lib/SnippetGenerator.cpp
   69     for (CodeTemplate &CT : E.get()) {
   74         for (InstructionTemplate &IT : CT.Instructions) {
  102   for (const InstructionTemplate &IT : Instructions) {
tools/llvm-exegesis/lib/SnippetRepetitor.cpp
   67       for (const MCInst &Inst :
   79       for (const auto &LiveIn : Entry.MBB->liveins())
tools/llvm-exegesis/lib/Uops.cpp
  105   for (InstructionTemplate &IT : Instructions) {
  152       for (BitVector &OtherPossibleRegs : PossibleRegsForVar) {
tools/llvm-exegesis/llvm-exegesis.cpp
  251     for (const unsigned Opcode : Opcodes) {
  288   for (const BenchmarkCode &Conf : Configurations) {
tools/llvm-extract/llvm-extract.cpp
  256   for (StringRef StrPair : ExtractBlocks) {
  292     for (GlobalValue *GV : GVs) {
tools/llvm-ifs/llvm-ifs.cpp
  409   for (const std::string &InputFilePath : InputFilenames) {
tools/llvm-jitlink/llvm-jitlink-macho.cpp
   37   return *EItr;
tools/llvm-jitlink/llvm-jitlink.cpp
  184   for (auto *S : Sections) {
  198     for (auto *Sym : Syms) {
  568   for (const auto &Dylib : Dylibs) {
  597       auto &JD = S.ES.createJITDylib(JDNamePrefix + *JLDItr);
  606     for (auto *JD : S.JDSearchOrder) {
  608       for (auto *JD2 : S.JDSearchOrder) {
  623     StringRef InputFile = *InputFileItr;
  640     StringRef AbsDefStmt = *AbsDefItr;
  665     for (auto *JD : S.JDSearchOrder)
  744   for (auto &CheckFile : CheckFiles) {
  775   for (auto &InputArg : InputArgv)
tools/llvm-link/llvm-link.cpp
  226   for (const auto &Import : Imports) {
  282   for (const auto &File : Files) {
  309         for (auto &S : I.second.SummaryList) {
tools/llvm-lipo/llvm-lipo.cpp
  371     for (auto A : InputArgs.getAllArgValues(LIPO_verify_arch))
tools/llvm-lto/llvm-lto.cpp
  331   for (auto &Filename : InputFilenames) {
  341       for (auto &Summary : Summaries.second.SummaryList) {
  367   for (auto &Filename : InputFilenames) {
  386   for (auto &Filename : InputFilenames) {
  414   for (auto &Filename : InputFilenames) {
  604     for (auto &Filename : InputFilenames) {
  641     for (auto &Filename : InputFilenames) {
  668     for (auto &Filename : InputFilenames) {
  697     for (auto &MemBuffer : InputBuffers)
  701     for (auto &Filename : InputFilenames) {
  730     for (auto &MemBuffer : InputBuffers)
  734     for (auto &Filename : InputFilenames) {
  759     for (auto &Filename : InputFilenames) {
  785     for (auto &Filename : InputFilenames) {
  894     for (auto &Filename : InputFilenames) {
tools/llvm-lto2/llvm-lto2.cpp
  181   for (std::string R : SymbolResolutions) {
  286   for (std::string F : InputFilenames) {
tools/llvm-mc/llvm-mc.cpp
  260   for (auto &I: DefineSymbol) {
  400   for (const auto &Arg : DebugPrefixMap) {
tools/llvm-mca/CodeRegion.cpp
  111   for (UniqueCodeRegion &Region : Regions)
tools/llvm-mca/Views/SchedulerStatistics.cpp
   93   for (BufferUsage &BU : Usage) {
tools/llvm-mca/llvm-mca.cpp
  448   for (const std::unique_ptr<mca::CodeRegion> &Region : Regions) {
tools/llvm-mt/llvm-mt.cpp
  138   for (const auto &File : InputFiles) {
tools/llvm-nm/llvm-nm.cpp
  794   for (const NMSymbol &S : SymbolList) {
 1309           for (const NMSymbol &S : SymbolList)
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  125     for (Section &Sec : Obj.getMutableSections())
  175   for (const auto &Flag : Config.AddSection) {
tools/llvm-objcopy/COFF/Object.cpp
   29   for (Symbol &Sym : Symbols)
   49   for (Symbol &Sym : Symbols)
   51   for (const Section &Sec : Sections) {
   52     for (const Relocation &R : Sec.Relocs) {
   74   for (Section &S : Sections) {
  126   for (Section &Sec : Sections) {
tools/llvm-objcopy/COFF/Reader.cpp
  163   for (Symbol &Sym : Obj.getMutableSymbols()) {
  177   for (Section &Sec : Obj.getMutableSections()) {
  178     for (Relocation &R : Sec.Relocs) {
tools/llvm-objcopy/COFF/Writer.cpp
   27   for (Section &Sec : Obj.getMutableSections()) {
   28     for (Relocation &R : Sec.Relocs) {
   41   for (Symbol &Sym : Obj.getMutableSymbols()) {
   95   for (auto &S : Obj.getMutableSections()) {
  122   for (auto &S : Obj.getMutableSections()) {
  131   for (auto &S : Obj.getMutableSymbols()) {
  145   for (auto &S : Obj.getMutableSymbols()) {
  285     for (const auto &DD : Obj.DataDirectories) {
  310     for (const auto &R : S.Relocs) {
  335       for (const AuxSymbol &AuxSym : S.AuxData) {
tools/llvm-objcopy/ELF/ELFConfig.cpp
  119   for (StringRef Arg : Config.SymbolsToAdd) {
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  691   for (const auto &Flag : Config.AddSection) {
  709   for (const auto &Flag : Config.DumpSection) {
  721   for (const NewSymbolInfo &SI : Config.ELF->SymbolsToAdd) {
tools/llvm-objcopy/ELF/Object.cpp
  643   for (auto &Sym : Symbols)
  712   for (std::unique_ptr<Symbol> &Sym : Symbols)
  729   for (std::unique_ptr<Symbol> &Sym : Symbols) {
  752     for (std::unique_ptr<Symbol> &Sym : Symbols)
  761   for (const std::unique_ptr<Symbol> &Sym : Symbols) {
  784   for (const std::unique_ptr<Symbol> &Symbol : Sec.Symbols) {
  817   for (const Relocation &R : Relocations) {
  868   for (const auto &Reloc : Relocations) {
  895   for (const Relocation &Reloc : Relocations)
  905   for (const Relocation &Reloc : Relocations)
 1189   for (const IHexRecord &R : Records) {
 1833   for (auto &RemoveSec : make_range(Iter, std::end(Sections))) {
 1834     for (auto &Segment : Segments)
 1844   for (auto &KeepSec : make_range(std::begin(Sections), Iter)) {
 1862     for (const SecPtr &Sec : Sections)
 1899   for (Segment *Seg : Segments) {
 2147     for (Segment *Seg : OrderedSegments)
 2175     for (Segment *Segment : OrderedSegments) {
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
   20   for (const auto &LC : O.LoadCommands) {
   48   for (std::unique_ptr<SymbolEntry> &Sym : O.SymTable.Symbols)
   55   for (auto &Symbol : O.SymTable.Symbols)
   77     if ((*Iter)->isExternalSymbol())
   85     if ((*Iter)->isUndefinedSymbol())
  108   for (auto &LC : O.LoadCommands) {
  143     for (auto &Sec : LC.Sections) {
  205   for (auto &LC : O.LoadCommands)
  206     for (auto &Sec : LC.Sections) {
  261   for (auto &LC : O.LoadCommands) {
tools/llvm-objcopy/MachO/MachOReader.cpp
  206   for (auto &LC : O.LoadCommands)
  207     for (auto &Sec : LC.Sections)
  208       for (auto &Reloc : Sec.Relocations)
tools/llvm-objcopy/MachO/MachOWriter.cpp
  113   for (const auto &LC : O.LoadCommands)
  114     for (const auto &S : LC.Sections) {
  150   for (const auto &LC : O.LoadCommands) {
  160       for (const auto &Sec : LC.Sections)
  170       for (const auto &Sec : LC.Sections)
  230   for (const auto &LC : O.LoadCommands)
  231     for (const auto &Sec : LC.Sections) {
tools/llvm-objcopy/MachO/Object.cpp
   14   for (LoadCommand &LC : LoadCommands)
tools/llvm-objdump/COFFDump.cpp
  177   for (auto &R : Rels) {
tools/llvm-objdump/llvm-objdump.cpp
  451   for (StringRef S : FilterSections) {
  460   for (StringRef S : MissingSections)
  764           printRelocation(ObjectFilename, *RelCur, Address.Address, false);
  962     for (auto PltEntry : ElfObj->getPltAddresses()) {
 1218       for (const auto &Symb : Symbols) {
 1474               uint64_t TargetAddress = std::get<0>(*TargetSym);
 1475               StringRef TargetName = std::get<1>(*TargetSym);
 1492             if (getHidden(*RelCur) || SectionAddr + Offset < StartAddress) {
 1510             printRelocation(Obj->getFileName(), *RelCur, SectionAddr + Offset,
 1598   for (StringRef Opt : DisassemblerOptions)
 1633   for (std::pair<SectionRef, std::vector<SectionRef>> &P : SecToRelSec) {
 1637     for (SectionRef Section : P.second) {
 1673   for (const SectionRef &Section : DynRelSec)
tools/llvm-pdbutil/BytesOutputStyle.cpp
   67   for (auto &Str : opts::bytes::DumpStreamData) {
tools/llvm-pdbutil/DumpOutputStyle.cpp
  339   for (const auto &K : Stats.getStatsSortedBySize()) {
  718   for (const auto &K : TypeStats.getStatsSortedBySize()) {
  872   for (const auto &Stat : UdtTargetStats.getStatsSortedBySize()) {
  898   for (const auto &Stat : NamespacedStatsSorted) {
 1191       for (uint32_t I : SortedIDs) {
 1707     for (StringRef Name : opts::dump::DumpGlobalNames) {
 1718       for (ResultEntryType Result : Results) {
tools/llvm-pdbutil/LinePrinter.h
   78       List.emplace_back(StringRef(*Begin));
tools/llvm-pdbutil/MinimalSymbolDumper.cpp
  472   for (const auto &Entry : EnvBlock.Fields) {
  843   for (const auto &I : Caller.Indices) {
tools/llvm-pdbutil/MinimalTypeDumper.cpp
  478   for (auto &M : Overloads.Methods)
tools/llvm-pdbutil/PrettyTypeDumper.cpp
  247         for (auto &Class : Filtered)
tools/llvm-pdbutil/llvm-pdbutil.cpp
  779     for (auto S : *YamlObj.StringTable)
  795   for (auto F : Info.Features)
  807   for (const auto &MI : Dbi.ModInfos) {
  811     for (auto S : MI.SourceFiles)
  815       for (auto Symbol : ModiStream.Symbols) {
  827     for (auto &SS : CodeViewSubsections) {
  836   for (const auto &R : Tpi.Records) {
  844   for (const auto &R : Ipi.Records) {
 1042   for (PDB_SymType ST : SymTypes) {
 1110     for (StringRef Name : opts::pretty::WithName) {
 1239           for (const auto &Func : Funcs) {
 1257           for (const auto &Var : Datas)
 1299   for (const auto &Path : opts::merge::InputFilenames) {
 1349   for (uint64_t Off : opts::explain::Offsets) {
tools/llvm-profdata/llvm-profdata.cpp
  280   for (auto &ErrorPair : Src->Errors)
  356     for (auto &ErrorPair : WC->Errors) {
  660   for (StringRef Filename : InputFilenames)
  662   for (StringRef WeightedFilename : WeightedInputFilenames)
  995     for (auto Entry : PS->getDetailedSummary()) {
tools/llvm-rc/ResourceFileWriter.cpp
  479   for (auto &String : Res->Table) {
  692   for (auto &Acc : Res->Accelerators) {
  853   for (auto Item : Res->ItemEntries) {
 1161   for (auto &Ctl : Res->Controls)
 1204   for (auto &Def : List.Definitions) {
 1279   for (auto Key : StringTableData.BundleList) {
 1303   for (auto &Elem : Res->Contents) {
 1348   for (const std::unique_ptr<VersionInfoStmt> &Item : Blk.Stmts) {
 1386   for (auto &Item : Val.Values)
 1531   for (StringRef ForceInclude : Params.Include) {
tools/llvm-rc/ResourceScriptParser.cpp
  101   return *CurLoc;
  106   return *CurLoc++;
tools/llvm-rc/ResourceScriptStmt.cpp
   27   for (const auto &Stmt : Statements) {
   49   for (const auto &Acc : Accelerators) {
   90   for (auto &Item : Definitions)
  121   for (const auto &String : Table)
  166   for (auto &Ctl : Controls)
  173   for (auto &Stmt : Stmts)
  252   for (auto &Item : Contents)
tools/llvm-rc/ResourceScriptStmt.h
  276     for (auto &StmtPtr : Statements)
tools/llvm-rc/llvm-rc.cpp
  130     for (const RCToken &Token : Tokens) {
tools/llvm-readobj/COFFDumper.cpp
  263   for (const auto &Relocation : Relocations) {
  334   for (const auto &Relocation : Relocations) {
 1615   for (const auto &L : Libs) {
tools/llvm-readobj/ELFDumper.cpp
 2186   for (const auto &L : Libs)
 2879     for (const GroupMember &GM : G.Members)
 2889   for (const GroupSection &G : V) {
 2895     for (const GroupMember &GM : G.Members) {
 3050         for (const auto &R : RelrRelas)
 3055       for (const auto &R : AndroidRelas)
 3737     for (const Elf_Rela &Rela : RelrRelas) {
 4567   for (CoreFileMapping &Mapping : Ret.Mappings) {
 4589   for (const CoreFileMapping &Mapping : Note.Mappings) {
 4919   for (const auto &StackSizeMapEntry : StackSizeRelocMap) {
 5210   for (const GroupSection &G : V) {
 5220     for (const GroupMember &GM : G.Members) {
 5292       for (const Elf_Rela &R : RelrRelas)
 5299     for (const Elf_Rela &R :
 5546     for (const Elf_Rela &Rela : RelrRelas)
 5787   for (uint64_t Sym : *V) {
 5831   for (const CoreFileMapping &Mapping : Note.Mappings) {
tools/llvm-readobj/MachODumper.cpp
  718   for (const auto &L : Libs) {
tools/llvm-readobj/ObjDumper.cpp
   86   for (object::SectionRef Section :
  121   for (object::SectionRef Section :
tools/llvm-readobj/WasmDumper.cpp
  180           for (const wasm::WasmInitFunc &F : LinkingData.InitFunctions)
tools/llvm-readobj/llvm-readobj.cpp
  711   for (const std::string &I : opts::InputFilenames)
tools/llvm-reduce/TestRunner.cpp
   23   for (const auto &Arg : TestArgs)
tools/llvm-reduce/deltas/Delta.cpp
   65   for (auto &C : Chunks) {
   78     for (auto C : Chunks) {
  122       for (auto C : Chunks)
tools/llvm-reduce/deltas/ReduceArguments.cpp
   61   for (auto *F : Funcs) {
   74     for (auto *I : InstToDelete) {
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
   57     for (auto Dest : ChunkSucessors)
  118   for (auto &BB : BBsToDelete) {
tools/llvm-reduce/deltas/ReduceFunctions.cpp
   51   for (auto *C : CallsToRemove)
   54   for (auto *F : FuncsToRemove)
tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
   47   for (auto *Inst : InstToRemove) {
   52   for (auto *GV : ToRemove)
tools/llvm-reduce/deltas/ReduceInstructions.cpp
   44   for (auto &I : InstToDelete)
tools/llvm-reduce/deltas/ReduceMetadata.cpp
   96   for (auto *NN : NamedNodesToDelete) {
tools/llvm-rtdyld/llvm-rtdyld.cpp
  348   for (const std::string &Dylib : Dylibs) {
  368   for (auto &File : InputFileList) {
  421     for (const auto &P : SymAddr) {
  509     for (auto &File : InputFileList) {
  570   for (auto &Arg : InputArgv)
  583   for (const auto& CheckerFileName : CheckFiles) {
  600   for (StringRef Mapping : SpecificSectionMappings) {
  707   for (const auto &Mapping : DummySymbolMappings) {
  899   for (auto &InputFile : InputFileList) {
tools/llvm-size/llvm-size.cpp
  874   for (StringRef Arch : ArchFlags) {
tools/llvm-stress/llvm-stress.cpp
  701     for (auto &Mod : Modifiers)
  716   for (auto *Instr : BoolInst) {
tools/llvm-strings/llvm-strings.cpp
  109   for (const auto &File : InputFileNames) {
tools/llvm-symbolizer/llvm-symbolizer.cpp
  244       for (DILocal Local : *ResOrErr)
  303   for (const auto &hint : ClDsymHint) {
  326     for (StringRef Address : ClInputAddresses)
tools/llvm-undname/llvm-undname.cpp
  119     for (StringRef S : Symbols) {
tools/llvm-xray/xray-account.cpp
  210     for (auto &E : make_range(I, ThreadStack.end())) {
  241   R.Min = *MinMax.first;
  242   R.Max = *MinMax.second;
  330   for (const auto &R : Results)
  443   for (const auto &Record : T) {
tools/llvm-xray/xray-converter.cpp
   89   for (const auto &R : Records) {
  124   for (const auto &R : Records) {
  284   for (const auto &R : Records) {
tools/llvm-xray/xray-extract.cpp
   59   for (const auto &Sled : Sleds) {
tools/llvm-xray/xray-fdr-dump.cpp
   83       for (auto &Ptr : Records)
   95   for (auto &Ptr : Records)
  106     for (auto &B : Blocks) {
  107       for (auto *R : B.Records) {
tools/llvm-xray/xray-graph.cpp
  262   S.Median = *(begin + MedianOff);
  265   S.Pct90 = *(begin + Pct90Off);
  268   S.Pct99 = *(begin + Pct99Off);
  446   for (const auto &Record : Trace) {
tools/llvm-xray/xray-stacks.cpp
  726   for (const auto &Filename : StackInputs) {
  741     for (const auto &Record : T) {
tools/obj2yaml/dwarf2yaml.cpp
   30       for (auto AbbrvDecl : AbbrvDeclSet.second) {
   72     for (auto Descriptor : Set.descriptors()) {
  125     for (auto DIE : CU->dies()) {
tools/obj2yaml/elf2yaml.cpp
  753   for (uint32_t &V : *S->Bucket)
  757   for (uint32_t &V : *S->Chain)
tools/obj2yaml/macho2yaml.cpp
  449   for (auto &Child : Entry.Children) {
  455   for (auto &Child : Entry.Children) {
tools/obj2yaml/wasm2yaml.cpp
  107     for (const wasm::WasmSymbolInfo &Symbol : Obj.linkingData().SymbolTable) {
  129     for (const wasm::WasmInitFunc &Func : Obj.linkingData().InitFunctions) {
  139     for (auto &E : Info.Languages) {
  145     for (auto &E : Info.Tools) {
  151     for (auto &E : Info.SDKs) {
  314         for (auto &Func : Segment.Functions) {
  327         for (auto &Local : Func.Locals) {
  363     for (const wasm::WasmRelocation &Reloc : WasmSec.Relocations) {
tools/opt/Debugify.cpp
  409   for (const auto &Entry : Map) {
tools/opt/NewPMDriver.cpp
  268   for (auto &PluginFN : PassPlugins) {
tools/opt/PassPrinters.cpp
   83       Function *F = (*I)->getFunction();
tools/opt/PrintSCC.cpp
   81       errs() << (*I)->getName() << ", ";
  102       errs() << ((*I)->getFunction() ? (*I)->getFunction()->getName()
  102       errs() << ((*I)->getFunction() ? (*I)->getFunction()->getName()
tools/polly/include/polly/ScopPass.h
  218     for (auto &S : SI)
tools/polly/lib/Analysis/DependenceInfo.cpp
  931   for (auto &It : SI) {
tools/polly/lib/Analysis/PolyhedralInfo.cpp
   61   for (auto *TopLevelLoop : LI) {
  102   for (auto &It : *SI) {
tools/polly/lib/Analysis/ScopBuilder.cpp
  809   for (LoadInst *LInst : RIL) {
 1548     for (auto *Param : DetectedParams) {
 1648   for (auto *Subscript : Subscripts) {
 1654     for (LoadInst *LInst : AccessILS)
 1664   for (auto V : Sizes)
 1741   for (LoadInst *LInst : AccessILS)
 1861   for (const Loop *L : Loops)
 1875   for (LoadInst *LInst : AccessILS)
 2156   for (auto &Instructions : LeaderToInstList) {
 2244     for (Instruction *Inst : Stmt->getInstructions())
 2353   for (auto Array : scop->arrays()) {
 2430     for (auto &Access : scop->access_functions())
 2744   for (LoadInst *LI : RIL) {
 2997       for (const SCEV *Parameter : scop->parameters()) {
tools/polly/lib/Analysis/ScopDetection.cpp
  314   for (auto RegexStr : RegexList) {
  458   for (LoadInst *Load : RequiredILS) {
  469     for (auto NonAffineRegion : Context.NonAffineSubRegionSet) {
  494   for (auto *V : Values) {
  855   for (const auto &Pair : Context.Accesses[BasePointer]) {
  944     for (const auto &Pair : Context.Accesses[BasePointer]) {
  972   for (const auto &Pair : Context.Accesses[BasePointer]) {
 1041   for (auto &Pair : Context.NonAffineAccesses) {
 1098   for (const Loop *L : Loops)
 1350   for (auto &SubLoop : *L) {
 1377   for (auto &SubLoop : SubLoops)
 1453   for (auto &SubRegion : R) {
 1485   for (auto &SubRegion : R)
 1496   for (auto &SubRegion : R)
 1499   for (Region *CurrentRegion : ToExpand) {
 1690   for (const Region *R : *this) {
 1847   for (const Region *R : ValidRegions)
 1874   for (const Region *R : Result->ValidRegions)
 1912   for (const Region *R : SD.ValidRegions)
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp
  623     const Value *V = *PI;
tools/polly/lib/Analysis/ScopGraphPrinter.cpp
  128     for (const auto &C : String) {
  176     for (const auto &SubRegion : *R)
tools/polly/lib/Analysis/ScopInfo.cpp
 1261   for (Instruction *Inst : Instructions)
 1528   for (const SCEV *Parameter : NewParameters) {
 1557   for (auto *Parameter : Parameters) {
 1565   for (auto Array : Arrays) {
 1590   for (isl::id Id : OutermostSizeIds) {
 1713   for (Instruction *Inst : Stmt.getInstructions())
 1732     for (Instruction *Inst : Stmt.getInstructions())
 1847   for (auto size : Sizes)
 1916   for (const SCEV *Parameter : Parameters) {
 1921   for (isl::id Id : FortranIDs)
 2144   for (const SCEV *Parameter : Parameters)
 2201   for (auto &Array : arrays())
 2208   for (auto &Array : arrays())
 2375   for (Instruction *Inst : Instructions) {
 2388   for (Instruction *Inst : Instructions) {
 2477   for (auto &SAI : arrays()) {
 2730   for (auto &It : SD) {
 2820   for (auto &It : *Result) {
tools/polly/lib/Analysis/ScopPass.cpp
   76   for (auto &Pass : Passes) {
  103     for (auto &S : *SI)
  117   for (auto &S : *SI) {
tools/polly/lib/CodeGen/BlockGenerators.cpp
  462     for (Instruction *Inst : Stmt.getInstructions())
  706     for (Instruction *Inst : Stmt.insts()) {
  817   for (auto &Array : S.arrays()) {
  871   for (const auto &EscapeMapping : EscapeMap) {
  906   for (auto &Array : S.arrays()) {
  942   for (auto &SAI : S.arrays()) {
  991   for (const auto &EscapeMapping : EscapeMap) {
tools/polly/lib/CodeGen/IRBuilder.cpp
   65   for (ScopArrayInfo *Array : S.arrays())
   85     for (const auto &AliasScopePair : AliasScopeMap) {
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  315   for (const auto &I : IDToValue)
  319   for (const auto &I : OutsideLoopIterations)
  326   for (const SCEV *Expr : SCEVs) {
  355   for (Value *V : Values) {
  364   for (const auto &I : IDToValue) {
  613   for (BasicBlock *BB : Nodes)
  674   for (const Loop *L : Loops) {
  725   for (const Loop *L : Loops)
  930   for (Value *IV : IVS) {
 1047     for (auto *Val : Values) {
 1111   for (const SCEV *Param : S.parameters()) {
 1163   for (ScopArrayInfo *Array : S.arrays()) {
 1364     for (auto *Val : Values) {
 1445   for (auto &SAI : S.arrays()) {
tools/polly/lib/CodeGen/LoopGenerators.cpp
  221   for (Value *V : Values)
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
   70   for (auto GetID : BlockIDs) {
   86   for (auto GetId : ThreadIDs) {
  194   for (auto Val : ToPrint) {
tools/polly/lib/Exchange/JSONExporter.cpp
  102   for (auto &SAI : S.arrays()) {
  638   for (auto &SAI : S.arrays()) {
  772     OS << "New access function '" << *I << "' detected in JSCOP file\n";
tools/polly/lib/Support/ISLTools.cpp
  733   for (const isl::basic_set &BSet : BSets) {
tools/polly/lib/Support/RegisterPasses.cpp
  303   for (auto &Filename : DumpBeforeFile)
  395   for (auto &Filename : DumpAfterFile)
tools/polly/lib/Support/ScopHelper.cpp
  753   for (Instruction *Inst : Stmt->getInstructions())
tools/polly/lib/Support/VirtualInstruction.cpp
  214   for (Instruction *Inst : Stmt->getInstructions())
tools/polly/lib/Transform/ScopInliner.cpp
   56     Function *F = (*SCC.begin())->getFunction();
tools/sancov/sancov.cpp
  303   for (const auto &Point : Points) {
  312     for (auto PointPtr : P.second) {
  325           for (const CoveragePoint *Point : P.second) {
  912   for (const auto &Point : Points) {
  924   for (const auto &Point : Coverage.Points) {
  941   for (const auto &Point : Coverage.Points) {
  958   for (const auto &Point : Coverage.Points) {
 1007   for (const auto &FileName : FileNames) {
 1034     for (const auto &CovPoint : Coverage.Points) {
 1059     for (const auto &FileName : FileNames) {
 1118       for (const std::string &CoverageFile : Pair.second) {
 1159     for (const std::string &ObjFile : ClInputFiles) {
unittests/ADT/BitVectorTest.cpp
  821   for (auto &R : setRanges)
unittests/ADT/MapVectorTest.cpp
  138   for (auto P : make_range(MV.begin(), MV.end())) {
unittests/ADT/RangeAdapterTest.cpp
  103     int &operator*() const { return *std::prev(I); }
  104     int *operator->() const { return &*std::prev(I); }
unittests/ADT/STLExtrasTest.cpp
  354   EXPECT_EQ(*adl_begin(s), 1);
  355   EXPECT_EQ(*(adl_end(s) - 1), 5);
unittests/ADT/SetVectorTest.cpp
   30   EXPECT_EQ(0, *S.begin());
   31   EXPECT_EQ(2, *std::next(S.begin()));
unittests/ADT/StatisticTest.cpp
   26   for (const auto &S : Range) {
unittests/Analysis/AliasAnalysisTest.cpp
   55     for (Value *P1 : Pointers)
   56       for (Value *P2 : Pointers)
unittests/Analysis/ScalarEvolutionTest.cpp
  553     auto *L2 = *LI.begin();
  554     auto *L1 = *std::next(LI.begin());
  555     auto *L0 = *std::next(LI.begin(), 2);
  610     for (const auto &LoopSet : LoopSets)
  611       for (auto *S : Exprs) {
unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
  212   for (uint32_t I : IndicesToVisit) {
  241   for (uint32_t I : IndicesToVisit) {
  270   for (uint32_t I : IndicesToVisit) {
  301   for (uint32_t I : IndicesToVisit) {
  331   for (uint32_t I : IndicesToVisit) {
unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp
   49       for (const CVSymbol &S : Symbols)
unittests/DebugInfo/DWARF/DwarfGenerator.cpp
  316   for (auto Include : Prologue.IncludeDirectories) {
  322   for (auto File : Prologue.FileNames) {
  340   for (auto Include : Prologue.IncludeDirectories) {
  349   for (auto File : Prologue.FileNames) {
  364   for (auto Length : Prologue.StandardOpcodeLengths) {
  484   for (auto &CU : CompileUnits) {
  502   for (auto &CU : CompileUnits) {
  521   for (auto &LT : LineTables)
unittests/DebugInfo/MSF/MSFBuilderTest.cpp
   96   for (auto B : Blocks) {
unittests/DebugInfo/PDB/HashTableTest.cpp
  179     for (StringRef S : Streams)
unittests/ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp
   55     auto &E = *B.edges().begin();
  119     auto &StubEdge = *StubBlock.edges().begin();
  195                             *Bar.getBlock().edges().begin(), Baz);
  203           verifyCall(Dis, G, Foo.getBlock(), *Foo.getBlock().edges().begin(),
  212           verifyGOTLoad(G, *Foo_1.getBlock().edges().begin(), Y);
unittests/FuzzMutate/RandomIRBuilderTest.cpp
  118   for (auto *T: Types) {
unittests/FuzzMutate/ReservoirSamplerTest.cpp
   51     for (int Ys : Counts)
unittests/IR/CFGBuilder.cpp
  122   for (const auto &A : NewArcs) {
  155   for (const auto &U : Updates) {
unittests/IR/DominatorTreeBatchUpdatesTest.cpp
   39   for (const auto &CFGU : In)
unittests/IR/PassBuilderCallbacksTest.cpp
  955       for (auto &E : InnerPipeline) {
unittests/ProfileData/CoverageMappingTest.cpp
  234       for (const auto &OF : OutputFunctions) {
  838   for (const auto &Group : InstantiationGroups)
unittests/Support/AlignmentTest.cpp
   63   for (uint64_t Value : getValidAlignments()) {
   79   for (uint64_t Value : getValidAlignments()) {
  130   for (uint64_t Value : getValidAlignments()) {
  166   for (uint64_t Value : getValidAlignments()) {
  343   for (uint64_t Value : getNonPowerOfTwo()) {
  351   for (uint64_t Value : getValidAlignmentsForDeathTest()) {
  362   for (uint64_t Value : getValidAlignmentsForDeathTest()) {
  374   for (uint64_t Value : getValidAlignmentsForDeathTest()) {
unittests/Support/BinaryStreamTest.cpp
  200   for (auto &Stream : Streams) {
  219   for (const auto &Stream : Streams) {
  363   for (auto &Stream : Streams) {
  422   for (auto &Stream : Streams) {
  444   for (auto &Stream : Streams) {
  490   for (auto &Stream : Streams) {
  505   for (auto &Stream : Streams) {
  514   for (auto &Stream : Streams) {
  535   for (auto &Stream : Streams) {
  573   for (auto &Stream : Streams) {
  595   for (auto &Stream : Streams) {
  597     for (auto Value : Enums)
  629   for (auto &Stream : Streams) {
  632     for (const auto &Value : TestValues)
  666   for (auto &Stream : Streams) {
  669     for (const auto &Value : TestValues)
  704   for (auto &Stream : Streams) {
  726   for (auto &Stream : Streams) {
  766   for (auto &Stream : Streams) {
  793   for (auto &Stream : Streams) {
  819   for (auto &Stream : Streams) {
  883   for (const auto &F : Foos) {
  897   for (const auto &F : Foos) {
unittests/Support/ItaniumManglingCanonicalizerTest.cpp
  285     for (const auto &Equiv : Testcase.Equivalences) {
  297       for (const auto &Class : Testcase.Classes)
  298         Keys.insert({&Class, Canonicalizer.canonicalize(*Class.begin())});
  301     for (const auto &Class : Testcase.Classes) {
  303       for (llvm::StringRef Str : Class) {
  312               << Str << " not in the same class as " << *Class.begin();
  317       EXPECT_TRUE(Found.insert({ClassKey, *Class.begin()}).second)
  318           << *Class.begin() << " is in the same class as " << Found[ClassKey];
unittests/Support/JSONTest.cpp
  207   for (auto Invalid : std::vector<std::pair<const char *, const char *>>{
  257   for (Value &E : *A) {
unittests/Support/Path.cpp
  729   for (fs::TempFile &T : TempFiles)
 1139   for (auto &T : Tests) {
 1528             *FD, makeMutableArrayRef(&*Buf.begin(), Buf.size())))
 1548             *FD, makeMutableArrayRef(&*Buf.begin(), Buf.size()), Offset))
unittests/Support/SpecialCaseListTest.cpp
  187   for (auto &Path : Files)
unittests/Support/TargetParserTest.cpp
 1090   for (auto Ext : Extensions)
unittests/Support/TrigramIndexTest.cpp
   26     for (auto &Rule : Rules)
unittests/Support/VirtualFileSystemTest.cpp
  622   for (const std::string &Name : Contents) {
  697     for (const std::string &Name : Contents) {
unittests/Target/X86/MachineSizeOptsTest.cpp
  109   MachineBasicBlock *BB1 = *iter;
  111   MachineBasicBlock *BB2 = *iter;
  114   MachineBasicBlock *BB3 = *BB1->succ_begin();
  115   ASSERT_TRUE(BB3 == *BB2->succ_begin());
unittests/Transforms/IPO/LowerTypeTests.cpp
   55     for (auto Offset : T.Offsets)
   67     for (auto Offset : T.Offsets)
   72       if (I != T.Offsets.end() && *I == NonOffset) {
   98     for (auto &&F : T.Fragments)
  102     for (auto &&F : GLB.Fragments)
  144     for (auto &&A : T.Allocs) {
unittests/Transforms/Scalar/LoopPassManagerTest.cpp
 1491             AR.SE.forgetLoop(*L.begin());
 1492             EraseLoop(**L.begin(), Loop020PHBB, AR, Updater);
unittests/Transforms/Utils/UnrollLoopTest.cpp
   69   Loop *L = *LI.begin();
unittests/Transforms/Vectorize/VPlanLoopInfoTest.cpp
   62   VPLoop *VPLp = *VPLI.begin();
unittests/XRay/FDRBlockIndexerTest.cpp
   59     for (auto &R : B.get())
unittests/XRay/FDRBlockVerifierTest.cpp
   55     for (auto &R : B.get())
   63     for (auto &B : Blocks) {
   64       for (auto *R : B.Records)
   82   for (auto &R : Block)
   96   for (auto &R : Block)
  111   for (auto &R : Block)
unittests/XRay/FDRProducerConsumerTest.cpp
  153   for (auto &P : Records)
  194   for (auto &P : Records)
unittests/XRay/FDRRecordsTest.cpp
   62     for (auto &R : B.get())
   86   for (auto &R : Block)
  130     for (auto &R : B.get())
  139     for (auto &B : Blocks) {
  140       for (auto *R : B.Records)
  154     for (auto &B : Blocks) {
  155       for (auto *R : B.Records)
unittests/XRay/FDRTraceWriterTest.cpp
   53   for (auto &P : L)
   98   for (auto &P : L)
  150   for (auto &P : L)
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
   69     Stream << "0x" << std::hex << *It << ", ";
   71   Stream << "0x" << std::hex << *LastElemIt << " }";
   88   for (const auto &Node : Result.ConditionalBranchNodes) {
  101   for (const auto &Orphan : Result.OrphanedNodes) {
unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
  171   for (const auto &CT : CodeTemplates) {
  191   for (const auto &CT : CodeTemplates) {
  262   for (const auto &IT : CT.Instructions) {
usr/include/c++/7.4.0/bits/basic_string.h
  368 	    traits_type::assign(*__p, *__k1); // These types are off.
usr/include/c++/7.4.0/bits/hashtable.h
  977 	  this->insert(*__f);
usr/include/c++/7.4.0/bits/predefined_ops.h
   43       { return *__it1 < *__it2; }
   43       { return *__it1 < *__it2; }
   65       { return *__it < __val; }
   90       { return __val < *__it; }
  106       { return *__it1 == *__it2; }
  106       { return *__it1 == *__it2; }
  143         { return bool(_M_comp(*__it1, *__it2)); }
  143         { return bool(_M_comp(*__it1, *__it2)); }
  177 	{ return bool(_M_comp(*__it, __val)); }
  215 	{ return bool(_M_comp(__val, *__it)); }
  241 	{ return *__it == _M_value; }
  262 	{ return *__it2 == *_M_it1; }
  262 	{ return *__it2 == *_M_it1; }
  283 	{ return bool(_M_pred(*__it)); }
  327 	{ return bool(_M_comp(*__it2, *_M_it1)); }
  327 	{ return bool(_M_comp(*__it2, *_M_it1)); }
  351 	{ return !bool(_M_pred(*__it)); }
usr/include/c++/7.4.0/bits/random.tcc
 2751 	__os << __space << *__dit;
 2966 	__os << __space << *__dit;
 3182 	__os << __space << *__dit;
 3243 		       __detail::_Shift<result_type, 32>::__value>(*__iter));
usr/include/c++/7.4.0/bits/regex.tcc
   60       for (auto& __it : __res)
   86 	  for (auto& __it : __res)
  113 	  for (auto& __it : __res)
usr/include/c++/7.4.0/bits/regex_automaton.tcc
  165       for (auto __it : this->_M_paren_stack)
  180       for (auto& __it : *this)
usr/include/c++/7.4.0/bits/regex_compiler.tcc
  621 	for (auto& __it : _M_range_set)
  630 	for (auto& __it : _M_neg_class_set)
usr/include/c++/7.4.0/bits/regex_executor.tcc
  127 	  for (auto& __task : __old_queue)
  326 	  if (__state._M_matches(*_M_current))
  334 	if (__state._M_matches(*_M_current))
  508 	  if (_M_is_word(*std::prev(__prev)))
  512         _M_current != _M_end && _M_is_word(*_M_current);
usr/include/c++/7.4.0/bits/stl_algo.h
  626 	  if (__pred(*__middle))
  749 	if (__pred(*__first))
  751 	    *__result = *__first;
  871 	    *__result = _GLIBCXX_MOVE(*__first);
  871 	    *__result = _GLIBCXX_MOVE(*__first);
  975 	  *++__dest = _GLIBCXX_MOVE(*__first);
  975 	  *++__dest = _GLIBCXX_MOVE(*__first);
 1059       *__result = *__first;
 1064 	    *++__result = *__first;
 1365 		  _ValueType __t = _GLIBCXX_MOVE(*__p);
 1367 		  *(__p + __n - 1) = _GLIBCXX_MOVE(__t);
 1388 		  _ValueType __t = _GLIBCXX_MOVE(*(__p + __n - 1));
 1390 		  *__p = _GLIBCXX_MOVE(__t);
 1521 	    else if (__pred(*__first))
 1529 	    else if (!bool(__pred(*__last)))
 1566 	  *__result2 = _GLIBCXX_MOVE(*__first);
 1572 		*__result1 = _GLIBCXX_MOVE(*__first);
 1572 		*__result1 = _GLIBCXX_MOVE(*__first);
 1577 		*__result2 = _GLIBCXX_MOVE(*__first);
 1825 	__val = _GLIBCXX_MOVE(*__last);
 1830 	  *__last = _GLIBCXX_MOVE(*__next);
 1830 	  *__last = _GLIBCXX_MOVE(*__next);
 1834       *__last = _GLIBCXX_MOVE(__val);
 1850 		__val = _GLIBCXX_MOVE(*__i);
 1852 	      *__first = _GLIBCXX_MOVE(__val);
 2260       return __i != __last && !(__val < *__i);
 2295       return __i != __last && !bool(__comp(__val, *__i));
 2312 	      *__result = _GLIBCXX_MOVE(*__first2);
 2312 	      *__result = _GLIBCXX_MOVE(*__first2);
 2317 	      *__result = _GLIBCXX_MOVE(*__first1);
 2351 	      *--__result = _GLIBCXX_MOVE(*__last1);
 2351 	      *--__result = _GLIBCXX_MOVE(*__last1);
 2361 	      *--__result = _GLIBCXX_MOVE(*__last2);
 2445 		= std::__lower_bound(__middle, __last, *__first_cut,
 2454 		= std::__upper_bound(__first, __middle, *__second_cut,
 2501 	    = std::__lower_bound(__middle, __last, *__first_cut,
 2510 	    = std::__upper_bound(__first, __middle, *__second_cut,
 2647 	      *__result = _GLIBCXX_MOVE(*__first2);
 2647 	      *__result = _GLIBCXX_MOVE(*__first2);
 2652 	      *__result = _GLIBCXX_MOVE(*__first1);
 2652 	      *__result = _GLIBCXX_MOVE(*__first1);
 3884 	__f(*__first);
 3968 	  if (*__first1 == *__iter)
 3968 	  if (*__first1 == *__iter)
 4306 	*__result = __unary_op(*__first);
 4306 	*__result = __unary_op(*__first);
 4377 	if (*__first == __old_value)
 4378 	  *__first = __new_value;
 4409 	if (__pred(*__first))
 4410 	  *__first = __new_value;
 4438 	*__first = __gen();
 4882 	      *__result = *__first2;
 4887 	      *__result = *__first1;
 5093 	      *__result = *__first1;
 5098 	      *__result = *__first2;
 5103 	      *__result = *__first1;
 5225 	    *__result = *__first1;
 5462 	    *__result = *__first1;
 5468 	    *__result = *__first2;
usr/include/c++/7.4.0/bits/stl_algobase.h
  148       swap(*__a, *__b);
  148       swap(*__a, *__b);
 1082 	if (!bool(__binary_pred(*__first1, *__first2)))
 1082 	if (!bool(__binary_pred(*__first1, *__first2)))
usr/include/c++/7.4.0/bits/stl_construct.h
  108 	    std::_Destroy(std::__addressof(*__first));
usr/include/c++/7.4.0/bits/stl_heap.h
  135 	  *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __parent));
  135 	  *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __parent));
  139       *(__first + __holeIndex) = _GLIBCXX_MOVE(__value);
  170       _ValueType __value = _GLIBCXX_MOVE(*(__last - 1));
  206       _ValueType __value = _GLIBCXX_MOVE(*(__last - 1));
  225 	  *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
  225 	  *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
  231 	  *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first
  231 	  *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first
  251       _ValueType __value = _GLIBCXX_MOVE(*__result);
  252       *__result = _GLIBCXX_MOVE(*__first);
  252       *__result = _GLIBCXX_MOVE(*__first);
  341 	  _ValueType __value = _GLIBCXX_MOVE(*(__first + __parent));
usr/include/c++/7.4.0/bits/stl_iterator.h
  172 	return *--__tmp;
 1053       { return static_cast<reference>(*_M_current); }
usr/include/c++/7.4.0/bits/stl_list.h
 1730 	    emplace_back(*__first);
usr/include/c++/7.4.0/bits/stl_numeric.h
   93 	  *__first = __value;
  127 	__init = __init + *__first;
  154 	__init = __binary_op(__init, *__first);
  183 	__init = __init + (*__first1 * *__first2);
  183 	__init = __init + (*__first1 * *__first2);
usr/include/c++/7.4.0/bits/stl_tempbuf.h
  195 			      _GLIBCXX_MOVE(*__seed));
  201 	      *__seed = _GLIBCXX_MOVE(*__prev);
usr/include/c++/7.4.0/bits/stl_tree.h
 2452 	  _M_insert_unique_(end(), *__first, __an);
usr/include/c++/7.4.0/bits/stl_uninitialized.h
   83 		std::_Construct(std::__addressof(*__cur), *__first);
usr/include/c++/7.4.0/bits/stl_vector.h
  876 	return *begin();
  887 	return *begin();
  898 	return *(end() - 1);
  909 	return *(end() - 1);
usr/include/c++/7.4.0/bits/vector.tcc
  386       *__position = std::forward<_Arg>(__arg);
utils/FileCheck/FileCheck.cpp
  444           FoundAndExpectedMatches.push_back(*I);
  459         for (auto M : FoundAndExpectedMatches) {
  529   for (auto Prefix : CheckPrefixes)
  532   for (auto CheckNot : ImplicitCheckNot)
  536   for (auto G : GlobalDefines) {
utils/TableGen/AsmMatcherEmitter.cpp
  282       for (auto *Super : CI->SuperClasses)
  941   for (Record *Predicate : TheDef->getValueAsListOfDefs("Predicates"))
 1351   for (Record *Rec : AsmOperands) {
 1357   for (Record *Rec : AsmOperands) {
 1446   for (const auto &MI : Matchables) {
 1570   for (auto &II : Matchables) {
 1644   for (Record *Rec : AllTokenAliases) {
 1764   for (const CGIOperandList::OperandInfo &OpInfo : ResultInst->Operands) {
 1968     for (const auto &MI : Infos) {
 2038   for (auto &II : Infos) {
 2554       for (StringRef SC : SuperClasses)
 2629     for (auto AltName : AltNames) {
 2727   for (Record *R : Aliases) {
 2835   for (const OperandMatchEntry &OMI : Info.OperandMatchInfo) {
 2876   for (const OperandMatchEntry &OMI : Info.OperandMatchInfo) {
 3120   for (const auto &Feature : FeatureBitset)
 3153       for (const auto &MI : Info.Matchables)
 3163         const MatchableInfo &A = **I;
 3164         const MatchableInfo &B = **J;
 3321   for (const auto &MI : Info.Matchables) {
 3336   for (const auto &MI : Info.Matchables) {
 3364   for (const auto &FeatureBitset : FeatureBitsets) {
 3372   for (const auto &FeatureBitset : FeatureBitsets) {
 3376     for (const auto &Feature : FeatureBitset) {
 3435     for (const auto &MI : Info.Matchables) {
utils/TableGen/AsmWriterEmitter.cpp
  126   for (const AsmWriterInst &AWI : SimilarInsts)
  143       for (const AsmWriterInst &AWI : SimilarInsts) {
  295   for (AsmWriterInst &AWI : Instructions) {
  308   for (AsmWriterInst &AWI : Instructions) {
  361       for (unsigned Idx : InstIdxs[i]) {
  575     for (const Record *R : AltNameIndices)
  583     for (const Record *R : AltNameIndices) {
  682       O << *I;
  727     for (const auto &str : Conds)
  781   for (Record *R : AllInstAliases) {
  832       for (auto &ResultInstOpnd : CGA.ResultInst->Operands)
  954         Record *R = *I;
  998     for (auto &LHS : IAPs) {
 1000       for (const auto &RHS : IAPs) {
 1015     for (IAPrinter *IAP : UniqueIAPs) {
utils/TableGen/Attributes.cpp
   47   for (auto A : Attrs)
   63   for (auto A : Attrs) {
  114   for (auto *Rule : CompatRules) {
  128   for (auto *Rule : MergeRules) {
  141   for (const auto *R : Records) {
  154   for (const auto *R : Records) {
utils/TableGen/CTagsEmitter.cpp
   78   for (const Tag &T : Tags)
utils/TableGen/CallingConvEmitter.cpp
   41   for (Record *CC : CCs) {
   59   for (Record *CC : CCs) {
utils/TableGen/CodeEmitterGen.cpp
  336   for (const auto &Feature : FeatureBitset)
  466     Record *R = *IC;
  553     for (Record *Predicate : Inst->TheDef->getValueAsListOfDefs("Predicates")) {
  581   for (const auto &FeatureBitset : FeatureBitsets) {
  589   for (const auto &FeatureBitset : FeatureBitsets) {
  593     for (const auto &Feature : FeatureBitset) {
  615     for (Record *Predicate : Inst->TheDef->getValueAsListOfDefs("Predicates")) {
utils/TableGen/CodeGenDAGPatterns.cpp
   96       VVT.PtrAddrSpace = *ASI++;
  478   for (unsigned M : Modes) {
  520   for (unsigned M : Modes) {
  567   for (unsigned M : union_modes(Vec, Elem)) {
  650   for (unsigned M : union_modes(Vec, Sub)) {
  690   for (unsigned M : union_modes(V, W)) {
  724   for (unsigned M : union_modes(A, B)) {
 1399   for (const Predicate &P : Predicates) {
 1660   for (const TypeSetByHwMode &S : Types)
 1663   for (const TreePatternNodePtr &C : Children)
 1670   for (const TypeSetByHwMode &S : Types)
 1673   for (const TreePatternNodePtr &C : Children)
 1680   for (TypeSetByHwMode &S : Types) {
 1686   for (const TreePatternNodePtr &C : Children)
 1708   for (Record *R : ConstraintList)
 1721   for (const SDTypeConstraint &Constraint : TypeConstraints) {
 1762       for (auto T : PFRec->getTrees())
 1837   for (const TreePredicateCall &Pred : PredicateCalls) {
 1848   for (const ScopedName &Name : NamesAsPredicateArg)
 1984       for (auto NewChild : ChildAlternatives[i])
 2059   for (auto Alternative : Frag->getTrees()) {
 2076     for (const TreePredicateCall &Pred : getPredicateCalls())
 2686   for (TreePatternNodePtr &Tree : Trees)
 2923     for (TreePatternNodePtr &Tree : Trees) {
 2982   for (const TreePatternNodePtr &Tree : Trees)
 2999   for (const TreePatternNodePtr &Tree : Trees) {
 3106   for (Record *Frag : Fragments) {
 3161       for (auto T : P->getTrees())
 3167   for (Record *Frag : Fragments) {
 3785   for (Record *Instr : Instrs) {
 3926   for (const PatternToMatch &PTM : ptms()) {
 3987     const PatternToMatch &PTM = *I;
 4128     for (auto T : Pattern.getTrees())
 4182     for (auto T : Pattern.getTrees())
 4194   for (Record *CurPattern : Patterns) {
 4227   for (const TypeSetByHwMode &VTS : N->getExtTypes())
 4257   for (PatternToMatch &P : Copy) {
 4360   for (const auto &Variants : ChildVariants)
 4372       for (unsigned Idx : Idxs) {
 4682       for (auto &P : MatchedPredicates)
utils/TableGen/CodeGenHwModes.cpp
   49   for (const PairType &P : Items)
   59     if ((*I)->getName() != DefaultModeName)
   65   for (Record *R : MRs) {
   72   for (Record *R : MSs) {
   96   for (const HwMode &M : Modes) {
utils/TableGen/CodeGenInstruction.cpp
  142   for (OperandInfo &OpInfo : OperandList)
  310   for (const CGIOperandList::OperandInfo &Op : Ops) {
utils/TableGen/CodeGenMapTable.cpp
  241   for (Record *CurInstr : InstrDefs) {
  294   for (Record *CurKeyInstr : KeyInstrVec) {
  348         for (Init *Value : KeyValue) {
  516   for (Record *CurMap : InstrMapVec) {
  592   for (Record *CurMap : InstrMapVec) {
utils/TableGen/CodeGenRegisters.cpp
   99     for (Record *Part : Parts)
  192   for (Record *Alias : Aliases) {
  216       UnitI = (*RegI)->getRegUnits().begin();
  217       UnitE = (*RegI)->getRegUnits().end();
  226   const CodeGenRegister *getReg() const { assert(isValid()); return *RegI; }
  240       UnitI = (*RegI)->getRegUnits().begin();
  241       UnitE = (*RegI)->getRegUnits().end();
  829   for (const auto R : Members) {
  870     for (const auto R : *K.Members)
 1038   for (auto *SuperRegRC : SuperRegRCs) {
 1039     for (const auto &SuperRegClassPair : SuperRegClasses) {
 1124   for (Record *R : Tups) {
 1127     for (Record *RC : TupRegs)
 1192   for (auto *R : RCs) {
 1603     unsigned USetID = UberSetIDs.findLeader((*Regs.begin())->EnumValue);
 1606     AllocatableRegs.insert((*Regs.begin())->EnumValue);
 1608       AllocatableRegs.insert((*I)->EnumValue);
 1609       UberSetIDs.join(USetID, (*I)->EnumValue);
 1675                       : I->Regs) dbgs()
 1683     for (const auto R : I->Regs) {
 1903     for (auto &U : RegUnitSets[USIdx].Units)
 1915     for (auto &U : RegUnitSets[USIdx].Units)
 1961                         : RegUnitSets.back().Units) printRegUnitName(U);
 1974         for (auto &U : RegUnitSets[USIdx].Units)
 1997                     : RCRegUnits) printRegUnitName(U);
 2098     for (const CodeGenRegister *Reg : RC.getMembers()) {
 2176   for (const auto R : RC->getMembers()) {
 2236     for (const auto Super : RC->getMembers()) {
utils/TableGen/CodeGenRegisters.h
  728         Weight += getRegUnit(*I).Weight;
utils/TableGen/CodeGenSchedule.cpp
  242   for (const Record *R : Decls) {
  258   for (const Record *R : Defs) {
  301     for (const Record *EC : Classes) {
  307       for (const Record *Opcode : Opcodes) {
  325   for (std::pair<APInt, APInt> &MaskPair : OpcodeMasks)
  337     for (const Record *EC : Classes) {
  348       for (const Record *Opcode : Opcodes) {
  396   for (OpcodeMapPair &Info : OpcodeMappings)
  406   for (const Record *R : RV) {
  422   for (STIPredicateFunction &Fn : STIPredicates)
  447   for (const Record *TIIPred : MCPredicates) {
  467   for (Record *RCU : Units) {
  482   for (Record *Queue : Queues) {
  538   for (Record *ProcRecord : ProcRecords)
  573     for (Record *WSRec : Seq)
  579     for (Record *Variant : Vars) {
  582       for (Record *SelDef : Selected)
  604     for (Record *RW : RWs) {
  615   for (Record *InstRWDef : InstRWDefs) {
  618     for (Record *RWDef : RWDefs) {
  629   for (Record *ItinRWDef : ItinRWDefs) {
  632     for (Record *RWDef : RWDefs) {
  645   for (Record *ADef : AliasDefs) {
  663   for (Record *SWDef : SWDefs) {
  668   for (Record *SRDef : SRDefs) {
  673   for (CodeGenSchedRW &CGRW : SchedWrites) {
  680   for (Record *ADef : AliasDefs) {
  702            : RWDefs) {
  732   for (const CodeGenSchedRW &Read : SchedReads) {
  747   for (Record *RWDef : RWDefs) {
  770   for (Record *RWDef : RWDefs) {
  787     for (unsigned I : SchedRW.Sequence) {
  801   for (const Record *Rec : SchedWrite.Aliases) {
  826     for (unsigned Idx : SchedWrite.Sequence) {
  889   for (Record *RWDef : InstRWDefs)
  929           dbgs() << " " << SchedWrites[*WI].Name;
  931           dbgs() << " " << SchedReads[*RI].Name;
  936     for (Record *RWDef : RWDefs) {
  947         for (unsigned WIdx : Writes)
  949         for (unsigned RIdx : Reads)
  957         for (const CodeGenProcModel &PM : ProcModels) {
  999     Name += (*I)->getName();
 1054   for (Record *InstDef : *InstDefs) {
 1082           for (Record *RWD : RWDefs) {
 1119       for (Record *OldRWDef : SchedClasses[OldSCIdx].InstRWs) {
 1145   for (const CodeGenProcModel &PM : make_range(procModelBegin(),procModelEnd()))
 1154   for (CodeGenProcModel &ProcModel : ProcModels) {
 1166     for (Record *ItinData : ItinRecords) {
 1170       for (const CodeGenSchedClass &SC :
 1200   for (Record *RWDef  : ItinRWDefs) {
 1215   for (CodeGenProcModel &ProcModel : ProcModels) {
 1216     for (Record *Pred : ProcModel.ModelDef->getValueAsListOfDefs("UnsupportedFeatures")) {
 1253     for (const Record *Rec : PM.ItinRWDefs) {
 1277       if (InstrClassMap[*II] == SCIdx)
 1383   for (Record *Alias : RW.Aliases) {
 1391       for (unsigned SI : ExpandedRWs) {
 1435     for (Record *VarDef : VarDefs)
 1446     if ((*AI)->getValueInit("SchedModel")->isComplete()) {
 1447       Record *ModelDef = (*AI)->getValueAsDef("SchedModel");
 1451       SchedModels.getSchedRW((*AI)->getValueAsDef("AliasRW"));
 1455       for (Record *VD : VarDefs)
 1463   for (TransVariant &Variant : Variants) {
 1474           *(SchedModels.procModelBegin() + Variant.ProcIdx);
 1545         ExpandedRWs.push_back(*RWI);
 1547         SchedModels.expandRWSequence(*RWI, ExpandedRWs, IsRead);
 1561         ExpandedRWs.push_back(*RWI);
 1563         SchedModels.expandRWSequence(*RWI, ExpandedRWs, IsRead);
 1602         pushVariant(*IVI, IsRead);
 1722     for (const PredTransition &Trans : LastTransitions)
 1746       if (!is_contained(SuperUnits, *RI)) {
 1790   for (Record *RF : RegisterFileDefs) {
 1834   for (const CodeGenSchedClass &SC :
 1843     for (Record *RW : SC.InstRWs) {
 1855   for (Record *WR : WRDefs) {
 1860   for (Record *SWR : SWRDefs) {
 1865   for (Record *RA : RADefs) {
 1870   for (Record *SRA : SRADefs) {
 1879   for (Record *PRG : ProcResGroups) {
 1887   for (Record *PRU : Records.getAllDerivedDefinitions("ProcResourceUnits")) {
 1895   for (CodeGenProcModel &PM : ProcModels) {
 1904           if ((*RI)->isSubClassOf("WriteRes"))
 1905             dbgs() << (*RI)->getValueAsDef("WriteType")->getName() << " ";
 1907             dbgs() << (*RI)->getName() << " ";
 1912           if ((*RI)->isSubClassOf("ReadAdvance"))
 1913             dbgs() << (*RI)->getValueAsDef("ReadType")->getName() << " ";
 1915             dbgs() << (*RI)->getName() << " ";
 1920              RI != RE; ++RI) { dbgs() << (*RI)->getName() << " "; } dbgs()
 1994       RecVec Matched = (*II)->getValueAsListOfDefs("MatchedItinClasses");
 1998         PrintFatalError((*II)->getLoc(), "Duplicate itinerary class "
 2003       findRWs((*II)->getValueAsListOfDefs("OperandReadWrites"), Writes, Reads);
 2025     if ((*AI)->getValueInit("SchedModel")->isComplete()) {
 2027         getProcModel((*AI)->getValueAsDef("SchedModel")).Index);
 2031     const CodeGenSchedRW &AliasRW = getSchedRW((*AI)->getValueAsDef("AliasRW"));
 2038       collectRWResources(*SI, IsRead, AliasProcIndices);
 2065   for (Record *ProcResDef : ProcResourceDefs) {
 2076   for (Record *ProcResGroup : ProcResGroups) {
 2130     addProcResource(*WritePRI, ProcModels[PIdx], ProcWriteResDef->getLoc());
 2153   for (const Record *TheDef : UnsupportedFeaturesDefs) {
 2154     for (const Record *PredDef : Inst.TheDef->getValueAsListOfDefs("Predicates")) {
 2199     for (const CodeGenSchedTransition &Transition : Transitions) {
utils/TableGen/CodeGenTarget.cpp
  483   for (Record *R : Insts) {
utils/TableGen/DAGISelEmitter.cpp
  156     Patterns.push_back(&*I);
utils/TableGen/DAGISelMatcherEmitter.cpp
  255   for (const auto &It : VecPatterns) {
  269   for (const auto &It : VecIncludeStrings) {
utils/TableGen/DAGISelMatcherGen.cpp
  520   for (const ScopedName &Name : N->getNamesAsPredicateArg()) {
  901     for (Record *Reg : Pattern.getDstRegs()) {
 1044     for (Record *Reg : Pattern.getDstRegs()) {
utils/TableGen/DFAEmitter.cpp
   69       for (state_type &ToState : I->second) {
  254   for (Record *R : Records.getAllDerivedDefinitions("GenericAutomaton")) {
  270   for (Record *T : Records.getAllDerivedDefinitions(TransitionClass)) {
  293     for (Transition &T : Transitions) {
  378   for (const auto &SingleAction : AT) {
utils/TableGen/DFAPacketizerEmitter.cpp
   78     for (auto U : InsnClass)
  407   for (Record *R : ProcItinList)
utils/TableGen/ExegesisEmitter.cpp
   74   for (Record *Def : Records.getAllDerivedDefinitions("ProcPfmCounters")) {
   77     for (const Record *IssueCounter :
  164     for (const Record *Def : PfmCounterDefs) {
  165       for (const Record *ICDef : Def->getValueAsListOfDefs("IssueCounters"))
  175   for (const Record *Def : PfmCounterDefs)
  191   for (Record *Binding : Bindings) {
utils/TableGen/FastISelEmitter.cpp
  453     const PatternToMatch &Pattern = *I;
utils/TableGen/FixedLenDecoderEmitter.cpp
  770     switch (*I) {
  775       unsigned Start = *I++;
  776       unsigned Len = *I++;
  788       while (*I >= 128)
  789         OS << (unsigned)*I++ << ", ";
  790       OS << (unsigned)*I++ << ", ";
  793       uint8_t Byte = *I++;
  796       Byte = *I++;
  799       Byte = *I++;
  807       unsigned Start = *I++;
  808       unsigned Len = *I++;
  812       for (; *I >= 128; ++I)
  813         OS << (unsigned)*I << ", ";
  814       OS << (unsigned)*I++ << ", ";
  816       uint8_t Byte = *I++;
  819       Byte = *I++;
  822       Byte = *I++;
  831       for (; *I >= 128; ++I)
  832         OS << (unsigned)*I << ", ";
  833       OS << (unsigned)*I++ << ", ";
  836       uint8_t Byte = *I++;
  839       Byte = *I++;
  842       Byte = *I++;
  850       bool IsTry = *I == MCD::OPC_TryDecode;
  854       while ((*p++ = *I++) >= 128)
  866       for (; *I >= 128; ++I)
  867         OS << (unsigned)*I << ", ";
  868       OS << (unsigned)*I++ << ", ";
  878       uint8_t Byte = *I++;
  881       Byte = *I++;
  884       Byte = *I++;
  899         OS << ", " << (unsigned)*I;
  900         Value += (*I & 0x7f) << Shift;
  902       } while (*I++ >= 128);
  912         OS << ", " << (unsigned)*I;
  913         Value += (*I & 0x7f) << Shift;
  915       } while (*I++ >= 128);
 1116   for (const EncodingField &EF : OpInfo) {
 1143   for (const auto &Op : Operands.find(Opc)->second) {
 1992   for (const auto &Op : InOutOperands) {
 2433   for (const auto &NumberedAlias : RK.getAllDerivedDefinitions("AdditionalEncoding"))
utils/TableGen/GICombinerEmitter.cpp
  268   for (Record *R : RulesAndGroups) {
  292     for (const RootInfo &Root : Rule->roots()) {
  428   for (const auto &Rule : Rules)
  446   for (const auto &Combiner : SelectedCombiners) {
utils/TableGen/GlobalISelEmitter.cpp
  202   for (const TreePredicateCall &Call : N->getPredicateCalls()) {
  308   for (const TreePredicateCall &Call : N->getPredicateCalls()) {
  387   for (const auto &Feature : FeatureBitset)
 2088       return **I;
 2133     for (const auto &Operand : Operands)
 2281     for (auto &OM : Operands)
 2296   for (auto &OM : Operands) {
 2826         for (auto Def : I->ImplicitDefs) {
 2835         for (auto Use : I->ImplicitUses) {
 2855     for (const auto &Renderer : OperandRenderers)
 2873       for (const auto &MergeInsnID : MergeInsnIDs)
 3137   for (const auto &PM : EpilogueMatchers)
 3399   for (Record *Equiv : RK.getAllDerivedDefinitions("GINodeEquiv"))
 3403   for (Record *Equiv : RK.getAllDerivedDefinitions("GIComplexPatternEquiv")) {
 3411  for (Record *Equiv : RK.getAllDerivedDefinitions("GISDNodeXFormEquiv")) {
 3432   for (const TreePredicateCall &Call : N->getPredicateCalls()) {
 3494   for (const TypeSetByHwMode &VTy : Src->getExtTypes()) {
 3503   for (const TreePredicateCall &Call : Src->getPredicateCalls()) {
 4626   for (const TypeSetByHwMode &VTy : Src->getExtTypes()) {
 4827     for (const auto *Record : MatchedRecords) {
 4843   for (const auto *Record : MatchedRecords) {
 4894       for (Matcher *M : CurrentGroup->matchers())
 4954   for (Matcher *Rule : InputRules)
 4961   for (Matcher *Rule : OptRules)
 4977       auto *R = static_cast<RuleMatcher *>(*T);
 5024   for (const PatternToMatch &Pat : CGP.ptms()) {
 5066   for (const auto &Rule : Rules)
 5145   for (const auto &TypeObject : TypeObjects) {
 5153   for (const auto &TypeObject : TypeObjects) {
 5163   for (auto &Rule : Rules)
 5185   for (const auto &FeatureBitset : FeatureBitsets) {
 5193   for (const auto &FeatureBitset : FeatureBitsets) {
 5197     for (const auto &Feature : FeatureBitset) {
 5210   for (const auto &Record : ComplexPredicates)
 5233   for (const auto &Record : ComplexPredicates)
 5242   for (const auto &Record : CustomRendererFns)
 5249   for (const auto &Record : CustomRendererFns)
 5332     for (auto &OM : InsnMatcher.operands()) {
 5359   for (auto &OM : Matcher.operands())
 5375   for (auto &OM : Matcher.operands())
 5393   for (auto &OM : Matcher.operands())
 5419   const Matcher &Representative = **Matchers.begin();
 5443   Matcher &FirstRule = **Matchers.begin();
 5446     for (const auto &Rule : Matchers)
 5470         Table, *static_cast<RuleMatcher *>(*Matchers.begin()));
 5472   for (const auto &M : Matchers)
 5507   const Matcher &CaseRepresentative = **Matchers.begin();
utils/TableGen/InfoByHwMode.cpp
   34   for (const HwModeSelect::PairType &P : MS.Items) {
  147   for (const HwModeSelect::PairType &P : MS.Items) {
  197   for (const HwModeSelect::PairType &P : MS.Items) {
utils/TableGen/InstrDocsEmitter.cpp
  144       for (auto FlagString : FlagStrings) {
  195       for (Record *Def : II->ImplicitDefs) {
  208       for (Record *Use : II->ImplicitUses) {
  223       for (Record *P : Predicates) {
utils/TableGen/InstrInfoEmitter.cpp
  100   for (Record *U : Uses)
  113   for (auto &Op : Inst.Operands) {
  209     for (const std::string &Info : OperandInfo)
  232     for (const auto &Info : Inst->Operands) {
  309       for (const std::string &Name : Entry.second)
  350     for (const Record *Op : *RecordsToAdd) {
  376       for (const auto &Op : Inst->Operands) {
  445   for (const Record *Rec : TIIPredicates) {
  464   for (const Record *Rec : TIIPredicates) {
  489   for (const Record *Rec : TIIPredicates) {
  791   for (const auto &Class : SchedModels.explicit_classes())
utils/TableGen/IntrinsicEmitter.cpp
  139   for (auto Target : Ints.Targets)
utils/TableGen/OptParserEmitter.cpp
  313     for (const std::string &Pref : R.getValueAsListOfStrings("Prefixes")) {
utils/TableGen/PredicateExpander.cpp
  131   for (const Record *Rec : Opcodes) {
  169   for (const Record *Rec : Sequence) {
  231   for (const Record *Opcode : Opcodes) {
  250   for (const Record *Rec : Cases) {
  410   for (const Record *Delegate : Delegates) {
utils/TableGen/PseudoLoweringEmitter.cpp
  223       for (const auto &DestOperand : Dest.Operands) {
utils/TableGen/RISCVCompressInstEmitter.cpp
  471   for (auto &R : ReqFeatures) {
  676     for (const auto &DestOperand : Dest.Operands) {
utils/TableGen/RegisterBankEmitter.cpp
   66     for (const auto &RCDef : getDef().getValueAsListOfDefs("RegisterClasses"))
  135   for (const auto &Bank : Banks)
  218   for (const auto &Bank : Banks) {
  222     for (const auto &RC : Bank.register_classes())
  227     for (const auto &RCs : RCsGroupedByWord) {
  229       for (const auto &RC : RCs) {
  242   for (const auto &Bank : Banks) {
  259   for (const auto &Bank : Banks)
  284   for (const auto &V : Records.getAllDerivedDefinitions("RegisterBank")) {
  288     for (const CodeGenRegisterClass *RC :
  304   for (const auto &Class : Records.getAllDerivedDefinitions("RegisterClass")) {
  305     for (const auto &Bank : Banks) {
utils/TableGen/RegisterInfoEmitter.cpp
  210       OS << "    {" << (*Regs.begin())->getWeight(RegBank)
  352   for (const auto &X : DwarfRegNums) {
  655     uint16_t Cur = (*I)->EnumValue;
  910     for (const CodeGenRegister *S : SR)
 1572     for (Record *CSRSet : CSRSets)
 1585     for (Record *CSRSet : CSRSets)
 1638     for (const CodeGenRegister *R : RC.getMembers()) {
utils/TableGen/SDNodeProperties.cpp
   17   for (Record *Property : R->getValueAsListOfDefs("Properties")) {
utils/TableGen/SearchableTableEmitter.cpp
  286   for (const auto &Entry : Enum.Entries)
  333     for (const auto &Entry : Entries) {
  548   for (const auto &FieldName : Key) {
  569   for (auto EntryRec : Items) {
  598   for (auto EntryRec : Items) {
  641   for (auto EnumRec : Records.getAllDerivedDefinitions("GenericEnum")) {
  666   for (auto TableRec : Records.getAllDerivedDefinitions("GenericTable")) {
  673     for (const auto &FieldName : Fields) {
  705   for (Record *IndexRec : Records.getAllDerivedDefinitions("SearchIndex")) {
  766     for (const auto &Field :
  777   for (const auto &Enum : Enums)
utils/TableGen/SequenceToOffsetTable.h
  122         Print(OS, *SI);
utils/TableGen/SubtargetEmitter.cpp
  267   for (Record *Processor : ProcessorList) {
  571     std::vector<InstrItinerary> &ItinList = *ProcItinListsIter;
  630     for (Record *RUDef : ResUnits) {
  686   for (const CodeGenRegisterFile &RF : ProcModel.RegisterFiles) {
  691     for (const CodeGenRegisterCost &RC : RF.Costs) {
  711   for (const CodeGenRegisterFile &RD : ProcModel.RegisterFiles) {
  794       for (Record *RU : ResUnits) {
  839   for (Record *A : SchedWrite.Aliases) {
  858   for (Record *WR : ProcModel.WriteResDefs) {
  891   for (Record *A : SchedRead.Aliases) {
  910   for (Record *RA : ProcModel.ReadAdvanceDefs) {
  962     for (Record *PR : PM.ProcResourceDefs) {
  968         if (!is_contained(SuperResources, *SubI)) {
 1005     for (const CodeGenSchedTransition &CGT :
 1032       for (Record *RW : SC.InstRWs) {
 1048       for (Record *I : ProcModel.ItinRWDefs) {
 1068     for (unsigned W : Writes) {
 1086       for (unsigned WS : WriteSeq) {
 1168         for (Record *VW : ValidWrites) {
 1173       for(unsigned W : WriteIDs) {
 1438   for (Record *P : Prologs)
 1468     for (const Record *Rec : T.PredTerm) {
 1547   for (const CodeGenSchedTransition &T : SC.Transitions) {
 1575   for (unsigned VC : VariantClasses) {
 1585     for (unsigned PI : ProcIndices) {
 1598       for (const CodeGenSchedTransition &T : SC.Transitions) {
 1706   for (Record *R : Features) {
utils/TableGen/SubtargetFeatureInfo.cpp
   30   for (Record *Pred : AllPredicates) {
utils/TableGen/TableGen.cpp
  209     for (Record *Rec : Records.getAllDerivedDefinitions(Class))
  218     for (Record *Rec : Records.getAllDerivedDefinitions("Set")) {
  222       for (Record *Elt : *Elts)
utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
  114         for (auto &Op : CGI.Operands.OperandList) {
  155   for (auto &Op : OperandTable) {
utils/TableGen/X86DisassemblerTables.cpp
  722       o1.indent(i1 * 2) << format("0x%hx", *I) << ", /* "
  723                         << InstructionSpecifiers[*I].name << " */\n";
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
   62   for (auto Pair : Table) {
  198   for (const CodeGenInstruction *EVEXInst : EVEXInsts) {
  214         VEXInst = *Match;
utils/TableGen/X86FoldTablesEmitter.cpp
  170     for (const X86FoldTableEntry &E : Table)
  617   for (const CodeGenInstruction *MemInst : MemInsts) {
  632       const CodeGenInstruction *RegInst = *Match;
utils/benchmark/src/benchmark.cc
  212       for (std::thread& thread : pool) thread.join();
  399   for (const Benchmark::Instance& benchmark : benchmarks) {
  404     for(const auto& Stat : *benchmark.statistics)
  428     for (const auto& benchmark : benchmarks) {
  542     for (auto const& benchmark : benchmarks) Out << benchmark.name << "\n";
utils/benchmark/src/benchmark_register.cc
  131   for (std::unique_ptr<Benchmark>& family : families_) {
  153     for (auto const& args : family->args_) {
  154       for (int num_threads : *thread_counts) {
  174         for (auto const& arg : args) {
  272   for (int64_t i : arglist) {
utils/benchmark/src/complexity.cc
  137     for (const auto& fit : fit_curves) {
  165   for (const Run& run : reports) {
utils/benchmark/src/console_reporter.cc
   73   for (const auto& run : reports) {
utils/benchmark/src/csv_reporter.cc
   50     for (const auto& run : reports) {
   58       Out << *B++;
   69     for (const auto& run : reports) {
   80   for (const auto& run : reports) {
utils/benchmark/src/json_reporter.cc
  140     PrintRunData(*it);
utils/benchmark/src/reporter.cc
   49     for (auto &CInfo : info.caches) {
utils/benchmark/src/statistics.cc
   48     return *center;
   51   return (*center + *center2) / 2.0;
   51   return (*center + *center2) / 2.0;
  112   for(Run const& r : reports) {
  126   for (Run const& run : reports) {
  151   for(const auto& Stat : *reports[0].statistics) {
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 2570         if (internal::ArrayAwareFind(expected_.begin(), expected_.end(), *it) ==
 2578           UniversalPrint(*it, os);
 2587                 lhs_stl_container.begin(), lhs_stl_container.end(), *it) ==
 2596           UniversalPrint(*it, os);
 2766         const InnerMatcherArg value_pair(*left, *right);
 2766         const InnerMatcherArg value_pair(*left, *right);
 2773             UniversalPrint(*left, listener->stream());
 2775             UniversalPrint(*right, listener->stream());
 2829       const bool matches = inner_matcher_.MatchAndExplain(*it, &inner_listener);
 3122       *std::declval<StlContainerConstIterator &>())>::type Element;
 3129       matchers_.push_back(MatcherCast<const Element&>(*first++));
 3190         match = matchers_[exam_pos].MatchAndExplain(*it, &s);
 3193         match = matchers_[exam_pos].Matches(*it);
 3364       *std::declval<StlContainerConstIterator &>())>::type Element;
 3371       matchers_.push_back(MatcherCast<const Element&>(*first));
 3427         element_printouts->push_back(PrintToString(*elem_first));
 3430         did_match.push_back(Matches(matchers_[irhs])(*elem_first));
 3438         matrix.SetEdge(ilhs, irhs, *did_match_iter++ != 0);
 3474         *std::declval<StlContainerConstIterator &>())>::type Element;
 3503         *std::declval<StlContainerConstIterator &>())>::type Element;
 4261         internal::MatcherBindSecond(tuple2_matcher, *it));
utils/unittest/googlemock/include/gmock/gmock-spec-builders.h
  904       delete static_cast<const Action<F>*>(*it);
 1567       delete static_cast<const OnCallSpec<F>*>(*it);
utils/unittest/googlemock/src/gmock-spec-builders.cc
  454       return Expectation(*it);
utils/unittest/googletest/include/gtest/gtest-printers.h
  389     internal::UniversalPrint(*it, os);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
  985     if (internal::ArrayEq(*it, elem))
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h
  335         value_.reset(new T(*iterator_));
  549       linked_ptr<TestInfo> test_info = *test_it;
  674       delete *it;
  687       if ((*it)->GetTestCaseName() == test_case_name) {
  688         if ((*it)->GetTestCaseTypeId() != GetTypeId<TestCase>()) {
  699               ParameterizedTestCaseInfo<TestCase> >(*it);
  714       (*it)->RegisterTests();
utils/unittest/googletest/include/gtest/internal/gtest-port.h
 2295   while (it != str.begin() && IsSpace(*--it))
utils/unittest/googletest/src/gtest-death-test.cc
  912       free(*i);
utils/unittest/googletest/src/gtest-internal-inl.h
  288     if (predicate(*it))
utils/unittest/googletest/src/gtest-typed-test.cc
   72     const std::string& name = *name_it;
utils/unittest/googletest/src/gtest.cc
 1232         while (it != edits.end() && *it == kMatch) ++it;
 3527     if (IsValidXmlCharacter(*it))
 3528       output.push_back(*it);
 4512     return *test_case;