|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/DirectedGraph.h 185 const_iterator begin() const { return Nodes.begin(); }
219 for (auto *Node : Nodes) {
include/llvm/ADT/MapVector.h 70 const_iterator begin() const { return Vector.begin(); }
156 (Vector.begin() + Pos->second);
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 88 return vector_.begin();
include/llvm/ADT/SmallSet.h 225 return {Vector.begin()};
239 for (VIterator I = Vector.begin(), E = Vector.end(); I != E; ++I)
include/llvm/ADT/SmallString.h 65 SmallVectorImpl<char>::append(RHS.begin(), RHS.end());
89 SmallVectorImpl<char>::append(RHS.begin(), RHS.end());
266 StringRef str() const { return StringRef(this->begin(), this->size()); }
include/llvm/ADT/SmallVector.h 130 const_iterator end() const { return begin() + size(); }
136 const_reverse_iterator rend() const { return const_reverse_iterator(begin());}
146 const_pointer data() const { return const_pointer(begin()); }
154 return begin()[idx];
163 return begin()[0];
655 return std::equal(this->begin(), this->end(), RHS.begin());
655 return std::equal(this->begin(), this->end(), RHS.begin());
662 return std::lexicographical_compare(this->begin(), this->end(),
663 RHS.begin(), RHS.end());
719 NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin());
719 NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin());
742 std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
742 std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
746 this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
include/llvm/ADT/SparseSet.h 174 const_iterator begin() const { return Dense.begin(); }
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 242 return std::binary_search(Nodes.begin(), Nodes.begin() + NumHeaders,
242 return std::binary_search(Nodes.begin(), Nodes.begin() + NumHeaders,
259 return Nodes.begin() + NumHeaders;
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 488 iterator begin() const { return Nodes.begin(); }
619 iterator begin() const { return SCCs.begin(); }
627 return SCCs.begin() + SCCIndices.find(&C)->second;
include/llvm/Analysis/LoopCacheAnalysis.h 201 LoopCosts.begin(), LoopCosts.end(),
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 194 iterator begin() const { return GCStrategyList.begin(); }
include/llvm/CodeGen/GlobalISel/RegBankSelect.h 385 const_insertpt_iterator begin() const { return InsertPoints.begin(); }
include/llvm/CodeGen/LiveInterval.h 217 const_iterator begin() const { return segments.begin(); }
226 const_vni_iterator vni_begin() const { return valnos.begin(); }
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 138 for (SmallVectorImpl<ScavengedInfo>::const_iterator I = Scavenged.begin(),
148 for (SmallVectorImpl<ScavengedInfo>::const_iterator I = Scavenged.begin(),
include/llvm/CodeGen/ScheduleDAG.h 432 for (const SDep &Pred : Preds)
440 for (const SDep &Succ : Succs)
include/llvm/CodeGen/SlotIndexes.h 503 return advanceMBBIndex(idx2MBBMap.begin(), Idx);
508 return idx2MBBMap.begin();
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h 97 return attr_iterator_range(AttributeSpecs.begin(), AttributeSpecs.end());
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h 589 const_iterator begin() const { return NameIndices.begin(); }
include/llvm/IR/CFGDiff.h 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 2341 inline idx_iterator idx_begin() const { return Indices.begin(); }
2462 inline idx_iterator idx_begin() const { return Indices.begin(); }
include/llvm/IR/LegacyPassManagers.h 267 for(AnalysisID AID : Vec)
include/llvm/MC/MCFragment.h 228 const_fixup_iterator fixup_begin() const { return Fixups.begin(); }
include/llvm/MC/MCInst.h 193 const_iterator begin() const { return Operands.begin(); }
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()}; }
207 auto B = Args.begin() + Range.first;
208 auto E = Args.begin() + Range.second;
include/llvm/ProfileData/GCOV.h 291 BlockIterator block_begin() const { return Blocks.begin(); }
353 EdgeIterator src_begin() const { return SrcEdges.begin(); }
359 EdgeIterator dst_begin() const { return DstEdges.begin(); }
include/llvm/Support/Allocator.h 347 for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I)
348 TotalMemory += computeSlabSize(std::distance(Slabs.begin(), 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()))
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 359 const_reverse_iterator overlays_rbegin() const { return FSList.begin(); }
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 489 const auto I = PendUpdates.begin() + PendDTUpdateIndex;
490 assert(PendUpdates.begin() <= I && I <= PendUpdates.end() &&
493 printUpdates(PendUpdates.begin(), I);
499 const auto I = PendUpdates.begin() + PendPDTUpdateIndex;
500 assert(PendUpdates.begin() <= I && I <= PendUpdates.end() &&
503 printUpdates(PendUpdates.begin(), I);
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();
894 for (SUnit::const_pred_iterator P = PathSU->Preds.begin(),
903 for (SUnit::const_pred_iterator P = PathSU->Preds.begin(),
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) {
242 if (std::any_of(Entries.begin(), 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) {
2298 for (const RangeSpanList &List : Holder.getRangeLists())
2342 MapVector<const MCSection *, std::vector<decltype(&*R.begin())>> SectionRanges;
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();
578 for (SUnit::const_pred_iterator P = CriticalPathSU->Preds.begin(),
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();
37 return std::find(Types.begin(), Types.end(), Match) != Types.end();
50 TypesAndMemDesc.begin(), 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());
lib/CodeGen/InterleavedLoadCombinePass.cpp 531 auto ob = o.B.begin();
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 248 const_iterator begin() const { return Blocks.begin(); }
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) {
1411 DFSStack.push_back(std::make_pair(SU, SU->Preds.begin()));
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 251 const int Offset = std::distance(StatepointSlots.begin(), SlotIt);
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)
862 : CurrentIndex(AccelTable.NameIndices.begin()), IsLocal(false), Key(Key) {
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp 306 for (uint8_t Byte : AugmentationData)
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp 44 for (const Entry &E : Entries) {
80 for (const LocationList &L : Locations) {
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(),
80 uint32_t CuVectorId = CuVector - ConstantPoolVectors.begin();
90 for (const auto &V : ConstantPoolVectors) {
92 for (uint32_t Val : V.second)
lib/DebugInfo/DWARF/DWARFUnit.cpp 130 auto end = begin() + getNumInfoUnits();
132 std::upper_bound(begin(), end, Offset,
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 552 if (I != Alignments.begin()) {
665 for (auto &P : Pointers)
785 for (unsigned LegalIntWidth : LegalIntWidths)
792 auto Max = std::max_element(LegalIntWidths.begin(), LegalIntWidths.end());
lib/IR/DiagnosticInfo.cpp 366 make_range(Args.begin(), FirstExtraArgIndex == -1
368 : Args.begin() + FirstExtraArgIndex))
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) {
334 computeWindowEndAddress(*Window.begin(), Offset, Layout);
340 for (const MCFragment *Fragment = (*Window.begin())->getPrevNode();
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 4134 return LoadCommands.begin();
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) {
526 for (auto Block : Blocks) {
540 for (auto Block : Blocks) {
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 183 for (MBBVector::const_iterator iterBlk = OrderedBlks.begin(),
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.cpp17129 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();
146 for (Locs::const_iterator UI = CantUnwindLocs.begin(),
152 for (Locs::const_iterator HI = HandlerDataLocs.begin(),
158 for (Locs::const_iterator PI = PersonalityLocs.begin(),
160 PII = PersonalityIndexLocs.begin(),
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 264 for (SmallVectorImpl<uint8_t>::const_iterator OCI = Opcodes.begin(),
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());
1842 NewC.append(C.begin(), C.begin()+LogPos);
1842 NewC.append(C.begin(), C.begin()+LogPos);
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 804 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin();
lib/Target/Mips/MipsSEInstrInfo.cpp 624 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin();
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 59 return I - V.begin();
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 315 edge_iterator pred_begin() const { return Preds.begin(); }
317 edge_iterator succ_begin() const { return Succs.begin(); }
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 384 auto I = GuardsInCurBB.begin();
386 ? std::find(GuardsInCurBB.begin(), GuardsInCurBB.end(), Instr)
lib/Transforms/Scalar/JumpThreading.cpp 1541 for (const auto &PredToDest : PredToDestList)
lib/Transforms/Scalar/LoopDistribute.cpp 630 AccessesType::const_iterator begin() const { return Accesses.begin(); }
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)
474 const_iterator begin() const { return LoopsOnLevel.begin(); }
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(),
369 std::for_each(MemInstrs.begin() + getInstrIndex(FirstStore) + 1,
371 std::for_each(MemInstrs.begin(), &MemInstrs[getInstrIndex(LastLoad)],
397 for (auto PtrIdx1 : Check.first->Members)
398 for (auto PtrIdx2 : Check.second->Members)
lib/Transforms/Scalar/LoopRerollPass.cpp 242 return std::next(Instructions.begin());
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 255 const_iterator begin() const { return RegSequence.begin(); }
483 find_if(make_range(BaseRegs.begin(), BaseRegs.end()), [&](const SCEV *S) {
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)
1879 return std::next(Incs.begin());
3365 for (const SCEV *BaseReg : F.BaseRegs)
3604 ((const SmallVector<const SCEV *, 8> &)AddOps).begin(), J);
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)
161 const_iterator begin() const { return Ranges.begin(); }
401 : Range.TheStores) dbgs()
409 for (Instruction *SI : Range.TheStores) {
lib/Transforms/Scalar/SROA.cpp 253 const_iterator begin() const { return Slices.begin(); }
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 4983 SingleValue = Values.begin()->second;
4985 Type *ValueType = Values.begin()->second->getType();
5254 for (auto ValuePair : Values) {
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 502 InductionCastsToIgnore.insert(*Casts.begin());
lib/Transforms/Vectorize/LoopVectorize.cpp 1787 Instruction *CastInst = *Casts.begin();
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) {
1200 return std::equal(VL.begin(), VL.end(), Scalars.begin());
1203 VL.begin(), VL.end(), ReuseShuffleIndices.begin(),
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 434 return (Successors.size() == 1 ? *Successors.begin() : nullptr);
440 return (Predecessors.size() == 1 ? *Predecessors.begin() : nullptr);
1361 return N->getSuccessors().begin();
1612 return static_cast<unsigned>(hash_combine_range(V.begin(), V.end()));
lib/Transforms/Vectorize/VPlanValue.h 101 const_user_iterator user_begin() const { return Users.begin(); }
175 const_operand_iterator op_begin() const { return Operands.begin(); }
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) !=
80 for (const VPBlockBase *Pred : Predecessors) {
87 assert(std::find(PredSuccs.begin(), PredSuccs.end(), VPB) !=
tools/clang/include/clang/AST/AttrIterator.h 103 return specific_attr_iterator<SpecificAttr, Container>(container.begin());
tools/clang/include/clang/AST/DeclBase.h 506 return hasAttrs() ? getAttrs().begin() : nullptr;
tools/clang/include/clang/AST/OSLog.h 120 for (auto &item : Items) {
tools/clang/include/clang/AST/UnresolvedSet.h 85 const_iterator begin() const { return const_iterator(decls().begin()); }
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 99 branch_iterator branch_begin() const { return UninitBranches.begin(); }
tools/clang/include/clang/Analysis/CallGraph.h 164 const_iterator begin() const { return CalledFunctions.begin(); }
tools/clang/include/clang/Driver/Action.h 152 input_const_iterator input_begin() const { return Inputs.begin(); }
tools/clang/include/clang/Driver/Job.h 196 const_iterator begin() const { return Jobs.begin(); }
tools/clang/include/clang/Edit/Commit.h 121 edit_iterator edit_begin() const { return CachedEdits.begin(); }
tools/clang/include/clang/Frontend/ASTUnit.h 590 return StoredDiagnostics.begin();
tools/clang/include/clang/Lex/MacroInfo.h 242 tokens_iterator tokens_begin() const { return ReplacementTokens.begin(); }
tools/clang/include/clang/Lex/PreprocessorLexer.h 167 return ConditionalStack.begin();
tools/clang/include/clang/Sema/DeclSpec.h 2203 return type_object_range(DeclTypeInfo.begin(), DeclTypeInfo.end());
tools/clang/include/clang/Sema/DelayedDiagnostic.h 322 pool_iterator pool_begin() const { return Diagnostics.begin(); }
tools/clang/include/clang/Sema/Initialization.h 1183 step_iterator step_begin() const { return Steps.begin(); }
tools/clang/include/clang/Sema/Overload.h 453 const_iterator begin() const { return conversions().begin(); }
tools/clang/include/clang/Sema/TemplateDeduction.h 152 diag_iterator diag_begin() const { return SuppressedDiagnostics.begin(); }
tools/clang/include/clang/Sema/TypoCorrection.h 147 return hasCorrectionDecl() ? *(CorrectionDecls.begin()) : nullptr;
241 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin();
tools/clang/include/clang/Serialization/ContinuousRangeMap.h 90 const_iterator begin() const { return Rep.begin(); }
tools/clang/include/clang/Serialization/ModuleManager.h 154 ModuleConstIterator begin() const { return Chain.begin(); }
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) {
563 for (overriding_const_iterator M = I->second.begin(),
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/ExprConstant.cpp 3197 Obj.Base, llvm::makeArrayRef(Sub.Entries.begin(),
3198 Sub.Entries.begin() + I)) !=
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 316 UsedAbiTags.insert(UsedAbiTags.end(), AdditionalAbiTags->begin(),
318 TagList.insert(TagList.end(), AdditionalAbiTags->begin(),
367 for (const auto &Tag : AbiTags) {
695 UsedAbiTags.begin(), UsedAbiTags.end(),
712 for (AttrVec::const_iterator I = FD->getAttrs().begin(),
838 VariableTypeAbiTags.end(), UsedAbiTags.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 188 const_iterator begin() const { return FactIDs.begin(); }
928 for (const auto &UnderlyingMutex : UnderlyingMutexes) {
945 for (const auto &UnderlyingMutex : UnderlyingMutexes) {
961 for (const auto &UnderlyingMutex : UnderlyingMutexes) {
tools/clang/lib/Basic/Diagnostic.cpp 212 assert(OnePastIt != StateTransitions.begin() && "missing initial state");
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 768 I = LocalSLocEntryTable.begin()+LastFileIDLookup.ID;
777 FileID Res = FileID::get(int(I - LocalSLocEntryTable.begin()));
792 unsigned GreaterIndex = I - LocalSLocEntryTable.begin();
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());
301 other.CleanupsToDeactivate.begin(),
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) {
1752 CallArgList::const_iterator I = CallArgs.begin();
2869 for (const CGObjCCommonMac::RUN_SKIP &R : RunSkipBlockVars) {
7134 args.insert(args.end(), formalArgs.begin(), formalArgs.end());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 4408 for (specific_attr_iterator<AlignedAttr> I(VD->getAttrs().begin()),
4969 auto I = Data.PrivateCopies.begin();
4970 for (const Expr *E : Data.PrivateVars) {
4978 I = Data.FirstprivateCopies.begin();
4979 auto IElemInitRef = Data.FirstprivateInits.begin();
4980 for (const Expr *E : Data.FirstprivateVars) {
4990 I = Data.LastprivateCopies.begin();
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 276 for (specific_attr_iterator<AlignedAttr> I(VD->getAttrs().begin()),
5074 for (const RecordDecl *RD : Records.Records) {
tools/clang/lib/CodeGen/CGVTT.cpp 52 for (const VTTVTable *i = Builder.getVTTVTables().begin(),
60 for (const VTTComponent *i = Builder.getVTTComponents().begin(),
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) {
1956 for (VPtrInfoVector::const_iterator I = VBGlobals.VBTables->begin(),
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 233 auto I = getInputs().begin();
248 auto TI = DevToolChains.begin();
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)
3746 Action *CurAction = *Inputs.begin();
3813 CollapsedOffloadAction.append(ActionInfo[I].SavedOffloadAction.begin(),
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) {
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)
1775 SmallVector<std::string, 8> Prefixes(D.PrefixDirs.begin(),
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 62 for (SmallVectorImpl<CharSourceRange>::const_iterator I = Ranges.begin(),
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()),
230 I != AnnotatedLines.begin()) {
333 I != AnnotatedLines.begin() &&
346 if (TheLine->First->is(tok::l_brace) && I != AnnotatedLines.begin() &&
354 if (TheLine->First->is(tok::l_brace) && I != AnnotatedLines.begin() &&
tools/clang/lib/Format/UnwrappedLineParser.cpp 526 for (const auto &i : PPStack) {
2462 I = Node.Children.begin(),
tools/clang/lib/Frontend/ASTUnit.cpp 2364 for (const auto &SD : Diags) {
tools/clang/lib/Frontend/DiagnosticRenderer.cpp 277 if (std::binary_search(CommonArgExpansions.begin(),
tools/clang/lib/Lex/MacroInfo.cpp 160 for (const Token &Tok : ReplacementTokens) {
tools/clang/lib/Lex/ModuleMap.cpp 681 I = Known->second.begin(),
971 canInfer = std::find(inferred->second.ExcludedModules.begin(),
tools/clang/lib/Lex/PPMacroExpansion.cpp 630 for (SmallVectorImpl<Token>::const_iterator I = Tokens.begin(),
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 1364 WeakUseVector::const_iterator UI = Uses.begin(), UE = Uses.end();
1378 if (UI == Uses.begin()) {
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 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 195 const_iterator begin() const { return list.begin(); }
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 1429 Signature = createSignature(StringRef(Buffer.begin(), StartOfUnhashedControl));
2096 const char *strings_begin() const { return FrameworkStringData.begin(); }
3888 for (NamedDecl *D : Decls) {
3897 for (auto ID : FromReader)
4725 StringRef(Buffer.begin(), Buffer.size())));
4883 for (const auto &DeleteLoc : DeleteExprsInfo.second) {
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp 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 166 CheckersTy::const_iterator checkers_begin() { return Checkers.begin(); }
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 1238 It, SuperExpArgTokens.begin(), SuperExpArgTokens.end());
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 850 Fields.begin());
853 Fields.begin() - Delta);
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) {
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/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) {
332 if (&R != Refs.begin())
369 for (const auto &M : Members)
404 for (const auto &M : Members) {
694 for (const auto &P : I.Params) {
695 if (&P != I.Params.begin())
tools/clang/tools/extra/clang-doc/MDGenerator.cpp 35 for (const auto &R : Refs) {
36 if (&R != Refs.begin())
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(),
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 131 return std::binary_search(IgnoredIntegerValues.begin(),
142 return std::binary_search(IgnoredFloatingPointValues.begin(),
148 return std::binary_search(IgnoredDoublePointValues.begin(),
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/clangd/unittests/SymbolCollectorTests.cpp 67 (arg.IncludeHeaders.begin()->IncludeHeader == P);
tools/clang/tools/extra/modularize/CoverageChecker.cpp 225 for (auto &Header : HeaderKind)
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp 937 for (llvm::ArrayRef<std::string>::iterator I = HeaderList.begin(),
tools/clang/tools/libclang/CIndex.cpp 6961 for (const auto &ChildAction : PostChildrenInfos.back().ChildActions) {
7288 for (const auto &ChildAction : Info.ChildActions) {
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/COFF/PDB.cpp 504 objectIndexMap->tpiMap.append(precompIndexMap.tpiMap.begin(),
505 precompIndexMap.tpiMap.begin() +
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 267 typename Collection::const_iterator begin = m_entries.begin();
289 typename Collection::const_iterator begin = m_entries.begin();
311 typename Collection::const_iterator begin = m_entries.begin();
718 return std::distance(m_entries.begin(), entry);
730 for (const auto &entry : m_entries) {
754 typename Collection::const_iterator begin = m_entries.begin();
773 auto begin = m_entries.begin(), end = m_entries.end();
795 typename Collection::const_iterator begin = m_entries.begin();
798 std::lower_bound(m_entries.begin(), end, addr,
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 19 collection::const_iterator beg = m_infos.begin();
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(),
278 unsigned IID = std::distance(Nodes.begin(), It);
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)
293 auto TopSum = std::accumulate(Node->ExtraData.TerminalDurations.begin(),
295 return std::accumulate(Node->ExtraData.IntermediateDurations.begin(),
462 auto Sum = std::accumulate(F->ExtraData.IntermediateDurations.begin(),
471 std::accumulate(Leaf->ExtraData.TerminalDurations.begin(),
515 for (auto *RootNode : RootNodeRange)
528 for (auto *Node : RootNodeVector) {
574 for (const auto *C : Top->Callees)
632 std::accumulate(Top->ExtraData.TerminalDurations.begin(),
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 166 iterator begin() const { return ErrorReports.begin(); }
tools/polly/include/polly/ScopInfo.h 1536 const_iterator begin() const { return MemAccs.begin(); }
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()) {
435 for (auto RWAccIt0 = MinMaxReadWrite.begin(); RWAccIt0 != RWAccEnd;
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 524 this->theVector.erase(theConstVector.begin());
534 this->theVector.erase(theConstVector.begin(), theConstVector.begin() + 2);
534 this->theVector.erase(theConstVector.begin(), theConstVector.begin() + 2);
719 EXPECT_TRUE(constVector.begin() == constVector.end());
unittests/Analysis/VectorFunctionABITest.cpp 111 std::count_if(Info.Shape.Parameters.begin(),
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 48 begin(_Container& __cont) -> decltype(__cont.begin())
58 begin(const _Container& __cont) -> decltype(__cont.begin())
59 { return __cont.begin(); }
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();
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();
2213 if (PCI != TI->PredTerm.begin())
2220 WSI = TI->WriteSequences.begin(), WSE = TI->WriteSequences.end();
2224 WI = WSI->begin(), WE = WSI->end(); WI != WE; ++WI) {
2225 if (WI != WSI->begin())
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 149 for (PrefixKeyT::const_iterator PI = I->first.begin(),
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 120 for (typename SeqT::const_iterator SI = I->first.begin(),
utils/unittest/googlemock/include/gmock/gmock-matchers.h 2568 lhs_stl_container.begin();
2570 if (internal::ArrayAwareFind(expected_.begin(), expected_.end(), *it) ==
2584 for (typename StlContainer::const_iterator it = expected_.begin();
2587 lhs_stl_container.begin(), lhs_stl_container.end(), *it) ==
3179 StlContainerConstIterator it = stl_container.begin();
3390 MatchMatrix matrix = AnalyzeElements(stl_container.begin(),
utils/unittest/googletest/include/gtest/gtest-printers.h 377 for (typename C::const_iterator it = container.begin();