Lines Matching full:scope

44 /// A protected scope for zero-cost EH handling.
99 /// Always a multiple of the scope-stack alignment.
153 /// A scope which attempts to handle some, possibly all, types of
156 /// Objective C \@finally blocks are represented using a cleanup scope
157 /// after the catch scope.
237 static bool classof(const EHScope *Scope) {
238 return Scope->getKind() == Catch;
242 /// A cleanup scope which generates the cleanup blocks lazily.
244 /// The nearest normal cleanup scope enclosing this one.
247 /// The nearest EH scope enclosing this one.
318 /// this one). If this is the top cleanup scope, all the fixups
319 /// from this index onwards belong to this scope.
333 /// Gets the size required for a lazy cleanup scope with the given
422 /// True if this cleanup scope has any branch-afters or branch-throughs.
425 /// Add a branch-after to this cleanup scope. A branch-after is a
427 /// point in the normal cleanup scope immediately containing it.
443 /// Return the number of unique branch-afters on this scope.
458 /// Add a branch-through to this cleanup scope. A branch-through is
459 /// a branch from a scope protected by this (normal) cleanup to an
460 /// enclosing scope other than the immediately-enclosing normal
461 /// cleanup scope.
463 /// In the following example, the branch through B's scope is a
464 /// branch-through, while the branch through A's scope is a
472 /// \return true if the branch-through was new to this scope
477 /// Determines if this cleanup scope has any branch throughs.
483 static bool classof(const EHScope *Scope) {
484 return (Scope->getKind() == Cleanup);
496 /// An exceptions scope which filters exceptions thrown through it.
536 static bool classof(const EHScope *scope) {
537 return scope->getKind() == Filter;
541 /// An exceptions scope which calls std::terminate if any exception
549 static bool classof(const EHScope *scope) {
550 return scope->getKind() == Terminate;
554 /// A non-stable pointer into the scope stack.
626 EHCatchScope &scope = cast<EHCatchScope>(*begin());
627 InnermostEHScope = scope.getEnclosingEHScope();
628 deallocate(EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers()));
634 EHTerminateScope &scope = cast<EHTerminateScope>(*begin());
635 InnermostEHScope = scope.getEnclosingEHScope();