Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Scope

43 /// A protected scope for zero-cost EH handling.
87 /// Always a multiple of the scope-stack alignment.
91 /// this one). If this is the top cleanup scope, all the fixups
92 /// from this index onwards belong to this scope.
148 /// A scope which attempts to handle some, possibly all, types of
151 /// Objective C \@finally blocks are represented using a cleanup scope
152 /// after the catch scope.
231 static bool classof(const EHScope *Scope) {
232 return Scope->getKind() == Catch;
236 /// A cleanup scope which generates the cleanup blocks lazily.
238 /// The nearest normal cleanup scope enclosing this one.
241 /// The nearest EH scope enclosing this one.
277 /// Gets the size required for a lazy cleanup scope with the given
358 /// True if this cleanup scope has any branch-afters or branch-throughs.
361 /// Add a branch-after to this cleanup scope. A branch-after is a
363 /// point in the normal cleanup scope immediately containing it.
379 /// Return the number of unique branch-afters on this scope.
394 /// Add a branch-through to this cleanup scope. A branch-through is
395 /// a branch from a scope protected by this (normal) cleanup to an
396 /// enclosing scope other than the immediately-enclosing normal
397 /// cleanup scope.
399 /// In the following example, the branch through B's scope is a
400 /// branch-through, while the branch through A's scope is a
408 /// \return true if the branch-through was new to this scope
413 /// Determines if this cleanup scope has any branch throughs.
419 static bool classof(const EHScope *Scope) {
420 return (Scope->getKind() == Cleanup);
433 /// An exceptions scope which filters exceptions thrown through it.
472 static bool classof(const EHScope *scope) {
473 return scope->getKind() == Filter;
477 /// An exceptions scope which calls std::terminate if any exception
485 static bool classof(const EHScope *scope) {
486 return scope->getKind() == Terminate;
496 static bool classof(const EHScope *scope) {
497 return scope->getKind() == PadEnd;
501 /// A non-stable pointer into the scope stack.
577 EHCatchScope &scope = cast<EHCatchScope>(*begin());
578 InnermostEHScope = scope.getEnclosingEHScope();
579 deallocate(EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers()));
585 EHTerminateScope &scope = cast<EHTerminateScope>(*begin());
586 InnermostEHScope = scope.getEnclosingEHScope();