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

References

include/llvm/ADT/DirectedGraph.h
  186   const_iterator end() const { return Nodes.end(); }
  219     for (auto *Node : Nodes) {
include/llvm/ADT/MapVector.h
   72   const_iterator end() const { return Vector.end(); }
  155     return Pos == Map.end()? Vector.end() :
include/llvm/ADT/SetOperations.h
   25   for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end();
   63   for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end();
include/llvm/ADT/SetVector.h
   98     return vector_.end();
include/llvm/ADT/SmallSet.h
  167       return vfind(V) == Vector.end() ? 0 : 1;
  231       return {Vector.end()};
  239     for (VIterator I = Vector.begin(), E = Vector.end(); I != E; ++I)
  242     return Vector.end();
include/llvm/ADT/SmallString.h
   65     SmallVectorImpl<char>::append(RHS.begin(), RHS.end());
   89     SmallVectorImpl<char>::append(RHS.begin(), RHS.end());
include/llvm/ADT/SmallVector.h
  134   const_reverse_iterator rbegin() const{ return const_reverse_iterator(end()); }
  172     return end()[-1];
  655     return std::equal(this->begin(), this->end(), RHS.begin());
  662     return std::lexicographical_compare(this->begin(), this->end(),
  663                                         RHS.begin(), RHS.end());
  746   this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
include/llvm/ADT/SparseSet.h
  175   const_iterator end() const { return Dense.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
  262     NodeList::const_iterator members_end() const { return Nodes.end(); }
  658     for (auto N : OuterLoop->Nodes)
include/llvm/Analysis/DDG.h
  148     InstList.insert(InstList.end(), Input.begin(), Input.end());
include/llvm/Analysis/LazyCallGraph.h
  489     iterator end() const { return Nodes.end(); }
  620     iterator end() const { return SCCs.end(); }
include/llvm/Analysis/LoopCacheAnalysis.h
  201         LoopCosts.begin(), LoopCosts.end(),
  203     return (IT != LoopCosts.end()) ? (*IT).second : -1;
include/llvm/Analysis/ScalarEvolution.h
  556     SmallVector<const SCEV *, 4> NewOp(Operands.begin(), Operands.end());
include/llvm/Analysis/VectorUtils.h
  733     for (auto Dep : *Deps)
include/llvm/CodeGen/CallingConvLower.h
  551     for (auto Arg : Args) {
include/llvm/CodeGen/GCMetadata.h
  195   iterator end() const { return GCStrategyList.end(); }
include/llvm/CodeGen/GlobalISel/RegBankSelect.h
  386     const_insertpt_iterator end() const { return InsertPoints.end(); }
include/llvm/CodeGen/LiveInterval.h
  218     const_iterator end() const  { return segments.end(); }
  227     const_vni_iterator vni_end() const   { return valnos.end(); }
  250       for (const VNInfo *VNI : Other.valnos)
  253       for (const Segment &S : Other.segments)
  578       for (const Segment &S : segments)
  622       auto Seg = segments.begin(), EndSeg = segments.end();
include/llvm/CodeGen/RegisterScavenging.h
  139          IE = Scavenged.end(); I != IE; ++I)
  149          IE = Scavenged.end(); I != IE; ++I)
include/llvm/CodeGen/ScheduleDAG.h
  432       for (const SDep &Pred : Preds)
  440       for (const SDep &Succ : Succs)
include/llvm/CodeGen/SlotIndexes.h
  496           I, idx2MBBMap.end(),
  513       return idx2MBBMap.end();
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
   97     return attr_iterator_range(AttributeSpecs.begin(), AttributeSpecs.end());
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
  590   const_iterator end() const { return NameIndices.end(); }
include/llvm/IR/CFGDiff.h
  125     return llvm::find(EdgesForBB, EdgeEnd) != EdgesForBB.end();
  134       return make_range(Empty.begin(), Empty.end());
  135     return make_range(It->second.begin(), It->second.end());
include/llvm/IR/DataLayout.h
  255     for (unsigned LegalIntWidth : LegalIntWidths)
  344     for (unsigned LegalIntWidth : LegalIntWidths)
include/llvm/IR/DebugInfo.h
  104     return make_range(CUs.begin(), CUs.end());
  108     return make_range(SPs.begin(), SPs.end());
  112     return make_range(GVs.begin(), GVs.end());
  116     return make_range(TYs.begin(), TYs.end());
  120     return make_range(Scopes.begin(), Scopes.end());
include/llvm/IR/DiagnosticInfo.h
  640     std::copy(Orig.Args.begin(), Orig.Args.end(), std::back_inserter(Args));
include/llvm/IR/Instructions.h
 2342   inline idx_iterator idx_end()   const { return Indices.end(); }
 2463   inline idx_iterator idx_end()   const { return Indices.end(); }
include/llvm/IR/LegacyPassManagers.h
  267         for(AnalysisID AID : Vec)
include/llvm/MC/MCFragment.h
  231   const_fixup_iterator fixup_end() const { return Fixups.end(); }
include/llvm/MC/MCInst.h
  195   const_iterator end() const { return Operands.end(); }
include/llvm/MC/MCLinkerOptimizationHint.h
  118       : Kind(Kind), Args(Args.begin(), Args.end()) {
  163       for (const MCLOHDirective &D : Directives)
  172     for (const MCLOHDirective &D : Directives)
include/llvm/MCA/Instruction.h
  430     for (const WriteState &Def : Defs)
include/llvm/Object/MachO.h
  122     return make_range(Stack.begin(), Stack.end());
include/llvm/Object/WasmTraits.h
   37     for (auto Ret : Sig.Returns)
   39     for (auto Param : Sig.Params)
include/llvm/Option/ArgList.h
  197   const_iterator begin() const { return {Args.begin(), Args.end()}; }
  198   const_iterator end() const { return {Args.end(), Args.end()}; }
  198   const_iterator end() const { return {Args.end(), Args.end()}; }
include/llvm/ProfileData/GCOV.h
  292   BlockIterator block_end() const { return Blocks.end(); }
  354   EdgeIterator src_end() const { return SrcEdges.end(); }
  360   EdgeIterator dst_end() const { return DstEdges.end(); }
include/llvm/Support/Allocator.h
  347     for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I)
  349     for (auto &PtrAndSize : CustomSizedSlabs)
include/llvm/Support/CommandLine.h
  644     for (auto Value : Values)
include/llvm/Support/GenericDomTree.h
  298     if (!std::is_permutation(Roots.begin(), Roots.end(), Other.Roots.begin()))
  673     for (const NodePtr Block : Roots) {
include/llvm/Support/GenericDomTreeConstruction.h
  559     for (const NodePtr Root : DT.Roots) Num = runDFS(Root, Num, DC, 0);
  705     SmallPtrSet<NodePtr, 4> Set(A.begin(), A.end());
  706     for (NodePtr N : B)
 1289       for (const NodePtr N : DT.Roots) errs() << BlockNamePrinter(N) << ", ";
include/llvm/Support/JSON.h
  316       : Value(std::string(V.begin(), V.end())) {}
  507       : ObjectKey(std::string(V.begin(), V.end())) {}
include/llvm/Support/ScopedPrinter.h
  211     for (const auto &Item : List) {
include/llvm/Support/VirtualFileSystem.h
  363   const_reverse_iterator overlays_rend() const { return FSList.end(); }
include/llvm/TableGen/Record.h
 1517     for (Init *TA : TemplateArgs)
 1523     for (const RecordVal &Val : Values)
 1564     for (const auto &SCPair : SuperClasses)
 1571     for (const auto &SCPair : SuperClasses) {
lib/Analysis/BlockFrequencyInfoImpl.cpp
  633   for (auto N : OuterLoop.Nodes)
lib/Analysis/CFLAndersAliasAnalysis.cpp
  458     for (const auto &FromRecord : Mapping.second.FromRecords) {
  459       for (const auto &ToRecord : Mapping.second.ToRecords) {
lib/Analysis/CFLGraph.h
  383       for (auto *Fn : Fns) {
  392       for (auto *Fn : Fns) {
  397         for (auto &Relation : RetParamRelations) {
  407         for (auto &Attribute : RetParamAttributes) {
lib/Analysis/CFLSteensAliasAnalysis.cpp
  163   for (auto *RetVal : RetVals) {
lib/Analysis/DDG.cpp
   32     for (auto *I : cast<const SimpleDDGNode>(this)->getInstructions())
   64     for (auto *I : cast<const SimpleDDGNode>(N).getInstructions())
lib/Analysis/DependenceGraphBuilder.cpp
   41   for (BasicBlock *BB : BBList)
lib/Analysis/DomTreeUpdater.cpp
  490     assert(PendUpdates.begin() <= I && I <= PendUpdates.end() &&
  495     printUpdates(I, PendUpdates.end());
  500     assert(PendUpdates.begin() <= I && I <= PendUpdates.end() &&
  505     printUpdates(I, PendUpdates.end());
lib/Analysis/LoopAccessAnalysis.cpp
  456   for (const auto &Check : Checks) {
 2376     for (auto &Dep : *Dependences) {
lib/Analysis/LoopCacheAnalysis.cpp
   66   return (std::is_sorted(Loops.begin(), Loops.end(),
  118   for (const SCEV *Subscript : R.Subscripts)
  122   for (const SCEV *Size : R.Sizes)
  382   for (const SCEV *Subscript : Subscripts) {
  444   for (const auto &LC : CC.LoopCosts) {
  460   for (const Loop *L : Loops) {
  565       for (const auto &IR : RG)
  586   for (const auto &TC : TripCounts) {
  593   for (const ReferenceGroupTy &RG : RefGroups) {
lib/Analysis/MemDerefPrinter.cpp
   68   for (Value *V: Deref) {
lib/Analysis/MemorySSAUpdater.cpp
  455   for (auto &Var : Vars) {
lib/Analysis/MustExecute.cpp
  425     for (const Loop *L : Loops) {
lib/Analysis/PHITransAddr.cpp
   94   SmallVector<Instruction*, 8> Tmp(InstInputs.begin(), InstInputs.end());
lib/Analysis/ScalarEvolution.cpp
 3504   for (const SCEV *IndexExpr : IndexExprs) {
 6907   for (auto &ENT : ExitNotTaken) {
 6930   for (auto &ENT : ExitNotTaken)
 6940   for (auto &ENT : ExitNotTaken)
 6975   for (auto &ENT : ExitNotTaken)
12355   for (auto Pred : Preds)
12361     for (auto Pred : Set->Preds)
lib/Analysis/ScalarEvolutionExpander.cpp
 2366   for (auto Pred : Union->getPredicates()) {
lib/Analysis/StackSafetyAnalysis.cpp
   94   for (auto &Call : U.Calls)
  177     for (auto &P : Params)
  180     for (auto &AS : Allocas)
lib/Analysis/SyncDependenceAnalysis.cpp
  227     for (const auto *SuccBlock : NodeSuccessors) {
lib/CodeGen/AggressiveAntiDepBreaker.cpp
  267   for (SUnit::const_pred_iterator P = SU->Preds.begin(), PE = SU->Preds.end();
  283     for (SUnit::const_pred_iterator P = SU->Preds.begin(), PE = SU->Preds.end();
  895                  PE = PathSU->Preds.end(); P != PE; ++P) {
  904                  PE = PathSU->Preds.end(); P != PE; ++P) {
  929           for (SDep S : PathSU->Succs) {
lib/CodeGen/AsmPrinter/AccelTable.cpp
  300   for (const Atom &A : Atoms) {
  463     for (const auto &AttrEnc : Abbrev.second) {
  482   for (const auto &AttrEnc : AbbrevIt->second) {
  638   for (auto Atom : Atoms)
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  910   for (const DILocation *ChildSite : Site.ChildSites) {
 1149   for (const MachineFunction::VariableDbgInfo &VI : MF.getVariableDbgInfo()) {
 1214   for (auto I = Entries.begin(), E = Entries.end(); I != E; ++I) {
 2639   for (const LocalVarDefRange &DefRange : Var.DefRanges) {
lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
  101       WorkList.append(Children.begin(), Children.end());
  238         for (auto I = Entries.begin(); I != Entries.end(); ++I) {
  260     for (const auto &Entry : Entries) {
lib/CodeGen/AsmPrinter/DebugLocStream.h
  118     return makeArrayRef(DWARFBytes.begin(), DWARFBytes.end())
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  515   for (const InsnRange &R : Ranges)
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1394   for (auto EB = Entries.begin(), EI = EB, EE = Entries.end(); EI != EE; ++EI) {
 1411     if (std::next(EI) == Entries.end()) {
 2298   for (const RangeSpanList &List : Holder.getRangeLists())
 2344   for (const auto &Range : R)
 2653   for (const RangeSpanList &List : Holder.getRangeLists())
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  105          I = LandingPads.begin(), E = LandingPads.end(); I != E; ++I) {
lib/CodeGen/AsmPrinter/WinException.cpp
  757     for (const CxxUnwindMapEntry &UME : FuncInfo.CxxUnwindMap) {
  833       for (const WinEHHandlerType &HT : TBME.HandlerArray) {
 1042   for (const SEHUnwindMapEntry &UME : FuncInfo.SEHUnwindMap) {
lib/CodeGen/CodeGenPrepare.cpp
  887   for (auto *ThisRelocate : AllRelocateCalls) {
  949   for (GCRelocateInst *ToReplace : Targets) {
 2182         for (const ExtAddrMode &AM : AddrModes)
 5118   for (auto I : Exts) {
 5398   for (auto *MovedExtInst : MovedExts) {
lib/CodeGen/CriticalAntiDepBreaker.cpp
  149   for (SUnit::const_pred_iterator P = SU->Preds.begin(), PE = SU->Preds.end();
  579                  PE = CriticalPathSU->Preds.end(); P != PE; ++P)
lib/CodeGen/ExecutionDomainFix.cpp
   22   return make_range(Entry.begin(), Entry.end());
lib/CodeGen/GlobalISel/LegalityPredicates.cpp
   27     return std::find(Types.begin(), Types.end(), Query.Types[TypeIdx]) != Types.end();
   27     return std::find(Types.begin(), Types.end(), Query.Types[TypeIdx]) != Types.end();
   37     return std::find(Types.begin(), Types.end(), Match) != Types.end();
   37     return std::find(Types.begin(), Types.end(), Match) != Types.end();
   50       TypesAndMemDesc.begin(), TypesAndMemDesc.end(),
   53       }) != TypesAndMemDesc.end();
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  187   for (const LegalizeRule &Rule : Rules) {
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
  358   return getOperandsMapping(OpdsMapping.begin(), OpdsMapping.end());
  734     return make_range(NewVRegs.end(), NewVRegs.end());
  734     return make_range(NewVRegs.end(), NewVRegs.end());
lib/CodeGen/InterleavedLoadCombinePass.cpp
  532     for (auto &b : B) {
  580       for (auto b : B)
  584       for (auto b : B) {
lib/CodeGen/LexicalScopes.cpp
  242     for (auto &ChildScope : Children)
lib/CodeGen/LiveInterval.cpp
  499   for (const Segment &O : Other.segments) {
  727   for (const Segment &S : RHS.segments)
  740   for (const Segment &S : RHS.segments)
  962   for (const Segment &S : segments)
 1005     for (const Segment &S : segments) {
 1317   for (const VNInfo *VNI : LR.valnos) {
lib/CodeGen/LiveIntervals.cpp
  170   for (SlotIndex Idx : RegMaskSlots)
  839   for (const VNInfo *PHI : LI.valnos) {
lib/CodeGen/LiveRangeCalc.cpp
  138     for (const VNInfo *VNI : SR.valnos) {
lib/CodeGen/MIRPrinter.cpp
  451   for (const MachineFunction::VariableDbgInfo &DebugVar :
lib/CodeGen/MachineBlockPlacement.cpp
  252   const_iterator end() const { return Blocks.end(); }
  904   for (MachineBasicBlock *Succ : ViableSuccs) {
 1004   for (auto Succ : ViableSuccs) {
lib/CodeGen/MachinePipeliner.cpp
  611     for (auto &SI : SU->Succs) {
lib/CodeGen/MachineTraceMetrics.cpp
  767   for (const LiveInReg &LIR : TBI.LiveIns) {
lib/CodeGen/MachineVerifier.cpp
 2673   for (const VNInfo *VNI : LR.valnos)
lib/CodeGen/PeepholeOptimizer.cpp
  770   for (const RegSubRegPair &RegPair : SrcRegs) {
lib/CodeGen/RegAllocGreedy.cpp
 2899   for (const HintInfo &Info : List) {
lib/CodeGen/RegisterCoalescer.cpp
  719   for (const LiveRange::Segment &S : Src.segments) {
lib/CodeGen/RegisterPressure.cpp
   99   for (const RegisterMaskPair &P : LiveInRegs) {
  107   for (const RegisterMaskPair &P : LiveOutRegs) {
  662   for (const RegisterMaskPair &P : RegOpers.Defs)
  665   for (const RegisterMaskPair &P : RegOpers.Uses)
  772   for (const RegisterMaskPair &Def : RegOpers.Defs) {
  802   for (const RegisterMaskPair &Use : RegOpers.Uses) {
  842     for (const RegisterMaskPair &Def : RegOpers.Defs) {
  913   for (const RegisterMaskPair &Use : RegOpers.Uses) {
  933   for (const RegisterMaskPair &Def : RegOpers.Defs) {
lib/CodeGen/RenameIndependentSubregs.cpp
  229     for (const SubRangeInfo &SRInfo : SubRangeInfos) {
  271   for (const SubRangeInfo &SRInfo : SubRangeInfos) {
lib/CodeGen/ScheduleDAG.cpp
  368     for (const SDep &Dep : SU.Preds) {
  378     for (const SDep &Dep : SU.Succs) {
lib/CodeGen/ScheduleDAGInstrs.cpp
 1274     for (const SDep &PredDep : SU->Preds) {
 1366     for (const SDep &SuccDep : PredSU->Succs) {
 1425     return getCurr()->Preds.end();
 1432   for (const SDep &SuccDep : SU->Succs) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 9038   for (SDNode *SetCC : SetCCs) {
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
 1984     for (const SDep &Pred : TempSU->Preds) {
 2087   for (const SDep &Pred : SU->Preds) {
 2329   for (const SDep &Succ : SU->Succs) {
 2347   for (const SDep &Pred : SU->Preds) {
 2358   for (const SDep &Pred : SU->Preds) {
 2380   for (const SDep &Succ : SU->Succs) {
 2447   for (const SDep &Pred : SU->Preds) {
 2847   for (const SDep &Succ : SU->Succs) {
 3076       for (const SDep &Succ : DUSU->Succs) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  851     ValueVTs.append(RHS.ValueVTs.begin(), RHS.ValueVTs.end());
  852     RegVTs.append(RHS.RegVTs.begin(), RHS.RegVTs.end());
  853     Regs.append(RHS.Regs.begin(), RHS.Regs.end());
  883     return std::accumulate(RegCount.begin(), RegCount.end(), 0) > 1;
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  247   assert(SlotIt != StatepointSlots.end() &&
lib/CodeGen/SpillPlacement.cpp
  186     for (const auto &Elt : Links) {
lib/CodeGen/SplitKit.cpp
  170   for (const VNInfo *VNI : CurLI->valnos)
lib/CodeGen/StackMaps.cpp
  186     for (const auto &Loc : CSLocs) {
  232     for (const auto &LO : LiveOuts) {
  521     for (const auto &Loc : CSLocs) {
  537     for (const auto &LO : LiveOuts) {
lib/CodeGen/TargetRegisterInfo.cpp
  396   for (auto Reg : Hints_MRI.second) {
lib/CodeGen/TwoAddressInstructionPass.cpp
  572   for (unsigned R : Set)
lib/CodeGen/WasmEHPrepare.cpp
  155   SmallVector<BasicBlock *, 8> WL(BBs.begin(), BBs.end());
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
  132   for (const AttributeSpec &Spec : AttributeSpecs) {
  163   for (const auto &Spec : AttributeSpecs) {
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  217     for (const auto &Atom : HdrData.Atoms) {
  263   for (const auto &Atom : HdrData.Atoms)
  778   for (const NameIndex &NI : NameIndices)
  834   for (const NameIndex *End = CurrentIndex->Section.NameIndices.end();
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  306     for (uint8_t Byte : AugmentationData)
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
   44   for (const Entry &E : Entries) {
   61   if (It != Locations.end() && It->Offset == Offset)
   80   for (const LocationList &L : Locations) {
  221   if (It != Locations.end() && It->Offset == Offset)
  308     for (const auto &Entry : Entries)
  313   for (const Entry &E : Entries)
  334   for (const LocationList &L : Locations) {
lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
   20   for (const Entry &E : Macros) {
lib/DebugInfo/DWARF/DWARFGdbIndex.cpp
   31   for (const CompUnitEntry &CU : CuList)
   40   for (const TypeUnitEntry &TU : TuList)
   50   for (const AddressEntry &Addr : AddressArea)
   63   for (const SymTableEntry &E : SymbolTable) {
   75         ConstantPoolVectors.begin(), ConstantPoolVectors.end(),
   79     assert(CuVector != ConstantPoolVectors.end() && "Invalid symbol table");
   90   for (const auto &V : ConstantPoolVectors) {
   92     for (uint32_t Val : V.second)
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  489           for (const auto &Entry : LocList->Entries)
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
  180   for (auto &I : BackEdgesInfo)
  221   for (auto &I : BackEdgesInfo)
  249   for (const auto I : CallerBlocks)
lib/IR/AsmWriter.cpp
 4095   for (const auto &I : MDs) {
lib/IR/DataLayout.cpp
  546   if (I != Alignments.end() && I->AlignType == (unsigned)AlignType &&
  638   if (I == Pointers.end() || I->AddressSpace != AS) {
  647   if (I == Pointers.end() || I->AddressSpace != AS) {
  656   if (I == Pointers.end() || I->AddressSpace != AS) {
  665   for (auto &P : Pointers)
  680   if (I == Pointers.end() || I->AddressSpace != AS) {
  785   for (unsigned LegalIntWidth : LegalIntWidths)
  792   auto Max = std::max_element(LegalIntWidths.begin(), LegalIntWidths.end());
  793   return Max != LegalIntWidths.end() ? *Max : 0;
lib/IR/DiagnosticInfo.cpp
  367                                     ? Args.end()
lib/IR/LegacyPassManager.cpp
  619     for (AnalysisID ID : IDs) {
  728     for (const AnalysisID ID : RequiredSet) {
  739           for (const AnalysisID ID2 : RequiredSet) {
  869   for (PMDataManager *Manager : PassManagers)
  879   for (ImmutablePass *P : ImmutablePasses)
  885   for (PMDataManager *PM : PassManagers)
  960   for (AnalysisID AID : PreservedSet) {
 1148   for (const auto &UsedID : AnUsage->getUsedSet())
 1152   for (const auto &RequiredID : AnUsage->getRequiredSet())
 1158   for (const auto &RequiredID : AnUsage->getRequiredTransitiveSet())
 1173   for (const AnalysisID ID : AnUsage->getRequiredSet()) {
 1220   for (Pass *P : PassVector) {
lib/IR/Metadata.cpp
 1134   for (const auto &I : Attachments)
 1142   Result.append(Attachments.begin(), Attachments.end());
 1154   for (const auto &A : Attachments)
 1162   for (const auto &A : Attachments)
 1177   for (const auto &A : Attachments)
lib/MC/MCAsmStreamer.cpp
  483   for (const MCSymbol *Arg : Args) {
lib/MC/MCAssembler.cpp
  897   for (const MCFixup &Fixup : F->getFixups())
lib/MC/MCCodePadder.cpp
  298   for (const MCPaddingFragment *Fragment : Range) {
  363   FullWindow.append(Window.begin(), Window.end());
lib/MC/MCDwarf.cpp
  334   for (auto &Dir : MCDwarfDirs) {
  397     for (const auto &Dir : MCDwarfDirs)
  403     for (const auto &Dir : MCDwarfDirs) {
lib/MC/MCLinkerOptimizationHint.cpp
   32   for (const MCSymbol *Arg : Args)
lib/MC/MCParser/AsmParser.cpp
  951     for (const auto &File : LineTables.begin()->second.getMCDwarfFiles()) {
lib/MC/MachObjectWriter.cpp
  645   for (const MCSection *Sec : Layout.getSectionOrder()) {
lib/MC/WasmObjectWriter.cpp
   91     for (wasm::ValType Ret : Sig.Returns)
   93     for (wasm::ValType Param : Sig.Params)
  613       DataBytes.insert(DataBytes.end(), Contents.begin(), Contents.end());
  617       DataBytes.insert(DataBytes.end(), Contents.begin(), Contents.end());
  687     for (wasm::ValType Ty : Sig.Params)
  690     for (wasm::ValType Ty : Sig.Returns)
 1549     for (const MCFixup &Fixup : DataFrag.getFixups()) {
lib/MC/WinCOFFObjectWriter.cpp
  523   for (const AuxSymbol &i : S) {
lib/MC/XCOFFObjectWriter.cpp
  538         for (const auto Sym : Csect.Syms)
lib/MCA/HardwareUnits/ResourceManager.cpp
  284   for (const std::pair<uint64_t, const ResourceUsage> &E : Desc.Resources) {
  300   for (const std::pair<uint64_t, ResourceUsage> &R : Desc.Resources) {
lib/MCA/InstrBuilder.cpp
  633   for (const ReadDescriptor &RD : D.Reads) {
  690   for (const WriteDescriptor &WD : D.Writes) {
lib/MCA/Stages/InstructionTables.cpp
   27   for (const std::pair<uint64_t, ResourceUsage> Resource : Desc.Resources) {
lib/Object/MachOObjectFile.cpp
 4139   return LoadCommands.end();
lib/Option/Arg.cpp
   93   Output.append(Values.begin(), Values.end());
   99     Output.append(Values.begin(), Values.end());
  117     Output.append(Values.begin() + 1, Values.end());
  122     Output.append(Values.begin(), Values.end());
lib/Option/ArgList.cpp
  143     Output.append(Values.begin(), Values.end());
lib/ProfileData/GCOV.cpp
  108   for (const auto &FPtr : Functions)
  354   for (const auto &Block : Blocks)
  416     for (const GCOVEdge *Edge : SrcEdges)
  422     for (const GCOVEdge *Edge : DstEdges)
  428     for (uint32_t N : Lines)
  449   for (auto E : Path) {
  452   for (auto E : Path) {
  471   for (auto GB : ToUnblock) {
  486     if (W < Start || find(Blocks, W) == Blocks.end()) {
  510       if (W < Start || find(Blocks, W) == Blocks.end()) {
  526   for (auto Block : Blocks) {
  540   for (auto Block : Blocks) {
  549         if (find(Blocks, W) == Blocks.end()) {
  758         for (const GCOVBlock *Block : Blocks) {
  807         for (const GCOVBlock *Block : Blocks) {
  836   for (const GCOVFunction *Func : Funcs) {
  931   for (const auto &FC : FileCoverages) {
lib/ProfileData/SampleProf.cpp
  136     for (const auto &SI : SortedBodySamples.get()) {
  151     for (const auto &CS : SortedCallsiteSamples.get()) {
lib/ProfileData/SampleProfReader.cpp
 1135     NewStack.insert(NewStack.end(), InlineStack.begin(), InlineStack.end());
 1183     NewStack.insert(NewStack.end(), InlineStack.begin(), InlineStack.end());
lib/ProfileData/SampleProfWriter.cpp
  239   for (const auto &I : SortedSamples.get()) {
  258   for (const auto &I : SortedCallsiteSamples.get())
lib/Remarks/BitstreamRemarkSerializer.cpp
  296   for (const Argument &Arg : Remark.Args) {
lib/Remarks/Remark.cpp
   24   for (const Argument &Arg : Args)
lib/Support/FoldingSet.cpp
  140   Bits.append(ID.Bits.begin(), ID.Bits.end());
  177   std::uninitialized_copy(Bits.begin(), Bits.end(), New);
lib/Support/TrigramIndex.cpp
  101     for (size_t J : II->second) {
lib/Support/VirtualFileSystem.cpp
  445   for (auto &FS : FSList)
lib/TableGen/TGParser.cpp
   64   for (Init *TA : TemplateArgs)
lib/Target/AArch64/AArch64AsmPrinter.cpp
  468   for (const auto &D : AArch64FI->getLOHContainer()) {
lib/Target/AArch64/AArch64CallLowering.cpp
  876     for (const auto &F : Forwards) {
lib/Target/AArch64/AArch64ISelLowering.cpp
 3853     for (const auto &F : Forwards) {
12408     for (auto *Exit : Exits)
lib/Target/AArch64/AArch64PromoteConstant.cpp
  504     for (auto Use : IPI.second) {
lib/Target/AArch64/AArch64StackTagging.cpp
  674       for (auto &II : Info.LifetimeStart)
  676       for (auto &II : Info.LifetimeEnd)
  681     for (auto DVI : Info.DbgVariableIntrinsics)
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  788       for (const SDep &SI : Succs[I]->Succs) {
  801       for (const SDep &SI : SU->Preds)
lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
  175   for (BasicBlock *BB : PDT.getRoots()) {
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  184         iterBlkEnd = OrderedBlks.end(); iterBlk != iterBlkEnd; ++iterBlk, ++i) {
lib/Target/AMDGPU/GCNILPSched.cpp
   65   for (const SDep &Pred : SU->Preds) {
  109   for (const SDep &Succ : SU->Succs) {
  124   for (const SDep &Pred : SU->Preds) {
  277   for (const auto &PredEdge : SU->Preds) {
lib/Target/AMDGPU/GCNMinRegStrategy.cpp
   94   for (auto SDep : SU->Succs) {
  185   for (const auto &S : SchedSU->Succs) {
  201     for (const auto &P : SU->Preds) {
  221   for (const auto &S : SU->Succs) {
lib/Target/AMDGPU/GCNRegPressure.cpp
  323   for (const auto &U : RegUses) {
  345   for (const auto &U : RegUses) {
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
  368     for (const auto &Src:Srcs) {
lib/Target/AMDGPU/SIISelLowering.cpp
 2010     for (auto *Exit : Exits)
 2097     Splits.append(Ins.begin(), Ins.end());
lib/Target/AMDGPU/SIMachineScheduler.cpp
  671   for (const auto &PredDep : SU.Preds) {
lib/Target/AMDGPU/SIPeepholeSDWA.cpp
 1142   for (auto &Operand : SDWAOperands) {
lib/Target/ARM/ARMISelLowering.cpp
17129     for (auto *Exit : Exits)
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  860   for (const MachineInstr *MI : Cand.Instrs) {
  923   for (MachineInstr *MI : Cand.Instrs)
 1894         for (MachineInstr *MI : Candidate->Instrs) {
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  140     for (Locs::const_iterator FI = FnStartLocs.begin(), FE = FnStartLocs.end();
  147                               UE = CantUnwindLocs.end(); UI != UE; ++UI)
  153                               HE = HandlerDataLocs.end(); HI != HE; ++HI)
  159                               PE = PersonalityLocs.end(),
  161                               PIE = PersonalityIndexLocs.end();
 2444            I = RegList.begin(), E = RegList.end(); I != E; ++I)
 2452            I = RegList.begin(), E = RegList.end(); I != E; ++I)
 3842            I = RegList.begin(), E = RegList.end(); I != E; ) {
 8195   for (auto &Op : Operands) {
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  265                                                 OCE = Opcodes.end();
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h
   63     Ops.insert(Ops.end(), Opcodes.begin(), Opcodes.end());
lib/Target/AVR/AVRISelLowering.cpp
  890   for (const ISD::InputArg &Arg : Ins) {
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1339     for (RangeTree::Node *N : Nodes) {
lib/Target/Hexagon/HexagonExpandCondsets.cpp
 1192   for (MachineInstr *MI : Condsets) {
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 1841     CycleType NewC(C.begin()+LogPos, C.end());
 1903     SwapElems.append(C.begin()+First, C.end());
lib/Target/Hexagon/HexagonMachineScheduler.cpp
   80   for (const auto &S : SUd->Succs) {
lib/Target/Hexagon/RDFGraph.cpp
  176   for (auto I : P.Obj) {
  208     for (NodeAddr<T> A : P.List) {
lib/Target/MSP430/MSP430ISelLowering.cpp
  415   for (auto &Arg : Args) {
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 1236     for (auto RegNo : getRegList())
lib/Target/Mips/MipsRegisterBankInfo.cpp
  329   for (const MachineInstr *WaitingInstr : getWaitingQueueFor(MI)) {
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  822     for (++Inst; Inst != Seq.end(); ++Inst) {
lib/Target/Mips/MipsSEInstrInfo.cpp
  640   for (++Inst; Inst != Seq.end() - LastInstrIsADDiu; ++Inst)
lib/Target/PowerPC/PPCCCState.cpp
   18   for (const auto &I : Outs) {
   28   for (const auto &I : Ins) {
lib/Target/PowerPC/PPCExpandISEL.cpp
  174     for (const auto &VI : I.second)
lib/Target/PowerPC/PPCISelLowering.cpp
 4568   for (const ISD::OutputArg& Param : Outs) {
15061     for (auto *Exit : Exits)
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
   73   for (const MCFixup &F : DF->getFixups()) {
lib/Target/RISCV/RISCVISelLowering.cpp
 2045   for (auto &VA : ArgLocs)
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
 1153   for (unsigned OpVal : VCI.OpVals)
lib/Target/SystemZ/SystemZISelLowering.cpp
 1648   for (auto &Out : Outs)
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  870   RetOps.append(OutVals.begin(), OutVals.end());
  874   for (const ISD::OutputArg &Out : Outs) {
  903   for (const ISD::InputArg &In : Ins) {
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
   88   SmallVector<MachineBasicBlock *, 8> WL(MBBs.begin(), MBBs.end());
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  710     for (const RangeTy &Range : Worklist)
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
  414   for (const FPOInstruction &Inst : FPO->Instructions) {
lib/Target/X86/X86DomainReassignment.cpp
  362     for (MachineInstr *MI : Instrs) {
lib/Target/X86/X86ISelLowering.cpp
 3906     for (const auto &F : Forwards) {
45229     if (std::count(AsmPieces.begin(), AsmPieces.end(), "~{cc}") &&
45230         std::count(AsmPieces.begin(), AsmPieces.end(), "~{flags}") &&
45231         std::count(AsmPieces.begin(), AsmPieces.end(), "~{fpsr}")) {
45235       else if (std::count(AsmPieces.begin(), AsmPieces.end(), "~{dirflag}"))
46206     for (auto *Exit : Exits)
lib/Target/X86/X86OptimizeLEAs.cpp
  343   for (auto DefMI : List) {
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  719     for (auto *CondBr : CondBrs)
  785     for (auto *CondBr : CondBrs) {
lib/TextAPI/MachO/InterfaceFile.cpp
  118     for (const auto &Target : Targets)
lib/TextAPI/MachO/TextStub.cpp
  645           for (const auto &Target : Targets)
  649           for (const auto &Target : Targets)
  835                                         it.second.begin(), it.second.end());
  860                                             TargetIDs.begin(), TargetIDs.end());
 1006                                       targets.begin(), targets.end());
lib/Transforms/Coroutines/CoroElide.cpp
  166   for (CoroSubFnInst *DA : DestroyAddr) {
lib/Transforms/Coroutines/CoroFrame.cpp
   58     assert(I != V.end() && *I == BB && "BasicBlockNumberng: Unknown block");
  325   for (auto const &E : Spills) {
  360     for (auto *Ty : Types)
  653   for (auto const &E : Spills) {
  961   for (auto const &E : Spills) {
lib/Transforms/IPO/BlockExtractor.cpp
   49     for (const SmallVectorImpl<BasicBlock *> &GroupOfBlocks :
   52       NewGroup.append(GroupOfBlocks.begin(), GroupOfBlocks.end());
   66     for (BasicBlock *BB : BlocksToExtract) {
  182     for (const auto &BBInfo : BInfo.second) {
lib/Transforms/IPO/DeadArgumentElimination.cpp
  670       for (const auto &MaybeLiveUse : MaybeLiveUses)
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  624   for (const FAddend *Opnd : Opnds) {
  708   for (const FAddend *Opnd : Opnds) {
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  282     for (const RegInfo &RI : RegInfos)
  473   for (const RegInfo &RI : RegInfos) {
  488   for (CHRScope *Sub : Subs) {
 1510     for (SelectInst *SI : RI.Selects) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  316     edge_iterator pred_end() const { return Preds.end(); }
  318     edge_iterator succ_end() const { return Succs.end(); }
lib/Transforms/Scalar/CallSiteSplitting.cpp
  167   for (auto &Cond : Conditions) {
lib/Transforms/Scalar/ConstantHoisting.cpp
  314   for (auto const &RCI : ConstInfo.RebasedConstants)
  315     for (auto const &U : RCI.Uses)
  844       for (auto const &RCI : ConstInfo.RebasedConstants) {
  845         for (auto const &U : RCI.Uses) {
lib/Transforms/Scalar/GVN.cpp
  136         hash_combine_range(Value.varargs.begin(), Value.varargs.end()));
lib/Transforms/Scalar/GVNHoist.cpp
  772       for (auto &I : V) {
  876     for (const Instruction *OtherInst : InstructionsToHoist) {
  914     for (Instruction *I : Candidates) {
 1015       for (Instruction *I : InstructionsToHoist)
lib/Transforms/Scalar/GVNSink.cpp
  308       return (unsigned)hash_combine_range(Values.begin(), Values.end());
lib/Transforms/Scalar/GuardWidening.cpp
  386                  ? std::find(GuardsInCurBB.begin(), GuardsInCurBB.end(), Instr)
  387                  : GuardsInCurBB.end();
lib/Transforms/Scalar/JumpThreading.cpp
 1541   for (const auto &PredToDest : PredToDestList)
lib/Transforms/Scalar/LoopDistribute.cpp
  631   AccessesType::const_iterator end() const { return Accesses.end(); }
  636     Accesses.append(Instructions.begin(), Instructions.end());
  639     for (auto &Dep : Dependences)
  914               for (unsigned PtrIdx1 : Check.first->Members)
  915                 for (unsigned PtrIdx2 : Check.second->Members)
lib/Transforms/Scalar/LoopFuse.cpp
  422   for (const auto &CandidateSet : FusionCandidates) {
  459       for (Loop *L : LV)
  475   const_iterator end() const { return LoopsOnLevel.end(); }
  492   for (auto L : LV)
  610     for (Loop *L : LV) {
  985     for (Instruction *WriteL0 : FC0.MemWrites) {
  986       for (Instruction *WriteL1 : FC1.MemWrites)
  993       for (Instruction *ReadL1 : FC1.MemReads)
 1002     for (Instruction *WriteL1 : FC1.MemWrites) {
 1003       for (Instruction *WriteL0 : FC0.MemWrites)
 1010       for (Instruction *ReadL0 : FC0.MemReads)
lib/Transforms/Scalar/LoopLoadElimination.cpp
  189     for (const auto &Dep : *Deps) {
  344         std::max_element(Candidates.begin(), Candidates.end(),
  351         std::min_element(Candidates.begin(), Candidates.end(),
  370                   MemInstrs.end(), InsertStorePtr);
  397               for (auto PtrIdx1 : Check.first->Members)
  398                 for (auto PtrIdx2 : Check.second->Members)
lib/Transforms/Scalar/LoopRerollPass.cpp
  246       const_iterator end() const { return Instructions.end(); }
  725   for (Instruction *Root : Roots)
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  166       for (const BasicBlock *BB : S)
lib/Transforms/Scalar/LoopSink.cpp
  138   for (BasicBlock *ColdestBB : ColdLoopBBs) {
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  256   const_iterator end() const   { return RegSequence.end(); }
  483       find_if(make_range(BaseRegs.begin(), BaseRegs.end()), [&](const SCEV *S) {
  487   return I == BaseRegs.end();
  580   for (const SCEV *BaseReg : BaseRegs)
  597   for (const SCEV *BaseReg : BaseRegs) {
 1117     return static_cast<unsigned>(hash_combine_range(V.begin(), V.end()));
 1341   for (const SCEV *BaseReg : F.BaseRegs) {
 1364   for (const LSRFixup &Fixup : LU.Fixups) {
 1525   for (const Formula &F : Formulae)
 1551   for (const SCEV *BaseReg : F.BaseRegs)
 1559   Regs.insert(F.BaseRegs.begin(), F.BaseRegs.end());
 1580     Regs.insert(F.BaseRegs.begin(), F.BaseRegs.end());
 1609   for (const LSRFixup &Fixup : Fixups) {
 1745     for (const LSRFixup &Fixup : LU.Fixups)
 1882     return Incs.end();
 3365   for (const SCEV *BaseReg : F.BaseRegs)
 3606                        ((const SmallVector<const SCEV *, 8> &)AddOps).end());
 3821         for (int64_t Offset : Worklist) {
 3828   for (int64_t Offset : Worklist)
 4921   for (const Formula &F : LU.Formulae) {
 5018     for (Instruction *Inst : Inputs) {
 5160   for (const SCEV *Reg : F.BaseRegs) {
 5599     for (const Formula &F : LU.Formulae)
 5633     for (const LSRFixup &LF : LU.Fixups) {
 5646     for (const Formula &F : LU.Formulae) {
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  113   for (Instruction *SI : TheStores)
  162   const_iterator end() const { return Ranges.end(); }
  401                                                    : Range.TheStores) dbgs()
  409     for (Instruction *SI : Range.TheStores) {
lib/Transforms/Scalar/SROA.cpp
  254   const_iterator end() const { return Slices.end(); }
lib/Transforms/Scalar/StructurizeCFG.cpp
  623       for (const auto &VI : PI.second) {
  631       for (BasicBlock *FI : From)
lib/Transforms/Utils/ASanStackFrameLayout.cpp
  103   for (const auto &Var : Vars) {
  123   for (const auto &Var : Vars) {
  140   for (const auto &Var : Vars) {
lib/Transforms/Utils/CloneFunction.cpp
  741   for (auto *BB : Blocks)
lib/Transforms/Utils/LCSSA.cpp
  139     for (BasicBlock *ExitBB : ExitBlocks) {
lib/Transforms/Utils/LoopVersioning.cpp
  131   for (auto *Inst : DefsUsedOutside) {
  186   for (const auto &Group : RtPtrChecking->CheckingGroups) {
  189     for (unsigned PtrIdx : Group.Members)
  217   for (Instruction *I : LAI.getDepChecker().getMemoryInstructions()) {
lib/Transforms/Utils/MisExpect.cpp
  125           Weights.begin(), Weights.end(), (uint64_t)0, std::plus<uint64_t>());
lib/Transforms/Utils/PredicateInfo.cpp
  611     for (auto &PossibleCopy : ValueInfo.Infos) {
lib/Transforms/Utils/SSAUpdater.cpp
  358   for (Instruction *User : Insts)
  367   for (Instruction *User : Insts) {
  463   for (Instruction *User : Insts) {
lib/Transforms/Utils/SimplifyCFG.cpp
 5254   for (auto ValuePair : Values) {
lib/Transforms/Vectorize/LoopVectorize.cpp
 6375     VecValuesToIgnore.insert(Casts.begin(), Casts.end());
 6555     DeadInstructions.insert(Casts.begin(), Casts.end());
lib/Transforms/Vectorize/SLPVectorizer.cpp
 1113       for (const OperandDataVec &OpDataVec : OpsVec) {
 1115         for (const OperandData &OpData : OpDataVec) {
 1350         for (const Value *V : Operands[OpI])
 1354       for (Value *V : Scalars)
 1369         for (unsigned ReuseIdx : ReuseShuffleIndices)
 1377       for (const auto &EInfo : UserTreeIndices)
 1935       return static_cast<unsigned>(hash_combine_range(V.begin(), V.end()));
 2053     for (auto V : Entry->Scalars) {
 2056               R->ExternalUses.begin(), R->ExternalUses.end(),
 3364   for (const auto &TEPtr : VectorizableTree) {
lib/Transforms/Vectorize/VPlan.cpp
  123   for (VPBlockBase *PredVPBlock : getHierarchicalPredecessors()) {
  424     for (VPBlockBase *SuccVPBlock : VPBB->getHierarchicalSuccessors()) {
  566     for (auto *Successor : Successors)
lib/Transforms/Vectorize/VPlan.h
 1365     return N->getSuccessors().end();
 1612       return static_cast<unsigned>(hash_combine_range(V.begin(), V.end()));
lib/Transforms/Vectorize/VPlanValue.h
  103   const_user_iterator user_end() const { return Users.end(); }
  177   const_operand_iterator op_end() const { return Operands.end(); }
lib/Transforms/Vectorize/VPlanVerifier.cpp
   31   for (const auto *Block : VPBlockVec) {
   63     for (const VPBlockBase *Succ : Successors) {
   66       assert(std::find(SuccPreds.begin(), SuccPreds.end(), VPB) !=
   67                  SuccPreds.end() &&
   80     for (const VPBlockBase *Pred : Predecessors) {
   87       assert(std::find(PredSuccs.begin(), PredSuccs.end(), VPB) !=
   88                  PredSuccs.end() &&
tools/clang/include/clang/AST/AttrIterator.h
  108   return specific_attr_iterator<SpecificAttr, Container>(container.end());
tools/clang/include/clang/AST/DeclBase.h
  509     return hasAttrs() ? getAttrs().end() : nullptr;
tools/clang/include/clang/AST/OSLog.h
  120     for (auto &item : Items) {
tools/clang/include/clang/AST/UnresolvedSet.h
   86   const_iterator end() const { return const_iterator(decls().end()); }
tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h
  268   for (const BoundNodes &N : Results) {
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  256     for (const BoundNodesMap &NodesMap : Bindings) {
tools/clang/include/clang/Analysis/Analyses/Dominators.h
  265       for (CFGBlock *isControlDependency : getControlDependencies(BB))
tools/clang/include/clang/Analysis/Analyses/UninitializedValues.h
  100   branch_iterator branch_end() const { return UninitBranches.end(); }
tools/clang/include/clang/Analysis/CallGraph.h
  165   const_iterator end() const { return CalledFunctions.end(); }
tools/clang/include/clang/Driver/Action.h
  153   input_const_iterator input_end() const { return Inputs.end(); }
tools/clang/include/clang/Driver/Job.h
  198   const_iterator end() const { return Jobs.end(); }
tools/clang/include/clang/Edit/Commit.h
  122   edit_iterator edit_end() const { return CachedEdits.end(); }
tools/clang/include/clang/Frontend/ASTUnit.h
  598     return StoredDiagnostics.end();
tools/clang/include/clang/Lex/MacroInfo.h
  243   tokens_iterator tokens_end() const { return ReplacementTokens.end(); }
tools/clang/include/clang/Lex/PreprocessorLexer.h
  171     return ConditionalStack.end();
tools/clang/include/clang/Sema/DeclSpec.h
 2203     return type_object_range(DeclTypeInfo.begin(), DeclTypeInfo.end());
tools/clang/include/clang/Sema/DelayedDiagnostic.h
  323   pool_iterator pool_end() const { return Diagnostics.end(); }
tools/clang/include/clang/Sema/Initialization.h
 1184   step_iterator step_end()   const { return Steps.end(); }
tools/clang/include/clang/Sema/Overload.h
  454     const_iterator end() const { return conversions().end(); }
tools/clang/include/clang/Sema/TemplateDeduction.h
  156   diag_iterator diag_end() const { return SuppressedDiagnostics.end(); }
tools/clang/include/clang/Sema/TypoCorrection.h
  241     return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin();
  244   const_decl_iterator end() const { return CorrectionDecls.end(); }
tools/clang/include/clang/Serialization/ContinuousRangeMap.h
   91   const_iterator end() const { return Rep.end(); }
tools/clang/include/clang/Serialization/ModuleManager.h
  157   ModuleConstIterator end() const { return Chain.end(); }
  168     return llvm::make_range(PCHChain.begin(), PCHChain.end());
tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
  570     for (const auto Checker : info.Checkers)
tools/clang/lib/AST/ASTImporter.cpp
  634           InContainer.begin(), InContainer.end(), OutContainer.begin());
 8011       for (Decl *FromDi : Path) {
tools/clang/lib/AST/CXXInheritance.cpp
  364     for (const CXXBasePathElement &PE : Path) {
  564                                 MEnd = I->second.end();
tools/clang/lib/AST/CommentCommandTraits.cpp
   76   for (const auto *Command : RegisteredCommands)
tools/clang/lib/AST/DeclBase.cpp
  392   specific_attr_iterator<AlignedAttr> I(V.begin()), E(V.end());
tools/clang/lib/AST/Interp/Record.h
   65     return llvm::make_range(Fields.begin(), Fields.end());
   73     return llvm::make_range(Bases.begin(), Bases.end());
   81     return llvm::make_range(VirtualBases.begin(), VirtualBases.end());
tools/clang/lib/AST/ItaniumMangle.cpp
  317                            AdditionalAbiTags->end());
  319                        AdditionalAbiTags->end());
  367       for (const auto &Tag : AbiTags) {
  695                           UsedAbiTags.begin(), UsedAbiTags.end(),
  713                                  E = FD->getAttrs().end();
  839                             UsedAbiTags.end(), AdditionalAbiTags.begin()),
tools/clang/lib/AST/Mangle.cpp
  415           for (const auto &T : *TIV)
tools/clang/lib/AST/OSLog.cpp
  137     for (auto &Data : ArgsData) {
tools/clang/lib/AST/RecordLayoutBuilder.cpp
  281   for (const BaseSubobjectInfo *Base : Info->Bases) {
  331   for (const BaseSubobjectInfo *Base : Info->Bases) {
 1109   for (const BaseSubobjectInfo *Base : Info->Bases) {
tools/clang/lib/AST/VTableBuilder.cpp
 2669     for (const CXXBasePathElement &Element : Path) {
 3272     for (const std::unique_ptr<VPtrInfo> &BaseInfo : BasePaths) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  259   Bindings.append(Other.Bindings.begin(), Other.Bindings.end());
  430     for (auto& P: Patterns)
tools/clang/lib/Analysis/CloneDetection.cpp
  160   for (const StmtSequence &S : Group) {
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  144   for (const auto &RefNodes : Refs) {
  398   for (const auto &Nodes : Matches) {
tools/clang/lib/Analysis/ThreadSafety.cpp
  191   const_iterator end() const { return FactIDs.end(); }
  928     for (const auto &UnderlyingMutex : UnderlyingMutexes) {
  945     for (const auto &UnderlyingMutex : UnderlyingMutexes) {
  961     for (const auto &UnderlyingMutex : UnderlyingMutexes) {
tools/clang/lib/Basic/FileManager.cpp
  542   for (const auto &VFE : VirtualFileEntries)
tools/clang/lib/Basic/Module.cpp
  210   return printModuleId(OS, C.begin(), C.end());
  265   for (auto *Use : Top->DirectUses)
  487     for (auto &H : Headers[K.Kind]) {
  496     for (auto &U : *Unresolved) {
tools/clang/lib/Basic/SourceManager.cpp
  765     I = LocalSLocEntryTable.end();
tools/clang/lib/CodeGen/CGBlocks.cpp
 1920   for (const BlockCaptureManagedEntity &E : Captures) {
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1130     for (const auto &Item : Layout.Items)
 1198   for (const auto &Item : Layout.Items) {
tools/clang/lib/CodeGen/CGCall.cpp
  357   for (auto &arg : args)
  365   for (auto &arg : args)
  397   for (const auto &Arg : args)
  597   for (const auto &arg : args)
  643   for (const auto &Arg : args)
 2285   for (FunctionArgList::const_iterator i = Args.begin(), e = Args.end();
 3891   for (CallArgList::const_iterator I = CallArgs.begin(), E = CallArgs.end();
tools/clang/lib/CodeGen/CGCall.h
  297       insert(end(), other.begin(), other.end());
  299                         other.Writebacks.begin(), other.Writebacks.end());
  302                                   other.CleanupsToDeactivate.end());
  320       return writeback_const_range(Writebacks.begin(), Writebacks.end());
tools/clang/lib/CodeGen/CGClass.cpp
 2334   FunctionArgList::const_iterator I = Args.begin(), E = Args.end();
tools/clang/lib/CodeGen/CGLoopInfo.cpp
  767     for (const auto &AL : Active) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1191       for (auto MD : list) {
 2869   for (const CGObjCCommonMac::RUN_SKIP &R : RunSkipBlockVars) {
 7134   args.insert(args.end(), formalArgs.begin(), formalArgs.end());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4409              E(VD->getAttrs().end());
 4970   for (const Expr *E : Data.PrivateVars) {
 4980   for (const Expr *E : Data.FirstprivateVars) {
 4991   for (const Expr *E : Data.LastprivateVars) {
 8029       for (const MapInfo &L : M.second) {
 8138       for (const MapInfo &L : M.second) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  277              E(VD->getAttrs().end());
 5074       for (const RecordDecl *RD : Records.Records) {
tools/clang/lib/CodeGen/CGVTT.cpp
   53                        *e = Builder.getVTTVTables().end(); i != e; ++i) {
   61                           *e = Builder.getVTTComponents().end(); i != e; ++i) {
tools/clang/lib/CodeGen/CGVTables.cpp
  614   for (const ThunkInfo& Thunk : *ThunkInfoVector)
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  859     for (const VarDecl *VD : Args)
 1012   for (FunctionArgList::const_iterator i = Args.begin(), e = Args.end();
 2161       ReqFeatures.begin(), ReqFeatures.end(), [&](StringRef Feature) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2844   for (StringRef Feat : RO.Conditions.Features)
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1331     for (const CXXBasePathElement &PathElement : Path) {
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
   98     for (const std::unique_ptr<VPtrInfo> &VBT : *VBGlobals.VBTables) {
 1659   for (const std::unique_ptr<VPtrInfo>& Info : VFPtrs) {
 1756       VFPtrs.begin(), VFPtrs.end(), [&](const std::unique_ptr<VPtrInfo>& VPI) {
 1759   if (VFPtrI == VFPtrs.end()) {
 1957                                       E = VBGlobals.VBTables->end();
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  545   for (auto &entry : Entries) {
  565   for (auto &entry : Entries) {
  594     for (auto &entry : Entries) {
  624   for (auto &entry : Entries) {
tools/clang/lib/CodeGen/TargetInfo.cpp
 2329              it = args.begin(), ie = args.end(); it != ie; ++it) {
tools/clang/lib/Driver/Action.cpp
  234   auto E = getInputs().end();
  303   for (auto K : DDeps.getOffloadKinds())
tools/clang/lib/Driver/Compilation.cpp
  132   for (const auto &File: Files)
  207   for (const auto &CI : FailingCommands)
tools/clang/lib/Driver/Driver.cpp
 1367   for (const char *TempFile : TempFiles) {
 1711     for (const std::string &Path : TC.getProgramPaths()) {
 1722     for (const std::string &Path : TC.getFilePaths()) {
 1867       for (Action *PreRequisite : *AL) {
 1907   for (Action *A : C.getActions())
 2591           for (auto Ph : Phases) {
 3257   for (auto &I : Inputs) {
 3390   for (auto &I : Inputs) {
 3501     for (auto &I : Inputs)
 3814                                     ActionInfo[I].SavedOffloadAction.end());
 4557     for (const auto &Dir : P) {
 4625   for (const auto &PrefixDir : PrefixDirs) {
 4638   for (const auto &Path : List) {
tools/clang/lib/Driver/Job.cpp
  122     for (const auto *Arg : InputFileList) {
  131   for (const auto *Arg : Arguments) {
  157   for (const auto *InputName : InputFileList)
  163   for (const auto *Arg : Arguments) {
  255       if (Found != InputFilenames.end() &&
  319     for (const char *Arg : InputFilenames)
  337     Argv.append(Arguments.begin(), Arguments.end());
tools/clang/lib/Driver/SanitizerArgs.cpp
  877   for (auto Start = CmdArgs.begin(), End = CmdArgs.end(); Start != End; ++Start) {
tools/clang/lib/Driver/ToolChain.cpp
  406   for (const auto &LibPath : getLibraryPaths()) {
  691         for (StringRef Value : A->getValues()) {
  889   for (const auto &LibPath : getFilePaths())
tools/clang/lib/Driver/ToolChains/Ananas.cpp
   38   for (const auto &II : Inputs)
tools/clang/lib/Driver/ToolChains/Clang.cpp
 2063     for (StringRef Value : A->getValues()) {
 3409   for (const InputInfo &I : Inputs) {
 3749     for (const auto &II : Inputs) {
 6443   for (const InputInfo &I : Inputs) {
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  157   for (const auto &II : Inputs) {
 1275   for (const auto &II : Inputs) {
tools/clang/lib/Driver/ToolChains/CrossWindows.cpp
   54   for (const auto &Input : Inputs)
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  401   for (const auto& II : Inputs)
  465   for (const auto& II : Inputs) {
  545   for (const auto &II : Inputs) {
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  171   for (const auto &Input : Inputs)
  564   for (const auto &II : Inputs) {
  674   for (const auto &II : Inputs) {
tools/clang/lib/Driver/ToolChains/DragonFly.cpp
   44   for (const auto &II : Inputs)
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp
  111   for (const auto &II : Inputs)
tools/clang/lib/Driver/ToolChains/Gnu.cpp
  150   for (const auto &II : Inputs) {
  879   for (const auto &II : Inputs)
 1776                                        D.PrefixDirs.end());
 2420   for (StringRef CandidateTriple : CandidateTriples) {
 2425   for (StringRef CandidateTriple : CandidateBiarchTriples) {
tools/clang/lib/Driver/ToolChains/HIP.cpp
   73   for (const auto &II : Inputs)
  205   for (const auto &II : Inputs) {
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  165   for (const auto &II : Inputs) {
  316   for (const auto &LibPath : LibPaths)
  386   for (auto &I : PrefixDirs)
  428   std::copy(D.PrefixDirs.begin(), D.PrefixDirs.end(),
tools/clang/lib/Driver/ToolChains/InterfaceStubs.cpp
   29   for (const auto &Input : Inputs)
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  464   for (const auto &Input : Inputs) {
tools/clang/lib/Driver/ToolChains/MinGW.cpp
   48   for (const auto &II : Inputs)
tools/clang/lib/Driver/ToolChains/Minix.cpp
   35   for (const auto &II : Inputs)
tools/clang/lib/Driver/ToolChains/NaCl.cpp
   40   NewInputs.append(Inputs.begin(), Inputs.end());
tools/clang/lib/Driver/ToolChains/NetBSD.cpp
  102   for (const auto &II : Inputs)
tools/clang/lib/Driver/ToolChains/OpenBSD.cpp
   88   for (const auto &II : Inputs)
tools/clang/lib/Driver/ToolChains/Solaris.cpp
   40   for (const auto &II : Inputs)
tools/clang/lib/Driver/ToolChains/XCore.cpp
   51   for (const auto &II : Inputs)
tools/clang/lib/Format/AffectedRangeManager.cpp
   63                                                         E = Ranges.end();
tools/clang/lib/Format/Format.cpp
 1378     for (const AnnotatedLine *Line : Lines) {
 1396     for (const AnnotatedLine *Line : Lines) {
 1771     for (auto Line : AnnotatedLines) {
tools/clang/lib/Format/TokenAnnotator.h
   63       for (const auto &Child : Node.Children) {
tools/clang/lib/Format/UnwrappedLineFormatter.cpp
  166       : Style(Style), Keywords(Keywords), End(Lines.end()), Next(Lines.begin()),
tools/clang/lib/Format/UnwrappedLineParser.cpp
  526   for (const auto &i : PPStack) {
 2463              E = Node.Children.end();
tools/clang/lib/Frontend/ASTUnit.cpp
 2364   for (const auto &SD : Diags) {
tools/clang/lib/Frontend/DiagnosticRenderer.cpp
  278                            CommonArgExpansions.end(), MacroFileID))
tools/clang/lib/Index/IndexBody.cpp
   27     return StmtStack.size() < 2 ? nullptr : StmtStack.end()[-2];
tools/clang/lib/Lex/MacroInfo.cpp
  160   for (const Token &Tok : ReplacementTokens) {
tools/clang/lib/Lex/ModuleMap.cpp
  682              E = Known->second.end();
  972                                inferred->second.ExcludedModules.end(),
  973                                Name) == inferred->second.ExcludedModules.end();
tools/clang/lib/Lex/PPMacroExpansion.cpp
  631                                               E = Tokens.end();
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 1364     WeakUseVector::const_iterator UI = Uses.begin(), UE = Uses.end();
 1489     for (const auto &Use : Uses) {
 1578     return std::any_of(vec->begin(), vec->end(), [](const UninitUse &U) {
 1677       for (const auto &Note : Diag.second)
 1897       for (const auto &Note : Diag.second)
 2015   for (const auto &D : fscope->PossiblyUnreachableDiags)
tools/clang/lib/Sema/ScopeInfo.cpp
  226   for (auto &Cap : Captures)
  234   for (Expr *E : PotentiallyCapturingExprs) {
tools/clang/lib/Sema/Sema.cpp
 1229       for (const auto &DeleteExprLoc : DeletedFieldInfo.second) {
tools/clang/lib/Sema/SemaAccess.cpp
  129     return llvm::find(Records, R) != Records.end();
  413     for (const CXXRecordDecl *Context : EC.Records) {
  445          I = EC.Records.begin(), E = EC.Records.end(); I != E; ++I) {
  496          I = EC.Functions.begin(), E = EC.Functions.end(); I != E; ++I) {
  517          I = EC.Functions.begin(), E = EC.Functions.end(); I != E; ++I) {
  741          I = EC.Records.begin(), E = EC.Records.end(); I != E; ++I) {
 1028          I = EC.Records.begin(), E = EC.Records.end(); I != E; ++I) {
tools/clang/lib/Sema/SemaCast.cpp
  926     for (CXXBasePath::const_iterator IElem = Path.begin(), EElem = Path.end();
tools/clang/lib/Sema/SemaDecl.cpp
 7201   for (const Capture &Capture : LSI->Captures) {
 7364   for (const auto &Shadow : LSI->ShadowingDecls) {
tools/clang/lib/Sema/SemaExprCXX.cpp
 3174   for (const auto *NE : Detector.NewExprs)
tools/clang/lib/Sema/SemaInit.cpp
 7276   for (auto Elem : Path) {
tools/clang/lib/Sema/SemaLookup.cpp
  196     const_iterator end() const { return list.end(); }
tools/clang/lib/Sema/SemaOpenMP.cpp
  558       for (const OMPRequiresDecl *D : RequiresDecls) {
  752         for (OMPClauseMappableExprCommon::MappableExprComponentListRef L :
  774       for (OMPClauseMappableExprCommon::MappableExprComponentListRef L :
 1109     for (specific_attr_iterator<AlignedAttr> I(Attrs->begin()), E(Attrs->end());
tools/clang/lib/Sema/SemaStmtAttr.cpp
  192   for (const auto *I : Attrs) {
tools/clang/lib/Sema/SemaType.cpp
  247       for (auto *Attr : ignoredTypeAttrs)
tools/clang/lib/Serialization/ASTReader.cpp
 3994   for (Decl *D : Names) {
 8845     PendingIdentifierInfos[II].append(DeclIDs.begin(), DeclIDs.end());
tools/clang/lib/Serialization/ASTReaderInternals.h
  112     for (DeclID ID : From)
tools/clang/lib/Serialization/ASTWriter.cpp
 2097     const char *strings_end() const { return FrameworkStringData.end(); }
 3888     for (NamedDecl *D : Decls) {
 3897     for (auto ID : FromReader)
 4883       for (const auto &DeleteLoc : DeleteExprsInfo.second) {
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  208       return (llvm::find(DstArgs, ArgNum) != DstArgs.end());
  590   for (unsigned ArgNum : SrcArgs) {
  614   for (unsigned ArgNum : DstArgs) {
  831   for (unsigned ArgNum : Args) {
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
  331     for (const auto *FD : OptimalFieldsOrder)
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
  136     for (auto FuncInfo : VAListAccepters) {
  272   for (auto Reg : LeakedVALists) {
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  721     for (const auto &I : CallStack) {
 2144   for (SourceRange range : Ranges) {
 2167   for (SourceRange range : Ranges) {
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  728   RegionSequence.append(FieldChain.begin(), FieldChain.end());
tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp
  167     CheckersTy::const_iterator checkers_end() { return Checkers.end(); }
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
 1238           It, SuperExpArgTokens.begin(), SuperExpArgTokens.end());
tools/clang/lib/StaticAnalyzer/Core/Store.cpp
  267   for (const auto &I : Path)
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
  393     for (const auto I : *Deps) {
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  245   for (const CheckerRegistry::CheckerInfo *Dependency : Deps) {
  461   if (OptionIt == OptionList.end()) {
  497     if (PackageIt != Packages.end()) {
  576     for (const CmdLineOption &Option : Checker.CmdLineOptions) {
  581   for (const PackageInfo &Package : Packages) {
  582     for (const CmdLineOption &Option : Package.CmdLineOptions) {
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  285     for (NodeId Child : N.Children)
  299     for (NodeId Child : Tree.getNode(Ids[Expanded++]).Children)
  309     for (NodeId Child : getNode(Id).Children)
  752     for (NodeId Child : Tree.getNode(Id).Children)
tools/clang/lib/Tooling/Core/Diagnostic.cpp
   55   if (Iter != D.Notes.end())
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  313     for (const auto &Inc : It->second)
  327     for (const auto *Inc : Iter->second) {
  352   for (const auto &Inc : Iter->second) {
tools/clang/lib/Tooling/Tooling.cpp
   97     for (auto A : Actions){
tools/clang/lib/Tooling/Transformer/RewriteRule.cpp
   92   for (const auto &Case : Cases) {
  109     R.Cases.append(Rule.Cases.begin(), Rule.Cases.end());
tools/clang/tools/clang-diff/ClangDiff.cpp
  305   for (diff::NodeId Child : Node.Children)
tools/clang/tools/clang-refactor/TestSupport.cpp
   35     for (const auto &Range : Group.Ranges) {
   53     for (const TestSelectionRange &Range : Group.Ranges) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
   27   for (auto I = Namespaces.begin() + 1, E = Namespaces.end(); I != E; ++I)
tools/clang/tools/extra/clang-doc/BitcodeWriter.cpp
  443   for (const auto &A : I.AttrKeys)
  445   for (const auto &A : I.AttrValues)
  447   for (const auto &A : I.Args)
  458   for (const auto &N : I.Namespace)
  476   for (const auto &N : I.Namespace)
  482   for (const auto &L : I.Loc)
  485   for (const auto &N : I.Members)
  494   for (const auto &N : I.Namespace)
  500   for (const auto &L : I.Loc)
  504   for (const auto &N : I.Members)
  506   for (const auto &P : I.Parents)
  508   for (const auto &P : I.VirtualParents)
  529   for (const auto &M : I.Members)
  539   for (const auto &N : I.Namespace)
  547   for (const auto &L : I.Loc)
  551   for (const auto &N : I.Params)
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  331   for (const auto &R : Refs) {
  369   for (const auto &M : Members)
  404   for (const auto &M : Members) {
  694   for (const auto &P : I.Params) {
tools/clang/tools/extra/clang-doc/MDGenerator.cpp
   35   for (const auto &R : Refs) {
  117     for (const auto &N : I.Members)
  131   for (const auto &N : I.Params) {
  218     for (const auto Member : I.Members) {
tools/clang/tools/extra/clang-doc/YAMLGenerator.cpp
   66     for (const auto &C : S)
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  181     for (const auto &Note : Error.Notes)
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
  129   for (const CXXRecordDecl *Parent : Parents) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
   37   for (const FieldDecl *F : Fields) {
   75   for (const T *Decl : OrderedDecls) {
  144         llvm::join(Initializers.begin(), Initializers.end(), "(), ");
tools/clang/tools/extra/clang-tidy/fuchsia/RestrictSystemIncludesCheck.cpp
   81     for (const auto &Include : FileDirectives) {
tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.cpp
  174     for (const auto *Overload : RP.second) {
  176           std::find_if(RP.second.begin(), RP.second.end(),
  193       if (Match == RP.second.end()) {
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp
  412   for (const Usage &U : Usages) {
  428   for (const auto &U : Usages) {
  574     for (const auto &Usage : Usages) {
  690   for (const Usage &U : Usages) {
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
  238   for (const auto &I : *Container) {
  472   for (const auto &I : Components)
tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp
  156       for (const clang::Attr *A : Method->getAttrs()) {
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
  202   for (const DifferingParamInfo &ParamInfo : DifferingParams) {
  232   for (const DifferingParamInfo &ParamInfo : DifferingParams) {
  252   for (const InconsistentDeclarationInfo &InconsistentDeclaration :
  273   for (const InconsistentDeclarationInfo &InconsistentDeclaration :
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.cpp
  132                             IgnoredIntegerValues.end(), Value);
  143                               IgnoredFloatingPointValues.end(), Value);
  149                               IgnoredDoublePointValues.end(), Value);
tools/clang/tools/extra/clangd/CodeComplete.cpp
  339     for (const auto &Inc : C.RankedIncludeHeaders) {
  401     auto B = Bundled.begin(), E = Bundled.end();
  409     auto B = Bundled.begin(), E = Bundled.end();
 1670     for (const auto &Item : Bundle) {
tools/clang/tools/extra/clangd/Diagnostics.cpp
  281   for (const auto &Edit : F.Edits) {
  316   (*Action.edit->changes)[File.uri()] = {F.Edits.begin(), F.Edits.end()};
tools/clang/tools/extra/clangd/Selection.cpp
  451   for (const Node *Child : N.Children)
tools/clang/tools/extra/clangd/index/Merge.cpp
  198   for (const auto &OI : O.IncludeHeaders) {
tools/clang/tools/extra/clangd/index/Serialization.cpp
  307   for (const auto &Include : Sym.IncludeHeaders)
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
  174   for (const Node *Child : Parent->Children)
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp
  227       for (const auto* Child : N.Children) {
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp
   63     Result.insert(Result.end(), N->Children.begin(), N->Children.end());
   78   for (const SelectionTree::Node *Child : Root.Children)
tools/clang/tools/extra/modularize/CoverageChecker.cpp
  225     for (auto &Header : HeaderKind)
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
  938         E = HeaderList.end();
tools/clang/tools/libclang/CIndex.cpp
 6961   for (const auto &ChildAction : PostChildrenInfos.back().ChildActions) {
 7288   for (const auto &ChildAction : Info.ChildActions) {
tools/clang/tools/libclang/CIndexHigh.cpp
  112     if (llvm::find(TopMethods, D) != TopMethods.end())
  119       if (llvm::find(TopMethods, *I) != TopMethods.end())
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
  512     for (const auto &Image : ITE.second) {
tools/dsymutil/DwarfLinker.cpp
 1005     for (const auto &Attr : Abbrev.getData())
tools/lld/wasm/SyntheticSections.cpp
  555     for (auto &entry : field.second) {
tools/lld/wasm/WriterUtils.cpp
   41   for (ValType type : sig.Params) {
  111   for (ValType paramType : sig.Params) {
tools/lldb/include/lldb/Utility/RangeMap.h
  268       typename Collection::const_iterator end = m_entries.end();
  290       typename Collection::const_iterator end = m_entries.end();
  312       typename Collection::const_iterator end = m_entries.end();
  730     for (const auto &entry : m_entries) {
  755       typename Collection::const_iterator end = m_entries.end();
  773       auto begin = m_entries.begin(), end = m_entries.end();
  796       typename Collection::const_iterator end = m_entries.end();
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  410              llvm::make_range(saved.begin(), saved.end()), addr);
  434                llvm::make_range(saved.begin(), saved.end()));
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
  428     for (auto &Source : Sources)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
   18   collection::const_iterator end = m_infos.end();
tools/lldb/source/Symbol/ClangASTContext.cpp
 1616   std::copy(template_param_infos.args.begin(), template_param_infos.args.end(),
tools/llvm-dwarfdump/Statistics.cpp
  253           for (auto Entry : List->Entries) {
tools/llvm-exegesis/lib/Analysis.cpp
  405     for (const auto &WPR : RSC.NonRedundantWriteProcRes) {
tools/llvm-exegesis/lib/CodeTemplate.cpp
   60   for (const auto &Op : Instr.Operands)
tools/llvm-exegesis/lib/MCInstrDescView.cpp
  230   for (const auto &Op : Operands) {
  257   for (const auto &Var : Variables) {
  261     for (auto OperandIndex : Var.TiedOperands) {
tools/llvm-exegesis/lib/SnippetGenerator.cpp
   58     for (const auto &Op : Instr.Operands) {
  115     for (const Operand &Op : IT.Instr.Operands) {
  125     for (const Operand &Op : IT.Instr.Operands) {
tools/llvm-exegesis/lib/Uops.cpp
   86   for (const auto &Var : Instr.Variables)
  192   for (const auto &Op : Instr.Operands) {
  205   for (const auto &Op : Instr.Operands) {
tools/llvm-exegesis/lib/X86/Target.cpp
  161   for (const Operand &Op : Instr.Operands)
  167   for (const Operand &Op : Instr.Operands)
tools/llvm-mca/PipelinePrinter.cpp
   21   for (const auto &V : Views)
tools/llvm-mca/Views/BottleneckAnalysis.cpp
  241       for (const DependencyEdge &DepEdge : N.OutgoingEdges) {
  276       Nodes.begin(), Nodes.end(),
  411   for (const DGNode &Node : Nodes)
  412     for (const DependencyEdge &DE : Node.OutgoingEdges)
  417   for (const DGNode &Node : Nodes)
  418     for (const DependencyEdge &DE : Node.OutgoingEdges)
  423   for (const DGNode &Node : Nodes)
  424     for (const DependencyEdge &DE : Node.OutgoingEdges)
tools/llvm-mca/Views/SummaryView.cpp
   57   for (const std::pair<uint64_t, const ResourceUsage> &RU : Desc.Resources) {
tools/llvm-objcopy/ELF/Object.cpp
  500   std::copy(Sec.CompressedData.begin(), Sec.CompressedData.end(), Buf);
 1045   for (SectionBase *S : Sec.GroupMembers)
tools/llvm-opt-report/OptReport.cpp
  201     for (const remarks::Argument &Arg : Remark.Args) {
tools/llvm-profdata/llvm-profdata.cpp
  320     for (const auto &Input : Inputs)
  327     for (const auto &Input : Inputs) {
  477   for (const auto &Input : Inputs) {
tools/llvm-rc/ResourceScriptStmt.cpp
  234     for (uint32_t Val : FixedInfo[Type])
tools/llvm-xray/trie-node.h
   64   for (auto *Callee : Left.Callees) {
   72   for (auto *Callee : Right.Callees) {
tools/llvm-xray/xray-stacks.cpp
  271   for (auto duration : Left.TerminalDurations)
  273   for (auto duration : Right.TerminalDurations)
  276   for (auto duration : Left.IntermediateDurations)
  278   for (auto duration : Right.IntermediateDurations)
  294                                 Node->ExtraData.TerminalDurations.end(), 0uLL);
  296                          Node->ExtraData.IntermediateDurations.end(), TopSum);
  347     return (I == RootsByThread.end()) ? nullptr : *I;
  463                                  F->ExtraData.IntermediateDurations.end(), 0LL);
  472                         Leaf->ExtraData.TerminalDurations.end(), 0LL);
  515       for (auto *RootNode : RootNodeRange)
  528       for (auto *Node : RootNodeVector) {
  574         for (const auto *C : Top->Callees)
  633                               Top->ExtraData.TerminalDurations.end(), 0uLL);
  652         for (const auto *C : Top->Callees)
tools/obj2yaml/wasm2yaml.cpp
  201         for (const auto &ParamType : FunctionSig.Params)
  203         for (const auto &ReturnType : FunctionSig.Returns)
tools/polly/include/polly/ScopDetectionDiagnostic.h
  167   iterator end() const { return ErrorReports.end(); }
tools/polly/include/polly/ScopInfo.h
 1537   const_iterator end() const { return MemAccs.end(); }
 2135     return make_range(RecordedAssumptions.begin(), RecordedAssumptions.end());
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp
  183   for (auto Reason : ErrorReports)
tools/polly/lib/Analysis/ScopInfo.cpp
 1283   for (MemoryAccess *Access : MemAccs)
 2150   for (const MinMaxVectorPairTy &Pair : MinMaxAliasGroups) {
 2163   for (const MinMaxVectorPairTy &Pair : MinMaxAliasGroups) {
 2168       for (const MinMaxAccessTy &MMANonReadOnly : Pair.first) {
 2175     for (const MinMaxAccessTy &MMAReadOnly : Pair.second) {
 2178       for (const MinMaxAccessTy &MMANonReadOnly : Pair.first) {
 2219   for (const auto &IAClass : InvariantEquivClasses) {
tools/polly/lib/CodeGen/BlockGenerators.cpp
  900     for (Instruction *EUser : EscapeUsers)
  993     for (Instruction *EUser : EscapeUsers) {
tools/polly/lib/CodeGen/IslAst.cpp
  430   for (const Scop::MinMaxVectorPairTy &MinMaxAccessPair : S.getAliasGroups()) {
  433     auto RWAccEnd = MinMaxReadWrite.end();
  442       for (const Scop::MinMaxAccessTy &ROAccIt : MinMaxReadOnly)
tools/sancov/sancov.cpp
  304     for (const DILineInfo &Loc : Point.Locs) {
  313       for (const DILineInfo &Loc : PointPtr->Locs) {
  326             for (const auto &Loc : Point->Locs) {
  913     for (const auto &Loc : Point.Locs) {
  928     for (const auto &Loc : Point.Locs) {
  945     for (const auto &Loc : Point.Locs) {
  959     for (const auto &Loc : Point.Locs) {
unittests/ADT/SmallVectorTest.cpp
  719   EXPECT_TRUE(constVector.begin() == constVector.end());
unittests/Analysis/VectorFunctionABITest.cpp
  112                       Info.Shape.Parameters.end(), [](const VFParameter PK) {
unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp
   84     for (auto &Ref : R) {
   94     for (auto &Ref : RefList) {
unittests/Remarks/BitstreamRemarksParsingTest.cpp
  185   for (const remarks::Argument &Arg : Remark.Args) {
unittests/Remarks/YAMLRemarksParsingTest.cpp
  427   for (const remarks::Argument &Arg : Remark.Args) {
  599   for (const remarks::Argument &Arg : Remark.Args) {
usr/include/c++/7.4.0/bits/range_access.h
   68     end(_Container& __cont) -> decltype(__cont.end())
   78     end(const _Container& __cont) -> decltype(__cont.end())
   79     { return __cont.end(); }
utils/TableGen/AsmMatcherEmitter.cpp
  591     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
  597     auto I = std::find_if(AsmOperands.begin() + LastIdx + 1, AsmOperands.end(),
  599     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
  606     return (I != AsmOperands.end()) ? I - AsmOperands.begin() : -1;
 1079   for (const AsmOperand &Op : AsmOperands) {
utils/TableGen/CodeGenRegisters.cpp
 1288   for (CodeGenSubRegIndex *Idx : Parts) {
 1317   Idx->ConcatenationOf.assign(Parts.begin(), Parts.end());
utils/TableGen/CodeGenRegisters.h
  352       return std::find(VTs.begin(), VTs.end(), VT) != VTs.end();
  352       return std::find(VTs.begin(), VTs.end(), VT) != VTs.end();
utils/TableGen/CodeGenSchedule.cpp
 1404     for (const SmallVectorImpl<unsigned> &WSI : PTI.WriteSequences)
 1405       for (unsigned WI : WSI)
 1409     for (const SmallVectorImpl<unsigned> &RSI : PTI.ReadSequences)
 1410       for (unsigned RI : RSI)
 1578          RWI = RWSeq.begin(), RWE = RWSeq.end(); RWI != RWE; ++RWI) {
 1624          WSI = Trans.WriteSequences.begin(), WSE = Trans.WriteSequences.end();
 1635          RSI = Trans.ReadSequences.begin(), RSE = Trans.ReadSequences.end();
 1668     SCTrans.ProcIndices.assign(I->ProcIndices.begin(), I->ProcIndices.end());
 2211            PCI = TI->PredTerm.begin(), PCE = TI->PredTerm.end();
 2220            WSI = TI->WriteSequences.begin(), WSE = TI->WriteSequences.end();
 2224              WI = WSI->begin(), WE = WSI->end(); WI != WE; ++WI) {
utils/TableGen/CodeGenTarget.cpp
  382     LegalValueTypes.insert(LegalValueTypes.end(), RC.VTs.begin(), RC.VTs.end());
utils/TableGen/DAGISelMatcher.cpp
   98     Operands(Ops.begin(), Ops.end()) {}
  118   for (const Matcher *C : Children) {
  173   for (const auto &C : Cases) {
  188   for (const auto &C : Cases) {
utils/TableGen/GlobalISelEmitter.cpp
 1909     for (unsigned AS : AddrSpaces)
utils/TableGen/OptParserEmitter.cpp
  150                                     PE = I->first.end(); PI != PE; ++PI) {
utils/TableGen/RegisterInfoEmitter.cpp
 1236       for (const ValueTypeByHwMode &VVT : RC.VTs)
 1285         for (const ValueTypeByHwMode &VVT : RC.VTs)
utils/TableGen/SearchableTableEmitter.cpp
   80     for (const auto &Field : Fields) {
  210   for (const auto &Field : Index.Fields) {
  312     for (const auto &Field : Index.Fields) {
  338       for (const auto &Field : Index.Fields) {
  397   for (const auto &Field : Index.Fields) {
  404   for (const auto &Field : Index.Fields) {
  424   for (const auto &Field : Index.Fields) {
  452   for (const auto &Field : Index.Fields)
  470   for (const auto &Field : Index.Fields) {
  489   for (const auto &Index : Table.Indices) {
  505     for (const auto &Field : Table.Fields) {
  521   for (const auto &Index : Table.Indices)
utils/TableGen/SequenceToOffsetTable.h
  121              SE = I->first.end(); SI != SE; ++SI) {
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 2569            it != lhs_stl_container.end(); ++it) {
 2570         if (internal::ArrayAwareFind(expected_.begin(), expected_.end(), *it) ==
 2571             expected_.end()) {
 2585            it != expected_.end(); ++it) {
 2587                 lhs_stl_container.begin(), lhs_stl_container.end(), *it) ==
 2588             lhs_stl_container.end()) {
 3186     for (; it != stl_container.end() && exam_pos != count(); ++it, ++exam_pos) {
 3207     for (; it != stl_container.end(); ++it) {
 3391                                          stl_container.end(),
utils/unittest/googletest/include/gtest/gtest-printers.h
  378        it != container.end(); ++it, ++count) {