comparison test/CodeGen/X86/scev-interchange.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 60c9769439b8
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
49 49
50 declare fastcc void @_ZN11FE_Q_Helper12_GLOBAL__N_116invert_numberingERKSt6vectorIjSaIjEE(%"struct.std::vector<int,std::allocator<int> >"* noalias nocapture sret, %"struct.std::vector<int,std::allocator<int> >"* nocapture) 50 declare fastcc void @_ZN11FE_Q_Helper12_GLOBAL__N_116invert_numberingERKSt6vectorIjSaIjEE(%"struct.std::vector<int,std::allocator<int> >"* noalias nocapture sret, %"struct.std::vector<int,std::allocator<int> >"* nocapture)
51 51
52 declare fastcc void @_ZN4FE_QILi3EE14get_dpo_vectorEj(%"struct.std::vector<int,std::allocator<int> >"* noalias nocapture sret, i32) 52 declare fastcc void @_ZN4FE_QILi3EE14get_dpo_vectorEj(%"struct.std::vector<int,std::allocator<int> >"* noalias nocapture sret, i32)
53 53
54 define fastcc void @_ZN4FE_QILi3EEC1Ej(i32 %degree) { 54 define fastcc void @_ZN4FE_QILi3EEC1Ej(i32 %degree) personality i32 (...)* @__gxx_personality_v0 {
55 entry: 55 entry:
56 invoke fastcc void @_ZNSt6vectorIbSaIbEEC1EmRKbRKS0_(%"struct.std::vector<bool,std::allocator<bool> >"* undef, i64 1, i8* undef) 56 invoke fastcc void @_ZNSt6vectorIbSaIbEEC1EmRKbRKS0_(%"struct.std::vector<bool,std::allocator<bool> >"* undef, i64 1, i8* undef)
57 to label %invcont.i unwind label %lpad.i 57 to label %invcont.i unwind label %lpad.i
58 58
59 invcont.i: ; preds = %entry 59 invcont.i: ; preds = %entry
147 bb71.i: ; preds = %bb.i.i.i262.i, %bb66.i 147 bb71.i: ; preds = %bb.i.i.i262.i, %bb66.i
148 %tmp11.i.i29.i.i.i.i.i.i = invoke i8* @_Znwm(i64 12) 148 %tmp11.i.i29.i.i.i.i.i.i = invoke i8* @_Znwm(i64 12)
149 to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i.i unwind label %lpad.i.i.i.i.i.i ; <i8*> [#uses=0] 149 to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i.i unwind label %lpad.i.i.i.i.i.i ; <i8*> [#uses=0]
150 150
151 lpad.i.i.i.i.i.i: ; preds = %bb71.i 151 lpad.i.i.i.i.i.i: ; preds = %bb71.i
152 %exn.i.i.i.i.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 152 %exn.i.i.i.i.i.i = landingpad {i8*, i32}
153 cleanup 153 cleanup
154 unreachable 154 unreachable
155 155
156 _ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i.i: ; preds = %bb71.i 156 _ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i.i: ; preds = %bb71.i
157 br i1 undef, label %_ZNSt6vectorIjSaIjEED1Ev.exit.i.i, label %bb.i.i.i.i94.i 157 br i1 undef, label %_ZNSt6vectorIjSaIjEED1Ev.exit.i.i, label %bb.i.i.i.i94.i
162 _ZNSt6vectorIjSaIjEED1Ev.exit.i.i: ; preds = %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i.i 162 _ZNSt6vectorIjSaIjEED1Ev.exit.i.i: ; preds = %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i.i
163 %tmp11.i.i29.i.i.i.i5.i.i = invoke i8* @_Znwm(i64 undef) 163 %tmp11.i.i29.i.i.i.i5.i.i = invoke i8* @_Znwm(i64 undef)
164 to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i12.i.i unwind label %lpad.i.i.i.i8.i.i ; <i8*> [#uses=0] 164 to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i12.i.i unwind label %lpad.i.i.i.i8.i.i ; <i8*> [#uses=0]
165 165
166 lpad.i.i.i.i8.i.i: ; preds = %_ZNSt6vectorIjSaIjEED1Ev.exit.i.i 166 lpad.i.i.i.i8.i.i: ; preds = %_ZNSt6vectorIjSaIjEED1Ev.exit.i.i
167 %exn.i.i.i.i8.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 167 %exn.i.i.i.i8.i.i = landingpad {i8*, i32}
168 cleanup 168 cleanup
169 invoke void @_Unwind_Resume(i8* undef) 169 invoke void @_Unwind_Resume(i8* undef)
170 to label %.noexc.i9.i.i unwind label %lpad.i19.i.i 170 to label %.noexc.i9.i.i unwind label %lpad.i19.i.i
171 171
172 .noexc.i9.i.i: ; preds = %lpad.i.i.i.i8.i.i 172 .noexc.i9.i.i: ; preds = %lpad.i.i.i.i8.i.i
181 bb50.i.i.i: ; preds = %bb.i.i.i.i.i.i.i.i.i.i, %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i12.i.i 181 bb50.i.i.i: ; preds = %bb.i.i.i.i.i.i.i.i.i.i, %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i12.i.i
182 invoke fastcc void @_ZN11FE_Q_Helper12_GLOBAL__N_116invert_numberingERKSt6vectorIjSaIjEE(%"struct.std::vector<int,std::allocator<int> >"* noalias sret undef, %"struct.std::vector<int,std::allocator<int> >"* undef) 182 invoke fastcc void @_ZN11FE_Q_Helper12_GLOBAL__N_116invert_numberingERKSt6vectorIjSaIjEE(%"struct.std::vector<int,std::allocator<int> >"* noalias sret undef, %"struct.std::vector<int,std::allocator<int> >"* undef)
183 to label %bb83.i unwind label %lpad188.i 183 to label %bb83.i unwind label %lpad188.i
184 184
185 lpad.i19.i.i: ; preds = %lpad.i.i.i.i8.i.i 185 lpad.i19.i.i: ; preds = %lpad.i.i.i.i8.i.i
186 %exn.i19.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 186 %exn.i19.i.i = landingpad {i8*, i32}
187 cleanup 187 cleanup
188 unreachable 188 unreachable
189 189
190 bb83.i: ; preds = %bb50.i.i.i 190 bb83.i: ; preds = %bb50.i.i.i
191 br i1 undef, label %invcont84.i, label %bb.i.i.i221.i 191 br i1 undef, label %invcont84.i, label %bb.i.i.i221.i
196 invcont84.i: ; preds = %bb83.i 196 invcont84.i: ; preds = %bb83.i
197 %tmp11.i.i29.i.i.i.i.i = invoke i8* @_Znwm(i64 undef) 197 %tmp11.i.i29.i.i.i.i.i = invoke i8* @_Znwm(i64 undef)
198 to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i unwind label %lpad.i.i.i.i315.i ; <i8*> [#uses=0] 198 to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i unwind label %lpad.i.i.i.i315.i ; <i8*> [#uses=0]
199 199
200 lpad.i.i.i.i315.i: ; preds = %invcont84.i 200 lpad.i.i.i.i315.i: ; preds = %invcont84.i
201 %exn.i.i.i.i315.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 201 %exn.i.i.i.i315.i = landingpad {i8*, i32}
202 cleanup 202 cleanup
203 invoke void @_Unwind_Resume(i8* undef) 203 invoke void @_Unwind_Resume(i8* undef)
204 to label %.noexc.i316.i unwind label %lpad.i352.i 204 to label %.noexc.i316.i unwind label %lpad.i352.i
205 205
206 .noexc.i316.i: ; preds = %lpad.i.i.i.i315.i 206 .noexc.i316.i: ; preds = %lpad.i.i.i.i315.i
215 bb50.i.i: ; preds = %bb.i.i.i.i.i.i.i.i320.i, %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i 215 bb50.i.i: ; preds = %bb.i.i.i.i.i.i.i.i320.i, %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i
216 invoke fastcc void @_ZN11FE_Q_Helper12_GLOBAL__N_116invert_numberingERKSt6vectorIjSaIjEE(%"struct.std::vector<int,std::allocator<int> >"* noalias sret undef, %"struct.std::vector<int,std::allocator<int> >"* undef) 216 invoke fastcc void @_ZN11FE_Q_Helper12_GLOBAL__N_116invert_numberingERKSt6vectorIjSaIjEE(%"struct.std::vector<int,std::allocator<int> >"* noalias sret undef, %"struct.std::vector<int,std::allocator<int> >"* undef)
217 to label %invcont86.i unwind label %lpad200.i 217 to label %invcont86.i unwind label %lpad200.i
218 218
219 lpad.i352.i: ; preds = %lpad.i.i.i.i315.i 219 lpad.i352.i: ; preds = %lpad.i.i.i.i315.i
220 %exn.i352.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 220 %exn.i352.i = landingpad {i8*, i32}
221 cleanup 221 cleanup
222 unreachable 222 unreachable
223 223
224 invcont86.i: ; preds = %bb50.i.i 224 invcont86.i: ; preds = %bb50.i.i
225 invoke fastcc void @_ZNSt6vectorIjSaIjEEaSERKS1_(%"struct.std::vector<int,std::allocator<int> >"* undef, %"struct.std::vector<int,std::allocator<int> >"* undef) 225 invoke fastcc void @_ZNSt6vectorIjSaIjEEaSERKS1_(%"struct.std::vector<int,std::allocator<int> >"* undef, %"struct.std::vector<int,std::allocator<int> >"* undef)
240 invcont101.i: ; preds = %bb100.i 240 invcont101.i: ; preds = %bb100.i
241 invoke fastcc void @_ZN9TableBaseILi2EdE6reinitERK12TableIndicesILi2EE(%"struct.TableBase<2,double>"* undef, i32 undef, i32 undef) 241 invoke fastcc void @_ZN9TableBaseILi2EdE6reinitERK12TableIndicesILi2EE(%"struct.TableBase<2,double>"* undef, i32 undef, i32 undef)
242 to label %_ZN10FullMatrixIdEC1Ejj.exit.i.i unwind label %lpad.i.i.i.i.i 242 to label %_ZN10FullMatrixIdEC1Ejj.exit.i.i unwind label %lpad.i.i.i.i.i
243 243
244 lpad.i.i.i.i.i: ; preds = %invcont101.i 244 lpad.i.i.i.i.i: ; preds = %invcont101.i
245 %exn.i.i.i.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 245 %exn.i.i.i.i.i = landingpad {i8*, i32}
246 cleanup 246 cleanup
247 unreachable 247 unreachable
248 248
249 _ZN10FullMatrixIdEC1Ejj.exit.i.i: ; preds = %invcont101.i 249 _ZN10FullMatrixIdEC1Ejj.exit.i.i: ; preds = %invcont101.i
250 invoke fastcc void @_ZN9TableBaseILi2EdE6reinitERK12TableIndicesILi2EE(%"struct.TableBase<2,double>"* undef, i32 undef, i32 undef) 250 invoke fastcc void @_ZN9TableBaseILi2EdE6reinitERK12TableIndicesILi2EE(%"struct.TableBase<2,double>"* undef, i32 undef, i32 undef)
251 to label %_ZN10FullMatrixIdEC1Ejj.exit28.i.i unwind label %lpad.i.i.i27.i.i 251 to label %_ZN10FullMatrixIdEC1Ejj.exit28.i.i unwind label %lpad.i.i.i27.i.i
252 252
253 lpad.i.i.i27.i.i: ; preds = %_ZN10FullMatrixIdEC1Ejj.exit.i.i 253 lpad.i.i.i27.i.i: ; preds = %_ZN10FullMatrixIdEC1Ejj.exit.i.i
254 %exn.i.i.i27.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 254 %exn.i.i.i27.i.i = landingpad {i8*, i32}
255 cleanup 255 cleanup
256 invoke void @_Unwind_Resume(i8* undef) 256 invoke void @_Unwind_Resume(i8* undef)
257 to label %.noexc.i.i unwind label %lpad.i.i 257 to label %.noexc.i.i unwind label %lpad.i.i
258 258
259 .noexc.i.i: ; preds = %lpad.i.i.i27.i.i 259 .noexc.i.i: ; preds = %lpad.i.i.i27.i.i
270 270
271 bb.i.i.i297.i.i: ; preds = %bb58.i.i 271 bb.i.i.i297.i.i: ; preds = %bb58.i.i
272 unreachable 272 unreachable
273 273
274 lpad.i.i: ; preds = %lpad.i.i.i27.i.i 274 lpad.i.i: ; preds = %lpad.i.i.i27.i.i
275 %exn.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 275 %exn.i.i = landingpad {i8*, i32}
276 cleanup 276 cleanup
277 unreachable 277 unreachable
278 278
279 bb.i191.i: ; preds = %.noexc232.i, %bb58.i.i 279 bb.i191.i: ; preds = %.noexc232.i, %bb58.i.i
280 invoke fastcc void @_ZN9TableBaseILi2EdE6reinitERK12TableIndicesILi2EE(%"struct.TableBase<2,double>"* undef, i32 undef, i32 undef) 280 invoke fastcc void @_ZN9TableBaseILi2EdE6reinitERK12TableIndicesILi2EE(%"struct.TableBase<2,double>"* undef, i32 undef, i32 undef)
294 %0 = phi i32 [ 0, %bb29.loopexit.i.i ], [ %tmp60.i.i, %bb8.i.i ] ; <i32> [#uses=2] 294 %0 = phi i32 [ 0, %bb29.loopexit.i.i ], [ %tmp60.i.i, %bb8.i.i ] ; <i32> [#uses=2]
295 br i1 undef, label %bb7.i215.i, label %bb16.preheader.i.i 295 br i1 undef, label %bb7.i215.i, label %bb16.preheader.i.i
296 296
297 bb15.i.i: ; preds = %bb16.preheader.i.i, %bb15.i.i 297 bb15.i.i: ; preds = %bb16.preheader.i.i, %bb15.i.i
298 %j1.0212.i.i = phi i32 [ %1, %bb15.i.i ], [ 0, %bb16.preheader.i.i ] ; <i32> [#uses=2] 298 %j1.0212.i.i = phi i32 [ %1, %bb15.i.i ], [ 0, %bb16.preheader.i.i ] ; <i32> [#uses=2]
299 %tmp6.i.i195.i.i = load i32* undef, align 4 ; <i32> [#uses=1] 299 %tmp6.i.i195.i.i = load i32, i32* undef, align 4 ; <i32> [#uses=1]
300 %tmp231.i.i = mul i32 %0, %tmp6.i.i195.i.i ; <i32> [#uses=1] 300 %tmp231.i.i = mul i32 %0, %tmp6.i.i195.i.i ; <i32> [#uses=1]
301 %tmp13.i197.i.i = add i32 %j1.0212.i.i, %tmp231.i.i ; <i32> [#uses=0] 301 %tmp13.i197.i.i = add i32 %j1.0212.i.i, %tmp231.i.i ; <i32> [#uses=0]
302 %1 = add i32 %j1.0212.i.i, 1 ; <i32> [#uses=1] 302 %1 = add i32 %j1.0212.i.i, 1 ; <i32> [#uses=1]
303 br i1 undef, label %bb15.i.i, label %bb17.i.i 303 br i1 undef, label %bb15.i.i, label %bb17.i.i
304 304
310 310
311 bb29.loopexit.i.i: ; preds = %.noexc232.i 311 bb29.loopexit.i.i: ; preds = %.noexc232.i
312 br label %bb9.i216.i 312 br label %bb9.i216.i
313 313
314 lpad.i: ; preds = %entry 314 lpad.i: ; preds = %entry
315 %exn.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 315 %exn.i = landingpad {i8*, i32}
316 cleanup 316 cleanup
317 unreachable 317 unreachable
318 318
319 lpad120.i: ; preds = %invcont.i 319 lpad120.i: ; preds = %invcont.i
320 %exn120.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 320 %exn120.i = landingpad {i8*, i32}
321 cleanup 321 cleanup
322 unreachable 322 unreachable
323 323
324 lpad124.i: ; preds = %invcont1.i 324 lpad124.i: ; preds = %invcont1.i
325 %exn124.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 325 %exn124.i = landingpad {i8*, i32}
326 cleanup 326 cleanup
327 unreachable 327 unreachable
328 328
329 lpad128.i: ; preds = %invcont3.i 329 lpad128.i: ; preds = %invcont3.i
330 %exn128.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 330 %exn128.i = landingpad {i8*, i32}
331 cleanup 331 cleanup
332 unreachable 332 unreachable
333 333
334 lpad132.i: ; preds = %invcont4.i 334 lpad132.i: ; preds = %invcont4.i
335 %exn132.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 335 %exn132.i = landingpad {i8*, i32}
336 cleanup 336 cleanup
337 unreachable 337 unreachable
338 338
339 lpad136.i: ; preds = %invcont6.i 339 lpad136.i: ; preds = %invcont6.i
340 %exn136.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 340 %exn136.i = landingpad {i8*, i32}
341 cleanup 341 cleanup
342 unreachable 342 unreachable
343 343
344 lpad140.i: ; preds = %bb21.i, %invcont7.i 344 lpad140.i: ; preds = %bb21.i, %invcont7.i
345 %exn140.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 345 %exn140.i = landingpad {i8*, i32}
346 cleanup 346 cleanup
347 unreachable 347 unreachable
348 348
349 lpad144.i: ; preds = %bb10.i168.i, %invcont9.i 349 lpad144.i: ; preds = %bb10.i168.i, %invcont9.i
350 %exn144.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 350 %exn144.i = landingpad {i8*, i32}
351 cleanup 351 cleanup
352 unreachable 352 unreachable
353 353
354 lpad148.i: ; preds = %invcont10.i 354 lpad148.i: ; preds = %invcont10.i
355 %exn148.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 355 %exn148.i = landingpad {i8*, i32}
356 cleanup 356 cleanup
357 unreachable 357 unreachable
358 358
359 lpad188.i: ; preds = %bb50.i.i.i 359 lpad188.i: ; preds = %bb50.i.i.i
360 %exn188.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 360 %exn188.i = landingpad {i8*, i32}
361 cleanup 361 cleanup
362 unreachable 362 unreachable
363 363
364 lpad196.i: ; preds = %bb.i191.i 364 lpad196.i: ; preds = %bb.i191.i
365 %exn196 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 365 %exn196 = landingpad {i8*, i32}
366 cleanup 366 cleanup
367 unreachable 367 unreachable
368 368
369 lpad200.i: ; preds = %bb50.i.i 369 lpad200.i: ; preds = %bb50.i.i
370 %exn200.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 370 %exn200.i = landingpad {i8*, i32}
371 cleanup 371 cleanup
372 unreachable 372 unreachable
373 373
374 lpad204.i: ; preds = %invcont86.i 374 lpad204.i: ; preds = %invcont86.i
375 %exn204.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 375 %exn204.i = landingpad {i8*, i32}
376 cleanup 376 cleanup
377 unreachable 377 unreachable
378 } 378 }
379 379
380 declare fastcc void @_ZN11Polynomials19LagrangeEquidistant23generate_complete_basisEj(%"struct.std::vector<Polynomials::Polynomial<double>,std::allocator<Polynomials::Polynomial<double> > >"* noalias nocapture sret, i32) 380 declare fastcc void @_ZN11Polynomials19LagrangeEquidistant23generate_complete_basisEj(%"struct.std::vector<Polynomials::Polynomial<double>,std::allocator<Polynomials::Polynomial<double> > >"* noalias nocapture sret, i32)