|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/SetOperations.h 40 for (typename S1Ty::iterator I = S1.begin(); I != S1.end();) {
include/llvm/ADT/SmallPtrSet.h 381 size_type count(ConstPtrType Ptr) const { return find(Ptr) != end() ? 1 : 0; }
include/llvm/Analysis/IVDescriptors.h 98 CastInsts.insert(CI.begin(), CI.end());
include/llvm/Analysis/LoopInfoImpl.h 672 std::all_of(BlocksSet.begin(), BlocksSet.end(),
include/llvm/Analysis/VectorUtils.h 549 for (auto *Ptr : DelSet)
573 return make_range(InterleaveGroups.begin(), InterleaveGroups.end());
include/llvm/IR/PassManager.h 235 for (auto ID : Arg.NotPreservedAnalysisIDs) {
239 for (auto ID : PreservedIDs)
257 for (auto ID : Arg.NotPreservedAnalysisIDs) {
261 for (auto ID : PreservedIDs)
include/llvm/Support/GenericIteratedDominanceFrontier.h 147 for (NodeTy *BB : *DefBlocks) {
lib/Analysis/BasicAliasAnalysis.cpp 1649 for (Value *PV1 : PhiValueSet) {
1930 for (auto *P : VisitedPhiBBs)
lib/Analysis/BlockFrequencyInfo.cpp 239 for (auto *BB : BlocksToScale) {
lib/Analysis/CFG.cpp 149 for (auto BB : *ExclusionSet) {
lib/Analysis/DivergenceAnalysis.cpp 311 for (const auto *JoinBlock : SDA.join_blocks(Term)) {
349 for (const auto *JoinBlock : SDA.join_blocks(ExitingLoop)) {
lib/Analysis/DomTreeUpdater.cpp 104 for (auto *BB : DeletedBBs) {
510 for (auto BB : DeletedBBs) {
lib/Analysis/GlobalsModRef.cpp 309 for (Function *Reader : Readers) {
318 for (Function *Writer : Writers) {
lib/Analysis/IVUsers.cpp 330 for (auto PostIncLoop : IVUse.PostIncLoops) {
lib/Analysis/LazyValueInfo.cpp 308 SmallVector<Value *, 4> ValsToClear(I->second.begin(), I->second.end());
lib/Analysis/MemoryBuiltins.cpp 846 for (const Value *SeenVal : SeenVals) {
854 for (Instruction *I : InsertedInstructions) {
lib/Analysis/MemoryDependenceAnalysis.cpp 1496 for (const auto &entry : toRemoveIt->second)
1594 for (Instruction *InstDependingOnRemInst : ReverseDepIt->second) {
1621 for (Instruction *I : ReverseDepIt->second) {
1658 for (ValueIsLoadPair P : ReversePtrDepIt->second) {
1727 for (Instruction *Inst : DepKV.second)
1733 for (Instruction *Inst : DepKV.second)
1740 for (ValueIsLoadPair P : DepKV.second)
lib/Analysis/MemorySSAUpdater.cpp 952 for (auto *BB : NewBlocks)
lib/Analysis/ModuleSummaryAnalysis.cpp 661 for (auto *V : Used) {
767 for (auto *V : LocalsUsed) {
lib/Analysis/MustExecute.cpp 208 for (auto *Pred : Predecessors) {
286 for (auto *Pred : Predecessors)
lib/Analysis/PhiValues.cpp 96 Reachable.insert(It->second.begin(), It->second.end());
106 for (const Value *V : Reachable)
131 for (const Value *V : ReachableMap[N])
164 for (Value *V : It->second)
lib/Analysis/ScalarEvolution.cpp 7001 for (auto *P : *PredSet)
7042 for (auto *Pred : EL.Predicates)
9135 for (auto *L1 : LoopsUsed)
9136 for (auto *L2 : LoopsUsed)
9143 *std::max_element(LoopsUsed.begin(), LoopsUsed.end(),
11914 for (auto *L : LoopsUsed)
12233 for (auto *P : TransformPreds)
12470 for (auto *P : NewPreds)
lib/Analysis/ScopedNoAliasAA.cpp 154 for (const MDNode *Domain : Domains) {
165 for (const MDNode *SMD : ScopeNodes)
lib/Analysis/SyncDependenceAnalysis.cpp 319 for (const auto *ExitBlock : ReachedLoopExits) {
lib/Analysis/VectorUtils.cpp 1136 for (auto *Ptr : DelSet) {
lib/CodeGen/CodeGenPrepare.cpp 490 for (Instruction *I : RemovedInsts)
742 for (auto SameValueBB : SameIncomingValueBBs)
3060 for (auto I : AllSelectNodes) {
3374 for (auto *P : WillNotMatch)
5557 for (auto VisitedSExt : UnhandledExts) {
lib/CodeGen/GlobalISel/Combiner.cpp 84 : CreatedInstrs) {
lib/CodeGen/GlobalISel/GISelChangeObserver.cpp 27 for (auto *ChangedMI : ChangingAllUsesOfReg)
lib/CodeGen/InlineSpiller.cpp 1205 for (const auto CurrentSpill : Spills) {
1254 for (const auto Spill : Spills) {
1283 WorkSet.insert(NodesOnPath.begin(), NodesOnPath.end());
1381 auto EI = SpillsInSubTreeMap[Child].first.end();
1405 for (const auto SpillBB : SpillsInSubTree) {
1421 for (const auto Rspill : SpillsInSubTree)
1478 for (const auto spill : EqValSpills)
lib/CodeGen/MachineBlockPlacement.cpp 2627 for (MachineBasicBlock *RemainingBB : FunctionBlockSet)
lib/CodeGen/MachinePipeliner.cpp 1242 assert(SI != BU.end() && "Invalid B set.");
lib/CodeGen/MachineSink.cpp 1106 for (auto *SI : SinkableBBs) {
lib/CodeGen/OptimizePHIs.cpp 197 for (InstrSetIterator PI = PHIsInCycle.begin(), PE = PHIsInCycle.end();
lib/CodeGen/PHIElimination.cpp 172 for (MachineInstr *DefMI : ImpDefs) {
lib/CodeGen/PrologEpilogInserter.cpp 507 for (MachineBasicBlock *MBB : Visited) {
lib/CodeGen/RegAllocBase.cpp 167 for (auto DeadInst : DeadRemats) {
lib/CodeGen/RegAllocGreedy.cpp 2663 EndIt = RecoloringCandidates.end();
2716 EndIt = RecoloringCandidates.end();
lib/CodeGen/RegAllocPBQP.cpp 775 for (auto DeadInst : DeadRemats) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 4894 for (auto *LogicN : NodesWithConsts) {
6768 for (LoadSDNode *L : Loads)
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 7737 for (SDNode *N : DeadNodeSet)
lib/CodeGen/SjLjEHPrepare.cpp 342 for (PHINode *PN : PHIsToDemote)
lib/CodeGen/SplitKit.cpp 970 for (; It1 != EqualVNs[ParentVNI->id].end(); ++It1) {
972 for (++It2; It2 != EqualVNs[ParentVNI->id].end(); ++It2) {
989 for (auto VNI : DominatedVNIs) {
lib/ExecutionEngine/MCJIT/MCJIT.h 85 ModulePtrSet::iterator end_added() { return AddedModules.end(); }
91 ModulePtrSet::iterator end_loaded() { return LoadedModules.end(); }
94 ModulePtrSet::iterator end_finalized() { return FinalizedModules.end(); }
156 E = LoadedModules.end();
171 for (ModulePtrSet::iterator I = MPS.begin(), E = MPS.end(); I != E; ++I) {
lib/IR/LegacyPassManager.cpp 660 for (Pass *LUP : LU) {
lib/IR/Verifier.cpp 2514 Assert(ArgBBs.find(BB) != ArgBBs.end(),
5079 for (auto *CU : CUVisited)
lib/MC/MCCodePadder.cpp 23 for (auto *Policy : CodePaddingPolicies)
49 CodePaddingPolicies.begin(), CodePaddingPolicies.end(),
90 CodePaddingPolicies.begin(), CodePaddingPolicies.end(),
168 for (const auto *Policy : CodePaddingPolicies) {
195 for (const auto *Policy : CodePaddingPolicies)
240 CodePaddingPolicies.begin(), CodePaddingPolicies.end(), 0.0,
lib/Support/CommandLine.cpp 176 for (const auto &Sub : RegisteredSubCommands) {
188 for (auto SC : Opt.Subs)
232 for (const auto &Sub : RegisteredSubCommands) {
249 for (auto SC : O->Subs)
292 for (auto SC : RegisteredSubCommands)
295 for (auto SC : O->Subs)
307 for (const auto &S : RegisteredSubCommands) {
331 for (auto SC : RegisteredSubCommands)
334 for (auto SC : O->Subs)
382 RegisteredSubCommands.end());
546 for (auto S : RegisteredSubCommands) {
1249 for (auto SC : RegisteredSubCommands) {
2042 for (const auto &S : SubMap) {
2185 E = GlobalParser->RegisteredOptionCategories.end();
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp 144 for (Function *F : FuncsToAlwaysInline)
147 for (Function *F : FuncsToNoInline)
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp 178 for (auto I : PHIInfo) {
189 for (auto I : PHIInfo) {
203 for (auto I : PHIInfo) {
268 for (auto PII : this->PHIInfo) {
289 return PHILinearizeDestIterator(PHIInfo.end());
835 for (auto MBBI : SubRegion->MBBs) {
864 for (const auto &MBB : MBBs) {
998 for (const auto &MBB : InnerRegion->MBBs) {
1021 for (auto MBBI : MBBs) {
1432 for (auto PI : PHIs) {
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 191 Roots.insert(NewRoots.begin(), NewRoots.end());
256 for (Function *F : Replaced) {
lib/Target/AMDGPU/GCNMinRegStrategy.cpp 197 SmallVector<const SUnit*, 32> Worklist(Set.begin(), Set.end());
210 const auto SetEnd = Set.end();
lib/Target/ARM/ARMAsmPrinter.cpp 118 for (auto *GV : AFI->getGlobalsPromotedToConstantPool())
lib/Target/ARM/ARMCodeGenPrepare.cpp 478 for (auto *I : *SafeWrap) {
499 for (auto *I : NewInsts)
527 for (auto V : *Sources) {
626 for (auto I : *Sinks) {
695 for (auto *I : InstsToRemove) {
755 for (auto *I : Sinks) {
lib/Target/ARM/ARMConstantPoolValue.cpp 199 Constant->GVars.insert(GVars.begin(), GVars.end());
211 for (const auto *GV : GVars)
lib/Target/ARM/ARMConstantPoolValue.h 182 return iterator_range<promoted_iterator>(GVars.begin(), GVars.end());
lib/Target/ARM/ARMFrameLowering.cpp 2318 for (MachineBasicBlock *PredBB : BeforePrologueRegion)
2329 for (MachineBasicBlock *MBB : BeforePrologueRegion) {
lib/Target/ARM/ARMISelLowering.cpp 9814 for (MachineBasicBlock *BB : InvokeBBs) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp 2117 for (MachineInstr *MemOp : MemOps)
lib/Target/ARM/MVETailPredication.cpp 435 for (auto *I : Dead)
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp 199 for (auto *Sym : UpdateOther)
lib/Target/PowerPC/PPCBoolRetToInt.cpp 138 for (const PHINode *P : Promotable) {
165 for (const PHINode *P : Promotable) {
229 for (Value *V : Defs)
234 for (Value *V : Defs)
245 for (Value *V : Defs)
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 6122 ToPromote.insert(ToPromote1.begin(), ToPromote1.end());
6139 ToPromote.insert(ToPromote1.begin(), ToPromote1.end());
6155 ToPromote.insert(ToPromote1.begin(), ToPromote1.end());
6173 ToPromote.insert(ToPromote1.begin(), ToPromote1.end());
6176 ToPromote.insert(ToPromote2.begin(), ToPromote2.end());
6196 ToPromote.insert(ToPromote1.begin(), ToPromote1.end());
6266 for (SDNode *PN : ToPromote) {
6286 for (SDNode *PN : ToPromote) {
lib/Target/PowerPC/PPCISelLowering.cpp11913 IE = LoadRoots.end(); I != IE; ++I) {
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp 78 for (auto *MBB : Blocks) {
131 for (auto *MBB : Blocks) {
156 for (auto *MBB : Blocks) {
165 for (auto *Looper : Loopers) {
252 for (auto *LoopEntry : Graph.getLoopEntries()) {
274 for (auto *OtherLoopEntry : Graph.getLoopEntries()) {
299 for (auto *LoopEntry : Graph.getLoopEntries()) {
328 BlockVector SortedEntries(Entries.begin(), Entries.end());
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 716 for (Function *F : SetjmpUsers)
836 for (LandingPadInst *LPI : LandingPads) {
lib/Target/X86/X86ISelLowering.cpp31111 for (MachineBasicBlock *MBB : InvokeBBs) {
lib/Transforms/Coroutines/CoroElide.cpp 167 for (Instruction *TI : Terminators) {
177 for (CoroSubFnInst *DA : DAs) {
lib/Transforms/Coroutines/CoroSplit.cpp 1040 for (auto *BB : Set)
lib/Transforms/IPO/Attributor.cpp 3563 for (Instruction *FreeCall : FreesForMalloc[MallocCall]) {
4603 for (Instruction *I : ToBeDeletedInsts) {
4612 ToBeDeletedBBs.append(ToBeDeletedBlocks.begin(), ToBeDeletedBlocks.end());
4619 for (Function *Fn : ToBeDeletedFunctions) {
lib/Transforms/IPO/CalledValuePropagation.cpp 389 for (Instruction *C : Lattice.getIndirectCalls()) {
lib/Transforms/IPO/GlobalDCE.cpp 112 Deps.insert(K.begin(), K.end());
117 Deps.insert(LocalDeps.begin(), LocalDeps.end());
127 for (GlobalValue *GVU : Deps) {
273 for (auto *VTable : VFESafeVTables)
343 AliveGlobals.end()};
346 for (auto *GVD : GVDependencies[LGV])
lib/Transforms/IPO/GlobalOpt.cpp 1124 for (const PHINode *PN : LoadUsingPHIs) {
2586 for (GlobalVariable *GV : Eval.getInvariants())
2610 for (GlobalValue *GV : Init) {
2648 iterator usedEnd() { return Used.end(); }
2655 iterator compilerUsedEnd() { return CompilerUsed.end(); }
lib/Transforms/IPO/Internalize.cpp 176 for (GlobalValue *V : Used) {
lib/Transforms/IPO/LowerTypeTests.cpp 369 appendToUsed(M, std::vector<GlobalValue *>(Used.begin(), Used.end()));
371 CompilerUsed.end()));
lib/Transforms/IPO/StripSymbols.cpp 155 for (Constant *O : Operands)
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1314 for (AllocaInst *AI : AllocaSet)
lib/Transforms/ObjCARC/DependencyAnalysis.cpp 262 for (const BasicBlock *BB : Visited) {
lib/Transforms/ObjCARC/ObjCARCContract.cpp 742 for (CallInst *CI : StoreStrongCalls)
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 1577 for (Instruction *InsertPt : ReleasesToMove.ReverseInsertPts) {
1590 for (Instruction *InsertPt : RetainsToMove.ReverseInsertPts) {
1609 for (Instruction *OrigRetain : RetainsToMove.Calls) {
1614 for (Instruction *OrigRelease : ReleasesToMove.Calls) {
1652 for (Instruction *NewRetainRelease : NewRetainRRI.Calls) {
1696 for (Instruction *RIP : NewRetainReleaseRRI.ReverseInsertPts) {
1724 for (Instruction *NewReleaseRetain : NewReleaseRRI.Calls) {
1753 for (Instruction *RIP : NewReleaseRetainRRI.ReverseInsertPts) {
lib/Transforms/ObjCARC/PtrState.cpp 113 Calls.insert(Other.Calls.begin(), Other.Calls.end());
118 for (Instruction *Inst : Other.ReverseInsertPts)
lib/Transforms/Scalar/ADCE.cpp 469 for (auto *BB : NewLiveBlocks)
611 for (auto *Succ : RemovedSuccessors) {
lib/Transforms/Scalar/ConstantHoisting.cpp 242 Candidates.insert(Path.begin(), Path.end());
lib/Transforms/Scalar/Float2Int.cpp 186 std::deque<Instruction*> Worklist(Roots.begin(), Roots.end());
lib/Transforms/Scalar/GVNHoist.cpp 943 for (MemoryPhi *Phi : UsePhis) {
lib/Transforms/Scalar/LoopDistribute.cpp 144 InstructionSet::iterator end() { return Set.end(); }
146 InstructionSet::const_iterator end() const { return Set.end(); }
152 Other.Set.insert(Set.begin(), Set.end());
168 SmallVector<Instruction *, 8> Worklist(Set.begin(), Set.end());
242 for (auto *I : Set)
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 797 TransformedStores.insert(AdjacentStores.begin(), AdjacentStores.end());
1046 for (auto *I : Stores)
lib/Transforms/Scalar/LoopInterchange.cpp 691 if (OuterInnerReductions.find(&PHI) == OuterInnerReductions.end()) {
1543 assert(OuterInnerReductions.find(PHI) != OuterInnerReductions.end() &&
1548 assert(OuterInnerReductions.find(PHI) != OuterInnerReductions.end() &&
lib/Transforms/Scalar/LoopRerollPass.cpp 1020 Exclude.insert(DRS.SubsumedInsts.begin(), DRS.SubsumedInsts.end());
1050 for (auto *I : DRS.SubsumedInsts) {
1060 Exclude.insert(DRS.SubsumedInsts.begin(), DRS.SubsumedInsts.end());
1161 for (auto *I : PossibleRedPHISet) {
lib/Transforms/Scalar/LoopSimplifyCFG.cpp 98 for (BasicBlock *BB : BBs) {
172 for (const BasicBlock *BB : S)
516 for (auto *DeadSucc : DeadSuccessors)
lib/Transforms/Scalar/LoopSink.cpp 85 for (BasicBlock *B : BBs)
127 BBsToSinkInto.insert(UseBBs.begin(), UseBBs.end());
140 for (BasicBlock *SinkedBB : BBsToSinkInto)
147 for (BasicBlock *DominatedBB : BBsDominatedByColdestBB) {
155 for (BasicBlock *BB : BBsToSinkInto) {
206 for (auto *BB : BBsToSinkInto)
216 BBsToSinkInto.end());
lib/Transforms/Scalar/LoopStrengthReduce.cpp 1498 for (const Loop *PIL : PostIncLoops) {
1584 for (const SCEV *S : OldRegs)
2505 for (Instruction *Inst : PostIncs) {
2844 : Users) { dbgs() << " " << *Inst << "\n"; });
2978 NearUsers.end());
4915 for (const SCEV *S : CurRegs)
4955 for (const SCEV *S : NewRegs) dbgs()
5085 for (const Loop *PIL : LF.PostIncLoops) {
lib/Transforms/Scalar/NewGVN.cpp 338 MemberSet::const_iterator end() const { return Members.end(); }
350 return MemoryMembers.end();
1726 for (auto *Member : SCC)
2059 for (const typename Map::mapped_type::value_type Mapped : Result->second)
2795 for (auto Dep : CurrentDeps)
2800 Deps.insert(CurrentDeps.begin(), CurrentDeps.end());
2813 for (auto Dep : Deps)
3472 for (Instruction *ToErase : InstructionsToErase) {
4085 for (auto *I : ProbablyDead)
lib/Transforms/Scalar/SCCP.cpp 597 for (User *U : Iter->second)
2199 for (const auto &F : Solver.getMRVFunctionsTracked()) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 808 for (auto *UnswitchedExitBB : UnswitchedExitBBs) {
1752 for (auto *BB : UnloopedBlocks)
1810 for (auto *BB : NewExitLoopBlocks)
1824 for (auto *BB : UnloopedBlocks)
2419 for (auto *Succ : Successors)
lib/Transforms/Scalar/Sink.cpp 69 for (Instruction *S : Stores)
84 for (Instruction *S : Stores)
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 170 for (auto *I : Visited)
438 for (auto *UI : UserSet)
lib/Transforms/Utils/BasicBlockUtils.cpp 99 for (auto *BB : Dead)
lib/Transforms/Utils/BypassSlowDivision.cpp 216 if (Visited.find(I) != Visited.end())
lib/Transforms/Utils/CodeExtractor.cpp 700 for (BasicBlock *ExitBB : Exits) {
1552 for (BasicBlock *ExitBB : ExitBlocks)
lib/Transforms/Utils/FlattenCFG.cpp 148 for (SmallPtrSetIterator<BasicBlock *> PI = Preds.begin(), PE = Preds.end();
lib/Transforms/Utils/InlineFunction.cpp 605 for (LandingPadInst *InlinedLPad : InlinedLPads) {
1048 for (const Value *V : ObjSet) {
lib/Transforms/Utils/Local.cpp 1784 for (auto *DII : DeleteOrSalvage) {
2229 if (Reachable.find(&BB) != Reachable.end())
lib/Transforms/Utils/LoopSimplify.cpp 498 for (BasicBlock *P : BadPreds) {
lib/Transforms/Utils/LoopUnrollAndJam.cpp 71 for (BasicBlock *BB : ForeBlocks) {
593 for (BasicBlock *BB : Blocks) {
lib/Transforms/Utils/LoopUtils.cpp 671 for (BasicBlock *BB : blocks)
lib/Transforms/Utils/LowerSwitch.cpp 175 for (BasicBlock* BB: DeleteList) {
lib/Transforms/Utils/PredicateInfo.cpp 761 for (Function *F : FunctionPtrs) {
lib/Transforms/Utils/SSAUpdaterBulk.cpp 100 UsingBlocks.end());
lib/Transforms/Utils/SimplifyCFG.cpp 3209 for (auto *Address : CommonAddresses)
5769 for (BasicBlock *Pred : Preds) {
5787 for (BasicBlock *Succ : Succs) {
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 1204 for (auto *AE : AllowedExit) {
lib/Transforms/Vectorize/LoopVectorize.cpp 1060 return UniformsPerVF->second.find(I) != UniformsPerVF->second.end();
1076 return ScalarsPerVF->second.find(I) != ScalarsPerVF->second.end();
3301 if (Erased.find(I) != Erased.end() || I->use_empty() ||
4432 Worklist.insert(Uniforms[VF].begin(), Uniforms[VF].end());
4449 if (PossibleNonScalarPtrs.find(I) == PossibleNonScalarPtrs.end()) {
4477 for (auto *I : ForcedScalar->second)
4737 if (PossibleNonUniformPtrs.find(V) == PossibleNonUniformPtrs.end()) {
5081 if (ValuesToIgnore.find(&I) != ValuesToIgnore.end())
5400 if (Ends.find(I) == Ends.end())
5404 if (ValuesToIgnore.find(I) != ValuesToIgnore.end())
5413 for (auto Inst : OpenIntervals) {
5422 for (auto Inst : OpenIntervals) {
5424 if (VecValuesToIgnore.find(Inst) != VecValuesToIgnore.end())
5460 for (auto Inst : LoopInvariants) {
5660 if (ValuesToIgnore.find(&I) != ValuesToIgnore.end() ||
5661 (VF > 1 && VecValuesToIgnore.find(&I) != VecValuesToIgnore.end()))
5896 if (InstSet.find(I) != InstSet.end())
6053 for (auto *I : AddrDefs)
6064 for (auto *I : AddrDefs) {
6115 PredicatedBBsAfterVectorization.end() ||
6117 PredicatedBBsAfterVectorization.end()))
6368 VecValuesToIgnore.insert(Casts.begin(), Casts.end());
6541 DeadInstructions.end();
7107 for (Value *V : NeedDef)
7134 DeadInstructions.find(Instr) != DeadInstructions.end())
lib/Transforms/Vectorize/SLPVectorizer.cpp 3383 for (auto *X : LiveValues)
3411 for (auto *II : LiveValues)
lib/Transforms/Vectorize/VPlan.h 1196 for (VPValue *Def : VPExternalDefs)
1579 for (auto *Ptr : DelSet)
lib/Transforms/Vectorize/VPlanSLP.cpp 251 for (auto *Candidate : Candidates) {
tools/bugpoint/CrashDebugger.cpp 491 for (BasicBlock *BB : Blocks)
598 for (const BasicBlock *BB : Blocks)
688 for (const BasicBlock *BB : Blocks)
800 for (Instruction *Inst : Instructions)
938 for (const MDNode *Node : OldMDNodeOps)
tools/clang/include/clang/Sema/Scope.h 284 return decl_range(DeclsInScope.begin(), DeclsInScope.end());
tools/clang/lib/ARCMigrate/ObjCMT.cpp 853 for (ObjCProtocolDecl *ProtDecl : ObjCProtocolDecls)
tools/clang/lib/AST/ASTContext.cpp 4786 for (auto *PI : InheritedProtocols) {
4798 for (auto *PI : InheritedProtocols) {
8120 for (auto *lhsProto : LHSInheritedProtocols) {
8292 for (auto proto : LHSProtocolSet) {
8535 for (auto *SuperClassProto : SuperClassInheritedProtocols)
tools/clang/lib/AST/VTableBuilder.cpp 1416 for (const CXXMethodDecl *OverriddenMD : OverriddenMethods) {
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 318 for (MatchCallback *MC : Matchers->AllCallbacks) {
328 for (MatchCallback *MC : Matchers->AllCallbacks) {
784 for (const ObjCCompatibleAliasDecl *Alias : Aliases->second) {
tools/clang/lib/CodeGen/BackendUtil.cpp 1604 for (auto *GV : UsedGlobals) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 4697 VarChecker.getEscapedParameters().end());
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 4144 for (ValueDecl *VD : ImportedBlockDecls) {
4163 for (ValueDecl *VD : ImportedBlockDecls) {
5836 for (ObjCProtocolDecl *ProtDecl : ProtocolExprDecls) {
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 3354 for (ValueDecl *VD : ImportedBlockDecls) {
3373 for (ValueDecl *VD : ImportedBlockDecls) {
4907 for (ObjCProtocolDecl *ProtDecl : ProtocolExprDecls)
5593 for (ObjCProtocolDecl *ProtDecl : ProtocolExprDecls) {
tools/clang/lib/Lex/PPLexerChange.cpp 525 I=WarnUnusedMacroLocs.begin(), E=WarnUnusedMacroLocs.end();
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 1314 for (const auto *F : FM.getFallthroughStmts())
tools/clang/lib/Sema/Sema.cpp 1694 for (const BlockDecl *BD : FSI.Blocks) {
tools/clang/lib/Sema/SemaChecking.cpp 7934 for (MethodSet::iterator MI = Results.begin(), ME = Results.end();
7951 for (MethodSet::iterator MI = Results.begin(), ME = Results.end();
14302 E = UnmatchedFields.end();
tools/clang/lib/Sema/SemaDeclCXX.cpp15871 Valid.insert(Current.begin(), Current.end());
15898 Invalid.insert(Current.begin(), Current.end());
15915 for (auto CI = Invalid.begin(), CE = Invalid.end(); CI != CE; ++CI)
tools/clang/lib/Sema/SemaExpr.cpp15118 for (const Expr *E : Rec.PossibleDerefs) {
15208 Rec.SavedMaybeODRUseExprs.end());
16666 for (Expr *E : LocalMaybeODRUseExprs) {
tools/clang/lib/Sema/SemaObjCProperty.cpp 1953 if (I == SMap.end() &&
tools/clang/lib/Serialization/ASTReader.cpp 3936 for (const FileEntry *ModMap : *AdditionalModuleMaps) {
3950 for (const FileEntry *ModMap : AdditionalStoredMaps) {
9959 for (Decl *D : PendingDefinitions) {
tools/clang/lib/Serialization/ASTWriter.cpp 1551 for (const FileEntry *F : *AdditionalModMaps)
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 963 if (AlreadyProcessedTokens.find(IDInfo) != AlreadyProcessedTokens.end())
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 810 for (const auto *UsingNamespace : UsingNamespaceDecls) {
824 for (const auto *NamespaceAlias : NamespaceAliasDecls) {
857 for (const UsingDecl *Using : UsingDecls) {
tools/clang/tools/extra/clang-move/Move.cpp 728 for (const auto *D : UnremovedDeclsInOldHeader)
880 for (const auto *Decl : UnremovedDeclsInOldHeader) {
923 UnremovedDeclsInOldHeader.end(), IsSupportedKind) &&
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp 136 for (const Stmt *Reinit : Reinits) {
151 for (const Stmt *Reinit : Reinits) {
196 for (const DeclRefExpr *DeclRef : DeclRefs) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp 37 for (const FieldDecl *F : Fields) {
472 for (const FieldDecl *Field : FieldsToFix) {
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 211 for (const auto *Ref : AllVarRefs) {
tools/clang/tools/extra/clang-tidy/utils/DeclRefExprUtils.cpp 26 for (const auto &E : S1)
tools/clang/tools/extra/clang-tidy/utils/ExceptionAnalyzer.cpp 27 ThrownExceptions.insert(Exceptions.begin(), Exceptions.end());
45 Other.ThrownExceptions.end());
61 for (const Type *T : ThrownExceptions) {
79 for (const Type *T : ThrownExceptions) {
tools/clang/tools/extra/clangd/CodeComplete.cpp 549 for (auto *Context : CCContext.getVisitedContexts()) {
tools/clang/unittests/Sema/CodeCompleteTest.cpp 65 for (const auto *Context : VisitedContexts)
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 206 ImplicitGroups.end());
tools/lld/ELF/Relocations.cpp 583 for (SharedSymbol *sym : getSymbolsAt<ELFT>(ss))
tools/lldb/include/lldb/Utility/SharedCluster.h 46 end = m_objects.end();
tools/polly/lib/Analysis/ScopBuilder.cpp 695 if (std::any_of(PropagatedRegions.begin(), PropagatedRegions.end(),
tools/polly/lib/Analysis/ScopDetection.cpp 511 for (auto *PtrVal : PtrVals)
tools/polly/lib/CodeGen/IslAst.cpp 153 for (MemoryAccess *MA : *BrokenReductions)
tools/polly/lib/Transform/MaximalStaticExpansion.cpp 318 for (auto MA : Accesses) {
unittests/ADT/SmallPtrSetTest.cpp 66 for(iter I=s.begin(), E=s.end(); I!=E; ++I, ++i)
78 for(iter I=s.begin(), E=s.end(); I!=E; ++I, ++i)
88 for(iter I=s.begin(), E=s.end(); I!=E; ++I, ++i)
98 for(iter I=s.begin(), E=s.end(); I!=E; ++I, ++i)
255 auto E = S.end();
270 EXPECT_EQ(E, S.end());
296 for (auto F = S.find(&I), E = S.end(); F != E; ++F)
316 EXPECT_NE(IntSet.find(B), IntSet.end());
317 EXPECT_NE(IntSet.find(C), IntSet.end());
330 EXPECT_NE(IntSet.find(Pair), IntSet.end());
unittests/Transforms/Utils/CloningTest.cpp 46 for (Value *V : Clones)
53 for (Value *V : Orig)
usr/include/c++/7.4.0/bits/range_access.h 68 end(_Container& __cont) -> decltype(__cont.end())
69 { return __cont.end(); }
78 end(const _Container& __cont) -> decltype(__cont.end())
79 { return __cont.end(); }
utils/TableGen/AsmMatcherEmitter.cpp 1229 for (Record *Rec : SingletonRegisters) {
1333 for (Record *Rec : SingletonRegisters) {
utils/TableGen/CodeGenRegisters.cpp 1073 for (CodeGenRegisterClass *RC : FindI->second)
utils/TableGen/GlobalISelEmitter.cpp 898 return MutatableInsns.end();