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

References

examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
 1046   for (auto &Arg : F->args())
 1071   for (auto &Arg : TheFunction->args()) {
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
 1046   for (auto &Arg : F->args())
 1071   for (auto &Arg : TheFunction->args()) {
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp
 1045   for (auto &Arg : F->args())
 1070   for (auto &Arg : TheFunction->args()) {
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp
 1031   for (auto &Arg : F->args())
 1063   for (auto &Arg : TheFunction->args()) {
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp
 1055   for (auto &Arg : F->args())
 1087   for (auto &Arg : TheFunction->args()) {
examples/Kaleidoscope/Chapter3/toy.cpp
  477   for (auto &Arg : F->args())
  499   for (auto &Arg : TheFunction->args())
examples/Kaleidoscope/Chapter4/toy.cpp
  505   for (auto &Arg : F->args())
  526   for (auto &Arg : TheFunction->args())
examples/Kaleidoscope/Chapter5/toy.cpp
  779   for (auto &Arg : F->args())
  800   for (auto &Arg : TheFunction->args())
examples/Kaleidoscope/Chapter6/toy.cpp
  891   for (auto &Arg : F->args())
  916   for (auto &Arg : TheFunction->args())
examples/Kaleidoscope/Chapter7/toy.cpp
 1051   for (auto &Arg : F->args())
 1076   for (auto &Arg : TheFunction->args()) {
examples/Kaleidoscope/Chapter8/toy.cpp
 1050   for (auto &Arg : F->args())
 1075   for (auto &Arg : TheFunction->args()) {
examples/Kaleidoscope/Chapter9/toy.cpp
 1217   for (auto &Arg : F->args())
 1263   for (auto &Arg : TheFunction->args()) {
examples/Kaleidoscope/include/KaleidoscopeJIT.h
  106     for (auto H : make_range(ModuleKeys.rbegin(), ModuleKeys.rend()))
gen/lib/Target/AMDGPU/AMDGPUGenDAGISel.inc
79506   for (SDNode *Use : N->uses()) {
gen/tools/clang/include/clang/AST/AttrImpl.inc
  319   for (const auto &Val : tags()) {
  330   for (const auto &Val : tags()) {
  369   for (const auto &Val : args()) {
  380   for (const auto &Val : args()) {
  391   for (const auto &Val : args()) {
  402   for (const auto &Val : args()) {
  413   for (const auto &Val : args()) {
  424   for (const auto &Val : args()) {
  471   for (const auto &Val : args()) {
  508   for (const auto &Val : args()) {
 1383   for (const auto &Val : args()) {
 1394   for (const auto &Val : args()) {
 1405   for (const auto &Val : args()) {
 1416   for (const auto &Val : args()) {
 1459   for (const auto &Val : args()) {
 1496   for (const auto &Val : args()) {
 1989   for (const auto &Val : cpus()) {
 2000   for (const auto &Val : cpus()) {
 2011   for (const auto &Val : cpus()) {
 2022   for (const auto &Val : cpus()) {
 2065   for (const auto &Val : cpus()) {
 2076   for (const auto &Val : cpus()) {
 2087   for (const auto &Val : cpus()) {
 2098   for (const auto &Val : cpus()) {
 2402   for (const auto &Val : callableStates()) {
 2413   for (const auto &Val : callableStates()) {
 2452   for (const auto &Val : encoding()) {
 2463   for (const auto &Val : encoding()) {
 2474   for (const auto &Val : encoding()) {
 3454   for (const auto &Val : args()) {
 4482   for (const auto &Val : args()) {
 5934   for (const auto &Val : sanitizers()) {
 5945   for (const auto &Val : sanitizers()) {
 5956   for (const auto &Val : sanitizers()) {
 6231   for (const auto &Val : args()) {
 6242   for (const auto &Val : args()) {
 8263   for (const auto &Val : args()) {
 8274   for (const auto &Val : args()) {
 8285   for (const auto &Val : args()) {
 8296   for (const auto &Val : args()) {
 8307   for (const auto &Val : args()) {
 8318   for (const auto &Val : args()) {
 8329   for (const auto &Val : args()) {
 8340   for (const auto &Val : args()) {
 8351   for (const auto &Val : args()) {
 9105   for (const auto &Val : args()) {
 9116   for (const auto &Val : args()) {
 9127   for (const auto &Val : args()) {
 9138   for (const auto &Val : args()) {
 9149   for (const auto &Val : args()) {
 9160   for (const auto &Val : args()) {
 9171   for (const auto &Val : args()) {
 9182   for (const auto &Val : args()) {
 9293   for (const auto &Val : args()) {
 9304   for (const auto &Val : args()) {
 9315   for (const auto &Val : args()) {
 9326   for (const auto &Val : args()) {
 9337   for (const auto &Val : args()) {
 9348   for (const auto &Val : args()) {
 9359   for (const auto &Val : args()) {
 9370   for (const auto &Val : args()) {
 9793   for (const auto &Val : args()) {
 9920   for (const auto &Val : diagnosticIdentifiers()) {
10419   for (const auto &Val : args()) {
10430   for (const auto &Val : args()) {
10441   for (const auto &Val : args()) {
10452   for (const auto &Val : args()) {
gen/tools/clang/include/clang/AST/AttrTextNodeDump.inc
   42     for (const auto &Val : SA->tags())
  126     for (const auto &Val : SA->cpus())
  131     for (const auto &Val : SA->cpus())
  152     for (const auto &Val : SA->encoding())
  394     for (const auto &Val : SA->sanitizers())
  399     for (const auto &Val : SA->args())
  451     for (const auto &Val : SA->modifiers())
  502     for (const auto &Val : SA->implVendors())
  581     for (const auto &Val : SA->args())
  709     for (const auto &Val : SA->diagnosticIdentifiers())
gen/tools/clang/include/clang/AST/Attrs.inc
 7958       for (auto SanitizerName : sanitizers()) {
 8694         for (auto *E : uniforms()) {
 8702       for (auto *E : aligneds()) {
 8714       for (auto *E : linears()) {
 9085             for (StringRef VendorName : llvm::drop_begin(implVendors(), 1))
gen/tools/clang/include/clang/AST/StmtDataCollectors.inc
   97     for (const Decl *D : S->decls()) {
  121     for (const GenericSelectionExpr::ConstAssociation &Assoc : S->associations()) {
  149     for (const LambdaCapture &C : S->captures()) {
gen/tools/clang/include/clang/Serialization/AttrPCHWrite.inc
   69     for (auto &Val : SA->tags())
   78     for (auto &Val : SA->args())
   87     for (auto &Val : SA->args())
   96     for (auto &Val : SA->args())
  235     for (auto &Val : SA->args())
  244     for (auto &Val : SA->args())
  253     for (auto &Val : SA->args())
  340     for (auto &Val : SA->cpus())
  349     for (auto &Val : SA->cpus())
  417     for (auto &Val : SA->encoding())
  599     for (auto &Val : SA->args())
  768     for (auto &Val : SA->args())
 1003     for (auto &Val : SA->sanitizers())
 1048     for (auto &Val : SA->args())
 1084     for (auto &Val : SA->uniforms())
 1087     for (auto &Val : SA->aligneds())
 1090     for (auto &Val : SA->alignments())
 1093     for (auto &Val : SA->linears())
 1096     for (auto &Val : SA->modifiers())
 1099     for (auto &Val : SA->steps())
 1121     for (auto &Val : SA->implVendors())
 1389     for (auto &Val : SA->args())
 1531     for (auto &Val : SA->args())
 1553     for (auto &Val : SA->args())
 1626     for (auto &Val : SA->args())
 1646     for (auto &Val : SA->diagnosticIdentifiers())
 1729     for (auto &Val : SA->args())
include/llvm/ADT/STLExtras.h
  234                            map_iterator(C.end(), F))) {
  235   return make_range(map_iterator(C.begin(), F), map_iterator(C.end(), F));
 1151     -> decltype(std::distance(Range.begin(), Range.end())) {
 1152   return std::distance(Range.begin(), Range.end());
 1360   replace(Cont, ContIt, ContEnd, R.begin(), R.end());
include/llvm/ADT/SmallVector.h
  862     this->append(R.begin(), R.end());
include/llvm/ADT/StringExtras.h
  379   return join(R.begin(), R.end(), Separator);
include/llvm/ADT/iterator_range.h
   40       : begin_iterator(c.begin()), end_iterator(c.end()) {}
include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1216     for (const BlockNode &M : Loop.members())
 1272     for (const auto Succ : children<const BlockT *>(BB))
 1294   for (auto &L : analyzeIrreducible(G, OuterLoop, Insert))
include/llvm/Analysis/CFG.h
  160     for (NodeT Succ : make_range(GT::child_begin(Node), GT::child_end(Node))) {
include/llvm/Analysis/CGSCCPassManager.h
  593         for (Instruction &I : instructions(N.getFunction()))
  800       for (LazyCallGraph::SCC &C : llvm::reverse(*RC))
include/llvm/Analysis/DominanceFrontierImpl.h
  184       for (const auto Succ : children<BlockT *>(currentBB)) {
include/llvm/Analysis/IteratedDominanceFrontier.h
   73     return {Children.begin(), Children.end()};
   80   for (const auto &SnapShotBBPair : children<SnapShotBBPairTy>({GD, N}))
include/llvm/Analysis/LazyCallGraph.h
 1110       for (Value *Op : C->operand_values())
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))
 1128       for (Use &U : Inst->uses()) {
 1145       for (Use &U : Inst->operands()) {
include/llvm/Analysis/LoopInfoImpl.h
   37   for (const auto BB : blocks())
   38     for (const auto &Succ : children<BlockT *>(BB))
   65   for (const auto BB : blocks())
   66     for (const auto &Succ : children<BlockT *>(BB))
   91     for (BlockT *Predecessor : children<Inverse<BlockT *>>(EB))
  107   for (BlockT *BB : Filtered)
  108     for (BlockT *Successor : children<BlockT *>(BB))
  144   for (const auto BB : blocks())
  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)) {
  325       for (BlockT *CB : depth_first(EntryBB))
  464       for (const auto Pred : children<Inverse<BlockT *>>(PredBB)) {
  493   for (BlockT *BB : post_order(EntryBlock))
  541   for (auto DomNode : post_order(DomRoot)) {
  547     for (const auto Backedge : children<Inverse<BlockT *>>(Header)) {
  574   for (LoopT *RootL : reverse(*this)) {
include/llvm/Analysis/LoopIterator.h
   89         .end();
include/llvm/Analysis/RegionInfoImpl.h
  167   for (BlockT *Pred : make_range(InvBlockTraits::child_begin(entry),
  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 :
  410   for (RegionNodeT *Element : elements()) {
  468     for (BlockT *Pred : make_range(InvBlockTraits::child_begin(getExit()),
  480   for (BlockT *Pred : make_range(InvBlockTraits::child_begin(getExit()),
  504       for (const auto *BB : blocks())
  507       for (const RegionNodeT *Element : elements()) {
  553   for (const typename Tr::RegionNodeT *Element : R->elements()) {
  568   for (BlockT *P : make_range(InvBlockTraits::child_begin(BB),
  736   for (auto DomNode : post_order(N))
  859     for (BlockT *Pred : make_range(InvBlockTraits::child_begin(Exit),
include/llvm/Analysis/ScalarEvolutionExpressions.h
  595           for (const auto *Op : cast<SCEVNAryExpr>(S)->operands())
  700       for (auto *Op : Expr->operands()) {
  710       for (auto *Op : Expr->operands()) {
  727       for (auto *Op : Expr->operands()) {
  739       for (auto *Op : Expr->operands()) {
  749       for (auto *Op : Expr->operands()) {
  759       for (auto *Op : Expr->operands()) {
  769       for (auto *Op : Expr->operands()) {
  835       for (const SCEV *Op : Expr->operands())
include/llvm/Analysis/SparsePropagation.h
  480       for (User *U : V->users())
include/llvm/CodeGen/BasicTTIImpl.h
  350     for (auto CI : SI.cases()) {
  361       for (auto I : SI.cases())
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  453       for (auto &Use : MRI.use_instructions(MI.getOperand(0).getReg()))
include/llvm/CodeGen/MachineInstr.h
  507     return make_range(explicit_operands().end(), operands_end());
  510     return make_range(explicit_operands().end(), operands_end());
include/llvm/CodeGen/SelectionDAGNodes.h
  913       for (const SDValue &OpV : M->op_values()) {
include/llvm/ExecutionEngine/JITLink/JITLink.h
  581     for (auto *Sym : Sec.symbols()) {
  678       assert(SymI != SecI->symbols().end() && "Dereferencing end?");
  690       while (SecI != SecE && SymI == SecI->symbols().end()) {
  808     for (auto &S : sections())
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  454     for (auto &GV : SrcM.globals())
  459     for (auto &A : SrcM.aliases())
  500     for (auto &GV : SrcM.globals())
  505     for (auto &A : SrcM.aliases()) {
include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
  174       for (const auto &GO : M->global_objects())
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
  291       for (auto &Symbol : Obj.getBinary()->symbols()) {
include/llvm/FuzzMutate/Random.h
   54     for (auto &I : Items)
include/llvm/IR/CFGDiff.h
  190         {InsertVec.begin(), N.first}, {InsertVec.end(), N.first});
  205         {InsertVec.end(), N.first}, {InsertVec.end(), N.first});
  205         {InsertVec.end(), N.first}, {InsertVec.end(), N.first});
  244         {InsertVec.begin(), N.first}, {InsertVec.end(), N.first});
  259         {InsertVec.end(), N.first}, {InsertVec.end(), N.first});
  259         {InsertVec.end(), N.first}, {InsertVec.end(), N.first});
include/llvm/IR/InstrTypes.h
 1879     for (auto &BOI : bundle_op_infos()) {
 2090     for (auto &BOI : bundle_op_infos())
include/llvm/IR/Instructions.h
 3416     for (auto Case : cases()) {
include/llvm/IR/Module.h
  673   global_object_iterator global_object_end() { return global_objects().end(); }
  679     return global_objects().end();
  698   global_value_iterator global_value_end() { return global_values().end(); }
  704     return global_values().end();
include/llvm/IR/Statepoint.h
  263     for (auto *U : getInstruction()->users())
  414   for (const User *U : StatepointCall->users())
  426   for (const User *LandingPadUser : LandingPad->users()) {
include/llvm/IR/User.h
  295     for (Use &U : operands())
include/llvm/ObjectYAML/MinidumpYAML.h
  139         Infos(Range.begin(), Range.end()) {}
include/llvm/Option/ArgList.h
  252     for (Arg *A : filtered(Ids...)) {
  263     for (Arg *A : filtered_reverse(Ids...))
include/llvm/ProfileData/InstrProf.h
  531   for (auto Name : IterRange)
include/llvm/Support/DJB.h
   22   for (unsigned char C : Buffer.bytes())
include/llvm/Support/FormatProviders.h
  404     auto End = V.end();
include/llvm/Support/GenericDomTree.h
  781     for (const auto &Pred : children<Inverse<N>>(NewBB))
  787     for (const auto &Pred : children<Inverse<N>>(NewBBSucc)) {
include/llvm/Support/GenericDomTreeConstruction.h
  114       return ResultTy(RChildren.begin(), RChildren.end());
  119       return ResultTy(IChildren.begin(), IChildren.end());
  409     for (const NodePtr N : nodes(DT.Parent)) {
  441       for (const NodePtr I : nodes(DT.Parent)) {
include/llvm/Support/GraphWriter.h
  156     for (const auto Node : nodes<GraphType>(G))
include/llvm/Transforms/InstCombine/InstCombineWorklist.h
   62     for (Instruction *I : reverse(List)) {
   90     for (User *U : I.users())
include/llvm/Transforms/Scalar/LoopPassManager.h
  121   for (Loop *RootL : reverse(Loops)) {
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
  390     for (auto &SomePHI : BB->phis()) {
lib/Analysis/AliasAnalysisEvaluator.cpp
  103   for (auto &I : F.args())
  121       for (Use &DataOp : Call->data_ops())
lib/Analysis/AliasSetTracker.cpp
  546   for (const BasicBlock *BB : L->blocks())
lib/Analysis/BasicAliasAnalysis.cpp
  698       for (Value *IncValue : PN->incoming_values())
 1669     for (Value *PV1 : PN->incoming_values()) {
lib/Analysis/BlockFrequencyInfoImpl.cpp
  696     for (const auto *P : make_range(Irr.pred_begin(), Irr.pred_end())) {
  723     for (const auto *P : make_range(Irr.pred_begin(), Irr.pred_end())) {
lib/Analysis/BranchProbabilityInfo.cpp
  164   for (auto *I : successors(BB))
  531     for (BasicBlock *B : P->blocks()) {
  551       for (Instruction *I : llvm::reverse(InstChain)) {
  980   for (auto BB : post_order(&F.getEntryBlock())) {
lib/Analysis/CFLAndersAliasAnalysis.cpp
  371   for (const auto &Mapping : AMap.mappings()) {
  385   for (const auto &OuterMapping : ReachSet.value_mappings()) {
  409   for (const auto &Arg : Fn.args()) {
  431   for (const auto &OuterMapping : ReachSet.value_mappings()) {
  491   for (const auto &Mapping : AMap.mappings()) {
  568       for (const auto &OVal : make_range(RangePair)) {
  608   for (const auto &Mapping : Graph.value_mappings()) {
  659     for (const auto &Mapping : ReachSet.reachableValueAliases(*FromNodeBelow)) {
  741   for (const auto &Mapping : Graph.value_mappings()) {
  758       for (const auto &Mapping : ReachSet.reachableValueAliases(Dst)) {
lib/Analysis/CFLGraph.h
  312       for (Value *Val : Inst.incoming_values())
  419       for (Value *V : Call.args())
  445         for (Value *V : Call.args()) {
  641     for (auto &Arg : Fn.args())
lib/Analysis/CFLSteensAliasAnalysis.cpp
  173   for (auto &Param : Fn.args()) {
  190   for (const auto &Mapping : Graph.value_mappings()) {
  210   for (const auto &Mapping : Graph.value_mappings()) {
lib/Analysis/CGSCCPassManager.cpp
  165   for (auto &RC : G->postorder_ref_sccs())
  371   if (NewSCCRange.begin() == NewSCCRange.end())
  408   for (SCC &NewC : llvm::reverse(make_range(std::next(NewSCCRange.begin()),
  409                                             NewSCCRange.end()))) {
  450   for (Instruction &I : instructions(F))
  472   for (Instruction &I : instructions(F))
  473     for (Value *Op : I.operand_values())
  565     for (RefSCC *NewRC : llvm::reverse(make_range(std::next(NewRefSCCs.begin()),
  688       for (SCC &MovedC : llvm::reverse(make_range(RC->begin() + InitialSCCIndex,
lib/Analysis/CaptureTracking.cpp
  235     for (const Use &U : V->uses()) {
lib/Analysis/CodeMetrics.cpp
   35   for (const Value *Operand : U->operands())
lib/Analysis/ConstantFolding.cpp
  664         for (unsigned char C : reverse(Str.bytes())) {
  669         for (unsigned char C : Str.bytes()) {
 1083   for (const Use &NewU : C->operands()) {
 1125     for (Value *Incoming : PN->incoming_values()) {
 1157   for (const Use &OpU : I->operands()) {
 1663     for (const Value *subc : c->operand_values()) {
lib/Analysis/DDG.cpp
  149   for (BasicBlock *BB : L.blocks())
lib/Analysis/DemandedBits.cpp
  319   for (Instruction &I : instructions(F)) {
  337     for (Use &OI : I.operands()) {
  376     for (Use &OI : UserI->operands()) {
lib/Analysis/DependenceAnalysis.cpp
 3072   for (unsigned LI : Loops.set_bits()) {
 3371   for (unsigned VI : BV.set_bits()) {
 3596   for (unsigned SI : Separable.set_bits()) {
 3635     for (unsigned SI : Coupled.set_bits()) {
 3642       for (unsigned SJ : Group.set_bits()) {
 3654         for (unsigned SJ : Sivs.set_bits()) {
 3678           for (unsigned SJ : Mivs.set_bits()) {
 3712       for (unsigned SJ : Mivs.set_bits()) {
 3725       for (unsigned SJ : Mivs.set_bits()) {
 3737       for (unsigned SJ : ConstrainedLevels.set_bits()) {
 3924   for (unsigned SI : Separable.set_bits()) {
 3951     for (unsigned SI : Coupled.set_bits()) {
 3956       for (unsigned SJ : Group.set_bits()) {
 3964         for (unsigned SJ : Sivs.set_bits()) {
 3979           for (unsigned SJ : Mivs.set_bits()) {
lib/Analysis/DependenceGraphBuilder.cpp
   71     for (auto I : depth_first_ext(N, Visited))
   88       for (User *U : II->users()) {
lib/Analysis/DivergenceAnalysis.cpp
  129   for (const auto &Op : I.operands()) {
  218       for (auto &Phi : UserBlock->phis()) {
  231       for (auto &Op : I.operands()) {
  244     for (auto *SuccBlock : successors(UserBlock)) {
  254   for (const auto &Phi : Block.phis()) {
  262   for (const auto *User : V.users()) {
  425   for (auto &I : instructions(F)) {
  438   for (auto &I : instructions(F)) {
  445   for (auto &Arg : F.args()) {
lib/Analysis/EHPersonalities.cpp
  131     for (BasicBlock *Succ : successors(Visiting))
lib/Analysis/GlobalsModRef.cpp
  300   for (GlobalVariable &GV : M.globals())
  350   for (Use &U : V->uses()) {
  415   for (User *U : GV->users()) {
  573       for (Instruction &I : instructions(Node->getFunction())) {
  669       for (const Value *Op : PN->incoming_values()) {
  786       for (const Value *Op : PN->incoming_values()) {
  900   for (auto &A : Call->args()) {
lib/Analysis/IVDescriptors.cpp
  183     for (Value *O : cast<User>(Val)->operands())
  339     for (User *U : Cur->users()) {
  714   for (User *U : Phi->users())
lib/Analysis/IVUsers.cpp
   79     for (const auto *Op : Add->operands())
  206   for (Use &U : I->uses()) {
  402     for (const auto *Op : Add->operands())
lib/Analysis/InlineCost.cpp
  616   for (Value *Op : I.operands()) {
 1214   for (Value *I : Call.args()) {
 1705   for (BasicBlock *Succ : successors(CurrBB)) {
 1714         for (BasicBlock *S : successors(Dead))
 1777   for (User *U : Caller->users()) {
 1848       for (User *U : BlockAddress::get(&*BB)->users())
 2101       for (User *U : BlockAddress::get(&*BI)->users())
lib/Analysis/InstructionSimplify.cpp
  506   for (Value *Incoming : PI->incoming_values()) {
  546   for (Value *Incoming : PI->incoming_values()) {
 4249   for (Value *Incoming : PN->incoming_values()) {
 5225   for (auto &Arg : Call->args()) {
 5427     for (User *U : I->users())
 5460     for (User *U : I->users())
lib/Analysis/LazyCallGraph.cpp
  111       for (Value *Op : I.operand_values())
  178   for (auto &A : M.aliases()) {
  192   for (GlobalVariable &GV : M.globals())
  255     for (Edge &E : N->calls())
  277       for (Edge &E : N->calls()) {
  575         for (Edge &E : N->calls())
  582     for (SCC *C :
  631     MergeCB(makeArrayRef(MergeRange.begin(), MergeRange.end()));
  653   for (SCC *C : MergeRange) {
  666   int IndexOffset = MergeRange.end() - MergeRange.begin();
  667   auto EraseEnd = SCCs.erase(MergeRange.begin(), MergeRange.end());
  668   for (SCC *C : make_range(EraseEnd, SCCs.end()))
  813             for (Node &N : make_range(OldSCC.begin() + OldSize, OldSCC.end())) {
  867       PendingSCCStack.erase(SCCNodes.end().base(), PendingSCCStack.end());
 1007     for (RefSCC *C : make_range(G->PostOrderRefSCCs.begin() + SourceIdx + 1,
 1048   SmallPtrSet<RefSCC *, 16> MergeSet(MergeRange.begin(), MergeRange.end());
 1057   for (RefSCC *RC : MergeRange) {
 1089   for (RefSCC *RC : MergeRange)
 1091   int IndexOffset = MergeRange.end() - MergeRange.begin();
 1093       G->PostOrderRefSCCs.erase(MergeRange.begin(), MergeRange.end());
 1094   for (RefSCC *RC : make_range(EraseEnd, G->PostOrderRefSCCs.end()))
 1291         for (Node *N : RefSCCNodes)
 1327   for (int i : seq<int>(Idx, G->PostOrderRefSCCs.size()))
 1581   for (Node *RootN : Roots) {
 1656       PendingSCCStack.erase(SCCNodes.end().base(), PendingSCCStack.end());
 1670   for (Node *N : Nodes) {
 1781   for (LazyCallGraph::RefSCC &C : G.postorder_ref_sccs())
lib/Analysis/LazyValueInfo.cpp
  846   for (Instruction &I : make_range(std::next(BBI->getIterator().getReverse()),
 1471     for (auto Case : SI->cases()) {
 1987   for (auto &Arg : F->args()) {
 2023   for (auto *BBSucc : successors(ParentBB))
 2028   for (auto *U : I->users())
lib/Analysis/LegacyDivergenceAnalysis.cpp
  130   for (auto &I : instructions(F)) {
  136   for (auto &Arg : F.args()) {
  217   for (Use &Use : I.uses()) {
  233   for (BasicBlock *Succ : successors(ThisBB)) {
  259   for (User *U : V->users()) {
  390   for (auto &Arg : F->args()) {
  398     for (auto &I : BB.instructionsWithoutDebug()) {
lib/Analysis/Lint.cpp
  304       for (Value *Arg : CS.args()) {
lib/Analysis/LoopAccessAnalysis.cpp
  963   for (Value *Index : make_range(GEP->idx_begin(), GEP->idx_end()))
 1813   for (BasicBlock *BB : TheLoop->blocks()) {
 2413     for (Loop *L : depth_first(TopLevelLoop)) {
lib/Analysis/LoopAnalysisManager.cpp
   93   for (Loop *L : reverse(PreOrderLoops)) {
lib/Analysis/LoopCacheAnalysis.cpp
  159   for (auto SubNum : seq<unsigned>(0, NumSubscripts - 1)) {
  478   for (Loop *L : breadth_first(&Root))
lib/Analysis/LoopInfo.cpp
  100   for (Value *Operand : I->operands())
  303   for (PHINode &IndVar : Header->phis()) {
  344   for (User *U : AuxIndVar.users())
  430     for (const Use &U : I.uses()) {
  476   for (BasicBlock *BB : this->blocks()) {
  547     for (const MDOperand &MD : drop_begin(ParallelAccesses->operands(), 1)) {
  560   for (BasicBlock *BB : this->blocks()) {
  572           for (const MDOperand &AccessListItem : AG->operands()) {
  597       for (const MDOperand &MDOp : LoopIdMD->operands()) {
  958   for (auto *Block : L.blocks())
lib/Analysis/LoopPass.cpp
   51     if (BBI != L->blocks().end() &&
  130   for (Loop *I : reverse(*L))
  182   for (Loop *L : reverse(*LI))
lib/Analysis/MemDepPrinter.cpp
   97   for (auto &I : instructions(F)) {
  134   for (const auto &I : instructions(*F)) {
lib/Analysis/MemDerefPrinter.cpp
   53   for (auto &I: instructions(F)) {
lib/Analysis/MemoryDependenceAnalysis.cpp
  394     for (const Use &Us : Ptr->uses()) {
 1457     for (NonLocalDepEntry &I : llvm::reverse(*Cache)) {
lib/Analysis/MemorySSA.cpp
  207     for (const Value *Arg : MLOC.getCall()->args())
  424     for (const auto *MA : def_chain(MAP.first)) {
  568     for (MemoryAccess *Current : def_chain(Desc.Last)) {
  599     for (const MemoryAccessPair &P : UpwardDefs) {
  874           for (auto *MA : def_chain(const_cast<MemoryAccess *>(Target)))
 1089   for (const BasicBlock *S : successors(BB)) {
 1195   for (const BasicBlock *S : successors(BB)) {
 1486   for (const auto *DomNode : depth_first(DT->getRootNode()))
 1798   for (const Use &Arg : MP->operands()) {
 2032       for (const Use &U : MP->uses())
 2040       for (const Use &U : MD->uses())
 2203   for (const auto &Op : operands()) {
lib/Analysis/MemorySSAUpdater.cpp
   80     for (auto *Pred : predecessors(BB)) {
  123         for (auto *Pred : predecessors(BB))
  166       for (auto &U : make_range(++MA->getReverseIterator(), End))
  221   for (auto &Op : Operands) {
  395       for (auto *Pred : predecessors(BBIDF)) {
  476     for (const auto *S : successors(NewDef->getBlock())) {
  505       for (const auto *S : successors(FixupBlock)) {
  752     for (const ValueToValueMapTy *VMap : make_range(ValuesBegin, ValuesEnd))
  833       for (auto &Pair : children<GraphDiffInvBBPair>({GD, BB})) {
  927     for (auto &Pair : children<GraphDiffInvBBPair>({GD, BB})) {
 1079         for (auto &Pair : children<GraphDiffInvBBPair>({GD, BBIDF})) {
 1129   for (auto *U : What->users())
 1175   for (Instruction &I : make_range(Start->getIterator(), To->end()))
 1207   for (BasicBlock *Succ : successors(To))
 1217   for (BasicBlock *Succ : successors(From))
 1227   for (auto &Arg : MP->operands()) {
 1345     for (BasicBlock *Succ : successors(TI))
 1387   for (const BasicBlock *Successor : successors(BB)) {
 1402   for (const BasicBlock *Succ : successors(BB)) {
lib/Analysis/ModuleDebugInfoPrinter.cpp
   73   for (DICompileUnit *CU : Finder.compile_units()) {
   84   for (DISubprogram *S : Finder.subprograms()) {
   92   for (auto GVU : Finder.global_variables()) {
  101   for (const DIType *T : Finder.types()) {
lib/Analysis/ModuleSummaryAnalysis.cpp
  103     for (const auto &OI : U->operands()) {
  147   for (auto &Arg : make_range(Call.CS.arg_begin() + 1, Call.CS.arg_end())) {
  376           for (auto &Op : MD->operands()) {
  756   for (const GlobalVariable &G : M.globals()) {
  764   for (const GlobalAlias &A : M.aliases())
lib/Analysis/MustExecute.cpp
   82   for (auto &BB : CurLoop->blocks())
  165   for (auto *Pred : predecessors(BB)) {
  181     for (auto *PredPred : predecessors(Pred))
  218     for (auto *Succ : successors(Pred))
  358     for (Instruction &I : instructions(F)) {
  360       for (const Instruction *CI : Explorer.range(&I))
  388     for (auto &I: instructions(F)) {
  401     for (auto &I: instructions(F)) {
lib/Analysis/PHITransAddr.cpp
  203     for (User *U : PHIIn->users()) {
  239     for (User *U : APHIOp->users()) {
  291     for (User *U : LHS->users()) {
lib/Analysis/PhiValues.cpp
   59   for (Value *PhiOp : Phi->incoming_values()) {
   88       for (Value *Op : ComponentPhi->incoming_values()) {
  153     for (const PHINode &PN : BB.phis()) {
  186     for (const PHINode &PN : BB.phis())
lib/Analysis/PtrUseVisitor.cpp
   22   for (Use &U : I.uses()) {
lib/Analysis/RegionPass.cpp
  197     for (const auto *BB : R->blocks()) {
lib/Analysis/RegionPrinter.cpp
  124     for (auto *BB : R.blocks())
lib/Analysis/ScalarEvolution.cpp
  635     for (unsigned Idx : seq(0u, LNumOps)) {
  917       for (const SCEV *Op : T->operands()) {
  993     for (const SCEV *Op : Numerator->operands()) {
 1020     for (const SCEV *Op : Numerator->operands()) {
 1327     for (const SCEV *Op : AddRec->operands())
 1455   for (const SCEV *Op : SA->operands())
 1868       for (const auto *Op : SA->operands())
 1901       for (const auto *Op : SM->operands())
 2000       for (const auto *Op : SA->operands())
 2231     for (const SCEV *Op : AR->operands())
 2975           for (const SCEV *AddOp : Add->operands()) {
 2986           for (const SCEV *AddRecOp : AddRec->operands())
 3224             for (const SCEV *Op : AR->operands())
 3247         for (const SCEV *Op : M->operands())
 3280         for (const SCEV *Op : A->operands())
 3983       for (const SCEV *Operand : MME->operands()) {
 4167     for (const SCEV *NAryOp : NAry->operands()) {
 4187   for (User *U : I->users())
 5733         for (auto &Op : Phi->operands()) {
 6083     for (auto *PoisonUser : Poison->users()) {
 6641   for (PHINode &PN : Header->phis())
 6747       for (auto *U : I->users())
 7155     for (auto *SBB : successors(ExitingBlock))
 7752   for (Value *Op : UseInst->operands()) {
 7895   for (PHINode &PHI : Header->phis()) {
 7974   for (PHINode &PHI : Header->phis()) {
 8036   for (auto &LS : reverse(ValuesAtScopes[V]))
 8218         for (Value *Op : I->operands()) {
10072     for (const BasicBlock *IncBB : predecessors(LBB)) {
10102     for (const BasicBlock *IncBB : predecessors(LBB)) {
10989       for (auto Op : Mul->operands()) {
11063       for (const SCEV *Op : M->operands())
11123     for (const SCEV *Op : M->operands())
11567   for (Instruction &I : instructions(F))
11616         for (auto *InnerL : depth_first(L)) {
11653   for (auto &V : make_range(Values2.rbegin(), Values2.rend())) {
11694     for (auto *Op : AR->operands())
11708     for (auto *Op : cast<SCEVNAryExpr>(S)->operands()) {
11760   for (auto &V : make_range(Values2.rbegin(), Values2.rend())) {
11798     for (const SCEV *NAryOp : NAry->operands()) {
lib/Analysis/ScalarEvolutionExpander.cpp
   54   for (User *U : V->users())
  637     for (const SCEV *Op : N->operands())
 1181     for (PHINode &PN : L->getHeader()->phis()) {
 1954   for (PHINode &PN : L->getHeader()->phis())
 2202     for (auto *Op : NAry->operands())
 2446       for (const Value *V : InsertionPoint->operand_values())
lib/Analysis/ScopedNoAliasAA.cpp
  134   for (const MDOperand &MDOp : List->operands())
  147   for (const MDOperand &MDOp : NoAlias->operands())
lib/Analysis/StackSafetyAnalysis.cpp
  289     for (const Use &UI : V->uses()) {
  373   for (auto &I : instructions(F)) {
  382   for (const Argument &A : make_range(F.arg_begin(), F.arg_end())) {
  434   for (auto &F : M.functions())
  437   for (auto &A : M.aliases())
  551   for (auto &F : M.functions())
  557   for (auto &A : M.aliases()) {
lib/Analysis/SyncDependenceAnalysis.cpp
  227     for (const auto *SuccBlock : NodeSuccessors) {
  285         for (const auto *SuccBlock : successors(Block)) {
lib/Analysis/SyntheticCountsUtils.cpp
   39     for (auto &E : children_edges<CallGraphType>(Node)) {
   99   for (auto &SCC : reverse(SCCs))
lib/Analysis/TargetTransformInfo.cpp
   97     for (BasicBlock *Pred : predecessors(L->getHeader())) {
lib/Analysis/TypeMetadataUtils.cpp
   27   for (const Use &U : FPtr->uses()) {
   54   for (const Use &U : VPtr->uses()) {
   82   for (const Use &CIU : CI->uses()) {
  111   for (const Use &U : CI->uses()) {
lib/Analysis/ValueTracking.cpp
  214   for (const User *U : CxtI->users()) {
 1439       for (Value *IncValue : P->incoming_values()) {
 1912   for (auto *U : V->users()) {
 1922         for (const Argument &Arg : CalledFunc->args())
 1936     for (auto *CmpU : U->users()) {
 1951               for (auto *BOU : BO->users())
 3605     for (Value *IncValue : PN->incoming_values()) {
 3796         for (Value *IncValue : PN->incoming_values())
 3872   for (const User *U : V->users()) {
 4180   for (const User *U : WO->users()) {
 4189         for (const auto *U : EVI->users())
 4214       for (auto &RU : Result->uses())
 4410     for (auto &I : make_range(Begin, End)) {
 4420         for (const User *User : I.users()) {
lib/Analysis/VectorUtils.cpp
  171   for (User *U : Ptr->users()) {
  457     for (Value *O : cast<User>(I)->operands()) {
  467     for (auto *U : I.first->users())
  519   for (auto &AccGroupListOp : AccGroups->operands()) {
  576     for (const MDOperand &Node : MD1->operands()) {
  816   for (BasicBlock *BB : make_range(DFS.beginRPO(), DFS.endRPO()))
lib/AsmParser/LLParser.cpp
 2834   for (Argument &A : F.args())
 7329   for (const Use &U : V->uses()) {
lib/Bitcode/Reader/BitcodeReader.cpp
  166     for (auto &I : instructions(F))
 2881       for (const Use &U : V->materialized_uses()) {
 2927     for (const MDOperand &MDOptions : cast<MDNode>(Val)->operands())
 2982   for (GlobalVariable &GV : TheModule->globals())
 3709   for (Argument &I : F->args()) {
 5273     for (auto &I : instructions(F)) {
 5319     for (auto *U : I.first->users()) {
lib/Bitcode/Reader/MetadataLoader.cpp
  354   for (Metadata *MD : Tuple->operands())
  487         for (auto &Op : SPs->operands())
  513     for (auto &GV : TheModule.globals()) {
lib/Bitcode/Writer/BitcodeWriter.cpp
 1169   for (const GlobalValue &GV : M.globals()) {
 1261   for (const GlobalVariable &GV : M.globals()) {
 1345   for (const GlobalAlias &A : M.aliases()) {
 1369   for (const GlobalIFunc &I : M.ifuncs()) {
 1500   for (auto &I : N->operands())
 1775   for (auto &I : N->operands())
 1939   for (const NamedMDNode &NMD : M.named_metadata()) {
 1947     for (const MDNode *N : NMD.operands())
 2126   for (const GlobalVariable &GV : M.globals())
 2424       for (const Value *Op : C->operands())
 2740       for (auto Case : SI.cases()) {
 2824     for (const BasicBlock *CatchPadBB : CatchSwitch.handlers())
 3854   for (const GlobalVariable &G : M.globals())
 3858   for (const GlobalAlias &A : M.aliases()) {
 4570   for (const GlobalVariable &GV : M.globals()) {
 4598   for (const GlobalAlias &A : M.aliases()) {
 4612   for (const GlobalIFunc &I : M.ifuncs()) {
lib/Bitcode/Writer/ValueEnumerator.cpp
   93       for (const Value *Op : C->operands())
  112   for (const GlobalVariable &G : M.globals())
  116   for (const GlobalAlias &A : M.aliases())
  119   for (const GlobalIFunc &I : M.ifuncs())
  123     for (const Use &U : F.operands())
  139   for (const GlobalAlias &A : M.aliases())
  141   for (const GlobalIFunc &I : M.ifuncs())
  143   for (const GlobalVariable &G : M.globals())
  155     for (const Argument &A : F.args())
  159         for (const Value *Op : I.operands())
  176   for (const Use &U : V->uses())
  255       for (const Value *Op : C->operands())
  279     for (const Argument &A : F.args())
  283         for (const Value *Op : I.operands())
  293   for (const GlobalVariable &G : M.globals())
  297   for (const GlobalAlias &A : M.aliases())
  299   for (const GlobalIFunc &I : M.ifuncs())
  301   for (const GlobalVariable &G : M.globals())
  304   for (const GlobalAlias &A : M.aliases())
  306   for (const GlobalIFunc &I : M.ifuncs())
  309     for (const Use &U : F.operands())
  327   for (const GlobalVariable &GV : M.globals())
  337   for (const GlobalAlias &GA : M.aliases())
  341   for (const GlobalIFunc &GIF : M.ifuncs())
  348   for (const GlobalVariable &GV : M.globals()) {
  356   for (const GlobalAlias &GA : M.aliases())
  360   for (const GlobalIFunc &GIF : M.ifuncs())
  365     for (const Use &U : F.operands())
  380   for (const GlobalVariable &GV : M.globals()) {
  392     for (const Argument &A : F.args())
  403         for (const Use &Op : I.operands()) {
  429           for (const Metadata *Op : L->operands())
  490     for (const Use &U : V->uses()) {
  557   for (const auto &I : M.named_metadata())
  600     for (const Metadata *Op : Worklist.pop_back_val()->operands()) {
  908   for (const Value *Op : C->operands()) {
  952   for (const auto &I : F.args()) {
  962       for (const Use &OI : I.operands()) {
  983       for (const Use &OI : I.operands()) {
lib/CodeGen/AggressiveAntiDepBreaker.cpp
  143                    : CriticalPathSet.set_bits()) dbgs()
  163     for (const auto &LI : (*SI)->liveins()) {
  532   for (const auto &Q : make_range(State->GetRegRefs().equal_range(Reg))) {
  590         for (unsigned r : BV.set_bits())
  704       for (const auto &Q : make_range(RegRefs.equal_range(Reg))) {
  719       for (const auto &Q : make_range(RegRefs.equal_range(Reg))) {
  975             for (const auto &Q : make_range(RegRefs.equal_range(CurrReg))) {
lib/CodeGen/Analysis.cpp
  721     for (const MachineBasicBlock *Succ : Visiting->successors())
lib/CodeGen/AntiDepBreaker.h
   72     for (const auto &DV : make_range(DbgValues.crbegin(), DbgValues.crend())) {
lib/CodeGen/AsmPrinter/ARMException.cpp
  109   for (const GlobalValue *GV : reverse(TypeInfos)) {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  846     for (auto Op : Expr->expr_ops()) {
 1231   for (auto *CU : C->users())
 1254   for (auto *U : GV->users())
 1271   for (const auto &G : M.globals()) {
 1396   for (const auto &G : M.globals())
 1486     for (const auto &GO : M.global_objects()) {
 1501   for (const auto &Alias : M.aliases()) {
 1508     for (const GlobalAlias *AncestorAlias : llvm::reverse(AliasStack))
 1512   for (const auto &IFunc : M.ifuncs())
 1566     for (const GlobalValue &GV : M.global_values()) {
 1584         for (const Value *Op : A->operands()) {
 1609     for (const GlobalValue &GV : M.global_values())
 1619     for (const GlobalValue &GV : M.global_values()) {
 2004   for (Value *O : InitList->operands()) {
 3034   for (const auto &MI : Pred->terminators()) {
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  262   for (const auto &V : Die.values()) {
  279     for (auto &Child : Die.children())
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  323   for (StringRef QualifiedNameComponent :
 1092       for (Metadata *MD : Strs->operands()) {
 2983   for (const GlobalVariable &GV : MMI->getModule()->globals()) {
 2991   for (const MDNode *Node : CUs->operands()) {
 3058   for (const MDNode *Node : CUs->operands()) {
lib/CodeGen/AsmPrinter/DIE.cpp
  188   for (const DIEValue &V : values())
  224   for (const auto &V : values())
  237   for (const auto &V : Values.values()) {
  256   for (const auto &V : values()) {
  265   for (const auto &Child : children())
  291   for (const auto &V : values())
  299     for (auto &Child : children())
  703     for (const auto &V : values())
  723   for (const auto &V : values())
  754     for (const auto &V : values())
  774   for (const auto &V : values())
lib/CodeGen/AsmPrinter/DIEHash.cpp
   35   for (const auto &V : Die.values())
  119   for (const auto &V : Die.values()) {
  218   for (const auto &V : Values)
  361   for (auto &C : Die.children()) {
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  270       for (const MachineOperand &MO : MI.operands()) {
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  729   for (auto Var : reverse(Input)) {
 1306   for (auto &Btr : reverse(ExprRefedBaseTypes)) {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  589     for (const MachineOperand &MO : MI.operands()) {
  709     for (const MachineInstr &MI : MBB.instrs()) {
  947   for (const GlobalVariable &Global : M->globals()) {
  978   for (DICompileUnit *CUNode : M->debug_compile_units()) {
 1156   for (auto *CUNode : MMI->getModule()->debug_compile_units())
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  753   for (const DIScope *Ctx : make_range(Parents.rbegin(), Parents.rend())) {
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  628   for (const GlobalValue *GV : make_range(TypeInfos.rbegin(),
lib/CodeGen/AsmPrinter/WinException.cpp
  601   for (const auto &StateChange :
  921     for (const auto &StateChange : InvokeStateChangeIterator::range(
 1178     for (const auto &StateChange :
lib/CodeGen/AtomicExpandPass.cpp
 1282   for (auto User : CI->users()) {
lib/CodeGen/BranchFolding.cpp
  232       for (const MachineOperand &Op : I.operands()) {
  433     for (MachineBasicBlock::RegisterMaskPair P : NewDest.liveins()) {
  933     for (MachineBasicBlock *Pred : MBB->predecessors()) {
 1146     for (MachineBasicBlock *PBB : I->predecessors()) {
 1347   for (MachineInstr &MI : MBB.instrs())
 1359   for (MachineInstr &MI : MBB.instrs())
 1379   for (MachineBasicBlock *SuccBB : MBB.successors())
 1385   for (MachineBasicBlock *PredBB : MBB.predecessors())
 1748       for (MachineBasicBlock *PredBB : MBB->predecessors()) {
 1780       for (MachineBasicBlock *SuccBB : MBB->successors()) {
 1845   for (MachineBasicBlock *SuccBB : BB->successors())
 1879   for (const MachineOperand &MO : Loc->operands()) {
 1914   for (const MachineOperand &MO : PI->operands()) {
 1945   for (const MachineOperand &MO : PI->operands()) {
 2013     for (MachineOperand &MO : TIB->operands()) {
 2068     for (const MachineOperand &MO : TIB->operands()) {
 2086     for (const MachineOperand &MO : TIB->operands()) {
lib/CodeGen/BranchRelaxation.cpp
  197   for (auto &MBB : make_range(MachineFunction::iterator(Start), MF->end())) {
  459     for (const MachineBasicBlock *Succ : MBB->successors()) {
  460       for (const MachineBasicBlock::RegisterMaskPair &LiveIn : Succ->liveins())
lib/CodeGen/BreakFalseDeps.cpp
  130   for (MachineOperand &CurrMO : MI->operands()) {
  232   for (MachineInstr &I : make_range(MBB->rbegin(), MBB->rend())) {
lib/CodeGen/CFGuardLongjmp.cpp
   82       for (MachineOperand &MO : MI.operands()) {
lib/CodeGen/CFIInstrInserter.cpp
  234     for (auto *Succ : CurrentInfo.MBB->successors()) {
  312   for (auto *CurrMBB : depth_first(&MF)) {
  314     for (MachineBasicBlock *Succ : CurrMBB->successors()) {
lib/CodeGen/CodeGenPrepare.cpp
  568   for (auto &Block : llvm::make_range(std::next(F.begin()), F.end()))
  645   for (auto &Block : llvm::make_range(std::next(F.begin()), F.end()))
  759   for (const PHINode &PN : BB->phis()) {
  760     for (const User *U : PN.users()) {
  799       for (const PHINode &PN : DestBB->phis()) {
  843   for (PHINode &PN : DestBB->phis()) {
 1047   for (auto *U : I.users())
 1247   for (User *U : A->users()) {
 1315   for (User *U : CmpVariableOperand->users()) {
 1450   for (auto *U : AndI->users()) {
 1798     for (auto &Arg : CI->arg_operands()) {
 1846     for (auto &Arg : CI->arg_operands()) {
 2532       for (Use &U : Inst->uses()) {
 3010           for (auto *U : PI->users())
 3298       for (auto B : Item.first->blocks()) {
 3350       for (auto &P : PHI->getParent()->phis()) {
 3401         for (auto B : predecessors(PHI->getParent())) {
 3452         for (Value *P : CurrentPhi->incoming_values())
 4435   for (Use &U : I->uses()) {
 4696       for (Value *IncValue : P->incoming_values())
 5063   for (const User *U : Val->users()) {
 5597   for (User *U : I->users()) {
 5610   for (User *U : Src->users()) {
 5624   for (Use &U : Src->uses()) {
 5715   for (auto *U : Load->users())
 5733       for (auto *U : Phi->users())
 6132   for (User *U : SVI->users()) {
 6182   for (Use *U : reverse(OpsToSink)) {
 6258   for (auto Case : SI->cases()) {
 6482     for (const Use &U : ToBePromoted->operands()) {
 6565   for (Use &U : ToBePromoted->operands()) {
 6854       }) == GEPI->users().end())
 6860   for (User *Usr : GEPIOp->users()) {
 6917       }) == GEPIOp->users().end() && "GEPIOp is used outside SrcBlock");
 7101     for (auto &I : reverse(BB)) {
 7261     for (PHINode &PN : FBB->phis()) {
lib/CodeGen/CriticalAntiDepBreaker.cpp
   73     for (const auto &LI : (*SI)->liveins()) {
lib/CodeGen/DeadMachineInstructionElim.cpp
   84         for (const MachineInstr &Use : MRI->use_nodbg_instructions(Reg)) {
  109   for (MachineBasicBlock &MBB : make_range(MF.rbegin(), MF.rend())) {
  118       for (const auto &LI : (*S)->liveins())
lib/CodeGen/DetectDeadLanes.cpp
  221   for (const MachineOperand &MO : MI.uses()) {
  377     for (const MachineOperand &MO : DefMI.uses()) {
  419   for (const MachineOperand &MO : MRI->use_nodbg_operands(Reg)) {
  518     for (const MachineOperand &MO : MRI->use_nodbg_operands(Reg))
  536       for (MachineOperand &MO : MI.operands()) {
lib/CodeGen/EarlyIfConversion.cpp
  255   for (const MachineOperand &MO : I->operands()) {
  378     for (const MachineOperand &MO : I->operands()) {
  925   for (auto DomNode : post_order(DomTree))
 1054   for (auto DomNode : post_order(DomTree))
lib/CodeGen/ExecutionDomainFix.cpp
  169   for (MachineBasicBlock *pred : MBB->predecessors()) {
  246     for (int rx : regIndices(MO.getReg())) {
  265     for (int rx : regIndices(mo.getReg())) {
  275     for (int rx : regIndices(mo.getReg())) {
  296       for (int rx : regIndices(mo.getReg())) {
  383   for (MachineOperand &mo : mi->operands()) {
  386     for (int rx : regIndices(mo.getReg())) {
lib/CodeGen/ExpandPostRAPseudos.cpp
   70   for (const MachineOperand &MO : MI->implicit_operands())
lib/CodeGen/GCMetadata.cpp
  152   for (auto& Entry : GCRegistry::entries()) {
lib/CodeGen/GlobalISel/CSEInfo.cpp
  271   for (auto &Op : MI->operands())
lib/CodeGen/GlobalISel/CallLowering.cpp
   45   for (auto &Arg : CS.args()) {
lib/CodeGen/GlobalISel/Combiner.cpp
  132     for (MachineBasicBlock *MBB : post_order(&MF)) {
lib/CodeGen/GlobalISel/CombinerHelper.cpp
  112   for (const MachineOperand &MO : MI.operands()) {
  124       for (const MachineOperand &BuildVecMO : Def->operands()) {
  402   for (auto &UseMI : MRI.use_instructions(LoadValue.getReg())) {
  460   for (auto &UseMO : MRI.use_operands(LoadValue.getReg()))
  573   for (auto &Use : MRI.use_instructions(Base)) {
  600     for (auto &GEPUse : MRI.use_instructions(Use.getOperand(0).getReg())) {
  673   for (auto &UseMI : MRI.use_instructions(Addr)) {
lib/CodeGen/GlobalISel/GISelChangeObserver.cpp
   20   for (auto &ChangingMI : MRI.use_instructions(Reg)) {
lib/CodeGen/GlobalISel/IRTranslator.cpp
  404   for (const BasicBlock *Succ : successors(&BrInst))
  442   for (auto &I : SI.cases()) {
  845   for (const BasicBlock *Succ : successors(&BrInst))
  952     for (auto Idx : EVI->indices())
  955     for (auto Idx : IVI->indices())
 1270   for (auto &Arg : CI.arg_operands())
 1552   for (auto &Arg : CS.args()) {
 2298   for (const Argument &Arg: F.args()) {
 2391   for (const MachineBasicBlock::RegisterMaskPair &LiveIn : EntryBB->liveins())
lib/CodeGen/GlobalISel/InstructionSelect.cpp
  103   for (MachineBasicBlock *MBB : post_order(&MF)) {
  146         for (auto &InsertedMI : make_range(InsertedBegin, AfterIt))
  246     for (auto RuleID : CoverageInfo.covered())
lib/CodeGen/GlobalISel/Localizer.cpp
  184     for (MachineInstr &UseMI : MRI->use_nodbg_instructions(Reg)) {
lib/CodeGen/GlobalISel/RegBankSelect.cpp
  196       for (Register SrcReg : NewVRegs)
  203       for (Register DefReg : NewVRegs)
  811     for (auto &Succ : Src.successors())
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
  698   for (Register &NewVReg : NewVRegsForOpIdx) {
  743   for (Register VReg : Res)
  792     for (Register VReg : getVRegs(Idx)) {
lib/CodeGen/GlobalISel/Utils.cpp
  167   for (auto &MO : MI.operands()) {
lib/CodeGen/GlobalMerge.cpp
  307     for (auto &U : GV->uses()) {
  588       for (const Use &U : Pad->operands()) {
  610   for (auto &GV : M.globals()) {
lib/CodeGen/HardwareLoops.cpp
  277   for (auto I : L->blocks())
lib/CodeGen/IfConversion.cpp
  308         for (auto &I : make_range(TBBInfo.BB->begin(), TIB)) {
  312         for (auto &I : make_range(FBBInfo.BB->begin(), FIB)) {
  321         for (auto &I : make_range(TIE, TBBInfo.BB->end())) {
  330         for (auto &I : make_range(FIE, FBBInfo.BB->end())) {
  339         for (auto &I : CommBB.terminators()) {
  352         for (auto &I : make_range(TIB, TIE)) {
  358         for (auto &I : make_range(FIB, FIE)) {
  613   for (MachineBasicBlock *SuccBB : BB->successors()) {
 1066   for (MachineInstr &MI : make_range(Begin, End)) {
 1455   for (const MachineBasicBlock *Predecessor : MBB.predecessors()) {
 1645       for (MachineBasicBlock *PBB : CvtMBB.predecessors()) {
 1858     for (const MachineInstr &MI : make_range(MBB1.begin(), DI1)) {
 1941     for (const MachineInstr &FI : make_range(MBB2.begin(), DI2)) {
 1945       for (const MachineOperand &MO : FI.operands()) {
 2113   for (const MachineOperand &MO : MI.operands()) {
 2134   for (MachineInstr &I : make_range(BBI.BB->begin(), E)) {
lib/CodeGen/ImplicitNullChecks.cpp
  277   for (auto MOA : A->operands()) {
  282     for (auto MOB : B->operands()) {
  415   for (auto &DependenceMO : DependenceMI->operands()) {
  642   for (auto &MO : MI->uses()) {
  689     for (const MachineOperand &MO : FaultingInstr->operands()) {
  699       for (auto &MO : DepMI->operands()) {
lib/CodeGen/IndirectBrExpandPass.cpp
  104       for (BasicBlock *SuccBB : IBr->successors())
  214   for (int i : llvm::seq<int>(1, BBs.size()))
lib/CodeGen/InlineSpiller.cpp
  500       for (MachineBasicBlock *P : MBB->predecessors()) {
lib/CodeGen/InterleavedAccessPass.cpp
  460   for (auto &I : instructions(F)) {
lib/CodeGen/InterleavedLoadCombinePass.cpp
 1170     for (const auto &U : I->users()) {
lib/CodeGen/LiveDebugValues.cpp
  811   for (const MachineOperand &MO : MI.operands()) {
  872   for (const MachineOperand &MO : MI.operands()) {
  886       for (const MachineOperand &MONext : NextI->operands()) {
 1144   for (auto p : MBB.predecessors()) {
 1391           for (auto s : MBB->successors())
lib/CodeGen/LiveDebugVariables.cpp
  773   for (MachineOperand &MO : MRI.use_nodbg_operands(LI->reg)) {
lib/CodeGen/LiveInterval.cpp
  929   for (SubRange &SR : subranges()) {
  975   for (const MachineOperand &MO : MRI.def_operands(reg)) {
 1040   for (const SubRange &SR : subranges())
 1083   for (const SubRange &SR : subranges()) {
 1142   for (const auto &S : make_range(LR->begin(), WriteI))
 1148   for (const auto &S : make_range(ReadI, LR->end()))
 1385     for (LiveInterval::SubRange &SR : LI.subranges()) {
lib/CodeGen/LiveIntervals.cpp
  226       for (const MachineOperand &MO : MI.operands()) {
  327     for (const auto &LI : MBB.liveins()) {
  352   for (VNInfo *VNI : VNIs) {
  372     for (const LiveInterval::SubRange &SR : I.subranges()) {
  401       for (const MachineBasicBlock *Pred : MBB->predecessors()) {
  417     for (const MachineBasicBlock *Pred : MBB->predecessors()) {
  449   for (LiveInterval::SubRange &S : li->subranges()) {
  462   for (MachineInstr &UseMI : MRI->reg_instructions(Reg)) {
  551   for (MachineOperand &MO : MRI->use_nodbg_operands(Reg)) {
  647   for (MachineBasicBlock *Succ : KillMBB->successors()) {
  711       for (const LiveInterval::SubRange &SR : LI.subranges()) {
  778         for (const MachineOperand &MO : MI->operands()) {
  846     for (const MachineBasicBlock *Pred : PHIMBB->predecessors())
  976     for (MachineOperand &MO : MI->operands()) {
  998           for (LiveInterval::SubRange &S : LI.subranges()) {
 1404       for (MachineOperand &MO : MRI.use_nodbg_operands(Reg)) {
 1619     for (LiveInterval::SubRange &S : LI.subranges())
 1644   for (LiveInterval::SubRange &S : LI.subranges()) {
lib/CodeGen/LivePhysRegs.cpp
  158   for (const auto &LI : MBB.liveins()) {
  213   for (const MachineBasicBlock *Succ : MBB.successors())
  253   for (const MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend()))
  289   for (MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) {
lib/CodeGen/LiveRangeCalc.cpp
   82   for (const MachineOperand &MO : MRI->reg_nodbg_operands(Reg)) {
  118     for (LiveInterval::SubRange &S : LI.subranges()) {
  137   for (const LiveInterval::SubRange &SR : LI.subranges()) {
  152   for (MachineOperand &MO : MRI->def_operands(Reg))
  165   for (MachineOperand &MO : MRI->reg_nodbg_operands(Reg)) {
  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/LiveRangeEdit.cpp
   48     for (LiveInterval::SubRange &S : OldLI.subranges())
  190   for (MachineOperand &MO : MRI.reg_nodbg_operands(LI->reg)) {
  252   for (const LiveInterval::SubRange &S : LI.subranges()) {
lib/CodeGen/LiveRangeShrink.cpp
  103   for (MachineInstr &I : make_range(Start, Start->getParent()->end()))
  140       for (const MachineOperand &MO : MI.operands()) {
  172       for (const MachineOperand &MO : MI.operands()) {
lib/CodeGen/LiveRegMatrix.cpp
   86       for (LiveInterval::SubRange &S : VRegInterval.subranges()) {
lib/CodeGen/LiveRegUnits.cpp
   87   for (const auto &LI : MBB.liveins())
  132   for (const MachineBasicBlock *Succ : MBB.successors())
lib/CodeGen/LiveVariables.cpp
  567   for (const auto &LI : MBB->liveins()) {
  606     for (const auto &LI : SuccMBB->liveins()) {
  646   for (MachineBasicBlock *MBB : depth_first_ext(Entry, Visited)) {
  747   for (const MachineBasicBlock *SuccMBB : MBB.successors()) {
lib/CodeGen/LoopTraversal.cpp
   46       for (MachineBasicBlock *Succ : ActiveMBB->successors()) {
lib/CodeGen/LowerEmuTLS.cpp
   75   for (const auto &G : M.globals()) {
lib/CodeGen/MIRCanonicalizerPass.cpp
  225     for (auto &UO : MRI->use_nodbg_operands(MO.getReg())) {
  311   for (MachineInstr &MI : MBB->instrs()) {
  357     for (auto &MO : MI.operands()) {
  433     for (auto &MO : MRI.reg_operands(vRegToRename)) {
lib/CodeGen/MIRParser/MIParser.cpp
 3010   for (const auto &Arg : F.args())
lib/CodeGen/MIRParser/MIRParser.cpp
  615       for (const MachineOperand &MO : MI.operands()) {
lib/CodeGen/MIRPrinter.cpp
  557     for (const MachineOperand &MO : MI.operands()) {
  672     for (const auto &LI : MBB.liveins()) {
lib/CodeGen/MIRVRegNamerUtils.cpp
  237     for (auto &MO : MRI.reg_operands(VReg)) {
lib/CodeGen/MachineBasicBlock.cpp
  395     for (const auto &LI : liveins()) {
  410   for (const MachineInstr &MI : instrs()) {
  973       for (MachineInstr &MI : NMBB->instrs()) {
  987   for (const auto &LI : Succ->liveins())
 1218   for (MachineInstr &MI : phis())
 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()) {
 1241     for (MachineBasicBlock *src : reverse(Chain.Edges)) {
 1419   for (MachineBasicBlock *Pred : Succ->predecessors()) {
 1683     for (MachineBasicBlock *Pred : ChainBB->predecessors()) {
 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()) {
 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())
 2964     for (MachineBasicBlock *NewSucc : Pred->successors()) {
 3148     for (MachineBasicBlock *Succ : MBB.successors()) {
lib/CodeGen/MachineCSE.cpp
  167   for (MachineOperand &MO : MI->operands()) {
  234     for (const MachineOperand &MO : I->operands()) {
  282   for (const MachineOperand &MO : MI->operands()) {
  374     for (const MachineOperand &MO : I->operands()) {
  441     for (MachineInstr &MI : MRI->use_nodbg_instructions(CSReg)) {
  444     for (MachineInstr &MI : MRI->use_nodbg_instructions(Reg)) {
  465   for (const MachineOperand &MO : MI->operands()) {
  473     for (MachineInstr &MI : MRI->use_nodbg_instructions(Reg)) {
  487   for (MachineInstr &UseMI : MRI->use_nodbg_instructions(CSReg)) {
  780   for (auto def : MI->defs())
  784   for (auto use : MI->uses())
lib/CodeGen/MachineCombiner.cpp
  169     for (const MachineOperand &MO : InstrPtr->operands()) {
  224   for (const MachineOperand &MO : NewRoot->operands()) {
lib/CodeGen/MachineCopyPropagation.cpp
  168     for (const MachineInstr &MI :
  170       for (const MachineOperand &MO : MI.operands())
  305   for (MachineInstr &MI :
  371   for (const MachineOperand &MIUse : MI.uses())
  452     for (MachineInstr &KMI :
  504       for (const MachineOperand &MO : MI->implicit_operands()) {
  527       for (const MachineOperand &MO : MI->implicit_operands()) {
  542     for (const MachineOperand &MO : MI->operands())
  558     for (const MachineOperand &MO : MI->operands()) {
lib/CodeGen/MachineDominators.cpp
  105     for (MachineBasicBlock *PredBB : Succ->predecessors()) {
lib/CodeGen/MachineInstr.cpp
  142   for (const MachineOperand &MO : MI.operands())
  162   for (MachineOperand &MO : operands())
  171   for (MachineOperand &MO : operands())
  412   return std::equal(LHSPointees.begin(), LHSPointees.end(),
  442   for (const MachineInstr &MI : make_pointee_range(MIs.slice(1))) {
  683   for (const MachineOperand &MO : MI->operands()) {
 1133   for (MachineOperand &MO : operands()) {
 1145     for (MachineOperand &MO : operands()) {
 1151     for (MachineOperand &MO : operands()) {
 1387   for (const MachineOperand &MO : operands()) {
 1854   for (MachineOperand &MO : operands()) {
 1917   for (MachineOperand &MO : operands()) {
 1925   for (MachineOperand &MO : operands()) {
 1939     for (const MachineOperand &MO : operands()) {
 1953   for (MachineOperand &MO : operands()) {
 1982   for (const MachineOperand &MO : MI->operands()) {
 2130   for (auto &MO : MRI->use_operands(DefReg)) {
lib/CodeGen/MachineLICM.cpp
  405   for (const MachineOperand &MO : MI->operands()) {
  511     for (const auto &LI : BB->liveins()) {
  525     for (const MachineOperand &MO : TI->operands()) {
  553       for (const MachineOperand &MO : MI->operands()) {
  578       for (MachineOperand &MO : MI.operands()) {
  775     for (MachineInstr &MI : MRI->use_instructions(MO.getReg())) {
  922   for (const MachineOperand &MO : MI.operands()) {
  969   for (MachineInstr &UseMI : MRI->use_instructions(CopyDstReg)) {
 1008   for (const MachineOperand &MO : I.operands()) {
 1060     for (const MachineOperand &MO : MI->operands()) {
 1066       for (MachineInstr &UseMI : MRI->use_instructions(Reg)) {
 1097   for (MachineInstr &UseMI : MRI->use_nodbg_instructions(Reg)) {
 1485     for (MachineOperand &MO : MI->operands())
lib/CodeGen/MachineLoopInfo.cpp
  124   for (MachineBasicBlock *P : HB->predecessors()) {
  135   for (MachineBasicBlock *S : Preheader->successors()) {
lib/CodeGen/MachineLoopUtils.cpp
   50     for (MachineOperand &MO : NewMI->defs()) {
   63         for (auto &Use : MRI.use_operands(OrigR))
   75     for (MachineOperand &MO : I->uses())
lib/CodeGen/MachineOutliner.cpp
 1247           for (MachineOperand &MOP : MI.operands()) {
lib/CodeGen/MachinePipeliner.cpp
  352   for (MachineInstr &PI : make_range(B.begin(), B.getFirstNonPHI())) {
  920       for (const InstrStage &IS :
  940       for (const MCWriteProcResEntry &PRE :
  966       for (const InstrStage &IS :
  983       for (const MCWriteProcResEntry &PRE :
 1554     for (const MachineOperand &MO : MI->operands())
 1565     for (const MachineOperand &MO : SU->getInstr()->operands())
 2990   for (const MCWriteProcResEntry &PRE :
lib/CodeGen/MachineRegisterInfo.cpp
  133   for (MachineOperand &MO : reg_nodbg_operands(Reg)) {
  220   for (MachineOperand &M : reg_operands(Reg)) {
  438   for (MachineOperand &MO : use_operands(Reg))
  508   for (MachineInstr &I : use_instructions(Reg))
  558   for (const MachineOperand &MO : MI.operands()) {
  592     for (const MachineOperand &MO : make_range(def_begin(*AI), def_end())) {
lib/CodeGen/MachineScheduler.cpp
  930   for (const MachineOperand &MO : MI.operands()) {
  945       for (const MachineOperand &MO2 : MI.operands()) {
 1111            : make_range(VRegUses.find(Reg), VRegUses.end())) {
 1143            : make_range(VRegUses.find(Reg), VRegUses.end())) {
 1340          : make_range(VRegUses.find(Reg), VRegUses.end())) {
 2017     for (const MCWriteProcResEntry &PE :
 2933     for (const MachineOperand &Op : MI->defs()) {
lib/CodeGen/MachineSink.cpp
  265   for (MachineOperand &MO : MRI->use_nodbg_operands(Reg)) {
  278   for (MachineOperand &MO : MRI->use_nodbg_operands(Reg)) {
  559   for (MachineInstr &UseInst : MRI->use_nodbg_instructions(Reg)) {
  952   for (auto &MO : MI.operands()) {
  975   for (MachineOperand &MO : MI.operands()) {
  993   for (auto &MO : MI.operands()) {
  996     for (auto &User : MRI.use_instructions(MO.getReg())) {
 1120   for (auto *SI : CurBB.successors()) {
 1152       for (MachineInstr &UI : make_range(NI, CurBB.end())) {
 1229   for (MachineBasicBlock *SI : CurBB.successors())
 1311     for (auto &MO : MI->operands()) {
lib/CodeGen/MachineTraceMetrics.cpp
  335   for (const MachineBasicBlock *Pred : MBB->predecessors()) {
  359   for (const MachineBasicBlock *Succ : MBB->successors()) {
  486   for (auto I : inverse_post_order_ext(MBB, Bounds)) {
  504   for (auto I : post_order_ext(MBB, Bounds)) {
  536       for (const MachineBasicBlock *Pred : MBB->predecessors()) {
  561       for (const MachineBasicBlock *Succ : MBB->successors()) {
lib/CodeGen/MachineVerifier.cpp
  625     for (const auto &LI : MBB->liveins()) {
  799     for (const auto &LI : MBB->liveins()) {
  812   for (unsigned I : PR.set_bits()) {
 1980             for (const LiveInterval::SubRange &SR : LI.subranges()) {
 2021           for (const MachineOperand &MOP : MI->uses()) {
 2082             for (const LiveInterval::SubRange &SR : LI.subranges()) {
 2259       for (MachineBasicBlock *Pred : MBB.predecessors()) {
 2687   for (const LiveInterval::SubRange &SR : LI.subranges()) {
lib/CodeGen/ModuloSchedule.cpp
  788   for (auto &PHI : KernelBB->phis()) {
  806         for (auto &BBJ : make_range(MachineBasicBlock::instr_iterator(MI),
 1110   for (auto &PHI : BB->phis()) {
 1319     for (MachineOperand &MO : MI.uses()) {
 1339     for (MachineOperand &Def : MI->defs()) {
 1340       for (MachineInstr &MI : MRI.use_instructions(Def.getReg())) {
 1638     for (MachineInstr &MI : (*EI)->phis()) {
 1655   for (MachineBasicBlock *B : reverse(Blocks)) {
 1663   for (MachineBasicBlock *B : reverse(Blocks))
 1678   for (MachineInstr &MI : BB->phis()) {
 1683     for (MachineInstr &Use : MRI.use_instructions(OldR))
 1742   for (MachineOperand &DefMO : MI->defs()) {
 1744     for (MachineInstr &UseMI : MRI.use_instructions(DefMO.getReg())) {
 1787       for (MachineInstr &P : Fallthrough->phis()) {
 1797       for (MachineInstr &P : Epilog->phis()) {
lib/CodeGen/OptimizePHIs.cpp
  156   for (MachineInstr &UseMI : MRI->use_nodbg_instructions(DstReg)) {
lib/CodeGen/PHIElimination.cpp
  223   for (MachineInstr &DI : MRI.def_instructions(VirtReg))
  662     for (const MachineBasicBlock *SI : MBB->successors())
lib/CodeGen/PHIEliminationUtils.cpp
   36   for (MachineInstr &RI : MRI.reg_instructions(SrcReg)) {
lib/CodeGen/PatchableFunction.cpp
   77   for (auto &MO : FirstActualI->operands())
lib/CodeGen/PeepholeOptimizer.cpp
  489   for (MachineInstr &UI : MRI->use_nodbg_instructions(DstReg))
  499   for (MachineOperand &UseMO : MRI->use_nodbg_operands(SrcReg)) {
  566     for (MachineInstr &UI : MRI->use_nodbg_instructions(DstReg))
 1660         for (const MachineOperand &MO : MI->operands()) {
 1867   for (const MachineInstr &UseMI : MRI.use_nodbg_instructions(DefOp.getReg())) {
lib/CodeGen/ProcessImplicitDefs.cpp
   68   for (const MachineOperand &MO : MI->operands())
   81     for (MachineOperand &MO : MRI->use_nodbg_operands(Reg)) {
  100     for (MachineOperand &MO : UserMI->operands()) {
lib/CodeGen/PrologEpilogInserter.cpp
  498     for (MachineBasicBlock *SuccBB : CurBB->successors())
  572     for (const CalleeSavedInfo &CI : reverse(CSI)) {
lib/CodeGen/ReachingDefAnalysis.cpp
   41     for (const auto &LI : MBB->liveins()) {
   55   for (MachineBasicBlock *pred : MBB->predecessors()) {
lib/CodeGen/RegAllocFast.cpp
  283   for (const MachineInstr &UseInst : MRI->reg_nodbg_instructions(VirtReg)) {
  302   for (const MachineInstr &DefInst : MRI->def_instructions(VirtReg)) {
  646   for (const MachineInstr &MI : MRI->def_instructions(VirtReg)) {
  890   for (const MachineOperand &MO : MI.operands()) {
  905   for (const MachineOperand &MO : MI.operands()) {
  961   for (const MachineOperand &MO : MI.operands()) {
 1123     for (MachineOperand &MO : MI.uses()) {
 1139     for (const MachineOperand &MO : MI.operands()) {
 1255   for (const MachineBasicBlock::RegisterMaskPair LI : MBB.liveins())
lib/CodeGen/RegAllocGreedy.cpp
  380       for (unsigned i : LiveBundles.set_bits())
 1405     for (int i : Cand.LiveBundles.set_bits())
 1944       for (int i : Cand.LiveBundles.set_bits())
 2513   for (const MachineOperand &MO : MRI->def_operands(reg))
 2873   for (const MachineInstr &Instr : MRI->reg_nodbg_instructions(Reg)) {
lib/CodeGen/RegUsageInfoPropagate.cpp
   70     for (MachineOperand &MO : MI.operands()) {
   90   for (const MachineOperand &MO : MI.operands()) {
lib/CodeGen/RegisterClassInfo.cpp
  172   for (const TargetRegisterClass *C : TRI->regclasses()) {
lib/CodeGen/RegisterCoalescer.cpp
  641   for (LiveInterval::SubRange &S : IntB.subranges()) {
  671     for (LiveInterval::SubRange &S : IntA.subranges()) {
  816   for (MachineOperand &MO : MRI->use_nodbg_operands(IntA.reg)) {
  901     for (LiveInterval::SubRange &S : IntB.subranges()) {
  928     for (LiveInterval::SubRange &SA : IntA.subranges()) {
  957     for (LiveInterval::SubRange &SB : IntB.subranges()) {
 1058   for (MachineBasicBlock *Pred : MBB.predecessors()) {
 1129     for (LiveInterval::SubRange &SR : IntB.subranges())
 1158   for (LiveInterval::SubRange &SR : IntB.subranges()) {
 1193   for (const MachineOperand &Op : MI.operands()) {
 1356     for (LiveInterval::SubRange &SR : DstInt.subranges()) {
 1389       for (LiveInterval::SubRange &SR : DstInt.subranges()) {
 1413       for (LiveInterval::SubRange &SR : DstInt.subranges()) {
 1480     for (MachineOperand &UseMO : MRI->use_operands(SrcReg)) {
 1499   for (MachineOperand &UseMO : MRI->use_nodbg_operands(SrcReg)) {
 1535     for (const LiveInterval::SubRange &SR : SrcLI.subranges()) {
 1574     for (LiveInterval::SubRange &SR : DstLI.subranges()) {
 1587   for (MachineOperand &MO : MRI->reg_nodbg_operands(DstReg)) {
 1596       for (const LiveInterval::SubRange &SR : DstLI.subranges()) {
 1617   for (MachineOperand &MO : CopyMI->operands())
 1631   for (const LiveInterval::SubRange &S : Int.subranges()) {
 1658     for (MachineOperand &MO : MRI->reg_operands(DstReg)) {
 1813       for (LiveInterval::SubRange &S : LI.subranges()) {
 1935     for (LiveInterval::SubRange &S : LI.subranges()) {
 2393   for (const MachineOperand &MO : DefMI->operands()) {
 2428       for (const LiveInterval::SubRange &S : LI.subranges()) {
 2827   for (const MachineOperand &MO : MI.operands()) {
 2942           for (MachineOperand &MO :
 3038     for (LiveInterval::SubRange &S : LI.subranges()) {
 3079   for (LiveInterval::SubRange &SR : LI.subranges()) {
 3158         for (LiveInterval::SubRange &SR : LI->subranges()) {
 3341       for (LiveInterval::SubRange &R : LHS.subranges()) {
 3357       for (LiveInterval::SubRange &R : RHS.subranges()) {
 3515   for (const MachineInstr &MI : MRI->reg_nodbg_instructions(DstReg))
 3540   for (const MachineInstr &MI : MRI->reg_nodbg_instructions(SrcReg)) {
 3735           for (LiveInterval::SubRange &S : LI.subranges()) {
lib/CodeGen/RegisterPressure.cpp
  429         for (const LiveInterval::SubRange &SR : LI.subranges()) {
 1227   for (const MachineOperand &MO : MRI.use_nodbg_operands(Reg)) {
lib/CodeGen/RegisterScavenging.cpp
  119   for (const MachineOperand &MO : MI.operands()) {
  204   for (const MachineOperand &MO : MI.operands()) {
  327     for (const MachineOperand &MO : MI->operands()) {
  432       for (const MachineOperand &MO : MI.operands()) {
  543   for (const MachineOperand &MO : MI.operands()) {
  631   for (MachineOperand &MO : MRI.reg_nodbg_operands(VReg)) {
  694       for (const MachineOperand &MO : NMI.operands()) {
  716     for (const MachineOperand &MO : MI.operands()) {
  739   for (const MachineOperand &MO : MBB.front().operands()) {
lib/CodeGen/RenameIndependentSubregs.cpp
  160   for (LiveInterval::SubRange &SR : LI.subranges()) {
  178   for (const MachineOperand &MO : MRI->reg_nodbg_operands(Reg)) {
  291   for (const LiveInterval::SubRange &SR : LI.subranges()) {
  313     for (const LiveInterval::SubRange &SR : LI.subranges()) {
  324         for (MachineBasicBlock *PredMBB : MBB.predecessors()) {
  336           for (LiveInterval::SubRange &SR : LI.subranges()) {
  344     for (MachineOperand &MO : MRI->reg_nodbg_operands(Reg)) {
lib/CodeGen/SafeStack.cpp
  290     for (const Use &UI : V->uses()) {
  383   for (Instruction &I : instructions(&F)) {
  413   for (Argument &Arg : F.args()) {
lib/CodeGen/SafeStackColoring.cpp
   77       for (User *U : I->users()) {
  105   for (BasicBlock *BB : depth_first(&F)) {
  166     for (BasicBlock *BB : depth_first(&F)) {
  171       for (auto *PredBB : predecessors(BB)) {
lib/CodeGen/ScheduleDAG.cpp
  581          : make_range(SU->Succs.rbegin(), SU->Succs.rend())) {
lib/CodeGen/ScheduleDAGInstrs.cpp
  205     for (const MachineOperand &MO : ExitMI->operands()) {
  218     for (const MachineBasicBlock *Succ : BB->successors()) {
  219       for (const auto &LI : Succ->liveins()) {
  468   for (VReg2SUnit &V2SU : make_range(CurrentVRegDefs.find(Reg),
  519   for (VReg2SUnit &V2SU : make_range(CurrentVRegDefs.find(Reg),
  565   for (MachineInstr &MI : make_range(RegionBegin, RegionEnd)) {
  588       for (const MCWriteProcResEntry &PRE :
 1088   for (MachineOperand &MO : MI.operands()) {
 1110   for (MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  178       for (SDNode *Node : N->uses())
  223       for (MVT VT : MVT::all_valuetypes())
  860   for (const SDValue &Op : N->op_values()) {
  911   for (SDNode *Node : N0->uses()) {
 1377       for (const SDValue &ChildN : N->op_values())
 1402   for (SDNode &Node : DAG.allnodes())
 1440     for (const SDValue &ChildN : N->op_values())
 1750     for (const SDValue &Op : TF->op_values()) {
 1846       for (const SDValue &Op : CurNode->op_values())
 4777   for (SDValue Op : N->op_values()) {
10650     for (const SDValue &Op : N0->op_values()) {
11219     for (SDValue Op : BV->op_values()) {
11295   for (const SDValue &Op : BV->op_values()) {
12479   for (auto *U : N1->uses()) {
13630   for (SDNode *Use : Ptr.getNode()->uses()) {
13763   for (SDNode *Op : Ptr.getNode()->uses()) {
13788       for (SDNode *Use : BasePtr.getNode()->uses()) {
13796           for (SDNode *UseUse : Use->uses()) {
15034   for (SDNode *Use : ConstNode->uses()) {
16942     for (SDNode *Use : VecOp->uses()) {
lib/CodeGen/SelectionDAG/FastISel.cpp
  170   for (const MachineOperand &MO : MI.operands()) {
  280   for (MachineInstr &UseInst : MRI.use_nodbg_instructions(DefReg)) {
  308   for (MachineInstr &DbgVal : MRI.use_instructions(DefReg)) {
 2275     for (const PHINode &PN : SuccBB->phis()) {
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
   52   for (const User *U : I->users())
   69   for (const User *U : V->users()) {
  269     for (const PHINode &PN : BB.phis()) {
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  111     for (SDNode *User : Node->uses()) {
  227       for (SDNode *User : Node->uses()) {
  483   for (SDNode *User : Node->uses()) {
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  977   for (const SDValue &Op : Node->op_values())
 2026   for (const SDValue &Op : Node->op_values()) {
 2207   for (const SDValue &Op : Node->op_values()) {
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 3437   for (const SDValue &Op : N->op_values()) {
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
   77   for (SDNode &Node : DAG.allnodes()) {
  205   for (SDNode &Node : DAG.allnodes()) {
  429   for (SDNode &Node : DAG.allnodes()) {
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  239   for (const SDValue &Op : Node->op_values())
  303   for (const SDValue &Op : Node->op_values())
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 2535   for (const SDValue &Op : N->op_values()) {
lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
   59   for (const TargetRegisterClass *RC : TRI->regclasses())
  360     for (const TargetRegisterClass *RC : TRI->regclasses())
  364     for (const TargetRegisterClass *RC : TRI->regclasses()) {
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
  227   for (const SDValue &Op : N->op_values()) {
  720   for (SDNode &Node : DAG->allnodes()) {
  750     for (const SDNode *U : Glue->uses())
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  451       for (const SDValue &Op : N->op_values())
  467     for (const SDValue &Op : N->op_values())
  498       for (const SDValue &Op : N->op_values()) {
  525     for (const SDValue &Op : N->op_values())
 1161   for (const SDValue &Op : N->op_values()) {
 1335   for (const SDValue &Op : N->op_values())
 1767       for (const TargetRegisterClass *RC : TRI->regclasses())
 2073   for (const TargetRegisterClass *RC : TRI->regclasses()) {
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  309   for (SDNode &NI : DAG->allnodes()) {
  327   for (SDNode &NI : DAG->allnodes()) {
  350     for (const SDValue &Op : NI->op_values())
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  204   for (const SDValue &Op : N->op_values()) {
  237   for (const SDValue &Op : N->op_values()) {
  250   for (const SDValue &Op : N->op_values()) {
  685   for (SDNode &Node : allnodes())
 8404     for (auto U : N->uses()) {
 8413   for (auto &N : allnodes()) {
 8421     for (auto U : N->uses()) {
 8435   for (auto &N : allnodes()) {
 8449   for (auto &N : allnodes()) {
 8555   for (SDNode &Node : allnodes()) {
 9509   for (const SDValue &Op : op_values()) {
 9615   for (const SDValue &Op : N->op_values())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1664       for (const BasicBlock *CatchPadBB : CatchSwitch->handlers()) {
 1718       for (const BasicBlock *CatchPadBB : CatchSwitch->handlers()) {
 3037     for (const auto &U : User->users()) {
 5410     for (SDValue Op : N->op_values())
 8489           for (const SDValue &V : Val->op_values())
 9404   for (const User *U : A->users())
 9458       for (const Use &U : I.operands()) {
 9572   for (const Value *U : Arg.users()) {
 9611   for (const Argument &Arg : F.args()) {
 9780   for (const Argument &Arg : F.args()) {
 9949     for (const PHINode &PN : SuccBB->phis()) {
10499   for (auto I : SI.cases()) {
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  804   for (const SDValue &Op : N->op_values()) {
  832     for (auto *Dbg : make_range(DbgBegin(), DbgEnd()))
  836     for (auto *Dbg : make_range(ByvalParmDbgBegin(), ByvalParmDbgEnd()))
  894   for (const SDValue &Op : N->op_values())
  922   for (const SDValue &Op : N->op_values()) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  397   for (const Instruction &I : instructions(F)) {
  402     for (const auto &Op : I.operands()) {
  753     for (const SDValue &Op : N->op_values())
 1068     for (auto *U : N->uses()) {
 1137         for (const SDValue &Op : N->op_values()) {
 1182   for (const User *U : CPI->users()) {
 1207     for (const User *U : CPI->users()) {
 1412         for (const PHINode &PN : LLVMBB->phis())
 1415         for (const PHINode &PN : LLVMBB->phis())
 2114   for (const SDValue &Op : ImmedUse->op_values()) {
 2127     for (const SDValue &Op : Root->op_values()) {
 2363       for (const SDValue &Op : V->op_values())
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  173     for (auto &IncomingValue : Phi->incoming_values()) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4130   for (const TargetRegisterClass *RC : RI->regclasses()) {
 5478     for (SDValue C : Op->op_values()) {
lib/CodeGen/ShrinkWrap.cpp
  275   for (const MachineOperand &MO : MI.operands()) {
  316   for (MachineBasicBlock *BB : BBs) {
  353     for (const MachineInstr &Terminator : MBB.terminators()) {
lib/CodeGen/SjLjEHPrepare.cpp
  128   for (BasicBlock *B : inverse_depth_first_ext(BB, Visited))
  235   for (auto &AI : F.args()) {
  282       for (User *U : Inst.users()) {
lib/CodeGen/SpillPlacement.cpp
  320   for (unsigned n : ActiveNodes->set_bits()) {
  375   for (unsigned n : ActiveNodes->set_bits())
lib/CodeGen/SplitKit.cpp
   83   for (const MachineBasicBlock *SMBB : MBB.successors())
  176   for (MachineOperand &MO : MRI.use_nodbg_operands(CurLI->reg))
  409   for (LiveInterval::SubRange &S : LI.subranges())
  426     for (LiveInterval::SubRange &S : LI.subranges()) {
  439     for (const MachineOperand &DefOp : DefMI->defs()) {
  450     for (LiveInterval::SubRange &S : LI.subranges())
  659       for (LiveInterval::SubRange &S : LI->subranges())
 1244   for (MachineBasicBlock *P : B.predecessors()) {
 1282   for (LiveInterval::SubRange &PS : ParentLI.subranges()) {
 1379     for (LiveInterval::SubRange &S : LI.subranges()) {
 1460     for (const MachineBasicBlock *Pred : MBB.predecessors()) {
lib/CodeGen/StackColoring.cpp
  551   for (MachineBasicBlock *MBB : depth_first(MF)) {
  604       for (const MachineOperand &MO : MI.operands()) {
  638   for (MachineBasicBlock *MBB : depth_first(MF)) {
  680         for (const MachineOperand &MO : MI.operands()) {
  710   for (MachineBasicBlock *MBB : depth_first(MF)) {
  949     for (auto &Use : FromAI->uses()) {
  985       for (MachineOperand &MO : I.operands()) {
 1094       for (const MachineOperand &MO : I.operands()) {
lib/CodeGen/StackProtector.cpp
  160   for (const User *U : AI->users()) {
lib/CodeGen/SwiftErrorValueTracking.cpp
  183       for (auto *Pred : MBB->predecessors()) {
  271       for (auto &Arg : CS.args()) {
lib/CodeGen/TailDuplicator.cpp
  290   for (MachineInstr &UseMI : MRI->use_instructions(Reg)) {
  637   for (auto SB : TailBB.successors()) {
  675   for (MachineBasicBlock *BB : A.successors())
  683   for (MachineBasicBlock *PredBB : BB.predecessors()) {
  865     for (MachineBasicBlock *Succ : TailBB->successors())
lib/CodeGen/TargetFrameLoweringImpl.cpp
  142   for (const User *U : F.users())
lib/CodeGen/TargetLoweringBase.cpp
  612   for (MVT VT : MVT::fp_valuetypes()) {
  621   for (MVT VT : MVT::all_valuetypes()) {
 1149   for (unsigned i : SuperRegRC.set_bits()) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  276     for (const auto &Operand : LinkerOptions->operands()) {
  279       for (const auto &Option : cast<MDNode>(Operand)->operands()) {
  292     for (const auto &Operand : DependentLibraries->operands()) {
  337   for (const auto &Edge : CFGProfile->operands()) {
  888     for (const auto &Option : LinkerOptions->operands()) {
  890       for (const auto &Piece : cast<MDNode>(Option)->operands())
 1452     for (const auto &Option : LinkerOptions->operands()) {
 1453       for (const auto &Piece : cast<MDNode>(Option)->operands()) {
lib/CodeGen/TargetRegisterInfo.cpp
   68   for (unsigned Reg : RegisterSet.set_bits()) {
  197   for (const TargetRegisterClass* RC : regclasses()) {
  226     for (const TargetRegisterClass *C : regclasses())
lib/CodeGen/TwoAddressInstructionPass.cpp
  230   for (const MachineOperand &MO : MI->operands()) {
  265     for (MachineOperand &UseMO : MRI->use_nodbg_operands(SavedReg)) {
  291   for (MachineInstr &OtherMI : make_range(std::next(OldPos), KillPos)) {
  346   for (MachineInstr &DefMI : MRI->def_instructions(Reg)) {
  388   for (MachineOperand &MO : MRI->reg_operands(Reg)) {
  910   for (const MachineOperand &MO : MI->operands()) {
  943   for (MachineInstr &OtherMI : make_range(End, KillPos)) {
  954     for (const MachineOperand &MO : OtherMI.operands()) {
 1026   for (MachineInstr &DefMI : MRI->def_instructions(Reg)) {
 1092   for (const MachineOperand &MO : KillMI->operands()) {
 1116   for (MachineInstr &OtherMI :
 1129     for (const MachineOperand &MO : OtherMI.operands()) {
 1427             for (const MachineOperand &MO : MI.operands()) {
 1616       for (MachineOperand &MO : MI->operands()) {
 1656     for (MachineOperand &MO : MI->operands()) {
lib/CodeGen/UnreachableBlockElim.cpp
  112   for (MachineBasicBlock *BB : depth_first_ext(&F, Reachable))
  152     for (auto &I : DeadBlocks[i]->instrs())
lib/CodeGen/VirtRegMap.cpp
  277   for (const LiveInterval::SubRange &SR : LI.subranges()) {
  367   for (const LiveInterval::SubRange &SR : LI.subranges()) {
  449     for (MachineInstr *BundledMI : llvm::reverse(MIs)) {
lib/CodeGen/WasmEHPrepare.cpp
  182   for (User *U : ThrowF->users()) {
  282   for (auto &U : FPI->uses()) {
lib/CodeGen/WinEHPrepare.cpp
  166   for (const User *U : CleanupPad->users())
  246     for (const BasicBlock *CatchPadBB : CatchSwitch->handlers()) {
  252     for (const BasicBlock *PredBlock : predecessors(BB))
  263       for (const User *U : CatchPad->users()) {
  299     for (const BasicBlock *PredBlock : predecessors(BB)) {
  306     for (const User *U : CleanupPad->users()) {
  365     for (const BasicBlock *PredBlock : predecessors(BB))
  373     for (const User *U : CatchPad->users()) {
  401     for (const BasicBlock *PredBlock : predecessors(BB))
  406     for (const User *U : CleanupPad->users()) {
  540       for (const User *U : Cleanup->users())
  564         for (const User *U : Catch->users())
  601       for (const User *U : Cleanup->users()) {
  813       for (BasicBlock *Pred : predecessors(OldBlock))
  854       for (PHINode &OldPN : OldBlock->phis()) {
  857       for (PHINode &NewPN : NewBlock->phis()) {
  867       for (BasicBlock *SuccBB : successors(NewBlock)) {
  868         for (PHINode &SuccPN : SuccBB->phis()) {
  902       for (Use &U : OldI->uses()) {
 1140       for (BasicBlock *PredBlock : predecessors(EHBlock)) {
lib/CodeGen/XRayInstrumentation.cpp
   94     for (auto &T : MBB.terminators()) {
  110         for (auto &MO : T.operands())
  127     for (auto &T : MBB.terminators()) {
lib/DebugInfo/CodeView/CVTypeVisitor.cpp
  151   for (auto I : Types) {
lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp
  232   for (uint32_t Offset : reverse(SO)) {
lib/DebugInfo/CodeView/SymbolDumper.cpp
  458   for (auto &Annotation : InlineSite.annotations()) {
lib/DebugInfo/DWARF/DWARFContext.cpp
   79   for (auto LC : MachO->load_commands()) {
  104   for (const auto &U : Units)
  353       for (const auto &U : Units)
  357       for (const auto &U : Units)
  369     for (const auto &U : Units)
  532     if (I == CUs.end())
  625   for (const auto &DWOCU : dwo_compile_units()) {
 1511     for (const SectionRef &Section : Obj.sections()) {
 1648       for (const RelocationRef &Reloc : Section.relocations()) {
 1855   for (const auto &CU : compile_units()) {
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
   31     for (const auto &Desc : Set.descriptors()) {
   53   for (const auto &CU : CTX->compile_units()) {
lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
   55   for (const auto &AttrSpec : AbbrevDecl->attributes()) {
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
 1106   for (const auto &CU : CUs)
 1110   for (const auto &TU : TUs)
lib/DebugInfo/DWARF/DWARFDie.cpp
  149   for (const DWARFDie &C : D.children())
  228     for (const DWARFDie &C : D.children()) {
  502   for (auto Child : children())
  596         for (const auto &AttrSpec : AbbrevDecl->attributes()) {
lib/DebugInfo/DWARF/DWARFUnit.cpp
  209     if (I != R.end() && std::next(I) == R.end())
  209     if (I != R.end() && std::next(I) == R.end())
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  170     for (auto AttrValue : Die.attributes()) {
  246       for (auto Attribute : AbbrDecl.attributes()) {
  659   for (const auto &CU : DCtx.compile_units()) {
  701   for (const auto &CU : DCtx.compile_units()) {
  921   for (const auto &CU : DCtx.compile_units())
 1451   for (const std::unique_ptr<DWARFUnit> &U : DCtx.compile_units()) {
 1455       for (const DWARFDebugInfoEntry &Die : CU->dies())
lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
  135   for (const auto &SS : subsections()) {
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
   56     for (section_iterator Section : Obj->sections()) {
  130   for (const ExportDirectoryEntryRef &Ref : CoffObj->export_directories()) {
  321   for (SectionRef Sec : Module->sections()) {
lib/DebugInfo/Symbolize/Symbolize.cpp
  247   for (const SectionRef &Section : Obj->sections()) {
lib/ExecutionEngine/ExecutionEngine.cpp
  240   for (GlobalObject &GO : M->global_objects())
 1198       for (const auto &GV : M.globals()) {
 1228     for (const auto &GV : M.globals()) {
 1271     for (const auto &GV : M.globals()) {
lib/ExecutionEngine/Interpreter/Execution.cpp
  955   for (auto Case : I.cases()) {
lib/ExecutionEngine/JITLink/BasicGOTAndStubsBuilder.h
   28     std::vector<Block *> Blocks(G.blocks().begin(), G.blocks().end());
   31       for (auto &E : B->edges())
lib/ExecutionEngine/JITLink/JITLink.cpp
  162   for (auto *Sym : defined_symbols()) {
  166       for (auto &E : Sym->getBlock().edges()) {
  184   for (auto *Sym : absolute_symbols())
  189   for (auto *Sym : external_symbols())
  212   for (auto *Sym : G.defined_symbols())
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  142   for (auto *B : G->blocks()) {
  260   for (auto *Sym : G->external_symbols()) {
  271   for (auto *Sym : G->external_symbols()) {
  280     for (auto *Sym : G->external_symbols())
  305   for (auto *Sym : G.defined_symbols())
  322     for (auto &E : Sym->getBlock().edges()) {
  334     for (auto *Sym : G.defined_symbols())
  347     for (auto *B : G.blocks())
lib/ExecutionEngine/JITLink/JITLinkGeneric.h
  202         for (auto &E : B->edges()) {
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  105   for (auto &SecRef : Obj.sections()) {
  206   for (auto &SymRef : Obj.symbols()) {
lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  205     for (auto &S : Obj.sections()) {
lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
  207     for (auto &S : Obj.sections()) {
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  258   for (auto M : OwnedModules.added())
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
  141     for (auto &GV : M.global_values()) {
  194   for (auto &F : M.functions()) {
  226   for (auto &A : M.aliases())
  231     for (auto &G : M.globals())
lib/ExecutionEngine/Orc/Core.cpp
  214     for (auto &KV : make_range(std::next(JDs.begin()), JDs.end())) {
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
   98   for (const auto &CtorDtor : CtorDtors) {
  298   for (auto _ : Archive.children(Err2)) {
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  245   for (auto &A : F.args())
  259   for (auto &GV : M.global_values()) {
  369   for (auto *MF : MFs->operands())
lib/ExecutionEngine/Orc/Layer.cpp
   34     for (auto &G : M.global_values()) {
  162   for (auto &Sym : (*Obj)->symbols()) {
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
   90     for (auto *Sym : G.defined_symbols())
  109     for (auto *Sym : G.absolute_symbols())
  173     for (auto *Sym : G.defined_symbols())
  179     for (auto *Sym : G.absolute_symbols())
  190     for (auto *Sym : G.defined_symbols())
  200     for (auto *Sym : G.defined_symbols()) {
  210       for (auto &E : Sym->getBlock().edges()) {
  246     for (auto *Sym : G.defined_symbols())
  251         for (auto &E : Sym->getBlock().edges()) {
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  298     for (auto Ctor : orc::getConstructors(*M))
  300     for (auto Dtor : orc::getDestructors(*M))
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  273       for (auto Ctor : orc::getConstructors(*M)) {
  280       for (auto Dtor : orc::getDestructors(*M)) {
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
  110     for (auto &Sym : (*Obj)->symbols()) {
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
   61   for (auto &I : BB->instructionsWithoutDebug())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  216     for (auto &Sym : Obj.symbols()) {
  634     for (const RelocationRef &Reloc : SI->relocations())
  664     for (const RelocationRef &Reloc : SI->relocations())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  162   for (const auto &Sec : Obj->sections()) {
  574   for (auto &Section : Obj.sections()) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
  234   for (const auto &Section : Obj.sections()) {
lib/ExecutionEngine/TargetSelect.cpp
   53     if (I == TargetRegistry::targets().end()) {
lib/FuzzMutate/IRMutator.cpp
  155   for (Instruction &Inst : instructions(F)) {
lib/FuzzMutate/Operations.cpp
  158       for (PHINode &PHI : Block->phis())
lib/FuzzMutate/RandomIRBuilder.cpp
  104     for (Use &U : I->operands())
lib/IR/AbstractCallSite.cpp
   83   for (const MDOperand &Op : CallbackMD->operands()) {
lib/IR/AsmWriter.cpp
  125       for (const Value *Op : C->operands())
  139   for (const GlobalVariable &G : M->globals()) {
  145   for (const GlobalAlias &A : M->aliases()) {
  150   for (const GlobalIFunc &I : M->ifuncs()) {
  156     for (const Use &U : F.operands())
  165     for (const Argument &A : F.args())
  170         for (const Value *Op : I.operands())
  187   for (const Use &U : V->uses())
  260       for (const Value *Op : C->operands())
  278   for (const Function &F : make_range(M->rbegin(), M->rend())) {
  283     for (const Argument &A : F.args())
  287         for (const Value *Op : I.operands())
  296   for (const GlobalVariable &G : M->globals())
  300   for (const GlobalAlias &A : M->aliases())
  302   for (const GlobalIFunc &I : M->ifuncs())
  304   for (const GlobalVariable &G : M->globals())
  307   for (const GlobalAlias &A : M->aliases())
  309   for (const GlobalIFunc &I : M->ifuncs())
  312     for (const Use &U : F.operands())
  334     for (const User *U : MAV->users())
  933   for (const GlobalVariable &Var : TheModule->globals()) {
  942   for (const GlobalAlias &A : TheModule->aliases()) {
  947   for (const GlobalIFunc &I : TheModule->ifuncs()) {
  953   for (const NamedMDNode &NMD : TheModule->named_metadata()) {
 1071         for (auto &Op : I.operands())
 1775     for (auto &I : N->dwarf_operands()) {
 2459   for (const GlobalObject &GO : TheModule->global_objects())
 2629   for (const GlobalVariable &GV : M->globals()) {
 2635   for (const GlobalAlias &GA : M->aliases())
 2640   for (const GlobalIFunc &GI : M->ifuncs())
 2660   for (const NamedMDNode &Node : M->named_metadata())
 3469     for (const Argument &Arg : F->args()) {
 3736     for (auto Case : SI.cases()) {
 3800     for (const BasicBlock *PadBB : CatchSwitch->handlers()) {
 4273         for (auto &Op : I.operands())
lib/IR/Attributes.cpp
  809   for (const auto &TDA : B.td_attrs())
 1604   for (auto I : B.td_attrs())
 1632   for (auto I : B.td_attrs())
 1644   for (const auto &I : td_attrs())
lib/IR/AutoUpgrade.cpp
 1621                                CI.arg_operands().end());
 3534                                  CI->arg_operands().end());
 3594                                  CI->arg_operands().end());
 3660                                  CI->arg_operands().end());
 3680                                  CI->arg_operands().end());
 4061   for (auto &GV : M.globals()) {
 4132   for (Metadata *MD : T->operands())
lib/IR/BasicBlock.cpp
  114                        instructionsWithoutDebug().end());
lib/IR/Constants.cpp
  476     for (const Value *Op : WorkItem->operands()) {
  502   for (const User *U : users()) {
lib/IR/DIBuilder.cpp
  995     for (const MDOperand &O : T->operands())
lib/IR/DebugInfo.cpp
   63   for (auto *CU : M.debug_compile_units())
   65   for (auto &F : M.functions()) {
  370   for (auto &GV : M.globals()) {
  509     for (auto &I : N->operands())
  581     for (auto &I : N->operands())
  615   for (auto &GV : M.globals())
  668     for (MDNode *Op : NMD.operands())
lib/IR/DebugInfoMetadata.cpp
  955   for (const auto &It : expr_ops()) {
 1064   for (auto Op : Expr->expr_ops()) {
 1087   for (auto Op : Expr->expr_ops()) {
 1141     for (auto Op : Expr->expr_ops()) {
lib/IR/DebugLoc.cpp
  107   for (const DILocation *MD : reverse(InlinedAtLocations))
lib/IR/DiagnosticInfo.cpp
  365   for (const DiagnosticInfoOptimizationBase::Argument &Arg :
lib/IR/Function.cpp
  213                                BB.instructionsWithoutDebug().end());
 1421   for (const Use &U : uses()) {
 1447   for (const User *U : users())
 1457   for (const Instruction &I : instructions(this))
lib/IR/IRPrintingPasses.cpp
   36     for(const auto &F : M.functions()) {
lib/IR/Instruction.cpp
  496   for (const Use &U : uses()) {
lib/IR/Instructions.cpp
  366   for (auto &BOI : bundle_op_infos()) {
 1860     for (Value *Op : MV->operands()) {
lib/IR/LegacyPassManager.cpp
  281                   FunctionToInstrCount.keys().end(),
lib/IR/Metadata.cpp
  549   for (auto &Op : mutable_operands())
  628   for (const auto &Op : operands()) {
  641   for (Metadata *MD : N->operands())
lib/IR/Module.cpp
  294   for (const MDNode *Flag : ModFlags->operands()) {
  443   for (GlobalVariable &GV : globals())
  446   for (GlobalAlias &GA : aliases())
  449   for (GlobalIFunc &GIF : ifuncs())
  606   for (Value *Op : Init->operands()) {
lib/IR/ProfileSummary.cpp
  122   for (auto &&MDOp : EntriesMD->operands()) {
lib/IR/SafepointIRVerifier.cpp
  178         for (BasicBlock *S : successors(B))
  351       for (Value *InV: PN->incoming_values())
  695       for (const Value *V : I.operands())
  753   for (const Argument &A : BB->getParent()->args())
  866     for (const Value *V : I.operands())
lib/IR/TypeFinder.cpp
   35   for (const auto &G : M.globals()) {
   42   for (const auto &A : M.aliases()) {
   53     for (const Use &U : FI.operands())
   57     for (const auto &A : FI.args())
   67         for (const auto &O : I.operands())
   79   for (const auto &NMD : M.named_metadata())
   80     for (const auto &MDOp : NMD.operands())
  144   for (const auto &I : U->operands())
  156   for (Metadata *Op : V->operands()) {
lib/IR/Value.cpp
   87     for (auto *U : users())
  369   for (auto &O : Expr->operands()) {
lib/IR/Verifier.cpp
  374     for (const GlobalVariable &GV : M.globals())
  377     for (const GlobalAlias &GA : M.aliases())
  380     for (const NamedMDNode &NMD : M.named_metadata())
  559   for (const Value *TheNextUser : User->materialized_users())
  676         for (Value *Op : InitArray->operands()) {
  743   for (const Use &U : C.operands()) {
  777   for (const MDNode *MD : NMD.operands()) {
  806   for (const Metadata *Op : MD.operands()) {
  958   for (Metadata *Op : Params->operands()) {
 1016     for (Metadata *Ty : N.getTypeArray()->operands()) {
 1063     for (Metadata *Op : N.getEnumTypes()->operands()) {
 1071     for (Metadata *Op : N.getRetainedTypes()->operands()) {
 1080     for (Metadata *Op : N.getGlobalVariables()->operands()) {
 1087     for (Metadata *Op : N.getImportedEntities()->operands()) {
 1094     for (Metadata *Op : N.getMacros()->operands()) {
 1120     for (Metadata *Op : Node->operands()) {
 1145     for (Metadata *Op : ThrownTypes->operands())
 1206     for (Metadata *Op : N.getElements()->operands()) {
 1331   for (const MDNode *N : Idents->operands()) {
 1349   for (const MDNode *N : CommandLines->operands()) {
 1366   for (const MDNode *MDN : Flags->operands())
 1478     for (const MDOperand &MDO : cast<MDNode>(Op->getOperand(2))->operands())
 1900     for (const Use &U : C->operands()) {
 2038   for (const User *U : Call.users()) {
 2205   for (const Argument &Arg : F.args()) {
 2387     for (const PHINode &PN : BB.phis()) {
 2472   for (auto &Case : SI.cases()) {
 2510     for (Value *V : CBI.args())
 2807   for (Value *IncValue : PN.incoming_values()) {
 3446   for (const User *U : SwiftErrorVal->users()) {
 3598     for (BasicBlock *PredBB : predecessors(BB)) {
 3623   for (BasicBlock *PredBB : predecessors(BB)) {
 3775     for (User *U : CurrentPad->users()) {
 3956   for (BasicBlock *Handler : CatchSwitch.handlers()) {
 4065     for (User *U : I.users()) {
 4088   for (Use &U : I.uses()) {
 4279   for (Value *V : Call.args())
 4441     for (Value *Arg : Call.args()) {
lib/LTO/LTO.cpp
  444     for (const irsymtab::Reader::SymbolRef &Sym :
  681   for (GlobalVariable &GV : M.globals())
  686   for (auto &GA : M.aliases())
  772     for (GlobalValue &GV : M.global_values())
lib/LTO/LTOBackend.cpp
  463   for (auto &GV : Mod.global_values())
lib/LTO/LTOCodeGenerator.cpp
  404   for (auto &GV : TheModule.globals())
  406   for (auto &GV : TheModule.aliases())
  454     for (auto &GV : MergedModule->globals())
  456     for (auto &GV : MergedModule->aliases())
lib/LTO/UpdateCompilerUsed.cpp
   37     for (GlobalVariable &GV : TheModule.globals())
   39     for (GlobalAlias &GA : TheModule.aliases())
lib/Linker/IRMover.cpp
  744   for (GlobalValue &SGV : SrcM->globals()) {
  774   for (GlobalValue &SGV : SrcM->aliases())
 1180   for (const NamedMDNode &NMD : SrcM->named_metadata()) {
 1186     for (const MDNode *Op : NMD.operands())
lib/Linker/LinkModules.cpp
  501   for (GlobalVariable &GV : SrcM->globals())
  511   for (GlobalAlias &GA : SrcM->aliases())
  518   for (GlobalVariable &GV : SrcM->globals())
  526   for (GlobalAlias &GA : SrcM->aliases())
lib/MC/ELFObjectWriter.cpp
  655   for (const MCSymbol &S : Asm.symbols()) {
lib/MC/MCAsmStreamer.cpp
  928       for (const unsigned char C : Data.bytes()) {
lib/MC/MCMachOStreamer.cpp
  482   for (const MCSymbol &Symbol : getAssembler().symbols()) {
lib/MC/MCStreamer.cpp
   80   for (const unsigned char C : Data.bytes()) {
lib/MC/MachObjectWriter.cpp
  554   for (const MCSymbol &Symbol : Asm.symbols()) {
  567   for (const MCSymbol &Symbol : Asm.symbols()) {
  593   for (const MCSymbol &Symbol : Asm.symbols()) {
  968     for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) {
lib/MC/WasmObjectWriter.cpp
  413   for (const MCSymbol &S : Asm.symbols()) {
 1144   for (const MCSymbol &S : Asm.symbols()) {
 1199   for (const MCSymbol &S : Asm.symbols()) {
 1284   for (const MCSymbol &S : Asm.symbols()) {
 1402   for (const MCSymbol &S : Asm.symbols()) {
 1432   for (const MCSymbol &S : Asm.symbols()) {
lib/MC/WinCOFFObjectWriter.cpp
  675   for (const MCSymbol &Symbol : Asm.symbols())
lib/MC/XCOFFObjectWriter.cpp
  294   for (const MCSymbol &S : Asm.symbols()) {
lib/MCA/HardwareUnits/Scheduler.cpp
  251   for (const InstRef &IR : make_range(PendingSet.begin(), EndIt)) {
lib/Object/ArchiveWriter.cpp
  377   for (const object::BasicSymbolRef &S : Obj->symbols()) {
lib/Object/COFFObjectFile.cpp
  458   for (const SectionRef &S : sections()) {
  474   for (const SectionRef &S : sections()) {
  527   for (const debug_directory &D : debug_directories())
  974   for (const SectionRef &Section : sections()) {
 1749   for (const SectionRef &S : O->sections()) {
 1850     for (const SectionRef &S : Obj->sections()) {
lib/Object/ELFObjectFile.cpp
  409   for (const SectionRef &Section : sections()) {
  441   for (const auto &Relocation : RelaPlt->relocations()) {
lib/Object/IRObjectFile.cpp
   75   for (const SectionRef &Sec : Obj.sections()) {
lib/Object/IRSymtab.cpp
  139       for (MDNode *MDOptions : LinkerOptions->operands())
  140         for (const MDOperand &MDOption : cast<MDNode>(MDOptions)->operands())
  149       for (MDNode *MDOptions : N->operands()) {
lib/Object/MachOObjectFile.cpp
 1690   for (const SymbolRef &Symbol : symbols()) {
 1994   for (const SectionRef &Section : sections()) {
 3015     for (const NodeState &node : nodes()) {
 4000   for (const SectionRef &Section : Obj->sections()) {
lib/Object/MachOUniversal.cpp
  220   for (const auto &Obj : objects())
lib/Object/ModuleSymbolTable.cpp
   62   for (GlobalValue &GV : M->global_values())
  165     for (auto &KV : Streamer.symverAliases())
lib/Object/Object.cpp
  152   if (sections.begin() == sections.end())
  166   if (symbols.begin() == symbols.end())
lib/Object/RecordStreamer.cpp
  143   for (const GlobalValue &GV : M.global_values()) {
lib/Object/SymbolSize.cpp
   45     if (Syms.begin() == Syms.end())
   47     for (ELFSymbolRef Sym : Syms)
   62   for (SectionRef Sec : O.sections()) {
lib/Object/TapiFile.cpp
   44   for (const auto *Symbol : interface.symbols()) {
lib/ObjectYAML/MinidumpEmitter.cpp
   86   size_t Num = std::distance(Range.begin(), Range.end());
   88   std::uninitialized_copy(Range.begin(), Range.end(), Array.begin());
lib/Option/ArgList.cpp
   49   for (Arg *const &A : filtered(Id)) {
  132   for (auto Arg: filtered(Id0, Id1, Id2)) {
  140   for (auto Arg : filtered(Id0, Id1, Id2)) {
  150   for (auto Arg: filtered(Id0)) {
  164   for (auto *Arg : filtered(Id0))
lib/ProfileData/Coverage/CoverageMapping.cpp
  604   for (const auto &Function : getCoveredFunctions())
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  669   for (const auto &Section : OF.sections()) {
  755     for (auto &ObjForArch : Universal->objects()) {
  776     for (auto &Child : Ar->children(Err)) {
lib/ProfileData/GCOV.cpp
  484   for (auto E : V->dsts()) {
  508     for (auto E : V->dsts()) {
  547       for (auto E : Block->srcs()) {
  554     for (auto E : Block->dsts()) {
  839     for (const GCOVBlock &Block : Func->blocks())
  865   for (const GCOVEdge *Edge : Block.dsts()) {
lib/ProfileData/InstrProfReader.cpp
  670     for (StringRef Name : Underlying.HashTable->keys()) {
lib/Support/CodeGenCoverage.cpp
  114     for (uint64_t I : RuleCoverage.set_bits())
lib/Support/DynamicLibrary.cpp
   83       for (void *Handle : llvm::reverse(Handles)) {
lib/Support/Path.cpp
  694   for (StringRef C :
lib/Support/Statistic.cpp
  258   for (const auto &Stat : StatInfo->statistics())
lib/Support/TargetRegistry.cpp
   35     if (I == targets().end()) {
   65   if (targets().begin() == targets().end()) {
   73   if (I == targets().end()) {
   78   auto J = std::find_if(std::next(I), targets().end(), ArchMatch);
   79   if (J != targets().end()) {
  120   for (const auto &T : TargetRegistry::targets()) {
lib/Support/Timer.cpp
  337   for (const PrintRecord &Record : make_range(TimersToPrint.rbegin(),
lib/Support/Unix/DynamicLibrary.inc
   18   for (void *Handle : llvm::reverse(Handles))
lib/Support/VirtualFileSystem.cpp
  158   for (StringRef Comp : llvm::make_range(path::begin(Path), path::end(Path)))
 1128     for (std::unique_ptr<Entry> &SubEntry :
 1227       for (std::unique_ptr<RedirectingFileSystem::Entry> &Content :
 1268       for (std::unique_ptr<RedirectingFileSystem::Entry> &SubEntry :
 1691   for (const std::unique_ptr<RedirectingFileSystem::Entry> &DirEntry :
 1832     for (std::unique_ptr<RedirectingFileSystem::Entry> &SubEntry :
lib/Target/AArch64/AArch64A53Fix835769.cpp
  143   for (MachineBasicBlock *S : MBB->predecessors())
  162     for (MachineInstr &I : make_range(FMBB->rbegin(), FMBB->rend()))
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  553     for (auto &U : I.operands()) {
  607     for (auto &I : MI->uses())
  609     for (auto &I : MI->defs())
  672     for (auto &I : MI->uses())
  674     for (auto &I : MI->defs())
lib/Target/AArch64/AArch64CallLowering.cpp
  426   for (auto &Arg : F.args()) {
lib/Target/AArch64/AArch64CollectLOH.cpp
  465   for (const MachineOperand &MO : MI.operands()) {
  484   for (const MachineOperand &MO : MI.uses()) {
  515     for (const MachineBasicBlock *Succ : MBB.successors()) {
  516       for (const auto &LI : Succ->liveins()) {
  525     for (const MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) {
lib/Target/AArch64/AArch64ConditionOptimizer.cpp
  155   for (auto SuccBB : MBB->successors())
  345   for (MachineDomTreeNode *I : depth_first(DomTree)) {
lib/Target/AArch64/AArch64ConditionalCompares.cpp
  395   for (auto &I : make_range(MBB->begin(), MBB->getFirstTerminator())) {
  953   for (auto *I : depth_first(DomTree))
lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
   65   for (const MachineOperand &MO : MI.uses())
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
  153   for (BasicBlock *BB : L.blocks()) {
lib/Target/AArch64/AArch64FastISel.cpp
 2069       for (auto &Opnd : MI->uses()) {
 2562   for (auto *Succ : BI->successors())
 2969   for (auto const &Arg : F->args()) {
 3023   for (auto const &Arg : F->args()) {
 3603     for (auto &Arg : II->arg_operands()) {
 4902   for (auto &Arg : I->operands()) {
lib/Target/AArch64/AArch64FrameLowering.cpp
  195       for (const MachineOperand &MO : MI.operands()) {
 2154     for (const RegPairInfo &RPI : reverse(RegPairs))
 2231   for (unsigned Reg : SavedRegs.set_bits())
 2247                   : SavedRegs.set_bits()) dbgs()
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  390   for (SDNode *UI : Node->uses())
  392       for (SDNode *UII : UI->uses())
  698   for (auto Use : N->uses()) {
  935   for (SDNode *UI : Node->uses()) {
 1019   for (SDNode *UI : Node->uses()) {
 2088   for (SDNode *Node : Op.getNode()->uses()) {
lib/Target/AArch64/AArch64ISelLowering.cpp
  310   for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
  324   for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
  537   for (MVT VT : MVT::fp_valuetypes()) {
  543   for (MVT VT : MVT::integer_valuetypes())
  756     for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
  772       for (MVT InnerVT : MVT::fixedlen_vector_valuetypes()) {
  808     for (MVT VT : MVT::integer_scalable_vector_valuetypes()) {
  856   for (MVT InnerVT : MVT::all_valuetypes())
 2655   for (const SDValue &Elt : N->op_values()) {
 8576   for (const Use &U : Ext->uses()) {
11674   for (SDNode *N : GN->uses()) {
11835   for (SDNode *Node : Copy->uses()) {
lib/Target/AArch64/AArch64InstrInfo.cpp
 1274   for (auto *BB : MBB->successors())
 5404   for (const MachineOperand &MOP : MI.operands()) {
 5438     for (const MachineOperand &MOP : MI.operands()) {
lib/Target/AArch64/AArch64InstructionSelector.cpp
  413   for (auto &MO : I.operands()) {
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  876       for (MachineInstr &MI : make_range(std::next(I), Paired))
  963       for (MachineInstr &MI : make_range(StoreI->getIterator(),
 1037   for (MachineInstr &MI : make_range(StoreI->getIterator(),
lib/Target/AArch64/AArch64MCInstLower.cpp
  299   for (const MachineOperand &MO : MI->operands()) {
lib/Target/AArch64/AArch64PromoteConstant.cpp
  546   for (Instruction &I : instructions(&F)) {
  549     for (Use &U : I.operands()) {
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
  168   for (MachineInstr &PredI : make_range(std::next(RIt), PredMBB->rend())) {
  462   for (MachineInstr &MMI : make_range(FirstUse, PredMBB->end()))
  464   for (MachineInstr &MMI : make_range(MBB->begin(), LastChange))
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  681       for (const MachineInstr &UseMI :
lib/Target/AArch64/AArch64SpeculationHardening.cpp
  498     for (MachineOperand Op : MI.defs())
  509       for (auto Def : MI.defs()) {
  522       for (auto Use : MI.uses()) {
  570       for (MachineOperand Op : MI.defs())
  631       for (MachineOperand Op : MI.uses())
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  728     for (const auto BB : L->blocks()) {
  880   for (const User *U : I.users()) {
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
   63   for (User *U : GV.users())
   82     for (User *UU : U->users())
   93   for (GlobalAlias &A : M.aliases()) {
  119   for (GlobalVariable &GV : M.globals()) {
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  125     for (const Use &U : C->operands()) {
  217   for (auto *Node : reverse(NodeList)) {
  314       for (const Use &U : I.operands()) {
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
   80   for (auto I : predecessors(Root))
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  594   for (const MachineOperand &UseOp : MRI.reg_operands(Reg)) {
  654     for (MCPhysReg Reg : reverse(AMDGPU::VGPR_32RegClass.getRegisters())) {
  663       for (MCPhysReg Reg : reverse(AMDGPU::AGPR_32RegClass.getRegisters())) {
  674     for (MCPhysReg Reg : reverse(AMDGPU::SGPR_32RegClass.getRegisters())) {
  699       for (const MachineOperand &MO : MI.operands()) {
  968   for (auto &Arg : MF.getFunction().args()) {
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  460   for (auto &Arg : F.args()) {
  595   for (auto &Arg : F.args()) {
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  205   for (auto &Op : Node->operands())
  260   for (auto Op : Node->operands())
  302   for (auto &Arg : Func.args())
  646   for (auto &Op : Node->operands())
  665   for (auto Op : Node->operands())
  716   for (auto &Arg : Func.args())
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
 1624   for (SDValue V : N->op_values())
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  108   for (MVT VT : MVT::integer_valuetypes()) {
  114   for (MVT VT : MVT::integer_valuetypes()) {
  134   for (MVT VT : MVT::integer_fixedlen_vector_valuetypes()) {
  602   for (const SDNode *U : N->uses()) {
  924   for (const Argument &Arg : Fn.args()) {
 2813   for (SDNode *U : Val->uses()) {
lib/Target/AMDGPU/AMDGPUInline.cpp
  132   for (Value *PtrArg : CS.args()) {
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  167   for (const MachineOperand &MO : I.operands()) {
  449   for (const MachineOperand &MO : Copy->operands()) {
lib/Target/AMDGPU/AMDGPULibCalls.cpp
 1315   for (User* U : CArgVal->users()) {
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
  121   for (auto *U : F.users()) {
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
   95   for (Argument &Arg : F.args()) {
lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
   96   for (User *U : CI->users()) {
  175     for (User *U : GroupSize->users()) {
  180       for (User *ZextUser : ZextGroupSize->users()) {
  249   for (auto *U : DispatchPtr->users()) {
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  209   for (const MachineOperand &MO : MI->explicit_operands()) {
  377   for (const MachineOperand &MO : MI->explicit_operands()) {
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
  653   for (auto MBBI : post_order(&(MF.front()))) {
  707       for (auto &UI : MRI->use_operands(Reg)) {
  740     for (auto &UI : MRI->use_operands(Reg)) {
  757     for (auto &RI : II.defs()) {
  760     for (auto &IRI : II.implicit_operands()) {
  799     for (auto &RI : II.defs()) {
  803     for (auto &IRI : II.implicit_operands()) {
 1024       for (auto &RI : II.uses()) {
 1283     for (auto &TI : MBB->terminators()) {
 1284       for (auto &UI : TI.uses()) {
 1315   for (auto &TI : Exit->terminators()) {
 1316     for (auto &UI : TI.uses()) {
 2558   for (auto &UI : Branch.uses()) {
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
   81   for (auto U : F->users()) {
  101   for (auto UU : U->users())
  109   for (auto &F : M.functions()) {
  129       for (auto U : F.users()) {
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  165       for (auto Use : Op->users()) {
  574   for (auto &U : PrintfFunction->uses()) {
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  384   for (User *AllocaUser : Alloca->users()) {
  405     for (User *GEPUser : AllocaUser->users()) {
  526   for (User *User : Val->users()) {
  650   for (GlobalVariable &GV : Mod->globals()) {
  654     for (const User *U : GV.users()) {
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  169   for (auto &F : M.functions())
  194     for (auto &F : M.functions()) {
  202       for (User *U : F.users()) {
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
   58     for (MachineOperand &Op : MI.operands()) {
  685   for (MachineInstr &MI : Range) {
  686     for (MachineOperand &Def : MI.defs()) {
  725   RemainderBB->splice(RemainderBB->begin(), &MBB, Range.end(), MBB.end());
  764   for (MachineInstr &MI : make_range(NewBegin, NewEnd)) {
  765     for (MachineOperand &Op : MI.uses()) {
 1029   for (MachineInstr &Other : MRI.def_instructions(Reg)) {
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  139   for (Use &U : Arg.uses()) {
  249   for (Argument &Arg : F.args()) {
  433   for (Argument &Arg : F.args()) {
  448   for (Argument &Arg : F.args()) {
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  503   for (const Argument &Arg : F.args()) {
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
   78   for (const Value *V : I->operand_values()) {
  178       for (const Value *Op : GEP->operands()) {
lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
  102   for (BasicBlock *Pred : predecessors(&BB))
  110     for (BasicBlock *Pred : predecessors(Top)) {
lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp
   64       for (const auto &VersionMD : NamedMD->operands()) {
   97     for (const auto &MD : NamedMD->operands())
   98       for (const auto &Op : MD->operands())
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  892   for (auto *MBB : nodes(MF)) {
 1016     for (MachineLoop *ML : depth_first(It))
 1055   for (auto *LB : inverse_children<MachineBasicBlock*>(LoopHeader))
lib/Target/AMDGPU/GCNDPPCombine.cpp
  446   for (auto &Use : MRI->use_nodbg_operands(DPPMovReg)) {
  479       for (auto &Op : MRI->use_nodbg_operands(FwdReg)) {
lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  386   for (MachineBasicBlock *Pred : MBB->predecessors()) {
  477   for (const MachineOperand &Op : Ops) {
  554   for (const MachineOperand &Use : SMRD->uses()) {
  591   for (const MachineOperand &Use : VMEM->uses()) {
  613   for (const MachineOperand &Use : DPP->uses()) {
  751   for (const MachineOperand &Def : VALU->defs()) {
  834   for (const MachineOperand &Use : MI->uses()) {
  921     for (const MachineOperand &Def : MI->defs()) {
  969     for (const auto &MO : MI->implicit_operands()) {
 1054       for (auto MO : MI->implicit_operands())
 1217       for (const MachineOperand &Use : MI->explicit_uses()) {
 1239   for (const MachineOperand &Op : MI->explicit_operands()) {
 1376   for (const MachineOperand &Op : MI->explicit_uses()) {
lib/Target/AMDGPU/GCNIterativeScheduler.cpp
  391       for (auto &Op : MI->operands())
lib/Target/AMDGPU/GCNNSAReassign.cpp
  202       for (auto U : MRI->use_nodbg_operands(Reg)) {
lib/Target/AMDGPU/GCNRegBankReassign.cpp
  361   for (const auto& Op : MI.explicit_uses()) {
  433   for (auto U : MRI->use_nodbg_operands(Reg)) {
  575   for (auto &MI : MRI->use_nodbg_instructions(SrcReg)) {
  597   for (unsigned Reg : RC->getRegisters()) {
  693     for (MachineInstr &MI : MBB.instrs()) {
lib/Target/AMDGPU/GCNRegPressure.cpp
   49       for (const auto &S : LI.subranges()) {
  233   for (const auto &MO : MI.operands()) {
  263     for (const auto &S : LI.subranges())
  330   for (const auto &MO : MI.defs()) {
  381       for (const auto &S : LI.subranges()) {
  406   for (const auto &MO : LastTrackedMI->defs()) {
lib/Target/AMDGPU/GCNRegPressure.h
  229       for (const auto &S : LI.subranges()) {
lib/Target/AMDGPU/GCNSchedStrategy.cpp
  409     for (auto &Op : MI->operands())
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
  428           for (MachineOperand &MO : BI->operands()) {
lib/Target/AMDGPU/R600ISelLowering.cpp
   74   for (MVT VT : MVT::integer_valuetypes()) {
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  169     for (auto &Use : ImageArg.uses()) {
  202     for (const auto &Use : SamplerArg.uses()) {
  309     for (auto &Arg: F->args()) {
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  273   for (BasicBlock *Pred : predecessors(Target)) {
  304     for (BasicBlock *Pred : predecessors(BB)) {
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  212   for (const auto &MO : MRI.reg_nodbg_operands(DstReg)) {
  436   for (auto &MI : MRI.def_instructions(Reg)) {
  438     for (auto &MO : MI.operands()) {
  768     for (const auto &Use : MRI->use_operands(Reg)) {
lib/Target/AMDGPU/SIFoldOperands.cpp
  661     MachineInstr::mop_iterator ImpOpE = UseMI->implicit_operands().end();
 1459   for (MachineBasicBlock *MBB : depth_first(&MF)) {
lib/Target/AMDGPU/SIFormMemoryClauses.cpp
  122   for (const MachineOperand &ResMO : MI.defs()) {
  124     for (const MachineOperand &MO : MI.uses()) {
  210   for (const MachineOperand &MO : MI.operands()) {
  265   for (const MachineOperand &MO : MI.operands()) {
  369         for (MachineOperand &MO : BI->defs())
lib/Target/AMDGPU/SIISelLowering.cpp
 2615   for (const Argument &Arg : CallerF.args()) {
10767   for (const MachineBasicBlock *MBB : ML->blocks()) {
10955   for (auto U : V->users()) {
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  197     for (auto T : inst_counter_types())
  256     for (auto T : inst_counter_types())
  414     for (auto T : inst_counter_types())
  664   for (auto T : inst_counter_types()) {
 1308   for (auto T : inst_counter_types()) {
 1453   for (auto T : inst_counter_types())
 1515         for (MachineBasicBlock *Succ : BI.MBB->successors()) {
lib/Target/AMDGPU/SIInstrInfo.cpp
 1551       for (MachineOperand &MO : I->operands())
 3049   for (MachineOperand &Use : MI.implicit_operands()) {
 3133   for (const MachineOperand &MO : MI.implicit_operands()) {
 4422   for (auto &MO : MI.uses()) {
 4456     for (auto &Succ : RemainderBB->successors()) {
 5722   for (MachineInstr &MI : // Skip the def inst itself.
 6250   for (auto &Op : MI.implicit_operands()) {
 6495   for (auto &UseInst : MRI.use_nodbg_instructions(VReg)) {
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  562   for (const MachineOperand &Op : MI.operands()) {
  586   for (MachineOperand &Use : MI.operands()) {
 1688   for (MachineInstr &MI : MBB.instrs()) {
lib/Target/AMDGPU/SILowerControlFlow.cpp
  170     for(auto &Term : MBB->terminators())
  462   for (const auto &SrcOp : Def->explicit_operands())
lib/Target/AMDGPU/SILowerI1Copies.cpp
  177       for (MachineInstr &MI : MBB->terminators()) {
  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()) {
  553     for (MachineInstr &MI : MBB.phis()) {
  601     for (MachineInstr &Use : MRI->use_instructions(DstReg))
  714       for (MachineInstr &Use : MRI->use_instructions(DstReg))
  774   for (const MachineOperand &MO : MI.operands()) {
lib/Target/AMDGPU/SILowerSGPRSpills.cpp
  133     for (const CalleeSavedInfo &CI : reverse(CSI)) {
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  371         NextSpillReg, Regs.end(), [&MRI, &OtherUsedRegs](MCPhysReg Reg) {
  376     if (NextSpillReg == Regs.end()) { // Registers exhausted
lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
  259   for (MachineBasicBlock *Succ : MBB.successors()) {
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  204   if (I == MBB.terminators().end())
  356           for (auto &Op : I->operands()) {
  373         for (auto *Pred : CurBB->predecessors()) {
  397     for (auto &Op : Lead->operands()) {
  418     for (auto& U : MRI.use_nodbg_instructions(SavedExec)) {
lib/Target/AMDGPU/SIPeepholeSDWA.cpp
  300   for (MachineOperand &UseMO : MRI->use_nodbg_operands(Reg->getReg())) {
  325   for (auto &DefMO : DefInstr->defs()) {
  454   for (MachineInstr &UseInst : MRI->use_nodbg_instructions(PotentialMO->getReg())) {
  497   for (MachineOperand &MO : MI.uses()) {
  530     for (const MachineOperand &Def : MRI->def_operands(Op.getReg())) {
 1177   for (MachineOperand &Op : MI.explicit_uses()) {
lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
  123       for (MachineOperand &MO : MI.operands()) {
  210       for (MachineOperand &DefOpnd : MI.defs()) {
lib/Target/AMDGPU/SIRegisterInfo.cpp
  384   for (const MachineOperand &MO: MI.operands()) {
 1880       for (auto &S : LI.subranges()) {
lib/Target/AMDGPU/SIShrinkInstructions.cpp
  392   for (const MachineOperand &MO : R) {
  475   for (MachineOperand &YTop : MRI.use_nodbg_operands(T)) {
lib/Target/AMDGPU/SIWholeQuadMode.cpp
  272   for (const MachineOperand &Use : MI.uses()) {
  303     for (MachineInstr &DefMI : MRI->def_instructions(Use.getReg()))
  366               for (MachineInstr &DefMI : MRI->def_instructions(Reg))
  389           for (const MachineOperand &MO : MI.defs()) {
  488   for (MachineBasicBlock *Pred : MBB.predecessors()) {
  499   for (MachineBasicBlock *Succ : MBB.successors()) {
lib/Target/ARC/ARCOptAddrMode.cpp
  219   for (auto &Add : MRI->use_nodbg_instructions(B)) {
  304   for (MachineInstr &MI : MRI->use_nodbg_instructions(BaseReg)) {
  405   for (auto &O : Ldst->explicit_operands()) {
lib/Target/ARM/A15SDOptimizer.cpp
  191     for (MachineOperand &MO : MI->operands()) {
  213       for (MachineOperand &MODef : Def->operands()) {
  221         for (MachineInstr &Use : MRI->use_instructions(Reg)) {
  403   for (MachineOperand &MO : MI->operands()) {
lib/Target/ARM/ARMAsmPrinter.cpp
  876     for (const auto *GV : ACPC->promotedGlobals()) {
lib/Target/ARM/ARMBaseInstrInfo.cpp
  561   for (const auto &MO : MI.operands())
lib/Target/ARM/ARMCallLowering.cpp
  436   for (auto &Arg : F.args()) {
  451   for (auto &Arg : F.args()) {
lib/Target/ARM/ARMCodeGenPrepare.cpp
  453   for (Use &U : From->uses()) {
  882   for (auto &Op : I->operands()) {
  965         for (auto &U : I->operands()) {
  975       for (Use &U : V->uses()) {
 1037         for (auto &Op : CI.operands()) {
lib/Target/ARM/ARMConstantIslandPass.cpp
  893   for (MachineInstr &LiveMI : make_range(OrigBB->rbegin(), LivenessEnd))
 1934   for (ImmBranch &Br : reverse(ImmBranches)) {
 2430   for (const MachineBasicBlock::RegisterMaskPair &RegMaskPair : BB->liveins())
lib/Target/ARM/ARMFastISel.cpp
  255   for (const MachineOperand &MO : MI->operands()) {
  271   for (const MCOperandInfo &opInfo : MCID.operands())
 1344   for (const BasicBlock *SuccBB : IB->successors())
 2233   for (Value *Op :  I->operands()) {
 3024   for (const Argument &Arg : F->args()) {
 3056   for (const Argument &Arg : F->args()) {
lib/Target/ARM/ARMFrameLowering.cpp
 2301     for (MachineBasicBlock *PredBB : CurMBB->predecessors()) {
 2317   for (const auto &LI : PrologueMBB.liveins()) {
lib/Target/ARM/ARMISelLowering.cpp
  711   for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
  712     for (MVT InnerVT : MVT::fixedlen_vector_valuetypes()) {
  913       for (MVT VT : MVT::integer_fixedlen_vector_valuetypes()) {
  984   for (MVT VT : MVT::fp_valuetypes()) {
  995   for (MVT VT : MVT::integer_valuetypes())
 1071   for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
 3300   for (auto *U : V->users())
 3305       for (auto *UU : U->users())
11665   for (auto U : N->uses()) {
13301   for (MVT Tp : MVT::integer_valuetypes()) {
14799   for (Use &U : Shuffle->uses()) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  204   for (const auto &MO : MI.operands()) {
  873       for (const MachineOperand &MO : MI->implicit_operands()) {
  936     for (MachineInstr &MI : FixupRange) {
  938         for (MachineOperand &MO : MI.implicit_operands()) {
  955     for (MachineInstr &MI : FixupRange) {
  956       for (MachineOperand &MO : MI.uses()) {
 1555   for (const MachineOperand &MO : MI.implicit_operands())
 1981   for (auto Use : Prev->uses())
lib/Target/ARM/ARMLowOverheadLoops.cpp
  121   for(auto &MI : make_range(T(Begin), End)) {
  122     for (auto &MO : MI.operands()) {
  134   for(auto &MI : make_range(MachineBasicBlock::iterator(Begin), End)) {
  135     for (auto &MO : MI.operands()) {
  251     for (auto *MBB : ML->getHeader()->predecessors()) {
  266   for (auto *MBB : reverse(ML->getBlocks())) {
  293       for (auto &MO : MI.operands()) {
lib/Target/ARM/ARMMCInstLower.cpp
  155   for (const MachineOperand &MO : MI->operands()) {
lib/Target/ARM/ARMParallelDSP.cpp
  521     for (Instruction &I : reverse(BB)) {
  759       for (auto &Op : Source->operands())
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
11560   for (NearMissInfo &I : reverse(NearMissesIn)) {
lib/Target/ARM/MVETailPredication.cpp
  306         for (auto &U : Int->args()) {
  427     for (auto &U : I->operands()) {
  438   for (auto I : L->blocks())
lib/Target/ARM/Thumb1FrameLowering.cpp
  585   for (auto Reg : GPRsNoLRSP.set_bits()) {
  641     for (auto MO: MBBI->operands())
  756     for (auto MO: MBBI->operands())
  920     for (unsigned Reg : llvm::reverse(RegsToPush))
  978     for (auto Op : Terminator->implicit_operands()) {
lib/Target/ARM/Thumb2ITBlockPass.cpp
   87   for (auto &MO : MI->operands()) {
  114   for (MachineOperand &MO : MI->operands()) {
lib/Target/ARM/Thumb2SizeReduction.cpp
  300   for (const MachineOperand &MO : CPSRDef->operands()) {
  309   for (const MachineOperand &MO : Use->operands()) {
  974   for (const MachineOperand &MO : MI.operands()) {
  989   for (const MachineOperand &MO : MI.operands()) {
 1040   for (auto *Pred : MBB.predecessors()) {
lib/Target/AVR/AVRExpandPseudoInsts.cpp
  875   for (MachineOperand &MO : MI.operands()) {
lib/Target/AVR/AVRFrameLowering.cpp
  469         for (const MachineOperand &MO : MI.operands()) {
lib/Target/AVR/AVRISelLowering.cpp
   58   for (MVT VT : MVT::integer_valuetypes()) {
   67   for (MVT VT : MVT::integer_valuetypes()) {
  133   for (MVT VT : MVT::integer_valuetypes()) {
  154   for (MVT VT : MVT::integer_valuetypes()) {
  174   for (MVT VT : MVT::integer_valuetypes()) {
  179   for (MVT VT : MVT::integer_valuetypes()) {
  185   for (MVT VT : MVT::integer_valuetypes()) {
  372   for (SDValue const &Value : Op->op_values()) {
lib/Target/AVR/AVRMCInstLower.cpp
   65   for (MachineOperand const &MO : MI.operands()) {
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  399   for (User *U : Call->users()) {
  431   for (User *U : BitCast->users()) {
  461   for (User *U : GEP->users()) {
lib/Target/BPF/BPFISelLowering.cpp
  123   for (MVT VT : MVT::integer_valuetypes()) {
lib/Target/BPF/BPFMIChecking.cpp
  112   for (const MachineOperand &MO : MI.operands()) {
lib/Target/BPF/BTFDebug.cpp
 1057   for (const GlobalVariable &Global : M->globals()) {
lib/Target/Hexagon/BitTracker.cpp
  872   for (const MachineOperand &MO : MI.operands()) {
  961     for (const MachineBasicBlock *SB : B.successors()) {
  972     for (const MachineBasicBlock *SB : B.successors())
  985   for (MachineInstr &UseI : MRI.use_nodbg_instructions(Reg))
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
  200   for (auto I: HexagonMCInstrInfo::bundleInstructions(Instr)) {
  472     auto i = Instructions.end() - 1;
lib/Target/Hexagon/HexagonBitSimplify.cpp
  276   for (auto *DTN : children<MachineDomTreeNode*>(MDT->getNode(&B)))
  290   for (auto &Op : MI.operands()) {
  302   for (auto &Op : MI.operands()) {
  991   for (auto *DTN : children<MachineDomTreeNode*>(N))
 1015     for (auto &Op : MI->operands()) {
 1325     for (auto &Op : MI->uses()) {
 2139   for (auto &Op : MI->uses()) {
lib/Target/Hexagon/HexagonBitTracker.cpp
   63   for (const Argument &Arg : MF.getFunction().args()) {
  195   for (const MachineOperand &MO : MI.operands()) {
  244   for (const MachineOperand &MO : MI.operands()) {
 1042   for (const MachineOperand &Op : MI.operands()) {
lib/Target/Hexagon/HexagonBlockRanges.cpp
  224   for (const TargetRegisterClass *RC : TRI.regclasses()) {
  238   for (auto I : B.liveins()) {
  320     for (auto &Op : In.operands()) {
  336     for (auto &Op : In.operands()) {
  350     for (auto &Op : In.operands()) {
  398   for (auto *SB : B.successors())
lib/Target/Hexagon/HexagonBranchRelaxation.cpp
  115     for (auto &MI : B.instrs()) {
lib/Target/Hexagon/HexagonCFGOptimizer.cpp
  109   for (MachineBasicBlock *PB : MBB->predecessors())
lib/Target/Hexagon/HexagonCommonGEP.cpp
  329   for (auto *DTN : children<DomTreeNode*>(DT->getNode(Root)))
 1250     for (auto DTN : children<DomTreeNode*>(DT->getNode(B)))
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1129   for (const MachineOperand &Op : MRI->use_operands(Rd.Reg)) {
 1151   for (MachineOperand &Op : MI.operands())
 1858     for (MachineOperand &Op : MRI->use_operands(ED.Rd.Reg)) {
 1924   for (const MachineOperand &Op : MI.operands()) {
lib/Target/Hexagon/HexagonConstPropagation.cpp
  692   for (const MachineOperand &MO : MI.operands()) {
  751     for (const MachineBasicBlock *SB : B.successors()) {
  771     for (const MachineBasicBlock *SB : B.successors())
  786   for (MachineInstr &MI : MRI->use_nodbg_instructions(Reg)) {
  839   for (const MachineBasicBlock *SB : MB->successors())
  928       for (const MachineBasicBlock *SSB : SB->successors())
  939       for (const MachineBasicBlock *SB : B.successors()) {
  968   for (MachineBasicBlock *B : post_order(&MF))
 1014       for (MachineBasicBlock *SB : B->successors()) {
 2792     for (const MachineOperand &MO : MI.operands()) {
 2813         for (const MachineOperand &MO : MI.operands()) {
 2831   for (const MachineOperand &MO : MI.operands()) {
 3094     for (MachineOperand &MO : NewMI->operands())
 3159       for (auto &Op : NI->operands())
lib/Target/Hexagon/HexagonCopyToCombine.cpp
  441     for (MachineOperand &Op : MI.operands()) {
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  384     for (const MachineOperand &MO : MI.operands()) {
  401   for (const MachineOperand &MO : MI->operands()) {
  491     for (const MachineOperand &MO : MI.operands()) {
  729     for (const MachineOperand &MO : make_range(MOI, MI->operands_end()))
lib/Target/Hexagon/HexagonExpandCondsets.cpp
  353       for (LiveInterval::SubRange &S : LI.subranges()) {
  404       for (auto *P : B->predecessors())
  473     for (auto &Op : DefI->operands()) {
  529     for (LiveInterval::SubRange &S : LI.subranges()) {
  679     for (auto &Op : MI.operands())
  728   for (auto &Op : MI->operands()) {
  764     for (auto &Op : MI->operands()) {
  798   for (auto &Op : MI.operands()) {
  899   for (auto &Op : NewI->operands())
  920     for (auto &Op : MI->operands()) {
  991     for (auto &Op : MI->operands()) {
 1081           for (auto &Op : I->operands())
 1283     for (MachineOperand &Op : MI->operands())
lib/Target/Hexagon/HexagonFrameLowering.cpp
  297       for (const MachineOperand &MO : MI->operands()) {
  791       for (auto &SB : MBB.successors())
  810   for (auto &SB : MBB.successors())
lib/Target/Hexagon/HexagonGenExtract.cpp
  223   for (auto *DTN : children<DomTreeNode*>(DT->getNode(B)))
lib/Target/Hexagon/HexagonGenInsert.cpp
  979   for (auto *DTN : children<MachineDomTreeNode*>(MDT->getNode(B))) {
 1455   for (auto *DTN : children<MachineDomTreeNode*>(N))
 1477     for (const MachineOperand &MO : MI->operands()) {
lib/Target/Hexagon/HexagonGenMux.cpp
  171   for (const MachineOperand &MO : MI->operands()) {
  364     for (MachineOperand &Op : I->operands()) {
lib/Target/Hexagon/HexagonGenPredicate.cpp
  353         for (const MachineOperand &MO : DefI->operands())
lib/Target/Hexagon/HexagonHazardRecognizer.cpp
  115   for (const MachineOperand &MO : MI->operands())
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
 1212     for (SDNode &N : CurDAG->allnodes())
 1861   for (const User *U : V->users()) {
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 1383   for (SDNode &S : DAG.allnodes())
 1469     for (SDNode *U : S->uses()) {
 1483   for (SDNode *S : reverse(Queue))
lib/Target/Hexagon/HexagonISelLowering.cpp
 1341   for (MVT VT : MVT::integer_valuetypes()) {
 1378     for (MVT VT : MVT::integer_valuetypes())
 1385     for (MVT VT : MVT::fp_valuetypes())
 1390   for (MVT VT : MVT::integer_valuetypes()) {
 1398   for (MVT VT : MVT::fp_valuetypes())
 1402   for (MVT VT : MVT::integer_valuetypes()) {
 1406   for (MVT VT : MVT::fp_valuetypes()) {
 1442   for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
 1447     for (MVT TargetVT : MVT::fixedlen_vector_valuetypes()) {
 2548     for (SDValue P : Op.getNode()->op_values()) {
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
 1117   for (SDValue V : Op.getNode()->op_values()) {
lib/Target/Hexagon/HexagonInstrInfo.cpp
  160   for (MachineBasicBlock *PB : BB->predecessors()) {
 1699     for (auto I : MBB->successors())
 2204   for (const MachineOperand &MO : MI.operands())
 2585   for (auto &Op : MI.operands())
 3097   for (const MachineOperand &MO : MI.operands()) {
 3622         for (const MachineBasicBlock *SB : B.successors()) {
 3632         for (const MachineOperand &Op : NextIt->operands()) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  279     for (Value *Op : U->operands())
  302   for (const Value *Op : U->operands()) {
  326       for (Value *Op : U->operands())
  428       for (Value *Op : U->operands())
  491     for (Value *Op : U->operands())
  502   for (Value *Op : I->operands()) {
  541       for (Value *Op : U->operands())
 1065   for (PHINode &P : ExitB->phis()) {
 1122   for (auto U : Out->users()) {
 1206   for (auto &I : UseI->operands()) {
 1358     for (Value *Op : R->operands()) {
 1405     for (auto &J : I->operands()) {
 1805     for (const Value *U : V->users()) {
 1988   for (auto *B : L->blocks())
 2306   for (auto *B : L->blocks())
 2332   for (auto *B : L->blocks()) {
 2338       for (const auto &K : In.users()) {
lib/Target/Hexagon/HexagonNewValueJump.cpp
  150   for (const MachineOperand &Op : II->operands()) {
  651             for (MachineOperand &MO : MI.operands()) {
  658                 for (MachineOperand &Op : I->operands()) {
lib/Target/Hexagon/HexagonOptAddrMode.cpp
  204     for (auto &Mo : UseMI.operands())
lib/Target/Hexagon/HexagonOptimizeSZextends.cpp
   73   for (auto &Arg : F.args()) {
lib/Target/Hexagon/HexagonSplitDouble.cpp
  210   for (auto &Op : MI->operands()) {
  320       for (const auto &Op : MI->operands())
  442         for (auto &Op : UseI->operands()) {
  600   for (auto &Op : MI->operands()) {
 1079   for (auto &Op : MI->operands()) {
 1104   for (auto &Op : MI->operands()) {
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  430   for (auto U : GO->users()) {
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
  149   for (auto &MO : FirstI.operands()) {
  311     for (const MachineOperand MO : MI.operands())
  386       for (auto &MO : BI->operands())
  428   for (auto &MO : MJ.operands())
  576   for (auto &MO : MI.operands())
  580   for (auto &MO : MI.operands())
  703     for (auto &MO : PacketMI.operands()) {
  715     for (auto &MO : MI.operands()) {
  764     for (auto &MO : MI.operands())
  787   for (auto &MO : PacketMI.operands()) {
  802   for (auto &MO : MI.operands()) {
  830   for (auto &MO : I.operands()) {
  946   for (auto &Op : MI.operands()) {
 1203   for (auto &MO : I.operands()) {
 1209   for (auto &MO : J.operands()) {
 1268   for (const MachineOperand &OpJ : J.operands()) {
 1272     for (const MachineOperand &OpI : I.operands()) {
 1587       for (const MachineOperand &Op : I.operands()) {
 1788     for (auto &I : make_range(HII->expandVGatherPseudo(*MI), NextMI))
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
  660     for (auto &I : HexagonMCInstrInfo::bundleInstructions(Inst)) {
lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp
   39   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(*MI)) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
   54     for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCB)) {
  279   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
  286   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
  301   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
  312   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
  326   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
  361   for (auto HMI : HexagonMCInstrInfo::bundleInstructions(MCB)) {
  411   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
  494   for (auto I : HexagonMCInstrInfo::bundleInstructions(MCB)) {
  512   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB))
  528   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
  552   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
  630       for (auto const &HMI : HexagonMCInstrInfo::bundleInstructions(MCB)) {
  652     for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCII, MCB)) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
  381   for (auto &I : HexagonMCInstrInfo::bundleInstructions(HMB)) {
  478       for (auto I = Instrs.begin(), N = Instrs.end(); I != N; ++I) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
   69   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCB)) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
  436   for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCI)) {
  452   for (const auto &I : HexagonMCInstrInfo::bundleInstructions(MCI)) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.cpp
   37     for (const auto &I : HexagonMCInstrInfo::bundleInstructions(MCB)) {
   62     for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCB)) {
lib/Target/Hexagon/RDFDeadCode.cpp
   66   for (auto &Op : MI->operands()) {
lib/Target/Hexagon/RDFGraph.cpp
  281   for (MachineBasicBlock *B : BB->predecessors())
  288   for (MachineBasicBlock *B : BB->successors())
  623     for (const MachineOperand &O : In.operands())
  900     for (auto I : EntryB.liveins())
  928       for (MachineBasicBlock *PB : B.predecessors())
 1256       for (const MachineOperand &Op : In.operands())
 1271     for (const MachineOperand &Op : In.operands()) {
 1471   for (MachineBasicBlock *PB : MBB->predecessors())
 1695   for (MachineBasicBlock *SB : MBB->successors()) {
lib/Target/Hexagon/RDFLiveness.cpp
  338     for (NodeAddr<InstrNode*> I : make_range(B, E)) {
  859     for (auto I : B->liveins()) {
  876   for (auto SI : B->successors())
  885     for (auto &Op : MI->operands()) {
  898     for (auto &Op : MI->operands()) {
lib/Target/Hexagon/RDFRegisters.cpp
   33   for (const TargetRegisterClass *RC : TRI.regclasses()) {
   79       for (const MachineOperand &Op : In.operands())
lib/Target/Lanai/LanaiISelLowering.cpp
  135   for (MVT VT : MVT::integer_valuetypes()) {
lib/Target/MSP430/MSP430BranchSelector.cpp
   96   for (auto &MBB : make_range(Begin, MF->end())) {
  160         for (MachineBasicBlock *Succ : MBB->successors()) {
lib/Target/MSP430/MSP430ISelLowering.cpp
   60   for (MVT VT : MVT::integer_valuetypes()) {
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  527   for (const auto &R : reverse(Sorted))
lib/Target/Mips/MipsCallLowering.cpp
  461   for (auto &Arg : F.args()) {
  473   for (auto &Arg : F.args()) {
lib/Target/Mips/MipsDelaySlotFiller.cpp
  394   for (unsigned R : AllocSet.set_bits())
  409       for (const auto &LI : (*SI)->liveins())
lib/Target/Mips/MipsFastISel.cpp
 1352   for (const auto &FormalArg : F->args()) {
 1465   for (const auto &FormalArg : F->args()) {
lib/Target/Mips/MipsISelLowering.cpp
  315   for (MVT VT : MVT::integer_valuetypes()) {
  323   for (MVT VT : MVT::fp_valuetypes()) {
  329   for (MVT VT : MVT::fp_fixedlen_vector_valuetypes()) {
lib/Target/Mips/MipsRegisterBankInfo.cpp
  175   for (MachineInstr &UseMI : MRI.use_instructions(Reg)) {
  421   for (const MachineOperand &Op : MI.operands()) {
lib/Target/Mips/MipsSEISelLowering.cpp
   74     for (MVT VT0 : MVT::fixedlen_vector_valuetypes()) {
   75       for (MVT VT1 : MVT::fixedlen_vector_valuetypes()) {
lib/Target/Mips/MipsSEInstrInfo.cpp
  689   for (auto & MO : I->operands()) {
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  624   for (const User *U : C->users())
  649   for (const User *UU : U->users())
  683   for (const User *U : C->users()) {
  719     for (const User *U : F->users()) {
  828   for (const GlobalVariable &I : M.globals())
  862   for (DICompileUnit *CU : M.debug_compile_units()) {
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
   53   for (GlobalVariable &GV : M.globals()) {
   65   for (Function &F : M.functions())
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
  614   for (const auto &U : Vector.getNode()->uses()) {
lib/Target/NVPTX/NVPTXISelLowering.cpp
  468   for (MVT VT : MVT::integer_valuetypes()) {
  483   for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
 2484   for (const Argument &I : F->args()) {
 4557   for (const SDNode *U : Num->uses()) {
lib/Target/NVPTX/NVPTXLowerArgs.cpp
  229   for (Argument &Arg : F.args()) {
  242   for (Argument &Arg : F.args())
lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
  112   for (auto &Op : Instr.uses()) {
lib/Target/NVPTX/NVVMIntrRange.cpp
   83   for (Instruction &I : instructions(F)) {
lib/Target/NVPTX/NVVMReflect.cpp
  114   for (Instruction &I : instructions(F)) {
lib/Target/PowerPC/PPCAsmPrinter.cpp
  547     for (const MachineOperand &MO: MI->operands()) {
 1228     for (const auto &MO :
lib/Target/PowerPC/PPCBoolRetToInt.cpp
   84         for (auto &Op : CurrUser->operands())
  209           for (auto &U : CI->operands())
lib/Target/PowerPC/PPCBranchCoalescing.cpp
  244   for (auto &I : Cand.BranchBlock->terminators()) {
  428   for (auto &Def : MI.defs()) { // Looking at Def
  429     for (auto &Use : MRI->use_instructions(Def.getReg())) {
  459   for (auto &Use : MI.uses()) {
  539     for (auto &Def : I->defs())
  540       for (auto &Use : MRI->use_instructions(Def.getReg())) {
  684   while (I != SourceRegion.BranchBlock->terminators().end()) {
lib/Target/PowerPC/PPCExpandISEL.cpp
  353     for (auto &Succ : MBB->successors()) {
  385     for (auto &LI : MBB->liveins())
lib/Target/PowerPC/PPCFastISel.cpp
 1866   for (const BasicBlock *SuccBB : IB->successors())
lib/Target/PowerPC/PPCFrameLowering.cpp
 2151   for (unsigned Reg : BVAllocatable.set_bits()) {
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 3562   for (auto CompareUse : Compare.getNode()->uses())
 5640     for (SDNode &Node : CurDAG->allnodes()) {
 6267       for (SDNode *UN : PN->uses()) {
lib/Target/PowerPC/PPCISelLowering.cpp
  164   for (MVT VT : MVT::integer_valuetypes()) {
  221     for (MVT VT : MVT::integer_valuetypes()) {
  561     for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
  662       for (MVT InnerVT : MVT::fixedlen_vector_valuetypes()) {
  889         for (MVT FPT : MVT::fp_valuetypes())
 9543   for (auto UI : Op.getOperand(1)->uses()) {
lib/Target/PowerPC/PPCInstrInfo.cpp
 2828     for (auto &CompareUseMI : MRI->use_instructions(DefReg)) {
 4255   for (auto &I : PreHeader.instrs())
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  244   for (const auto &BB : L->blocks())
  380   for (const auto &PI : predecessors(Header)) {
  392   for (const auto &PI : predecessors(Header)) {
  480     for (auto &BB : L->blocks())
  505   for (auto & CurrentPHI : PHIIter) {
lib/Target/PowerPC/PPCMIPeephole.cpp
  961       for (MachineOperand &MO : CMPI->operands())
lib/Target/PowerPC/PPCPreEmitPeephole.cpp
  264           for (auto &Succ : MBB.successors())
  275           for (auto &SuccMBB : MBB.successors())
lib/Target/PowerPC/PPCReduceCRLogicals.cpp
   57   for (auto &MI : Successor->instrs()) {
   90   for (auto &MI : Successor->instrs()) {
  241   for (auto *Succ : NewMBB->successors()) {
  497   for (MachineInstr &UseMI :
lib/Target/PowerPC/PPCTOCRegDeps.cpp
  102       for (const MachineOperand &MO : MI.operands()) {
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  242         for (const auto &CO : CV->operands())
  488     for (Value *Operand : J->operands())
  510     for (BasicBlock *BB : L->blocks())
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
  253       for (const MachineOperand &MO : MI.operands()) {
  600     for (const MachineOperand &MO : MI->operands()) {
  676       for (MachineInstr &UseMI : MRI->use_nodbg_instructions(DefReg)) {
  719       for (MachineInstr &UseMI : MRI->use_nodbg_instructions(DefReg)) {
  761         for (MachineInstr &UseMI : MRI->use_nodbg_instructions(DefReg)) {
lib/Target/RISCV/RISCVMCInstLower.cpp
  132   for (const MachineOperand &MO : MI->operands()) {
lib/Target/Sparc/SparcISelLowering.cpp
 1441     for (MVT VT : MVT::integer_fixedlen_vector_valuetypes()) {
 1469   for (MVT VT : MVT::fp_valuetypes()) {
 1475   for (MVT VT : MVT::integer_valuetypes())
lib/Target/SystemZ/SystemZElimCompare.cpp
  300   for (const auto &MO : MI.operands())
lib/Target/SystemZ/SystemZHazardRecognizer.cpp
  419   for (const MCWriteProcResEntry &PRE :
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
 1716       for (auto *U : CCUser->uses()) {
lib/Target/SystemZ/SystemZISelLowering.cpp
  277   for (MVT VT : MVT::integer_valuetypes()) {
  303   for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
  310     for (MVT InnerVT : MVT::fixedlen_vector_valuetypes()) {
  336   for (MVT VT : MVT::integer_fixedlen_vector_valuetypes()) {
  579   for (MVT VT : MVT::fp_valuetypes())
 5756     for (auto *U : Vec->uses()) {
 5807     for (auto *U : Vec->uses()) {
lib/Target/SystemZ/SystemZRegisterInfo.cpp
   99       for (auto &Use : MRI->reg_instructions(Reg)) {
  132             for (MachineInstr &DefMI : MRI->def_instructions(VirtReg))
  151   for (auto &Use : MRI->reg_nodbg_instructions(VirtReg))
  388     for (const MachineOperand &MO : MII->operands())
lib/Target/SystemZ/SystemZTDC.cpp
   99     for (auto *U : I->users()) {
  317   for (auto &I : instructions(F)) {
  347   for (auto &It : reverse(ConvertedInsts)) {
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  246   for (auto &BB : L->blocks())
  800   for (Value *Op : I->operands())
lib/Target/TargetLoweringObjectFile.cpp
   63   for (auto Operand : C->operand_values()) {
lib/Target/TargetMachineC.cpp
   48   if (TargetRegistry::targets().begin() == TargetRegistry::targets().end()) {
   63   return I != TargetRegistry::targets().end() ? wrap(&*I) : nullptr;
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
   92     for (Use &U : F.uses()) {
lib/Target/WebAssembly/WebAssemblyArgumentMove.cpp
   89   for (MachineInstr &MI : llvm::make_range(InsertPt, EntryMBB.end())) {
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  135   for (const auto &G : M.globals()) {
  146     for (const Metadata *MD : Named->operands()) {
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  148   for (const MachineInstr &Term : MBB->terminators()) {
  252         for (const MachineBasicBlock *Pred : MBB.predecessors())
  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
  123   for (MachineInstr &MI : Pred->terminators())
  124     for (MachineOperand &MO : MI.explicit_operands())
  224   for (MachineBasicBlock *Pred : MBB.predecessors()) {
  450   for (auto *Pred : MBB.predecessors()) {
  540       for (auto &MI : reverse(*Header)) {
  715     for (auto &MO : MI.explicit_uses()) {
  871   for (auto &MBB : reverse(MF)) {
  873     for (auto &MI : reverse(MBB)) {
  891       for (auto *Succ : MBB.successors()) {
  912   for (auto &MBB : reverse(MF)) {
  914     for (auto &MI : reverse(MBB)) {
 1122       for (auto *Succ : MBB->successors()) {
 1173   for (auto &MBB : reverse(MF)) {
 1174     for (auto &MI : reverse(MBB)) {
 1213   for (auto X : reverse(Stack)) {
 1243   for (MachineBasicBlock &MBB : reverse(MF)) {
 1244     for (MachineInstr &MI : reverse(MBB)) {
 1300   for (auto &MBB : reverse(MF)) {
lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp
  129         for (const MachineOperand &MO :
lib/Target/WebAssembly/WebAssemblyDebugValueManager.cpp
   27   for (MachineInstr *DBI : reverse(DbgValues))
   40   for (MachineInstr *DBI : reverse(DbgValues)) {
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
   49   for (auto DomNode : post_order(&MDT)) {
   59   for (auto DomNode : post_order(&MDT)) {
  132     for (auto *Succ : MBB->successors())
lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
  176   for (MachineOperand &DefMO : Def->explicit_uses()) {
  309       for (MachineOperand &MO : reverse(MI.explicit_uses())) {
  388       for (const MachineOperand &MO : MI.explicit_operands()) {
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  644   for (auto const &Arg : F->args()) {
  723   for (auto const &Arg : F->args()) {
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
   70   for (Use &U : V->uses()) {
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()) {
  453     for (MachineInstr &Term : Pred->terminators())
  454       for (auto &Op : Term.explicit_uses())
  458     for (auto *Succ : Pred->successors()) {
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  208   for (auto T : MVT::integer_fixedlen_vector_valuetypes())
  234   for (auto T : MVT::integer_valuetypes())
  240       for (auto MemT : MVT::fixedlen_vector_valuetypes()) {
  771     for (SDValue Arg :
 1407       for (const SDValue &Lane : Op->op_values()) {
lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
  114   for (MachineInstr &MI : MBB.terminators()) {
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  712       for (User *U : SetjmpF->users()) {
  906   for (User *U : SetjmpF->users()) {
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
   82   for (Value *O : InitList->operands()) {
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  241           for (const MachineOperand &MO : MI->defs())
  243           for (const MachineOperand &MO : MI->explicit_uses())
lib/Target/WebAssembly/WebAssemblyPeephole.cpp
   91   for (auto &MO : MI.explicit_operands()) {
lib/Target/WebAssembly/WebAssemblyPrepareForLiveIntervals.cpp
   66   for (const auto &Def : MRI.def_instructions(Reg))
lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
   69   for (MachineOperand &MO : MRI->reg_nodbg_operands(VReg))
  144       for (unsigned C : UsedColors.set_bits()) {
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  298   for (auto &I : MRI.use_nodbg_operands(Reg)) {
  334   for (const MachineOperand &MO : Def->operands()) {
  391       for (const MachineOperand &MO : I->operands())
  411   for (const MachineOperand &Use : MRI.use_nodbg_operands(Reg)) {
  660     if (Range.begin() != Range.end())
  670     if (Range.begin() == Range.end())
  673             Worklist.back().begin() != Worklist.back().end()) &&
  681     if (Range.begin() != Range.end())
  700     return Range.begin() != Range.end() && Range.begin()->getParent() == Instr;
  711       for (const MachineOperand &MO : Range)
  915       for (MachineOperand &MO : reverse(MI.explicit_operands())) {
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  265     for (auto &GV : M.globals()) {
lib/Target/WebAssembly/WebAssemblyUtilities.h
   41   for (MachineBasicBlock *MBB : Unit->blocks())
lib/Target/X86/X86AvoidTrailingCall.cpp
   79     for (MachineBasicBlock &RMBB :
lib/Target/X86/X86CallFrameOptimization.cpp
  335   for (const MachineOperand &MO : MI->operands()) {
  453     for (const MachineOperand &MO : I->uses()) {
lib/Target/X86/X86CallLowering.cpp
  343   for (auto &Arg : F.args()) {
lib/Target/X86/X86CmovConversion.cpp
  435         for (auto &MO : MI.uses()) {
  456         for (auto &MO : MI.operands()) {
  538       if (UIs.begin() != UIs.end() && ++UIs.begin() == UIs.end()) {
  538       if (UIs.begin() != UIs.end() && ++UIs.begin() == UIs.end()) {
  781       for (auto &MOp : NewMI->uses()) {
lib/Target/X86/X86DomainReassignment.cpp
  144     for (auto &MO : MI->implicit_operands())
  158     for (auto &Op : MI->explicit_operands())
  240     for (auto &MO : MI->operands()) {
  510   for (unsigned Reg : C.edges()) {
  512     for (auto &MO : MRI->use_operands(Reg)) {
  583     for (auto &UseMI : MRI->use_nodbg_instructions(CurReg)) {
  592       for (auto &DefOp : UseMI.defs()) {
lib/Target/X86/X86EvexToVex.cpp
  130   for (const MachineOperand &MO : MI.explicit_operands()) {
lib/Target/X86/X86FastISel.cpp
  973     for (const Value *I : reverse(GEPs))
 3081   for (auto const &Arg : F->args()) {
 3130   for (auto const &Arg : F->args()) {
lib/Target/X86/X86FixupBWInsts.cpp
  249   for (auto &MO: OrigMI->implicit_operands()) {
  328   for (auto &Op : MI->implicit_operands())
lib/Target/X86/X86FixupSetCC.cpp
   80     for (auto &Op : MI->implicit_operands())
   88   for (auto &Op : MI->implicit_operands())
  111       for (auto &Use : MRI->use_instructions(MI.getOperand(0).getReg()))
lib/Target/X86/X86FlagsCopyLowering.cpp
  295   for (MachineBasicBlock *Succ : NewMBB.successors())
  304   for (MachineBasicBlock *Succ : NewMBB.successors()) {
  446         for (auto *PredMBB : MBB->predecessors()) {
  644       for (MachineBasicBlock *SuccMBB : UseMBB.successors())
  721   for (MachineInstr &MI :
lib/Target/X86/X86FloatingPoint.cpp
  373   for (MachineBasicBlock *BB : depth_first_ext(Entry, Processed))
  977   for (const auto &MO : I->operands()) {
 1698     for (auto &MO : I->operands()) {
lib/Target/X86/X86FrameLowering.cpp
  197   for (MachineBasicBlock::RegisterMaskPair RegMask : MBB.liveins()) {
  214   for (const MachineInstr &MI : MBB.terminators()) {
  216     for (const MachineOperand &MO : MI.operands()) {
  240   for (const MachineBasicBlock *Succ : MBB.successors())
 2339   for (const auto &LI : PrologueMBB.liveins()) {
 2660     for (const auto &LI : PrologueMBB.liveins()) {
 2762     for (const MachineOperand &MO : Prev->implicit_operands()) {
 3121       for (const MachineOperand &MO : MI.operands()) {
lib/Target/X86/X86ISelLowering.cpp
  184   for (MVT VT : MVT::integer_valuetypes())
  746   for (MVT VT : MVT::fixedlen_vector_valuetypes()) {
  784     for (MVT InnerVT : MVT::fixedlen_vector_valuetypes()) {
 8094   for (auto *U : N->uses()) {
19749     for (SDNode *User : Op->uses())
22237       for (const auto &A : F.args()) {
30380   for (const auto &MO : MI.operands()) {
31131     for (auto &II : reverse(*MBB)) {
31136       for (auto &MOp : II.operands())
33505     for (SDNode *User : Src->uses())
36791   for (SDNode *U : Cond->uses()) {
42238   for (auto *User : Ext->uses()) {
lib/Target/X86/X86InstrInfo.cpp
 2715     for (auto *Succ : MBB.successors())
 3787     for (MachineBasicBlock *Successor : MBB->successors())
 4638   for (int Idx : llvm::seq<int>(0, NewMI.getNumOperands())) {
 8096   for (const MachineOperand &MOP : MI.operands())
lib/Target/X86/X86MCInstLower.cpp
  468   for (const MachineOperand &MO : MI->operands())
 1207   for (auto &MO : make_range(MI.operands_begin() + 2, MI.operands_end()))
 1546   for (auto &MO : make_range(MI.operands_begin() + 1, MI.operands_end()))
 1583   for (auto &MO : make_range(MI.operands_begin() + 1, MI.operands_end()))
lib/Target/X86/X86OptimizeLEAs.cpp
  435   for (auto &MO : MRI->use_nodbg_operands(Last.getOperand(0).getReg())) {
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  311   for (auto &LI : Succ.liveins())
  547     for (MachineOperand &Op : CMovI->operands()) {
  584     for (MachineBasicBlock *SuccMBB : MBB.successors())
  632     for (MachineInstr &MI : llvm::reverse(MBB)) {
 1029         for (MachineInstr &MI : MBB.terminators()) {
 1042     for (MachineBasicBlock *Succ : MBB.successors())
 1077     for (MachineBasicBlock *Pred : MBB.predecessors()) {
 1592   for (MachineInstr &MI : llvm::reverse(llvm::make_range(MBB.begin(), I))) {
 1678           for (MachineOperand &Def : MI.defs())
 1761         for (MachineOperand &Def : MI.defs())
 2162     for (MachineInstr &UseMI : MRI->use_instructions(DefReg)) {
lib/Target/X86/X86VZeroUpper.cpp
  154   for (const MachineOperand &MO : MI.operands()) {
  170   for (const MachineOperand &MO : MI.operands()) {
  343       for (MachineBasicBlock *Succ : MBB.successors())
lib/Target/X86/X86WinAllocaExpander.cpp
  150     for (MachineBasicBlock *Pred : MBB->predecessors())
lib/Target/X86/X86WinEHState.cpp
  561   for (BasicBlock *PredBB : predecessors(BB)) {
  598   for (BasicBlock *SuccBB : successors(BB)) {
  718     for (BasicBlock *SuccBB : successors(BB))
lib/Target/XCore/XCoreISelLowering.cpp
  122   for (MVT VT : MVT::integer_valuetypes()) {
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  162   for (User *U : GV->users())
  226   for (GlobalVariable &GV : M.globals())
lib/TextAPI/MachO/TextStub.cpp
  466       for (const auto *Symbol : File->exports()) {
  534       for (const auto *Symbol : File->undefineds()) {
  627       for (const auto &Target : File->targets())
  809                      File->targets().end());
  850             for (const auto *Symbol : Symbols) {
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
  103   for (auto *Arg : Args.filtered(OPT_UNKNOWN))
lib/ToolDrivers/llvm-lib/LibDriver.cpp
   78   for (auto *Arg : Args->filtered(OPT_libpath))
  116   for (auto *Arg : Args.filtered(OPT_INPUT)) {
  136   for (auto &C : Archive.children(Err)) {
  212     for (auto &C : Archive.children(Err)) {
  285   for (auto *Arg : Args.filtered(OPT_UNKNOWN))
  323   for (auto *Arg : Args.filtered(OPT_INPUT)) {
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  334     for (Instruction &I : make_range(BB.rbegin(), BB.rend())) {
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  242     for (auto *U : I->users())
lib/Transforms/Coroutines/CoroEarly.cpp
  148   for (User *U : CoroId->users())
lib/Transforms/Coroutines/CoroElide.cpp
   69   for (Value *Op : CI->operand_values())
   80   for (Instruction &I : instructions(F))
  199   for (User *U : CoroId->users()) {
  213     for (User *U : CB->users())
  258   for (auto &I : instructions(F))
  305     for (auto &I : instructions(F))
lib/Transforms/Coroutines/CoroFrame.cpp
  225       for (BasicBlock *SI : successors(B)) {
  758     for (User *U : A->users()) {
 1033   for (auto Succ : successors(From)) {
 1047   for (auto User : AI->users()) {
 1067   for (auto Succ : successors(BB)) {
 1080   for (auto U : AI->users()) {
 1111     for (auto U : AI->users()) {
 1144   for (User *U : AI->users()) {
 1298   for (auto &Arg : F.args()) {
 1364     for (Instruction &I : instructions(F))
 1366         for (User *U : I.users())
 1380   for (Argument &A : F.args())
 1381     for (User *U : A.users())
 1385   for (Instruction &I : instructions(F)) {
 1412       for (User *U : Alloc->users()) {
 1424     for (User *U : I.users())
lib/Transforms/Coroutines/CoroInstr.h
   85     for (User *U : users())
   92     for (User *U : users())
lib/Transforms/Coroutines/CoroSplit.cpp
  508     for (auto &Arg : F.args()) {
  649   for (Argument &A : OrigF.args())
  893   for (PHINode &PN : NewBlock->phis()) {
  951   for (auto &I : instructions(F))
 1031     for (auto *Pred : predecessors(BB))
 1304     for (auto &VUse : Suspend->value_operands())
 1462       for (auto &Use : Cast->uses()) {
lib/Transforms/Coroutines/Coroutines.cpp
  168   for (User *U : CoroId->users())
  192   for (Instruction &I : instructions(F))
  255   for (Instruction &I : instructions(F)) {
lib/Transforms/IPO/AlwaysInliner.cpp
   53       for (User *U : F.users())
   79   for (Function *F : make_range(NonComdatBegin, InlinedFunctions.end()))
lib/Transforms/IPO/ArgumentPromotion.cpp
  167       for (User *U : I->users()) {
  411       for (User *U : TheAlloca->users()) {
  493   for (User *U : Callee->users()) {
  666   for (Use &U : Arg->uses()) {
  702       for (User *GEPU : GEP->users())
  763     for (BasicBlock *P : predecessors(BB)) {
  764       for (BasicBlock *TranspBB : inverse_depth_first_ext(P, TranspBlocks))
  850   for (const Use &U : F.uses()) {
  896   for (Argument &I : F->args())
  906   for (Use &U : F->uses()) {
  943       for (Use &U : F->uses()) {
lib/Transforms/IPO/Attributor.cpp
  196         for (Argument &Arg : CS.getCalledFunction()->args())
  714     for (const Use &U : IRP.getAssociatedValue().uses())
  738           for (const Use &Us : UserI->uses())
  886     for (Argument &Arg : F->args()) {
  996       for (const Use &U : F->uses())
 1170     for (auto &RetValAAIt : RetValAA.returned_values()) {
 1197     for (auto &RetValAAIt : RetValAA.returned_values()) {
 1812   for (BasicBlock *BB : depth_first(&F)) {
 1814     for (auto *SuccBB : successors(BB)) {
 2368   for (const BasicBlock *SuccBB : successors(BB)) {
 2703     for (const Use &U : AnchorVal.uses()) {
 3183     for (auto &It : RVAA.returned_values()) {
 3639     for (Use &U : I.uses())
 3695         for (Use &U : UserI->uses())
 3863     for (const Use &U : getAssociatedValue().uses())
 4117       for (const Use &UserIUse : UserI->uses())
 4272   for (const Use &U : Fn.uses()) {
 4678   for (Instruction &I : instructions(&F)) {
 4777   for (Argument &Arg : F.args()) {
lib/Transforms/IPO/BlockExtractor.cpp
  147       for (auto PredBB : predecessors(LPad)) {
lib/Transforms/IPO/CalledValuePropagation.cpp
  282     for (Argument &A : F->args()) {
lib/Transforms/IPO/CrossDSOCFI.cpp
   84   for (GlobalObject &GO : M.global_objects()) {
   94     for (auto Func : CfiFunctionsMD->operands()) {
lib/Transforms/IPO/DeadArgumentElimination.cpp
  292   for (Argument &Arg : Fn.args()) {
  305   for (Use &U : Fn.uses()) {
  418       for (const Use &UU : IV->uses()) {
  471   for (const Use &U : V->uses()) {
  554   for (const Use &U : F.uses()) {
  583     for (const Use &U : TheCall->uses()) {
lib/Transforms/IPO/ElimAvailExtern.cpp
   36   for (GlobalVariable &GV : M.globals()) {
lib/Transforms/IPO/ForceFunctionAttrs.cpp
   94   for (Function &F : M.functions())
  113     for (Function &F : M.functions())
lib/Transforms/IPO/FunctionAttrs.cpp
  457   for (Use &U : A->uses()) {
  473       for (Use &UU : I->uses())
  487           for (Use &UU : I->uses())
  642         for (auto &CSArg : CalledFunc->args()) {
  896         for (Value *IncValue : PN->incoming_values())
 1184     for (Instruction &I : instructions(*F)) {
 1369     for (auto &I : BB.instructionsWithoutDebug())
 1440       for (Instruction &I : instructions(F))
 1573   for (auto *U : F.users()) {
 1604   for (auto *F : llvm::reverse(Worklist))
lib/Transforms/IPO/FunctionImport.cpp
 1002   for (auto &GV : TheModule.globals())
 1004   for (auto &GV : TheModule.aliases())
 1065   for (auto &GV : M.globals())
 1129     for (GlobalVariable &GV : SrcModule->globals()) {
 1143     for (GlobalAlias &GA : SrcModule->aliases()) {
lib/Transforms/IPO/GlobalDCE.cpp
  115       for (User *CEUser : CE->users())
  124   for (User *User : GV.users())
  151     for (auto &&CM : make_range(ComdatMembers.equal_range(C))) {
  168   for (GlobalVariable &GV : M.globals()) {
  239   for (auto U : TypeCheckedLoadFunc->users()) {
  296   for (GlobalVariable &GV : M.globals())
  299   for (GlobalAlias &GA : M.aliases())
  308   for (GlobalObject &GO : M.global_objects()) {
  321   for (GlobalAlias &GA : M.aliases()) {
  331   for (GlobalIFunc &GIF : M.ifuncs()) {
  356   for (GlobalVariable &GV : M.globals())
  378   for (GlobalAlias &GA : M.aliases())
  386   for (GlobalIFunc &GIF : M.ifuncs())
lib/Transforms/IPO/GlobalOpt.cpp
  420   for (User *U : GV->users()) {
  616   for (const User *U : V->users()) {
  664   for (const User *U : GV->users())
  968   for (const User *U : V->users()) {
 1061   for (const User *U : V->users()) {
 1111   for (const User *U : GV->users())
 1621   for (User *U : GV->users())
 1801   for (auto *U : GV->users()) {
 1803       for (auto *UU : U->users()) {
 1871   for (auto *U : C->users()) {
 1877     for (auto *UU : U->users())
 1892   for (auto *U : C->users()) {
 1906     for (auto *UU : U->users())
 2104   for (User *U : F->users()) {
 2122   for (User *U : F->users()) {
 2145   for (User *U : F->users()) {
 2186   for (User *U : F.users()) {
 2203   for (User *U : F->users()) {
 2757   for (GlobalValue *GV : Used.used())
 2924     for (const GlobalVariable &GV : M.globals())
 2932     for (GlobalAlias &GA : M.aliases())
lib/Transforms/IPO/GlobalSplit.cpp
   55   for (User *U : GV.users()) {
  115   for (User *U : GV.users()) {
lib/Transforms/IPO/HotColdSplitting.cpp
  224     for (Instruction &I : BB->instructionsWithoutDebug())
  267     for (BasicBlock *SuccBB : successors(BB)) {
lib/Transforms/IPO/IPConstantPropagation.cpp
   59   for (Use &U : F.uses()) {
  223   for (Use &U : F.uses()) {
lib/Transforms/IPO/InferFunctionAttrs.cpp
   25   for (Function &F : M.functions())
lib/Transforms/IPO/Inliner.cpp
  226           for (User *U : MDV->users())
  342   for (User *U : Caller->users()) {
  930     for (Instruction &I : instructions(N.getFunction()))
 1099         for (CallSite &CS : reverse(IFI.InlinedCallSites))
lib/Transforms/IPO/Internalize.cpp
  161     for (GlobalVariable &GV : M.globals())
  163     for (GlobalAlias &GA : M.aliases())
  214   for (auto &GV : M.globals()) {
  224   for (auto &GA : M.aliases()) {
lib/Transforms/IPO/LowerTypeTests.cpp
  790         for (auto &Phi : Else->phis())
 1084     for (auto &U : F->uses()) {
 1277   for (auto *U : C->users()){
 1852       for (auto FuncMD : CfiFunctionsMD->operands()) {
 1942   for (GlobalObject &GO : M.global_objects()) {
 1999     for (const Use &U : TypeTestFunc->uses()) {
 2011     for (const Use &U : ICallBranchFunnelFunc->uses()) {
 2136       for (auto AliasMD : AliasesMD->operands()) {
 2178       for (auto Symver : SymversMD->operands()) {
lib/Transforms/IPO/MergeFunctions.cpp
  584           for (User *U : AI->users()) {
  708   for (Argument &AI : H->args()) {
  949   for (User *U : V->users())
lib/Transforms/IPO/PartialInlining.cpp
  646     for (auto Pred : predecessors(BB)) {
  655           for (auto Succ : successors(E)) {
  851   for (Instruction &I : BB->instructionsWithoutDebug()) {
 1469     for (User *U : CurrFunc->users())
lib/Transforms/IPO/StripSymbols.cpp
  133   for (User *U : V->users())
  143   for (Value *Op : C->operands())
  318   for (GlobalVariable &GV : M.globals()) {
  327   for (DISubprogram *SP : F.subprograms()) {
  333   for (DICompileUnit *DIC : F.compile_units()) {
lib/Transforms/IPO/SyntheticCountsPropagation.cpp
   68     for (auto *U : F.users()) {
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
   39   for (auto &ExportGV : ExportM.global_values()) {
   73     for (auto &GO : ExportM.global_objects())
  106     for (const Use &U : TypeTestFunc->uses()) {
  114     for (const Use &U : TypeCheckedLoadFunc->uses()) {
  120   for (GlobalObject &GO : M.global_objects()) {
  178   for (GlobalValue &GV : M->global_values())
  192   for (Value *Op : C->operands())
  253   for (GlobalVariable &GV : M.globals())
  262         for (auto &Arg : make_range(std::next(F->arg_begin()), F->arg_end())) {
  347   for (auto &A : M.aliases()) {
  440   for (auto &GO : M.global_objects()) {
lib/Transforms/IPO/WholeProgramDevirt.cpp
  426   for (auto &&Arg : make_range(CS.arg_begin() + 1, CS.arg_end())) {
  784   for (GlobalVariable &GV : M.globals()) {
  951         for (GlobalObject &GO : M.global_objects())
 1924   for (GlobalVariable &GV : M.globals())
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4152   for (User *U : TrampMem->users()) {
 4278   for (Value *V : Call.args()) {
 4464         for (User *U : II->users())
lib/Transforms/InstCombine/InstCombineCasts.cpp
  437     for (Value *IncValue : PN->incoming_values())
 1348     for (Value *IncValue : PN->incoming_values())
 2147   for (User *U : CI.users()) {
 2182     for (Value *IncValue : OldPN->incoming_values()) {
 2262     for (User *V : OldPN->users()) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
   66   for (auto *U : I.users())
  591       for (Value *Op : PN->incoming_values())
  600     for (Value *Use : Val->uses()) {
 1046   for (const Use &U : Alloca->uses()) {
 1088     for (const Use &U : V->uses()) {
 1297   for (User *U : OrigAdd->users()) {
 4565     for (User *U : MulVal->users()) {
 4803   for (const User *U : Op0->users()) {
 4835   for (const User *U : DI->users()) {
lib/Transforms/InstCombine/InstCombineInternal.h
  220   for (User *U : V->users()) {
  713       for (Use &Operand : I.operands())
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
   70     for (auto &U : ValuePair.first->uses()) {
  268   for (auto U : I.users()) {
  776       for (Value *IncValue : PN->incoming_values())
 1340   for (auto *UI : LI->users()) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
  107     for (User *U : IIP->users()) {
  142     for (User *U : Arg->users()) {
  504     for (User *U : AI->users()) {
  640     for (Value *IncValue : PN.incoming_values())
  666   for (Value *V : Phi.incoming_values()) {
  680   for (Value *V : Phi.incoming_values()) {
  866   for (Value *Op : PN->incoming_values()) {
  881   for (Value *V : PN.operands())
  985     for (User *U : PN->users()) {
lib/Transforms/InstCombine/InstCombineShifts.cpp
  458     for (Value *IncValue : PN->incoming_values())
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
   91   for (auto U : PN->users()) {
  304   for (const Use &U : V->uses()) {
  586   for (User *U : ExtVecOp->users()) {
 1184       for (Value *Operand : I->operands()) {
 2006     for (User *U : SVI.users())
lib/Transforms/InstCombine/InstructionCombining.cpp
  939     for (User *U : PN->users()) {
 1779       for (auto &I : PN->operands())
 2280     for (User *U : PI->users()) {
 2598     for (auto Case : SI.cases()) {
 2614   for (auto &C : SI.cases()) {
 2634     for (auto Case : SI.cases()) {
 3163   for (auto *DII : reverse(DbgUsers)) {
 3292             for (Use &U : I->operands())
 3417       for (Use &U : Inst->operands()) {
 3460     for (BasicBlock *SuccBB : successors(TI))
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  927     for (BasicBlock *BB : depth_first(&F.getEntryBlock())) visit(*BB);
 1129   for (auto MDN : Globals->operands()) {
 1786   for (Use &OP : CA->operands()) {
 2219   for (auto &G : M.globals()) {
 2600       for (Value *Arg : II->arg_operands()) {
 2898   for (Argument &Arg : F.args()) {
lib/Transforms/Instrumentation/BoundsChecking.cpp
  152   for (Instruction &I : instructions(F)) {
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  207     for (BasicBlock *Pred : predecessors(NextEntry))
  531     for (Value *Op : I->operands()) {
  584       for (Value *Op : I->operands()) {
  767   for (BasicBlock *Pred : predecessors(Entry))
  817     for (RegionNode *E : R->elements()) {
 1486     for (Value *Op : I->operands()) {
 1526   for (User *U : ICmp->users()) {
 1535   for (User *U : ICmp->users()) {
 1578     for (BasicBlock *BB : RI.R->blocks()) { // This includes the blocks in the
 1592       for (User *U : I.users()) {
 1619         for (BasicBlock *Pred : predecessors(ExitBlock)) {
 1774     for (BasicBlock *BB : RI.R->blocks()) { // This includes the blocks in the
 1799     for (PHINode &PN : ExitBlock->phis())
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1440   for (User *U : I.users()) {
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  633   for (auto &F : M->functions()) {
  635     for (auto &I : instructions(F)) {
  691     for (auto &F : M->functions()) {
  777     for (auto &F : M->functions()) {
  793           for (BasicBlock *Succ : successors(TI)) {
  818           for (BasicBlock *Pred : predecessors(&BB)) {
  988   for (int i : llvm::seq<int>(0, CUNodes->getNumOperands())) {
 1004     for (int j : llvm::seq<int>(0, CountersBySP.size())) {
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1403   for (GlobalVariable &GV : M.globals()) {
lib/Transforms/Instrumentation/InstrProfiling.cpp
  469   for (auto *Loop : llvm::reverse(Loops)) {
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1288     for (BasicBlock *BB : depth_first(ActualFnStart))
 1606       for (auto &FArg : F->args()) {
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  661   for (auto &&CM : make_range(ComdatMembers.equal_range(C))) {
  702   for (auto &&CM : make_range(ComdatMembers.equal_range(OrigComdat))) {
 1220     for (auto &BB : reverse(F)) {
 1453   for (GlobalVariable &GV : M.globals())
 1456   for (GlobalAlias &GA : M.aliases())
lib/Transforms/Instrumentation/PoisonChecking.cpp
  293         for (Value *V : I.operands())
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  484   for (const BasicBlock *SUCC : make_range(succ_begin(BB), succ_end(BB))) {
  498   for (const BasicBlock *PRED : make_range(pred_begin(BB), pred_end(BB))) {
  561         for (BasicBlock *B : BR->successors())
  760       for (auto It : SI->cases()) {
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  376   for (Instruction *I : reverse(Local)) {
lib/Transforms/ObjCARC/DependencyAnalysis.cpp
   55     for (const Value *Op : Call->args()) {
  265     for (const BasicBlock *Succ : successors(BB))
lib/Transforms/ObjCARC/ObjCARC.h
   88   for (auto &P : BB->phis()) {
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  724     for (User *U : OrigArg->users())
  731       for (User *U : BC->users())
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  109     for (const User *U : Arg->users())
  691     for (const User *U : Ptr->users()) {
 1131     for (const BasicBlock *Succ : successors(BB)) {
 1547   for (BasicBlock *BB : llvm::reverse(ReverseCFGPostOrder)) {
 1555   for (BasicBlock *BB : llvm::reverse(PostOrder)) {
 2004       for (User *U : Alloca->users()) {
lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp
   73   for (Value *PV1 : A->incoming_values()) {
   91     for (const Use &U : P->uses()) {
lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
   56   for (auto &Arg : F.args())
   62     for (auto &Op : I->operands())
lib/Transforms/Scalar/ADCE.cpp
  244   for (Instruction &I : instructions(F))
  279     for (auto *BB: depth_first_ext(&F.getEntryBlock(), State)) {
  284       for (auto *Succ : successors(BB))
  297   for (auto &PDTChild : children<DomTreeNode *>(PDT.getRootNode())) {
  308     for (auto DFNode : depth_first(PDTChild))
  362       for (Use &OI : LiveInst->operands())
  397       for (auto *BB : successors(I->getParent()))
  454   for (auto *PredBB : predecessors(Info.BB)) {
  510     for (Instruction &I : instructions(F)) {
  535   for (Instruction &I : instructions(F)) {
  589     for (auto *Succ : successors(BB)) {
  600     for (auto *Succ : successors(BB)) {
  643     for (BasicBlock *Block : inverse_post_order_ext(&BB,Visited))
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
  307   for (User *J : AAPtr->users()) {
  363     for (User *UJ : J->users()) {
lib/Transforms/Scalar/BDCE.cpp
   46   for (User *JU : I->users()) {
   77     for (User *KU : J->users()) {
   91   for (Instruction &I : instructions(F)) {
  111     for (Use &U : I.operands()) {
lib/Transforms/Scalar/CallSiteSplitting.cpp
   88   for (auto &I : CS.args()) {
   98   for (auto &I : CS.args()) {
  212   for (auto &InstBeforeCall :
  341     for (PHINode &PN : TailBB->phis()) {
  343       for (auto &CI : CS.args()) {
  427       for (auto &I : CS.args())
  475   for (auto *Pred : make_range(Preds.rbegin(), Preds.rend())) {
lib/Transforms/Scalar/ConstantProp.cpp
   77   for (Instruction &I : instructions(&F)) {
   99           for (User *U : I->users()) {
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  354   for (auto *Succ : successors(BB))
  579   for (Value *V : CS.args()) {
  609   for (Value *O : SDI->operands()) {
  629   for (Value *Operand : Instr->operands()) {
  837   for (BasicBlock *BB : depth_first(&F.getEntryBlock())) {
lib/Transforms/Scalar/DeadStoreElimination.cpp
  772   for (Argument &AI : BB.getParent()->args())
lib/Transforms/Scalar/EarlyCSE.cpp
  854       for (auto &Op : cast<BinaryOperator>(Curr)->operands())
lib/Transforms/Scalar/Float2Int.cpp
  224     for (Value *O : I->operands()) {
  241   for (auto &It : reverse(SeenInsts)) {
  298     for (Value *O : I->operands()) {
  378         for (User *U : I->users()) {
  441   for (Value *V : I->operands()) {
  512   for (auto &I : reverse(ConvertedInsts))
lib/Transforms/Scalar/GVN.cpp
  838   for (auto *U : LI->getPointerOperand()->users())
 1093   for (BasicBlock *Pred : predecessors(LoadBB)) {
 1391   for (User *U : V->users())
 1425   for (BasicBlock *Successor : successors(IntrinsicI->getParent())) {
 1696   for (const BasicBlock *Pred : predecessors(&CurrBlock)) {
 2290   for (BasicBlock *P : predecessors(CurrentBlock)) {
 2424   for (BasicBlock *CurrentBlock : depth_first(&F.getEntryBlock())) {
 2539       for (BasicBlock *S : successors(B)) {
 2544         for (BasicBlock *P : predecessors(S))
 2588     for (BasicBlock *P : predecessors(B)) {
 2591       for (PHINode &Phi : B->phis()) {
lib/Transforms/Scalar/GVNHoist.cpp
  270     for (const BasicBlock *BB : depth_first(&F.getEntryBlock())) {
  367     for (const BasicBlock *Succ : successors(BB))
  583     for (auto CHI : C) {
  599     for (auto CHI : C) {
  622       for (std::pair<VNType, Instruction *> &VI : reverse(it1->second)) {
  633     for (auto Pred : predecessors(BB)) {
  676     for (auto Node : depth_first(Root)) {
  819     for (const Use &Op : I->operands())
  830     for (const Use &Op : I->operands())
  939     for (User *U : NewMemAcc->users())
 1085     for (BasicBlock *BB : depth_first(&F.getEntryBlock())) {
lib/Transforms/Scalar/GVNSink.cpp
  361     for (auto &U : I->uses())
  377     for (auto *V : operands())
  596     for (PHINode &PN : BB->phis()) {
  765   for (auto *B : predecessors(BBEnd)) {
lib/Transforms/Scalar/GuardWidening.cpp
  405     for (auto *Candidate : make_range(I, E)) {
  527   for (Value *Op : Inst->operands())
lib/Transforms/Scalar/IndVarSimplify.cpp
  508   for (PHINode &PN : Header->phis())
  565     for (auto U : Curr->users()) {
  760     for (PHINode &PN : ExitBB->phis()) {
  861   for (auto *BB : L->blocks())
 1466     for (Use &U : NarrowUse->uses()) {
 1472     for (Use &U : NarrowUse->uses()) {
 1517     for (Use &U : NarrowUse->uses()) {
 1528     for (Use &U : NarrowUse->uses()) {
 1698   for (User *U : NarrowDef->users()) {
 1855     for (Instruction &I : make_range(Ctx->getIterator().getReverse(),
 1908     for (Use &U : NarrowDef->uses()) {
 2151       for (const User *User : I->users())
 2182   for (Value *Op : I->operands()) {
 2208   for (User *U : Phi->users())
 2211   for (User *U : IncV->users())
 2609     for (Use &U : I->uses()) {
 2920   for (BasicBlock *BB : L->blocks())
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1166     for (auto *SBB : successors(OriginalBB)) {
 1170       for (PHINode &PN : SBB->phis()) {
 1311   for (PHINode &PN : LS.Header->phis()) {
 1337   for (PHINode &PN : LS.Header->phis())
 1375   for (auto *BB : Original->blocks())
lib/Transforms/Scalar/InferAddressSpaces.cpp
  249                                    IncomingValues.end());
  356   for (Instruction &I : instructions(F)) {
  461   for (const Use &OperandUse : I->operands()) {
  672     for (Value *User : V->users()) {
lib/Transforms/Scalar/InstSimplifyPass.cpp
   57             for (User *U : I.users())
lib/Transforms/Scalar/JumpThreading.cpp
  458   for (Instruction &I : reverse(*BB)) {
  607     for (BasicBlock *Pred : predecessors(BB))
  635     for (BasicBlock *P : predecessors(BB)) {
  833         for (BasicBlock *P : predecessors(BB)) {
  865             for (BasicBlock *P : predecessors(BB)) {
  952     for (BasicBlock *Pred : predecessors(BB))
 1363   for (BasicBlock *PredBB : predecessors(LoadBB)) {
 1451     for (BasicBlock *P : predecessors(LoadBB)) {
 1683       for (BasicBlock *SuccBB : successors(BB)) {
 1749       for (BasicBlock *Succ : successors(Pred))
 1907   for (PHINode &PN : PHIBB->phis()) {
 2059     for (Use &U : I.uses()) {
 2130     for (auto Pred : predecessors(NewBB)) {
 2184   for (BasicBlock *Succ : successors(BB)) {
 2378     for (Use &U : I.uses()) {
 2584     for (Use &U : PN->uses()) {
 2623     for (auto *Succ : successors(SplitBB)) {
 2745   for (auto *Inst : reverse(ToRemove)) {
lib/Transforms/Scalar/LICM.cpp
  515   for (DomTreeNode *DTN : reverse(Worklist)) {
  654     for (BasicBlock *PredBB : predecessors(BB))
  941     for (Instruction *I : reverse(HoistedInstructions)) {
 1005   for (auto *U : Addr->users()) {
 1155         for (Value *Op : CI->arg_operands())
 1290   for (const Value *IncValue : PN.incoming_values())
 1308     for (const User *U : GEP->users()) {
 1331   for (const User *U : I.users()) {
 1960     for (User *U : ASIV->users()) {
 2187     for (BasicBlock *BB : InnerL->blocks())
 2191   for (BasicBlock *BB : L->blocks())
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  224   for (const auto BB : L->blocks()) {
  251   for (const auto BB : L->blocks()) {
lib/Transforms/Scalar/LoopDeletion.cpp
   53   for (PHINode &P : ExitBlock->phis()) {
   84   for (auto &I : L->blocks())
  105   for (auto *Pred: predecessors(Preheader)) {
  162     for (PHINode &P : ExitBlock->phis()) {
  163       std::fill(P.incoming_values().begin(), P.incoming_values().end(),
lib/Transforms/Scalar/LoopDistribute.cpp
  172       for (Value *V : I->operand_values()) {
  232     for (auto *Inst : reverse(Unused)) {
  401       for (auto PartJ : make_range(std::next(ToBeMerged.member_begin(I)),
  983     for (Loop *L : depth_first(TopLevelLoop))
lib/Transforms/Scalar/LoopFuse.cpp
  179     for (BasicBlock *BB : L->blocks()) {
  863       for (const SCEV *Op : Expr->operands())
 1021     for (BasicBlock *BB : FC1.L->blocks())
 1023         for (auto &Op : I.operands())
 1173       for (PHINode &PHI : FC0.Header->phis())
 1406       for (PHINode &PHI : FC0.Header->phis())
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1358       for (User *U : Inst->users()) {
 1513   for (User *U : CntPhi->users())
 1519   for (User *U : CntInst->users())
 1571       std::distance(InstWithoutDebugIt.begin(), InstWithoutDebugIt.end());
 1997     for (const PHINode &PHI : ExitBB->phis()) {
 1998       for (const BasicBlock *LoopBB :
 2016   for (BasicBlock *LoopBB : CurLoop->blocks()) {
lib/Transforms/Scalar/LoopInterchange.cpp
   92   for (BasicBlock *BB : L->blocks()) {
  609   for (BasicBlock *Succ : successors(OuterLoopHeaderBI))
  664   for (Value *User : V->users()) {
  682   for (PHINode &PHI : L->getHeader()->phis()) {
  720   for (PHINode &PHI : Block->phis()) {
  884   for (const Instruction &I :
  932   for (PHINode &PHI : LoopNestExit->phis()) {
  976   for (auto *BB : OuterLoop->blocks())
  977     for (Instruction &I : BB->instructionsWithoutDebug())
 1032   for (BasicBlock *BB : InnerLoop->blocks()) {
 1192   for (BasicBlock *BB : NewInner->blocks())
 1272         for (Value *Op : WorkList[i]->operands()) {
 1351   for (PHINode &P : make_early_inc_range(InnerExit->phis())) {
 1376   for (PHINode &P : InnerExit->phis())
 1380   for (PHINode &P : InnerLatch->phis())
 1401     for (PHINode &P : OuterExit->phis()) {
 1530   for (PHINode &PHI : drop_begin(InnerLoopHeader->phis(), 1))
 1532   for (PHINode &PHI : drop_begin(OuterLoopHeader->phis(), 1))
lib/Transforms/Scalar/LoopLoadElimination.cpp
  610     for (Loop *L : depth_first(TopLevelLoop))
lib/Transforms/Scalar/LoopPredication.cpp
  997   for (const auto BB : L->blocks()) {
lib/Transforms/Scalar/LoopRerollPass.cpp
  501   for (User *U : I->users()) {
  519   for (auto *User : IV->users()) {
  544         for (auto *UU : User->users()) {
  639   for (User *U : C->users()) {
  694       for (Use &U : I->uses()) {
  769   for (auto *UU : U->users()) {
  781   for (auto *I : Base->users()) {
  865   for (User *V : I->users()) {
  970     for (auto *IVU : IV->users()) {
 1108   for (auto *U : I->users()) {
 1169     for (auto *U : LoopControlIV->users()) {
 1173       for (auto *UU : IVUser->users()) {
 1562     for (User *U : PossibleReds[i].getReducedValue()->users()) {
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
   73     for (auto Case : SI->cases())
  197       for (auto *Succ : successors(BB))
  247       for (BasicBlock *Succ : successors(BB))
  366       for (auto &PN : BB->phis())
  393         for (auto *BB : L.blocks())
  488       for (auto *Succ : successors(BB))
lib/Transforms/Scalar/LoopSink.cpp
  181   for (auto &U : I.uses()) {
  277   for (BasicBlock *BB : L.blocks())
  285   for (BasicBlock *B : L.blocks())
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  401     for (const SCEV *S : Add->operands())
  710       for (const SCEV *S : Add->operands()) {
  725       for (const SCEV *S : Mul->operands()) {
  884   for (PHINode &PN : AR->getLoop()->getHeader()->phis()) {
  926     for (const SCEV *S : Add->operands()) {
  943         for (User *UR : UVal->users()) {
  977     for (Use &O : I->operands())
 2987   for (User *U : IVOper->users()) {
 3050   for (BasicBlock *BB : reverse(LatchPath)) {
 3080   for (PHINode &PN : L->getHeader()->phis()) {
 3219     for (PHINode &Phi : L->getHeader()->phis()) {
 3415       for (const Use &U : V->uses()) {
 3496     for (const SCEV *S : Add->operands()) {
 4170         for (unsigned LUIdx : UsedByIndices.set_bits())
 5391               for (const auto &val : PN->incoming_values())
 5404               for (const auto &Block : PN->blocks())
 5408                   for (const auto &val : NewPN->incoming_values())
 5526          for (BasicBlock *PredBB : PN->blocks())
lib/Transforms/Scalar/LoopUnrollPass.cpp
  438         for (Value *Op : I->operands()) {
  599       for (BasicBlock *Succ : successors(BB))
  644   for (BasicBlock *BB : L->blocks())
lib/Transforms/Scalar/LoopUnswitch.cpp
  604     for (Value *Opd : PN.incoming_values()) {
  682   for (const auto BB : currentLoop->blocks()) {
  786           for (auto Case : SI->cases()) {
 1180     for (auto Case : SI->cases()) {
 1320     for (PHINode &PN : ExitSucc->phis()) {
 1426   for (User *U : I->users())
 1470     for (User *U : LIC->users()) {
 1487   for (User *U : LIC->users()) {
 1561     for (PHINode &PN : NewSISucc->phis())
 1634           for (User *U : PN->users())
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  146     for (auto Op : llvm::reverse(Operations)) {
lib/Transforms/Scalar/LowerGuardIntrinsic.cpp
   51   for (auto &I : instructions(F))
lib/Transforms/Scalar/LowerWidenableCondition.cpp
   52   for (auto &I : instructions(F))
lib/Transforms/Scalar/MakeGuardsExplicit.cpp
   88   for (auto &I : instructions(F))
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  526   for (auto *I : llvm::reverse(ToLift)) {
  563         for (auto &I : make_range(++LI->getIterator(), SI->getIterator())) {
  825       for (User *UU : U->users())
  833       for (User *UU : U->users())
lib/Transforms/Scalar/MergeICmps.cpp
  287   for (Instruction *Inst : reverse(OtherInsts)) {
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
  174   for (const Instruction &Inst :
  190   for (Instruction &Inst : reverse(*BB1)) {
  303   int Size1 = std::distance(InstsNoDbg.begin(), InstsNoDbg.end());
lib/Transforms/Scalar/NaryReassociate.cpp
  233   for (const auto Node : depth_first(DT)) {
lib/Transforms/Scalar/NewGVN.cpp
  208     for (auto &Op : I->operands()) {
 1008   std::transform(Filtered.begin(), Filtered.end(), op_inserter(E),
 1190     for (Value *Arg : E->operands())
 1889   for (const auto &Op : CI->operands()) {
 2073   for (auto *User : V->users()) {
 2092   for (auto U : MA->users())
 2116   for (auto M : CC->memory())
 2135   for (const auto X : R) {
 2570   for (auto *U : ExistingValue->users())
 2606   for (auto *Op : OrigI->operand_values()) {
 2765       for (auto &Op : ValueOp->operands()) {
 2872   for (auto DTN : nodes(DT)) {
 2899         for (auto *U : I.users())
 2913   for (auto &FA : F.args())
 3034   if (Filtered.begin() == Filtered.end()) {
 3046   auto MappedEnd = map_iterator(Filtered.end(), LookupFunc);
 3138   for (auto *ChainDef : optimized_def_chain(First)) {
 3183     for (auto M : CC->memory())
 3205           for (auto &U : MemPHI->incoming_values()) {
 3218   for (auto KV : Filtered) {
 3243       std::transform(FilteredPhiArgs.begin(), FilteredPhiArgs.end(),
 3357     for (unsigned InstrNum : TouchedInstructions.set_bits()) {
 3443   for (auto DTN : depth_first(DT->getRootNode())) {
 3487   for (auto &BB : make_filter_range(F, UnreachableBlockPred)) {
 3606     for (auto &U : Def->uses()) {
 3836     for (auto &Operand : PHI->incoming_values())
 3872   for (auto *CC : reverse(CongruenceClasses)) {
lib/Transforms/Scalar/PlaceSafepoints.cpp
  283       for (BasicBlock *Succ : successors(BB)) {
lib/Transforms/Scalar/Reassociate.cpp
  170   for (auto &Arg : F.args()) {
  856   for (User *U : V->users()) {
 2129         for (User *U : NI->users()) {
 2156         for (User *U : NI->users()) {
lib/Transforms/Scalar/Reg2Mem.cpp
   51       for (const User *U : Inst->users()) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  826         for (Value *InVal : PN->incoming_values())
  890         for (Value *Val : PN->incoming_values())
 1633   for (User *U : GCRelocs) {
 1809     for (User *U : Def->users()) {
 2112           for (auto OpValue : ClonedValue->operand_values()) {
 2356     for (Value *V : Statepoint.gc_args()) {
 2402   for (Argument &A : F.args())
 2453   for (Instruction &I : instructions(F)) {
 2541   for (Instruction &I : instructions(F)) {
 2604   for (Instruction &I : instructions(F)) {
 2641   for (auto &I : make_range(Begin, End)) {
 2651     for (Value *V : I.operands()) {
 2672   for (BasicBlock *Succ : successors(BB)) {
 2756     for (BasicBlock *Succ : successors(BB)) {
lib/Transforms/Scalar/SCCP.cpp
  565       for (PHINode &PN : Dest->phis())
  591     for (User *U : I->users())
 1812   for (Argument &AI : F.args())
 2034     for (Argument &AI : F.args())
 2041   for (GlobalVariable &G : M.globals()) {
lib/Transforms/Scalar/SROA.cpp
  983       for (User *U : I->users())
 1206   for (User *U : PN.users()) {
 1335   for (User *U : SI.users()) {
 3139       for (User *U : I->users())
 3250     for (Use &U : I.uses())
 3662   for (auto &P : AS.partitions()) {
 3687           for (User *LU : LI->users()) {
 3898     for (User *LU : LI->users()) {
 4333   for (auto &P : AS.partitions()) {
 4466     for (Use &DeadOp : DeadUser->operands())
 4525     for (Use &Operand : I->operands())
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
 1201   for (const auto Node : depth_first(DT)) {
 1282   for (User *U : V->users()) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  116     for (Value *OpV : I.operand_values()) {
  200   for (PHINode &PN : UnswitchedBB.phis()) {
  204     for (auto i : seq<int>(0, PN.getNumOperands())) {
  227   for (PHINode &PN : ExitBB.phis()) {
  314     for (BasicBlock *BB : L.blocks())
  585   for (auto Case : SI.cases()) {
  629   for (unsigned Index : reverse(ExitCaseIndices)) {
  705   for (auto &ExitCase : reverse(ExitCases)) {
  734   for (auto &ExitCase : reverse(ExitCases)) {
  749     for (const auto &Case : SI.cases())
  755     for (const auto &Case : SI.cases()) {
  774     for (auto Case : SI.cases()) {
 1005   for (auto *LoopBB : L.blocks())
 1077   for (auto *LoopBB : L.blocks())
 1079       for (auto *SuccBB : successors(LoopBB))
 1081           for (PHINode &PN : ClonedSuccBB->phis())
 1087   for (auto *SuccBB : successors(ParentBB)) {
 1108   for (PHINode &PN : ClonedSuccBB->phis()) {
 1126     for (auto *SuccBB : successors(ClonedBB))
 1146     for (auto *BB : OrigL.blocks()) {
 1172   for (Loop *ChildL : llvm::reverse(OrigRootL))
 1180     for (Loop *ChildL : llvm::reverse(*L))
 1237   for (auto *BB : OrigL.blocks())
 1247   for (auto *Pred : predecessors(ClonedHeader)) {
 1282       for (auto *Pred : predecessors(BB))
 1303     for (auto *BB : OrigL.blocks()) {
 1334       for (auto *ChildLoopBB : ChildL->blocks())
 1386       for (BasicBlock *PredBB : predecessors(BB)) {
 1439     for (auto *ChildLoopBB : ChildL->blocks())
 1459           for (BasicBlock *SuccBB : successors(ClonedBB))
 1491   DeathCandidates.append(L.blocks().begin(), L.blocks().end());
 1495       for (BasicBlock *SuccBB : successors(BB)) {
 1575   for (auto *Pred : predecessors(Header)) {
 1630         for (auto *InnerBB : InnerL->blocks()) {
 1648     for (auto *Pred : predecessors(BB))
 1706       for (auto *BB : L.blocks())
 1736   for (auto *BB : make_range(BlocksSplitI, Blocks.end()))
 1785       for (BasicBlock *PredBB : predecessors(BB)) {
 1840   for (auto *HoistedL : make_range(SubLoopsSplitI, SubLoops.end())) {
 1950     for (auto Case : SI->cases())
 2060       for (auto &Case : SI->cases())
 2116       for (auto &Case : NewSI->cases())
 2388   for (auto *Succ : successors(CheckBB))
 2414   for (auto *Succ : successors(CheckBB))
 2542   for (auto *BB : L.blocks()) {
 2634   for (auto *BB : L.blocks()) {
 2677     for (BasicBlock *SuccBB : successors(&BB)) {
lib/Transforms/Scalar/Sink.cpp
   42   for (Use &U : Inst->uses()) {
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
   57   for (Use &U : PN.uses()) {
  218   for (int i : llvm::seq<int>(0, PN.getNumIncomingValues())) {
  253   for (Use &U : PN.uses()) {
  348     for (Use &U : PN->uses()) {
  435     for (Use &U : PN->uses())
  462         for (Value *OpV : I->operand_values())
  492         for (auto *PN : llvm::make_range(UserPNsSplitIt, UserPNs.end())) {
  494           for (Use &U : PN->uses())
  516           for (Use &U : PN->uses()) {
  535           for (auto *OpV : SpecI->operand_values()) {
  627     for (auto *OpV : OrigI->operand_values()) {
  644       for (int i : llvm::seq<int>(0, OpPN->getNumIncomingValues()))
  652   for (int PredIdx : llvm::seq<int>(0, SpecPreds.size())) {
  665       for (Use &U : NewI->operands()) {
  701   for (auto *OrigI : llvm::reverse(SpecList)) {
  708       for (int PredIdx : llvm::seq<int>(0, SpecPreds.size()))
  771   for (auto *PredBB : PNs[0]->blocks()) {
lib/Transforms/Scalar/SpeculativeExecution.cpp
  257     for (Value* V : U->operand_values()) {
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  715   for (const auto Node : depth_first(DT))
lib/Transforms/Scalar/StructurizeCFG.cpp
  396     for (BasicBlock *Succ : Term->successors())
  416     for (User *U : Condition->users())
  455   for (BasicBlock *P : predecessors(BB)) {
  518   for (RegionNode *RN : reverse(Order)) {
  585   for (PHINode &Phi : To->phis()) {
  595   for (PHINode &Phi : To->phis()) {
  909   for (BasicBlock *BB : ParentRegion->blocks())
  946   for (auto E : R->elements()) {
  970       for (auto BB : E->getNodeAs<Region>()->blocks()) {
 1021       for (RegionNode *E : R->elements()) {
lib/Transforms/Scalar/TailRecursionElimination.cpp
  112       for (auto &U : V->uses()) {
  196   for (Argument &Arg : F.args()) {
  254         for (auto &Arg : CI->arg_operands()) {
  282     for (auto *SuccBB : make_range(succ_begin(BB), succ_end(BB))) {
lib/Transforms/Utils/BasicBlockUtils.cpp
   62     for (BasicBlock *Succ : successors(BB)) {
  100     for (BasicBlock *Pred : predecessors(BB))
  122   for (BasicBlock *BB : depth_first_ext(&F, Reachable))
  160   for (PHINode &PN : BB->phis())
  208   for (PHINode &PN : BB->phis())
  209     for (Value *IncValue : PN.incoming_values())
  219     for (PHINode &PN : BB->phis())
lib/Transforms/Utils/BreakCriticalEdges.cpp
  114   for (PHINode &PN : DestBB->phis()) {
lib/Transforms/Utils/CallPromotionUtils.cpp
   49   for (PHINode &Phi : Invoke->getNormalDest()->phis()) {
   81   for (PHINode &Phi : Invoke->getUnwindDest()->phis()) {
  113   for (User *U : OrigInst->users())
  166   for (User *U : CS.getInstruction()->users())
lib/Transforms/Utils/CanonicalizeAliases.cpp
   57   for (Use &U : CE->operands())
   65   for (auto &GA : M.aliases())
lib/Transforms/Utils/CloneFunction.cpp
   94   for (const Argument &I : OldFunc->args())
  115   for (const Argument &OldArg : OldFunc->args()) {
  192   for (DISubprogram *ISP : DIFinder.subprograms())
  196   for (DICompileUnit *CU : DIFinder.compile_units())
  199   for (DIType *Type : DIFinder.types())
  221     for (auto* Operand : NMD->operands())
  223     for (auto* Unit : DIFinder.compile_units())
  244   for (const Argument &I : F->args())
  258   for (const Argument & I : F->args())
  433     for (const BasicBlock *Succ : successors(TI))
  464     for (const Argument &II : OldFunc->args())
  503     for (const PHINode &PN : BI.phis()) {
  634     for (const User *U : OrigV->users())
lib/Transforms/Utils/CloneModule.cpp
  193       for (const auto* Operand : NewNMD->operands())
  195       for (const auto* Operand : NMD.operands()) {
lib/Transforms/Utils/CodeExtractor.cpp
  110     for (auto const &U : Curr->operands()) {
  140       for (auto *HBB : CSI->handlers())
  149       for (const auto *U : CPI->users())
  160       for (const auto *U : CPI->users())
  230     for (auto *PBB : predecessors(BB))
  288     for (auto *Succ : successors(Block)) {
  310     for (Instruction &II : BB.instructionsWithoutDebug())
  319   for (Instruction &II : BB.instructionsWithoutDebug()) {
  389   for (auto *Pred : predecessors(CommonExitBlock)) {
  448   for (User *U : Addr->users()) {
  532     for (User *U : AI->users()) {
  604       for (auto &OI : II.operands()) {
  610       for (User *U : II.users())
  703     for (PHINode &PN : ExitBB->phis()) {
  737       for (unsigned i : reverse(IncomingVals))
 1400     for (BasicBlock *Pred : predecessors(header)) {
 1553     for (PHINode &PN : ExitBB->phis()) {
lib/Transforms/Utils/CtorUtils.cpp
   71   for (auto &V : CA->operands()) {
   94   for (auto &V : CA->operands()) {
lib/Transforms/Utils/Evaluator.cpp
   75     for (Value *Op : C->operands())
lib/Transforms/Utils/FlattenCFG.cpp
  457   for (BasicBlock *Succ : successors(PBI)) {
  458     for (PHINode &Phi : Succ->phis()) {
lib/Transforms/Utils/FunctionImportUtils.cpp
  292   for (GlobalVariable &GV : M.globals())
  296   for (GlobalAlias &GA : M.aliases())
  302     for (auto &GO : M.global_objects())
lib/Transforms/Utils/GlobalStatus.cpp
   52   for (const User *U : C->users())
   67   for (const Use &U : V->uses()) {
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
   63   for (const auto &F : M.functions()) {
lib/Transforms/Utils/InlineFunction.cpp
  255           for (User *Child : CatchPad->users()) {
  289       for (User *U : CleanupPad->users()) {
  487       for (BasicBlock *HandlerBlock : CatchSwitch->handlers()) {
  489         for (User *U : CatchPad->users()) {
  502       for (User *U : UselessPad->users()) {
  729         for (BasicBlock *PadBB : CatchSwitch->handlers())
  927   for (const Argument &Arg : CalledFunc->args())
 1010         for (Value *Arg : Call->args()) {
 1154   for (Argument &Arg : CalledFunc->args()) {
 1315   for (User *U : V->users())
 1332   for (User *U : AI->users()) {
 1809       for (BasicBlock &NewBlock :
 2214     for (BasicBlock &NewBB :
lib/Transforms/Utils/InstructionNamer.cpp
   34       for (auto &Arg : F.args())
lib/Transforms/Utils/LCSSA.cpp
  104     for (Use &U : I->uses()) {
lib/Transforms/Utils/Local.cpp
  243       for (BasicBlock *Succ : successors(SI)) {
  468     for (Use &OpU : I.operands()) {
  576     for (User *U : I->users()) {
  977       for (Use &U : BBI->uses()) {
 1424     for (auto &AIUse : AI->uses()) {
 1475     for (auto VI : PHI->operand_values()) {
 1505   for (User *U : MDV->users()) {
 1521       for (User *U : MDV->users())
 1534       for (User *U : MDV->users())
 1911   for (BasicBlock *Successor : successors(BB)) {
 2168     for (BasicBlock *Successor : successors(BB))
 2193     for (BasicBlock *PadBB : CatchSwitch->handlers())
 2241     for (BasicBlock *Successor : successors(BB)) {
 2972     for (Value *IncValue : PN->incoming_values()) {
lib/Transforms/Utils/LoopRotationUtils.cpp
  182   for (auto &Phi : Header->phis()) {
  386   for (BasicBlock *SuccBB : successors(OrigHeader))
  565         for (User *UseI : IVOpnd->users()) {
lib/Transforms/Utils/LoopSimplify.cpp
  615       for (auto *SuccBB : successors(ExitingBB)) {
lib/Transforms/Utils/LoopUnroll.cpp
  113       for (Use &U : I.operands()) {
  189   for (const PHINode &PN : Header->phis()) {
  421         for (auto &BB : L->blocks())
  638       for (BasicBlock *Succ : successors(*BB)) {
  641         for (PHINode &PHI : Succ->phis()) {
  657       for (auto *Pred : predecessors(*BB))
  725         for (BasicBlock *Succ : successors(BB)) {
  730           for (PHINode &Phi : Succ->phis())
lib/Transforms/Utils/LoopUnrollAndJam.cpp
   59   for (BasicBlock *BB : L->blocks()) {
   95   for (auto &Phi : Header->phis()) {
  108       for (auto &U : I->operands())
  133   for (Instruction *I : reverse(Visited)) {
  392     for (PHINode &Phi : ForeBlocksFirst[It]->phis()) {
  413     for (PHINode &Phi : BB->phis()) {
  423     for (PHINode &Phi : BB->phis()) {
lib/Transforms/Utils/LoopUnrollPeel.cpp
  177   for (auto *BB : L.blocks()) {
  555     for (PHINode &PHI : Edge.second->phis()) {
lib/Transforms/Utils/LoopUnrollRuntime.cpp
   92   for (BasicBlock *Succ : successors(Latch)) {
   93     for (PHINode &PN : Succ->phis()) {
  138     for (BasicBlock *PredBB : predecessors(PrologExit))
  206   for (PHINode &PN : NewExit->phis()) {
  249   for (BasicBlock *Succ : successors(Latch)) {
  253     for (PHINode &PN : Succ->phis()) {
  849     for (auto *BB : L->blocks()) {
lib/Transforms/Utils/LoopUtils.cpp
   67     for (auto *PredBB : predecessors(BB))
  103   for (auto *BB : L->blocks())
  104     for (auto *SuccBB : successors(BB)) {
  321     for (const MDOperand &Existing : drop_begin(OrigLoopID->operands(), 1)) {
  358     for (const MDOperand &Option : drop_begin(FollowupNode->operands(), 1)) {
  564   for (PHINode &P : ExitBlock->phis()) {
  611   for (auto *Block : L->blocks())
  654   for (auto *Block : L->blocks())
lib/Transforms/Utils/LoopVersioning.cpp
  143       for (User *U : Inst->users())
  274       for (Loop *L : depth_first(TopLevelLoop))
lib/Transforms/Utils/LowerSwitch.cpp
  237     for (unsigned III : llvm::reverse(Indices))
  403   for (auto Case : SI->cases()) {
lib/Transforms/Utils/ModuleUtils.cpp
   77     for (auto &Op : CA->operands()) {
  219     for (Function &F : M.functions())
  225     for (GlobalVariable &GV : M.globals())
  231     for (GlobalAlias &GA : M.aliases())
  266   for (auto &GV : M->globals())
  268   for (auto &GA : M->aliases())
  270   for (auto &IF : M->ifuncs())
lib/Transforms/Utils/NameAnonGlobals.cpp
   46     for (auto &GV : TheModule.globals()) {
   75   for (auto &GO : M.global_objects())
   77   for (auto &GA : M.aliases())
lib/Transforms/Utils/PredicateInfo.cpp
  293   for (auto &U : Op->uses()) {
  475   for (auto C : SI->cases()) {
  493   for (auto DTN : depth_first(DT.getRootNode())) {
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
   70   for (const User *U : AI->users()) {
  458   for (User *U : AI->users())
  828     for (BasicBlock *P : predecessors(BB)) {
lib/Transforms/Utils/SSAUpdater.cpp
  154     for (PHINode &SomePHI : BB->phis()) {
lib/Transforms/Utils/SimplifyCFG.cpp
  242   for (BasicBlock *Succ : successors(SI2BB))
  285   for (BasicBlock *Succ : successors(SI2BB))
  304   for (PHINode &PN : Succ->phis())
  730     for (auto Case : SI->cases())
  916   for (BasicBlock *Succ : successors(TIBB))
 1220   for (BasicBlock *Succ : successors(BB1)) {
 1221     for (const PHINode &PN : Succ->phis()) {
 1355   for (BasicBlock *Succ : successors(BB1)) {
 1356     for (PHINode &PN : Succ->phis()) {
 1396   for (BasicBlock *Succ : successors(BB1)) {
 1397     for (PHINode &PN : Succ->phis()) {
 1419   for (BasicBlock *Succ : successors(BB1))
 1748   for (auto *B : predecessors(BB)) {
 1898   for (Instruction &CurI : reverse(BrBB->instructionsWithoutDebug())) {
 2044   for (PHINode &PN : EndBB->phis()) {
 2116   for (PHINode &PN : EndBB->phis()) {
 2152   for (Instruction &I : BB->instructionsWithoutDebug()) {
 2159     for (User *U : I.users()) {
 2593                     E = BB->instructionsWithoutDebug().end();
 2938   for (BasicBlock *PredBB : predecessors(Succ))
 3001     for (auto &I : BB->instructionsWithoutDebug()) {
 3415   for (PHINode &PN : CommonDest->phis()) {
 3470   for (BasicBlock *Succ : successors(OldTerm)) {
 4013         for (auto *pred : predecessors(BB)) {
 4036       for (auto *pred : predecessors(UnwindDest))
 4349   for (auto Case : SI->cases()) {
 4470   for (auto &Case : SI->cases()) {
 4530   for (PHINode &PHI : Succ->phis()) {
 4554   for (auto &Case : SI->cases()) {
 4569     for (PHINode &Phi : CaseDest->phis()) {
 4689   for (Instruction &I :CaseDest->instructionsWithoutDebug()) {
 4702       for (auto &Use : I.uses()) {
 4727   for (PHINode &PHI : (*CommonDest)->phis()) {
 4773   for (auto &I : SI->cases()) {
 5504       for (auto *User : PHI->users()) {
 5567   for (auto &C : SI->cases())
 5624   for (auto Case : SI->cases()) {
 5752   for (BasicBlock *OtherPred : predecessors(Succ)) {
 5851   for (auto *P : predecessors(BB)) {
 6018   for (PHINode &PHI : BB->phis())
lib/Transforms/Utils/SimplifyIndVar.cpp
  460   for (auto *U : WO->users()) {
  539   for (auto *U : TI->users()) {
  771     for (auto *U : BO->users()) {
  796   for (User *U : Def->users()) {
lib/Transforms/Utils/SimplifyLibCalls.cpp
   94   for (User *U : V->users()) {
  164   for (User *U : V->users()) {
 1262     for (User *U : CI->users()) {
 2136   for (User *U : Arg->users())
lib/Transforms/Utils/SplitModule.cpp
   79   for (auto *U : V->users()) {
  256     for (GlobalVariable &GV : M->globals())
  258     for (GlobalAlias &GA : M->aliases())
  260     for (GlobalIFunc &GIF : M->ifuncs())
lib/Transforms/Utils/StripGCRelocates.cpp
   48   for (Instruction &I : instructions(F)) {
lib/Transforms/Utils/SymbolRewriter.cpp
  179   for (auto &C : (M.*Iterator)()) {
lib/Transforms/Utils/ValueMapper.cpp
  854   for (Use &Op : I->operands()) {
  937   for (Use &Op : F.operands())
  946     for (Argument &A : F.args())
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  293   for (BasicBlock *BB : post_order(&F)) {
  618   for (Instruction &I : make_range(getBoundaryInstrs(Chain))) {
 1204       for (auto Use : Chain[I]->users()) {
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  360   for (PHINode &Phi : BB->phis()) {
  361     for (Value *V : Phi.incoming_values())
  397     for (User *U : Inst->users()) {
  430   for (BasicBlock *BB : TheLoop->blocks()) {
  578   for (BasicBlock *BB : TheLoop->blocks()) {
  883     for (Value *Operand : I.operands()) {
  941   for (BasicBlock *BB : TheLoop->blocks()) {
  965   for (BasicBlock *BB : TheLoop->blocks()) {
 1209     for (User *U : AE->users()) {
 1226   for (BasicBlock *BB : TheLoop->blocks()) {
lib/Transforms/Vectorize/LoopVectorize.cpp
 3121   for (User *U : PostInc->users()) {
 3132   for (User *U : OrigPhi->users()) {
 3227   for (auto &ArgOp : CI->arg_operands())
 3464   for (PHINode &Phi : OrigLoop->getHeader()->phis()) {
 3621   for (auto *BB : predecessors(LoopScalarPreHeader)) {
 3634   for (PHINode &LCSSAPhi : LoopExitBlock->phis()) {
 3730       for (User *U : VecLoopExitInst->users()) {
 3821   for (PHINode &LCSSAPhi : LoopExitBlock->phis()) {
 3844   for (PHINode &LCSSAPhi : LoopExitBlock->phis()) {
 4113         for (auto &U : make_range(GEP->idx_begin(), GEP->idx_end())) {
 4160       for (Value *Op : I.operands())
 4270     for (Value *ArgOperand : CI->arg_operands())
 4439   for (auto *BB : TheLoop->blocks())
 4706   for (auto *BB : TheLoop->blocks())
 4749     for (auto OV : I->operand_values()) {
 5075   for (BasicBlock *BB : TheLoop->blocks()) {
 5077     for (Instruction &I : BB->instructionsWithoutDebug()) {
 5335   for (BasicBlock *BB : make_range(DFS.beginRPO(), DFS.endRPO())) {
 5336     for (Instruction &I : BB->instructionsWithoutDebug()) {
 5340       for (Value *U : I.operands()) {
 5526   for (BasicBlock *BB : TheLoop->blocks()) {
 5584     for (Use &U : I->operands())
 5626     for (Use &U : I->operands())
 5654   for (BasicBlock *BB : TheLoop->blocks()) {
 5658     for (Instruction &I : BB->instructionsWithoutDebug()) {
 5942   for (BasicBlock *BB : TheLoop->blocks()) {
 6042   for (BasicBlock *BB : TheLoop->blocks())
 6057     for (auto &Op : I->operands())
 6697   for (auto *Predecessor : predecessors(BB)) {
 6954   for (auto &Op : I->operands())
 7053   for (BasicBlock *BB : OrigLoop->blocks()) {
 7115   for (BasicBlock *BB : make_range(DFS.beginRPO(), DFS.endRPO())) {
 7128     for (Instruction &I : BB->instructionsWithoutDebug()) {
 7281   for (auto &Instr : make_range(Begin, End))
lib/Transforms/Vectorize/SLPVectorizer.cpp
 1774           for (Use &U : BundleMember->Inst->operands())
 2138       for (User *U : Scalar->users()) {
 3376     for (auto &J : PrevInst->operands()) {
 3601     for (auto &I : make_range(BasicBlock::iterator(Front), BB->end())) {
 4372         for (User *U : Scalar->users()) {
 4751           for (User *U : BundleMember->Inst->users()) {
 4962       for (Use &U : I->operands())
 5037     for (Value *IncValue : PN->incoming_values())
 5303   for (auto BB : post_order(&F.getEntryBlock())) {
 5429   for (auto *SI : llvm::reverse(Heads)) {
 6798       for (auto *Op : Inst->operand_values())
 6873   for (auto *I : reverse(Instructions)) {
 6994         for (auto *V : it->operand_values()) {
lib/Transforms/Vectorize/VPlan.cpp
  106   for (VPBlockBase *Block : depth_first(Entry))
  364   for (const VPValue *Operand : operands()) {
  410   for (VPBlockBase *Block : depth_first(Entry))
  525   for (VPBlockBase *Block : depth_first(Plan.getEntry()))
  619   for (const VPBlockBase *Block : depth_first(Region->getEntry()))
  649   for (auto &Instr : make_range(Begin, End))
  716   for (VPUser *User : users())
lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
   86   for (BasicBlock *Pred : predecessors(BB))
  102     for (Value *Op : Phi->operands())
  225       for (Value *Op : Inst->operands())
lib/Transforms/Vectorize/VPlanPredicator.cpp
  194   for (VPBlockBase *Block : make_range(RPOT.begin(), RPOT.end())) {
  211   for (VPBlockBase *CurrBlock : make_range(RPOT.begin(), RPOT.end())) {
lib/Transforms/Vectorize/VPlanVerifier.cpp
   44   for (const VPBlockBase *VPB :
  116   for (const VPBlockBase *VPB :
lib/XRay/InstrumentationMap.cpp
   77   if (I == Sections.end())
  102     for (const object::SectionRef &Section : Sections) {
  103       for (const object::RelocationRef &Reloc : Section.relocations()) {
lib/XRay/Profile.cpp
  167   while (It != RootToLeafPath.end()) {
tools/bugpoint-passes/TestPasses.cpp
   87     for (auto &F : M.functions()) {
tools/bugpoint/CrashDebugger.cpp
  165   for (GlobalVariable &I : M->globals())
  222   for (Value *V : OldUsedVal->operand_values()) {
  266     for (GlobalAlias &Alias : M->aliases()) {
  396   for (auto *BB : depth_first(&F.getEntryBlock()))
  408     for (BasicBlock *Successor : successors(&*BB))
  463   for (Function &F : M->functions()) {
  468         for (BasicBlock *Succ : successors(&BB))
  854   for (auto &NamedMD : M->named_metadata())
  918   for (auto &NamedMD : BD.getProgram().named_metadata()) {
  923     for (MDNode *op : NamedMD.operands())
  959   for (GlobalVariable &GV : M->globals()) {
  984   for (GlobalVariable &GV : OrigM.globals())
 1228       for (auto &NamedMD : BD.getProgram().named_metadata())
 1240       for (auto &NamedMD : BD.getProgram().named_metadata())
 1241         for (auto op : NamedMD.operands())
tools/bugpoint/ExtractFunction.cpp
  339   for (GlobalVariable &I : M->globals()) {
tools/bugpoint/Miscompilation.cpp
  910           for (Argument &A : FuncWrapper->args())
tools/clang/include/clang/AST/ASTImporter.h
  204         return VecTy(R.begin(), R.end());
tools/clang/include/clang/AST/ASTNodeTraverser.h
   85       for (const auto &A : D->attrs())
  115       for (const Stmt *SubStmt : S->children())
  178       for (const auto *S : C->children())
  230     for (const auto *D : (Deserialize ? DC->decls() : DC->noload_decls()))
  365       for (const auto *I : C->inits())
  402     for (const auto *E : D->varlists())
  413     for (const auto *C : D->clauselists())
  422     for (const auto *E : D->varlists())
  424     for (const auto *C : D->clauselists())
  430     for (const auto *RedeclWithBadType : D->redecls()) {
  453     for (const auto *Child : D->specializations())
  570     for (const auto &I : D->inits())
  584     for (const auto &D : Node->decls())
  623     for (const auto &Assoc : E->associations()) {
tools/clang/include/clang/AST/EvaluatedExprVisitor.h
  101     for (auto *SubStmt : S->children())
tools/clang/include/clang/AST/Expr.h
 4563                        cast_away_const(CCR.end()));
 5784                        cast_away_const(CCR.end()));
tools/clang/include/clang/AST/ExprCXX.h
  912     return const_child_range(Children.begin(), Children.end());
 1605     return const_child_range(Children.begin(), Children.end());
tools/clang/include/clang/AST/ExprObjC.h
  251     return const_child_range(Children.begin(), Children.end());
  396     return const_child_range(Children.begin(), Children.end());
  800     return const_child_range(Children.begin(), Children.end());
tools/clang/include/clang/AST/JSONNodeDumper.h
  351     for (const auto *RedeclWithBadType : SD->redecls()) {
  401     for (const auto *Child : TD->specializations())
tools/clang/include/clang/AST/OpenMPClause.h
   90     return const_child_range(Children.begin(), Children.end());
   99     return const_child_range(Children.begin(), Children.end());
  400     return const_child_range(Children.begin(), Children.end());
  507     return const_child_range(Children.begin(), Children.end());
  575     return const_child_range(Children.begin(), Children.end());
 1449     return const_child_range(Children.begin(), Children.end());
 1965     return const_child_range(Children.begin(), Children.end());
 2104     return const_child_range(Children.begin(), Children.end());
 2113     return const_child_range(Children.begin(), Children.end());
 2317     return const_child_range(Children.begin(), Children.end());
 2389     return const_child_range(Children.begin(), Children.end());
 2623     return const_child_range(Children.begin(), Children.end());
 2632     return const_child_range(Children.begin(), Children.end());
 2857     return const_child_range(Children.begin(), Children.end());
 3112     return const_child_range(Children.begin(), Children.end());
 3389     return const_child_range(Children.begin(), Children.end());
 3396     return const_child_range(Children.begin(), Children.end());
 3488     return const_child_range(Children.begin(), Children.end());
 3664     return const_child_range(Children.begin(), Children.end());
 3827     return const_child_range(Children.begin(), Children.end());
 3904     return const_child_range(Children.begin(), Children.end());
 4035     return const_child_range(Children.begin(), Children.end());
 5030     return const_child_range(Children.begin(), Children.end());
 5041     return const_child_range(Children.begin(), Children.end());
 5267     return const_child_range(Children.begin(), Children.end());
 5335     return const_child_range(Children.begin(), Children.end());
 5442     return const_child_range(Children.begin(), Children.end());
 5615     return const_child_range(Children.begin(), Children.end());
 5844     return const_child_range(Children.begin(), Children.end());
 5962     return const_child_range(Children.begin(), Children.end());
 6125     return const_child_range(Children.begin(), Children.end());
 6228     return const_child_range(Children.begin(), Children.end());
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1009   for (const auto &A : T->param_types()) {
 1388   for (auto *Child : DC->decls()) {
 1596   for (auto *I : D->varlists()) {
 1602   for (auto *C : D->clauselists()) {
 1616   for (auto *C : D->clauselists())
 1625   for (auto *I : D->varlists())
 1627   for (auto *C : D->clauselists())
 1659   for (auto *SD : D->specializations()) {
 1660     for (auto *RD : SD->redecls()) {
 1690   for (auto *SD : D->specializations()) {
 1691     for (auto *RD : SD->redecls()) {
 1715   for (auto *FD : D->specializations()) {
 1716     for (auto *RD : FD->redecls()) {
 1855     for (const auto &I : D->bases()) {
 2029     for (auto *I : Ctor->inits()) {
 2181   for (auto *I : S->decls()) {
 2315     for (Stmt *SubStmt : S->children()) {
 2354   for (const GenericSelectionExpr::Association &Assoc : S->associations()) {
 3066   for (auto *E : Node->varlists()) {
 3075   for (auto *E : C->private_copies()) {
 3086   for (auto *E : C->private_copies()) {
 3089   for (auto *E : C->inits()) {
 3100   for (auto *E : C->private_copies()) {
 3103   for (auto *E : C->source_exprs()) {
 3106   for (auto *E : C->destination_exprs()) {
 3109   for (auto *E : C->assignment_ops()) {
 3127   for (auto *E : C->privates()) {
 3130   for (auto *E : C->inits()) {
 3133   for (auto *E : C->updates()) {
 3136   for (auto *E : C->finals()) {
 3152   for (auto *E : C->source_exprs()) {
 3155   for (auto *E : C->destination_exprs()) {
 3158   for (auto *E : C->assignment_ops()) {
 3168   for (auto *E : C->source_exprs()) {
 3171   for (auto *E : C->destination_exprs()) {
 3174   for (auto *E : C->assignment_ops()) {
 3187   for (auto *E : C->privates()) {
 3190   for (auto *E : C->lhs_exprs()) {
 3193   for (auto *E : C->rhs_exprs()) {
 3196   for (auto *E : C->reduction_ops()) {
 3209   for (auto *E : C->privates()) {
 3212   for (auto *E : C->lhs_exprs()) {
 3215   for (auto *E : C->rhs_exprs()) {
 3218   for (auto *E : C->reduction_ops()) {
 3231   for (auto *E : C->privates()) {
 3234   for (auto *E : C->lhs_exprs()) {
 3237   for (auto *E : C->rhs_exprs()) {
 3240   for (auto *E : C->reduction_ops()) {
 3243   for (auto *E : C->taskgroup_descriptors())
tools/clang/include/clang/AST/Redeclarable.h
  301   redecl_iterator redecls_end() const { return redecls().end(); }
tools/clang/include/clang/AST/Stmt.h
 1175     return const_child_range(Children.begin(), Children.end());
 1179   child_iterator child_end() { return children().end(); }
 1182   const_child_iterator child_end() const { return children().end(); }
 1413     for (auto *B : llvm::reverse(body())) {
tools/clang/include/clang/AST/StmtOpenMP.h
  106           ChildEnd = (*this->I)->used_children().end();
  119         ChildEnd = (*this->I)->used_children().end();
  134           ChildEnd = (*this->I)->used_children().end();
  208     if (Clauses.begin() != Clauses.end()) {
  209       assert(std::next(Clauses.begin()) == Clauses.end() &&
  221     return Clauses.begin() != Clauses.end();
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 3925   for (const Expr *Arg : Node.arguments()) {
 4824   for (const auto *Overridden : Node.overridden_methods()) {
 6182   for (const auto *I : Node.inits()) {
 6400   for (const auto *Attr : Node.attrs()) {
tools/clang/include/clang/Analysis/Analyses/Dominators.h
  206     ChildrenTy Ret{Children.begin(), Children.end()};
  296   ResultTy Ret(RChildren.begin(), RChildren.end());
  311   ResultTy Ret(IChildren.begin(), IChildren.end());
  326   ResultTy Ret(RChildren.begin(), RChildren.end());
  341   ResultTy Ret(IChildren.begin(), IChildren.end());
tools/clang/include/clang/CodeGen/CGFunctionInfo.h
  677     for (const auto &I : arguments())
tools/clang/include/clang/Sema/DeclSpec.h
 2396     for (const auto &Chunk : type_objects())
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
   36   for (const Stmt *Child : S->children())
tools/clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
   48     for (const auto *Initializer : CD->inits()) {
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  359     for (Stmt *SubStmt : E->children())
  587   for (auto *Method : D->methods()) {
  602   for (auto *Prop : D->instance_properties()) {
  619     for (const auto *Property : PDecl->instance_properties()) {
  650     for (const auto *MD : PDecl->methods()) {
  806   for (auto Enumerator : EnumDcl->enumerators()) {
 1295   for (auto *Method : CDecl->methods()) {
 1575   for (const auto *Method : CDecl->methods())
 1719   for (const auto *MD : ImplD->instance_methods()) {
tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
   90     for (auto *I : S->body())
  165     for (auto *I : S->body())
  186   for (auto *I : body->body())
  206     for (auto *MD : I->instance_methods()) {
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
  134       for (const auto *MI : RD->methods()) {
  161     for (auto I : D->redecls())
tools/clang/lib/ARCMigrate/TransProperties.cpp
   78     for (auto *Prop : D->instance_properties()) {
   99     for (auto *Ext : iface->visible_extensions())
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
  356     if (StmtExprChild.begin() == StmtExprChild.end())
  363     if (CompStmtChild.begin() == CompStmtChild.end())
tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp
  115     for (auto *PID : IMD->property_impls()) {
tools/clang/lib/ARCMigrate/TransformActions.cpp
  509   for (const CharRange &I : llvm::reverse(Removals)) {
tools/clang/lib/ARCMigrate/Transforms.cpp
  257     for (auto *I : S->body())
  528     for (const auto *MD : I->instance_methods()) {
tools/clang/lib/AST/APValue.cpp
  668     for (const auto *FI : RD->fields()) {
tools/clang/lib/AST/ASTContext.cpp
  412   for (const auto Redecl : D->redecls()) {
  453     for (const auto *Ext : ID->known_extensions()) {
  591       for (const auto &I : RD->bases()) {
  606       for (const auto &I : RD->vbases()) {
 1515   return overridden_methods(Method).end();
 1521   return Range.end() - Range.begin();
 2357     for (const auto *I : OI->ivars())
 2374     for (auto *Proto : OI->all_referenced_protocols()) {
 2379     for (const auto *Cat : OI->visible_categories())
 2388     for (auto *Proto : OC->protocols()) {
 2397     for (auto *Proto : OP->protocols())
 2407   for (const auto *Field : RD->fields()) {
 2441     for (const auto Base : ClassDecl->bases()) {
 2469   for (const auto *Field : RD->fields()) {
 2569   for (const auto *Ext : OI->known_extensions())
 4756     for (auto *Proto : OPT->quals()) {
 4784   for (auto *Proto : OPT->quals()) {
 4801     for (auto *Proto : OPT->quals()) {
 6306   for (auto *D : VD->redecls())
 6494     for (auto *PID : CID->property_impls())
 6499     for (auto *PID : OID->property_impls())
 6964         for (const auto *Field : RDecl->fields()) {
 7005         for (const auto &I : FPT->param_types())
 7081         for (const auto *I : OPT->quals()) {
 7096       for (const auto *I : OPT->quals()) {
 7154     for (const auto &BI : CXXRec->bases()) {
 7167   for (auto *Field : RDecl->fields()) {
 7175     for (const auto &BI : CXXRec->vbases()) {
 7999   for (auto *PI : rProto->protocols())
 8009   for (auto *lhsProto : lhs->quals()) {
 8011     for (auto *rhsProto : rhs->quals()) {
 8042         for (auto *I : lhs->quals()) {
 8054     for (auto *lhsProto : lhs->quals()) {
 8060       for (auto *rhsProto : rhs->quals()) {
 8070         for (auto *I : lhs->quals()) {
 8091     for (auto *lhsProto : lhs->quals()) {
 8099       for (auto *rhsProto : rhs->quals()) {
 8122         for (auto *rhsProto : rhs->quals()) {
 8273   for (auto proto : LHS->quals()) {
 8284   for (auto proto : RHS->quals()) {
 8527     for (auto *RHSPI : RHS->quals())
 8533     for (const auto *LHSProto : LHS->quals()) {
 8612       for (const auto *I : UD->fields()) {
tools/clang/lib/AST/ASTDiagnostic.cpp
   88         for (QualType SugarPT : FPT->param_types()) {
tools/clang/lib/AST/ASTDumper.cpp
   41     for (auto I = Range.begin(), E = Range.end(); I != E; ++I) {
   89   for (const auto *RedeclWithBadType : D->redecls()) {
  132   for (const auto *Child : D->specializations())
tools/clang/lib/AST/ASTImporter.cpp
  113     for (auto *R : D->getFirstDecl()->redecls()) {
  634           InContainer.begin(), InContainer.end(), OutContainer.begin());
  639       return ImportArrayChecked(InContainer.begin(), InContainer.end(), Obegin);
 1197   for (const auto &A : T->param_types()) {
 1516   for (auto *P : T->quals()) {
 1680   for (auto *From : FromDC->decls()) {
 1727   for (auto *D : FromRD->decls()) {
 1771   for (CXXMethodDecl *FromM : From->methods())
 1848     for (const auto &Base1 : FromCXX->bases()) {
 4302   for (UsingShadowDecl *FromShadow : D->shadows()) {
 4546   for (auto *Cat : From->known_categories()) {
 5185         for (auto *FromField : D->fields()) {
 5193         for (CXXMethodDecl *FromM : D->methods()) {
 7395   for (auto *D : E->decls())
 7446   for (Decl *D : E->decls())
 7515   for (const auto &FromCapture : E->captures()) {
 7768   for (auto *FromOverriddenMethod : FromMethod->overridden_methods()) {
 7807   for (const auto *D : Owner->decls()) {
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
 1626   for (const auto *D : Owner->noload_decls()) {
tools/clang/lib/AST/CXXInheritance.cpp
  157     for (const auto &I : Record->bases()) {
  201   for (const auto &BaseSpec : Record->bases()) {
  609   for (const auto &Base : RD->bases()) {
  657   for (auto *M : RD->methods()) {
  667     if (OverriddenMethods.begin() == OverriddenMethods.end()) {
  688       for (const CXXMethodDecl *OM : Stack.pop_back_val()) {
  705         if (OverriddenMethods.begin() == OverriddenMethods.end())
  776   for (const auto &I : RD->bases()) {
  798   for (const auto &I : bases()) {
tools/clang/lib/AST/Decl.cpp
 1484   for (auto I : D->redecls()) {
 1607   for (const DeclContext *DC : llvm::reverse(Contexts)) {
 1744     for (auto D : redecls()) {
 2169   for (auto I : First->redecls()) {
 2181   for (auto I : First->redecls()) {
 2192   for (auto I : First->redecls()) {
 2202   for (auto I : redecls()) {
 2238   for (auto I : redecls()) {
 2814   for (auto I : redecls()) {
 2839   for (auto I : redecls()) {
 3398     for (auto Redecl : redecls()) {
 3415   for (auto Redecl : redecls()) {
 4006   for (auto *Field : RD->fields()) {
 4081     for (auto I : redecls())
 4114   for (auto R : redecls())
 4439   for (const auto *I : fields()) {
 4597   for (const auto *I : attrs())
tools/clang/lib/AST/DeclBase.cpp
  428   for (const auto *I : redecls())
  584   for (const auto *A : attrs()) {
  629   for (const auto *A : attrs()) {
  675   for (const auto *A : attrs()) {
 1581   for (auto *D : DCtx->noload_decls()) {
tools/clang/lib/AST/DeclCXX.cpp
  174     for (const CXXBaseSpecifier &BaseSpec : RD->bases()) {
  283     for (const auto &VBase : BaseClassDecl->vbases()) {
  629     for (auto *FD : X->fields()) {
 1225           for (const auto &BI : bases()) {
 1561   for (const auto &I : Record->bases()) {
 1603   for (const auto &I : Record->bases()) {
 1785   for (const auto &Base : bases())
 1791   for (const auto *Field : fields())
 1825   for (const auto *const Method : methods())
 1911   for (const auto &B : bases()) {
 1980   for (const CXXMethodDecl *MD : DerivedMD->overridden_methods()) {
 2026   for (const auto &I : RD->bases()) {
tools/clang/lib/AST/DeclObjC.cpp
  137     for (const auto *Cat : ID->visible_categories()) {
  147       for (const auto *P : Cat->properties())
  156     for (const auto *Proto : ID->all_referenced_protocols())
  169     for (const auto *PI : PD->protocols())
  190     for (const auto *Ext : IDecl->visible_extensions())
  248     for (const auto *Ext : ClassDecl->visible_extensions()) {
  264       for (const auto *I : PID->protocols())
  273       for (const auto *Cat : OID->visible_categories()) {
  281       for (const auto *I : OID->all_referenced_protocols())
  295         for (const auto *I : OCD->protocols())
  384   for (const auto *I : all_referenced_protocols())
  394   for (auto *Prop : properties()) {
  398   for (const auto *Ext : known_extensions()) {
  400     for (auto *Prop : ClassExt->properties()) {
  405   for (const auto *PI : all_referenced_protocols())
  451     for (auto *Proto : all_referenced_protocols()) {
  487   for (const auto *MD : D->instance_methods()) {
  491   for (const auto *Ext : D->visible_extensions()) {
  492     for (const auto *MD : Ext->instance_methods()) {
  498     for (const auto *MD : ImplD->instance_methods()) {
  550   for (const auto *MD : IFace->instance_methods())
  553   for (const auto *Ext : IFace->visible_extensions()) {
  554     for (const auto *MD : Ext->instance_methods())
  588   for (const auto *Ext : IFace->visible_extensions()) {
  614   for (auto *RD : redecls()) {
  636     for (const auto *Ext : ClassDecl->visible_extensions()) {
  671   for (auto *P : all_referenced_protocols())
  704     for (const auto *Cat : ClassDecl->visible_categories())
  710     for (const auto *I : ClassDecl->protocols())
  716       for (const auto *Cat : ClassDecl->visible_categories()) {
 1201     for (const auto *P : Category->protocols())
 1219     for (const auto *P : Protocol->protocols())
 1224     for (const auto *P : Interface->protocols())
 1227     for (const auto *Cat : Interface->known_categories())
 1317         for (const auto *I : Container->instance_properties()) {
 1324         for (const auto *I : Container->class_properties()) {
 1352       for (const auto *Ext : ClassDecl->visible_extensions()) {
 1605     for (const auto *Ext : known_extensions()) {
 1629       for (auto *IV : ImplDecl->ivars()) {
 1671   for (auto *Cat : visible_categories())
 1680   for (const auto *Cat : visible_categories()) {
 1690   for (const auto *Cat : visible_categories()) {
 1710   for (auto *PI : IDecl->protocols()){
 1726     for (const auto *Cat : visible_categories()) {
 1727       for (auto *PI : Cat->protocols())
 1881   for (auto *I : protocols())
 1903   for (const auto *I : protocols())
 1919   for (auto *RD : redecls())
 1926     for (auto *Prop : PDecl->properties()) {
 1934     for (const auto *PI : PDecl->protocols())
 1945     for (auto *Prop : PDecl->properties()) {
 1954     for (const auto *PI : PDecl->protocols())
 2098   for (auto *PID : property_impls())
 2112   for (auto *PID : property_impls())
tools/clang/lib/AST/DeclPrinter.cpp
  301   for (const auto *BMInitializer : CDecl->inits()) {
 1165     for (auto *I : D->specializations())
 1180     for (auto *I : D->specializations())
 1318     for (const auto *I : OID->ivars()) {
 1372     for (const auto *I : OID->ivars()) {
 1428     for (const auto *I : PID->ivars())
 1579   for (const auto *Shadow : D->shadows()) {
 1637     for (OMPClause *C : D->clauselists())
 1699       for (auto *C : D->clauselists()) {
tools/clang/lib/AST/Expr.cpp
 1627         for (const auto *I : D->specific_attrs<AlignedAttr>()) {
 3209       for (const auto *Field : RD->fields()) {
 3576     for (Expr *E : LE->capture_inits())
 3616   for (const Stmt *SubStmt : children())
 4544   return child_range(cast_away_const(CCR.begin()), cast_away_const(CCR.end()));
tools/clang/lib/AST/ExprConstant.cpp
 2200       for (const CXXBaseSpecifier &BS : CD->bases()) {
 2208     for (const auto *I : RD->fields()) {
 3017   for (auto *Field : RD->fields())
 3021   for (auto &BaseSpec : RD->bases())
 3039   for (auto *Field : RD->fields()) {
 3055   for (auto &BaseSpec : RD->bases())
 4247     for (const auto *I : RD->fields()) {
 4566       for (const auto *D : DS->decls()) {
 4605     for (const auto *D : DS->decls()) {
 4631     for (const auto *BI : CS->body()) {
 5174   for (const CXXBaseSpecifier &BaseSpec : Derived->bases()) {
 5373       for (const CXXBaseSpecifier *Elt : llvm::reverse(ICE->path())) {
 5397   for (std::pair<unsigned, const FieldDecl *> LengthAndField :
 5416   for (auto *FD : RD->fields()) {
 5421   for (auto &Base : RD->bases())
 5438     for (const auto *Attr : Callee->specific_attrs<NonNullAttr>()) {
 5443         for (auto Idx : Attr->args()) {
 5625   for (const auto *I : Definition->inits()) {
 5872   for (const FieldDecl *FD : llvm::reverse(Fields)) {
 5890   for (const CXXBaseSpecifier &Base : llvm::reverse(RD->bases())) {
 6252     for (FieldDecl *FD : RD->fields()) {
 6422     for (FieldDecl *FD : RD->fields()) {
 6541       for (CXXBaseSpecifier &BS : CXXRD->bases())
 6546     for (FieldDecl *FD : Record->fields()) {
 8817   for (const auto *I : RD->fields()) {
 8942     for (const auto &Base : CXXRD->bases()) {
 8963   for (const auto *Field : RD->fields()) {
 9135   for (const auto *Field : ClosureClass->fields()) {
tools/clang/lib/AST/ExprObjC.cpp
  382   return const_child_range(Children.begin(), Children.end());
tools/clang/lib/AST/ExternalASTMerger.cpp
  456   for (auto *Spec : D->specializations()) {
  535     for (const Decl *SourceDecl : SourceDC.get()->decls()) {
tools/clang/lib/AST/InheritViz.cpp
   95   for (const auto &Base : Decl->bases()) {
tools/clang/lib/AST/Interp/ByteCodeStmtGen.cpp
  139   for (auto *InnerStmt : CompoundStmt->body())
  147   for (auto *D : DS->decls()) {
tools/clang/lib/AST/Interp/Descriptor.cpp
  132   for (const auto &B : D->ElemRecord->bases())
  134   for (const auto &F : D->ElemRecord->fields())
  136   for (const auto &V : D->ElemRecord->virtual_bases())
  145   for (const auto &F : D->ElemRecord->bases())
  147   for (const auto &F : D->ElemRecord->fields())
  149   for (const auto &F : D->ElemRecord->virtual_bases())
  154   for (const auto &F : D->ElemRecord->fields()) {
tools/clang/lib/AST/Interp/EvalEmitter.cpp
  122         for (auto &F : Record->fields()) {
tools/clang/lib/AST/Interp/InterpFrame.cpp
   28       for (auto &Scope : Func->scopes()) {
   29         for (auto &Local : Scope.locals()) {
   46   for (auto &Local : Func->getScope(Idx).locals()) {
   52   for (PrimType Ty : Func->args_reverse())
tools/clang/lib/AST/Interp/Program.cpp
  237     for (const CXXBaseSpecifier &Spec : CD->bases()) {
  252     for (const CXXBaseSpecifier &Spec : CD->vbases()) {
  268   for (const FieldDecl *FD : RD->fields()) {
tools/clang/lib/AST/ItaniumMangle.cpp
  300                                AbiTag->tags().end());
  310                            AbiTag->tags().end());
  312                        AbiTag->tags().end());
 3268     for (const auto *I : T->quals()) {
 3780     for (const Expr *Arg : CE->arguments())
 3785     for (const Expr *Arg : CE->arguments())
 3924     for (auto *E : CE->arguments())
 3951       for (auto *E : CE->arguments())
tools/clang/lib/AST/JSONNodeDumper.cpp
  819       for (const auto &Spec : RD->bases())
  939   for (const auto* P : D->protocols())
  955   for (const auto *P : D->protocols())
  967   for (const auto* P : D->protocols())
 1253     for (const NamedDecl *D : ULE->decls())
tools/clang/lib/AST/Mangle.cpp
  188   for (const auto &AT : Proto->param_types())
tools/clang/lib/AST/MicrosoftMangle.cpp
 2795   for (const auto &Q : T->quals())
tools/clang/lib/AST/NestedNameSpecifier.cpp
  215     for (const auto &Base : RD->bases())
tools/clang/lib/AST/ODRHash.cpp
  484   for (Decl *SubDecl : Record->decls()) {
  507   for (auto Base : Bases) {
  585   for (Decl *SubDecl : Function->decls()) {
  611   for (Decl *SubDecl : Enum->decls()) {
tools/clang/lib/AST/ParentMap.cpp
   41       for (Stmt *SubStmt : S->children())
   87     for (Stmt *SubStmt : S->children()) {
   99     for (Stmt *SubStmt : S->children()) {
tools/clang/lib/AST/RecordLayoutBuilder.cpp
  188   for (const CXXBaseSpecifier &Base : Class->bases()) {
  206   for (const FieldDecl *FD : Class->fields()) {
  390   for (const CXXBaseSpecifier &Base : RD->bases()) {
  403     for (const CXXBaseSpecifier &Base : RD->vbases()) {
  501   for (const CXXBaseSpecifier &Base : RD->bases()) {
  514     for (const CXXBaseSpecifier &Base : RD->vbases()) {
  810   for (const auto &I : RD->bases()) {
  850   for (const auto &I : RD->bases()) {
  939   for (const auto &I : RD->bases()) {
  964   for (const auto &I : RD->bases()) {
 1051   for (const auto &I : RD->bases()) {
 1132   for (const CXXBaseSpecifier &Base : RD->bases()) {
 1334   for (const CXXBaseSpecifier &Base : RD->bases()) {
 1344   for (const CXXBaseSpecifier &Base : RD->vbases()) {
 2098   for (const CXXMethodDecl *MD : RD->methods()) {
 2572   for (const CXXBaseSpecifier &Base : RD->bases()) {
 2606   for (const CXXBaseSpecifier &Base : RD->bases()) {
 2691   for (const FieldDecl *Field : RD->fields())
 2857   for (const CXXBaseSpecifier &VBase : RD->vbases()) {
 2869   for (const CXXBaseSpecifier &VBase : RD->vbases()) {
 2946   for (const CXXBaseSpecifier &Base : RD->bases())
 2960     for (const CXXBaseSpecifier &Base : RD->vbases()) {
 2971   for (const CXXBaseSpecifier &Base : RD->bases()) {
 2995   for (const CXXMethodDecl *MD : RD->methods())
 3002     if (MethodRange.begin() == MethodRange.end())
 3005       Work.insert(MethodRange.begin(), MethodRange.end());
 3011   for (const CXXBaseSpecifier &Base : RD->vbases()) {
 3328     for (const CXXBaseSpecifier &Base : CXXRD->bases()) {
 3391     for (const CXXBaseSpecifier &Base : CXXRD->vbases()) {
tools/clang/lib/AST/Stmt.cpp
 1316   for (const auto &I : captures()) {
tools/clang/lib/AST/StmtPrinter.cpp
  180   for (auto *I : Node->body())
 1301   for (const GenericSelectionExpr::Association &Assoc : Node->associations()) {
 2305   for (auto I = Ch.begin(), E = Ch.end(); I != E; ++I) {
tools/clang/lib/AST/StmtProfile.cpp
  222   for (const Stmt *SubStmt : S->children()) {
  232   for (const auto *D : S->decls())
  325   for (auto *L : S->labels())
  528   for (auto *E : Node->varlists()) {
  536   for (auto *E : C->private_copies()) {
  545   for (auto *E : C->private_copies()) {
  549   for (auto *E : C->inits()) {
  558   for (auto *E : C->source_exprs()) {
  562   for (auto *E : C->destination_exprs()) {
  566   for (auto *E : C->assignment_ops()) {
  581   for (auto *E : C->privates()) {
  585   for (auto *E : C->lhs_exprs()) {
  589   for (auto *E : C->rhs_exprs()) {
  593   for (auto *E : C->reduction_ops()) {
  605   for (auto *E : C->privates()) {
  609   for (auto *E : C->lhs_exprs()) {
  613   for (auto *E : C->rhs_exprs()) {
  617   for (auto *E : C->reduction_ops()) {
  629   for (auto *E : C->privates()) {
  633   for (auto *E : C->lhs_exprs()) {
  637   for (auto *E : C->rhs_exprs()) {
  641   for (auto *E : C->reduction_ops()) {
  645   for (auto *E : C->taskgroup_descriptors()) {
  653   for (auto *E : C->privates()) {
  657   for (auto *E : C->inits()) {
  661   for (auto *E : C->updates()) {
  665   for (auto *E : C->finals()) {
  681   for (auto *E : C->source_exprs()) {
  685   for (auto *E : C->destination_exprs()) {
  689   for (auto *E : C->assignment_ops()) {
  697   for (auto *E : C->source_exprs()) {
  701   for (auto *E : C->destination_exprs()) {
  705   for (auto *E : C->assignment_ops()) {
 1294   for (const GenericSelectionExpr::ConstAssociation &Assoc :
tools/clang/lib/AST/TemplateBase.cpp
   58     for (const EnumConstantDecl* ECD : ET->getDecl()->enumerators()) {
tools/clang/lib/AST/TextNodeDumper.cpp
 1323         for (const auto *Override :
 1324              llvm::make_range(Overrides.begin() + 1, Overrides.end())) {
 1471   for (const auto *C : D->clauselists()) {
 1654   for (const auto &I : D->bases()) {
 1852   for (const auto *P : D->protocols())
 1865   for (const auto *Child : D->protocols())
 1874   for (const auto *Child : D->protocols())
tools/clang/lib/AST/Type.cpp
 3281   for (auto I : decl->redecls()) {
 3303     for (FieldDecl *FD :
 3692     for (const auto &ai : FPT->param_types())
 3777     for (const auto &ai : FPT->param_types())
 3999   for (ObjCProtocolDecl *proto : objcPtr->quals()) {
tools/clang/lib/AST/TypePrinter.cpp
 1577     for (const auto *I : T->quals()) {
 1621     for (const auto *I : T->quals()) {
tools/clang/lib/AST/VTTBuilder.cpp
   62   for (const auto &I : RD->bases()) {
   92   for (const auto &I : RD->bases()) {
  156   for (const auto &I : RD->bases()) {
tools/clang/lib/AST/VTableBuilder.cpp
  346   for (const auto &B : RD->bases()) {
  382   for (const auto &B : RD->bases()) {
  410   for (const auto *MD : RD->methods()) {
  691   for (const auto *MD : RD->methods()) {
  720   for (const auto &B : RD->bases()) {
  744   for (const auto &B : RD->bases()) {
 1082   for (const CXXMethodDecl *OverriddenMD : MD->overridden_methods()) {
 1331   for (const CXXMethodDecl *OverriddenMD : MD->overridden_methods()) {
 1413   for (const CXXRecordDecl *PrimaryBase :
 1483   for (const auto *MD : RD->methods()) {
 1732   for (const auto &B : RD->bases()) {
 1810   for (const auto &B : RD->bases()) {
 1839   for (const auto &B : RD->bases()) {
 2046         for (const auto &I :
 2156   for (const auto *MD : MostDerivedClass->methods()) {
 2866   for (const auto *D : RD->decls()) {
 2886   for (const auto &B : RD->bases()) {
 3053   for (const CXXRecordDecl *Elem :
 3261   for (const auto &B : RD->bases()) {
 3314     for (const auto &VB : Base->vbases())
 3390   for (const CXXBaseSpecifier &BS : RD->bases()) {
 3472     for (const CXXMethodDecl *MD : Info.IntroducingObject->methods()) {
 3585     for (const auto &Loc : Builder.vtable_locations()) {
 3691   for (const auto &VB : RD->vbases()) {
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  858   for (const auto &It : Declaration->bases()) {
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  168   for (const auto &LC : parent->captures()) {
  283       for (const auto *I : C->inits()) {
  593     for (auto *Child : S->children())
tools/clang/lib/Analysis/BodyFarm.cpp
  758     for (const auto *I : ImplDecl->property_impls()) {
tools/clang/lib/Analysis/CFG.cpp
  446   for (Stmt *SubStmt : S->children())
 1518     for (auto *I : llvm::reverse(CD->inits())) {
 1568       for (auto *L : G->labels()) {
 1885   for (const auto &VI : RD->vbases()) {
 1897   for (const auto &BI : RD->bases()) {
 1908   for (auto *FI : RD->fields()) {
 1946     for (auto *BI : CS->body()) {
 1968   for (auto *DI : DS->decls())
 4672       for (Expr *Init : LE->capture_inits()) {
 4710   for (Stmt *Child : E->children())
 4859   for (Stmt *S : llvm::reverse(Used)) {
 4923     for (const CFGBlock::AdjacentBlock &AB : B->succs()) {
 5421       if (Children.begin() != Children.end()) {
 5856     for (const auto &Succ : Blk->succs()) {
tools/clang/lib/Analysis/CallGraph.cpp
   84       for (FunctionDecl *FD : FTD->specializations())
  132     for (Stmt *SubStmt : S->children())
  144   for (auto *I : D->decls())
  187     for (CXXCtorInitializer *init : constructor->inits()) {
tools/clang/lib/Analysis/CloneDetection.cpp
  259   for (const Stmt *Child : S->children()) {
  323     for (const Stmt *Child : S->children()) {
  454     for (const Stmt *S : Seq.front()->children()) {
  556   for (const Stmt *Child : S->children()) {
tools/clang/lib/Analysis/Consumed.cpp
  119   for (const auto &S : CWAttr->callableStates()) {
  839   for (const auto *DI : DeclS->decls())
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  440     for (const CXXCtorInitializer *Init : Ctor->inits()) {
tools/clang/lib/Analysis/LiveVariables.cpp
  361   for (Stmt *Child : S->children()) {
  402   for (const VarDecl *VD :
  423   for (const auto *DI : DS->decls()) {
tools/clang/lib/Analysis/RetainSummaryManager.cpp
  177   for (const auto *Ann : D->specific_attrs<AnnotateAttr>()) {
  875     for (const auto *PD : MD->overridden_methods())
  958     for (const auto *OD : MD->overridden_methods()) {
tools/clang/lib/Analysis/ThreadSafety.cpp
 1083   for (const auto *At : Vd->attrs()) {
 1089         for (const auto *Arg : A->args()) {
 1105         for (const auto *Arg : A->args()) {
 1264   for (const auto *Arg : A->args()) {
 1365   for (const auto *Arg : Attr->args()) {
 1522   for (const auto *Attr : FunDecl->attrs()) {
 1747   for (const auto *I : D->specific_attrs<GuardedByAttr>())
 1786   for (auto const *I : D->specific_attrs<PtGuardedByAttr>())
 1819   for(const Attr *At : D->attrs()) {
 1892         for (auto *Arg : A->args()) {
 1908         for (auto *Arg : A->args())
 2111   for (auto *Ctor : RD->ctors()) {
 2316     for (const auto *Attr : D->attrs()) {
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp
  338     if (OverriddenMethods.begin() == OverriddenMethods.end())
  394   for (const auto *Arg : CE->arguments()) {
tools/clang/lib/Analysis/ThreadSafetyTIL.cpp
  318   for (auto *Block : Blocks.reverse()) {
  329   for (auto *Block : Blocks.reverse()) {
tools/clang/lib/Analysis/UninitializedValues.cpp
  432   for (auto *DI : DS->decls()) {
  460   for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses()))
  719   for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses())) {
  789   for (auto *DI : DS->decls()) {
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1429   for (const auto *FD : RD->fields()) {
 1500   for (FieldDecl *F : Record->fields()) {
 3113     for (const Expr *Arg : E->arguments()) {
tools/clang/lib/CodeGen/CGCXX.cpp
   70   for (const auto *I : Class->fields())
   76   for (const auto &I : Class->bases()) {
tools/clang/lib/CodeGen/CGCall.cpp
  785   for (auto &I : FI->arguments())
  921       for (const auto *FD : RD->fields()) {
  938         for (const CXXBaseSpecifier &BS : CXXRD->bases())
  942       for (const auto *FD : RD->fields()) {
 2203   for (const auto *NNAttr : FD->specific_attrs<NonNullAttr>()) {
 2249   for (auto &Arg : Fn->args()) {
 3180   for (const auto &I : args.writebacks())
 3189   for (const auto &I : llvm::reverse(Cleanups)) {
 3407   assert((int)ArgTypes.size() == (ArgRange.end() - ArgRange.begin()));
tools/clang/lib/CodeGen/CGClass.cpp
  780   for (const auto *Field : ClassDecl->fields()) {
 1351   for (const auto *Field : BaseClassDecl->fields())
 1356   for (const auto &I : BaseClassDecl->bases()) {
 1369     for (const auto &I : BaseClassDecl->vbases()) {
 1412   for (const auto *Field : ClassDecl->fields())
 1544   for (auto *I : RootCS->body())
 1678       for (const FieldDecl *Field : Dtor->getParent()->fields()) {
 1819     for (const auto &Base : ClassDecl->vbases()) {
 1844   for (const auto &Base : ClassDecl->bases()) {
 1867   for (const auto *Field : ClassDecl->fields()) {
 2535   for (const auto &I : RD->bases()) {
 2623   for (const CXXMethodDecl *MD : RD->methods()) {
tools/clang/lib/CodeGen/CGCoroutine.cpp
  331     for (auto *C : S->children()) {
  734   for (const Expr *Arg : E->arguments())
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1206     for (const QualType &ParamType : FPT->param_types())
 1423     for (const auto *I : record->decls())
 1651   for (const auto *I : RD->decls()) {
 1704   for (const auto &BI : Bases) {
 2087   for (const CXXMethodDecl *MD : RD->methods())
 2154   for (CXXMethodDecl *MD : llvm::make_range(I, End))
 2504     for (const ObjCCategoryDecl *ClassExt : ID->known_extensions())
 2505       for (auto *PD : ClassExt->properties()) {
 2509     for (const auto *PD : ID->properties()) {
 2814   for (const auto *Enum : ED->enumerators()) {
 3452   for (auto NextFD : FD->redecls()) {
 3524         for (QualType ParamType : FPT->param_types())
 3990       for (const auto *Field : RD->fields()) {
 4361   for (const auto *Field : RD->fields()) {
tools/clang/lib/CodeGen/CGDecl.cpp
  648   for (const Stmt *SubStmt : s->children())
 1246     for (llvm::Use &Op : constant->operands())
 1590   for (const Stmt *SubStmt : S->children())
 1616     for (const auto *BI : CS->body())
 1623           for (const auto *I : DS->decls()) {
 1638   for (const Stmt *SubStmt : E->children())
tools/clang/lib/CodeGen/CGException.cpp
  289   for (llvm::User *U : Fn->users()) {
 1670     for (const Stmt *Child : S->children())
tools/clang/lib/CodeGen/CGExpr.cpp
 3913   for (auto F : Rec->getDefinition()->fields()) {
 3974   for (const auto &Base : RD->bases())
 3978   for (const FieldDecl *Field : RD->fields())
tools/clang/lib/CodeGen/CGExprAgg.cpp
 1515     for (auto &Base : CXXRD->bases()) {
 1549       for (const auto *Field : record->fields())
 1572   for (const auto *field : record->fields()) {
 1773       for (const auto *Field : SD->fields()) {
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1192         for (auto *Field : RType->getDecl()->fields())
tools/clang/lib/CodeGen/CGExprConstant.cpp
  675   for (FieldDecl *Field : RD->fields()) {
 2205     for (const auto &I : CXXR->bases()) {
 2228   for (const auto *Field : record->fields()) {
 2248     for (const auto &I : CXXR->vbases()) {
tools/clang/lib/CodeGen/CGLoopInfo.cpp
  788     for (BasicBlock *Succ : successors(I))
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
   44     for (const FieldDecl *FD : RD->fields()) {
  436         for (const llvm::Argument &Arg : F->args())
tools/clang/lib/CodeGen/CGObjC.cpp
 1581     for (const auto *IvarInit : IMP->inits()) {
 3457   for (const auto *I : S.body())
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  508     for (const auto *I : Methods)
 1371     for (const auto *PI : PD->protocols())
 1880     for (auto *propImpl : OID->property_impls())
 1910     for (const auto *I : classDecl->protocols())
 3076   for (const auto *PI : PD->protocols())
 3080   for (const auto *I : PD->instance_methods())
 3088   for (const auto *I : PD->class_methods())
 3289       for (const auto *P : Proto->protocols())
 3291       for (const auto *PD : Proto->properties()) {
 3305     for (const ObjCCategoryDecl *ClassExt : OID->known_extensions())
 3306       for (auto *PD : ClassExt->properties()) {
 3313   for (const auto *PD : OCD->properties()) {
 3329     for (const auto *P : OID->all_referenced_protocols())
 3332     for (const auto *P : CD->protocols())
 3494   for (auto *propertyImpl : OID->property_impls())
 3510   for (const auto *I : ClassDecl->protocols())
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1170     for (auto MD : PD->methods()) {
 3218   for (const auto *P : Proto->protocols())
 3221   for (const auto *PD : Proto->properties()) {
 3260     for (const ObjCCategoryDecl *ClassExt : OID->known_extensions())
 3261       for (auto *PD : ClassExt->properties()) {
 3268   for (const auto *PD : OCD->properties()) {
 3279     for (const auto *P : OID->all_referenced_protocols())
 3283     for (const auto *P : CD->protocols())
 3374   for (const auto *MD : OCD->methods()) {
 3473     for (auto field : recType->getDecl()->fields()) {
 3556   for (const auto *MD : ID->methods()) {
 3560   for (const auto *PID : ID->property_impls()) {
 6230     for (const auto *MD : ID->class_methods())
 6233     for (const auto *MD : ID->instance_methods())
 6236     for (const auto *PID : ID->property_impls()) {
 6567   for (const auto *MD : OCD->methods()) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  346     for (const auto &C : CS.captures()) {
 1529   for (const FieldDecl *FD : RD->fields()) {
 4255   for (llvm::MDNode *MN : MD->operands()) {
 4635   for (const auto *Field :
 4732   for (const FieldDecl *Field : PrivatesQTyRD->fields()) {
 4953   for (const FieldDecl *FD : PrivateRD->fields()) {
 6553     for (const Stmt *S : C->body()) {
 6732         for (const auto *C : Dir->getClausesOfKind<OMPIfClause>()) {
 6749               for (const auto *I : PreInit->decls()) {
 6774           for (const auto *I : PreInit->decls()) {
 6847           for (const auto *I : PreInit->decls()) {
 6923       for (const auto *C : D.getClausesOfKind<OMPIfClause>()) {
 7812     for (const auto &I : RD->bases()) {
 7827     for (const auto &I : RD->vbases()) {
 7839     for (const auto *Field : RD->fields()) {
 7862     for (const auto *C : Dir.getClausesOfKind<OMPFirstprivateClause>())
 7863       for (const auto *D : C->varlists())
 7867     for (const auto *C : Dir.getClausesOfKind<OMPIsDevicePtrClause>())
 7868       for (auto L : C->component_lists())
 7940     for (const auto *C : CurExecDir->getClausesOfKind<OMPMapClause>())
 7941       for (const auto &L : C->component_lists()) {
 7945     for (const auto *C : CurExecDir->getClausesOfKind<OMPToClause>())
 7946       for (const auto &L : C->component_lists()) {
 7950     for (const auto *C : CurExecDir->getClausesOfKind<OMPFromClause>())
 7951       for (const auto &L : C->component_lists()) {
 7965     for (const auto *C :
 7967       for (const auto &L : C->component_lists()) {
 8118     for (const auto *C : CurMapperDir->clauselists()) {
 8120       for (const auto &L : MC->component_lists()) {
 8193     for (const LambdaCapture &LC : RD->captures()) {
 8288     for (const auto *C : CurExecDir->getClausesOfKind<OMPMapClause>()) {
 8289       for (const auto &L : C->decl_component_lists(VD)) {
 8441     for (const auto *C : CurExecDir->getClausesOfKind<OMPMapClause>()) {
 8442       for (const auto &L : C->component_lists()) {
 9575   for (const Stmt *II : S->children())
 9619     for (const CXXConstructorDecl *Ctor : RD->ctors()) {
 9784   for (const OMPClause *Clause : D->clauselists()) {
10683     for (const auto *Attr : FD->specific_attrs<OMPDeclareSimdDeclAttr>()) {
10686       for (const Expr *E : Attr->uniforms()) {
10700       for (const Expr *E : Attr->aligneds()) {
10724       for (const Expr *E : Attr->linears()) {
11095   for (const auto *A : FD->specific_attrs<OMPDeclareVariantAttr>()) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  384     for (const CapturedStmt::Capture &C : S->captures()) {
  448     for (const Decl *D : S->decls())
  476     for (const CapturedStmt::Capture &C : S->captures()) {
  488     for (const LambdaCapture &C : E->captures()) {
  514     for (const Expr *Arg : E->arguments()) {
  570     for (const Stmt *Child : E->children())
  578     for (const Stmt *Child : S->children())
 2015   for (const auto *C : Dir->getClausesOfKind<OMPLastprivateClause>()) {
 2027   for (const auto *C : D.getClausesOfKind<OMPReductionClause>()) {
 2028     for (const Expr *E : C->privates())
 2402     for (llvm::Value *Addr :
 4850   for (const CapturedStmt::Capture &C : CS->captures()) {
 4878     for (const LambdaCapture &LC : RD->captures()) {
 4951   for (const OMPClause *Clause : D->clauselists()) {
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  295   for (const auto *Field : D->fields()) {
  489   for (const auto &Base : RD->bases()) {
  520     for (const auto &Base : RD->vbases()) {
  533   for (const auto &Base : RD->vbases()) {
  561   for (const auto &Base : Decl->bases())
tools/clang/lib/CodeGen/CGStmt.cpp
  401   for (auto *CurStmt : S.body()) {
  504   for (llvm::User *u : block->users()) {
 1143   for (const auto *I : S.decls())
 2221       for (auto *E : GS->labels()) {
 2433   for (auto *FD : RD->fields()) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
   33           for (const auto *I : PreInit->decls()) {
   68     for (const auto &C : CS->captures()) {
  131     for (const auto *C : S.getClausesOfKind<OMPPrivateClause>()) {
  132       for (const Expr *IRef : C->varlists()) {
  164       for (const auto *I : PreInits->decls())
  195           for (const auto *I : PreInit->decls()) {
  206         for (const Expr *E : UDP->varlists()) {
  221       for (auto &C : CS->captures()) {
  415   for (const FieldDecl *FD : RD->fields()) {
  485   for (const FieldDecl *FD : RD->fields()) {
  746   for (const auto *C : D.getClausesOfKind<OMPLastprivateClause>()) {
  747     for (const auto *D : C->varlists())
  758   for (const auto *C : D.getClausesOfKind<OMPFirstprivateClause>()) {
  761     for (const Expr *IInit : C->private_copies()) {
  880   for (const auto *C : D.getClausesOfKind<OMPPrivateClause>()) {
  882     for (const Expr *IInit : C->private_copies()) {
  909   for (const auto *C : D.getClausesOfKind<OMPCopyinClause>()) {
  913     for (const Expr *AssignOp : C->assignment_ops()) {
  983   for (const auto *C : D.getClausesOfKind<OMPLastprivateClause>()) {
  990     for (const Expr *IInit : C->private_copies()) {
 1061   for (const auto *C : D.getClausesOfKind<OMPLastprivateClause>()) {
 1065     for (const Expr *AssignOp : C->assignment_ops()) {
 1111   for (const auto *C : D.getClausesOfKind<OMPReductionClause>()) {
 1116     for (const Expr *Ref : C->varlists()) {
 1214   for (const auto *C : D.getClausesOfKind<OMPReductionClause>()) {
 1216     Privates.append(C->privates().begin(), C->privates().end());
 1217     LHSExprs.append(C->lhs_exprs().begin(), C->lhs_exprs().end());
 1218     RHSExprs.append(C->rhs_exprs().begin(), C->rhs_exprs().end());
 1219     ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end());
 1240   for (const auto *C : D.getClausesOfKind<OMPReductionClause>()) {
 1291   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 1352     for (const auto *C : D.getClausesOfKind<OMPLinearClause>()) {
 1353       for (const Expr *UE : C->updates())
 1447   for (const auto *C : D.getClausesOfKind<OMPLinearClause>()) {
 1448     for (const Expr *Init : C->inits()) {
 1486   for (const auto *C : D.getClausesOfKind<OMPLinearClause>()) {
 1488     for (const Expr *F : C->finals()) {
 1521   for (const auto *Clause : D.getClausesOfKind<OMPAlignedClause>()) {
 1528     for (const Expr *E : Clause->varlists()) {
 1583   for (const auto *C : S.getClausesOfKind<OMPOrderedClause>()) {
 1652   for (const auto *C : D.getClausesOfKind<OMPLinearClause>()) {
 1654     for (const Expr *E : C->varlists()) {
 2658         for (const Stmt *SubStmt : CS->children()) {
 2780   for (const auto *C : S.getClausesOfKind<OMPCopyprivateClause>()) {
 2781     CopyprivateVars.append(C->varlists().begin(), C->varlists().end());
 2783                      C->destination_exprs().end());
 2784     SrcExprs.append(C->source_exprs().begin(), C->source_exprs().end());
 2786                          C->assignment_ops().end());
 2910   for (const auto *C : S.getClausesOfKind<OMPPrivateClause>()) {
 2912     for (const Expr *IInit : C->private_copies()) {
 2923   for (const auto *C : S.getClausesOfKind<OMPFirstprivateClause>()) {
 2926     for (const Expr *IInit : C->private_copies()) {
 2939   for (const auto *C : S.getClausesOfKind<OMPLastprivateClause>()) {
 2942     for (const Expr *IInit : C->private_copies()) {
 2957   for (const auto *C : S.getClausesOfKind<OMPReductionClause>()) {
 2962     for (const Expr *Ref : C->varlists()) {
 2977   for (const auto *C : S.getClausesOfKind<OMPDependClause>())
 2978     for (const Expr *IRef : C->varlists())
 3074     for (const auto *C : S.getClausesOfKind<OMPInReductionClause>()) {
 3078       for (const Expr *Ref : C->varlists()) {
 3176   for (const auto *C : S.getClausesOfKind<OMPFirstprivateClause>()) {
 3179     for (auto *IInit : C->private_copies()) {
 3217   for (const auto *C : S.getClausesOfKind<OMPDependClause>())
 3218     for (const Expr *IRef : C->varlists())
 3285   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 3330       for (const auto *C : S.getClausesOfKind<OMPTaskReductionClause>()) {
 3335         for (const Expr *Ref : C->varlists()) {
 3617     for (const auto *DC : S.getClausesOfKind<OMPDependClause>())
 4097     for (const Stmt *C : Compound->body()) {
 4135   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 4608   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 4639   for (const Expr *PvtVarIt : C.private_copies()) {
 4738         for (const auto *C : S.getClausesOfKind<OMPUseDevicePtrClause>())
 4971   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 5195         for (const auto *C : D.getClausesOfKind<OMPOrderedClause>()) {
tools/clang/lib/CodeGen/CGVTables.cpp
  397   for (llvm::Argument &A : CurFn->args())
 1053   for (auto B : RD->bases())
 1058   for (auto B : RD->vbases())
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  432   for (llvm::Argument &A : CurFn->args())
  677     for (auto Attr : D->specific_attrs<NoSanitizeAttr>()) {
  974       for (auto *FD : MD->getParent()->fields()) {
 1272   for (const Stmt *SubStmt : S->children())
 1296   for (const Stmt *SubStmt : S->children())
 1319   for (const Stmt *SubStmt : S->children())
 2090   for (const auto *I : D->specific_attrs<AnnotateAttr>())
 2104   for (const auto *I : D->specific_attrs<AnnotateAttr>()) {
tools/clang/lib/CodeGen/CodeGenFunction.h
 4266         assert(Arg != ArgRange.end() && "Running over edge of argument list!");
 4283     assert((Arg == ArgRange.end() || !CallArgTypeInfo ||
 4288     for (auto *A : llvm::make_range(Arg, ArgRange.end()))
 4288     for (auto *A : llvm::make_range(Arg, ArgRange.end()))
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1473     for (const CXXBaseSpecifier &B : RD->bases())
 2036     for (const auto &SM : Mod->submodules()) {
 2227   for (const auto *I : D->specific_attrs<AnnotateAttr>())
 2601       for (const Stmt *Child : S->children())
 2710       for (const Decl *Member : Dtor->getParent()->decls())
 2714       for (const CXXBaseSpecifier &B : Dtor->getParent()->bases())
 2946   for (const IdentifierInfo *II : DD->cpus()) {
 4150       for (const FieldDecl *FD : RD->fields()) {
 4301     for (llvm::Argument &A : newFn->args()) {
 5104   for (const auto *PID : D->property_impls()) {
 5205   for (auto *I : DC->decls()) {
 5212       for (auto *M : OID->methods())
 5273     for (auto *I : cast<CXXRecordDecl>(D)->decls())
 5749   for (auto RefExpr : D->varlists()) {
 5811     for (auto &Param : FnType->param_types())
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  219     for (Stmt *CS : If->children()) {
  384     for (const Stmt *Child : S->children())
tools/clang/lib/CodeGen/CodeGenTBAA.cpp
  301     for (FieldDecl *Field : RD->fields()) {
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  137     for (const auto &I : CRD->bases())
  145   for (const auto *I : RD->fields())
  745     for (const auto &I : CRD->bases()) {
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
  733     for (SourceMappingRegion &I : llvm::reverse(RegionStack)) {
  864     for (const Stmt *Child : S->children())
 1119         for (const auto *Child : CS->children())
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1876     for (const auto &B : RD->bases()) {
 1895   for (const auto &B : RD->vbases()) {
 3628   for (const auto &I : BaseDecl->bases())
 3639   for (const auto &I : RD->bases())
 3697   for (const auto &Base : RD->bases()) {
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  334     for (const auto &I : SrcRD->vbases()) {
  908   for (auto &Base : SrcDecl->vbases()) {
 1075   for (const CXXConstructorDecl *Ctor : RD->ctors())
 1177   for (const CXXBaseSpecifier &S : RD->vbases()) {
 2097   for (const auto &I : ObjectWithVPtr->vbases()) {
 2753       for (const CXXBaseSpecifier &BS : Derived->bases())
 3473   for (const CXXBaseSpecifier &Base : RD->bases()) {
 3534   for (const CXXBaseSpecifier &Base : RD->bases())
tools/clang/lib/CodeGen/ModuleBuilder.cpp
  228         for (Decl *Member : D->decls()) {
  239         for (Decl *Member : D->decls()) {
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  336     for (auto &Section : OF->sections()) {
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   71   for (auto Attr : D.specific_attrs<NoSanitizeAttr>())
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  113     for (auto field : record->fields()) {
  136     for (auto &baseSpecifier : cxxRecord->bases()) {
  150   for (auto field : record->fields()) {
  163     for (auto &vbaseSpecifier : cxxRecord->vbases()) {
tools/clang/lib/CodeGen/TargetInfo.cpp
  521     for (const auto &I : CXXRD->bases())
  525   for (const auto *I : RD->fields())
  552     for (const auto &I : CXXRD->bases()) {
  570   for (const auto *FD : RD->fields()) {
  669     for (auto &I : FI.arguments())
  743     for (auto &Arg : FI.arguments())
  874   for (auto &I : FI.arguments())
 1274   for (const auto *FD : RT->getDecl()->fields()) {
 1304   for (const auto *FD : RD->fields()) {
 1325   for (const CXXBaseSpecifier &Base : RD->bases()) {
 1476     for (const auto &I : CXXRD->bases())
 1480   for (const auto *i : RD->fields()) {
 1754   for (auto &I : FI.arguments()) {
 1771   for (auto &I : FI.arguments()) {
 1832     for (auto &I : FI.arguments()) {
 2809       for (const auto &I : CXXRD->bases()) {
 3071       for (const auto &I : CXXRD->bases()) {
 3561     for (const auto &I : CXXRD->bases())
 3570   for (const auto *FD : RT->getDecl()->fields()) {
 4043   for (auto &I : FI.arguments()) {
 4058   for (auto &I : FI.arguments()) {
 4100     for (auto &I : FI.arguments())
 4445     for (auto &I : FI.arguments()) {
 4615       for (const auto &I : CXXRD->bases()) {
 4628     for (const auto *FD : RD->fields()) {
 5006     for (auto &it : FI.arguments())
 5779   for (auto &I : FI.arguments())
 6387     for (const CXXBaseSpecifier &I : CXXRD->bases())
 6391   for (const FieldDecl *I : RD->fields())
 6447   for (auto &I : FI.arguments())
 6560     for (auto &I : FI.arguments())
 6637       for (const auto &I : CXXRD->bases()) {
 6650     for (const auto *FD : RD->fields()) {
 7243   for (auto &I : FI.arguments())
 7465   for (auto &I : FI.arguments())
 7569     for (auto &I : FI.arguments())
 7735     for (const FieldDecl *Field : RD->fields()) {
 7753   for (auto &Arg : FI.arguments()) {
 8146   for (auto &Arg : FI.arguments())
 8408   for (auto &I : FI.arguments())
 8494     for (auto &I : FI.arguments()) {
 8919   for (const auto *Field : RD->fields()) {
 9310   for (auto &ArgInfo : FI.arguments()) {
 9396     for (const FieldDecl *FD : RD->fields()) {
 9905   for (auto &A : F->args())
tools/clang/lib/CodeGen/VarBypassDetector.cpp
   88     for (auto *I : DS->decls())
  104   for (const Stmt *SubStmt : S->children()) {
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  211   for (const Decl *D : DC->decls()) {
tools/clang/lib/Driver/Compilation.cpp
  211   for (const auto *AI : A->inputs())
tools/clang/lib/Driver/Driver.cpp
  241   for (const Arg *A : Args.filtered(options::OPT_UNKNOWN)) {
  998     for (const auto *A : Args.filtered(options::OPT__SLASH_clang)) {
 1061   for (const Arg *A : Args.filtered(options::OPT_B)) {
 1426   for (const auto &A : C.getArgs().filtered(options::OPT_frewrite_map_file,
 1918   for (const Action *Input : A->inputs())
 2080     for (Arg *A :
 3696         for (const Arg *AA : C.getArgs().filtered(&Opt)) {
tools/clang/lib/Driver/ToolChain.cpp
  689       for (const auto *A :
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
   45   for (const Arg *A :
  323     for (const Arg *A :
tools/clang/lib/Driver/ToolChains/Clang.cpp
  536   for (const Arg *A : Args.filtered(options::OPT_fdebug_prefix_map_EQ)) {
  834   for (const auto &AI : A->inputs())
 1018     for (const Arg *A : Args.filtered(options::OPT_MT, options::OPT_MQ)) {
 1133   for (const Arg *A : Args.filtered(options::OPT_clang_i_Group)) {
 1742   for (const Arg *A : Args.filtered(options::OPT_mabi_EQ)) {
 2059   for (const Arg *A :
 2499   for (const Arg *A : Args.filtered(options::OPT__param)) {
 2770     for (const Arg *A : Args.filtered(options::OPT_fprebuilt_module_path)) {
 3810   for (auto Arg : Args.filtered(options::OPT_Xclang))
 3816     for (auto Arg : Args.filtered(options::OPT_Xanalyzer))
 3893     for (const Arg *A : Args.filtered(options::OPT_frewrite_map_file,
 4262   for (const Arg *A :
 4268   for (const Arg *A :
 5220   for (const Arg *A : Args.filtered(options::OPT_fplugin_EQ)) {
 5227   for (const Arg *A : Args.filtered(options::OPT_fpass_plugin_EQ)) {
 5244     for (auto Arg : Args.filtered(options::OPT_Xclang)) {
 5253   for (const Arg *A : Args.filtered(options::OPT_mllvm)) {
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
   74   for (const Arg *A : Args.filtered(Group)) {
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  642   for (const Arg *A : Args.filtered(options::OPT_iframework))
tools/clang/lib/Driver/ToolChains/HIP.cpp
  118   for (const Arg *A : Args.filtered(options::OPT_mllvm)) {
  159   for (const Arg *A : Args.filtered(options::OPT_mllvm)) {
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  268   for (const Arg *A : Args.filtered(options::OPT_moslib_EQ)) {
  420   for (Arg *A : Args.filtered(options::OPT_L))
tools/clang/lib/Driver/ToolChains/MSVC.cpp
 1502   for (Arg *A : Args.filtered(options::OPT__SLASH_O)) {
tools/clang/lib/Driver/ToolChains/Myriad.cpp
  104   for (const Arg *A : Args.filtered(options::OPT_I, options::OPT_isystem)) {
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp
  186     for (const Arg *A : DriverArgs.filtered(options::OPT_mllvm)) {
tools/clang/lib/Format/TokenAnnotator.cpp
 1963     for (FormatToken *Token : llvm::reverse(Tokens))
tools/clang/lib/Frontend/ASTMerge.cpp
   61     for (auto *D : TU->decls()) {
tools/clang/lib/Frontend/ASTUnit.cpp
  911         for (const auto *EI : EnumD->enumerators()) {
  968       for (auto *I : NSD->decls())
 2614     for (const auto *D : Reader->getModuleFileLevelDecls(Mod)) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
  169   for (auto *A : Args.filtered(Group)) {
  328   for (const Arg *A :
  342   for (const auto *A : Args.filtered(OPT_analyzer_config)) {
 1136   for (auto *A :
 1447   for (const auto *A : Args.filtered(OPT_fmodule_file)) {
 1805   for (const auto *AA : Args.filtered(OPT_plugin_arg))
 1862   for (const auto *A : Args.filtered(OPT_fmodule_file)) {
 2062   for (const auto *A : Args.filtered(OPT_fmodule_file)) {
 2067   for (const auto *A : Args.filtered(OPT_fprebuilt_module_path))
 2091   for (const auto *A : Args.filtered(OPT_fmodules_ignore_macro)) {
 2101   for (const auto *A : Args.filtered(OPT_I, OPT_F, OPT_index_header_map)) {
 2128   for (const auto *A :
 2138   for (const auto *A : Args.filtered(OPT_idirafter))
 2140   for (const auto *A : Args.filtered(OPT_iquote))
 2142   for (const auto *A : Args.filtered(OPT_isystem, OPT_iwithsysroot))
 2145   for (const auto *A : Args.filtered(OPT_iframework))
 2147   for (const auto *A : Args.filtered(OPT_iframeworkwithsysroot))
 2152   for (const auto *A : Args.filtered(OPT_c_isystem))
 2154   for (const auto *A : Args.filtered(OPT_cxx_isystem))
 2156   for (const auto *A : Args.filtered(OPT_objc_isystem))
 2158   for (const auto *A : Args.filtered(OPT_objcxx_isystem))
 2162   for (const auto *A :
 2171   for (const auto *A :
 2176   for (const auto *A : Args.filtered(OPT_ivfsoverlay))
 3287   for (const auto *A : Args.filtered(OPT_error_on_deserialized_pch_decl))
 3318   for (const auto *A : Args.filtered(OPT_D, OPT_U)) {
 3328   for (const auto *A : Args.filtered(OPT_include))
 3331   for (const auto *A : Args.filtered(OPT_chain_include))
 3334   for (const auto *A : Args.filtered(OPT_remap_file)) {
 3447   for (const auto *A : Args.filtered(OPT_UNKNOWN)) {
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  140     for (const auto *D : Decls)
  146     for (const auto *D : FTD.specializations())
  152     for (const auto *D : CTD.specializations())
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  612     for (const auto &I : fproto->param_types())
 1139   for (auto *I : CatDecl->instance_properties())
 1142   for (auto *I : CatDecl->instance_methods())
 1144   for (auto *I : CatDecl->class_methods())
 1159   for (auto *I : PDecl->instance_methods())
 1161   for (auto *I : PDecl->class_methods())
 1163   for (auto *I : PDecl->instance_properties())
 1348   for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) {
 1359   for (auto *OMD : IMD ? IMD->class_methods() : CID->class_methods()) {
 1369   for (auto *I : IMD ? IMD->property_impls() : CID->property_impls())
 1395     for (auto *I : ClassDecl->instance_properties())
 1397     for (auto *I : ClassDecl->instance_methods())
 1399     for (auto *I : ClassDecl->class_methods())
 1910   for (Stmt *SubStmt : S->children())
 3655       for (auto *FD : RD->fields())
 3673       for (const auto *EC : ED->enumerators()) {
 4459   for (Stmt *SubStmt : S->children())
 4477   for (Stmt *SubStmt : S->children())
 4535     for (auto &I : FTP->param_types()) {
 4602     for (auto &I : FTP->param_types()) {
 4811     for (const auto &I : FTP->param_types())
 4829     for (const auto &I : FTP->param_types()) {
 5451   for (Stmt *&childStmt : S->children())
 5667   for (auto *FD : RD->fields()) {
 6847   for (auto *I : PDecl->protocols())
 6853   for (auto *MD : PDecl->instance_methods()) {
 6861   for (auto *MD : PDecl->class_methods()) {
 7026   for (const auto *Prop : IDecl->property_impls()) {
 7276   for (const auto *Prop : IDecl->property_impls()) {
 7305   for (auto *I : CDecl->protocols())
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  548     for (const auto &I : fproto->param_types())
  972   for (auto *I : CatDecl->instance_properties())
  974   for (auto *I : CatDecl->instance_methods())
  976   for (auto *I : CatDecl->class_methods())
  991   for (auto *I : PDecl->instance_methods())
  993   for (auto *I : PDecl->class_methods())
  995   for (auto *I : PDecl->instance_properties())
 1170   for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) {
 1181   for (auto *OMD : IMD ? IMD->class_methods() : CID->class_methods()) {
 1191   for (auto *I : IMD ? IMD->property_impls() : CID->property_impls())
 1215   for (auto *I : ClassDecl->instance_properties())
 1217   for (auto *I : ClassDecl->instance_methods())
 1219   for (auto *I : ClassDecl->class_methods())
 1717   for (Stmt *SubStmt : S->children())
 1730   for (Stmt *SubStmt : S->children())
 1740   for (Stmt *SubStmt : S->children())
 1761   for (Stmt *SubStmt : S->children())
 3646   for (Stmt *SubStmt : S->children())
 3664   for (Stmt *SubStmt : S->children())
 3701     for (auto &I : FTP->param_types()) {
 3770     for (auto &I : FTP->param_types()) {
 3965     for (const auto &I : FTP->param_types())
 3983     for (const auto &I : FTP->param_types()) {
 4573   for (Stmt *&childStmt : S->children())
 4686     for (auto *SD : DS->decls()) {
 4765   for (auto *FD : RD->fields()) {
 5311       for (auto *IV : IDecl->ivars())
 5350   for (const auto *Prop : IDecl->property_impls()) {
 5628   for (const auto *Prop : IDecl->property_impls()) {
tools/clang/lib/Index/IndexBody.cpp
  201     for (DesignatedInitExpr::Designator &D : llvm::reverse(E->designators())) {
  270           for (const auto *protD : Ty->quals()) {
  408       for (Stmt *SubStmt : Form->children()) {
  416       for (DesignatedInitExpr::Designator &D : llvm::reverse(E->designators())) {
tools/clang/lib/Index/IndexDecl.cpp
  235       for (const CXXMethodDecl *O : CXXMD->overridden_methods()) {
  254       for (const auto *Init : Ctor->inits()) {
  441     for (const auto *I : D->property_impls()) {
  445     for (const auto *I : D->decls()) {
  592     for (const auto *I : D->shadows())
  749   for (const auto *I : DC->decls())
tools/clang/lib/Index/IndexTypeSourceInfo.cpp
  279         for (const auto &I : CXXRD->bases()) {
tools/clang/lib/Index/IndexingAction.cpp
  152   for (const auto &M : PP.macros())
  207   for (const Decl *D : Reader.getModuleFileLevelDecls(Mod)) {
tools/clang/lib/Index/USRGeneration.cpp
  559         if (enum_range.begin() != enum_range.end()) {
  804       for (const auto &I : FT->param_types()) {
tools/clang/lib/Lex/PPDirectives.cpp
  764       for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) {
  827   for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) {
 1622   for (auto &Component : llvm::reverse(Components)) {
tools/clang/lib/Lex/PPLexerChange.cpp
   55   for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) {
  263   for (auto *M : Mod.submodules())
  592   for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) {
tools/clang/lib/Lex/PPMacroExpansion.cpp
  441     for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) {
tools/clang/lib/Lex/TokenLexer.cpp
  475         for (Token &Tok : llvm::make_range(ResultToks.begin() + FirstResult,
  533       for (Token &Tok : llvm::make_range(ResultToks.end() - NumToks,
tools/clang/lib/Parse/ParseDecl.cpp
 6413     for (Decl *D : getCurScope()->decls()) {
tools/clang/lib/Parse/ParseObjc.cpp
 1206   for (auto &AL : llvm::reverse(from)) {
tools/clang/lib/Parse/ParseTemplate.cpp
 1482   for (ContainingDC CDC : reverse(DeclContextsToReenter)) {
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  136     for (const Stmt *SubStmt : E->children())
  293     for (auto &Succ : UnwindBlock.succs()) {
 1270   for (const CFGBlock *B : llvm::reverse(*Cfg)) {
tools/clang/lib/Sema/IdentifierResolver.cpp
  288     for (auto RD : New->redecls()) {
tools/clang/lib/Sema/JumpDiagnostics.cpp
  352         for (auto *E : GS->labels())
  448     for (auto *I : DS->decls())
  571   for (Stmt *SubStmt : S->children()) {
tools/clang/lib/Sema/Sema.cpp
  588       for (const auto *Spec : Template->specializations())
  618       for (const auto *Spec : Template->specializations())
 1828   for (auto *Scope : llvm::reverse(FunctionScopes)) {
tools/clang/lib/Sema/SemaAccess.cpp
  297     for (const auto &I : Derived->bases()) {
  574   for (auto *Friend : Class->friends()) {
  644     for (const auto &I : Cur->bases()) {
 1134   for (const auto *I : DeclaringClass->decls()) {
tools/clang/lib/Sema/SemaAttr.cpp
   68   for (auto &PackedInclude : llvm::reverse(PackIncludeStack)) {
   94   for (Decl *Redecl : Record->redecls())
  373   for (const auto &StackSlot : llvm::reverse(PackStack.Stack)) {
tools/clang/lib/Sema/SemaCUDA.cpp
  292   for (const auto &B : ClassDecl->bases()) {
  299     for (const auto &VB : ClassDecl->vbases()) {
  342   for (const auto *F : ClassDecl->fields()) {
tools/clang/lib/Sema/SemaCast.cpp
 1479         for (CXXBasePathElement &PE : llvm::reverse(Path))
tools/clang/lib/Sema/SemaChecking.cpp
  166   for (Expr *Arg : TheCall->arguments()) {
 4169     for (const auto *I : FDecl->specific_attrs<FormatAttr>()) {
 4218     for (const auto *NonNull : FDecl->specific_attrs<NonNullAttr>()) {
 4227       for (const ParamIdx &Idx : NonNull->args()) {
 4315     for (const auto *I : FDecl->specific_attrs<FormatAttr>()) {
 4350       for (const auto *I : FDecl->specific_attrs<ArgumentWithTypeTagAttr>())
 6937             for (const auto *PVFormat : ND->specific_attrs<FormatAttr>()) {
 6962       for (const auto *FA : ND->specific_attrs<FormatArgAttr>()) {
 9360   for (auto *FD : RD->fields()) {
 9421     for (const FieldDecl *FD : FT->castAs<RecordType>()->getDecl()->fields())
 9463     for (const FieldDecl *FD : FT->castAs<RecordType>()->getDecl()->fields())
12080     for (auto *SE : POE->semantics())
12119   for (Stmt *SubStmt : E->children()) {
12317         for (const auto *NonNull : FD->specific_attrs<NonNullAttr>()) {
12323           for (const ParamIdx &ArgNo : NonNull->args()) {
12606       for (auto &M : llvm::reverse(ModAsSideEffect)) {
13418         for (const auto *Arg : OCE->arguments())
14296   for (auto *Field2 : RD2->fields())
14299   for (auto *Field1 : RD1->fields()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp
 1947   for (auto *Method : CR->methods()) {
 1953   for (const auto &Base : CR->bases()) {
 1957     for (auto *Method : BR->methods()) {
 3351   for (const auto *I : ND->specific_attrs<AnnotateAttr>())
 3968   for (const CXXMethodDecl *Overridden : Method->overridden_methods()) {
 4251   for (auto *E : Enum->enumerators()) {
 4567     for (const auto *P : Container->class_properties())
 4570     for (const auto *P : Container->instance_properties())
 4598       for (const auto *M : Container->methods()) {
 4608       for (auto *M : Container->methods()) {
 4617     for (auto *P : Protocol->protocols())
 4626       for (auto *Cat : IFace->known_categories())
 4634     for (auto *I : IFace->all_referenced_protocols())
 4649     for (auto *P : Category->protocols())
 4786       for (auto *I : BaseType->getAs<ObjCObjectPointerType>()->quals())
 5659   for (const auto &Base : ClassDecl->bases()) {
 5674   for (const auto &Base : ClassDecl->vbases()) {
 5689   for (auto *Field : ClassDecl->fields()) {
 5740     for (const auto *D : S->decls()) {
 6199   for (ObjCMethodDecl *M : Container->methods()) {
 6238   for (ObjCProtocolDecl *I : IFace->protocols())
 6243   for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) {
 6516       for (const auto *Cat : Class->known_categories()) {
 6921     for (auto *I : QualID->quals())
 6933     for (auto *I : IFacePtr->quals())
 7076   for (const auto *D : Ctx->decls()) {
 7140   for (const auto *D : Ctx->decls()) {
 7228     for (const auto *Cat : Class->visible_categories())
 7235   for (const auto *D : TU->decls())
 7272     for (const auto *Cat : Class->visible_categories()) {
 7302   for (const auto *D : Container->decls())
 7450     for (auto *Cat : IFace->visible_categories()) {
 7499   for (auto *M : Container->methods()) {
 8309       for (auto *Cat : IFace->visible_categories())
 8314         for (auto *P : Containers[I]->instance_properties())
 8393     for (const auto &M : PP.macros()) {
 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
  186   for (const auto &Base : RD->bases()) {
  649     for (const auto &Base : RD->bases())
 1832   for (auto *TmpD : D->decls()) {
 1888   for (auto *TmpD : S->decls()) {
 2294         for (auto *D : NewTag->decls()) {
 2383   for (const auto *i : D->attrs())
 2417   for (auto *I : Old->specific_attrs<AlignedAttr>()) {
 2440   for (auto *I : New->specific_attrs<AlignedAttr>()) {
 2613   for (const auto *Attribute : D->attrs())
 2837       for (const auto &NewTag : NewAbiTagAttr->tags()) {
 2880   for (auto *I : Old->specific_attrs<InheritableAttr>()) {
 2944   for (const auto *I : oldDecl->specific_attrs<InheritableParamAttr>()) {
 3633       for (const auto &ParamType : OldProto->param_types()) {
 4699   for (auto *D : AnonRecord->decls()) {
 4733         for (const auto *Attr : VD->attrs())
 4779   for (const auto *I : Record->decls()) {
 4898     for (auto *Mem : Record->decls()) {
 7284       for (auto I : shadowedVar->redecls())
 7844   for (const CXXMethodDecl *O : MD->overridden_methods()) {
 7867     for (auto *I : Paths.found_decls()) {
 8489     for (const auto *FD : RD->fields()) {
 9009     for (const auto &AI : FT->param_types()) {
 9699   for (const Attr *A : FD->attrs()) {
 9973   for (const auto *FD : OldFD->redecls()) {
10095         for (const IdentifierInfo *CurII : CurCPUSpec->cpus()) {
10096           for (const IdentifierInfo *NewII : NewCPUSpec->cpus()) {
10562       for (QualType T : FPT->param_types())
10811       for (auto Child : InitList->children()) {
10847       for (const FieldDecl *I : llvm::reverse(Fields))
10982       for (auto Arg: E->arguments())
11372     for (const FieldDecl *FD : RD->fields())
11437     for (const FieldDecl *FD : RD->fields())
11503     for (const FieldDecl *FD : RD->fields())
12565   for (auto *I : VD->specific_attrs<AlignedAttr>())
12768   for (const auto *I : ThisDecl->specific_attrs<TypeTagForDatatypeAttr>()) {
13354     for (auto I : FD->redecls()) {
13381       for (auto I : FTD->redecls()) {
13459   for (const auto &C : LambdaClass->captures()) {
13579     for (Decl *NPD : FD->decls()) {
13593         for (auto *EI : ED->enumerators())
14030       for (const Stmt *S : Body->children()) {
14035           for (const auto *Decl : DS->decls()) {
14578     for (const TagDecl *I : Previous->redecls()) {
16430     for (const auto *I : Record->decls()) {
16832           for (const auto *Ext : IDecl->known_extensions()) {
17311     for (auto *ECD : llvm::make_range(Vec->begin() + 1, Vec->end()))
17327     for (auto *E : ED->enumerators()) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
  483   for (auto BaseSpecifier : CXXRecord->bases()) {
 1420       for (const auto *I : UD->fields()) {
 1708     for (const auto *I : D->specific_attrs<OwnershipAttr>()) {
 2062   for (const auto *I : R->fields()) {
 3207   for (auto *F : D->specific_attrs<FormatAttr>()) {
 3562   for (const auto *I : D->specific_attrs<AnnotateAttr>()) {
 3783   for (auto *I : D->specific_attrs<AlignedAttr>()) {
 4402     for (Decl *Redecl : D->redecls()) {
 4419     for (Decl *Redecl : D->redecls()) {
 7356       for (const auto &AI : FT->param_types()) {
 7515   for (const auto *A : D->attrs()) {
 8345     for (const Stmt *S : llvm::reverse(StmtStack)) {
 8360       for (const Decl *D : cast<DeclStmt>(StmtOfUse)->decls()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
   78     for (Stmt *SubStmt : Node->children())
 1357   for (auto *FD : RD->fields()) {
 1621   for (const CXXBaseSpecifier &B : RD->bases())
 1624   for (const FieldDecl *FD : RD->fields())
 1695       for (const auto &I : RD->vbases())
 1772   for (const auto *DclIt : DS->decls()) {
 1949     for (auto *I : RD->fields())
 2001     for (auto *BodyIt : CompStmt->body()) {
 2041     for (Stmt *SubStmt : S->children())
 2056     for (Stmt *SubStmt : S->children())
 2069     for (Stmt *SubStmt : S->children()) {
 2148   for (Stmt *SubStmt : Body->children()) {
 2222         for (const auto *I: Constructor->inits()) {
 2230         for (auto *I : RD->fields())
 2378     for (const auto &I : Current->bases()) {
 2608     for (const auto &BaseSpec : Decl->bases()) {
 3404         for (const auto *D : cast<CXXRecordDecl>(CurContext)->decls()) {
 3650       for (auto Child : ILE->children()) {
 3721         for (auto Arg : E->arguments())
 3746       for (auto Arg : E->arguments())
 3810     for (auto *I : RD->decls()) {
 3819     for (auto I : RD->bases())
 3829     for (const auto *FieldInit : Constructor->inits()) {
 3932   for (const auto &Base : ClassDecl->bases()) {
 4999   for (auto &I : ClassDecl->bases()) {
 5005   for (auto &VBase : ClassDecl->vbases()) {
 5040   for (auto &Base : ClassDecl->bases()) {
 5062   for (auto *Mem : ClassDecl->decls()) {
 5123       for (auto *Field : RD->fields())
 5171   for (const auto &VBase : ClassDecl->vbases())
 5175   for (const auto &Base : ClassDecl->bases()) {
 5182   for (auto *Field : ClassDecl->fields()) {
 5381   for (auto *Field : ClassDecl->fields()) {
 5422   for (const auto &Base : ClassDecl->bases()) {
 5457   for (const auto &VBase : ClassDecl->vbases()) {
 5720   for (auto *D : RD->decls()) {
 5767   for (Decl *Member : Class->decls()) {
 5823   for (Decl *Member : Class->decls()) {
 5855   for (auto *Method : Class->methods()) {
 5891     for (Decl *Member : Class->decls()) {
 5937   for (Decl *Member : Class->decls()) {
 6206       for (const CXXConstructorDecl *CD : D->ctors()) {
 6272   for (const CXXMethodDecl *MD : D->methods()) {
 6308     for (const auto *F : Record->fields()) {
 6454     for (auto *M : Record->methods()) {
 6473     for (auto *M : Record->methods())
 6479     for (FriendDecl *D : Record->friends()) {
 6582     for (auto *D : Shadow->redecls()) {
 6745   for (const auto &B : ClassDecl->bases()) {
 6762   for (const auto *F : ClassDecl->fields()) {
 7105     for (FieldDecl *FD : Classes.pop_back_val()->fields()) {
 7278     for (auto &B : RD->bases())
 7284       for (auto &B : RD->vbases())
 7288     for (auto *F : RD->fields())
 7571       for (auto *UI : FieldRecord->fields()) {
 7618     for (auto *F : MD->getParent()->fields())
 7684       for (auto *I : RD->ctors()) {
 7696       for (auto *I : RD->methods()) {
 7805       for (auto *CI : RD->ctors()) {
 7905   for (auto *CI : RD->ctors())
 7988   for (const auto *FI : RD->fields()) {
 8122   for (const auto &BI : RD->bases())
 8168     for (const auto *MI : RD->methods()) {
 8197     for (const CXXMethodDecl *O : MD->overridden_methods())
 8257     for (const CXXMethodDecl *O : MD->overridden_methods())
 8336   for (const auto &B : RD.bases()) {
 8347   for (const auto *FD : RD.fields()) {
 8970     for (auto &Chunk : D.type_objects()) {
 9201   for (const DeclaratorChunk &Chunk : llvm::reverse(D.type_objects())) {
 9285     for (auto *I : PrevNS->decls())
 9575   for (const CXXBaseSpecifier &BaseSpec : Info->Record->bases()) {
10189   for (auto &B : Derived->bases())
10294   for (auto &Base : Derived->bases()) {
11670     for (CXXBaseSpecifier &B : VBase ? RD->vbases() : RD->bases()) {
12415     for (auto *I : RD->ctors()) {
12426     for (auto *I : RD->methods()) {
12511   for (auto &Base : ClassDecl->bases()) {
12550   for (auto *Field : ClassDecl->fields()) {
12743   for (auto &BI : Class->bases()) {
12801         for (auto &BI : Base->bases())
12870   for (auto &Base : ClassDecl->bases()) {
12918   for (auto *Field : ClassDecl->fields()) {
15176     for (const CXXMethodDecl *O : MD->overridden_methods()) {
15289   for (Stmt *SubStmt : S->children()) {
15691       for (auto R : Class->redecls()) {
15746   for (const auto *I : RD->methods())
15777   for (const auto &I : RD->bases()) {
16013   for (const auto *A : Method->attrs()) {
16137     for (const CXXMethodDecl *O : Method->overridden_methods())
tools/clang/lib/Sema/SemaDeclObjC.cpp
 1281   for (auto *PI : PDecl->protocols())
 1750   for (auto *MD : ID->methods())
 1755   for (const auto *Method : CAT->methods()) {
 2148       for (const auto *CDecl : IDecl->visible_extensions()) {
 2652   for (const auto *PI : PDecl->protocols())
 2664   for (const auto *I : Super->all_referenced_protocols())
 2741     for (auto *method : PDecl->instance_methods()) {
 2774   for (auto *method : PDecl->class_methods()) {
 2796   for (auto *PI : PDecl->protocols())
 2815   for (auto *I : CDecl->instance_methods()) {
 2842   for (auto *I : CDecl->class_methods()) {
 2869     for (auto *PI : PD->protocols())
 2880       for (auto *Cat : I->visible_categories())
 2887       for (auto *Ext : I->visible_extensions())
 2894     for (auto *PI : I->all_referenced_protocols())
 2923   for (const auto *I : CatIMPDecl->instance_methods()) {
 2933   for (const auto *I : CatIMPDecl->class_methods()) {
 2956   for (const auto *I : IMPDecl->instance_methods())
 2960   for (const auto *PImpl : IMPDecl->property_impls()) {
 2987   for (const auto *I : IMPDecl->class_methods())
 3011     for (auto *PI : I->all_referenced_protocols())
 3018       for (auto *P : C->protocols())
 3729   for (auto *Ivar : ID->ivars()) {
 3825     for (auto ivar : Ivars) {
 3869       (Ivars.begin() == Ivars.end()) ? nullptr : *Ivars.begin();
 3981       for (auto *I : CDecl->properties())
 3993       for (const auto *Ext : IDecl->visible_extensions()) {
 3994         for (const auto *Property : Ext->instance_properties()) {
 4003           for (const auto *Ext : IDecl->visible_extensions()) {
 4271     for (auto *Cat : iface->known_categories())
 4687       for (auto *C : IDecl->visible_categories())
 4688         for (auto &P : C->protocols())
 5055   for (const auto *CurMethod : ImplD->instance_methods()) {
tools/clang/lib/Sema/SemaExceptionSpec.cpp
  228   for (FunctionDecl *Redecl : FD->redecls())
  975   for (const Stmt *SubStmt : E->children()) {
tools/clang/lib/Sema/SemaExpr.cpp
  129   for (auto I : D->redecls()) {
 5417   for (QualType ParamType : FT->param_types()) {
 8504   for (auto *it : UD->fields()) {
11650     for (const FieldDecl *Field :
13695     for (NamedDecl *D : ULE->decls()) {
14195     for (const auto &I : Fn->param_types()) {
14740       for (auto *srcProto : srcOPT->quals()) {
14751       for (auto *dstProto : dstOPT->quals()) {
15577         for (auto i : Func->redecls()) {
17716         for (const auto &AI : FT->param_types()) {
tools/clang/lib/Sema/SemaExprCXX.cpp
  818   for (const CXXBaseSpecifier &BS : RD->bases()) {
 1050       for (auto &&C : Closure->captures()) {
 3097   for (const auto *CI : cast<const CXXConstructorDecl>(Definition)->inits()) {
 3126   for (const auto *CD : RD->ctors()) {
 6284   for (unsigned CVR : llvm::reverse(QualifierUnion)) {
tools/clang/lib/Sema/SemaExprMember.cpp
  441   for (const auto *I : PDecl->protocols()) {
  455   for (const auto *I : QIdTy->quals()) {
  469     for (const auto *I : QIdTy->quals()) {
  619       for (const auto &BS : RD->bases()) {
tools/clang/lib/Sema/SemaExprObjC.cpp
 1792   for (const auto *I : objType->quals())
 1806   for (const auto *PROTO : OPT->quals()) {
 1856   for (const auto *I : OPT->quals())
 2395     for (const auto *I : Method->specific_attrs<FormatAttr>()) {
 2634     for (const ObjCProtocolDecl *P : RootClass->all_referenced_protocols()) {
 4361     for (const GenericSelectionExpr::Association &assoc : gse->associations()) {
tools/clang/lib/Sema/SemaInit.cpp
  776       for (auto *Field : RDecl->fields()) {
  796         for (auto &Base : CXXRD->bases()) {
  806       for (auto *Field : RDecl->fields()) {
  981   for (const auto *Field : structDecl->fields())
 2013       for (FieldDecl *FD : RD->fields()) {
 2055   for (auto &Base : Bases) {
 2558     for (auto *FI : RT->getDecl()->fields()) {
 3942       for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 4536     for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 5191       for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 7161         for (const auto *I : RD->fields()) {
 7188     for (Expr *E : LE->capture_inits()) {
 8608   for (const auto *FI : RD->fields()) {
 8618   for (const auto &BI : RD->bases()) {
tools/clang/lib/Sema/SemaLookup.cpp
  119           for (auto *I : S->using_directives())
  158         for (auto UD : DC->using_directives()) {
 1111   for (const UnqualUsingEntry &UUE : UDirs.getNamespacesFor(NS))
 1622   for (auto *Redecl : D->redecls()) {
 1840   for (auto RD : D->redecls()) {
 2065   for (auto *I : StartDC->using_directives()) {
 2113     for (auto I : ND->using_directives()) {
 2508   for (const auto &BaseSpec : Class->bases()) {
 2781     for (const auto &Base : Class->bases()) {
 2890       for (const auto &Arg : Proto->param_types())
 3010     for (const NamedDecl *D : OE->decls()) {
 3807     for (DeclContextLookupResult R :
 3821       for (auto I : Ctx->using_directives()) {
 3834       for (const auto &B : Record->bases()) {
 3889       for (auto *Cat : IFace->visible_categories()) {
 3896       for (auto *I : IFace->all_referenced_protocols()) {
 3917       for (auto *I : Protocol->protocols()) {
 3923       for (auto *I : Category->protocols()) {
 3953       SmallVector<Decl *, 8> ScopeDecls(S->decls().begin(), S->decls().end());
 4018       for (const UnqualUsingEntry &UUE : UDirs.getNamespacesFor(Entity))
 4486   for (DeclContext *C : llvm::reverse(CurContextChain)) {
 4515   for (DeclContext *C : llvm::reverse(DeclChain)) {
 4536   for (DeclContext *C : llvm::reverse(CurContextChain)) {
 4878       for (auto *I : OPT->quals())
tools/clang/lib/Sema/SemaModule.cpp
  685   for (auto *D : DC->decls())
  701     for (auto *Child : ED->decls()) {
tools/clang/lib/Sema/SemaObjCProperty.cpp
  126   for (auto *P : Proto->protocols())
  254       for (auto *P : CurrentInterfaceDecl->protocols()) {
  259       for (auto *P : IFace->all_referenced_protocols()) {
  268       for (auto *P : Cat->protocols())
  272     for (auto *P : Proto->protocols())
  840   for (const auto *PI : ClassDecl->all_referenced_protocols()) {
  847       for (const auto *PI : SDecl->all_referenced_protocols()) {
 1031   for (const auto *Proto : OrigClass->all_referenced_protocols()) {
 1112       for (auto *Ext : IDecl->known_extensions()) {
 1706     for (auto *Prop : IDecl->properties()) {
 1714     for (auto *Ext : IDecl->visible_extensions())
 1720       for (auto *PI : IDecl->all_referenced_protocols())
 1726     for (auto *Prop : CATDecl->properties()) {
 1734       for (auto *PI : CATDecl->protocols())
 1740     for (auto *Prop : PDecl->properties()) {
 1758     for (auto *PI : PDecl->protocols())
 1793   for (const auto *Property : IFace->instance_properties()) {
 1801   for (const auto *Ext : IFace->known_extensions())
 1802     for (const auto *Property : Ext->instance_properties())
 2009     for (auto *PDecl : IDecl->all_referenced_protocols()) {
 2028       for (auto *PropDecl : PDecl->properties()) {
 2042   for (const auto *I : IMPDecl->property_impls())
 2047   for (const auto *I : IMPDecl->methods())
 2059         for (const auto *I : IMP->methods())
 2084   for (const auto *propertyImpl : impDecl->property_impls()) {
 2117   for (auto *Prop : IDecl->properties())
 2119   for (const auto *Ext : IDecl->known_extensions())
 2120     for (auto *Prop : Ext->properties())
 2210   for (const auto *PID : D->property_impls()) {
 2230         for (auto *getterRedecl : method->redecls()) {
 2272   for (const auto *I : ImplD->instance_methods())
 2289         for (auto *Ext : IFD->visible_extensions())
 2310   for (const auto *A : Property->attrs()) {
tools/clang/lib/Sema/SemaOpenMP.cpp
  397     for (const FunctionScopeInfo *FSI : llvm::reverse(SemaRef.FunctionScopes)) {
  559         for (const OMPClause *CPrev : D->clauselists()) {
 2159         for (Expr *DE : Clause->varlists()) {
 2412     for (const Stmt *Child : S->children()) {
 2997                 for (const auto &SC : llvm::reverse(StackComponents)) {
 3033         for (Stmt *CC : C->children()) {
 3043     for (Stmt *C : S->children()) {
 3053     for (const CapturedStmt::Capture &Cap : S->captures()) {
 3613         for (const LambdaCapture &LC : RD->captures()) {
 3657       for (Expr *E : IRC->taskgroup_descriptors())
 3668       for (Stmt *VarRef : Clause->children()) {
 3724   for (OpenMPDirectiveKind ThisCaptureRegion : llvm::reverse(CaptureRegions)) {
 3739             for (Decl *D : DS->decls())
 4142   for (OMPClause *Cl : PrivateRange) {
 4182     for (Expr *E : llvm::make_range(It, Et)) {
 4197   for (OMPClause *C : AllocateRange) {
 4212     for (Expr *E : AC->varlists()) {
 4283         for (Expr *E : IRC->taskgroup_descriptors())
 4666       for (Stmt *CC : C->children()) {
 5203     for (OMPDeclareVariantAttr *A :
 5607     for (const Stmt *Child : S->children())
 6691     for (auto &Pair : DSA.getDoacrossDependClauses()) {
 7587   if (CollapseClauses.begin() != CollapseClauses.end())
 7595   if (OrderedClauses.begin() != OrderedClauses.end())
 7771     if (S.begin() == S.end())
 7775     for (Stmt *SectionStmt : llvm::make_range(std::next(S.begin()), S.end())) {
 7775     for (Stmt *SectionStmt : llvm::make_range(std::next(S.begin()), S.end())) {
 8014     if (S.begin() == S.end())
 8018     for (Stmt *SectionStmt : llvm::make_range(std::next(S.begin()), S.end())) {
 8018     for (Stmt *SectionStmt : llvm::make_range(std::next(S.begin()), S.end())) {
12681     for (Stmt *Child : S->children()) {
12730   for (auto RD : D->redecls()) {
12827     for (NamedDecl *D : ULE->decls()) {
13947   for (Expr *RefExpr : Clause.varlists()) {
15146     for (NamedDecl *D : ULE->decls()) {
tools/clang/lib/Sema/SemaOverload.cpp
 1984   for (const auto *it : UD->fields()) {
 3435       for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 4476   for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 5907       (std::distance(Conversions.begin(), Conversions.end()) > 1);
 5914   for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 6464   if (EnableIfAttrs.begin() == EnableIfAttrs.end())
 6476   for (auto *EIA : EnableIfAttrs) {
 6496   for (const auto *DIA : ND->specific_attrs<DiagnoseIfAttr>()) {
 6521   for (const auto *DIA : llvm::make_range(WarningBegin, Attrs.end()))
 7802     for (NamedDecl *D : ClassDecl->getVisibleConversionFunctions()) {
 7874     for (NamedDecl *D : ClassDecl->getVisibleConversionFunctions()) {
 9777   for (auto *EnableIf : FD->specific_attrs<EnableIfAttr>()) {
13647   for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
tools/clang/lib/Sema/SemaPseudoObject.cpp
  148         for (const GenericSelectionExpr::Association &assoc :
 1090   for (NamedDecl *D : cast<CXXRecordDecl>(RecordTy->getDecl())
tools/clang/lib/Sema/SemaStmt.cpp
 1140       for (auto *EDI : ED->enumerators()) {
 1292           for (auto *EDI : ED->enumerators()) {
 1517       for (auto *S : POE->semantics()) {
 1775       for (auto *DI : DS->decls()) {
 3062   for (const InitializationSequence::Step &Step : Seq.steps()) {
 3426   for (auto *TmpD : R->decls())
tools/clang/lib/Sema/SemaStmtAsm.cpp
  150     for (Stmt *Child : E->children()) {
tools/clang/lib/Sema/SemaTemplate.cpp
 5572   for (const auto &A : T->param_types()) {
 8938   for (auto &B : Def->bases()) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 1836         for (const auto &Base : Next->bases()) {
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 1944   for (const auto &Base : Pattern->bases()) {
 2157   for (auto *Member : Pattern->decls()) {
 2667   for (auto *D : Instantiation->decls()) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  311     for(auto *E : Attr.uniforms()) {
  320   for (auto *E : Attr.aligneds()) {
  333   for (auto *E : Attr.linears()) {
  483     for (const auto *TmplAttr : Tmpl->attrs()) {
  516   for (const auto *TmplAttr : Tmpl->attrs()) {
 1083   for (const auto *Attr : D->attrs())
 1249   for (auto *EC : Pattern->enumerators()) {
 2016         for (auto R : Function->redecls()) {
 2803   for (auto *Shadow : D->shadows()) {
 2983   for (auto *I : D->varlists()) {
 3000   for (auto *I : D->varlists()) {
 3007   for (OMPClause *C : D->clauselists()) {
 3165     for (OMPClause *C : D->clauselists())
 3181     for (OMPClause *C : D->clauselists()) {
 3184       for (Expr *OE : OldC->varlists()) {
 4926   for (const auto *Init : Tmpl->inits()) {
 5675   for (auto DD : Pattern->ddiags()) {
tools/clang/lib/Sema/SemaType.cpp
 3344   for (auto &C : D.type_objects()) {
 5055     for (const DeclaratorChunk &DeclType : D.type_objects()) {
 7889       for (auto *Redecl : ED->redecls()) {
 8223     for (const auto &I : RD->vbases())
 8230     for (const auto &I : RD->bases()) {
 8237     for (const auto *I : RD->fields()) {
tools/clang/lib/Sema/TreeTransform.h
 6662   for (auto *B : S->body()) {
 7051   for (auto *D : S->decls()) {
 8711   for (auto *VE : C->varlists()) {
 8726   for (auto *VE : C->varlists()) {
 8741   for (auto *VE : C->varlists()) {
 8756   for (auto *VE : C->varlists()) {
 8771   for (auto *VE : C->varlists()) {
 8789   for (auto *E : C->reduction_ops()) {
 8794       for (auto *D : ULE->decls()) {
 8818   for (auto *VE : C->varlists()) {
 8836   for (auto *E : C->reduction_ops()) {
 8841       for (auto *D : ULE->decls()) {
 8863   for (auto *VE : C->varlists()) {
 8881   for (auto *E : C->reduction_ops()) {
 8886       for (auto *D : ULE->decls()) {
 8908   for (auto *VE : C->varlists()) {
 8927   for (auto *VE : C->varlists()) {
 8946   for (auto *VE : C->varlists()) {
 8961   for (auto *VE : C->varlists()) {
 8975   for (auto *VE : C->varlists()) {
 8990   for (auto *VE : C->varlists()) {
 9019   for (auto *VE : C->varlists()) {
 9042   for (auto *E : C->mapperlists()) {
 9047       for (auto *D : ULE->decls()) {
 9092   for (auto *VE : C->varlists()) {
 9212   for (auto *VE : C->varlists()) {
 9227   for (auto *VE : C->varlists()) {
 9371   for (const GenericSelectionExpr::Association &Assoc : E->associations()) {
10851   for (auto *OldD : Old->decls()) {
10873         for (auto *SD : UD->shadows())
tools/clang/lib/Serialization/ASTCommon.h
   99   for (Decl *LexicalD : DC->decls()) {
tools/clang/lib/Serialization/ASTReader.cpp
  467     for (auto DiagIDMappingPair : MappingSource->getDiagnosticMappings()) {
 1941   for (ModuleFile &I : llvm::reverse(ModuleMgr)) {
 7635       for (auto *DCDecl : cast<Decl>(D->getLexicalDeclContext())->redecls()) {
 8113   for (auto *I : ImplD->methods())
 8384     for (auto F : ModuleMgr.pch_modules())
 9015     return getModuleManager().pch_modules().end()[-IndexFromEnd];
 9032   assert(I != PCHModules.end() && "emitting reference to unknown file");
 9033   return (I - PCHModules.end()) << 1;
10132     for (auto RI : D->redecls()) {
10148     for (auto *CanonMember : CanonDef->decls()) {
10563         for (auto *D : Record->decls()) {
11967       for (auto *D : Enum->decls()) {
12162         for (auto *Redecl : Update.second->redecls())
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  761       for (auto *D : merged_redecls(ED->getCanonicalDecl())) {
 3235   for (auto *D : merged_redecls(cast<Decl>(LexicalDC))) {
 4160       for (auto *Cat : Interface->known_categories()) {
tools/clang/lib/Serialization/ASTReaderStmt.cpp
  513   for (auto &I : S->captures()) {
tools/clang/lib/Serialization/ASTWriter.cpp
  549   for (const auto *I : T->quals())
  560   for (const auto *I : T->quals())
 3088     for (auto *M : Mod->submodules())
 3236   for (const auto *D : DC->decls()) {
 4112       for (Decl *ChildD : cast<CXXRecordDecl>(DC)->decls())
 4907   for (const auto *D : TU->noload_decls()) {
 5199     for (const auto *I : Context.local_imports()) {
 6382     for (auto *Child : DC->decls())
 6735   for (auto *VE : C->varlists()) {
 6738   for (auto *VE : C->private_copies()) {
 6747   for (auto *VE : C->varlists()) {
 6750   for (auto *VE : C->private_copies()) {
 6753   for (auto *VE : C->inits()) {
 6762   for (auto *VE : C->varlists())
 6764   for (auto *E : C->private_copies())
 6766   for (auto *E : C->source_exprs())
 6768   for (auto *E : C->destination_exprs())
 6770   for (auto *E : C->assignment_ops())
 6777   for (auto *VE : C->varlists())
 6788   for (auto *VE : C->varlists())
 6790   for (auto *VE : C->privates())
 6792   for (auto *E : C->lhs_exprs())
 6794   for (auto *E : C->rhs_exprs())
 6796   for (auto *E : C->reduction_ops())
 6807   for (auto *VE : C->varlists())
 6809   for (auto *VE : C->privates())
 6811   for (auto *E : C->lhs_exprs())
 6813   for (auto *E : C->rhs_exprs())
 6815   for (auto *E : C->reduction_ops())
 6826   for (auto *VE : C->varlists())
 6828   for (auto *VE : C->privates())
 6830   for (auto *E : C->lhs_exprs())
 6832   for (auto *E : C->rhs_exprs())
 6834   for (auto *E : C->reduction_ops())
 6836   for (auto *E : C->taskgroup_descriptors())
 6847   for (auto *VE : C->varlists()) {
 6850   for (auto *VE : C->privates()) {
 6853   for (auto *VE : C->inits()) {
 6856   for (auto *VE : C->updates()) {
 6859   for (auto *VE : C->finals()) {
 6864   for (auto *VE : C->used_expressions())
 6872   for (auto *VE : C->varlists())
 6880   for (auto *VE : C->varlists())
 6882   for (auto *E : C->source_exprs())
 6884   for (auto *E : C->destination_exprs())
 6886   for (auto *E : C->assignment_ops())
 6893   for (auto *VE : C->varlists())
 6895   for (auto *E : C->source_exprs())
 6897   for (auto *E : C->destination_exprs())
 6899   for (auto *E : C->assignment_ops())
 6906   for (auto *VE : C->varlists())
 6917   for (auto *VE : C->varlists())
 6944   for (auto *E : C->varlists())
 6946   for (auto *E : C->mapperlists())
 6948   for (auto *D : C->all_decls())
 6950   for (auto N : C->all_num_lists())
 6952   for (auto N : C->all_lists_sizes())
 6954   for (auto &M : C->all_components()) {
 6965   for (auto *VE : C->varlists())
 7029   for (auto *E : C->varlists())
 7031   for (auto *E : C->mapperlists())
 7033   for (auto *D : C->all_decls())
 7035   for (auto N : C->all_num_lists())
 7037   for (auto N : C->all_lists_sizes())
 7039   for (auto &M : C->all_components()) {
 7053   for (auto *E : C->varlists())
 7055   for (auto *E : C->mapperlists())
 7057   for (auto *D : C->all_decls())
 7059   for (auto N : C->all_num_lists())
 7061   for (auto N : C->all_lists_sizes())
 7063   for (auto &M : C->all_components()) {
 7075   for (auto *E : C->varlists())
 7077   for (auto *VE : C->private_copies())
 7079   for (auto *VE : C->inits())
 7081   for (auto *D : C->all_decls())
 7083   for (auto N : C->all_num_lists())
 7085   for (auto N : C->all_lists_sizes())
 7087   for (auto &M : C->all_components()) {
 7099   for (auto *E : C->varlists())
 7101   for (auto *D : C->all_decls())
 7103   for (auto N : C->all_num_lists())
 7105   for (auto N : C->all_lists_sizes())
 7107   for (auto &M : C->all_components()) {
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  743     for (const auto *P : D->protocols())
  745     for (const auto &PL : D->protocol_locs())
  798     for (const auto *I : D->protocols())
  800     for (const auto &PL : D->protocol_locs())
  820   for (const auto *I : D->protocols())
  822   for (const auto &PL : D->protocol_locs())
 1333     for (const CXXMethodDecl *MD : D->overridden_methods())
 1782   for (auto *I : D->varlists())
 1791   for (auto *I : D->varlists())
 1794   for (OMPClause *C : D->clauselists())
 1803   for (OMPClause *C : D->clauselists())
 1830   for (OMPClause *C : D->clauselists())
tools/clang/lib/Serialization/ASTWriterStmt.cpp
   83   for (auto *CS : S->body())
  309   for (auto *E : S->labels()) Record.AddStmt(E);
  350   for (Stmt *S : CoroStmt->children())
  367   for (Stmt *S : E->children())
  386   for (Stmt *S : E->children())
  421   for (auto *I : S->capture_inits())
  428   for (const auto &I : S->captures()) {
tools/clang/lib/Serialization/ModuleManager.cpp
  345     for (ModuleFile &M : llvm::reverse(*this)) {
tools/clang/lib/Serialization/MultiOnDiskHashTable.h
  121     for (auto *T : tables())
  152     for (auto *ODT : tables()) {
  248     for (auto *ODT : tables()) {
  273     for (auto *ODT : tables()) {
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 2242   for (auto I : CE->arguments()) {
 2279   for (const auto *I : DS->decls()) {
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
  273   for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
  211       for (const auto *I : RD->fields()) {
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
  206   for (const auto *I : D->property_impls()) {
  223   for (const auto *I : D->instance_methods()) {
  279   for (auto *PropImpl : getContainingObjCImpl(LCtx)->property_impls()) {
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
   95   for (auto *M : ID->instance_methods()) {
  103     for (const auto *M : C->instance_methods()) {
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  122   for (Stmt *Child : S->children())
  186   for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
   39   for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  377       for (const auto *DI : DS->decls()) {
  488     for (const LambdaCapture &C : LE->captures()) {
tools/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
   79       for (const Stmt *Child : S->children())
  125   for (const auto *PD : InterD->instance_properties()) {
  140   for (const auto *M : D->instance_methods()) {
  156   for (const auto *Ann : D->specific_attrs<AnnotateAttr>())
  211   for (const auto *Ann : M->specific_attrs<AnnotateAttr>())
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  706   for (const auto *Format : FDecl->specific_attrs<FormatAttr>()) {
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
 1663   for (const auto *Method : CRD->methods()) {
 1871   for (const auto *Method : CRD->methods()) {
 1887   for (const auto *Method : CRD->methods()) {
 1902   for (const auto *Method : CRD->methods()) {
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
  166       for (const auto *Child : S->children()) {
  227   for (const auto *Ann : M->specific_attrs<AnnotateAttr>()) {
  248   for (const auto *MDI : D->methods())
  257     for (const auto *I : InterfD->protocols())
  262     for (const auto *Ext : InterfD->visible_extensions())
  271     for (const auto *I : ProtD->protocols()) {
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
  125     for (Stmt *Child : S->children())
  145   for (auto *I : S->decls())
  201   for (const auto &BS : R->bases()) {
  235   for (auto *I : R->fields()) {
  251     for (auto *I : RD->fields())
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
  835     for (const auto *P : OD->all_referenced_protocols()) {
 1059       for (const Stmt *Child : S->children()) {
 1076   for (const ObjCMethodDecl *M : D->methods()) {
 1286         for (const Expr *Arg : CE->arguments()) {
tools/clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
  174     for (const auto *OMD: MD->overridden_methods())
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  931     for (const auto *I : FD->specific_attrs<OwnershipAttr>()) {
 1214       for (const auto *I : FD->specific_attrs<OwnershipAttr>()) {
 1590   for (const auto &Arg : Att->args()) {
 2827   for (const Expr *Arg : CE->arguments())
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
   67     for (const Stmt *Child : S->children())
  102     for (const auto *I : S->decls())
tools/clang/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp
   53   for (const auto *NonNull : FD->specific_attrs<NonNullAttr>()) {
   58     for (const ParamIdx &Idx : NonNull->args()) {
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  395   for (const auto *IvarDecl : ID->ivars()) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
  154   for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
  181   for (auto *MD : D->instance_methods()) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
   59   for (const Stmt *SubStmt : S->children())
   79   for (const auto *I : D->instance_methods())
   85     for (const auto *I : ID->property_impls())
   89     for (const auto *Cat : ID->getClassInterface()->visible_categories()) {
   98   for (const auto *I : C->decls())
  114   for (const auto *Ivar : ID->ivars()) {
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
  195     for (const FieldDecl *FD : RD->fields()) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
  233   for (const Stmt *Child : Ex->children()) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  596   for (const Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp
   66   for (const Stmt *C : Parent->children()) {
tools/clang/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp
   40       for (const Stmt *SubStmt : Ex->children())
tools/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
   42   for (const Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
   95         for (auto I : CD->inits()) {
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
  298   for (const FieldDecl *I : RD->fields()) {
  356   for (const CXXBaseSpecifier &BaseSpec : CXXRD->bases()) {
  505   for (const FieldDecl *FD : RD->fields()) {
  560   for (const CXXMethodDecl *M : Parent->methods()) {
tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp
  199   for (const auto &I : llvm::reverse(PathRange))
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 2541     for (const ExplodedNode *Succ : Node->succs())
 2711     for (std::unique_ptr<BugReporterVisitor> &Visitor : R->visitors())
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  508     for (const auto II : RDX->bases())
  514   for (const FieldDecl *I : RD->fields()) {
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  111     for (const auto *I : RD->fields()) {
 1163     for (auto I : MD->redecls())
 1299                   for (auto *CatDecl : ID->visible_extensions()) {
tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp
   29   for (const Stmt *Child : S->children())
   43   for (const Stmt *Child : S->children())
   59   for (const Stmt *Child : S->children())
   71   for (const Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 1481           for (auto Child : Ex->children()) {
 2976   for (const Expr *O : A->outputs()) {
 3011     for (const auto &EQ : EQClasses) {
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  817   for (CFGElement CE : llvm::reverse(*SrcBlock)) {
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  314     for (auto I : llvm::make_range(FileIDs.begin() + 1, FileIDs.end())) {
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
  177       for (const Decl *D : DS->decls()) {
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
 1065   for (const auto &I : Class->bases()) {
 1286   for (const auto &I : Child->bases()) {
 1507       std::distance(ReferencedBlockVars.begin(), ReferencedBlockVars.end());
 1525   for (const auto *VD : ReferencedBlockVars) {
tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp
  641   for (const MemRegion *R : Reachable) {
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 2341   for (const auto *FD : RD->fields()) {
 2435     for (const auto &B : CRD->bases()) {
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
  810   for (const auto *I : RD->fields()) {
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  207     if (CheckerForCmdLineArg.begin() == CheckerForCmdLineArg.end()) {
  212     for (CheckerInfo &checker : CheckerForCmdLineArg) {
tools/clang/lib/Tooling/CompilationDatabase.cpp
  176     for (const driver::Action *AI : A->inputs())
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  241     for (StringRef S : llvm::reverse(CmdLine)) {
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp
  424   for (const auto &Parent : llvm::reverse(Parents)) {
  442   for (const auto &Parent : llvm::reverse(Parents)) {
tools/clang/lib/Tooling/Refactoring/Rename/USRFinder.cpp
   84   for (auto *CurrDecl : Context.getTranslationUnitDecl()->decls()) {
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
  119     for (const auto *Specialization : TemplateDecl->specializations())
  136     for (const auto *CtorDecl : RecordDecl->ctors())
  146     for (const auto &OverriddenMethod : MethodDecl->overridden_methods())
  165     for (const auto &OverriddenMethod : MethodDecl->overridden_methods()) {
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  230     for (const auto *Initializer : CD->inits()) {
  324     for (const auto *UsingShadow : Using->shadows()) {
tools/clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
   73     for (const Decl *D : DC->decls())
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  494       for (StringRef Arg : drop_begin(ObjcopyArgs, 1))
tools/clang/tools/diagtool/TreeView.cpp
   40     for (const DiagnosticRecord &DR : Group.diagnostics()) {
   45     for (const GroupRecord &GR : Group.subgroups()) {
   64     for (const GroupRecord &GR : Group.subgroups()) {
   69       for (const DiagnosticRecord &DR : Group.diagnostics()) {
tools/clang/tools/driver/cc1as_main.cpp
  194   for (const Arg *A : Args.filtered(OPT_UNKNOWN)) {
  251     for (const Arg *A : Args.filtered(OPT_INPUT)) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  861       for (const auto *UsingShadow : Using->shadows()) {
tools/clang/tools/extra/clang-doc/Generators.cpp
   80   for (const auto &R : llvm::reverse(Info->Namespace)) {
tools/clang/tools/extra/clang-doc/Serialize.cpp
   91   for (comments::Comment *Child :
  276   for (const FieldDecl *F : D->fields()) {
  303   for (const EnumConstantDecl *E : D->enumerators())
  333   for (const CXXBaseSpecifier &B : D->bases()) {
  346   for (const CXXBaseSpecifier &B : D->vbases()) {
  441   for (const CXXBaseSpecifier &B : D->bases()) {
  460         for (const auto &Decl : Base->decls())
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
   62   for (const auto *Field : Definition->fields())
  129   for (const auto *Field : Definition->fields())
  133   for (const auto *Field : Definition->fields()) {
  142   for (const auto *Field : Definition->fields()) {
  177   for (const auto *Initializer : CtorDecl->inits()) {
  280       for (const auto *C : CXXRD->ctors())
tools/clang/tools/extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
   93     for (const auto *Arg : CallExpr->arguments()) {
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
  193     for (const auto *D : Ctx->decls()) {
tools/clang/tools/extra/clang-tidy/bugprone/BranchCloneCheck.cpp
  176     for (const Stmt *S : Body->body()) {
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp
   47   for (const auto *Init : Ctor->inits()) {
   67     for (const auto *Ctor : BaseClass->ctors()) {
tools/clang/tools/extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
  119   for (const auto *OtherCtor : Ctor->getParent()->ctors()) {
  135   for (const auto *OtherCtor : Ctor->getParent()->ctors()) {
tools/clang/tools/extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp
   58   for (const Stmt *Child : S->children()) {
  125   for (const Stmt *Child : Cond->children()) {
  143   for (const Stmt *Child : Cond->children()) {
tools/clang/tools/extra/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp
   32   for (const Stmt *Child : Parent->children()) {
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
   43   for (const auto &Base : ThisClass.bases()) {
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
  175     for (const auto &Succ : Block->succs()) {
tools/clang/tools/extra/clang-tidy/bugprone/VirtualNearMissCheck.cpp
  204   for (const CXXMethodDecl *DerivedMD : DerivedRD->methods()) {
  239   for (const auto &BaseSpec : DerivedRD->bases()) {
  241       for (const auto *BaseMD : BaseRD->methods()) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
   37   for (const FieldDecl *F : Fields) {
  180   for (const CXXCtorInitializer *Init : Inits) {
  219   for (const auto &Base : ClassDecl.bases()) {
  414     for (const CXXCtorInitializer *Init : Ctor->inits()) {
  490   for (const CXXBaseSpecifier &Base : ClassDecl.bases()) {
  508     for (const CXXCtorInitializer *Init : Ctor->inits()) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp
   78   for (const auto &Method : DerivedDecl.methods()) {
   90   for (const auto &Base : DerivedDecl.bases()) {
tools/clang/tools/extra/clang-tidy/fuchsia/MultipleInheritanceCheck.cpp
   72   for (const auto &I : Node->bases()) {
  105     for (const auto &I : D->bases()) {
  115     for (const auto &V : D->vbases()) {
tools/clang/tools/extra/clang-tidy/fuchsia/VirtualInheritanceCheck.cpp
   23   for (const CXXBaseSpecifier &Base : Node.bases())
tools/clang/tools/extra/clang-tidy/google/AvoidNSObjectNewCheck.cpp
   42     for (const auto *MethodDecl : ClassDecl->instance_methods()) {
tools/clang/tools/extra/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.cpp
   46     for (const auto *UsingDirective : Context->using_directives()) {
tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.cpp
  105     for (const auto *BMD : RD->methods())
  116   for (const auto &BS : RD->bases()) {
tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp
  160   for (const FunctionDecl *FD : Function->redecls())
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
   96     for (const auto *UsingShadow : Using->shadows()) {
  149     for (const NamedDecl *ND : ULE->decls()) {
tools/clang/tools/extra/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp
   31   if (std::distance(Decls.begin(), Decls.end()) != 1)
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
   53   for (const auto *decl : Decls->decls()) {
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
  294     for (const auto *Arg : CE->arguments()) {
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.cpp
   41   for (const CXXConstructorDecl *Ctor : Node.ctors()) {
  115   for (const FunctionDecl *Redecl : Ctor->redecls())
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp
  336   for (const auto *Dec : D->decls()) {
  397   for (const auto *Dec : D->decls()) {
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
   26   for (const auto *Field : Record->fields()) {
   39   for (auto Base : Record->bases()) {
  283       for (const auto *Init : Ctor->inits()) {
tools/clang/tools/extra/clang-tidy/objc/MissingHashCheck.cpp
   30   for (const auto *I : Node.instance_methods()) {
tools/clang/tools/extra/clang-tidy/performance/MoveConstArgCheck.cpp
   86       for (const auto *Ctor : R->ctors()) {
tools/clang/tools/extra/clang-tidy/performance/MoveConstructorInitCheck.cpp
   67   for (const auto *Ctor : CopyCtor->getParent()->ctors()) {
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  719     for (const auto *Init : Decl->inits()) {
  795     for (const auto &Shadow : Decl->shadows()) {
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
  146   for (const FunctionDecl *OtherDeclaration : OriginalDeclaration->redecls()) {
  186   for (const FunctionDecl *OtherDeclaration : OriginalDeclaration->redecls()) {
  352   for (const FunctionDecl *Redecl : OriginalDeclaration->redecls()) {
tools/clang/tools/extra/clang-tidy/readability/IsolateDeclarationCheck.cpp
  179   for (const auto &Decl : DS->decls()) {
tools/clang/tools/extra/clang-tidy/readability/NonConstParameterCheck.cpp
   53     for (const auto *Init : Ctor->inits())
   65       for (const auto *Arg : CE->arguments()) {
   84       for (const auto *Arg : CE->arguments()) {
  146     for (FunctionDecl *FnDecl : Function->redecls())
  203     for (const auto *Arg : Constr->arguments()) {
tools/clang/tools/extra/clang-tidy/readability/RedundantDeclarationCheck.cpp
   66     for (const auto Other : VD->getDeclContext()->decls()) {
tools/clang/tools/extra/clang-tidy/utils/ExceptionAnalyzer.cpp
  199     for (const Stmt *Child : St->children()) {
tools/clang/tools/extra/clang-tidy/utils/ExprSequence.cpp
   68   for (const auto &SyntheticStmt : TheCFG->synthetic_stmts()) {
  122       for (const auto *Child : Compound->body()) {
  131       for (const Decl *TheDecl : TheDeclStmt->decls()) {
tools/clang/tools/extra/clang-tidy/utils/TypeTraits.cpp
   32   for (const auto *Constructor : Record->ctors()) {
   74   for (const FieldDecl *Field : ClassDecl->fields()) {
   81   for (const CXXBaseSpecifier &Base : ClassDecl->bases()) {
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  142   for (const auto &R : llvm::make_range(Ranges.begin() + 1, Ranges.end())) {
tools/clang/tools/extra/clangd/CodeComplete.cpp
  222       for (const Decl *RD : SemaResult->Declaration->redecls())
tools/clang/tools/extra/clangd/FileDistance.cpp
  140   for (llvm::hash_code Hash : llvm::reverse(Ancestors)) {
tools/clang/tools/extra/clangd/FindSymbols.cpp
  216     for (auto *C : Scope->decls())
tools/clang/tools/extra/clangd/FindTarget.cpp
  143       for (const UsingShadowDecl *S : UD->shadows())
  194         for (auto *D : OE->decls())
  201         for (const DesignatedInitExpr::Designator &D :
  492                                       E->decls().begin(), E->decls().end())});
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
  139         for (auto *D : Scope->decls())
tools/clang/tools/extra/clangd/ParsedAST.cpp
  262     for (const auto &E : tidy::ClangTidyModuleRegistry::entries())
tools/clang/tools/extra/clangd/Quality.cpp
   45   for (auto *Redecl : D.redecls()) {
  341     for (const auto& Word : ContextWords->keys())
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
   81   for (llvm::StringRef Line : llvm::make_range(StartIt, EndIt)) {
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  108   for (NamedDecl *Decl : Decls) {
tools/clang/tools/extra/clangd/URI.cpp
  211   for (auto &Entry : URISchemeRegistry::entries()) {
  245   for (auto &Entry : URISchemeRegistry::entries()) {
tools/clang/tools/extra/clangd/XRefs.cpp
 1187   for (auto Base : CXXRD->bases()) {
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp
  773          }) != SystemHeaderMap->keys().end());
tools/clang/tools/extra/clangd/index/FileIndex.cpp
   90       AST.getTranslationUnitDecl()->decls().end());
tools/clang/tools/extra/clangd/index/MemIndex.h
   25     for (const Symbol &S : Symbols)
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
  133   for (const auto &ParentURI : ParentURIs.keys()) {
tools/clang/tools/extra/clangd/index/dex/Dex.h
   48     for (auto &&Sym : Symbols)
tools/clang/tools/extra/clangd/refactor/Tweak.cpp
   37   for (const auto &E : TweakRegistry::entries()) {
   64   for (const auto &E : TweakRegistry::entries()) {
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
  461   for (llvm::StringRef AbsPath : MSS.AccessedPaths.keys()) {
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  393   std::set<std::string> ActualWords(Words.keys().begin(), Words.keys().end());
tools/clang/tools/libclang/CIndex.cpp
  248   return Visitor.visitPreprocessedEntities(Entities.begin(), Entities.end(),
  856       for (auto *I : Constructor->inits()) {
 1036   for (auto *SubDecl : D->decls()) {
 1805     for (const auto &I : D->bases()) {
 1815   for (const auto *I : D->attrs())
 2129   for (const Stmt *SubStmt : S->children()) {
 2277   for (const auto *I : Node->varlists()) {
 2288   for (const auto *E : C->private_copies()) {
 2296   for (const auto *E : C->private_copies()) {
 2299   for (const auto *E : C->inits()) {
 2307   for (auto *E : C->private_copies()) {
 2310   for (auto *E : C->source_exprs()) {
 2313   for (auto *E : C->destination_exprs()) {
 2316   for (auto *E : C->assignment_ops()) {
 2326   for (auto *E : C->privates()) {
 2329   for (auto *E : C->lhs_exprs()) {
 2332   for (auto *E : C->rhs_exprs()) {
 2335   for (auto *E : C->reduction_ops()) {
 2343   for (auto *E : C->privates()) {
 2346   for (auto *E : C->lhs_exprs()) {
 2349   for (auto *E : C->rhs_exprs()) {
 2352   for (auto *E : C->reduction_ops()) {
 2360   for (auto *E : C->privates()) {
 2363   for (auto *E : C->lhs_exprs()) {
 2366   for (auto *E : C->rhs_exprs()) {
 2369   for (auto *E : C->reduction_ops()) {
 2372   for (auto *E : C->taskgroup_descriptors())
 2378   for (const auto *E : C->privates()) {
 2381   for (const auto *E : C->inits()) {
 2384   for (const auto *E : C->updates()) {
 2387   for (const auto *E : C->finals()) {
 2399   for (auto *E : C->source_exprs()) {
 2402   for (auto *E : C->destination_exprs()) {
 2405   for (auto *E : C->assignment_ops()) {
 2412   for (auto *E : C->source_exprs()) {
 2415   for (auto *E : C->destination_exprs()) {
 2418   for (auto *E : C->assignment_ops()) {
 2474   for (auto &I : llvm::reverse(S->body()))
 2577   for (const auto *D : S->decls()) {
 2590   for (const DesignatedInitExpr::Designator &D :
 3175         for (auto InitExpr : E->capture_inits()) {
 3959   for (auto *bodyIterator : CS->body()) {
 7838   for (auto A : D->attrs()) {
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  285   for (const auto *A : D->attrs()) {
  341   for (const auto &Base : D->bases()) {
tools/clang/tools/libclang/CXType.cpp
  964   for (const auto *I : RD->fields()){
tools/clang/tools/libclang/Indexing.cpp
  649   for (PreprocessedEntity *PPE : Unit.getLocalPreprocessingEntities()) {
tools/clang/unittests/AST/ASTImporterTest.cpp
  302     for (Decl *D : getToContext().getTranslationUnitDecl()->decls()) {
  398   for (Decl *Di : path.getCycleAtBack()) {
  415   for (Decl *Di : path.getCycleAtBack()) {
  436   for (Decl *Di : path.getCycleAtBack()) {
  450   for (Decl *Di : path.getCycleAtBack()) {
 1322     for (auto Child : TU->decls()) {
 1348     for (auto Child : TU->decls()) {
 1376     for (auto Child : TU->decls()) {
 1424   for (Decl *D : Node.decls()) {
 2859   for (auto Fr : FromFriends) {
 2872   for (auto Fr : ToFriends) {
 3281   for (auto *FromField : FromLambda->fields()) {
 4284   for (Decl *D : DC->decls()) {
 5268   unsigned ToLSize = std::distance(ToL->decls().begin(), ToL->decls().end());
 5270       std::distance(FromL->decls().begin(), FromL->decls().end());
 5287   unsigned ToLSize = std::distance(ToL->decls().begin(), ToL->decls().end());
 5289       std::distance(FromL->decls().begin(), FromL->decls().end());
tools/clang/unittests/Analysis/CFGTest.cpp
  107   for (CFGBlock::CFGElementRef ElementRef : MainBlock->refs()) {
  131   for (CFGBlock::ConstCFGElementRef ElementRef : CMainBlock->refs()) {
  154   for (CFGBlock::CFGElementRef ElementRef : MainBlock->rrefs()) {
  178   for (CFGBlock::ConstCFGElementRef ElementRef : CMainBlock->rrefs()) {
tools/clang/unittests/CodeGen/CodeGenExternalTest.cpp
  210         for (auto field : rd->fields()) {
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
   33       for (const Decl *D : TU->decls()) {
tools/clang/unittests/Index/IndexTests.cpp
  133             Ctx.getTranslationUnitDecl()->decls().end());
tools/clang/unittests/Tooling/ToolingTest.cpp
  516   for (const auto &Target : llvm::TargetRegistry::targets()) {
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 1310     for (const auto &Base : llvm::reverse(Bases)) {
 1457       for (const auto &arg : llvm::reverse(Args)) {
 1582   for (const auto &Spelling :
 2257     for (const auto &Super : llvm::reverse(Supers)) {
tools/dsymutil/BinaryHolder.cpp
  169     for (auto Child : Archive->children(Err)) {
tools/dsymutil/DebugMap.cpp
   63   for (const auto &Sym : make_range(Symbols.begin(), Symbols.end()))
  255       for (const auto &Sym : Object->symbols()) {
tools/dsymutil/DwarfLinker.cpp
  334     for (auto Child : DIE.children())
  391   for (const auto &Entry : Context.DMO.symbols()) {
  448   for (const object::RelocationRef &Reloc : Section.relocations()) {
  539   for (const object::SectionRef &Section : Obj.sections()) {
  797   for (const auto &AttrSpec : Abbrev->attributes()) {
  973     for (auto Child : reverse(Current.Die.children())) {
 1588   for (const auto &AttrSpec : Abbrev->attributes()) {
 1658   for (auto Child : InputDIE.children()) {
 1683   for (auto Child : InputDIE.children()) {
 1796   for (auto &V : Die.values())
 2094   for (const auto &Attr : Abbrev.attributes()) {
 2296   for (const auto &CU : DwarfContext->compile_units()) {
 2487   for (auto &Child : CUDie->children()) {
 2557   for (const auto &Obj : Map.objects()) {
 2660     for (const auto &CU : LinkContext.DwarfContext->compile_units()) {
 2703     for (const auto &CU : LinkContext.DwarfContext->compile_units()) {
tools/dsymutil/DwarfStreamer.cpp
   32   for (const object::SectionRef &Section : Obj.sections()) {
tools/dsymutil/MachODebugMapParser.cpp
  194   for (const SymbolRef &Symbol : MainBinary.symbols()) {
  322   for (const SymbolRef &Symbol : MainBinary.symbols()) {
  479   for (auto Sym : Obj.symbols()) {
  534   for (const auto &Sym : MainBinary.symbols()) {
tools/dsymutil/MachOUtils.cpp
  141   for (const auto &LCI : Obj.load_commands()) {
  200     for (const object::SymbolRef &Symbol : Obj.symbols()) {
  207     for (const object::SymbolRef &Symbol : Obj.symbols()) {
  378   for (auto &LCI : InputBinary.load_commands()) {
  492   for (auto &LCI : InputBinary.load_commands()) {
tools/dsymutil/dsymutil.cpp
  108   for (auto *File : Args.filtered(OPT_INPUT))
  243   for (auto *Arch : Args.filtered(OPT_arch))
  448   for (auto *Arg : Args.filtered(OPT_UNKNOWN)) {
tools/lld/COFF/Driver.cpp
 1052   for (auto *arg : args.filtered(OPT_wholearchive_file))
 1114   for (auto *arg : args.filtered(OPT_mllvm))
 1175   for (auto *arg : args.filtered(OPT_libpath))
 1181   for (auto *arg : args.filtered(OPT_ignore)) {
 1293   for (auto *arg : args.filtered(OPT_nodefaultlib))
 1351   for (auto *arg : args.filtered(OPT_alternatename))
 1355   for (auto *arg : args.filtered(OPT_incl))
 1367   for (auto *arg : args.filtered(OPT_opt)) {
 1433   for (auto *arg : args.filtered(OPT_failifmismatch))
 1437   for (auto *arg : args.filtered(OPT_merge))
 1455   for (auto *arg : args.filtered(OPT_section))
 1466   for (auto *arg : args.filtered(OPT_aligncomm))
 1493   for (auto *arg : args.filtered(OPT_manifestinput))
 1522   for (auto *arg : args.filtered(OPT_swaprun))
 1558   for (auto *arg : args.filtered(OPT_wholearchive_file))
 1607   for (auto *arg : args.filtered(OPT_defaultlib))
 1635   for (auto *arg : args.filtered(OPT_functionpadmin, OPT_functionpadmin_opt))
 1658   for (auto *arg : args.filtered(OPT_export)) {
 1711   for (auto *arg : args.filtered(OPT_delayload)) {
 1829     for (auto *arg : args.filtered(OPT_include_optional))
tools/lld/COFF/DriverUtils.cpp
  846   for (auto *arg : args.filtered(OPT_UNKNOWN)) {
  883   for (auto *arg : args.filtered(OPT_UNKNOWN))
tools/lld/COFF/ICF.cpp
  132     for (const SectionChunk &c : sc->children())
  274       for (Symbol *b : sc->symbols())
tools/lld/COFF/InputFiles.cpp
  105   for (const Archive::Symbol &sym : file->symbols())
  125   for (const ErrorOr<Archive::Child> &cOrErr : file->children(err)) {
tools/lld/COFF/MarkLive.cpp
   62     for (Symbol *b : sc->symbols())
   67     for (SectionChunk &c : sc->children())
tools/lld/COFF/MinGW.cpp
  123   for (StringRef prefix : excludeSymbolPrefixes.keys())
  126   for (StringRef suffix : excludeSymbolSuffixes.keys())
tools/lld/Common/Args.cpp
   46   for (auto *arg : args.filtered(id))
   53   for (auto *arg : args.filtered_reverse(id)) {
tools/lld/Common/DWARF.cpp
   18   for (std::unique_ptr<DWARFUnit> &cu : dwarf->compile_units()) {
   35     for (const auto &entry : cu->dies()) {
tools/lld/ELF/Driver.cpp
  165   for (const ErrorOr<Archive::Child> &cOrErr : file->children(err)) {
  367   for (auto *arg : args.filtered(OPT_z))
  375   for (auto *arg : args.filtered_reverse(OPT_z)) {
  385   for (auto *arg : args.filtered_reverse(OPT_z)) {
  415   for (auto *arg : args.filtered(OPT_z))
  523   for (auto *arg : llvm::reverse(args)) {
  628   for (auto *arg : args.filtered(OPT_section_start)) {
  978   for (auto *arg : args.filtered(OPT_plugin_opt))
  982   for (auto *arg : args.filtered(OPT_mllvm))
 1064     for (auto *arg : args.filtered(OPT_dynamic_list))
 1068     for (auto *arg : args.filtered(OPT_export_dynamic_symbol))
 1077   for (auto *arg : args.filtered(OPT_export_dynamic_symbol))
 1080   for (auto *arg : args.filtered(OPT_version_script))
 1324   for (auto *arg : args.filtered(OPT_exclude_libs)) {
 1462   for (auto *arg : args.filtered(OPT_keep_unique)) {
 1610   for (auto *arg : args.filtered(OPT_wrap)) {
 1731   for (auto *arg : args.filtered(OPT_trace_symbol))
tools/lld/ELF/DriverUtils.cpp
  135   for (auto *arg : args.filtered(OPT_UNKNOWN)) {
tools/lld/ELF/InputFiles.cpp
 1076   for (const Archive::Symbol &sym : file->symbols())
tools/lld/ELF/SymbolTable.cpp
  243   for (VersionDefinition &v : llvm::reverse(config->versionDefinitions))
tools/lld/ELF/SyntheticSections.cpp
 2045   for (const SymbolTableEntry &s : llvm::make_range(symbols.begin(), e))
 2386   for (SymbolTableEntry &ent : llvm::make_range(mid, v.end())) {
 2554   for (std::unique_ptr<DWARFUnit> &cu : dwarf.compile_units())
 2564   for (std::unique_ptr<DWARFUnit> &cu : dwarf.compile_units()) {
tools/lld/ELF/Writer.cpp
 1623   for (InputSectionBase *s : llvm::reverse(inputSections)) {
tools/lld/MinGW/Driver.cpp
  107   for (auto *arg : args.filtered(OPT_UNKNOWN))
  319   for (auto *a : args.filtered(OPT_mllvm))
  322   for (auto *a : args.filtered(OPT_Xlink))
  330   for (auto *a : args.filtered(OPT_require_defined))
  332   for (auto *a : args.filtered(OPT_undefined))
  334   for (auto *a : args.filtered(OPT_delayload))
  338   for (auto *a : args.filtered(OPT_L)) {
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())
  329     for (auto &p : llvm::make_range(_reverseRef.equal_range(defAtom))) {
tools/lld/lib/Driver/DarwinLdDriver.cpp
  331   for (auto unknownArg : parsedArgs.filtered(OPT_UNKNOWN)) {
  375     for (auto &inFile : parsedArgs.filtered(OPT_INPUT)) {
  521   for (auto &alignArg : parsedArgs.filtered(OPT_sectalign)) {
  547   for (auto &llvmArg : parsedArgs.filtered(OPT_mllvm)) {
  587     for (auto existingPath : parsedArgs.filtered(OPT_path_exists)) {
  610   for (auto syslibRoot : parsedArgs.filtered(OPT_syslibroot)) {
  621   for (auto libPath : parsedArgs.filtered(OPT_L)) {
  626   for (auto fwPath : parsedArgs.filtered(OPT_F)) {
  652   for (auto expFile : parsedArgs.filtered(OPT_exported_symbols_list)) {
  667   for (auto symbol : parsedArgs.filtered(OPT_exported_symbol)) {
  678   for (auto expFile : parsedArgs.filtered(OPT_unexported_symbols_list)) {
  693   for (auto symbol : parsedArgs.filtered(OPT_unexported_symbol)) {
  969   for (auto orderFile : parsedArgs.filtered(OPT_order_file)) {
 1044     for (auto rPath : parsedArgs.filtered(OPT_rpath)) {
tools/lld/lib/ReaderWriter/FileArchive.cpp
  172     for (const Archive::Symbol &sym : _archive->symbols()) {
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp
  425   for (OwningAtomPtr<DefinedAtom> &atom : atomRange.owning_ptrs()) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  514       for (const ExportEntry &trieExport : MachOObjectFile::exports(Err, trie)) {
tools/lld/wasm/Driver.cpp
  170   for (auto *arg : args.filtered(OPT_UNKNOWN))
  197   for (const ErrorOr<Archive::Child> &cOrErr : file->children(err)) {
  594   for (auto *arg : args.filtered(OPT_wrap)) {
  680   for (auto *arg : args.filtered(OPT_mllvm))
  699   for (auto *arg : args.filtered(OPT_trace_symbol))
  702   for (auto *arg : args.filtered(OPT_export))
  719   for (auto *arg : args.filtered(OPT_undefined))
  724   for (auto *arg : args.filtered(OPT_export))
  761   for (auto *arg : args.filtered(OPT_export)) {
tools/lld/wasm/InputFiles.cpp
  287   for (const SectionRef &sec : wasmObj->sections()) {
  349   for (const SymbolRef &sym : wasmObj->symbols()) {
  476   for (const Archive::Symbol &sym : file->symbols()) {
tools/lld/wasm/Writer.cpp
  420     allowed.insert(used.keys().begin(), used.keys().end());
  451     for (auto &feature : used.keys()) {
  471     for (auto &feature : required.keys()) {
tools/lldb/include/lldb/Core/UniqueCStringMap.h
  123     for (const Entry &entry : llvm::make_range(std::equal_range(
tools/lldb/include/lldb/DataFormatters/FormattersContainer.h
  289     for (const auto &pos : llvm::reverse(m_format_map.map())) {
tools/lldb/source/Breakpoint/BreakpointResolver.cpp
  283     for (auto &sc : llvm::make_range(worklist_begin, worklist_end))
tools/lldb/source/Expression/IRExecutionUnit.cpp
  984       for (llvm::Use &ctor_use : ctor_array->operands()) {
tools/lldb/source/Interpreter/OptionValueLanguage.cpp
   53       for (int bit : languages_for_types.bitvector.set_bits()) {
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp
  816         for (const auto &attr : attrs) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
   88     for (clang::EnumConstantDecl *enumerator_decl : enum_decl->enumerators()) {
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1364   for (llvm::User *u : global_variable->users()) {
 1436   for (GlobalVariable &global_var : m_module->globals()) {
 1545   for (llvm::User *u : old_constant->users())
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
   75   for (const auto &param : call_inst->operand_values())
  254     for (auto &arg : func->args()) {
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  971   for (const auto &entry : COFFObj->import_directories()) {
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
  441   for (const MemoryInfo &entry : *ExpectedInfo) {
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  345   for (llvm::StringRef line : lines(Record::Func)) {
  350   for (llvm::StringRef line : lines(Record::Public)) {
  575     for (const auto &rule : llvm::make_range(program.begin(), it)) {
  645   for (llvm::StringRef line : lines(Record::File)) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
  403   for (DWARFDIE d : elaborating_dies(*this))
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
   90   for (const DebugNames::Entry &entry :
  152   for (const DebugNames::Entry &entry :
  189   for (const DebugNames::Entry &entry :
  200   for (const DebugNames::Entry &entry :
  210   for (const DebugNames::Entry &entry :
  225   for (const DebugNames::Entry &entry :
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
  117   for (const DWARFDebugInfoEntry &die : unit.dies()) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp
  163   for (llvm::StringRef file : modules.source_files(modi)) {
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
  982     for (const auto &match : llvm::reverse(matches)) {
tools/lldb/source/Symbol/ClangASTContext.cpp
  205     for (auto *overridden_decl : paths.found_decls())
 8308     for (auto *method : record->methods())
 9404   for (auto enumerator : enum_decl->enumerators()) {
 9436   for (auto enumerator : enum_decl->enumerators())
 9993         for (clang::Decl *child : it->second->decls()) {
10006             for (clang::UsingShadowDecl *usd : ud->shadows()) {
10108         for (clang::Decl *child : it->second->decls()) {
10121               for (clang::UsingShadowDecl *usd : ud->shadows()) {
tools/lldb/source/Symbol/ClangASTImporter.cpp
  202       for (clang::Decl *decl : context->decls()) {
  238         for (clang::Decl *child_decl : decl_context->decls()) {
  722     for (Decl *origin_child_decl : origin_tag_decl->decls()) {
  753       for (Decl *origin_child_decl : origin_interface_decl->decls()) {
tools/lldb/source/Target/StackFrameList.cpp
  386   for (Function *callee : llvm::reverse(path)) {
tools/lldb/source/Target/Target.cpp
 2154   for (auto bit : languages_for_expressions.bitvector.set_bits()) {
tools/lldb/tools/driver/Driver.cpp
  314   for (auto *arg : args.filtered(OPT_source_on_crash, OPT_one_line_on_crash,
  831   for (auto *arg : input_args.filtered(OPT_UNKNOWN)) {
tools/lldb/tools/lldb-instr/Instrument.cpp
  176     for (auto &C : Body->children()) {
tools/llvm-ar/llvm-ar.cpp
  591     for (auto &C : OldArchive->children(Err)) {
  665       for (auto &Child : Lib.children(Err))
  703       for (auto &Child : Lib.children(Err))
  781     for (auto &Child : OldArchive->children(Err)) {
 1033         for (auto &Member : Lib.children(Err))
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  434     for (auto &Unit : DWARF->compile_units()) {
  448   for (const object::SectionRef &Section : Object->sections()) {
  555   for (auto &Sym : Object->symbols()) {
tools/llvm-cov/CodeCoverage.cpp
  457   for (const auto &Function : Coverage.getCoveredFunctions()) {
  509   for (const auto &Function : Coverage.getCoveredFunctions())
  904       for (const auto &Function : Coverage->getCoveredFunctions(SourceFile))
tools/llvm-cov/CoverageExporterJson.cpp
  182   for (const auto &F : Functions)
tools/llvm-cov/CoverageExporterLcov.cpp
   54   for (const auto &F : Functions) {
   58   for (const auto &F : Functions)
tools/llvm-cov/CoverageReport.cpp
  292     for (const auto &F : Functions)
  308     for (const auto &F : Functions) {
tools/llvm-cov/CoverageSummaryInfo.cpp
   35   for (const auto &LCS : getLineCoverageStats(CD)) {
tools/llvm-cov/TestingSupport.cpp
   52   for (const auto &Section : OF->sections()) {
tools/llvm-cxxdump/llvm-cxxdump.cpp
   88     for (const object::RelocationRef &Reloc : SR.relocations()) {
  112     for (const object::RelocationRef &Reloc : SR.relocations()) {
  176   for (const SectionRef &Section : Obj->sections()) {
  501   for (auto &ArcC : Arc->children(Err)) {
tools/llvm-diff/DifferenceEngine.cpp
  337       for (auto Case : LI->cases())
  340       for (auto Case : RI->cases()) {
tools/llvm-dwarfdump/Statistics.cpp
  496   for (const auto &CU : static_cast<DWARFContext *>(&DICtx)->compile_units())
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  291     for (auto Pattern : Names.keys()) {
  315   for (const auto &CU : CUs)
  316     for (const auto &Entry : CU->dies()) {
  328   for (const auto &Entry : Accel.equal_range(Name)) {
  359   for (const auto &Entry : Accel.equal_range(Name)) {
  472   for (auto Child : Arch.children(Err)) {
  498     for (auto &ObjForArch : Fat->objects()) {
tools/llvm-dwp/llvm-dwp.cpp
  486   for (const auto &CU : DWARFCtx->compile_units()) {
  553     for (const auto &Section : Obj.sections())
tools/llvm-exegesis/lib/Clustering.cpp
  206   for (ArrayRef<size_t> PointsOfOpcode :
tools/llvm-exegesis/lib/MCInstrDescView.cpp
  334     for (const MCPhysReg Reg : CommonRegisters.set_bits()) {
tools/llvm-exegesis/lib/RegisterAliasing.cpp
   17   for (const size_t PhysReg : SourceBits.set_bits()) {
   51   for (const size_t PhysReg : SourceBits.set_bits()) {
tools/llvm-exegesis/lib/RegisterAliasing.h
  109   for (auto I : B.set_bits())
tools/llvm-exegesis/lib/SnippetRepetitor.cpp
   79       for (const auto &LiveIn : Entry.MBB->liveins())
tools/llvm-exegesis/lib/Target.cpp
  103     for (auto I : ForbiddenRegs.set_bits())
tools/llvm-exegesis/lib/X86/Target.cpp
  211   for (const unsigned BaseReg : PossibleBaseRegs.set_bits()) {
  212     for (const unsigned IndexReg : PossibleIndexRegs.set_bits()) {
  328                      PossibleDestRegsNow.set_bits().end() &&
tools/llvm-extract/llvm-extract.cpp
  207     for (auto &GV : M->globals()) {
tools/llvm-jitlink/llvm-jitlink-macho.cpp
   30   auto EItr = std::find_if(B.edges().begin(), B.edges().end(),
   32   if (EItr == B.edges().end())
   90   for (auto &Sec : G.sections()) {
  115     for (auto *Sym : Sec.symbols()) {
tools/llvm-jitlink/llvm-jitlink.cpp
  157   for (auto *B : G.blocks())
  168   for (auto &S : G.sections())
  192     std::vector<Symbol *> Syms(S->symbols().begin(), S->symbols().end());
tools/llvm-lipo/llvm-lipo.cpp
  113   for (const auto &LC : O.load_commands()) {
  178     for (const Archive::Child &Child : A->children(Err)) {
  301   for (auto Arg : InputArgs.filtered(LIPO_UNKNOWN))
  304   for (auto Arg : InputArgs.filtered(LIPO_INPUT))
  306   for (auto Arg : InputArgs.filtered(LIPO_arch)) {
  320   for (auto Segalign : InputArgs.filtered(LIPO_segalign)) {
  360                                             ReplacementArgsRange.end()))) {
  494     for (const auto &O : UO->objects()) {
  601   for (auto &Slice : Slices) {
  615   for (StringRef Arch : Alignments.keys())
  632       for (const auto &O : UO->objects()) {
tools/llvm-lto2/llvm-lto2.cpp
  354   for (StringRef F : make_range(argv + 1, argv + argc)) {
tools/llvm-mt/llvm-mt.cpp
   96   for (auto *Arg : InputArgs.filtered(OPT_INPUT)) {
tools/llvm-nm/llvm-nm.cpp
 1156   for (auto &S : Obj->sections()) {
 1210     for (BasicSymbolRef Sym : Symbols) {
 1286     for (const auto &Command : MachO->load_commands()) {
 1305       for (const llvm::object::ExportEntry &Entry : MachO->exports(Err)) {
 1362             for (const SectionRef &Section : MachO->sections()) {
 1466       for (const llvm::object::MachOBindEntry &Entry : MachO->bindTable(BErr)) {
 1520       for (const llvm::object::MachOBindEntry &Entry :
 1581       for (const llvm::object::MachOBindEntry &Entry :
 1650       for (const auto &Command : MachO->load_commands()) {
 1688           for (const SectionRef &Section : MachO->sections()) {
 1818       for (auto &C : A->children(Err)) {
 1889               for (auto &C : A->children(Err)) {
 1960             for (auto &C : A->children(Err)) {
 1996     for (const MachOUniversalBinary::ObjectForArch &O : UB->objects()) {
 2025         for (auto &C : A->children(Err)) {
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  125     for (Section &Sec : Obj.getMutableSections())
tools/llvm-objcopy/COFF/Reader.cpp
  163   for (Symbol &Sym : Obj.getMutableSymbols()) {
  177   for (Section &Sec : Obj.getMutableSections()) {
tools/llvm-objcopy/COFF/Writer.cpp
   27   for (Section &Sec : Obj.getMutableSections()) {
   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()) {
tools/llvm-objcopy/CopyConfig.cpp
  396   for (auto Arg : InputArgs.filtered(OBJCOPY_UNKNOWN))
  400   for (auto Arg : InputArgs.filtered(OBJCOPY_INPUT))
  522   for (auto Arg : InputArgs.filtered(OBJCOPY_redefine_symbol)) {
  533   for (auto Arg : InputArgs.filtered(OBJCOPY_redefine_symbols))
  538   for (auto Arg : InputArgs.filtered(OBJCOPY_rename_section)) {
  548   for (auto Arg : InputArgs.filtered(OBJCOPY_set_section_alignment)) {
  555   for (auto Arg : InputArgs.filtered(OBJCOPY_set_section_flags)) {
  584   for (auto Arg : InputArgs.filtered(OBJCOPY_remove_section))
  588   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_section))
  592   for (auto Arg : InputArgs.filtered(OBJCOPY_only_section))
  596   for (auto Arg : InputArgs.filtered(OBJCOPY_add_section)) {
  607   for (auto Arg : InputArgs.filtered(OBJCOPY_dump_section))
  632   for (auto Arg : InputArgs.filtered(OBJCOPY_localize_symbol))
  636   for (auto Arg : InputArgs.filtered(OBJCOPY_localize_symbols))
  641   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_global_symbol))
  645   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_global_symbols))
  650   for (auto Arg : InputArgs.filtered(OBJCOPY_globalize_symbol))
  654   for (auto Arg : InputArgs.filtered(OBJCOPY_globalize_symbols))
  659   for (auto Arg : InputArgs.filtered(OBJCOPY_weaken_symbol))
  663   for (auto Arg : InputArgs.filtered(OBJCOPY_weaken_symbols))
  668   for (auto Arg : InputArgs.filtered(OBJCOPY_strip_symbol))
  672   for (auto Arg : InputArgs.filtered(OBJCOPY_strip_symbols))
  677   for (auto Arg : InputArgs.filtered(OBJCOPY_strip_unneeded_symbol))
  682   for (auto Arg : InputArgs.filtered(OBJCOPY_strip_unneeded_symbols))
  687   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_symbol))
  691   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_symbols))
  696   for (auto Arg : InputArgs.filtered(OBJCOPY_add_symbol))
  783   for (auto Arg : InputArgs.filtered(STRIP_UNKNOWN))
  786   for (auto Arg : InputArgs.filtered(STRIP_INPUT))
  825   for (auto Arg : InputArgs.filtered(STRIP_keep_section))
  830   for (auto Arg : InputArgs.filtered(STRIP_remove_section))
  835   for (auto Arg : InputArgs.filtered(STRIP_strip_symbol))
  840   for (auto Arg : InputArgs.filtered(STRIP_keep_symbol))
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  178     for (const auto &Note : In.notes(Phdr, Err))
tools/llvm-objcopy/ELF/Object.cpp
 1239   for (Segment &Parent : Obj.segments()) {
 1318   for (Segment &Child : Obj.segments())
 1744   for (auto &Seg : Obj.segments())
 1787   for (Segment &Seg : Obj.segments()) {
 1833   for (auto &RemoveSec : make_range(Iter, std::end(Sections))) {
 1844   for (auto &KeepSec : make_range(std::begin(Sections), Iter)) {
 1932   for (auto &Sec : Sections) {
 1963   for (Segment &Segment : Obj.segments())
 2125   for (const SectionBase &Sec : Obj.allocSections())
 2136   for (const SectionBase &Sec : Obj.allocSections())
 2188   for (const SectionBase &Sec : Obj.allocSections())
tools/llvm-objcopy/MachO/MachOReader.cpp
  118   for (auto LoadCmd : MachOObj.load_commands()) {
  191   for (auto Symbol : MachOObj.symbols()) {
tools/llvm-objcopy/llvm-objcopy.cpp
  183   for (const Archive::Child &Child : Ar.children(Err)) {
tools/llvm-objdump/COFFDump.cpp
  355   for (const ImportDirectoryEntryRef &DirRef : Obj->import_directories()) {
  369     for (const ImportedSymbolRef &Entry : DirRef.imported_symbols()) {
  450   for (const SectionRef &Section : Obj->sections()) {
  456     for (const RelocationRef &Reloc : Section.relocations())
  640   for (const object::BasicSymbolRef &Sym : i->symbols()) {
tools/llvm-objdump/MachODump.cpp
  369   for (const SymbolRef &Symbol : MachOObj->symbols()) {
  375   for (const SectionRef &Section : MachOObj->sections())
  379   for (const auto &Command : MachOObj->load_commands()) {
  439     for (const SymbolRef &Symbol : O->symbols()) {
  735   for (const auto &Load : O->load_commands()) {
 1071   for (const auto &Load : O->load_commands()) {
 1217   for (const auto &Load : O->load_commands()) {
 1278   for (const SymbolRef &Symbol : O->symbols()) {
 1452   for (const SectionRef &Section : O->sections()) {
 1474   for (const RelocationRef &Reloc : Section.relocations()) {
 1624   for (const RelocationRef &Reloc : Section.relocations()) {
 1749     for (const SectionRef &Section : O->sections()) {
 1850   for (const SectionRef &Section : O->sections()) {
 1952     for (const SectionRef &Section : MachOOF->sections()) {
 2292   for (const auto &C : A->children(Err, false))
 2343     for (auto &C : A->children(Err)) {
 2424             for (auto &C : A->children(Err)) {
 2485           for (auto &C : A->children(Err)) {
 2538       for (auto &C : A->children(Err)) {
 2638     for (const RelocationRef &Reloc : info->S.relocations()) {
 2710       for (const RelocationRef &Reloc : info->O->external_relocations()) {
 2748     for (const RelocationRef &Reloc : info->S.relocations()) {
 2821     if (Reloc == info->S.relocations().end())
 2952     if (Reloc == info->S.relocations().end())
 3016   for (const auto &Load : info->O->load_commands()) {
 3072   for (const auto &Load : info->O->load_commands()) {
 3223   for (const auto &Load : info->O->load_commands()) {
 3340   for (const RelocationRef &Reloc : S.relocations()) {
 4087   for (const SectionRef &Section : O->sections()) {
 6115   for (const SectionRef &Section : O->sections())
 6197   for (const SectionRef &Section : O->sections())
 6292   for (const SectionRef &Section : O->sections())
 6450   for (const SectionRef &Section : O->sections())
 6891     for (const RelocationRef &Reloc : info->S.relocations()) {
 7455     for (const SymbolRef &Symbol : MachOOF->symbols()) {
 7906   for (const RelocationRef &Reloc : CompactUnwind.relocations()) {
 8206   for (const SymbolRef &SymRef : Obj->symbols()) {
 8223   for (const SectionRef &Section : Obj->sections()) {
10066   for (const auto &Command : Obj->load_commands()) {
10241   for (const auto &Command : Obj->load_commands()) {
10257   for (const object::ExportEntry &Entry : Obj->exports(Err)) {
10321   for (const object::MachORebaseEntry &Entry : Obj->rebaseTable(Err)) {
10365   for (const object::MachOBindEntry &Entry : Obj->bindTable(Err)) {
10395   for (const object::MachOBindEntry &Entry : Obj->lazyBindTable(Err)) {
10420   for (const object::MachOBindEntry &Entry : Obj->weakBindTable(Err)) {
10453     for (const object::MachOBindEntry &Entry : info->O->bindTable(Err)) {
tools/llvm-objdump/llvm-objdump.cpp
  906   for (auto Symbol : Obj->getDynamicSymbolIterators()) {
  950   for (const SectionRef &Section : Obj->sections()) {
  998   for (SectionRef Sec : Obj.sections()) {
 1011     for (const RelocationRef &R : Sec.relocations())
 1137   for (const SymbolRef &Symbol : Obj->symbols()) {
 1166   for (SectionRef Sec : Obj->sections())
 1173     for (const auto &ExportEntry : COFFObj->export_directories()) {
 1522   for (StringRef MissingDisasmFunc : MissingDisasmFuncsSet.keys())
 1638       for (const RelocationRef &Reloc : Section.relocations()) {
 1674     for (const RelocationRef &Reloc : Section.relocations()) {
 2105   for (const SectionRef &Section : Obj->sections())
 2213   for (auto &C : A->children(Err)) {
tools/llvm-pdbutil/BytesOutputStyle.cpp
  418           for (const auto &SS : Stream.subsections()) {
tools/llvm-pdbutil/DumpOutputStyle.cpp
  277     for (const auto &S : SG.getPdbModuleStream().symbols(nullptr)) {
  468   for (const auto &SG : Input.symbol_groups()) {
  640                         for (const auto &F : Modules.source_files(Modi)) {
  834     for (const auto &Sec : File.symbol_groups()) {
 1371   for (const auto &S : getObj().sections()) {
tools/llvm-pdbutil/InputFile.cpp
  139     for (const auto &S : File->obj().sections()) {
  344   for (const auto &Section : obj().sections()) {
  396   for (const auto &Section : obj().sections()) {
tools/llvm-pdbutil/MinimalSymbolDumper.cpp
  681   for (auto &Annot : IS.annotations()) {
tools/llvm-pdbutil/TypeReferenceTracker.cpp
   55   for (SymbolGroup SG : File.symbol_groups()) {
tools/llvm-pdbutil/YAMLOutputStyle.cpp
  227         DMI.SourceFiles.assign(Files.begin(), Files.end());
  251         for (const auto &SS : ModS.subsections()) {
  269         for (auto &Sym : ModS.symbols(&HadError)) {
  293   for (auto &Record : TS.types(nullptr)) {
  320   for (auto &Record : IS.types(nullptr)) {
tools/llvm-profdata/llvm-profdata.cpp
  976     for (auto &hotfunc : llvm::reverse(SortedHottestFuncs))
tools/llvm-readobj/ARMWinEHPrinter.cpp
  213   for (const auto &Section : COFF.sections()) {
  225   for (const auto &Symbol : COFF.symbols()) {
  244   for (const auto &Relocation : Section.relocations()) {
 1097   for (const auto &Section : COFF.sections()) {
tools/llvm-readobj/COFFDumper.cpp
  589   for (const SectionRef &S : Obj->sections()) {
  592     for (const RelocationRef &Reloc : S.relocations())
  712   for (const debug_directory &D : Obj->debug_directories()) {
  892   for (const SectionRef &S : Obj->sections()) {
  899   for (const SectionRef &S : Obj->sections()) {
 1252   for (const SectionRef &S : Obj->sections()) {
 1320   for (const SectionRef &Sec : Obj->sections()) {
 1343       for (const RelocationRef &Reloc : Sec.relocations())
 1349       for (const SymbolRef &Symbol : Obj->symbols()) {
 1369   for (const SectionRef &Section : Obj->sections()) {
 1374     for (const RelocationRef &Reloc : Section.relocations()) {
 1428   for (const SymbolRef &Symbol : Obj->symbols())
 1607   for (const ImportDirectoryEntryRef &DirRef : Obj->import_directories()) {
 1622   for (const ImportedSymbolRef &I : Range) {
 1637   for (const ImportedSymbolRef &S : Range) {
 1657   for (const ImportDirectoryEntryRef &I : Obj->import_directories()) {
 1680   for (const DelayImportDirectoryEntryRef &I : Obj->delay_import_directories()) {
 1700   for (const ExportDirectoryEntryRef &E : Obj->export_directories()) {
 1720   for (const SectionRef &Section : Obj->sections()) {
 1746   for (const BaseRelocRef &I : Obj->base_relocs()) {
 1761   for (const SectionRef &S : Obj->sections()) {
 1886   for (auto Sec : Obj->sections()) {
 1917   for (auto Sec : Obj->sections()) {
tools/llvm-readobj/COFFImportDumper.cpp
   50   for (const object::BasicSymbolRef &Sym : File->symbols()) {
tools/llvm-readobj/ELFDumper.cpp
 4670       for (const auto &Note : Obj->notes(S, Err))
 4682       for (const auto &Note : Obj->notes(P, Err))
 4722   for (const ELFSymbolRef &Symbol : Obj->symbols()) {
 4832   for (const SectionRef &Sec : Obj->sections()) {
 4875   for (const SectionRef &Sec : Obj->sections()) {
 4947     for (const RelocationRef &Reloc : RelocSec.relocations()) {
 5914       for (const auto &Note : Obj->notes(S, Err))
 5927       for (const auto &Note : Obj->notes(P, Err))
tools/llvm-readobj/MachODumper.cpp
  462   for (const SectionRef &Section : Obj->sections()) {
  494       for (const RelocationRef &Reloc : Section.relocations())
  500       for (const SymbolRef &Symbol : Obj->symbols()) {
  518   for (const SectionRef &Section : Obj->sections()) {
  521     for (const RelocationRef &Reloc : Section.relocations()) {
  610   for (const SymbolRef &Symbol : Obj->symbols()) {
  666   for (auto Sec : Obj->sections()) {
  701   for (const auto &Command : Obj->load_commands()) {
  724   for (const auto &Load : Obj->load_commands()) {
  746   for (const auto &Load : Obj->load_commands()) {
  809   for (const auto &Load : Obj->load_commands()) {
  836   for (const auto &Load : Obj->load_commands()) {
  857   for (const auto &Load : Obj->load_commands()) {
  873   for (const auto &Load : Obj->load_commands()) {
tools/llvm-readobj/ObjDumper.cpp
   55   for (object::SectionRef SecRef : Obj->sections()) {
tools/llvm-readobj/StackMapPrinter.h
   25   for (const auto &F : SMP.functions())
   33   for (const auto &C : SMP.constants())
   38   for (const auto &R : SMP.records()) {
   45     for (const auto &Loc : R.locations()) {
   72     for (const auto &LO : R.liveouts())
tools/llvm-readobj/WasmDumper.cpp
  135   for (const SectionRef &Section : Obj->sections()) {
  141     for (const RelocationRef &Reloc : Section.relocations()) {
  161   for (const SymbolRef &Symbol : Obj->symbols())
  167   for (const SectionRef &Section : Obj->sections()) {
  212       for (const RelocationRef &Reloc : Section.relocations())
tools/llvm-readobj/Win64EHDumper.cpp
  307   for (const auto &Section : Ctx.COFF.sections()) {
tools/llvm-readobj/XCOFFDumper.cpp
  426   for (const SymbolRef &S : Obj.symbols())
tools/llvm-readobj/llvm-readobj.cpp
  554   for (auto &Child : Arc->children(Err)) {
  576   for (const MachOUniversalBinary::ObjectForArch &Obj : UBinary->objects()) {
tools/llvm-reduce/deltas/ReduceArguments.cpp
   26   for (auto I = Users.begin(), E = Users.end(); I != E; )
   52       for (auto &A : F.args())
   64     for (auto &A : F->args())
   69         for (auto *U : A.users())
   85     for (auto &Arg : F->args())
  112       for (auto &A : F.args())
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
   31   for (auto Succ : successors(&BB))
  103         for (auto *Succ : successors(&BB))
tools/llvm-reduce/deltas/ReduceFunctions.cpp
   42       for (auto U : F.users())
tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
   25   for (auto &GV : Program->globals())
   36   for (auto &GV : Program->globals())
   38       for (auto U : GV.users())
   63   for (auto &GV : Program->globals())
tools/llvm-reduce/deltas/ReduceMetadata.cpp
   61   for (auto &GV : Program->globals())
   72   for (auto &GV : Program->globals())
   86   for (auto &MD : Program->named_metadata()) {
  119   for (auto &GV : Program->globals())
tools/llvm-size/llvm-size.cpp
  201   for (auto &Sym : Obj->symbols())
  222   for (const auto &Load : MachO->load_commands()) {
  291   for (const auto &Load : MachO->load_commands()) {
  382     for (const SectionRef &Section : Obj->sections()) {
  422     for (const SectionRef &Section : Obj->sections()) {
  458     for (const SectionRef &Section : Obj->sections()) {
  552     for (auto &C : a->children(Err)) {
  621               for (auto &C : UA->children(Err)) {
  710             for (auto &C : UA->children(Err)) {
  786         for (auto &C : UA->children(Err)) {
tools/llvm-stress/llvm-stress.cpp
  680   for (auto &arg : F->args())
tools/llvm-xray/llvm-xray.cpp
   30   for (auto *SC : cl::getRegisteredSubcommands()) {
tools/llvm-xray/xray-account.cpp
  210     for (auto &E : make_range(I, ThreadStack.end())) {
  460       for (const auto &Entry : llvm::reverse(ThreadStack.second))
tools/llvm-xray/xray-graph.cpp
  454       for (const auto &Entry : llvm::reverse(ThreadStack.second))
tools/llvm-xray/xray-stacks.cpp
  431       for (auto &E : make_range(I, TS.end() - 1))
  460     for (auto *F :
  512     for (const auto &RootNodeRange :
tools/obj2yaml/coff2yaml.cpp
  106   for (const auto &S : Obj.sections()) {
  143   for (const auto &S : Obj.symbols()) {
  154   for (const auto &ObjSection : Obj.sections()) {
  197     for (const auto &Reloc : ObjSection.relocations()) {
  281   for (const auto &S : Obj.symbols()) {
tools/obj2yaml/dwarf2yaml.cpp
   36         for (auto Attribute : AbbrvDecl.attributes()) {
   72     for (auto Descriptor : Set.descriptors()) {
  117   for (const auto &CU : DCtx.compile_units()) {
  125     for (auto DIE : CU->dies()) {
  138         for (const auto &AttrSpec : AbbrevDecl->attributes()) {
  241   for (const auto &CU : DCtx.compile_units()) {
tools/obj2yaml/macho2yaml.cpp
  217   for (auto LoadCmd : Obj.load_commands()) {
  481   for (auto Symbol : Obj.symbols()) {
  520   for (auto Slice : Obj.objects()) {
tools/obj2yaml/wasm2yaml.cpp
  182   for (const auto &Sec : Obj.sections()) {
tools/obj2yaml/xcoff2yaml.cpp
   56   for (const SymbolRef &S : Obj.symbols()) {
tools/opt/AnalysisWrappers.cpp
   39         for (User *U : I->users()) {
tools/opt/Debugify.cpp
   93   for (Function &F : Functions) {
  237   for (Function &F : Functions) {
  242     for (Instruction &I : instructions(F)) {
  262     for (Instruction &I : instructions(F)) {
  278   for (unsigned Idx : MissingLines.set_bits())
  281   for (unsigned Idx : MissingVars.set_bits())
tools/polly/lib/Analysis/PolyhedralInfo.cpp
   62     for (auto *L : depth_first(TopLevelLoop)) {
tools/polly/lib/Analysis/ScopBuilder.cpp
  181   for (BasicBlock *BB : RN->getNodeAs<Region>()->blocks())
  402   for (auto &Case : SI->cases()) {
  688   for (auto *PredBB : predecessors(BB)) {
 1122   for (Use &Op : Inst->operands())
 1424   for (auto user : MallocMem->users()) {
 1491   for (auto &AS : llvm::reverse(scop->recorded_assumptions())) {
 1823     for (const auto &Arg : CI->arg_operands()) {
 1910     for (BasicBlock *BB : R->blocks())
 1918   for (BasicBlock *BB : scop->getRegion().blocks()) {
 2001     for (Use &Op : Inst->operands()) {
 2042     for (Instruction *Prev : reverse(SeenLeaders)) {
 2329     for (auto *FactorExpr : MulExpr->operands())
 2338     for (auto *OpExpr : NAryExpr->operands())
 2353   for (auto Array : scop->arrays()) {
 2430     for (auto &Access : scop->access_functions())
 2924   for (const llvm::Argument &Arg : F.args())
 2997       for (const SCEV *Parameter : scop->parameters()) {
 3039     for (auto &IAClass : scop->invariantEquivClasses()) {
 3550   for (auto *BB : S->getRegion().blocks()) {
 3564       for (auto &Op : Inst.operands())
 3592       for (auto &Op : Inst.operands())
 3608   for (BasicBlock *BB : scop->getRegion().blocks()) {
tools/polly/lib/Analysis/ScopDetection.cpp
  441   for (BasicBlock *BB : AR->blocks()) {
  707       for (const auto &Arg : CI.arg_operands()) {
  871       for (auto Op : AF->operands()) {
  877           for (auto *MulOp : AF2->operands()) {
 1194   for (auto &Op : Inst.operands()) {
 1203         for (User *U : PHI->users()) {
 1445   for (const BasicBlock *BB : R.blocks())
 1525   for (const BasicBlock *BB : CurRegion.blocks()) {
 1542   for (BasicBlock *BB : CurRegion.blocks()) {
 1572   for (auto *BB : Context.CurRegion.blocks())
 1583   for (auto *BB : Context.CurRegion.blocks()) {
 1590     for (auto *LBB : L->blocks()) {
 1728   for (auto *BB : R.blocks())
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp
  791   for (const BasicBlock *BB : R->blocks())
tools/polly/lib/Analysis/ScopGraphPrinter.cpp
  181     for (const auto &BB : R->blocks())
tools/polly/lib/Analysis/ScopInfo.cpp
 1483   for (auto &Operand : Call->arg_operands()) {
 1565   for (auto Array : Arrays) {
 1717     for (BasicBlock *BB : Stmt.getRegion()->blocks()) {
 2201   for (auto &Array : arrays())
 2208   for (auto &Array : arrays())
 2394   for (BasicBlock *BB : R->blocks()) {
 2477   for (auto &SAI : arrays()) {
 2551   for (Use &Use : Inst->uses()) {
 2784   for (auto &It : reverse(SI)) {
tools/polly/lib/CodeGen/BlockGenerators.cpp
  225   for (Value *OldOperand : Inst->operands()) {
  532   for (User *U : Inst->users()) {
  706     for (Instruction *Inst : Stmt.insts()) {
  718         for (Value *Op : Inst->operand_values()) {
  817   for (auto &Array : S.arrays()) {
  906   for (auto &Array : S.arrays()) {
  942   for (auto &SAI : S.arrays()) {
  984       for (auto *BB : Stmt.getRegion()->blocks())
 1225   for (Value *Operand : Inst->operands())
 1237   for (Value *Operand : Inst->operands()) {
 1422   for (auto ExitingBB : predecessors(R->getExit())) {
 1438   for (auto ExitingBB : predecessors(R->getExit())) {
 1594     for (auto *PredBB : make_range(pred_begin(BB), pred_end(BB))) {
 1603     for (auto *PredBBCopy : make_range(pred_begin(BBCopy), pred_end(BBCopy)))
 1794   for (BasicBlock *IncomingBB : PHI->blocks())
tools/polly/lib/CodeGen/CodeGeneration.cpp
  144   for (auto *BB : R->blocks()) {
tools/polly/lib/CodeGen/IRBuilder.cpp
   65   for (ScopArrayInfo *Array : S.arrays())
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  216     for (Value *SrcVal : Inst.operands()) {
  235     for (BasicBlock *BB : Stmt->getRegion()->blocks())
 1111   for (const SCEV *Param : S.parameters()) {
 1163   for (ScopArrayInfo *Array : S.arrays()) {
 1429     for (auto *U : MAAccInst->users())
 1445   for (auto &SAI : S.arrays()) {
tools/polly/lib/CodeGen/PerfMonitor.cpp
   42     for (Value *X : Array->operand_values())
tools/polly/lib/Exchange/JSONExporter.cpp
  102   for (auto &SAI : S.arrays()) {
  638   for (auto &SAI : S.arrays()) {
tools/polly/lib/Support/SCEVValidator.cpp
  124   for (auto &Operand : Call->arg_operands())
  763   for (auto *Op : Mul->operands())
tools/polly/lib/Support/ScopHelper.cpp
   62     for (BasicBlock *P : predecessors(Entry))
   71       for (BasicBlock *ExitPred : predecessors(NewEntering)) {
  122     for (BasicBlock *P : predecessors(ExitBB))
  277     for (auto &Op : Inst->operands()) {
  351     for (const SCEV *Op : E->operands())
  357     for (const SCEV *Op : E->operands())
  363     for (const SCEV *Op : E->operands())
  369     for (const SCEV *Op : E->operands())
  375     for (const SCEV *Op : E->operands())
  381     for (const SCEV *Op : E->operands())
  387     for (const SCEV *Op : E->operands())
  421     for (auto Pred : predecessors(R.getExit()))
  473     for (auto *BB : S.blocks())
  540   for (const Use &Val : llvm::drop_begin(Gep->operands(), 1)) {
  579   for (auto *User : Ptr->users()) {
  596       for (auto Pred : predecessors(R.getExit()))
  758     for (BasicBlock *RBB : Stmt->getRegion()->blocks())
tools/polly/lib/Support/ScopLocation.cpp
   26   for (const BasicBlock *BB : R->blocks())
tools/polly/lib/Support/VirtualInstruction.cpp
  207     for (BasicBlock *BB : Stmt->getRegion()->blocks())
  390       for (VirtualUse VUse : VInst.operands())
tools/polly/lib/Transform/DeLICM.cpp
  568       for (auto User : Inst->users()) {
  589       for (auto Incoming : PHI->blocks()) {
tools/polly/lib/Transform/ForwardOpTree.cpp
  647     for (Value *OpVal : UseInst->operand_values()) {
tools/polly/lib/Transform/MaximalStaticExpansion.cpp
  442                                              S.arrays().end());
tools/polly/lib/Transform/Simplify.cpp
  170       for (auto *MA : reverse(Accesses)) {
  251       for (MemoryAccess *MA : reverse(Accesses)) {
tools/polly/lib/Transform/ZoneAlgo.cpp
  521     for (const Use &Incoming : Cur->incoming_values()) {
tools/sancov/sancov.cpp
  610   for (const auto &Load : O.load_commands()) {
  649   for (const object::SymbolRef &Symbol : O.symbols()) {
  665     for (const object::ExportDirectoryEntryRef &Export :
  743   for (object::SectionRef Section : O.sections()) {
  780   for (auto &C : A.children(Err)) {
tools/verify-uselistorder/verify-uselistorder.cpp
  188   for (const GlobalVariable &G : M.globals())
  190   for (const GlobalAlias &A : M.aliases())
  192   for (const GlobalIFunc &IF : M.ifuncs())
  198   for (const GlobalVariable &G : M.globals())
  201   for (const GlobalAlias &A : M.aliases())
  203   for (const GlobalIFunc &IF : M.ifuncs())
  216     for (const Argument &A : F.args())
  227         for (const Value *Op : I.operands())
  240       for (const Value *Op : C->operands())
  260   for (const Use &U : V->uses()) {
  390       for (Value *Op : C->operands())
  405     for (const Use &U : V->uses()) {
  418     for (const Use &U : V->uses()) {
  432       for (Value *Op : C->operands())
  442     for (const Use &U : V->uses()) {
  452     for (const Use &U : V->uses()) {
  464   for (GlobalVariable &G : M.globals())
  466   for (GlobalAlias &A : M.aliases())
  468   for (GlobalIFunc &IF : M.ifuncs())
  474   for (GlobalVariable &G : M.globals())
  477   for (GlobalAlias &A : M.aliases())
  479   for (GlobalIFunc &IF : M.ifuncs())
  492     for (Argument &A : F.args())
  503         for (Value *Op : I.operands())
unittests/ADT/BitVectorTest.cpp
 1096   for (unsigned Bit : Filled.set_bits())
 1101   for (unsigned Bit : Empty.set_bits()) {
 1118   for (unsigned Bit : ToFill.set_bits())
unittests/ADT/BumpPtrListTest.cpp
   62   for (int N : llvm::reverse(Ns)) {
   83   for (int N : llvm::reverse(Ns)) {
unittests/ADT/DepthFirstIteratorTest.cpp
   48   for (auto N : make_range(DFIter::begin(G, S), DFIter::end(G, S)))
unittests/ADT/DirectedGraphTest.cpp
  273   for (auto &SCC : make_range(scc_begin(&DG), scc_end(&DG)))
unittests/ADT/FallibleIteratorTest.cpp
  121   for (auto &Elem :
  138   for (auto &Elem :
  156   for (auto &Elem :
  180         for (auto &Elem :
unittests/ADT/IteratorTest.cpp
  155   for (int II : make_pointee_range(V))
  177   SmallVector<int, 3> Actual(Range.begin(), Range.end());
  197   SmallVector<int, 3> Actual(Range.begin(), Range.end());
  206   SmallVector<int, 3> Actual(Range.begin(), Range.end());
  220   SmallVector<int, 3> Actual(Range.begin(), Range.end());
  238   SmallVector<int, 3> Actual(Range.begin(), Range.end());
  248   SmallVector<int, 3> Actual(Range.begin(), Range.end());
  253   SmallVector<int, 3> Actual2(Range2.begin(), Range2.end());
  258   SmallVector<int, 0> Actual3(Range3.begin(), Range3.end());
  265   SmallVector<int, 4> Actual4(Range4.begin(), Range4.end());
  296   for (int *P : make_pointer_range(A))
  404   for (auto tup : make_filter_range(
  424   for (auto tup : reverse(zipped)) {
  433   for (auto tup : make_filter_range(reverse(zipped), odds)) {
  457     for (auto &v : drop_begin(vec, n)) {
unittests/ADT/MapVectorTest.cpp
  138   for (auto P : make_range(MV.begin(), MV.end())) {
  144   for (auto P : make_range(MV.rbegin(), MV.rend())) {
  295   for (auto P : make_range(MV.begin(), MV.end())) {
  301   for (auto P : make_range(MV.rbegin(), MV.rend())) {
  413   for (auto P : make_range(MV.begin(), MV.end())) {
  419   for (auto P : make_range(MV.rbegin(), MV.rend())) {
unittests/ADT/RangeAdapterTest.cpp
  123   for (int i : r)
unittests/ADT/STLExtrasTest.cpp
  389   auto EI = EIR.end();
  431   EXPECT_EQ(EIR.end(), I);
unittests/ADT/SequenceTest.cpp
   20   for (int i : seq(0, 10)) {
   27   EXPECT_EQ(4, my_seq.end() - my_seq.begin());
   31   EXPECT_TRUE(my_seq.begin() < my_seq.end());
   34   auto adjusted_end = my_seq.end() - 2;
unittests/Analysis/AliasAnalysisTest.cpp
   48     for (Argument &A : F.args())
   51     for (Instruction &I : instructions(F))
unittests/Analysis/CGSCCPassManagerTest.cpp
   83     for (Instruction &I : instructions(F)) {
unittests/Analysis/GlobalsModRefTest.cpp
   36   ASSERT_NE(I, funcs.end());
   38   ASSERT_NE(++I, funcs.end());
   40   ASSERT_NE(++I, funcs.end());
   42   EXPECT_EQ(++I, funcs.end());
unittests/Analysis/LazyCallGraphTest.cpp
  608   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
  754   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
  846   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
  953   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
 1030   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
 1092   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
 1137   for (User *U : D2F.users()) {
 1166   EXPECT_EQ(NewCs.end(), std::next(NewCs.begin()));
 1281   EXPECT_EQ(std::prev(RC.end()), NewCs.end());
 1571   EXPECT_EQ(NewCs.begin(), NewCs.end());
 1580   EXPECT_EQ(1, std::distance(NewCs.begin(), NewCs.end()));
 1596   EXPECT_EQ(1, std::distance(NewCs.begin(), NewCs.end()));
unittests/Analysis/MemorySSATest.cpp
  508   for (auto &Op : MP->incoming_values())
  572   for (const auto &Op : DefiningAccess->operands()) {
unittests/Analysis/ScalarEvolutionTest.cpp
  211   for (auto &I : instructions(F))
  472   for (auto &I : instructions(F))
unittests/Analysis/SparsePropagation.cpp
  172     for (Argument &A : F->args()) {
unittests/CodeGen/ScalableVectorMVTsTest.cpp
   21   for (auto VecTy : MVT::integer_scalable_vector_valuetypes()) {
   33   for (auto VecTy : MVT::fp_scalable_vector_valuetypes()) {
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1339   for (auto Die : CUDie.children()) {
 1447   auto E = R.end();
unittests/DebugInfo/PDB/NativeSymbolReuseTest.cpp
  126     std::vector<SymIndexId> Reversed{ReversedIter.begin(), ReversedIter.end()};
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.h
  155     for (auto *Sym : G.defined_symbols()) {
  172     for (auto *Sym : G.defined_symbols())
  175     for (auto *Sym : G.external_symbols())
  178     for (auto *Sym : G.absolute_symbols())
  190     return std::count_if(B.edges().begin(), B.edges().end(), Pred);
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
   68     for (Argument &A : Result->args())
unittests/IR/BasicBlockTest.cpp
   36   for (auto &PN : BB->phis()) {
   60   for (auto &PN : BB->phis()) {
   69   EXPECT_NE(CI, BB->phis().end());
   75   EXPECT_EQ(std::distance(Phis.begin(), Phis.end()), 3);
   77   EXPECT_EQ(std::distance(ReversedPhis.begin(), ReversedPhis.end()), 3);
   81   for (const auto &PN : const_cast<const BasicBlock *>(BB.get())->phis()) {
unittests/IR/FunctionTest.cpp
   39   for (Argument &A : F->args()) {
   69   for (Argument &A : F1->args())
   81   for (Argument &A : F2->args()) {
   90   for (Argument &A : F1->args()) {
  105   for (Argument &A : F1->args()) {
unittests/IR/InstructionsTest.cpp
   91   for (Value *Arg : Call->arg_operands()) {
  109   for (Value *Arg : Invoke->arg_operands()) {
  679   EXPECT_EQ(GEPI->idx_end(), GEPI->indices().end());
  688   EXPECT_EQ(CGEPI->idx_end(), CGEPI->indices().end());
unittests/IR/UseTest.cpp
   50   for (User *U : X.users()) {
   60   for (User *U : X.users()) {
   95   for (User *U : X.users()) {
  103   for (User *U : X.users()) {
unittests/MC/TargetRegistry.cpp
   28   for (const Target &T : TargetRegistry::targets()) {
unittests/Object/MinidumpTest.cpp
  592     ASSERT_EQ(1u, std::distance(ExpectedInfo->begin(), ExpectedInfo->end()));
unittests/Option/OptionParsingTest.cpp
  105   ASSERT_NE(Cs.begin(), Cs.end());
unittests/ProfileData/CoverageMappingTest.cpp
  351   EXPECT_EQ(2, std::distance(FunctionRecords.begin(), FunctionRecords.end()));
  352   for (const auto &FunctionRecord : FunctionRecords) {
  679   for (const auto &LCS : getLineCoverageStats(Data)) {
  802   for (const auto &Func : LoadedCoverage->getCoveredFunctions())
  816   for (const auto &Func : LoadedCoverage->getCoveredFunctions())
  887   unsigned NumFuncs = std::distance(Funcs.begin(), Funcs.end());
unittests/Support/CommandLineTest.cpp
  661   for (auto *S : cl::getRegisteredSubcommands()) {
  672   for (auto *S : cl::getRegisteredSubcommands()) {
  717   for (auto *S : cl::getRegisteredSubcommands()) {
  733   for (auto *S : cl::getRegisteredSubcommands()) {
unittests/Target/ARM/MachineInstrTest.cpp
  493     for (auto &Op : Desc.operands()) {
unittests/TextAPI/TextStubV1Tests.cpp
  113   for (const auto *Sym : File->symbols()) {
unittests/TextAPI/TextStubV2Tests.cpp
  115   for (const auto *Sym : File->symbols()) {
unittests/TextAPI/TextStubV3Tests.cpp
  124   for (const auto *Sym : File->symbols()) {
unittests/TextAPI/TextStubV4Tests.cpp
  146   for (const auto *Sym : File->symbols()) {
unittests/tools/llvm-exegesis/X86/RegisterAliasingTest.cpp
   32   for (unsigned I : tracker.aliasedBits().set_bits())
usr/include/c++/7.4.0/bits/range_access.h
   68     end(_Container& __cont) -> decltype(__cont.end())
   69     { return __cont.end(); }
   78     end(const _Container& __cont) -> decltype(__cont.end())
   79     { return __cont.end(); }
utils/TableGen/CodeGenDAGPatterns.cpp
  769         for (MVT T : MVT::integer_valuetypes())
  772         for (MVT T : MVT::integer_fixedlen_vector_valuetypes())
  775         for (MVT T : MVT::integer_scalable_vector_valuetypes())
  780         for (MVT T : MVT::fp_valuetypes())
  783         for (MVT T : MVT::fp_fixedlen_vector_valuetypes())
  786         for (MVT T : MVT::fp_scalable_vector_valuetypes())
  791         for (MVT T : MVT::vector_valuetypes())
  796         for (MVT T : MVT::all_valuetypes())
 3926   for (const PatternToMatch &PTM : ptms()) {
utils/TableGen/CodeGenSchedule.cpp
   89     for (Init *Arg : make_range(Expr->arg_begin(), Expr->arg_end())) {
 1145   for (const CodeGenProcModel &PM : make_range(procModelBegin(),procModelEnd()))
 1170       for (const CodeGenSchedClass &SC :
 1834   for (const CodeGenSchedClass &SC :
utils/TableGen/GICombinerEmitter.cpp
  224   for (const CombineRule &EnumeratedRule : make_pointee_range(Rules)) {
  292     for (const RootInfo &Root : Rule->roots()) {
utils/TableGen/GlobalISelEmitter.cpp
 1044     for (const auto &Predicate : predicates())
 1569         predicates().begin(), predicates().end(), 0,
 1581     for (const auto &Predicate : predicates())
 2170                predicates().begin(), predicates().end(), 0,
 2183     for (auto &P : predicates())
 2282       for (auto &OP : OM->predicates())
 2292     for (auto &OP : Operands[0]->predicates())
 2297     for (auto &OP : OM->predicates())
 2794     for (auto *MutateCandidate : Rule.mutatable_insns()) {
 2870       for (const auto &IDMatcherPair : Rule.defined_insn_vars())
 4894       for (Matcher *M : CurrentGroup->matchers())
 5024   for (const PatternToMatch &Pat : CGP.ptms()) {
 5332     for (auto &OM : InsnMatcher.operands()) {
 5339       for (auto &OP : OM->predicates())
 5359   for (auto &OM : Matcher.operands())
 5360     for (auto &OP : OM->predicates())
 5375   for (auto &OM : Matcher.operands())
 5376     for (auto &OP : OM->predicates())
 5393   for (auto &OM : Matcher.operands())
 5394     for (auto &OP : OM->predicates())
utils/TableGen/InstrInfoEmitter.cpp
  383           for (Init *Arg : make_range(MIOI->arg_begin(), MIOI->arg_end())) {
  791   for (const auto &Class : SchedModels.explicit_classes())
utils/TableGen/RegisterBankEmitter.cpp
  222     for (const auto &RC : Bank.register_classes())
utils/TableGen/SubtargetEmitter.cpp
 1005     for (const CodeGenSchedTransition &CGT :
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 3186     for (; it != stl_container.end() && exam_pos != count(); ++it, ++exam_pos) {
 3207     for (; it != stl_container.end(); ++it) {
 3391                                          stl_container.end(),