Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:CatchScope

583   EHCatchScope *CatchScope = EHStack.pushCatch(NumHandlers);
604 CatchScope->setHandler(I, TypeInfo, Handler);
607 CatchScope->setCatchAllHandler(I, Handler);
627 EHCatchScope &catchScope = cast<EHCatchScope>(scope);
628 if (catchScope.getNumHandlers() == 1 &&
629 catchScope.getHandler(0).isCatchAll()) {
630 dispatchBlock = catchScope.getHandler(0).Block;
825 EHCatchScope &catchScope = cast<EHCatchScope>(*I);
826 for (unsigned hi = 0, he = catchScope.getNumHandlers(); hi != he; ++hi) {
827 EHCatchScope::Handler handler = catchScope.getHandler(hi);
1149 EHCatchScope &catchScope) {
1150 llvm::BasicBlock *dispatchBlock = catchScope.getCachedEHDispatchBlock();
1155 if (catchScope.getNumHandlers() == 1 &&
1156 catchScope.getHandler(0).isCatchAll()) {
1157 assert(dispatchBlock == catchScope.getHandler(0).Block);
1172 for (unsigned i = 0, e = catchScope.getNumHandlers(); ; ++i) {
1174 const EHCatchScope::Handler &handler = catchScope.getHandler(i);
1187 nextBlock = CGF.getEHDispatchBlock(catchScope.getEnclosingEHScope());
1192 } else if (catchScope.getHandler(i+1).isCatchAll()) {
1193 nextBlock = catchScope.getHandler(i+1).Block;
1222 EHCatchScope &catchScope = cast<EHCatchScope>(*EHStack.begin());
1223 if (catchScope.hasEHBranches())
1224 emitCatchDispatchBlock(*this, catchScope);
1230 EHCatchScope &CatchScope = cast<EHCatchScope>(*EHStack.begin());
1231 assert(CatchScope.getNumHandlers() == NumHandlers);
1234 if (!CatchScope.hasEHBranches()) {
1240 emitCatchDispatchBlock(*this, CatchScope);
1245 memcpy(Handlers.data(), CatchScope.begin(),
1280 RunCleanupsScope CatchScope(*this);
1304 CatchScope.ForceCleanup();
1460 EHCatchScope *catchScope = CGF.EHStack.pushCatch(1);
1461 catchScope->setCatchAllHandler(0, catchBB);
1466 EHCatchScope &catchScope = cast<EHCatchScope>(*CGF.EHStack.begin());
1467 llvm::BasicBlock *catchBB = catchScope.getHandler(0).Block;