Lines Matching refs:invoke
16 ; In this case, both cleanup pads can be eliminated and the invoke can be
28 invoke void @g() to label %invoke.cont unwind label %ehcleanup
30 invoke.cont: ; preds = %entry
61 ; CHECK: invoke void @g()
77 invoke void @g() to label %invoke.cont unwind label %ehcleanup
79 invoke.cont: ; preds = %entry
97 try.cont: ; preds = %catchret.dest, %invoke.cont
118 ; In this case the inner cleanup pad should be eliminated and the invoke of g()
123 ; CHECK: invoke void @g()
139 invoke void @g() to label %invoke.cont unwind label %ehcleanup
141 invoke.cont: ; preds = %entry
158 try.cont: ; preds = %catchret.dest, %invoke.cont
179 ; In this case, the cleanuppad should be eliminated, the invoke outside of the
187 ; but it will be eliminated, placing the following invoke in the entry BB.
188 ; CHECK: invoke void @g()
200 invoke void @g()
201 to label %invoke.cont unwind label %ehcleanup
203 invoke.cont: ; preds = %entry
204 invoke void @g()
207 catch.dispatch: ; preds = %invoke.cont
214 try.cont: ; preds = %catch, %invoke.cont
243 ; CHECK: invoke void @g()
244 ; CHECK: invoke.cont:
245 ; CHECK: invoke void @g()
249 ; CHECK: %state.0 = phi i32 [ 2, %invoke.cont ], [ 1, %entry ]
253 invoke void @g()
254 to label %invoke.cont unwind label %ehcleanup
256 invoke.cont: ; preds = %entry
257 invoke void @g()
260 ehcleanup: ; preds = %invoke.cont, %entry
261 %state.0 = phi i32 [ 2, %invoke.cont ], [ 1, %entry ]
272 return: ; preds = %invoke.cont, %catch
273 %retval.0 = phi i32 [ %state.0, %catch ], [ 0, %invoke.cont ]
300 ; CHECK: invoke void @g()
301 ; CHECK: invoke.cont:
302 ; CHECK: invoke void @g()
303 ; CHECK: invoke.cont.1:
304 ; CHECK: invoke void @g()
308 ; CHECK: %state.1 = phi i32 [ 1, %entry ], [ 3, %invoke.cont.1 ], [ 2, %invoke.cont ]
312 invoke void @g()
313 to label %invoke.cont unwind label %catch.dispatch
315 invoke.cont: ; preds = %entry
316 invoke void @g()
317 to label %invoke.cont.1 unwind label %ehcleanup
319 invoke.cont.1: ; preds = %invoke.cont
320 invoke void @g()
323 ehcleanup: ; preds = %invoke.cont.1, %invoke.cont
324 %state.0 = phi i32 [ 3, %invoke.cont.1 ], [ 2, %invoke.cont ]
336 return: ; preds = %invoke.cont.1, %catch
337 %retval.0 = phi i32 [ %state.1, %catch ], [ 0, %invoke.cont.1 ]
370 ; CHECK: invoke void @g()
371 ; CHECK: invoke.cont:
372 ; CHECK: invoke void @g()
376 ; CHECK: %x = phi i32 [ 2, %invoke.cont ], [ 1, %entry ], [ %x, %catch.cont ]
380 invoke void @g()
381 to label %invoke.cont unwind label %ehcleanup
383 invoke.cont: ; preds = %entry
384 invoke void @g()
387 ehcleanup: ; preds = %invoke.cont, %entry
388 %x = phi i32 [ 2, %invoke.cont ], [ 1, %entry ]
401 invoke void @g()
404 return: ; preds = %invoke.cont, %catch.cont