Lines Matching refs:catchScope
593 EHCatchScope &catchScope = cast<EHCatchScope>(scope); in getEHDispatchBlock() local
594 if (catchScope.getNumHandlers() == 1 && in getEHDispatchBlock()
595 catchScope.getHandler(0).isCatchAll()) { in getEHDispatchBlock()
596 dispatchBlock = catchScope.getHandler(0).Block; in getEHDispatchBlock()
810 EHCatchScope &catchScope = cast<EHCatchScope>(*I); in EmitLandingPad() local
811 for (unsigned hi = 0, he = catchScope.getNumHandlers(); hi != he; ++hi) { in EmitLandingPad()
812 EHCatchScope::Handler handler = catchScope.getHandler(hi); in EmitLandingPad()
917 EHCatchScope &catchScope) { in emitCatchDispatchBlock() argument
919 return emitCatchPadBlock(CGF, catchScope); in emitCatchDispatchBlock()
921 llvm::BasicBlock *dispatchBlock = catchScope.getCachedEHDispatchBlock(); in emitCatchDispatchBlock()
926 if (catchScope.getNumHandlers() == 1 && in emitCatchDispatchBlock()
927 catchScope.getHandler(0).isCatchAll()) { in emitCatchDispatchBlock()
928 assert(dispatchBlock == catchScope.getHandler(0).Block); in emitCatchDispatchBlock()
943 for (unsigned i = 0, e = catchScope.getNumHandlers(); ; ++i) { in emitCatchDispatchBlock()
945 const EHCatchScope::Handler &handler = catchScope.getHandler(i); in emitCatchDispatchBlock()
960 nextBlock = CGF.getEHDispatchBlock(catchScope.getEnclosingEHScope()); in emitCatchDispatchBlock()
965 } else if (catchScope.getHandler(i+1).isCatchAll()) { in emitCatchDispatchBlock()
966 nextBlock = catchScope.getHandler(i+1).Block; in emitCatchDispatchBlock()
995 EHCatchScope &catchScope = cast<EHCatchScope>(*EHStack.begin()); in popCatchScope() local
996 if (catchScope.hasEHBranches()) in popCatchScope()
997 emitCatchDispatchBlock(*this, catchScope); in popCatchScope()
1239 EHCatchScope *catchScope = CGF.EHStack.pushCatch(1); in enter() local
1240 catchScope->setCatchAllHandler(0, catchBB); in enter()
1245 EHCatchScope &catchScope = cast<EHCatchScope>(*CGF.EHStack.begin()); in exit() local
1246 llvm::BasicBlock *catchBB = catchScope.getHandler(0).Block; in exit()