Lines Matching defs:EHStack

292   EHCleanupScope &cleanup = cast<EHCleanupScope>(*EHStack.begin());
332 for (unsigned I = 0, E = CGF.EHStack.getNumBranchFixups(); I != E; ++I) {
334 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I);
360 CGF.EHStack.clearFixups();
387 if (!EHStack.getNumBranchFixups()) return;
389 assert(EHStack.hasNormalCleanups() &&
395 for (unsigned I = 0, E = EHStack.getNumBranchFixups(); I != E; ++I) {
397 BranchFixup &Fixup = EHStack.getBranchFixup(I);
420 EHStack.popNullFixups();
430 while (EHStack.stable_begin() != Old) {
431 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin());
497 EHStack.pushCopyOfCleanup(Header.getKind(),
654 assert(!EHStack.empty() && "cleanup stack is empty!");
655 assert(isa<EHCleanupScope>(*EHStack.begin()) && "top not a cleanup!");
656 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin());
657 assert(Scope.getFixupDepth() <= EHStack.getNumBranchFixups());
685 bool HasFixups = EHStack.getNumBranchFixups() != FixupDepth;
729 EHScope &enclosing = *EHStack.find(Scope.getEnclosingNormalCleanup());
751 EHStack.popCleanup(); // safe because there are no fixups
752 assert(EHStack.getNumBranchFixups() == 0 ||
753 EHStack.hasNormalCleanups());
805 EHStack.popCleanup();
822 EHStack.popCleanup();
866 (Scope.getEnclosingNormalCleanup() != EHStack.stable_end());
878 EHScope &S = *EHStack.find(Scope.getEnclosingNormalCleanup());
958 EHStack.popCleanup();
959 assert(EHStack.hasNormalCleanups() == HasEnclosingCleanups);
969 for (unsigned I = FixupDepth, E = EHStack.getNumBranchFixups();
971 BranchFixup &Fixup = EHStack.getBranchFixup(I);
1021 for (unsigned I = FixupDepth, E = EHStack.getNumBranchFixups();
1023 EHStack.getBranchFixup(I).OptimisticBranchBlock = NewNormalEntry;
1029 assert(EHStack.hasNormalCleanups() || EHStack.getNumBranchFixups() == 0);
1056 EHStack.pushTerminate();
1076 EHStack.popTerminate();
1088 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin())
1093 EHStack.getInnermostActiveNormalCleanup();
1098 if (TopCleanup == EHStack.stable_end() ||
1113 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin())
1124 TopCleanup = EHStack.getInnermostActiveNormalCleanup();
1129 if (TopCleanup == EHStack.stable_end() ||
1138 BranchFixup &Fixup = EHStack.addBranchFixup();
1158 cast<EHCleanupScope>(*EHStack.find(TopCleanup));
1167 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(I));
1189 static bool IsUsedAsEHCleanup(EHScopeStack &EHStack,
1192 if (EHStack.find(cleanup)->hasEHBranches())
1197 i = EHStack.getInnermostEHScope(); i != cleanup; ) {
1200 EHScope &scope = *EHStack.find(i);
1224 EHCleanupScope &Scope = cast<EHCleanupScope>(*CGF.EHStack.find(C));
1244 (isActivatedInConditional || IsUsedAsEHCleanup(CGF.EHStack, C))) {
1282 assert(C != EHStack.stable_end() && "activating bottom of stack?");
1283 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C));
1294 assert(C != EHStack.stable_end() && "deactivating bottom of stack?");
1295 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C));
1300 if (C == EHStack.stable_begin() &&