Lines Matching refs:scope
29 /// A protected scope for zero-cost EH handling.
70 /// Always a multiple of the scope-stack alignment.
74 /// this one). If this is the top cleanup scope, all the fixups
75 /// from this index onwards belong to this scope.
131 /// A scope which attempts to handle some, possibly all, types of
134 /// Objective C \@finally blocks are represented using a cleanup scope
135 /// after the catch scope.
199 static bool classof(const EHScope *Scope) {
200 return Scope->getKind() == Catch;
204 /// A cleanup scope which generates the cleanup blocks lazily.
206 /// The nearest normal cleanup scope enclosing this one.
209 /// The nearest EH scope enclosing this one.
245 /// Gets the size required for a lazy cleanup scope with the given
316 /// True if this cleanup scope has any branch-afters or branch-throughs.
319 /// Add a branch-after to this cleanup scope. A branch-after is a
321 /// point in the normal cleanup scope immediately containing it.
337 /// Return the number of unique branch-afters on this scope.
352 /// Add a branch-through to this cleanup scope. A branch-through is
353 /// a branch from a scope protected by this (normal) cleanup to an
354 /// enclosing scope other than the immediately-enclosing normal
355 /// cleanup scope.
357 /// In the following example, the branch through B's scope is a
358 /// branch-through, while the branch through A's scope is a
366 /// \return true if the branch-through was new to this scope
371 /// Determines if this cleanup scope has any branch throughs.
377 static bool classof(const EHScope *Scope) {
378 return (Scope->getKind() == Cleanup);
382 /// An exceptions scope which filters exceptions thrown through it.
421 static bool classof(const EHScope *scope) {
422 return scope->getKind() == Filter;
426 /// An exceptions scope which calls std::terminate if any exception
434 static bool classof(const EHScope *scope) {
435 return scope->getKind() == Terminate;
439 /// A non-stable pointer into the scope stack.
511 EHCatchScope &scope = cast<EHCatchScope>(*begin());
512 InnermostEHScope = scope.getEnclosingEHScope();
513 StartOfData += EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers());
519 EHTerminateScope &scope = cast<EHTerminateScope>(*begin());
520 InnermostEHScope = scope.getEnclosingEHScope();