|
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/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());
1380 auto BI = SpillsInSubTreeMap[Child].first.begin();
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 1241 SmallPtrSet<SUnit *, 4>::iterator SI = BU.begin();
lib/CodeGen/MachineSink.cpp 1106 for (auto *SI : SinkableBBs) {
lib/CodeGen/MachineVerifier.cpp 712 *MBB->succ_begin() != *LandingPadSuccs.begin())) {
2156 const MachineBasicBlock *MBB = *todo.begin();
2189 const MachineBasicBlock *MBB = *todo.begin();
lib/CodeGen/OptimizePHIs.cpp 197 for (InstrSetIterator PI = PHIsInCycle.begin(), PE = PHIsInCycle.end();
lib/CodeGen/PHIElimination.cpp 172 for (MachineInstr *DefMI : ImpDefs) {
lib/CodeGen/PHIEliminationUtils.cpp 47 InsertPoint = *DefUsesInMBB.begin();
lib/CodeGen/PrologEpilogInserter.cpp 507 for (MachineBasicBlock *MBB : Visited) {
lib/CodeGen/RegAllocBase.cpp 167 for (auto DeadInst : DeadRemats) {
lib/CodeGen/RegAllocGreedy.cpp 2662 for (SmallLISet::iterator It = RecoloringCandidates.begin(),
2715 for (SmallLISet::iterator It = RecoloringCandidates.begin(),
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 968 SmallPtrSetIterator<VNInfo *> It1 = EqualVNs[ParentVNI->id].begin();
989 for (auto VNI : DominatedVNIs) {
lib/ExecutionEngine/MCJIT/MCJIT.h 84 ModulePtrSet::iterator begin_added() { return AddedModules.begin(); }
90 ModulePtrSet::iterator begin_loaded() { return LoadedModules.begin(); }
93 ModulePtrSet::iterator begin_finalized() { return FinalizedModules.begin(); }
155 for (ModulePtrSet::iterator I = LoadedModules.begin(),
171 for (ModulePtrSet::iterator I = MPS.begin(), E = MPS.end(); I != E; ++I) {
lib/IR/LLVMContextImpl.cpp 48 delete *OwnedModules.begin();
lib/IR/LegacyPassManager.cpp 660 for (Pass *LUP : LU) {
lib/IR/Verifier.cpp 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)
381 return make_range(RegisteredSubCommands.begin(),
546 for (auto S : RegisteredSubCommands) {
1249 for (auto SC : RegisteredSubCommands) {
2042 for (const auto &S : SubMap) {
2184 for (auto I = GlobalParser->RegisteredOptionCategories.begin(),
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) {
285 return PHILinearizeDestIterator(PHIInfo.begin());
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/AMDGPUPerfHintAnalysis.cpp 154 const Value *V = *WorkSet.begin();
155 WorkSet.erase(*WorkSet.begin());
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 188 Module &M = *(*Roots.begin())->getParent();
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());
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.cpp11912 for (SmallSet<SDNode *, 16>::iterator I = LoadRoots.begin(),
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)
342 SmallVector<GlobalValue *, 8> NewLiveGVs{AliveGlobals.begin(),
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) {
2647 iterator usedBegin() { return Used.begin(); }
2654 iterator compilerUsedBegin() { return CompilerUsed.begin(); }
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()));
370 appendToCompilerUsed(M, std::vector<GlobalValue *>(CompilerUsed.begin(),
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 178 Retain = dyn_cast_or_null<CallInst>(*DependingInstructions.begin());
742 for (CallInst *CI : StoreStrongCalls)
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 1001 *DependingInstructions.begin() == PN) {
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) {
2079 auto *Call = dyn_cast_or_null<CallInst>(*DepInsts.begin());
2104 auto *Retain = dyn_cast_or_null<CallInst>(*DepInsts.begin());
2129 auto *Autorelease = dyn_cast_or_null<CallInst>(*DepInsts.begin());
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/LICM.cpp 622 CommonSucc = *TrueDestSucc.begin();
lib/Transforms/Scalar/LoopDistribute.cpp 143 InstructionSet::iterator begin() { return Set.begin(); }
145 InstructionSet::const_iterator begin() const { return Set.begin(); }
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/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)
215 SortedBBsToSinkInto.insert(SortedBBsToSinkInto.begin(), BBsToSinkInto.begin(),
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"; });
2977 ChainUsersVec[ChainIdx].FarUsers.insert(NearUsers.begin(),
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 337 MemberSet::const_iterator begin() const { return Members.begin(); }
347 return MemoryMembers.begin();
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/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) {
lib/Transforms/Utils/LoopSimplify.cpp 498 for (BasicBlock *P : BadPreds) {
lib/Transforms/Utils/LoopUnrollAndJam.cpp 71 for (BasicBlock *BB : ForeBlocks) {
543 BasicBlock *BB = *MergeBlocks.begin();
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 99 SmallVector<BasicBlock *, 64> LiveInBlockWorklist(UsingBlocks.begin(),
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 4432 Worklist.insert(Uniforms[VF].begin(), Uniforms[VF].end());
4477 for (auto *I : ForcedScalar->second)
5413 for (auto Inst : OpenIntervals) {
5422 for (auto Inst : OpenIntervals) {
5460 for (auto Inst : LoopInvariants) {
6053 for (auto *I : AddrDefs)
6064 for (auto *I : AddrDefs) {
6368 VecValuesToIgnore.insert(Casts.begin(), Casts.end());
7107 for (Value *V : NeedDef)
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/RecordLayoutBuilder.cpp 2999 const CXXMethodDecl *MD = *Work.begin();
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 4696 VarChecker.getEscapedParameters().begin(),
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();
14301 I = UnmatchedFields.begin(),
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) {
15207 MaybeODRUseExprs.insert(Rec.SavedMaybeODRUseExprs.begin(),
16666 for (Expr *E : LocalMaybeODRUseExprs) {
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/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) {
922 if (std::none_of(UnremovedDeclsInOldHeader.begin(),
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/performance/UnnecessaryValueParamCheck.cpp 118 const auto &DeclRefExpr = **AllDeclRefExprs.begin();
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());
44 ThrownExceptions.insert(Other.ThrownExceptions.begin(),
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 205 SmallVector<GroupInfo *, 16> SortedGroups(ImplicitGroups.begin(),
tools/lld/ELF/Relocations.cpp 583 for (SharedSymbol *sym : getSymbolsAt<ELFT>(ss))
tools/lldb/include/lldb/Utility/SharedCluster.h 45 for (typename llvm::SmallPtrSet<T *, 16>::iterator pos = m_objects.begin(),
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) {
453 auto TheWrite = *(AllWrites.begin());
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)
253 auto B = S.begin();
268 EXPECT_EQ(B, S.begin());
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 48 begin(_Container& __cont) -> decltype(__cont.begin())
49 { return __cont.begin(); }
58 begin(const _Container& __cont) -> decltype(__cont.begin())
59 { return __cont.begin(); }
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 895 return MutatableInsns.begin();