Lines Matching refs:LocalScope
201 class LocalScope { class
210 const LocalScope* Scope = nullptr;
224 const_iterator(const LocalScope& S, unsigned I) in const_iterator()
292 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anon15de256c0111::LocalScope
308 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance()
325 LocalScope::const_iterator
326 LocalScope::const_iterator::shared_parent(LocalScope::const_iterator L) { in shared_parent()
327 llvm::SmallPtrSet<const LocalScope *, 4> ScopesOfL; in shared_parent()
352 LocalScope::const_iterator scopePosition;
355 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair()
469 LocalScope::const_iterator ScopePos;
722 void addAutomaticObjDtors(LocalScope::const_iterator B,
723 LocalScope::const_iterator E, Stmt *S);
724 void addLifetimeEnds(LocalScope::const_iterator B,
725 LocalScope::const_iterator E, Stmt *S);
726 void addAutomaticObjHandling(LocalScope::const_iterator B,
727 LocalScope::const_iterator E, Stmt *S);
729 void addScopesEnd(LocalScope::const_iterator B, LocalScope::const_iterator E,
732 void getDeclsWithEndedScope(LocalScope::const_iterator B,
733 LocalScope::const_iterator E, Stmt *S);
736 LocalScope* createOrReuseLocalScope(LocalScope* Scope);
739 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS,
740 LocalScope* Scope = nullptr);
741 LocalScope* addLocalScopeForVarDecl(VarDecl *VD, LocalScope* Scope = nullptr);
845 LocalScope::const_iterator B, LocalScope::const_iterator E);
848 LocalScope::const_iterator B,
849 LocalScope::const_iterator E);
853 LocalScope::const_iterator B,
854 LocalScope::const_iterator E);
1606 void CFGBuilder::getDeclsWithEndedScope(LocalScope::const_iterator B, in getDeclsWithEndedScope()
1607 LocalScope::const_iterator E, Stmt *S) { in getDeclsWithEndedScope()
1618 LocalScope::const_iterator P = B.shared_parent(E); in getDeclsWithEndedScope()
1623 for (LocalScope::const_iterator I = B; I != P; ++I) in getDeclsWithEndedScope()
1628 void CFGBuilder::addAutomaticObjHandling(LocalScope::const_iterator B, in addAutomaticObjHandling()
1629 LocalScope::const_iterator E, in addAutomaticObjHandling()
1641 void CFGBuilder::addLifetimeEnds(LocalScope::const_iterator B, in addLifetimeEnds()
1642 LocalScope::const_iterator E, Stmt *S) { in addLifetimeEnds()
1653 LocalScope::const_iterator P = B.shared_parent(E); in addLifetimeEnds()
1664 for (LocalScope::const_iterator I = B; I != P; ++I) in addLifetimeEnds()
1686 void CFGBuilder::addScopesEnd(LocalScope::const_iterator B, in addScopesEnd()
1687 LocalScope::const_iterator E, Stmt *S) { in addScopesEnd()
1705 void CFGBuilder::addAutomaticObjDtors(LocalScope::const_iterator B, in addAutomaticObjDtors()
1706 LocalScope::const_iterator E, Stmt *S) { in addAutomaticObjDtors()
1719 for (LocalScope::const_iterator I = B; I != E; ++I) in addAutomaticObjDtors()
1802 LocalScope* CFGBuilder::createOrReuseLocalScope(LocalScope* Scope) { in createOrReuseLocalScope()
1806 return new (alloc.Allocate<LocalScope>()) in createOrReuseLocalScope()
1807 LocalScope(BumpVectorContext(alloc), ScopePos); in createOrReuseLocalScope()
1817 LocalScope *Scope = nullptr; in addLocalScopeForStmt()
1837 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS, in addLocalScopeForDeclStmt()
1838 LocalScope* Scope) { in addLocalScopeForDeclStmt()
1892 LocalScope* CFGBuilder::addLocalScopeForVarDecl(VarDecl *VD, in addLocalScopeForVarDecl()
1893 LocalScope* Scope) { in addLocalScopeForVarDecl()
1930 LocalScope::const_iterator scopeBeginPos = ScopePos; in addLocalScopeAndDtors()
1943 LocalScope::const_iterator B, LocalScope::const_iterator E) { in prependAutomaticObjDtorsWithTerminator()
1949 for (LocalScope::const_iterator I = B; I != E; ++I) in prependAutomaticObjDtorsWithTerminator()
1960 CFGBlock *Blk, LocalScope::const_iterator B, LocalScope::const_iterator E) { in prependAutomaticObjLifetimeWithTerminator()
1966 for (LocalScope::const_iterator I = B; I != E; ++I) in prependAutomaticObjLifetimeWithTerminator()
1977 CFGBlock *Blk, LocalScope::const_iterator B, LocalScope::const_iterator E) { in prependAutomaticObjScopeEndWithTerminator()
1983 LocalScope::const_iterator PlaceToInsert = B; in prependAutomaticObjScopeEndWithTerminator()
1984 for (LocalScope::const_iterator I = B; I != E; ++I) in prependAutomaticObjScopeEndWithTerminator()
2538 LocalScope::const_iterator scopeBeginPos = ScopePos; in VisitCompoundStmt()
2766 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitIfStmt()
2902 addAutomaticObjHandling(ScopePos, LocalScope::const_iterator(), S); in VisitReturnStmt()
2925 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitSEHExceptStmt()
3111 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt()
3118 LocalScope::const_iterator LoopBeginScopePos = ScopePos; in VisitForStmt()
3122 LocalScope::const_iterator ContinueScopePos = ScopePos; in VisitForStmt()
3205 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt()
3271 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt()
3475 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitWhileStmt()
3479 LocalScope::const_iterator LoopBeginScopePos = ScopePos; in VisitWhileStmt()
3820 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitSwitchStmt()
4113 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitCXXCatchStmt()
4118 LocalScope::const_iterator BeginScopePos = ScopePos; in VisitCXXCatchStmt()
4165 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitCXXForRangeStmt()
4176 LocalScope::const_iterator ContinueScopePos = ScopePos; in VisitCXXForRangeStmt()