Home | History | Annotate | Download | only in CodeGen

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.
210 static bool classof(const EHScope *Scope) {
211 return Scope->getKind() == Catch;
215 /// A cleanup scope which generates the cleanup blocks lazily.
217 /// The nearest normal cleanup scope enclosing this one.
220 /// The nearest EH scope enclosing this one.
256 /// Gets the size required for a lazy cleanup scope with the given
327 /// True if this cleanup scope has any branch-afters or branch-throughs.
330 /// Add a branch-after to this cleanup scope. A branch-after is a
332 /// point in the normal cleanup scope immediately containing it.
348 /// Return the number of unique branch-afters on this scope.
363 /// Add a branch-through to this cleanup scope. A branch-through is
364 /// a branch from a scope protected by this (normal) cleanup to an
365 /// enclosing scope other than the immediately-enclosing normal
366 /// cleanup scope.
368 /// In the following example, the branch through B's scope is a
369 /// branch-through, while the branch through A's scope is a
377 /// \return true if the branch-through was new to this scope
382 /// Determines if this cleanup scope has any branch throughs.
388 static bool classof(const EHScope *Scope) {
389 return (Scope->getKind() == Cleanup);
393 /// An exceptions scope which filters exceptions thrown through it.
432 static bool classof(const EHScope *scope) {
433 return scope->getKind() == Filter;
437 /// An exceptions scope which calls std::terminate if any exception
445 static bool classof(const EHScope *scope) {
446 return scope->getKind() == Terminate;
450 /// A non-stable pointer into the scope stack.
522 EHCatchScope &scope = cast<EHCatchScope>(*begin());
523 InnermostEHScope = scope.getEnclosingEHScope();
524 StartOfData += EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers());
530 EHTerminateScope &scope = cast<EHTerminateScope>(*begin());
531 InnermostEHScope = scope.getEnclosingEHScope();