Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/2009-09-10-SpillComments.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 | 95c75e76d11b |
children |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
18 entry: | 18 entry: |
19 %tmp2 = icmp eq %struct.rtx_def* %x, null ; <i1> [#uses=1] | 19 %tmp2 = icmp eq %struct.rtx_def* %x, null ; <i1> [#uses=1] |
20 br i1 %tmp2, label %UnifiedReturnBlock, label %cond_next | 20 br i1 %tmp2, label %UnifiedReturnBlock, label %cond_next |
21 | 21 |
22 cond_next: ; preds = %entry | 22 cond_next: ; preds = %entry |
23 %tmp6 = getelementptr %struct.rtx_def* %x, i32 0, i32 0 ; <i16*> [#uses=1] | 23 %tmp6 = getelementptr %struct.rtx_def, %struct.rtx_def* %x, i32 0, i32 0 ; <i16*> [#uses=1] |
24 %tmp7 = load i16* %tmp6 ; <i16> [#uses=2] | 24 %tmp7 = load i16, i16* %tmp6 ; <i16> [#uses=2] |
25 %tmp78 = zext i16 %tmp7 to i32 ; <i32> [#uses=2] | 25 %tmp78 = zext i16 %tmp7 to i32 ; <i32> [#uses=2] |
26 %tmp10 = icmp eq i16 %tmp7, 54 ; <i1> [#uses=1] | 26 %tmp10 = icmp eq i16 %tmp7, 54 ; <i1> [#uses=1] |
27 br i1 %tmp10, label %cond_true13, label %cond_next32 | 27 br i1 %tmp10, label %cond_true13, label %cond_next32 |
28 | 28 |
29 cond_true13: ; preds = %cond_next | 29 cond_true13: ; preds = %cond_next |
30 %tmp15 = getelementptr %struct.rtx_def* %x, i32 0, i32 3 ; <[1 x %struct..0anon]*> [#uses=1] | 30 %tmp15 = getelementptr %struct.rtx_def, %struct.rtx_def* %x, i32 0, i32 3 ; <[1 x %struct..0anon]*> [#uses=1] |
31 %tmp1718 = bitcast [1 x %struct..0anon]* %tmp15 to %struct.rtx_def** ; <%struct.rtx_def**> [#uses=1] | 31 %tmp1718 = bitcast [1 x %struct..0anon]* %tmp15 to %struct.rtx_def** ; <%struct.rtx_def**> [#uses=1] |
32 %tmp19 = load %struct.rtx_def** %tmp1718 ; <%struct.rtx_def*> [#uses=1] | 32 %tmp19 = load %struct.rtx_def*, %struct.rtx_def** %tmp1718 ; <%struct.rtx_def*> [#uses=1] |
33 %tmp20 = getelementptr %struct.rtx_def* %tmp19, i32 0, i32 0 ; <i16*> [#uses=1] | 33 %tmp20 = getelementptr %struct.rtx_def, %struct.rtx_def* %tmp19, i32 0, i32 0 ; <i16*> [#uses=1] |
34 %tmp21 = load i16* %tmp20 ; <i16> [#uses=1] | 34 %tmp21 = load i16, i16* %tmp20 ; <i16> [#uses=1] |
35 %tmp22 = icmp eq i16 %tmp21, 57 ; <i1> [#uses=1] | 35 %tmp22 = icmp eq i16 %tmp21, 57 ; <i1> [#uses=1] |
36 br i1 %tmp22, label %cond_true25, label %cond_next32 | 36 br i1 %tmp22, label %cond_true25, label %cond_next32 |
37 | 37 |
38 cond_true25: ; preds = %cond_true13 | 38 cond_true25: ; preds = %cond_true13 |
39 %tmp29 = tail call %struct.rtx_def* @fixup_memory_subreg( %struct.rtx_def* %x, %struct.rtx_def* %insn, i32 1 ) nounwind ; <%struct.rtx_def*> [#uses=1] | 39 %tmp29 = tail call %struct.rtx_def* @fixup_memory_subreg( %struct.rtx_def* %x, %struct.rtx_def* %insn, i32 1 ) nounwind ; <%struct.rtx_def*> [#uses=1] |
40 ret %struct.rtx_def* %tmp29 | 40 ret %struct.rtx_def* %tmp29 |
41 | 41 |
42 cond_next32: ; preds = %cond_true13, %cond_next | 42 cond_next32: ; preds = %cond_true13, %cond_next |
43 %tmp34 = getelementptr [116 x i8*]* @rtx_format, i32 0, i32 %tmp78 ; <i8**> [#uses=1] | 43 %tmp34 = getelementptr [116 x i8*], [116 x i8*]* @rtx_format, i32 0, i32 %tmp78 ; <i8**> [#uses=1] |
44 %tmp35 = load i8** %tmp34, align 4 ; <i8*> [#uses=1] | 44 %tmp35 = load i8*, i8** %tmp34, align 4 ; <i8*> [#uses=1] |
45 %tmp37 = getelementptr [117 x i32]* @rtx_length, i32 0, i32 %tmp78 ; <i32*> [#uses=1] | 45 %tmp37 = getelementptr [117 x i32], [117 x i32]* @rtx_length, i32 0, i32 %tmp78 ; <i32*> [#uses=1] |
46 %tmp38 = load i32* %tmp37, align 4 ; <i32> [#uses=1] | 46 %tmp38 = load i32, i32* %tmp37, align 4 ; <i32> [#uses=1] |
47 %i.011 = add i32 %tmp38, -1 ; <i32> [#uses=2] | 47 %i.011 = add i32 %tmp38, -1 ; <i32> [#uses=2] |
48 %tmp12513 = icmp sgt i32 %i.011, -1 ; <i1> [#uses=1] | 48 %tmp12513 = icmp sgt i32 %i.011, -1 ; <i1> [#uses=1] |
49 br i1 %tmp12513, label %bb, label %UnifiedReturnBlock | 49 br i1 %tmp12513, label %bb, label %UnifiedReturnBlock |
50 | 50 |
51 bb: ; preds = %bb123, %cond_next32 | 51 bb: ; preds = %bb123, %cond_next32 |
52 %indvar = phi i32 [ %indvar.next26, %bb123 ], [ 0, %cond_next32 ] ; <i32> [#uses=2] | 52 %indvar = phi i32 [ %indvar.next26, %bb123 ], [ 0, %cond_next32 ] ; <i32> [#uses=2] |
53 %i.01.0 = sub i32 %i.011, %indvar ; <i32> [#uses=5] | 53 %i.01.0 = sub i32 %i.011, %indvar ; <i32> [#uses=5] |
54 %tmp42 = getelementptr i8* %tmp35, i32 %i.01.0 ; <i8*> [#uses=2] | 54 %tmp42 = getelementptr i8, i8* %tmp35, i32 %i.01.0 ; <i8*> [#uses=2] |
55 %tmp43 = load i8* %tmp42 ; <i8> [#uses=1] | 55 %tmp43 = load i8, i8* %tmp42 ; <i8> [#uses=1] |
56 switch i8 %tmp43, label %bb123 [ | 56 switch i8 %tmp43, label %bb123 [ |
57 i8 101, label %cond_true47 | 57 i8 101, label %cond_true47 |
58 i8 69, label %bb105.preheader | 58 i8 69, label %bb105.preheader |
59 ] | 59 ] |
60 | 60 |
61 cond_true47: ; preds = %bb | 61 cond_true47: ; preds = %bb |
62 %tmp52 = getelementptr %struct.rtx_def* %x, i32 0, i32 3, i32 %i.01.0 ; <%struct..0anon*> [#uses=1] | 62 %tmp52 = getelementptr %struct.rtx_def, %struct.rtx_def* %x, i32 0, i32 3, i32 %i.01.0 ; <%struct..0anon*> [#uses=1] |
63 %tmp5354 = bitcast %struct..0anon* %tmp52 to %struct.rtx_def** ; <%struct.rtx_def**> [#uses=1] | 63 %tmp5354 = bitcast %struct..0anon* %tmp52 to %struct.rtx_def** ; <%struct.rtx_def**> [#uses=1] |
64 %tmp55 = load %struct.rtx_def** %tmp5354 ; <%struct.rtx_def*> [#uses=1] | 64 %tmp55 = load %struct.rtx_def*, %struct.rtx_def** %tmp5354 ; <%struct.rtx_def*> [#uses=1] |
65 %tmp58 = tail call %struct.rtx_def* @walk_fixup_memory_subreg( %struct.rtx_def* %tmp55, %struct.rtx_def* %insn ) nounwind ; <%struct.rtx_def*> [#uses=1] | 65 %tmp58 = tail call %struct.rtx_def* @walk_fixup_memory_subreg( %struct.rtx_def* %tmp55, %struct.rtx_def* %insn ) nounwind ; <%struct.rtx_def*> [#uses=1] |
66 %tmp62 = getelementptr %struct.rtx_def* %x, i32 0, i32 3, i32 %i.01.0, i32 0 ; <i32*> [#uses=1] | 66 %tmp62 = getelementptr %struct.rtx_def, %struct.rtx_def* %x, i32 0, i32 3, i32 %i.01.0, i32 0 ; <i32*> [#uses=1] |
67 %tmp58.c = ptrtoint %struct.rtx_def* %tmp58 to i32 ; <i32> [#uses=1] | 67 %tmp58.c = ptrtoint %struct.rtx_def* %tmp58 to i32 ; <i32> [#uses=1] |
68 store i32 %tmp58.c, i32* %tmp62 | 68 store i32 %tmp58.c, i32* %tmp62 |
69 %tmp6816 = load i8* %tmp42 ; <i8> [#uses=1] | 69 %tmp6816 = load i8, i8* %tmp42 ; <i8> [#uses=1] |
70 %tmp6917 = icmp eq i8 %tmp6816, 69 ; <i1> [#uses=1] | 70 %tmp6917 = icmp eq i8 %tmp6816, 69 ; <i1> [#uses=1] |
71 br i1 %tmp6917, label %bb105.preheader, label %bb123 | 71 br i1 %tmp6917, label %bb105.preheader, label %bb123 |
72 | 72 |
73 bb105.preheader: ; preds = %cond_true47, %bb | 73 bb105.preheader: ; preds = %cond_true47, %bb |
74 %tmp11020 = getelementptr %struct.rtx_def* %x, i32 0, i32 3, i32 %i.01.0 ; <%struct..0anon*> [#uses=1] | 74 %tmp11020 = getelementptr %struct.rtx_def, %struct.rtx_def* %x, i32 0, i32 3, i32 %i.01.0 ; <%struct..0anon*> [#uses=1] |
75 %tmp11111221 = bitcast %struct..0anon* %tmp11020 to %struct.rtvec_def** ; <%struct.rtvec_def**> [#uses=3] | 75 %tmp11111221 = bitcast %struct..0anon* %tmp11020 to %struct.rtvec_def** ; <%struct.rtvec_def**> [#uses=3] |
76 %tmp11322 = load %struct.rtvec_def** %tmp11111221 ; <%struct.rtvec_def*> [#uses=1] | 76 %tmp11322 = load %struct.rtvec_def*, %struct.rtvec_def** %tmp11111221 ; <%struct.rtvec_def*> [#uses=1] |
77 %tmp11423 = getelementptr %struct.rtvec_def* %tmp11322, i32 0, i32 0 ; <i32*> [#uses=1] | 77 %tmp11423 = getelementptr %struct.rtvec_def, %struct.rtvec_def* %tmp11322, i32 0, i32 0 ; <i32*> [#uses=1] |
78 %tmp11524 = load i32* %tmp11423 ; <i32> [#uses=1] | 78 %tmp11524 = load i32, i32* %tmp11423 ; <i32> [#uses=1] |
79 %tmp11625 = icmp eq i32 %tmp11524, 0 ; <i1> [#uses=1] | 79 %tmp11625 = icmp eq i32 %tmp11524, 0 ; <i1> [#uses=1] |
80 br i1 %tmp11625, label %bb123, label %bb73 | 80 br i1 %tmp11625, label %bb123, label %bb73 |
81 | 81 |
82 bb73: ; preds = %bb73, %bb105.preheader | 82 bb73: ; preds = %bb73, %bb105.preheader |
83 %j.019 = phi i32 [ %tmp104, %bb73 ], [ 0, %bb105.preheader ] ; <i32> [#uses=3] | 83 %j.019 = phi i32 [ %tmp104, %bb73 ], [ 0, %bb105.preheader ] ; <i32> [#uses=3] |
84 %tmp81 = load %struct.rtvec_def** %tmp11111221 ; <%struct.rtvec_def*> [#uses=2] | 84 %tmp81 = load %struct.rtvec_def*, %struct.rtvec_def** %tmp11111221 ; <%struct.rtvec_def*> [#uses=2] |
85 %tmp92 = getelementptr %struct.rtvec_def* %tmp81, i32 0, i32 1, i32 %j.019 ; <%struct..0anon*> [#uses=1] | 85 %tmp92 = getelementptr %struct.rtvec_def, %struct.rtvec_def* %tmp81, i32 0, i32 1, i32 %j.019 ; <%struct..0anon*> [#uses=1] |
86 %tmp9394 = bitcast %struct..0anon* %tmp92 to %struct.rtx_def** ; <%struct.rtx_def**> [#uses=1] | 86 %tmp9394 = bitcast %struct..0anon* %tmp92 to %struct.rtx_def** ; <%struct.rtx_def**> [#uses=1] |
87 %tmp95 = load %struct.rtx_def** %tmp9394 ; <%struct.rtx_def*> [#uses=1] | 87 %tmp95 = load %struct.rtx_def*, %struct.rtx_def** %tmp9394 ; <%struct.rtx_def*> [#uses=1] |
88 %tmp98 = tail call %struct.rtx_def* @walk_fixup_memory_subreg( %struct.rtx_def* %tmp95, %struct.rtx_def* %insn ) nounwind ; <%struct.rtx_def*> [#uses=1] | 88 %tmp98 = tail call %struct.rtx_def* @walk_fixup_memory_subreg( %struct.rtx_def* %tmp95, %struct.rtx_def* %insn ) nounwind ; <%struct.rtx_def*> [#uses=1] |
89 %tmp101 = getelementptr %struct.rtvec_def* %tmp81, i32 0, i32 1, i32 %j.019, i32 0 ; <i32*> [#uses=1] | 89 %tmp101 = getelementptr %struct.rtvec_def, %struct.rtvec_def* %tmp81, i32 0, i32 1, i32 %j.019, i32 0 ; <i32*> [#uses=1] |
90 %tmp98.c = ptrtoint %struct.rtx_def* %tmp98 to i32 ; <i32> [#uses=1] | 90 %tmp98.c = ptrtoint %struct.rtx_def* %tmp98 to i32 ; <i32> [#uses=1] |
91 store i32 %tmp98.c, i32* %tmp101 | 91 store i32 %tmp98.c, i32* %tmp101 |
92 %tmp104 = add i32 %j.019, 1 ; <i32> [#uses=2] | 92 %tmp104 = add i32 %j.019, 1 ; <i32> [#uses=2] |
93 %tmp113 = load %struct.rtvec_def** %tmp11111221 ; <%struct.rtvec_def*> [#uses=1] | 93 %tmp113 = load %struct.rtvec_def*, %struct.rtvec_def** %tmp11111221 ; <%struct.rtvec_def*> [#uses=1] |
94 %tmp114 = getelementptr %struct.rtvec_def* %tmp113, i32 0, i32 0 ; <i32*> [#uses=1] | 94 %tmp114 = getelementptr %struct.rtvec_def, %struct.rtvec_def* %tmp113, i32 0, i32 0 ; <i32*> [#uses=1] |
95 %tmp115 = load i32* %tmp114 ; <i32> [#uses=1] | 95 %tmp115 = load i32, i32* %tmp114 ; <i32> [#uses=1] |
96 %tmp116 = icmp ult i32 %tmp104, %tmp115 ; <i1> [#uses=1] | 96 %tmp116 = icmp ult i32 %tmp104, %tmp115 ; <i1> [#uses=1] |
97 br i1 %tmp116, label %bb73, label %bb123 | 97 br i1 %tmp116, label %bb73, label %bb123 |
98 | 98 |
99 bb123: ; preds = %bb73, %bb105.preheader, %cond_true47, %bb | 99 bb123: ; preds = %bb73, %bb105.preheader, %cond_true47, %bb |
100 %i.0 = add i32 %i.01.0, -1 ; <i32> [#uses=1] | 100 %i.0 = add i32 %i.01.0, -1 ; <i32> [#uses=1] |