OLD | NEW |
1 ; RUN: llc < %s | 1 ; RUN: llc < %s |
2 | 2 |
3 ; regression check for emscripten #3088 - we were not clearing BlockChanges in i
64 lowering | 3 ; regression check for emscripten #3088 - we were not clearing BlockChanges in i
64 lowering |
4 | 4 |
5 ; ModuleID = 'waka.bc' | 5 ; ModuleID = 'waka.bc' |
6 target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64
:64:64-p:32:32:32-v128:32:128-n32-S128" | 6 target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64
:64:64-p:32:32:32-v128:32:128-n32-S128" |
7 target triple = "asmjs-unknown-emscripten" | 7 target triple = "asmjs-unknown-emscripten" |
8 | 8 |
9 %"class.ZenLib::uint128" = type <{ i64, i64 }> | 9 %"class.ZenLib::uint128" = type <{ i64, i64 }> |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 @.str2317234 = external hidden unnamed_addr constant [14 x i8], align 1 | 38 @.str2317234 = external hidden unnamed_addr constant [14 x i8], align 1 |
39 @.str2417235 = external hidden unnamed_addr constant [4 x i8], align 1 | 39 @.str2417235 = external hidden unnamed_addr constant [4 x i8], align 1 |
40 @.str2717238 = external hidden unnamed_addr constant [5 x i8], align 1 | 40 @.str2717238 = external hidden unnamed_addr constant [5 x i8], align 1 |
41 @.str3217243 = external hidden unnamed_addr constant [4 x i8], align 1 | 41 @.str3217243 = external hidden unnamed_addr constant [4 x i8], align 1 |
42 @.str1717689 = external hidden unnamed_addr constant [5 x i8], align 1 | 42 @.str1717689 = external hidden unnamed_addr constant [5 x i8], align 1 |
43 @.str2104 = external hidden unnamed_addr constant [1 x i8], align 1 | 43 @.str2104 = external hidden unnamed_addr constant [1 x i8], align 1 |
44 | 44 |
45 ; Function Attrs: nounwind readonly | 45 ; Function Attrs: nounwind readonly |
46 define hidden i8* @_ZN12MediaInfoLib22Mxf_EssenceCompressionEN6ZenLib7uint128E(%
"class.ZenLib::uint128"* nocapture readonly %EssenceCompression) #0 { | 46 define hidden i8* @_ZN12MediaInfoLib22Mxf_EssenceCompressionEN6ZenLib7uint128E(%
"class.ZenLib::uint128"* nocapture readonly %EssenceCompression) #0 { |
47 entry: | 47 entry: |
48 %hi = getelementptr inbounds %"class.ZenLib::uint128"* %EssenceCompression, i3
2 0, i32 1 | 48 %hi = getelementptr inbounds %"class.ZenLib::uint128", %"class.ZenLib::uint128
"* %EssenceCompression, i32 0, i32 1 |
49 %0 = load i64* %hi, align 1, !tbaa !2 | 49 %0 = load i64, i64* %hi, align 1 |
50 %and = and i64 %0, -256 | 50 %and = and i64 %0, -256 |
51 %cmp = icmp eq i64 %and, 436333716306985216 | 51 %cmp = icmp eq i64 %and, 436333716306985216 |
52 br i1 %cmp, label %lor.lhs.false, label %return | 52 br i1 %cmp, label %lor.lhs.false, label %return |
53 | 53 |
54 lor.lhs.false: ; preds = %entry | 54 lor.lhs.false: ; preds = %entry |
55 %lo = getelementptr inbounds %"class.ZenLib::uint128"* %EssenceCompression, i3
2 0, i32 0 | 55 %lo = getelementptr inbounds %"class.ZenLib::uint128", %"class.ZenLib::uint128
"* %EssenceCompression, i32 0, i32 0 |
56 %1 = load i64* %lo, align 1, !tbaa !7 | 56 %1 = load i64, i64* %lo, align 1 |
57 %and1 = and i64 %1, -72057594037927936 | 57 %and1 = and i64 %1, -72057594037927936 |
58 switch i64 %and1, label %return [ | 58 switch i64 %and1, label %return [ |
59 i64 288230376151711744, label %if.end | 59 i64 288230376151711744, label %if.end |
60 i64 1008806316530991104, label %if.end | 60 i64 1008806316530991104, label %if.end |
61 ] | 61 ] |
62 | 62 |
63 if.end: ; preds = %lor.lhs.false, %lor
.lhs.false | 63 if.end: ; preds = %lor.lhs.false, %lor
.lhs.false |
64 %shr = lshr i64 %1, 56 | 64 %shr = lshr i64 %1, 56 |
65 %conv = trunc i64 %shr to i32 | 65 %conv = trunc i64 %shr to i32 |
66 %and10 = lshr i64 %1, 48 | 66 %and10 = lshr i64 %1, 48 |
(...skipping 26 matching lines...) Expand all Loading... |
93 sw.bb37: ; preds = %sw.bb35 | 93 sw.bb37: ; preds = %sw.bb35 |
94 %conv38 = and i32 %conv20, 255 | 94 %conv38 = and i32 %conv20, 255 |
95 switch i32 %conv38, label %return [ | 95 switch i32 %conv38, label %return [ |
96 i32 1, label %sw.bb39 | 96 i32 1, label %sw.bb39 |
97 i32 2, label %sw.bb42 | 97 i32 2, label %sw.bb42 |
98 ] | 98 ] |
99 | 99 |
100 sw.bb39: ; preds = %sw.bb37 | 100 sw.bb39: ; preds = %sw.bb37 |
101 %conv40 = and i64 %and22, 255 | 101 %conv40 = and i64 %and22, 255 |
102 %cond14 = icmp eq i64 %conv40, 1 | 102 %cond14 = icmp eq i64 %conv40, 1 |
103 %. = select i1 %cond14, i8* getelementptr inbounds ([4 x i8]* @.str214409, i32
0, i32 0), i8* getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0) | 103 %. = select i1 %cond14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str2
14409, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104,
i32 0, i32 0) |
104 br label %return | 104 br label %return |
105 | 105 |
106 sw.bb42: ; preds = %sw.bb37 | 106 sw.bb42: ; preds = %sw.bb37 |
107 %2 = trunc i64 %and22 to i32 | 107 %2 = trunc i64 %and22 to i32 |
108 %conv43 = and i32 %2, 255 | 108 %conv43 = and i32 %2, 255 |
109 switch i32 %conv43, label %sw.default61 [ | 109 switch i32 %conv43, label %sw.default61 [ |
110 i32 1, label %sw.bb44 | 110 i32 1, label %sw.bb44 |
111 i32 2, label %return | 111 i32 2, label %return |
112 i32 3, label %sw.bb56 | 112 i32 3, label %sw.bb56 |
113 i32 113, label %sw.bb60 | 113 i32 113, label %sw.bb60 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 146 |
147 sw.bb53: ; preds = %sw.bb44, %sw.bb44,
%sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44,
%sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44 | 147 sw.bb53: ; preds = %sw.bb44, %sw.bb44,
%sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44,
%sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44 |
148 br label %return | 148 br label %return |
149 | 149 |
150 sw.default54: ; preds = %sw.bb44 | 150 sw.default54: ; preds = %sw.bb44 |
151 br label %return | 151 br label %return |
152 | 152 |
153 sw.bb56: ; preds = %sw.bb42 | 153 sw.bb56: ; preds = %sw.bb42 |
154 %conv57 = and i64 %and26, 255 | 154 %conv57 = and i64 %and26, 255 |
155 %cond13 = icmp eq i64 %conv57, 1 | 155 %cond13 = icmp eq i64 %conv57, 1 |
156 %.35 = select i1 %cond13, i8* getelementptr inbounds ([10 x i8]* @.str368164,
i32 0, i32 0), i8* getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0) | 156 %.35 = select i1 %cond13, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.
str368164, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str2
104, i32 0, i32 0) |
157 br label %return | 157 br label %return |
158 | 158 |
159 sw.bb60: ; preds = %sw.bb42 | 159 sw.bb60: ; preds = %sw.bb42 |
160 br label %return | 160 br label %return |
161 | 161 |
162 sw.default61: ; preds = %sw.bb42 | 162 sw.default61: ; preds = %sw.bb42 |
163 br label %return | 163 br label %return |
164 | 164 |
165 sw.bb64: ; preds = %sw.bb | 165 sw.bb64: ; preds = %sw.bb |
166 %conv65 = and i64 %and14, 255 | 166 %conv65 = and i64 %and14, 255 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 sw.bb90: ; preds = %sw.bb84 | 236 sw.bb90: ; preds = %sw.bb84 |
237 br label %return | 237 br label %return |
238 | 238 |
239 sw.default91: ; preds = %sw.bb84 | 239 sw.default91: ; preds = %sw.bb84 |
240 br label %return | 240 br label %return |
241 | 241 |
242 sw.bb92: ; preds = %sw.bb77 | 242 sw.bb92: ; preds = %sw.bb77 |
243 %conv93 = and i64 %and30, 255 | 243 %conv93 = and i64 %and30, 255 |
244 %cond11 = icmp eq i64 %conv93, 1 | 244 %cond11 = icmp eq i64 %conv93, 1 |
245 %.36 = select i1 %cond11, i8* getelementptr inbounds ([14 x i8]* @.str778205,
i32 0, i32 0), i8* getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0) | 245 %.36 = select i1 %cond11, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.
str778205, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str2
104, i32 0, i32 0) |
246 br label %return | 246 br label %return |
247 | 247 |
248 sw.bb96: ; preds = %sw.bb77 | 248 sw.bb96: ; preds = %sw.bb77 |
249 %conv97 = and i32 %conv32, 255 | 249 %conv97 = and i32 %conv32, 255 |
250 switch i32 %conv97, label %sw.default106 [ | 250 switch i32 %conv97, label %sw.default106 [ |
251 i32 1, label %return | 251 i32 1, label %return |
252 i32 2, label %sw.bb99 | 252 i32 2, label %sw.bb99 |
253 i32 3, label %sw.bb100 | 253 i32 3, label %sw.bb100 |
254 i32 4, label %sw.bb101 | 254 i32 4, label %sw.bb101 |
255 i32 5, label %sw.bb102 | 255 i32 5, label %sw.bb102 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 %cond6 = icmp eq i64 %conv117, 1 | 297 %cond6 = icmp eq i64 %conv117, 1 |
298 %or.cond = and i1 %cond5, %cond6 | 298 %or.cond = and i1 %cond5, %cond6 |
299 %conv119 = and i64 %and22, 255 | 299 %conv119 = and i64 %and22, 255 |
300 %cond7 = icmp eq i64 %conv119, 2 | 300 %cond7 = icmp eq i64 %conv119, 2 |
301 %or.cond39 = and i1 %or.cond, %cond7 | 301 %or.cond39 = and i1 %or.cond, %cond7 |
302 br i1 %or.cond39, label %sw.bb120, label %return | 302 br i1 %or.cond39, label %sw.bb120, label %return |
303 | 303 |
304 sw.bb120: ; preds = %sw.bb114 | 304 sw.bb120: ; preds = %sw.bb114 |
305 %conv121 = and i64 %and26, 255 | 305 %conv121 = and i64 %and26, 255 |
306 %cond8 = icmp eq i64 %conv121, 4 | 306 %cond8 = icmp eq i64 %conv121, 4 |
307 %.37 = select i1 %cond8, i8* getelementptr inbounds ([5 x i8]* @.str514367, i3
2 0, i32 0), i8* getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0) | 307 %.37 = select i1 %cond8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str
514367, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104
, i32 0, i32 0) |
308 br label %return | 308 br label %return |
309 | 309 |
310 sw.bb127: ; preds = %sw.bb112 | 310 sw.bb127: ; preds = %sw.bb112 |
311 %conv128 = and i64 %and14, 255 | 311 %conv128 = and i64 %and14, 255 |
312 %cond = icmp eq i64 %conv128, 4 | 312 %cond = icmp eq i64 %conv128, 4 |
313 %conv130 = and i64 %and18, 255 | 313 %conv130 = and i64 %and18, 255 |
314 %cond1 = icmp eq i64 %conv130, 1 | 314 %cond1 = icmp eq i64 %conv130, 1 |
315 %or.cond40 = and i1 %cond, %cond1 | 315 %or.cond40 = and i1 %cond, %cond1 |
316 %conv132 = and i64 %and22, 255 | 316 %conv132 = and i64 %and22, 255 |
317 %cond2 = icmp eq i64 %conv132, 2 | 317 %cond2 = icmp eq i64 %conv132, 2 |
318 %or.cond41 = and i1 %or.cond40, %cond2 | 318 %or.cond41 = and i1 %or.cond40, %cond2 |
319 %conv134 = and i64 %and26, 255 | 319 %conv134 = and i64 %and26, 255 |
320 %cond3 = icmp eq i64 %conv134, 4 | 320 %cond3 = icmp eq i64 %conv134, 4 |
321 %or.cond42 = and i1 %or.cond41, %cond3 | 321 %or.cond42 = and i1 %or.cond41, %cond3 |
322 br i1 %or.cond42, label %sw.bb135, label %return | 322 br i1 %or.cond42, label %sw.bb135, label %return |
323 | 323 |
324 sw.bb135: ; preds = %sw.bb127 | 324 sw.bb135: ; preds = %sw.bb127 |
325 %conv136 = and i64 %and30, 255 | 325 %conv136 = and i64 %and30, 255 |
326 %cond4 = icmp eq i64 %conv136, 2 | 326 %cond4 = icmp eq i64 %conv136, 2 |
327 %.38 = select i1 %cond4, i8* getelementptr inbounds ([12 x i8]* @.str868214, i
32 0, i32 0), i8* getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0) | 327 %.38 = select i1 %cond4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.s
tr868214, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str21
04, i32 0, i32 0) |
328 br label %return | 328 br label %return |
329 | 329 |
330 return: ; preds = %sw.bb135, %sw.bb127
, %sw.bb120, %sw.bb114, %sw.bb112, %sw.default106, %sw.bb105, %sw.bb104, %sw.bb1
03, %sw.bb102, %sw.bb101, %sw.bb100, %sw.bb99, %sw.bb96, %sw.bb92, %sw.default91
, %sw.bb90, %sw.bb89, %sw.bb88, %sw.bb87, %sw.bb84, %sw.default83, %sw.bb82, %sw
.bb79, %sw.bb77, %sw.bb75, %sw.default74, %sw.bb68, %sw.bb68, %sw.bb68, %sw.bb68
, %sw.bb66, %sw.bb64, %sw.default61, %sw.bb60, %sw.bb56, %sw.default54, %sw.bb53
, %sw.bb52, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb42
, %sw.bb39, %sw.bb37, %sw.bb35, %sw.bb, %if.end, %lor.lhs.false, %entry | 330 return: ; preds = %sw.bb135, %sw.bb127
, %sw.bb120, %sw.bb114, %sw.bb112, %sw.default106, %sw.bb105, %sw.bb104, %sw.bb1
03, %sw.bb102, %sw.bb101, %sw.bb100, %sw.bb99, %sw.bb96, %sw.bb92, %sw.default91
, %sw.bb90, %sw.bb89, %sw.bb88, %sw.bb87, %sw.bb84, %sw.default83, %sw.bb82, %sw
.bb79, %sw.bb77, %sw.bb75, %sw.default74, %sw.bb68, %sw.bb68, %sw.bb68, %sw.bb68
, %sw.bb66, %sw.bb64, %sw.default61, %sw.bb60, %sw.bb56, %sw.default54, %sw.bb53
, %sw.bb52, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb44, %sw.bb42
, %sw.bb39, %sw.bb37, %sw.bb35, %sw.bb, %if.end, %lor.lhs.false, %entry |
331 %retval.0 = phi i8* [ getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32
0), %sw.default106 ], [ getelementptr inbounds ([44 x i8]* @.str858213, i32 0, i
32 0), %sw.bb105 ], [ getelementptr inbounds ([29 x i8]* @.str848212, i32 0, i32
0), %sw.bb104 ], [ getelementptr inbounds ([31 x i8]* @.str838211, i32 0, i32 0
), %sw.bb103 ], [ getelementptr inbounds ([34 x i8]* @.str828210, i32 0, i32 0),
%sw.bb102 ], [ getelementptr inbounds ([20 x i8]* @.str818209, i32 0, i32 0), %
sw.bb101 ], [ getelementptr inbounds ([24 x i8]* @.str808208, i32 0, i32 0), %sw
.bb100 ], [ getelementptr inbounds ([25 x i8]* @.str798207, i32 0, i32 0), %sw.b
b99 ], [ getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.default
91 ], [ getelementptr inbounds ([8 x i8]* @.str768204, i32 0, i32 0), %sw.bb90 ]
, [ getelementptr inbounds ([21 x i8]* @.str758203, i32 0, i32 0), %sw.bb89 ], [
getelementptr inbounds ([26 x i8]* @.str748202, i32 0, i32 0), %sw.bb88 ], [ ge
telementptr inbounds ([21 x i8]* @.str738201, i32 0, i32 0), %sw.bb87 ], [ getel
ementptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.default83 ], [ getele
mentptr inbounds ([9 x i8]* @.str718199, i32 0, i32 0), %sw.bb82 ], [ getelement
ptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.default74 ], [ getelementp
tr inbounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.default61 ], [ getelementpt
r inbounds ([5 x i8]* @.str514367, i32 0, i32 0), %sw.bb60 ], [ getelementptr in
bounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.default54 ], [ getelementptr inb
ounds ([4 x i8]* @.str2417235, i32 0, i32 0), %sw.bb53 ], [ getelementptr inboun
ds ([14 x i8]* @.str2317234, i32 0, i32 0), %sw.bb52 ], [ getelementptr inbounds
([1 x i8]* @.str2104, i32 0, i32 0), %lor.lhs.false ], [ getelementptr inbounds
([1 x i8]* @.str2104, i32 0, i32 0), %entry ], [ %., %sw.bb39 ], [ getelementpt
r inbounds ([11 x i8]* @.str2017231, i32 0, i32 0), %sw.bb44 ], [ getelementptr
inbounds ([11 x i8]* @.str2017231, i32 0, i32 0), %sw.bb44 ], [ getelementptr in
bounds ([11 x i8]* @.str2017231, i32 0, i32 0), %sw.bb44 ], [ getelementptr inbo
unds ([11 x i8]* @.str2017231, i32 0, i32 0), %sw.bb44 ], [ getelementptr inboun
ds ([11 x i8]* @.str2017231, i32 0, i32 0), %sw.bb44 ], [ getelementptr inbounds
([11 x i8]* @.str2017231, i32 0, i32 0), %sw.bb44 ], [ getelementptr inbounds (
[3 x i8]* @.str20216493, i32 0, i32 0), %sw.bb42 ], [ %.35, %sw.bb56 ], [ getele
mentptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.bb37 ], [ getelementpt
r inbounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.bb35 ], [ getelementptr inbo
unds ([4 x i8]* @.str3217243, i32 0, i32 0), %sw.bb68 ], [ getelementptr inbound
s ([4 x i8]* @.str3217243, i32 0, i32 0), %sw.bb68 ], [ getelementptr inbounds (
[4 x i8]* @.str3217243, i32 0, i32 0), %sw.bb68 ], [ getelementptr inbounds ([4
x i8]* @.str3217243, i32 0, i32 0), %sw.bb68 ], [ getelementptr inbounds ([6 x i
8]* @.str398167, i32 0, i32 0), %sw.bb79 ], [ getelementptr inbounds ([5 x i8]*
@.str2717238, i32 0, i32 0), %sw.bb84 ], [ %.36, %sw.bb92 ], [ getelementptr inb
ounds ([22 x i8]* @.str788206, i32 0, i32 0), %sw.bb96 ], [ getelementptr inboun
ds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.bb77 ], [ getelementptr inbounds ([1
x i8]* @.str2104, i32 0, i32 0), %sw.bb75 ], [ getelementptr inbounds ([1 x i8]
* @.str2104, i32 0, i32 0), %sw.bb66 ], [ getelementptr inbounds ([1 x i8]* @.st
r2104, i32 0, i32 0), %sw.bb64 ], [ getelementptr inbounds ([1 x i8]* @.str2104,
i32 0, i32 0), %sw.bb ], [ %.37, %sw.bb120 ], [ getelementptr inbounds ([1 x i8
]* @.str2104, i32 0, i32 0), %sw.bb114 ], [ %.38, %sw.bb135 ], [ getelementptr i
nbounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.bb127 ], [ getelementptr inboun
ds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.bb112 ], [ getelementptr inbounds ([
1 x i8]* @.str2104, i32 0, i32 0), %if.end ] | 331 %retval.0 = phi i8* [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i
32 0, i32 0), %sw.default106 ], [ getelementptr inbounds ([44 x i8], [44 x i8]*
@.str858213, i32 0, i32 0), %sw.bb105 ], [ getelementptr inbounds ([29 x i8], [2
9 x i8]* @.str848212, i32 0, i32 0), %sw.bb104 ], [ getelementptr inbounds ([31
x i8], [31 x i8]* @.str838211, i32 0, i32 0), %sw.bb103 ], [ getelementptr inbou
nds ([34 x i8], [34 x i8]* @.str828210, i32 0, i32 0), %sw.bb102 ], [ getelement
ptr inbounds ([20 x i8], [20 x i8]* @.str818209, i32 0, i32 0), %sw.bb101 ], [ g
etelementptr inbounds ([24 x i8], [24 x i8]* @.str808208, i32 0, i32 0), %sw.bb1
00 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str798207, i32 0, i32 0)
, %sw.bb99 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i3
2 0), %sw.default91 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str768204
, i32 0, i32 0), %sw.bb90 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.s
tr758203, i32 0, i32 0), %sw.bb89 ], [ getelementptr inbounds ([26 x i8], [26 x
i8]* @.str748202, i32 0, i32 0), %sw.bb88 ], [ getelementptr inbounds ([21 x i8]
, [21 x i8]* @.str738201, i32 0, i32 0), %sw.bb87 ], [ getelementptr inbounds ([
1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.default83 ], [ getelementptr in
bounds ([9 x i8], [9 x i8]* @.str718199, i32 0, i32 0), %sw.bb82 ], [ getelement
ptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.default74 ], [ g
etelementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.default
61 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str514367, i32 0, i32 0),
%sw.bb60 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32
0), %sw.default54 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str2417235,
i32 0, i32 0), %sw.bb53 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.st
r2317234, i32 0, i32 0), %sw.bb52 ], [ getelementptr inbounds ([1 x i8], [1 x i8
]* @.str2104, i32 0, i32 0), %lor.lhs.false ], [ getelementptr inbounds ([1 x i8
], [1 x i8]* @.str2104, i32 0, i32 0), %entry ], [ %., %sw.bb39 ], [ getelementp
tr inbounds ([11 x i8], [11 x i8]* @.str2017231, i32 0, i32 0), %sw.bb44 ], [ ge
telementptr inbounds ([11 x i8], [11 x i8]* @.str2017231, i32 0, i32 0), %sw.bb4
4 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str2017231, i32 0, i32 0)
, %sw.bb44 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str2017231, i32
0, i32 0), %sw.bb44 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str2017
231, i32 0, i32 0), %sw.bb44 ], [ getelementptr inbounds ([11 x i8], [11 x i8]*
@.str2017231, i32 0, i32 0), %sw.bb44 ], [ getelementptr inbounds ([3 x i8], [3
x i8]* @.str20216493, i32 0, i32 0), %sw.bb42 ], [ %.35, %sw.bb56 ], [ getelemen
tptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb37 ], [ getel
ementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb35 ], [ g
etelementptr inbounds ([4 x i8], [4 x i8]* @.str3217243, i32 0, i32 0), %sw.bb68
], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str3217243, i32 0, i32 0), %
sw.bb68 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str3217243, i32 0, i3
2 0), %sw.bb68 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str3217243, i3
2 0, i32 0), %sw.bb68 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str3981
67, i32 0, i32 0), %sw.bb79 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.s
tr2717238, i32 0, i32 0), %sw.bb84 ], [ %.36, %sw.bb92 ], [ getelementptr inboun
ds ([22 x i8], [22 x i8]* @.str788206, i32 0, i32 0), %sw.bb96 ], [ getelementpt
r inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb77 ], [ geteleme
ntptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb75 ], [ gete
lementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb66 ], [
getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb64 ]
, [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb
], [ %.37, %sw.bb120 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104
, i32 0, i32 0), %sw.bb114 ], [ %.38, %sw.bb135 ], [ getelementptr inbounds ([1
x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb127 ], [ getelementptr inbounds
([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %sw.bb112 ], [ getelementptr inb
ounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %if.end ] |
332 ret i8* %retval.0 | 332 ret i8* %retval.0 |
333 } | 333 } |
334 | 334 |
335 ; Function Attrs: nounwind readonly | 335 ; Function Attrs: nounwind readonly |
336 define hidden i8* @_ZN12MediaInfoLib27Mxf_Sequence_DataDefinitionEN6ZenLib7uint1
28E(%"class.ZenLib::uint128"* nocapture readonly %DataDefinition) #0 { | 336 define hidden i8* @_ZN12MediaInfoLib27Mxf_Sequence_DataDefinitionEN6ZenLib7uint1
28E(%"class.ZenLib::uint128"* nocapture readonly %DataDefinition) #0 { |
337 entry: | 337 entry: |
338 %lo = getelementptr inbounds %"class.ZenLib::uint128"* %DataDefinition, i32 0,
i32 0 | 338 %lo = getelementptr inbounds %"class.ZenLib::uint128", %"class.ZenLib::uint128
"* %DataDefinition, i32 0, i32 0 |
339 %0 = load i64* %lo, align 1, !tbaa !7 | 339 %0 = load i64, i64* %lo, align 1 |
340 %and = lshr i64 %0, 32 | 340 %and = lshr i64 %0, 32 |
341 %conv = trunc i64 %and to i32 | 341 %conv = trunc i64 %and to i32 |
342 %and2 = lshr i64 %0, 24 | 342 %and2 = lshr i64 %0, 24 |
343 %conv5 = and i32 %conv, 255 | 343 %conv5 = and i32 %conv, 255 |
344 switch i32 %conv5, label %return [ | 344 switch i32 %conv5, label %return [ |
345 i32 1, label %sw.bb | 345 i32 1, label %sw.bb |
346 i32 2, label %sw.bb9 | 346 i32 2, label %sw.bb9 |
347 ] | 347 ] |
348 | 348 |
349 sw.bb: ; preds = %entry | 349 sw.bb: ; preds = %entry |
(...skipping 24 matching lines...) Expand all Loading... |
374 sw.bb12: ; preds = %sw.bb9 | 374 sw.bb12: ; preds = %sw.bb9 |
375 br label %return | 375 br label %return |
376 | 376 |
377 sw.bb13: ; preds = %sw.bb9 | 377 sw.bb13: ; preds = %sw.bb9 |
378 br label %return | 378 br label %return |
379 | 379 |
380 sw.default14: ; preds = %sw.bb9 | 380 sw.default14: ; preds = %sw.bb9 |
381 br label %return | 381 br label %return |
382 | 382 |
383 return: ; preds = %sw.default14, %sw.b
b13, %sw.bb12, %sw.bb9, %sw.default, %sw.bb8, %sw.bb, %sw.bb, %sw.bb, %entry | 383 return: ; preds = %sw.default14, %sw.b
b13, %sw.bb12, %sw.bb9, %sw.default, %sw.bb8, %sw.bb, %sw.bb, %sw.bb, %entry |
384 %retval.0 = phi i8* [ getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32
0), %sw.default14 ], [ getelementptr inbounds ([5 x i8]* @.str1717689, i32 0, i3
2 0), %sw.bb13 ], [ getelementptr inbounds ([6 x i8]* @.str928220, i32 0, i32 0)
, %sw.bb12 ], [ getelementptr inbounds ([1 x i8]* @.str2104, i32 0, i32 0), %sw.
default ], [ getelementptr inbounds ([21 x i8]* @.str908218, i32 0, i32 0), %sw.
bb8 ], [ getelementptr inbounds ([5 x i8]* @.str9210864, i32 0, i32 0), %sw.bb ]
, [ getelementptr inbounds ([5 x i8]* @.str9210864, i32 0, i32 0), %sw.bb ], [ g
etelementptr inbounds ([5 x i8]* @.str9210864, i32 0, i32 0), %sw.bb ], [ getele
mentptr inbounds ([8 x i8]* @.str918219, i32 0, i32 0), %sw.bb9 ], [ getelementp
tr inbounds ([1 x i8]* @.str2104, i32 0, i32 0), %entry ] | 384 %retval.0 = phi i8* [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i
32 0, i32 0), %sw.default14 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.s
tr1717689, i32 0, i32 0), %sw.bb13 ], [ getelementptr inbounds ([6 x i8], [6 x i
8]* @.str928220, i32 0, i32 0), %sw.bb12 ], [ getelementptr inbounds ([1 x i8],
[1 x i8]* @.str2104, i32 0, i32 0), %sw.default ], [ getelementptr inbounds ([21
x i8], [21 x i8]* @.str908218, i32 0, i32 0), %sw.bb8 ], [ getelementptr inboun
ds ([5 x i8], [5 x i8]* @.str9210864, i32 0, i32 0), %sw.bb ], [ getelementptr i
nbounds ([5 x i8], [5 x i8]* @.str9210864, i32 0, i32 0), %sw.bb ], [ getelement
ptr inbounds ([5 x i8], [5 x i8]* @.str9210864, i32 0, i32 0), %sw.bb ], [ getel
ementptr inbounds ([8 x i8], [8 x i8]* @.str918219, i32 0, i32 0), %sw.bb9 ], [
getelementptr inbounds ([1 x i8], [1 x i8]* @.str2104, i32 0, i32 0), %entry ] |
385 ret i8* %retval.0 | 385 ret i8* %retval.0 |
386 } | 386 } |
387 | 387 |
| 388 |
388 define i32 @main() { | 389 define i32 @main() { |
389 entry: | 390 entry: |
390 %retval = alloca i32, align 4 | 391 %retval = alloca i32, align 4 |
391 store i32 0, i32* %retval | 392 store i32 0, i32* %retval |
392 %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([15 x i8]* @.
str, i32 0, i32 0)) | 393 %call = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15
x i8]* @.str, i32 0, i32 0)) |
393 ret i32 0 | 394 ret i32 0 |
394 } | 395 } |
395 | 396 |
396 declare i32 @printf(i8*, ...) | 397 declare i32 @printf(i8*, ...) |
397 | 398 |
398 attributes #0 = { nounwind readonly } | 399 attributes #0 = { nounwind readonly } |
399 | |
400 !llvm.ident = !{!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0,
!0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0, !0} | |
401 !llvm.module.flags = !{!1} | |
402 | |
403 !0 = metadata !{metadata !"clang version 3.4 (git@github.com:kripken/emscripten-
fastcomp-clang.git 406c991ba0416c838ee097361c27a12411a088b9) (https://chromium.g
ooglesource.com/native_client/pnacl-llvm a5e8942da586a7ef0ed02361b77a3010f16428c
f)"} | |
404 !1 = metadata !{i32 2, metadata !"Dwarf Version", i32 4} | |
405 !2 = metadata !{metadata !3, metadata !4, i64 8} | |
406 !3 = metadata !{metadata !"_ZTSN6ZenLib7uint128E", metadata !4, i64 0, metadata
!4, i64 8} | |
407 !4 = metadata !{metadata !"long long", metadata !5, i64 0} | |
408 !5 = metadata !{metadata !"omnipotent char", metadata !6, i64 0} | |
409 !6 = metadata !{metadata !"Simple C/C++ TBAA"} | |
410 !7 = metadata !{metadata !3, metadata !4, i64 0} | |
411 | |
OLD | NEW |