reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGCleanup.cpp
  648   assert(Scope.getFixupDepth() <= EHStack.getNumBranchFixups());
  651   bool IsActive = Scope.isActive();
  653     Scope.shouldTestFlagInNormalCleanup() ? Scope.getActiveFlag()
  653     Scope.shouldTestFlagInNormalCleanup() ? Scope.getActiveFlag()
  656     Scope.shouldTestFlagInEHCleanup() ? Scope.getActiveFlag()
  656     Scope.shouldTestFlagInEHCleanup() ? Scope.getActiveFlag()
  661   llvm::BasicBlock *EHEntry = Scope.getCachedEHDispatchBlock();
  662   assert(Scope.hasEHBranches() == (EHEntry != nullptr));
  664   EHScopeStack::stable_iterator EHParent = Scope.getEnclosingEHScope();
  669   unsigned FixupDepth = Scope.getFixupDepth();
  673   bool HasExistingBranches = Scope.hasBranches();
  689   assert(!Scope.isNormalCleanup() || !HasPrebranchedFallthrough ||
  690          (Scope.getNormalBlock() &&
  692             == Scope.getNormalBlock()));
  695   if (Scope.isNormalCleanup() &&
  702   if (Scope.isNormalCleanup() && HasPrebranchedFallthrough && !IsActive) {
  709       EHScope &enclosing = *EHStack.find(Scope.getEnclosingNormalCleanup());
  721     llvm::BasicBlock *normalEntry = Scope.getNormalBlock();
  730     destroyOptimisticNormalEntry(*this, Scope);
  742   auto *CleanupSource = reinterpret_cast<char *>(Scope.getCleanupBuffer());
  746   size_t CleanupSize = Scope.getCleanupSize();
  759   if (Scope.isNormalCleanup())
  761   if (Scope.isEHCleanup())
  765     destroyOptimisticNormalEntry(*this, Scope);
  773       destroyOptimisticNormalEntry(*this, Scope);
  782       llvm::BasicBlock *NormalEntry = CreateNormalEntry(*this, Scope);
  810         (Scope.getEnclosingNormalCleanup() != EHStack.stable_end());
  818       if (Scope.hasBranchThroughs() ||
  822         EHScope &S = *EHStack.find(Scope.getEnclosingNormalCleanup());
  831       if (!Scope.hasBranchThroughs() && !HasFixups && !HasFallthrough &&
  832           Scope.getNumBranchAfters() == 1) {
  844         llvm::BasicBlock *BranchAfter = Scope.getBranchAfterBlock(0);
  852       } else if (Scope.getNumBranchAfters() ||
  878         for (unsigned I = 0, E = Scope.getNumBranchAfters(); I != E; ++I) {
  879           Switch->addCase(Scope.getBranchAfterIndex(I),
  880                           Scope.getBranchAfterBlock(I));