Lines Matching refs:LocalScope
224 class LocalScope { class
231 const LocalScope* Scope = nullptr;
245 const_iterator(const LocalScope& S, unsigned I) in const_iterator()
313 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anon654da8e80111::LocalScope
329 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance()
346 LocalScope::const_iterator
347 LocalScope::const_iterator::shared_parent(LocalScope::const_iterator L) { in shared_parent()
348 llvm::SmallPtrSet<const LocalScope *, 4> ScopesOfL; in shared_parent()
373 LocalScope::const_iterator scopePosition;
376 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair()
490 LocalScope::const_iterator ScopePos;
751 void addAutomaticObjDtors(LocalScope::const_iterator B,
752 LocalScope::const_iterator E, Stmt *S);
753 void addLifetimeEnds(LocalScope::const_iterator B,
754 LocalScope::const_iterator E, Stmt *S);
755 void addAutomaticObjHandling(LocalScope::const_iterator B,
756 LocalScope::const_iterator E, Stmt *S);
758 void addScopesEnd(LocalScope::const_iterator B, LocalScope::const_iterator E,
761 void getDeclsWithEndedScope(LocalScope::const_iterator B,
762 LocalScope::const_iterator E, Stmt *S);
765 LocalScope* createOrReuseLocalScope(LocalScope* Scope);
768 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS,
769 LocalScope* Scope = nullptr);
770 LocalScope* addLocalScopeForVarDecl(VarDecl *VD, LocalScope* Scope = nullptr);
874 LocalScope::const_iterator B, LocalScope::const_iterator E);
877 LocalScope::const_iterator B,
878 LocalScope::const_iterator E);
882 LocalScope::const_iterator B,
883 LocalScope::const_iterator E);
1727 void CFGBuilder::getDeclsWithEndedScope(LocalScope::const_iterator B, in getDeclsWithEndedScope()
1728 LocalScope::const_iterator E, Stmt *S) { in getDeclsWithEndedScope()
1739 LocalScope::const_iterator P = B.shared_parent(E); in getDeclsWithEndedScope()
1744 for (LocalScope::const_iterator I = B; I != P; ++I) in getDeclsWithEndedScope()
1749 void CFGBuilder::addAutomaticObjHandling(LocalScope::const_iterator B, in addAutomaticObjHandling()
1750 LocalScope::const_iterator E, in addAutomaticObjHandling()
1762 void CFGBuilder::addLifetimeEnds(LocalScope::const_iterator B, in addLifetimeEnds()
1763 LocalScope::const_iterator E, Stmt *S) { in addLifetimeEnds()
1774 LocalScope::const_iterator P = B.shared_parent(E); in addLifetimeEnds()
1785 for (LocalScope::const_iterator I = B; I != P; ++I) in addLifetimeEnds()
1807 void CFGBuilder::addScopesEnd(LocalScope::const_iterator B, in addScopesEnd()
1808 LocalScope::const_iterator E, Stmt *S) { in addScopesEnd()
1826 void CFGBuilder::addAutomaticObjDtors(LocalScope::const_iterator B, in addAutomaticObjDtors()
1827 LocalScope::const_iterator E, Stmt *S) { in addAutomaticObjDtors()
1840 for (LocalScope::const_iterator I = B; I != E; ++I) in addAutomaticObjDtors()
1926 LocalScope* CFGBuilder::createOrReuseLocalScope(LocalScope* Scope) { in createOrReuseLocalScope()
1930 return new (alloc.Allocate<LocalScope>()) in createOrReuseLocalScope()
1931 LocalScope(BumpVectorContext(alloc), ScopePos); in createOrReuseLocalScope()
1941 LocalScope *Scope = nullptr; in addLocalScopeForStmt()
1961 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS, in addLocalScopeForDeclStmt()
1962 LocalScope* Scope) { in addLocalScopeForDeclStmt()
2016 LocalScope* CFGBuilder::addLocalScopeForVarDecl(VarDecl *VD, in addLocalScopeForVarDecl()
2017 LocalScope* Scope) { in addLocalScopeForVarDecl()
2054 LocalScope::const_iterator scopeBeginPos = ScopePos; in addLocalScopeAndDtors()
2067 LocalScope::const_iterator B, LocalScope::const_iterator E) { in prependAutomaticObjDtorsWithTerminator()
2073 for (LocalScope::const_iterator I = B; I != E; ++I) in prependAutomaticObjDtorsWithTerminator()
2084 CFGBlock *Blk, LocalScope::const_iterator B, LocalScope::const_iterator E) { in prependAutomaticObjLifetimeWithTerminator()
2090 for (LocalScope::const_iterator I = B; I != E; ++I) { in prependAutomaticObjLifetimeWithTerminator()
2103 CFGBlock *Blk, LocalScope::const_iterator B, LocalScope::const_iterator E) { in prependAutomaticObjScopeEndWithTerminator()
2109 LocalScope::const_iterator PlaceToInsert = B; in prependAutomaticObjScopeEndWithTerminator()
2110 for (LocalScope::const_iterator I = B; I != E; ++I) in prependAutomaticObjScopeEndWithTerminator()
2708 LocalScope::const_iterator scopeBeginPos = ScopePos; in VisitCompoundStmt()
2962 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitIfStmt()
3098 addAutomaticObjHandling(ScopePos, LocalScope::const_iterator(), S); in VisitReturnStmt()
3129 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitSEHExceptStmt()
3337 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt()
3344 LocalScope::const_iterator LoopBeginScopePos = ScopePos; in VisitForStmt()
3348 LocalScope::const_iterator ContinueScopePos = ScopePos; in VisitForStmt()
3431 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt()
3497 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt()
3701 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitWhileStmt()
3705 LocalScope::const_iterator LoopBeginScopePos = ScopePos; in VisitWhileStmt()
4051 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitSwitchStmt()
4344 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitCXXCatchStmt()
4349 LocalScope::const_iterator BeginScopePos = ScopePos; in VisitCXXCatchStmt()
4396 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitCXXForRangeStmt()
4407 LocalScope::const_iterator ContinueScopePos = ScopePos; in VisitCXXForRangeStmt()