|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/EquivalenceClasses.h 129 for (iterator I = RHS.begin(), E = RHS.end(); I != E; ++I)
189 for (iterator I = begin(), E = end(); I != E; ++I)
include/llvm/ADT/STLExtras.h 1225 return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range);
include/llvm/ADT/SetOperations.h 53 SI != SE; ++SI)
include/llvm/ADT/SetVector.h 151 for (; Start != End; ++Start)
include/llvm/ADT/UniqueVector.h 62 if (MI != Map.end()) return MI->second;
include/llvm/Analysis/CallGraph.h 123 assert(I != FunctionMap.end() && "Function not in callgraph!");
130 assert(I != FunctionMap.end() && "Function not in callgraph!");
include/llvm/Analysis/DominanceFrontierImpl.h 77 for (BlockT *BB : DS2)
81 I != E;) {
104 I != E; ++I)
130 for (const_iterator I = begin(), E = end(); I != E; ++I) {
140 for (const BlockT *BB : BBs) {
217 for (; CDFI != CDFE; ++CDFI) {
include/llvm/Analysis/RegionInfoImpl.h 590 SI != SE; ++SI) {
601 for (BlockT *Succ : *entrySuccs) {
611 for (BlockT *Succ : *exitSuccs) {
include/llvm/CodeGen/LiveStacks.h 83 assert(I != S2RCMap.end() &&
include/llvm/CodeGen/MachinePipeliner.h 564 assert(it != InstrToCycle.end() && "Instruction hasn't been scheduled.");
include/llvm/CodeGen/PBQP/Solution.h 47 assert(sItr != selections.end() && "No selection for node.");
include/llvm/CodeGen/RegAllocPBQP.h 366 assert(OptimallyReducibleNodes.find(NId) !=
372 assert(ConservativelyAllocatableNodes.find(NId) !=
378 assert(NotProvablyAllocatableNodes.find(NId) !=
include/llvm/CodeGen/TargetLowering.h 1218 if (PTTI != PromoteToType.end()) return PTTI->second;
include/llvm/DebugInfo/DWARF/DWARFListTable.h 254 for (const auto &List : ListMap)
262 for (const auto &List : ListMap)
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h 596 for (auto *SubF : Part) {
635 for (auto *F : Part) {
682 for (auto *F : Part)
686 for (auto *F : Part)
include/llvm/ExecutionEngine/Orc/RPCSerialization.h 621 for (const auto &E : S)
659 for (const auto &E : M) {
include/llvm/IR/ModuleSummaryIndex.h 1292 for (auto It = TidIter.first; It != TidIter.second; ++It)
1337 for (auto &GlobalList : *this) {
include/llvm/MC/MCContext.h 564 assert(I != MCDwarfLineTablesCUMap.end());
include/llvm/MCA/Stages/Stage.h 80 for (HWEventListener *Listener : Listeners)
include/llvm/ProfileData/SampleProf.h 387 if (FS != iter->second.end())
393 for (const auto &NameFS : iter->second)
426 for (const auto &N_FS : CallsiteSamples.begin()->second)
448 for (const auto &I : Other.getBodySamples()) {
453 for (const auto &I : Other.getCallsiteSamples()) {
456 for (const auto &Rec : I.second)
473 for (const auto &BS : BodySamples)
481 for (const auto &CS : CallsiteSamples)
482 for (const auto &NameFS : CS.second)
624 for (const auto &I : Samples)
lib/Analysis/CallGraph.cpp 95 for (const auto &I : *this)
lib/Analysis/VectorUtils.cpp 471 for (auto I = ECs.begin(), E = ECs.end(); I != E; ++I) {
lib/AsmParser/LLParser.cpp 114 for (const auto &I : Slots->Types)
lib/Bitcode/Writer/BitcodeWriter.cpp 192 for (const auto &GUIDSummaryLists : *Index)
443 for (auto &M : *ModuleToSummariesForIndex)
453 for (auto &Summaries : Index)
465 for (const auto &M : *ModuleToSummariesForIndex) {
3600 for (auto &A : Wpd.ResByArg)
3618 for (auto &W : Summary.WPDRes)
3874 for (auto &S : Index->typeIdCompatibleVtableMap()) {
4135 for (auto &S : Index.cfiFunctionDefs()) {
4149 for (auto &S : Index.cfiFunctionDecls()) {
4164 for (auto &T : ReferencedTypeIds) {
4166 for (auto It = TidIter.first; It != TidIter.second; ++It) {
lib/CodeGen/CalcSpillWeights.cpp 269 for (auto &Hint : CopyHints) {
lib/CodeGen/CriticalAntiDepBreaker.cpp 350 for (RegRefIter I = RegRefBegin; I != RegRefEnd; ++I ) {
lib/CodeGen/InterleavedLoadCombinePass.cpp 1159 for (auto &I : Is) {
1165 if (SVIs.find(I) != SVIs.end())
1184 for (auto LI : LIs) {
lib/CodeGen/LiveInterval.cpp 159 assert(I != segments().end() && "Not a valid segment!");
165 for (; MergeTo != segments().end() && NewEnd >= MergeTo->end; ++MergeTo)
173 if (MergeTo != segments().end() && MergeTo->start <= I->end &&
187 assert(I != segments().end() && "Not a valid segment!");
225 if (I != segments().begin()) {
243 if (I != segments().end()) {
338 if (I != LR->segmentSet->end() && !(S.start < *I))
lib/CodeGen/MIRVRegNamerUtils.cpp 229 for (auto I = VRegRenameMap.begin(), E = VRegRenameMap.end(); I != E; ++I) {
lib/CodeGen/RegAllocPBQP.cpp 347 while (RetireItr != Active.end() &&
366 for (const auto &A : Active) {
750 I != E; ++I) {
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp 198 if (I != NodeGraphAttrs.end())
lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp 45 for (const auto &M : Mappings) {
lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp 116 if (PrevAbbrOffsetPos != End && PrevAbbrOffsetPos->first == CUAbbrOffset) {
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp 93 ValidCUs.find(Aranges.back().CUOffset) != ValidCUs.end()) {
104 assert(CUPos != ValidCUs.end());
lib/DebugInfo/DWARF/DWARFDebugLine.cpp 506 if (Pos != LineTableMap.end())
lib/DebugInfo/DWARF/DWARFVerifier.cpp 53 while (Iter != End) {
414 if (IntersectingChild != ParentRI.Children.end()) {
650 for (auto Offset : Pair.second)
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp 219 for (auto *GV : Partition)
lib/ExecutionEngine/Orc/Core.cpp 998 for (auto &Q : CompletedQueries) {
1131 for (auto &Q : CompletedQueries) {
1248 for (auto &Q : FailedQueries)
lib/ExecutionEngine/Orc/Legacy.cpp 23 for (auto &S : Symbols)
53 for (auto &S : Symbols)
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp 25 for (auto &S : Symbols)
lib/ExecutionEngine/Orc/ThreadSafeModule.cpp 41 for (auto *GV : ClonedDefsInSrc)
lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp 73 for (auto &Symbol : Symbols) {
114 for (auto &Symbol : Symbols) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 1246 if (I != ObjSecToIDMap.end())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp 1065 if (i != Stubs.end()) {
1231 if (i != Stubs.end()) {
1286 if (i != Stubs.end()) {
1381 if (i != Stubs.end()) {
1489 if (i != Stubs.end()) {
1621 if (i != Stubs.end()) {
1675 if (i != Stubs.end()) {
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h 450 if (i != Stubs.end())
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h 313 if (i != Stubs.end()) {
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h 137 if (i != Stubs.end()) {
lib/IR/AsmWriter.cpp 1035 for (auto &GlobalList : *TheIndex)
1042 TidIter != TheIndex->typeIds().end(); TidIter++)
1045 for (auto &TId : TheIndex->typeIdCompatibleVtableMap())
2703 for (auto &GlobalList : *TheIndex) {
2710 for (auto &GlobalList : *TheIndex) {
2718 TidIter != TheIndex->typeIds().end(); TidIter++) {
2726 for (auto &TId : TheIndex->typeIdCompatibleVtableMap()) {
2804 for (auto &WPDRes : TIS.WPDRes) {
2848 for (auto &ResByArg : WPDRes.ResByArg) {
2999 for (auto It = TidIter.first; It != TidIter.second; ++It) {
3040 for (auto It = TidIter.first; It != TidIter.second; ++It) {
lib/IR/Attributes.cpp 809 for (const auto &TDA : B.td_attrs())
1604 for (auto I : B.td_attrs())
1632 for (auto I : B.td_attrs())
1644 for (const auto &I : td_attrs())
1652 return TargetDepAttrs.find(A) != TargetDepAttrs.end();
1684 E = TargetDepAttrs.end(); I != E; ++I)
lib/IR/ModuleSummaryIndex.cpp 68 for (auto &GlobalList : *this) {
lib/LTO/LTO.cpp 166 for (auto &Entry : ResolvedODR) {
252 for (auto &WPD : S.WPDRes) {
258 for (auto &ByArg : WPD.second.ResByArg) {
271 for (GlobalValue::GUID TId : UsedTypeIds) {
273 for (auto It = TidIter.first; It != TidIter.second; ++It)
278 for (auto &V : UsedCfiDefs)
282 for (auto &V : UsedCfiDecls)
1070 for (auto &Name : CombinedIndex.cfiFunctionDefs())
1073 for (auto &Name : CombinedIndex.cfiFunctionDecls())
1329 for (auto &Def : ThinLTO.CombinedIndex.cfiFunctionDefs())
lib/LTO/ThinLTOCodeGenerator.cpp 135 for (auto &I : Index) {
979 for (auto GUID : ExportedGUIDs)
lib/MC/MCContext.cpp 584 for (const auto &Entry : DebugPrefixMap)
lib/MC/MCDwarf.cpp 252 for (const auto &CUIDTablePair : LineTables) {
lib/MC/WasmObjectWriter.cpp 998 for (const auto &C : Comdats) {
lib/MCA/Pipeline.cpp 87 for (HWEventListener *Listener : Listeners)
93 for (HWEventListener *Listener : Listeners)
lib/MCA/Stages/ExecuteStage.cpp 248 for (HWEventListener *Listener : getListeners())
286 for (HWEventListener *Listener : getListeners())
291 for (HWEventListener *Listener : getListeners())
lib/Object/WindowsResource.cpp 554 for (auto const &Child : StringChildren) {
557 for (auto const &Child : IDChildren) {
579 for (auto const &Child : StringChildren) {
582 for (auto const &Child : IDChildren) {
898 for (auto const &Child : StringChildren) {
918 for (auto const &Child : IDChildren) {
lib/ProfileData/ProfileSummaryBuilder.cpp 53 for (const auto &I : FS.getBodySamples())
55 for (const auto &I : FS.getCallsiteSamples())
56 for (const auto &CS : I.second)
lib/ProfileData/SampleProf.cpp 111 for (const auto &I : getSortedCallTargets())
152 for (const auto &FS : CS->second) {
lib/ProfileData/SampleProfWriter.cpp 250 for (const auto &J : Sample.getSortedCallTargets())
259 for (const auto &FS : I->second) {
289 for (const auto &I : S.getBodySamples()) {
296 for (const auto &J : S.getCallsiteSamples())
297 for (const auto &FS : J.second) {
309 for (const StringRef &N : V)
320 for (auto N : V) {
358 for (auto N : V) {
506 for (const auto &I : S.getBodySamples()) {
513 for (const auto &J : Sample.getSortedCallTargets()) {
524 for (const auto &J : S.getCallsiteSamples())
527 for (const auto &J : S.getCallsiteSamples())
528 for (const auto &FS : J.second) {
lib/Support/CachePruning.cpp 288 while (TotalSize > TotalSizeTarget && FileInfo != FileInfos.end())
lib/Support/DAGDeltaAlgorithm.cpp 127 for (changeset_ty::const_iterator it = S.begin(), ie = S.end(); it != ie;
184 ie = Changes.end(); it != ie; ++it) {
196 ie = Changes.end(); it != ie; ++it)
217 ie = Changes.end(); it != ie; ++it)
220 ie = Changes.end(); it != ie; ++it)
222 ie2 = succ_closure_end(*it); it2 != ie2; ++it2)
230 it != ie; ++it) {
231 if (it != Changes.begin())
260 it != ie; ++it) {
264 it2 != ie2; ++it2) {
265 if (it2 != pred_closure_begin(*it))
274 it != ie; ++it) {
278 it2 != ie2; ++it2) {
279 if (it2 != succ_closure_begin(*it))
295 ie = Changes.end(); it != ie; ++it)
344 ie = CurrentMinSet.end(); it != ie; ++it)
lib/Support/DeltaAlgorithm.cpp 35 ie = S.end(); it != ie; ++it, ++idx)
lib/Support/FileCheck.cpp 673 for (const auto &VariableDef : VariableDefs) {
lib/Support/YAMLParser.cpp 1824 if (It != Doc->getTagMap().end())
lib/TableGen/JSONBackend.cpp 134 for (const auto &C : Records.getClasses()) {
140 for (const auto &D : Records.getDefs()) {
lib/TableGen/Main.cpp 75 for (const auto &Dep : Parser.getDependencies()) {
lib/TableGen/Record.cpp 2342 for (const auto &C : RK.getClasses())
2346 for (const auto &D : RK.getDefs())
2364 for (const auto &D : getDefs())
lib/TableGen/TGLexer.cpp 383 if (Found != Dependencies.end()) {
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp 371 for (auto I = EC.begin(), E = EC.end(); I != E; ++I) {
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp 497 for (MachineInstr *MI : MIs) {
lib/Target/AMDGPU/SIMachineScheduler.cpp 603 for (unsigned Reg : LiveInRegs)
607 for (unsigned Reg : LiveOutRegs)
720 for (unsigned j : FormingGroup) {
1468 for (unsigned Reg : Block->getInRegs()) {
1475 if (RegPos != PredOutRegs.end()) {
1514 for (unsigned Reg : DAG->getOutRegs()) {
1533 for (unsigned Reg : Block->getInRegs()) {
1539 if (RegPos != PredOutRegs.end()) {
1634 : LiveRegs) dbgs()
1691 for (unsigned Reg : Regs) {
1702 for (unsigned Reg : Regs) {
1705 assert (Pos != LiveRegs.end() && // Reg must be live.
1751 for (unsigned Reg : InRegs) {
1763 for (unsigned Reg : OutRegs) {
1913 for (_Iterator RegI = First; RegI != End; ++RegI) {
lib/Target/ARM/A15SDOptimizer.cpp 206 if (DeadInstr.find(Def) != DeadInstr.end())
367 if (Reached.find(MI) != Reached.end())
681 for (MachineInstr *MI : DeadInstr) {
lib/Target/ARM/ARMParallelDSP.cpp 400 for (auto Before : WritesBefore) {
lib/Target/Hexagon/BitTracker.cpp 365 if (F != M.end()) {
lib/Target/Hexagon/BitTracker.h 358 assert(F != Map.end());
lib/Target/Hexagon/HexagonBlockRanges.cpp 173 return (F != Map.end()) ? F->second : nullptr;
178 for (auto &I : Map)
251 for (auto R : Tmp) {
254 for (auto S : expandToSubRegs(R, MRI, TRI))
297 for (auto R : getLiveIns(B, MRI, TRI))
300 for (auto R : LiveOnEntry)
327 for (auto S : expandToSubRegs(R, MRI, TRI)) {
340 for (auto S : expandToSubRegs(R, MRI, TRI)) {
371 for (RegisterRef R : Defs)
375 for (RegisterRef S : Defs) {
384 for (RegisterRef S : Clobbers) {
399 for (auto R : getLiveIns(*SB, MRI, TRI))
402 for (auto R : LiveOnExit)
413 for (auto R : Left)
477 for (auto S : expandToSubRegs({R,0}, MRI, TRI)) {
531 for (auto &I : P.Map) {
lib/Target/Hexagon/HexagonCommonGEP.cpp 87 assert(F1 != Map.end() && F2 != Map.end());
87 assert(F1 != Map.end() && F2 != Map.end());
290 for (const_iterator I = M.begin(), E = M.end(); I != E; ++I) {
309 return NS.find(N) != NS.end();
474 for (NodeSymRel::iterator I = Rel.begin(), E = Rel.end(); I != E; ++I)
507 if (FEq != Eq.end())
510 if (FNe != Ne.end())
554 for (NodeSet::iterator NI = S.begin(), NE = S.end(); NI != NE; ++NI) {
564 for (NodeSet::iterator NJ = std::next(NI); NJ != NE; ++NJ)
580 for (NodePairSet::iterator I = Eq.begin(), E = Eq.end(); I != E; ++I)
584 for (NodeSymRel::iterator I = EqRel.begin(), E = EqRel.end(); I != E; ++I) {
587 for (NodeSet::const_iterator J = S.begin(), F = S.end(); J != F; ++J) {
588 if (J != S.begin())
599 for (NodeSymRel::iterator I = EqRel.begin(), E = EqRel.end(); I != E; ++I) {
609 for (NodeSet::iterator J = S.begin(), F = S.end(); J != F; ++J) {
937 I != E; ++I) {
1012 for (NodeSet::iterator I = Ns.begin(), E = Ns.end(); I != E; ++I) {
lib/Target/Hexagon/HexagonConstExtenders.cpp 557 for (const std::pair<HCE::ExtenderInit,HCE::IndexList> &Q : P.IMap) {
1375 for (auto It = CandSet.begin(), Et = CandSet.end(); It != Et; ) {
1897 for (const std::pair<ExtenderInit,IndexList> &P : IMap) {
lib/Target/Hexagon/HexagonConstPropagation.cpp 214 return F != Map.end();
221 if (F != Map.end())
614 for (auto &I : Map)
684 for (auto &I : Outputs)
lib/Target/Hexagon/HexagonExpandCondsets.cpp 553 for (unsigned R : RegSet) {
lib/Target/Hexagon/HexagonFrameLowering.cpp 1996 for (auto R : HexagonBlockRanges::expandToSubRegs({Reg,0}, MRI, HRI)) {
2323 for (auto RR : HexagonBlockRanges::expandToSubRegs(FoundRR, MRI, HRI))
lib/Target/Hexagon/HexagonGenPredicate.cpp 508 for (SetOfReg::iterator I = PredGPRs.begin(), E = PredGPRs.end(); I != E; ++I)
lib/Target/Hexagon/HexagonHardwareLoops.cpp 1747 I != E; ++I) {
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 334 if (FLI != LoadBrevMap.end()) {
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 151 for (Node N : Nodes) {
199 for (Node N : Needed)
247 for (Node M : CopyNs) {
281 for (Node N : Needed)
286 for (auto E : Edges) {
288 for (auto N : E.second)
307 for (auto C : Colors)
1901 for (const CycleType &C : Cycles) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 439 for (Value *V : Clones) {
445 for (Value *V : Clones) {
lib/Target/Hexagon/HexagonOptAddrMode.cpp 230 for (auto DI : ReachingDefs) {
252 for (auto UI : UseSet) {
267 for (auto I : phiUse) {
271 for (auto phiUI : phiUseSet) {
lib/Target/Hexagon/HexagonSplitDouble.cpp 139 for (auto I : Part)
148 if (Rs.find(Reg) != Rs.end())
299 for (USet::iterator J = Asc.begin(), F = Asc.end(); J != F; ++J)
426 for (unsigned DR : Part) {
647 assert(F != PairMap.end());
710 assert(F != PairMap.end());
737 assert(F != PairMap.end());
766 assert(F != PairMap.end());
790 assert(F != PairMap.end());
915 assert(F != PairMap.end());
1138 for (unsigned DR : Part) {
1157 for (auto MI : SplitIns) {
1168 for (unsigned DR : Part) {
1176 for (auto M : Uses)
1180 for (auto MI : Erase) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp 381 for (const auto &I : NewPreds) {
394 for (const auto &I : LatePreds) {
501 if (ReadOnly.find(Register) != ReadOnly.end()) {
600 for (const auto &J : PM) {
624 for (const auto &I : TmpDefs) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp 506 if (F != Relocs.end())
542 if (F != RelocsLo.end())
549 if (F != RelocsHi.end())
698 if (FindVK != FixupTable.end())
lib/Target/Hexagon/RDFGraph.cpp 186 for (auto I : P.Obj) {
309 for (auto I : P.Obj)
932 for (RegisterRef RR : EHRegs) {
1060 for (RegisterId A : PRI.getAliasSet(RR.Reg)) {
1115 for (RegisterId A : PRI.getAliasSet(RR.Reg)) {
1409 if (F != MDF.end())
1436 for (RegisterRef I : RRs)
1443 for (RegisterRef I : HasDF->second)
1447 for (RegisterRef I : MaxDF)
lib/Target/Hexagon/RDFLiveness.cpp 62 for (auto &I : P.Obj) {
64 for (auto J = I.second.begin(), E = I.second.end(); J != E; ) {
66 if (++J != E)
282 for (NodeId D : Defs) {
518 for (std::pair<NodeId,LaneBitmask> I : Uses) {
648 for (std::pair<NodeId,LaneBitmask> V : T.second) {
706 if (F2 != MDF.end())
715 for (auto S : I.second)
773 for (std::pair<NodeId,LaneBitmask> P : RS.second) {
998 for (NodeRef OR : OldDefs) {
1095 for (auto P : R.second)
1106 for (auto C : IIDF[B]) {
1109 for (auto R : S.second)
lib/Target/Mips/MipsAsmPrinter.cpp 87 it != MipsFI->StubsNeeded.end(); ++it) {
1126 it != StubsNeeded.end(); ++it) {
lib/Target/RISCV/RISCVMergeBaseOffset.cpp 277 for (auto *MI : DeadInstrs)
lib/Target/SystemZ/SystemZMachineScheduler.cpp 29 for (auto &SU : *this) {
176 for (auto *SU : Available) {
lib/Target/SystemZ/SystemZTDC.cpp 376 for (auto *I : PossibleJunk)
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp 120 for (auto &Frontier : MDF.find(SubE->getEHPad())->second)
lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp 586 for (auto DispSizePair : BlockingStoresDispSizeMap) {
lib/TextAPI/ELF/TBEHandler.cpp 124 for (auto &Sym : Set)
lib/TextAPI/MachO/TextStub.cpp 472 for (auto Architectures : ArchSet) {
540 for (auto Architectures : ArchSet) {
857 for (const auto &TargetIDs : TargetSet) {
1003 for (const auto &targets : targetSet) {
lib/Transforms/IPO/ArgumentPromotion.cpp 196 for (const auto &ArgIndex : ArgIndices) {
279 for (const auto &ArgIndex : ArgIndices) {
452 assert(It != ArgIndices.end() && "GEP not handled??");
519 if (Low != Set.begin())
526 return Low != Set.end() && isPrefix(*Low, Indices);
539 if (Low != Safe.begin())
544 if (Low != Safe.end()) {
558 while (Low != End && isPrefix(ToMark, *Low)) {
lib/Transforms/IPO/FunctionImport.cpp 712 for (auto &GlobalList : Index) {
901 for (auto &ILI : ModuleToSummariesForIndex)
1088 for (auto &Name : ModuleNameOrderedList) {
lib/Transforms/IPO/LowerTypeTests.cpp 143 for (uint64_t B : Bits)
187 for (auto ObjIndex : F) {
229 for (uint64_t B : Bits)
1135 for (auto Bit : BSI.Bits)
2076 I != E; ++I) {
lib/Transforms/IPO/SampleProfile.cpp 255 for (const auto &ICS : FS->getCallsiteSamples()) {
257 for (auto &IFS : FSMap) {
538 for (const auto &I : FS->getCallsiteSamples())
539 for (const auto &J : I.second) {
557 for (const auto &I : FS->getCallsiteSamples())
558 for (const auto &J : I.second) {
574 for (const auto &I : FS->getBodySamples())
578 for (const auto &I : FS->getCallsiteSamples())
579 for (const auto &J : I.second) {
818 for (const auto &NameFS : *M) {
1346 for (const auto &I : SampleRecord::SortCallTargets(M)) {
lib/Transforms/IPO/StripSymbols.cpp 372 for (DICompileUnit *CU : LiveCUs)
lib/Transforms/IPO/WholeProgramDevirt.cpp 815 for (const TypeMemberInfo &TM : TypeMemberInfos) {
1935 for (auto &P : ExportSummary.typeIdCompatibleVtableMap()) {
1999 for (const auto &DT : DevirtTargets)
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 1100 for (Value *V : PrevBases) {
1104 for (Value *V : Bases) {
lib/Transforms/Scalar/Float2Int.cpp 356 for (auto It = ECs.begin(), E = ECs.end(); It != E; ++It) {
lib/Transforms/Scalar/LoopDistribute.cpp 396 I != E; ++I) {
lib/Transforms/Scalar/LoopFuse.cpp 413 for (const FusionCandidate &FC : CandSet)
707 for (auto FC0 = CandidateSet.begin(); FC0 != CandidateSet.end(); ++FC0) {
711 for (++FC1; FC1 != CandidateSet.end(); ++FC1) {
lib/Transforms/Scalar/LoopStrengthReduce.cpp 4132 : Imms) dbgs()
4138 J != JE; ++J) {
lib/Transforms/Utils/SimplifyCFG.cpp 1154 for (ConstantInt *I : PTIHandled) {
lib/Transforms/Utils/SplitModule.cpp 177 E = GVtoClusterMap.end(); I != E; ++I)
tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp 70 for (const FunctionDecl *FD : v.LateParsedDecls) {
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h 196 for (const auto &IDAndNode : NodeMap) {
tools/clang/include/clang/Driver/Compilation.h 156 return OrderedOffloadingToolchains.find(Kind) !=
166 assert(TCs.first != TCs.second &&
tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h 526 if (I != StackHints.end())
tools/clang/include/clang/Tooling/DiagnosticsYaml.h 36 for (auto &Replacement : Replacements.second)
tools/clang/include/clang/Tooling/Transformer/MatchConsumer.h 51 return (Map.find(ID) != Map.end() ? TrueC : FalseC)(Result);
tools/clang/lib/AST/ASTContext.cpp 216 if (OffsetCommentBehindDecl != CommentsInTheFile.end()) {
tools/clang/lib/AST/ExprConstant.cpp 579 if (UB != Temporaries.begin() && std::prev(UB)->first.first == Key)
tools/clang/lib/AST/InheritViz.cpp 66 if (KnownVirtualBases.find(CanonType) != KnownVirtualBases.end())
tools/clang/lib/AST/VTableBuilder.cpp 2054 for (const std::string &Name : ClassNames) {
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 767 for (const TypedefNameDecl *Alias : Aliases->second) {
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 544 I != E; ++I) {
545 if (I != KS.begin())
574 for (const ArgKind &Kind : TypeSet) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp 69 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap)
tools/clang/lib/Driver/Driver.cpp 2540 for (CudaArch Arch : GpuArchs)
2937 for (auto TI = OpenMPTCRange.first, TE = OpenMPTCRange.second; TI != TE;
tools/clang/lib/Driver/ToolChains/AMDGPU.h 51 assert(opt != OptionsDefault.end() && "No Default for Option");
tools/clang/lib/Driver/ToolChains/Clang.cpp 143 for (auto II = TCs.first, IE = TCs.second; II != IE; ++II)
tools/clang/lib/Driver/ToolChains/Gnu.cpp 1854 for (const auto &InstallPath : CandidateGCCInstallPaths)
tools/clang/lib/Format/ContinuationIndenter.cpp 1620 for (const tooling::Replacement &Fix : Fixes.first) {
tools/clang/lib/Format/Format.cpp 1365 for (const auto &R : Whitespaces.generateReplacements())
1512 for (auto Line : DeletedLines) {
2296 for (const auto &R : Replaces) {
2317 for (const auto &Header : HeadersToDelete) {
2320 for (const auto &R : Replaces) {
2333 for (const auto &R : HeaderInsertions) {
tools/clang/lib/Format/TokenAnalyzer.cpp 92 I != E; ++I) {
101 for (const auto &R : RunResult.first) {
tools/clang/lib/Frontend/CompilerInvocation.cpp 3643 for (const auto &KeyValue : getCodeGenOpts().DebugPrefixMap)
tools/clang/lib/Frontend/FrontendAction.cpp 118 if (NamesToCheck.find(ND->getNameAsString()) != NamesToCheck.end()) {
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp 241 for (const auto *FD : v.LateParsedDecls) {
249 for (const NamedDecl *ND : v.ValueDecls)
251 for (const NamedDecl *ND : v.NamedDecls)
263 for (const auto &E : Symbols) {
tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp 232 if (I != FileIncludes.end())
242 if (I != ModuleIncludes.end())
252 if (I != ModuleEntryIncludes.end())
259 if (I != IfConditions.end())
tools/clang/lib/Rewrite/Rewriter.cpp 161 if (I != RewriteBuffers.end()) {
tools/clang/lib/Sema/Sema.cpp 2236 for (auto const& I : Loc->second) {
2249 for (auto &I : Loc->second) {
2265 for (auto &I : Loc->second) {
tools/clang/lib/Serialization/ASTWriter.cpp 3311 for (const auto &OC : FO.second) {
4357 for (const std::string &Ext : *ExtSet)
4389 for (const std::string &Ext : *ExtSet)
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 188 for (const auto &Pair : UninitFields) {
208 for (const auto &Pair : UninitFields) {
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 353 E = ExecutedLines.end(); I != E; ++I) {
354 if (I != ExecutedLines.begin())
358 for (unsigned LineNo : I->second) {
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 505 for (auto I = ExecutedLines.begin(), E = ExecutedLines.end(); I != E; ++I) {
510 for (unsigned LineNo : I->second) {
tools/clang/lib/Tooling/Core/Replacement.cpp 194 for (const auto &R : Replaces) {
228 for (const auto &Replace : Replaces)
269 if (I != Replaces.end() && R.getOffset() == I->getOffset()) {
326 while (I != Replaces.begin()) {
459 FirstI != First.end() || SecondI != Second.end();) {
459 FirstI != First.end() || SecondI != Second.end();) {
461 (FirstI != First.end() &&
467 while ((Merged.mergeSecond() && SecondI != Second.end()) ||
468 (!Merged.mergeSecond() && FirstI != First.end())) {
537 for (const auto &R : Replaces) {
548 for (const auto &R : Replaces) {
616 for (const auto &Entry : FileToReplaces) {
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp 281 for (auto I = ++Priorities.begin(), E = Priorities.end(); I != E; ++I)
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp 118 for (const clang::tooling::Replacement &R : Replaces) {
187 for (const auto &R : Change.getReplacements())
312 for (const auto &R : *HeaderReplacements) {
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp 172 for (const auto &Replace : AtomicChange.getReplacements()) {
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp 159 Method->getInstantiatedFromMemberFunction())) != USRSet.end())
166 if (USRSet.find(getUSRForDecl(OverriddenMethod)) != USRSet.end())
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp 67 if (USRSet.find(getUSRForDecl(ND)) != USRSet.end()) {
tools/clang/lib/Tooling/RefactoringCallbacks.cpp 51 for (const auto &Replacement : Callback->getReplacements()) {
tools/clang/lib/Tooling/Syntax/BuildTree.cpp 159 for (auto It = Trees.begin(); It != Trees.end(); ++It) {
161 It != Trees.end()
tools/clang/lib/Tooling/Transformer/RewriteRule.cpp 149 assert(Root != NodesMap.end() && "Transformation failed: missing root node.");
172 if (NodesMap.find(Tag) != NodesMap.end())
tools/clang/lib/Tooling/Transformer/Stencil.cpp 223 return (M.find(Data.Id) != M.end() ? Data.TruePart : Data.FalsePart)
tools/clang/tools/clang-format/ClangFormat.cpp 283 for (const auto &R : Replaces) {
319 for (const auto &R : Replaces) {
tools/clang/tools/clang-refactor/ClangRefactor.cpp 486 for (const auto &File : Files) {
tools/clang/tools/clang-refactor/TestSupport.cpp 91 for (const auto &File : Files) {
tools/clang/tools/clang-rename/ClangRename.cpp 200 for (const auto &Entry : FileToReplacements)
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp 175 for (const tooling::Replacement &R : Fix.second)
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp 147 for (auto I = ChangedFiles.begin(), E = ChangedFiles.end(); I != E; ++I) {
158 if (I != std::prev(E))
167 for (const auto &File : ChangedFiles) {
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp 121 for (const auto &Symbol : Symbols) {
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp 191 for (auto I = Files.begin(), E = Files.end(); I != E; ++I) {
202 if (I != std::prev(E))
tools/clang/tools/extra/clang-query/Query.cpp 111 for (auto BI = MI->getMap().begin(), BE = MI->getMap().end(); BI != BE;
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 135 for (const auto &Repl : FileAndReplacements.second) {
252 for (const auto &Repl : FileAndReplacements.second) {
329 for (const auto &Opt : Opts.CheckOptions) {
446 for (const auto &CheckFactory : *CheckFactories) {
tools/clang/tools/extra/clang-tidy/ClangTidyCheck.cpp 40 if (Iter != CheckOptions.end())
49 if (Iter != CheckOptions.end())
53 if (Iter != CheckOptions.end())
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp 647 for (const auto &Replace : FileAndReplaces.second)
657 for (const auto &Replace : FileAndReplace.second) {
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp 154 for (const auto &KeyValue : Other.CheckOptions)
tools/clang/tools/extra/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp 83 if (SuppressMacroExpansions.find(ER.getAsRange()) !=
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp 73 for (const auto *Base : BasesToInit) {
91 for (const auto *Field : FieldsToInit) {
139 for (const auto *Base : BasesToInit) {
167 for (const auto *Field : FieldsToInit) {
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp 34 while (ItPair.first != ItPair.second) {
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 1113 for (auto &Entry : Settings.compilationDatabaseChanges) {
tools/clang/tools/extra/clangd/ClangdServer.cpp 354 for (const auto &Rep : *Changes)
tools/clang/tools/extra/clangd/Format.cpp 210 for (const tooling::Replacement &R : Replacements) {
288 for (const tooling::Replacement &R : format::reformat(
tools/clang/tools/extra/clangd/Protocol.cpp 653 for (auto &Change : *WE.changes)
tools/clang/tools/extra/clangd/SourceCode.cpp 624 for (const auto &R : Repls)
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp 61 for (const auto &KindString : KindToString) {
tools/clang/tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp 40 for (const auto &Entry : NewSymbols)
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h 145 for (const auto &Fix : FileAndFixes.second) {
tools/clang/unittests/ASTMatchers/ASTMatchersTest.h 432 if (I != M.end()) {
tools/clang/unittests/Tooling/DiagnosticsYamlTest.cpp 127 for (auto &Replacement : Replacements.second) {
tools/clang/unittests/Tooling/RefactoringTest.cpp 933 for (tooling::Replacement M : Merged)
947 for (tooling::Replacement M : Merged)
tools/clang/unittests/Tooling/ReplacementTest.h 29 for (const auto &R : Replaces) {
tools/clang/unittests/libclang/TestUtils.h 46 for (const std::string &Path : Files)
tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp 95 for (; i != e; ++i) {
230 if (DeclContexts.find(B) != DeclContexts.end()) {
242 if (DeclContexts.find(*i) != DeclContexts.end())
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 174 if (Seen.find(AN) != Seen.end()) {
1630 if (Uniques.find(EnumName) != Uniques.end())
1652 for (const auto &I : Map)
3063 for (auto I = List.cbegin(), E = List.cend(); I != E; ++I) {
3064 if (I != List.cbegin())
3386 if (I != CustomSubjectSet.end())
3534 if (I != CustomLangOptsSet.end())
3594 if (I != CustomTargetSet.end())
3744 if (Seen.find(AttrName) != Seen.end())
tools/clang/utils/TableGen/ClangDataCollectorsEmitter.cpp 9 for (const auto &Entry : Defs) {
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 1332 assert(RI != DiagsInGroup.end() && "Referenced without existing?");
1341 assert(RI != DiagsInGroup.end() && "Referenced without existing?");
1554 I != E; ++I) {
tools/clang/utils/TableGen/MveEmitter.cpp 611 if (IntConstantArgs.find(i) != IntConstantArgs.end()) {
626 if (IntConstantArgs.find(i) != IntConstantArgs.end())
735 for (auto kv : CustomCodeGenArgs)
769 for (const auto &kv : ImmediateArgs) {
1465 for (StringRef Name : kv.second)
1575 for (const auto &OI : kv.second)
1594 for (const auto &OI_prelim : kv.second) {
1620 for (const auto &OI : kv.second) {
1639 for (const auto &OI : kv.second) {
tools/clang/utils/TableGen/NeonEmitter.cpp 1952 for (auto *I : Dependencies)
2123 for (auto &S : Builtins)
2242 if (Emitted.find(Def->getMangledName()) != Emitted.end())
2495 for (auto *II : (*I)->getDependencies()) {
2602 for (auto *II : (*I)->getDependencies()) {
tools/dsymutil/DwarfLinker.cpp 2518 for (auto &I : ParseableSwiftInterfaces) {
tools/lld/lib/Core/Resolver.cpp 379 for (const Atom *dsrAtom : _deadStripRoots)
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp 497 for (auto &entry : dwarfFrames)
545 if (dwarfFrame != dwarfFrames.end()) {
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp 156 for (const DefinedAtom *root : roots)
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp 450 return _existingPaths.find(key) != _existingPaths.end();
781 for (MachODylibFile *dylib : _upwardDylibs) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp 935 for (const auto *objFile : filesWithStabs) {
tools/lldb/include/lldb/Core/ThreadSafeSTLMap.h 55 if (pos != m_collection.end()) {
tools/lldb/include/lldb/Interpreter/CommandObject.h 42 for (auto iter = in_map.begin(), end = in_map.end(); iter != end; iter++) {
tools/lldb/include/lldb/Utility/Broadcaster.h 480 if (pos != m_event_names.end())
tools/lldb/include/lldb/Utility/StructuredData.h 362 for (const auto &pair : m_dict) {
371 for (iter = m_dict.begin(); iter != m_dict.end(); ++iter) {
384 if (iter != m_dict.end())
491 return search != m_dict.end();
tools/lldb/source/Breakpoint/BreakpointIDList.cpp 303 while (iter != names_found.end()) {
315 for (std::string name : names_found) {
tools/lldb/source/Breakpoint/BreakpointLocationList.cpp 116 if (pos != m_address_to_location.end())
tools/lldb/source/Breakpoint/BreakpointSiteList.cpp 126 if (pos != m_bp_site_list.end())
145 if (pos != m_bp_site_list.end())
159 for (pos = m_bp_site_list.begin(); pos != end; ++pos)
186 if (lower != m_bp_site_list.begin()) {
196 for (pos = lower; pos != upper; pos++) {
tools/lldb/source/Commands/CommandCompletions.cpp 473 for (pos = m_match_set.begin(); pos != end; pos++)
tools/lldb/source/Commands/CommandObjectMemory.cpp 482 for (auto lang : languages_to_check) {
tools/lldb/source/Commands/CommandObjectMultiword.cpp 240 for (pos = m_subcommand_dict.begin(); pos != m_subcommand_dict.end(); ++pos) {
tools/lldb/source/Commands/CommandObjectThread.cpp 155 for (const UniqueStack &stack : unique_stacks) {
227 if (matching_stack != unique_stacks.end()) {
tools/lldb/source/Commands/CommandObjectType.cpp 2791 for (const auto &search_result : search_results) {
tools/lldb/source/Core/IOHandler.cpp 4019 if (bp_lines.find(curr_line + 1) != bp_lines.end())
4144 if (bp_file_addrs.find(inst->GetAddress().GetFileAddress()) !=
tools/lldb/source/Core/PluginManager.cpp 189 for (pos = plugin_map.begin(); pos != end; ++pos) {
tools/lldb/source/Core/SourceManager.cpp 698 if (pos != m_file_cache.end())
tools/lldb/source/Core/ValueObject.cpp 1682 if (pos != m_synthetic_children.end())
tools/lldb/source/Expression/IRMemoryMap.cpp 196 if (iter != m_allocations.end()) {
202 if (iter != m_allocations.begin()) {
tools/lldb/source/Host/common/Editline.cpp 217 if (pos != g_weak_map.end()) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp 856 if (pos != m_command_dict.end())
862 if (alias_pos != m_alias_dict.end())
868 if (pos != m_user_dict.end())
897 if (pos != m_command_dict.end())
909 if (alias_pos != m_alias_dict.end())
923 if (pos != m_user_dict.end())
1078 return m_command_dict.find(cmd) != m_command_dict.end();
1083 bool exact_match = (m_alias_dict.find(cmd) != m_alias_dict.end());
1111 return m_alias_dict.find(cmd) != m_alias_dict.end();
1115 return m_user_dict.find(cmd) != m_user_dict.end();
1181 for (pos = m_command_dict.begin(); pos != m_command_dict.end(); ++pos) {
1214 for (pos = m_user_dict.begin(); pos != m_user_dict.end(); ++pos) {
1852 if (pos != m_alias_dict.end())
2584 for (pos = command_map.begin(); pos != command_map.end(); ++pos) {
tools/lldb/source/Interpreter/OptionValueDictionary.cpp 87 for (pos = m_values.begin(); pos != end; ++pos) {
282 if (pos != m_values.end())
295 if (pos != m_values.end())
318 for (pos = m_values.begin(); pos != end; ++pos) {
tools/lldb/source/Interpreter/Options.cpp 55 for (pos_a = set_a.begin(); pos_a != set_a.end() && is_a_subset; ++pos_a) {
73 for (pos_a = set_a.begin(); pos_a != set_a.end(); ++pos_a) {
94 for (pos = set_a.begin(); pos != set_a.end(); ++pos)
98 for (pos = set_b.begin(); pos != set_b.end(); ++pos) {
462 options_pos != options_end; ++options_pos) {
488 options_pos != options_end; ++options_pos) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp 248 if (m_active_lookups.find(uniqued_const_decl_name) !=
288 if (iter != m_active_lexical_decls.end())
547 if (iter != m_active_lexical_decls.end())
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp 192 for (ModuleID module : exports_set) {
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h 316 return m_isa_to_descriptor.find(isa) != m_isa_to_descriptor.end();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp 3086 for (auto b : m_runtimeHooks) {
3923 for (const auto &key_val : m_pragmas) {
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp 156 for (auto call_inst : rs_callsites) {
231 for (auto call_inst : rs_callsites) {
252 for (auto func : rs_functions) {
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 4356 if (range.first != range.second) {
4358 pos != range.second; ++pos) {
4369 if (resolver_addresses.find(nlist.n_value) !=
4377 if (resolver_addresses.find(nlist.n_value) !=
4392 if (range.first != range.second) {
4394 pos != range.second; ++pos) {
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp 221 for (const auto &pair : watchpoint_map) {
233 for (const auto &pair : hw_breakpoint_map) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp 1153 if (iterator != m_registers.end()) {
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 4405 if (pos != target_info.reg_set_map.end())
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 161 for (const auto &name_module : sym_file.getExternalTypeModules()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp 128 if (m_prev_abbr_offset_pos != end &&
136 if (pos != m_abbrevCollMap.end())
144 for (const auto &pair : m_abbrevCollMap)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp 114 if (pos != m_range_map.end()) {
210 if (pos != m_range_map.end()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 370 for (Type *type : type_set) {
518 for (auto form : invalid_forms)
2354 for (lldb::user_id_t uid :
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp 1116 for (clang::NamespaceDecl *namespace_decl : *set)
1120 for (clang::NamespaceDecl *namespace_decl : *set)
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp 1325 if (resolved_ids.find(id) != resolved_ids.end())
1400 if (sym_addresses.find(file_addr) != sym_addresses.end())
tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp 350 if (pos != m_register_values.end()) {
tools/lldb/source/Symbol/ClangASTContext.cpp 1896 if (path_left.find(d) != path_left.end())
10093 if (searched.find(it->second) != searched.end())
tools/lldb/source/Symbol/ClangASTImporter.cpp 1046 if (m_decls_to_ignore.find(to) != m_decls_to_ignore.end())
tools/lldb/source/Symbol/Symtab.cpp 122 pos != end; ++pos) {
385 if (it != class_contexts.end()) {
399 if (it != class_contexts.end()) {
tools/lldb/source/Symbol/TypeMap.cpp 96 for (auto pos = m_types.begin(), end = m_types.end(); pos != end; ++pos) {
tools/lldb/source/Symbol/UnwindPlan.cpp 241 idx != m_register_locations.end(); ++idx) {
257 if (pos != m_register_locations.end()) {
266 if (pos != m_register_locations.end()) {
tools/lldb/source/Symbol/UnwindTable.cpp 167 for (const_iterator pos = begin; pos != end; ++pos) {
tools/lldb/source/Target/Memory.cpp 184 if (pos != end) {
198 for (++pos; (pos != end) && (bytes_left > 0); ++pos) {
tools/lldb/source/Target/Process.cpp 1502 for (const lldb::LanguageType lang_type : Language::GetSupportedLanguages()) {
4222 if (find_it != m_structured_data_plugin_map.end())
5600 if (iter != m_resolved_indirect_addresses.end()) {
5916 for (auto &type_name : const_type_names) {
tools/lldb/source/Target/RegisterNumber.cpp 52 for (auto it : rhs.m_kind_regnum_map)
tools/lldb/source/Target/SectionLoadList.cpp 215 if (pos != m_addr_to_sect.end()) {
216 if (load_addr != pos->first && pos != m_addr_to_sect.begin())
252 for (pos = m_addr_to_sect.begin(), end = m_addr_to_sect.end(); pos != end;
tools/lldb/source/Target/UnixSignals.cpp 144 return m_signals.find(signo) != m_signals.end();
159 for (pos = m_signals.begin(); pos != end; pos++) {
212 if (pos != m_signals.end())
236 if (pos != m_signals.end())
260 if (pos != m_signals.end())
tools/lldb/source/Utility/Broadcaster.cpp 96 if (pos != end) {
401 if (iter != end_iter)
414 if (iter != end_iter)
465 iter != end_iter; iter++)
tools/lldb/source/Utility/StructuredData.cpp 162 for (const auto &pair : m_dict) {
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp 1716 for (const auto &filter : unset_filters) {
tools/lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp 180 for (ConstString Str : Results)
tools/llvm-as/llvm-as.cpp 95 if (Index && Index->begin() != Index->end())
tools/llvm-cfi-verify/lib/FileAnalysis.cpp 165 assert(InstrKV != Instructions.end() && "Address doesn't exist.");
tools/llvm-cfi-verify/lib/GraphBuilder.cpp 231 for (const auto *ParentMetaPtr : CFCrossRefs) {
tools/llvm-cfi-verify/llvm-cfi-verify.cpp 133 for (object::SectionedAddress Address : Analysis.getIndirectInstructions()) {
tools/llvm-ifs/llvm-ifs.cpp 153 for (auto &Sym : Set)
254 for (const auto &Symbol : Symbols) {
328 for (const auto &Symbol : Symbols) {
469 for (auto Symbol : TargetStub->Symbols) {
tools/llvm-mca/Views/DispatchStatistics.cpp 40 for (const std::pair<unsigned, unsigned> &Entry : DispatchGroupSizePerCycle) {
tools/llvm-mca/Views/RetireControlUnitStatistics.cpp 62 for (const std::pair<unsigned, unsigned> &Entry : RetiredPerCycle) {
tools/llvm-mca/Views/SchedulerStatistics.cpp 110 for (const std::pair<unsigned, unsigned> &Entry : IssueWidthPerCycle) {
tools/llvm-objcopy/ELF/Object.cpp 2234 for (const SectionBase *Sec : Sections)
2288 for (const SectionBase *Sec : Sections)
tools/llvm-opt-report/OptReport.cpp 280 for (auto &FLI : FileInfo)
281 for (auto &FI : FLI.second)
282 for (auto &LI : FI.second)
311 if (LII != FileInfo.end() && !FuncNameSet.empty()) {
314 for (auto &CI : LineInfo.find(*FuncNameSet.begin())->second) {
328 for (const auto &FuncName : FuncNameSet) {
429 if (LII != FileInfo.end()) {
431 for (const auto &FLII : FuncLineInfo) {
434 for (const auto &OI : FLII.second)
tools/llvm-profdata/llvm-profdata.cpp 388 for (const auto &BodySample : Samples.getBodySamples()) {
398 for (const auto &CallsiteSamples : Samples.getCallsiteSamples()) {
401 for (const auto &Callsite : CallsiteSamples.second) {
tools/llvm-reduce/deltas/Delta.cpp 136 for (auto C : UninterestingChunks)
tools/llvm-xray/xray-account.cpp 275 for (auto FT : FunctionLatencies) {
453 for (const auto &ThreadStack : FCA.getPerThreadFunctionStack()) {
tools/obj2yaml/dwarf2yaml.cpp 29 for (auto AbbrvDeclSet : *AbbrevSetPtr) {
tools/sancov/sancov.cpp 273 for (auto Addr : *CoverageData.Addrs) {
329 if (WrittenIds.find(Point->Id) != WrittenIds.end())
347 for (const std::string &P : C.CoveredIds) {
529 for (auto Addr : CoveredAddrs) {
549 for (auto Addr : Addrs) {
770 SanCovAddrs.find(Target) != SanCovAddrs.end())
830 for (uint64_t Addr : findCoveragePointAddrs(ObjFile)) {
878 for (uint64_t Addr : *Data.Addrs) {
975 for (const auto &P : FnLocs) {
1030 for (const auto &Id : Coverage.CoveredIds) {
1085 for (const auto &FileName : CovFiles) {
unittests/ADT/DeltaAlgorithmTest.cpp 21 ie = S.end(); it != ie; ++it) {
22 if (it != S.begin())
unittests/IR/CFGBuilder.cpp 150 for (const auto &A : Arcs)
unittests/XRay/GraphTest.cpp 70 for (unsigned u : V) {
96 for (std::pair<unsigned, unsigned> u : E) {
unittests/tools/llvm-exegesis/X86/RegisterAliasingTest.cpp 37 for (MCPhysReg aliased : ExpectedAliasedRegisters) {
usr/include/c++/7.4.0/bits/stl_algo.h 104 while (__first != __last && !__pred(__first))
2792 while (__first1 != __last1 && __first2 != __last2)
2792 while (__first1 != __last1 && __first2 != __last2)
5218 while (__first1 != __last1 && __first2 != __last2)
5218 while (__first1 != __last1 && __first2 != __last2)
5334 while (__first1 != __last1 && __first2 != __last2)
5334 while (__first1 != __last1 && __first2 != __last2)
5588 while (++__first != __last)
5652 while (++__first != __last)
usr/include/c++/7.4.0/bits/stl_algobase.h 293 for (; __first != __last; ++__result, (void)++__first)
799 for (; __first1 != __last1; ++__first1, (void)++__first2)
845 { return __first != __last; }
880 for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2);
888 return __first1 == __last1 && __first2 != __last2;
usr/include/c++/7.4.0/bits/stl_iterator_base_funcs.h 87 while (__first != __last)
usr/include/c++/7.4.0/bits/stl_tree.h 1225 if (__j != end() && _M_impl._M_key_compare(__k, _S_key(__j._M_node)))
2451 for (; __first != __last; ++__first)
2490 while (__first != __last)
usr/include/c++/7.4.0/bits/stl_uninitialized.h 82 for (; __first != __last; ++__first, (void)++__cur)
usr/include/c++/7.4.0/bits/vector.tcc 634 if (__first != __last)
utils/TableGen/AsmMatcherEmitter.cpp 1241 for (const RegisterSet &RS : RegisterSets) {
1267 for (const RegisterSet &RS : RegisterSets) {
1287 for (const RegisterSet &RS : RegisterSets) {
1289 for (const RegisterSet &RS2 : RegisterSets)
2667 for (StringRef Type : Types)
utils/TableGen/AsmWriterEmitter.cpp 802 for (auto &Alias : Aliases.second) {
utils/TableGen/CTagsEmitter.cpp 70 for (const auto &C : Classes)
72 for (const auto &D : Defs)
utils/TableGen/CodeEmitterGen.cpp 444 for (unsigned HwMode : HwModes)
453 for (unsigned I : HwModes) {
utils/TableGen/CodeGenDAGPatterns.cpp 77 for (const auto &I : *this) {
92 for (const auto &I : *this) {
102 for (const auto &I : *this)
114 for (const auto &P : VVT) {
140 for (const auto &I : VTS) {
173 for (const auto &I : VTS) {
186 for (const auto &I : *this)
229 for (auto &I : *this)
231 for (const auto &I : VTS)
334 for (const auto &I : *this)
763 for (MVT Ov : Ovs) {
811 for (const auto &I : LTS)
4228 for (const auto &I : VTS)
4287 for (unsigned M : Modes) {
4301 for (unsigned M : Modes) {
utils/TableGen/CodeGenDAGPatterns.h 1186 assert(F != SDNodes.end() && "Unknown node!");
1194 assert(F != SDNodeXForms.end() && "Invalid transform!");
1206 assert(F != ComplexPatterns.end() && "Unknown addressing mode!");
1236 assert(F != DefaultOperands.end() &&"Isn't an analyzed default operand!");
1243 assert(F != PatternFragments.end() && "Invalid pattern fragment request!");
1273 assert(F != Instructions.end() && "Unknown instruction!");
utils/TableGen/CodeGenHwModes.cpp 89 assert(F != ModeSelects.end() && "Record is not a \"mode select\"");
108 for (const auto &P : ModeSelects) {
utils/TableGen/CodeGenRegisters.cpp 115 for (const auto &C : Composed)
298 for (const auto &SR : Map) {
318 E = Comps.end(); I != E; ++I) {
352 for (const auto &SubReg : Map)
536 SE = NewSubReg->SubRegs.end(); SI != SE; ++SI) {
555 I != E; ++I)
562 I != E; ++I) {
587 I != E; ++I)
1175 for (auto P : Reg.getSubRegs()) {
1253 if (FoundI != Key2RC.end())
1330 for (std::pair<const CodeGenSubRegIndex*, const CodeGenRegister*> P : SM)
1341 for (std::pair<const CodeGenRegister*, const CodeGenRegister*> P : Img1) {
1343 if (F != Img2.end())
1356 for (std::pair<const CodeGenRegister*, const CodeGenRegister*> P : Map1) {
1368 for (auto P : Idx.getComposites())
1383 e1 = SRM1.end(); i1 != e1; ++i1) {
1392 e2 = SRM2.end(); i2 != e2; ++i2) {
1715 SRE = SRM.end(); SRI != SRE; ++SRI) {
2051 SE = SubRegs.end(); S != SE; ++S) {
2181 E = SRM.end(); I != E; ++I) {
2409 E = SRM.end(); I != E; ++I)
utils/TableGen/DFAEmitter.cpp 59 for (action_type A : Actions) {
utils/TableGen/ExegesisEmitter.cpp 148 for (const auto &NameAndIndex : PfmCounterNameTable)
utils/TableGen/FastISelEmitter.cpp 699 OE = SimplePatterns.end(); OI != OE; ++OI) {
704 I != E; ++I) {
713 TI != TE; ++TI) {
718 RI != RE; ++RI) {
745 RI != RE; ++RI) {
789 TI != TE; ++TI) {
856 I != E; ++I) {
utils/TableGen/FixedLenDecoderEmitter.cpp 674 for (auto &Filter : FilterChooserMap) {
2429 for (StringRef HwModeName : HwModeNames)
utils/TableGen/GlobalISelEmitter.cpp 1184 for (const LLTCodeGen LLTy : KnownTypes)
2870 for (const auto &IDMatcherPair : Rule.defined_insn_vars())
2996 if (I != InsnVariableIDs.end())
3021 for (const auto &I : InsnVariableIDs)
5140 for (const auto &Ty : KnownTypes)
utils/TableGen/InfoByHwMode.cpp 89 for (const auto &P : Map)
181 for (const auto &P : Map)
utils/TableGen/InfoByHwMode.h 44 for (const auto &P : A)
46 for (const auto &P : B)
50 for (unsigned M : U)
82 bool hasMode(unsigned M) const { return Map.find(M) != Map.end(); }
97 assert(F != Map.end());
utils/TableGen/IntrinsicEmitter.cpp 636 E = UniqAttributes.end(); I != E; ++I) {
utils/TableGen/OptParserEmitter.cpp 141 I != E; ++I) {
utils/TableGen/PseudoLoweringEmitter.cpp 280 for (const auto &D : Records.getDefs()) {
utils/TableGen/RISCVCompressInstEmitter.cpp 626 for (auto &Op : FeaturesSet) {
779 for (const auto &D : Records.getDefs()) {
utils/TableGen/RegisterInfoEmitter.cpp 675 for (const auto &I : Map) {
682 for (const auto &I : Map) {
1668 for (std::pair<CodeGenSubRegIndex*,CodeGenRegister*> P : R.getSubRegs()) {
utils/TableGen/SearchableTableEmitter.cpp 722 for (auto &NameRec : Records.getClasses()) {
785 for (const auto &Guard : PreprocessorGuards)
utils/TableGen/SequenceToOffsetTable.h 106 assert(I != Seqs.end() && isSuffix(Seq, I->first) &&
118 I != E; ++I) {
utils/benchmark/src/console_reporter.cc 60 for(auto const& c : run.counters) {
150 for (auto& c : result.counters) {
utils/benchmark/src/counter.cc 41 if (it != r.end()) {
46 for (auto const &tc : r) {
59 for (auto const& c : l) {
utils/benchmark/src/csv_reporter.cc 51 for (const auto& cnt : run.counters) {
61 for (auto B = user_counter_names_.begin(); B != user_counter_names_.end();) {
70 for (const auto& cnt : run.counters) {
71 CHECK(user_counter_names_.find(cnt.first) != user_counter_names_.end())
138 for (const auto &ucn : user_counter_names_) {
utils/benchmark/src/json_reporter.cc 194 for(auto &c : run.counters) {
utils/benchmark/src/statistics.cc 113 for(auto const& cnt : r.counters) {
135 for(auto const& cnt : run.counters) {
utils/unittest/googlemock/include/gmock/gmock-matchers.h 2827 it != stl_container.end(); ++it, ++i) {
3186 for (; it != stl_container.end() && exam_pos != count(); ++it, ++exam_pos) {
3207 for (; it != stl_container.end(); ++it) {
3425 for (; elem_first != elem_last; ++num_elements, ++elem_first) {
utils/unittest/googlemock/include/gmock/gmock-spec-builders.h 973 for (ExpectationSet::const_iterator it = s.begin(); it != s.end(); ++it) {
1138 it != unsatisfied_prereqs.end(); ++it) {
utils/unittest/googlemock/src/gmock-spec-builders.cc 104 it != immediate_prerequisites_.end(); ++it) {
119 it != immediate_prerequisites_.end(); ++it) {
132 it != immediate_prerequisites_.end(); ++it) {
558 for (StateMap::const_iterator it = states_.begin(); it != states_.end();
699 it != mockers.end(); ++it) {
777 it != mockers.end(); ++it) {
utils/unittest/googletest/include/gtest/gtest-printers.h 378 it != container.end(); ++it, ++count) {
utils/unittest/googletest/include/gtest/gtest.h 1522 GTEST_IMPL_CMP_HELPER_(NE, !=);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 575 GTEST_CHECK_(it != registered_tests_.end());
utils/unittest/googletest/src/gtest-typed-test.cc 80 it != registered_tests_.end();
97 it != registered_tests_.end();