Lines Matching refs:scope
31 /// A protected scope for zero-cost EH handling.
72 /// Always a multiple of the scope-stack alignment.
76 /// this one). If this is the top cleanup scope, all the fixups
77 /// from this index onwards belong to this scope.
133 /// A scope which attempts to handle some, possibly all, types of
136 /// Objective C \@finally blocks are represented using a cleanup scope
137 /// after the catch scope.
201 static bool classof(const EHScope *Scope) {
202 return Scope->getKind() == Catch;
206 /// A cleanup scope which generates the cleanup blocks lazily.
208 /// The nearest normal cleanup scope enclosing this one.
211 /// The nearest EH scope enclosing this one.
247 /// Gets the size required for a lazy cleanup scope with the given
318 /// True if this cleanup scope has any branch-afters or branch-throughs.
321 /// Add a branch-after to this cleanup scope. A branch-after is a
323 /// point in the normal cleanup scope immediately containing it.
339 /// Return the number of unique branch-afters on this scope.
354 /// Add a branch-through to this cleanup scope. A branch-through is
355 /// a branch from a scope protected by this (normal) cleanup to an
356 /// enclosing scope other than the immediately-enclosing normal
357 /// cleanup scope.
359 /// In the following example, the branch through B's scope is a
360 /// branch-through, while the branch through A's scope is a
368 /// \return true if the branch-through was new to this scope
373 /// Determines if this cleanup scope has any branch throughs.
379 static bool classof(const EHScope *Scope) {
380 return (Scope->getKind() == Cleanup);
384 /// An exceptions scope which filters exceptions thrown through it.
423 static bool classof(const EHScope *scope) {
424 return scope->getKind() == Filter;
428 /// An exceptions scope which calls std::terminate if any exception
436 static bool classof(const EHScope *scope) {
437 return scope->getKind() == Terminate;
441 /// A non-stable pointer into the scope stack.
513 EHCatchScope &scope = cast<EHCatchScope>(*begin());
514 InnermostEHScope = scope.getEnclosingEHScope();
515 StartOfData += EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers());
521 EHTerminateScope &scope = cast<EHTerminateScope>(*begin());
522 InnermostEHScope = scope.getEnclosingEHScope();