Lines Matching refs:catch

21 ; Simple test with a try-catch
27 ; } catch (int) {
35 ; CHECK: catch $[[EXN:[0-9]+]]=, __cpp_exception
50 to label %try.cont unwind label %catch.dispatch
52 catch.dispatch: ; preds = %entry
53 %0 = catchswitch within none [label %catch.start] unwind to caller
55 catch.start: ; preds = %catch.dispatch
61 br i1 %matches, label %catch, label %rethrow
63 catch: ; preds = %catch.start
68 rethrow: ; preds = %catch.start
72 try.cont: ; preds = %catch, %entry
111 ; Calling a function that may throw within a 'catch (...)' generates a
112 ; temrinatepad, because __cxa_end_catch() also can throw within 'catch (...)'.
118 ; } catch (...) {
126 ; CHECK: catch
144 to label %try.cont unwind label %catch.dispatch
146 catch.dispatch: ; preds = %entry
147 %0 = catchswitch within none [label %catch.start] unwind to caller
149 catch.start: ; preds = %catch.dispatch
157 invoke.cont1: ; preds = %catch.start
164 ehcleanup: ; preds = %catch.start
179 ; They should not be treated as funclets; BBs starting with a catch instruction
182 ; instructions after a catch instruction.
190 ; } catch (int) {
198 ; CHECK: catch
207 ; CHECK: catch
225 to label %try.cont unwind label %catch.dispatch
227 catch.dispatch: ; preds = %entry
228 %0 = catchswitch within none [label %catch.start] unwind to caller
230 catch.start: ; preds = %catch.dispatch
236 br i1 %matches, label %catch, label %rethrow
238 catch: ; preds = %catch.start
245 invoke.cont1: ; preds = %catch
249 rethrow: ; preds = %catch.start
256 ehcleanup: ; preds = %catch
269 ; } catch (...) {
276 ; CHECK: catch
285 to label %try.cont unwind label %catch.dispatch
287 catch.dispatch: ; preds = %entry
288 %0 = catchswitch within none [label %catch.start] unwind to caller
290 catch.start: ; preds = %catch.dispatch
298 try.cont: ; preds = %catch.start, %entry
307 to label %try.cont unwind label %catch.dispatch
309 catch.dispatch: ; preds = %entry
310 %0 = catchswitch within none [label %catch.start] unwind to caller
312 catch.start: ; preds = %catch.dispatch
318 try.cont: ; preds = %catch.start, %entry
335 to label %ehcleanupret unwind label %catch.dispatch
337 catch.dispatch: ; preds = %ehcleanup
338 %1 = catchswitch within %0 [label %catch.start] unwind label %ehcleanup.1
340 catch.start: ; preds = %catch.dispatch
346 ehcleanup.1: ; preds = %catch.dispatch
350 ehcleanupret: ; preds = %catch.start, %ehcleanup