Lines Matching refs:try

20 ;   try {
28 ; CHECK: try
48 to label %try.cont unwind label %catch.dispatch
64 catchret from %1 to label %try.cont
74 catchret from %1 to label %try.cont
80 try.cont: ; preds = %catch, %catch2, %entry
84 ; Nested try-catches within a catch
86 ; try {
89 ; try {
98 ; CHECK: try
105 ; CHECK: try
106 ; CHECK: try
114 ; CHECK: try
139 to label %try.cont11 unwind label %catch.dispatch
157 to label %try.cont unwind label %catch.dispatch2
179 catchret from %9 to label %try.cont
185 try.cont: ; preds = %invoke.cont8, %catch
187 catchret from %1 to label %try.cont11
193 try.cont11: ; preds = %try.cont, %entry
212 ; try {
221 ; CHECK: try
229 ; CHECK: try
233 ; CHECK: try
251 to label %try.cont unwind label %catch.dispatch
278 catchret from %1 to label %try.cont
280 try.cont: ; preds = %for.end, %entry
297 ; Tests if block and try markers are correctly placed. Even if two predecessors
303 ; NOOPT: try
322 br label %try.cont
326 to label %try.cont unwind label %catch.dispatch
330 to label %try.cont unwind label %catch.dispatch
339 catchret from %1 to label %try.cont
341 try.cont: ; preds = %catch.start, %bb4, %bb3, %bb2
345 ; Tests if try/end_try markers are placed correctly wrt loop/end_loop markers,
346 ; when try and loop markers are in the same BB and end_try and end_loop are in
349 ; CHECK: try
359 loop: ; preds = %try.cont, %entry
362 to label %try.cont unwind label %catch.dispatch
371 catchret from %1 to label %try.cont
373 try.cont: ; preds = %catch.start, %loop
385 ; wrapping the call with a nested try-delegate that targets 'C0'.
390 ; try-catch with try-delegate that rethrows an exception to the caller to fix
394 ; NOSORT: try
395 ; --- try-delegate starts (catch unwind mismatch)
396 ; NOSORT try
397 ; NOSORT: try
399 ; --- try-delegate starts (call unwind mismatch)
400 ; NOSORT: try
403 ; --- try-delegate ends (call unwind mismatch)
407 ; --- try-delegate ends (catch unwind mismatch)
419 to label %try.cont unwind label %catch.dispatch1
428 catchret from %1 to label %try.cont
437 catchret from %5 to label %try.cont
439 try.cont: ; preds = %catch.start1, %catch.start0, %bb1
445 ; 'C0'. We fix this by wrapping the calls with a nested try-delegate that
452 ; NOSORT: try
454 ; --- try-delegate starts (call unwind mismatch)
455 ; NOSORT: try
460 ; --- try-delegate ends (call unwind mismatch)
485 catchret from %1 to label %try.cont
487 try.cont: ; preds = %catch.start0
496 ; NOSORT: try
497 ; --- try-delegate starts (catch unwind mismatch)
498 ; NOSORT try
499 ; NOSORT: try
501 ; --- try-delegate starts (call unwind mismatch)
502 ; NOSORT: try
505 ; --- try-delegate ends (call unwind mismatch)
506 ; --- try-delegate starts (call unwind mismatch)
507 ; NOSORT: try
510 ; --- try-delegate ends (call unwind mismatch)
514 ; --- try-delegate ends (catch unwind mismatch)
527 to label %try.cont unwind label %catch.dispatch1
536 catchret from %1 to label %try.cont
545 catchret from %5 to label %try.cont
547 try.cont: ; preds = %catch.start1, %catch.start0, %bb1
554 ; with a nested try-delegate that rethrows the exception to the caller.
557 ; nested 'try' should be placed before `i32.const 5', not between 'i32.const 5'
561 ; NOSORT: try i32
563 ; --- try-delegate starts (call unwind mismatch)
564 ; NOSORT: try
568 ; --- try-delegate ends (call unwind mismatch)
590 catchret from %2 to label %try.cont
592 try.cont: ; preds = %catch.start0
610 ; But when we introduce a nested try-delegate in fixCallUnwindMismatches in
630 catchret from %1 to label %try.cont
632 try.cont: ; preds = %catch.start0
646 ; NOSORT: try
647 ; --- try-delegate starts (catch unwind mismatch)
648 ; NOSORT: try
649 ; NOSORT: try
651 ; --- try-delegate starts (call unwind mismatch)
652 ; NOSORT: try
655 ; --- try-delegate ends (call unwind mismatch)
658 ; --- try-delegate starts (call unwind mismatch)
659 ; NOSORT: try
662 ; --- try-delegate ends (call unwind mismatch)
665 ; --- try-delegate ends (catch unwind mismatch)
679 to label %try.cont unwind label %catch.dispatch1
690 catchret from %1 to label %try.cont
701 catchret from %6 to label %try.cont
703 try.cont: ; preds = %catch.start1, %catch.start0, %bb1
716 ; NOOPT: try
755 ; invoke.cont BB fall within try~end_try, but they shouldn't cause crashes or
759 ; NOSORT: try
787 ; Tests if 'try' marker is placed correctly. In this test, 'try' should be
793 ; CHECK: try
882 ; after running the 'try' body the control flow will fall through to bb2 anyway.
885 ; try
910 br i1 %exitcond, label %try.cont, label %for.body
925 catchret from %1 to label %try.cont
927 try.cont: ; preds = %catch.start, %for.end
933 ; try {
935 ; try {
944 ; Here 'br' is inside an inner try, whose 'end' is in another EH pad. In this
945 ; case, after running an inner try body, the control flow should fall through to
949 ; try
950 ; try
973 to label %try.cont8 unwind label %catch.dispatch
996 catchret from %6 to label %try.cont8
998 try.cont8: ; preds = %invoke.cont2, %catch.start4, %invoke.c…
1002 catchret from %1 to label %try.cont8
1012 ; NOSORT: try
1054 ; the corresponding block/loop/try's type to match the function's return type.
1055 ; But when a `try`'s type is fixed, we should also check `end` instructions
1056 ; before its corresponding `catch_all`, because both `try` and `catch_all` body
1060 ; NOSORT: try i32
1100 ; This should not crash and try-delegate has to be created around 'call @baz',
1105 ; CHECK: try
1106 ; CHECK: try
1128 ; we need to wrap this try-catch-end in this code with a try-delegate to fix a
1133 ; try
1142 ; try
1143 ; try
1150 ; After adding a try-delegate, the 'br's destination BB, where (a) points,
1155 ; NOSORT: try
1167 to label %try.cont unwind label %catch.dispatch1
1176 catchret from %1 to label %try.cont
1188 catchret from %5 to label %try.cont
1190 try.cont: ; preds = %catch.start1, %catch.start0, %bb1
1199 ; try
1208 ; try
1210 ; try
1211 ; try
1272 br label %try.cont23
1278 try.cont23: ; preds = %invoke.cont14, %catchret.dest22
1282 invoke.cont24: ; preds = %try.cont23
1286 br label %try.cont23
1288 ehcleanup: ; preds = %try.cont23, %rethrow19, %catch.dispatc…
1321 catchret from %5 to label %try.cont
1323 try.cont: ; preds = %catch.start3
1327 invoke.cont8: ; preds = %try.cont
1343 ehcleanup: ; preds = %catch.dispatch11, %try.cont, %catch.di…
1356 ; try {
1357 ; try {
1369 ; exception out of catch.start's exception, we have to take out try.cont8 out of
1398 br label %try.cont
1423 br label %try.cont8
1429 try.cont8: ; preds = %try.cont, %catchret.dest7
1432 try.cont: ; preds = %catchret.dest
1433 br label %try.cont8
1464 to label %try.cont18 unwind label %catch.dispatch
1482 catchret from %1 to label %try.cont18
1504 catchret from %9 to label %try.cont18
1526 catchret from %17 to label %try.cont18
1532 try.cont18: ; preds = %catch, %catch7, %catch15, %invoke.cont1
1540 ; try {
1541 ; try {
1547 ; try {
1554 ; try always throws, both EH pads (b) (catch.start2) and (c) (catch.start10) are
1583 catchret from %2 to label %try.cont8
1605 catchret from %10 to label %try.cont8
1611 try.cont8: ; preds = %catch, %catch5
1613 to label %try.cont16 unwind label %catch.dispatch9
1615 catch.dispatch9: ; preds = %try.cont8
1631 catchret from %18 to label %try.cont16
1637 try.cont16: ; preds = %try.cont8, %catch13