1 ; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
2 ; RUN: opt < %s -disable-output -scalar-evolution
4 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
5 %JavaObject = type { [0 x i32 (...)*]*, i8* }
7 define void @JnJVM_antlr_CSharpCodeGenerator_genBitSet__Lantlr_collections_impl_BitSet_2I(%JavaObject*, %JavaObject*, i32) {
9 br i1 undef, label %"stack overflow", label %"no stack overflow"
11 "GOTO or IF*2": ; preds = %"true verifyAndComputePtr89", %verifyNullCont84
14 "GOTO or IF*5": ; preds = %"true verifyAndComputePtr127", %"GOTO or IF*6"
17 "GOTO or IF*6": ; preds = %"true verifyAndComputePtr131.GOTO or IF*6_crit_edge", %"true verifyAndComputePtr89"
18 %indvar = phi i32 [ %indvar.next, %"true verifyAndComputePtr131.GOTO or IF*6_crit_edge" ], [ 0, %"true verifyAndComputePtr89" ] ; <i32> [#uses=2]
19 %.0.in = add i32 %indvar, 0 ; <i32> [#uses=1]
20 %.0 = add i32 %.0.in, 1 ; <i32> [#uses=1]
21 %3 = icmp slt i32 %.0, %4 ; <i1> [#uses=1]
22 br i1 %3, label %verifyNullCont126, label %"GOTO or IF*5"
24 end: ; preds = %"no exception block35"
27 "stack overflow": ; preds = %start
30 "no stack overflow": ; preds = %start
31 br i1 undef, label %verifyNullCont, label %"no stack overflow.end_crit_edge"
33 "no stack overflow.end_crit_edge": ; preds = %"no stack overflow"
36 verifyNullCont: ; preds = %"no stack overflow"
37 br i1 undef, label %verifyNullCont9, label %verifyNullCont.end_crit_edge
39 verifyNullCont.end_crit_edge: ; preds = %verifyNullCont
42 verifyNullCont9: ; preds = %verifyNullCont
43 br i1 undef, label %verifyNullCont12, label %verifyNullCont9.end_crit_edge
45 verifyNullCont9.end_crit_edge: ; preds = %verifyNullCont9
48 verifyNullCont12: ; preds = %verifyNullCont9
49 br i1 undef, label %"no exception block13", label %verifyNullCont12.end_crit_edge
51 verifyNullCont12.end_crit_edge: ; preds = %verifyNullCont12
54 "no exception block13": ; preds = %verifyNullCont12
55 br i1 undef, label %verifyNullExit14, label %verifyNullCont15
57 verifyNullExit14: ; preds = %"no exception block13"
60 verifyNullCont15: ; preds = %"no exception block13"
61 br i1 undef, label %"no exception block16", label %verifyNullCont15.end_crit_edge
63 verifyNullCont15.end_crit_edge: ; preds = %verifyNullCont15
66 "no exception block16": ; preds = %verifyNullCont15
67 br i1 undef, label %verifyNullExit17, label %verifyNullCont18
69 verifyNullExit17: ; preds = %"no exception block16"
72 verifyNullCont18: ; preds = %"no exception block16"
73 br i1 undef, label %"no exception block19", label %verifyNullCont18.end_crit_edge
75 verifyNullCont18.end_crit_edge: ; preds = %verifyNullCont18
78 "no exception block19": ; preds = %verifyNullCont18
79 br i1 undef, label %verifyNullExit20, label %verifyNullCont21
81 verifyNullExit20: ; preds = %"no exception block19"
84 verifyNullCont21: ; preds = %"no exception block19"
85 br i1 undef, label %verifyNullCont24, label %verifyNullCont21.end_crit_edge
87 verifyNullCont21.end_crit_edge: ; preds = %verifyNullCont21
90 verifyNullCont24: ; preds = %verifyNullCont21
91 br i1 undef, label %verifyNullCont27, label %verifyNullCont24.end_crit_edge
93 verifyNullCont24.end_crit_edge: ; preds = %verifyNullCont24
96 verifyNullCont27: ; preds = %verifyNullCont24
97 br i1 undef, label %verifyNullCont32, label %verifyNullCont27.end_crit_edge
99 verifyNullCont27.end_crit_edge: ; preds = %verifyNullCont27
102 verifyNullCont32: ; preds = %verifyNullCont27
103 br i1 undef, label %verifyNullExit33, label %verifyNullCont34
105 verifyNullExit33: ; preds = %verifyNullCont32
108 verifyNullCont34: ; preds = %verifyNullCont32
109 br i1 undef, label %"no exception block35", label %verifyNullCont34.end_crit_edge
111 verifyNullCont34.end_crit_edge: ; preds = %verifyNullCont34
114 "no exception block35": ; preds = %verifyNullCont34
115 br i1 undef, label %end, label %verifyNullCont60
117 verifyNullCont60: ; preds = %"no exception block35"
118 br i1 undef, label %verifyNullCont63, label %verifyNullCont60.end_crit_edge
120 verifyNullCont60.end_crit_edge: ; preds = %verifyNullCont60
123 verifyNullCont63: ; preds = %verifyNullCont60
124 br i1 undef, label %"no exception block64", label %verifyNullCont63.end_crit_edge
126 verifyNullCont63.end_crit_edge: ; preds = %verifyNullCont63
129 "no exception block64": ; preds = %verifyNullCont63
130 br i1 undef, label %verifyNullExit65, label %verifyNullCont66
132 verifyNullExit65: ; preds = %"no exception block64"
135 verifyNullCont66: ; preds = %"no exception block64"
136 br i1 undef, label %"no exception block67", label %verifyNullCont66.end_crit_edge
138 verifyNullCont66.end_crit_edge: ; preds = %verifyNullCont66
141 "no exception block67": ; preds = %verifyNullCont66
142 br i1 undef, label %verifyNullExit68, label %verifyNullCont69
144 verifyNullExit68: ; preds = %"no exception block67"
147 verifyNullCont69: ; preds = %"no exception block67"
148 br i1 undef, label %"no exception block70", label %verifyNullCont69.end_crit_edge
150 verifyNullCont69.end_crit_edge: ; preds = %verifyNullCont69
153 "no exception block70": ; preds = %verifyNullCont69
154 br i1 undef, label %verifyNullExit71, label %verifyNullCont72
156 verifyNullExit71: ; preds = %"no exception block70"
159 verifyNullCont72: ; preds = %"no exception block70"
160 br i1 undef, label %verifyNullCont75, label %verifyNullCont72.end_crit_edge
162 verifyNullCont72.end_crit_edge: ; preds = %verifyNullCont72
165 verifyNullCont75: ; preds = %verifyNullCont72
166 br i1 undef, label %verifyNullCont78, label %verifyNullCont75.end_crit_edge
168 verifyNullCont75.end_crit_edge: ; preds = %verifyNullCont75
171 verifyNullCont78: ; preds = %verifyNullCont75
172 br i1 undef, label %"verifyNullCont78.GOTO or IF*4_crit_edge", label %verifyNullCont78.end_crit_edge
174 "verifyNullCont78.GOTO or IF*4_crit_edge": ; preds = %verifyNullCont78
175 br i1 undef, label %verifyNullExit80, label %verifyNullCont81
177 verifyNullCont78.end_crit_edge: ; preds = %verifyNullCont78
180 verifyNullExit80: ; preds = %"verifyNullCont78.GOTO or IF*4_crit_edge"
183 verifyNullCont81: ; preds = %"verifyNullCont78.GOTO or IF*4_crit_edge"
184 %4 = ptrtoint i8* undef to i32 ; <i32> [#uses=2]
185 %5 = icmp slt i32 0, %4 ; <i1> [#uses=1]
186 br i1 %5, label %verifyNullCont84, label %verifyNullCont172
188 verifyNullCont84: ; preds = %verifyNullCont81
189 br i1 undef, label %"GOTO or IF*2", label %verifyNullCont86
191 verifyNullCont86: ; preds = %verifyNullCont84
192 br i1 undef, label %"true verifyAndComputePtr", label %"false verifyAndComputePtr"
194 "true verifyAndComputePtr": ; preds = %verifyNullCont86
195 br i1 undef, label %"true verifyAndComputePtr89", label %"false verifyAndComputePtr90"
197 "false verifyAndComputePtr": ; preds = %verifyNullCont86
200 "true verifyAndComputePtr89": ; preds = %"true verifyAndComputePtr"
201 br i1 undef, label %"GOTO or IF*6", label %"GOTO or IF*2"
203 "false verifyAndComputePtr90": ; preds = %"true verifyAndComputePtr"
206 verifyNullCont126: ; preds = %"GOTO or IF*6"
207 br i1 undef, label %"true verifyAndComputePtr127", label %"false verifyAndComputePtr128"
209 "true verifyAndComputePtr127": ; preds = %verifyNullCont126
210 br i1 undef, label %"true verifyAndComputePtr131.GOTO or IF*6_crit_edge", label %"GOTO or IF*5"
212 "false verifyAndComputePtr128": ; preds = %verifyNullCont126
215 "true verifyAndComputePtr131.GOTO or IF*6_crit_edge": ; preds = %"true verifyAndComputePtr127"
216 %indvar.next = add i32 %indvar, 1 ; <i32> [#uses=1]
217 br label %"GOTO or IF*6"
219 verifyNullCont172: ; preds = %verifyNullCont81