llvm.org GIT mirror llvm / 15db556
Update to new EH scheme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138927 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 8 years ago
5 changed file(s) with 27 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
109109
110110 declare void @_ZNK4llvm19MachineInstrBuilder7addSImmEi()
111111
112 declare i32 @__gxx_personality_v0(...)
113
112114 define void @_ZN4llvm11_GLOBAL__N_22InsertPrologEpilogCode20runOnMachineFunctionERNS_15MachineFunctionE(%"struct.llvm::MachineFunction"* %F) {
113115 entry:
114116 %tmp.8.i = invoke %"struct.llvm::TargetFrameInfo"* null( %"struct.llvm::TargetMachine"* null )
115117 to label %invoke_cont.0.i unwind label %invoke_catch.0.i ; <%"struct.llvm::TargetFrameInfo"*> [#uses=0]
116118
117119 invoke_catch.0.i: ; preds = %invoke_cont.49.i, %invoke_cont.48.i, %invoke_cont.47.i, %invoke_cont.i53.i, %no_exit.i, %invoke_cont.44.i, %invoke_cont.43.i, %invoke_cont.42.i, %invoke_cont.41.i, %invoke_cont.40.i, %invoke_cont.39.i, %invoke_cont.38.i, %invoke_cont.37.i, %then.2.i, %invoke_cont.35.i, %invoke_cont.34.i, %then.1.i, %endif.0.i, %invoke_cont.9.i, %invoke_cont.8.i, %invoke_cont.7.i, %invoke_cont.i.i, %then.0.i, %invoke_cont.4.i, %invoke_cont.3.i, %invoke_cont.2.i, %invoke_cont.1.i, %endif.0.i.i, %tmp.7.i.noexc.i, %invoke_cont.0.i, %entry
120 %exn0.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
121 cleanup
118122 ret void
119123
120124 invoke_cont.0.i: ; preds = %entry
163167 to label %invoke_cont.i.i unwind label %cond_true.i.i
164168
165169 cond_true.i.i: ; preds = %tmp.0.i.noexc.i
170 %exn.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
171 cleanup
166172 ret void
167173
168174 invoke_cont.i.i: ; preds = %tmp.0.i.noexc.i
255261 to label %invoke_cont.i53.i unwind label %cond_true.i52.i
256262
257263 cond_true.i52.i: ; preds = %tmp.0.i.noexc55.i
264 %exn.i52.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
265 cleanup
258266 ret void
259267
260268 invoke_cont.i53.i: ; preds = %tmp.0.i.noexc55.i
33 entry:
44 %tmp.7 = invoke i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector( )
55 to label %invoke_cont.0 unwind label %cond_true.1 ; [#uses=2]
6
7 cond_true.1: ; preds = %entry
8 unwind
96
107 invoke_cont.0: ; preds = %entry
118 %tmp.4.i = bitcast i32 %tmp.7 to i32 ; [#uses=0]
1613 %tmp.14.0.i.0 = phi i32 [ %tmp.14.0.i, %no_exit.i ], [ %tmp.14.0.i5, %invoke_cont.0 ] ; [#uses=1]
1714 %tmp.14.0.i = add i32 %tmp.14.0.i.0, -1 ; [#uses=1]
1815 br label %no_exit.i
16
17 cond_true.1: ; preds = %entry
18 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
19 cleanup
20 resume { i8*, i32 } %exn
1921 }
22
23 declare i32 @__gxx_personality_v0(...)
2024
2125 declare i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector()
2226
99 to label %endif.1 unwind label %then.i.i551
1010
1111 then.i.i551: ; preds = %entry
12 %exn551 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
13 cleanup
1214 ret void
1315
1416 endif.1: ; preds = %entry
1921 to label %loopentry.0 unwind label %invoke_catch.6
2022
2123 invoke_catch.6: ; preds = %then.2
24 %exn6 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
25 cleanup
2226 ret void
2327
2428 loopentry.0: ; preds = %then.2
5862 then.i.i: ; preds = %endif.1
5963 ret void
6064 }
65
66 declare i32 @__gxx_personality_v0(...)
7979 br label %"3.i"
8080
8181 "7.i": ; preds = %"3.i"
82 %2 = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gccgo_personality_v0
83 catch i8* null
8284 br label %"3.i"
8385
8486 main.f.exit: ; preds = %"3.i"
4646 br label %bb123
4747
4848 lpad266: ; preds = %invcont129, %bb128, %bb123
49 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
50 cleanup
4951 unreachable
5052 }
53
54 declare i32 @__gxx_personality_v0(...)
5155
5256 declare void @system__img_int__image_integer(%struct.string___XUP* noalias sret, i32)
5357