remove condprop testcases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-11-11 05:25:16 +00:00
parent a8333d3d10
commit f1e9cf5020
10 changed files with 0 additions and 2588 deletions

View File

@ -1,462 +0,0 @@
; RUN: opt < %s -condprop -disable-output
; PR877
target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin9.0.0d1"
%"struct.kc::impl_Ccode_option" = type { %"struct.kc::impl_abstract_phylum" }
%"struct.kc::impl_ID" = type { %"struct.kc::impl_abstract_phylum", %"struct.kc::impl_Ccode_option"*, %"struct.kc::impl_casestring__Str"*, i32, %"struct.kc::impl_casestring__Str"* }
%"struct.kc::impl_abstract_phylum" = type { i32 (...)** }
%"struct.kc::impl_casestring__Str" = type { %"struct.kc::impl_abstract_phylum", i8* }
%"struct.kc::impl_elem_patternrepresentation" = type { %"struct.kc::impl_abstract_phylum", i32, %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_ID"* }
%"struct.kc::impl_outmostpatterns" = type { %"struct.kc::impl_Ccode_option", %"struct.kc::impl_elem_patternrepresentation"*, %"struct.kc::impl_outmostpatterns"* }
%"struct.kc::impl_patternrepresentations" = type { %"struct.kc::impl_Ccode_option", %"struct.kc::impl_outmostpatterns"*, %"struct.kc::impl_patternrepresentations"* }
define void @_ZN2kc16compare_patternsEPNS_26impl_patternrepresentationES1_PNS_27impl_patternrepresentationsE() {
entry:
br label %bb1269.outer.outer.outer.outer
cond_true: ; preds = %cond_true1298
br label %bb1269.outer69
cond_false: ; preds = %cond_true1298
br i1 false, label %cond_next, label %bb51
cond_next: ; preds = %cond_false
br i1 false, label %bb52, label %bb51
bb51: ; preds = %cond_next, %cond_false
br label %bb52
bb52: ; preds = %bb51, %cond_next
br i1 false, label %cond_false82, label %cond_true55
cond_true55: ; preds = %bb52
br i1 false, label %UnifiedReturnBlock, label %cond_true57
cond_true57: ; preds = %cond_true55
br label %UnifiedReturnBlock
cond_false82: ; preds = %bb52
br i1 false, label %cond_next97, label %bb113
cond_next97: ; preds = %cond_false82
br i1 false, label %bb114, label %bb113
bb113: ; preds = %cond_next97, %cond_false82
br label %bb114
bb114: ; preds = %bb113, %cond_next97
br i1 false, label %cond_false151, label %cond_true117
cond_true117: ; preds = %bb114
br i1 false, label %UnifiedReturnBlock, label %cond_true120
cond_true120: ; preds = %cond_true117
br label %UnifiedReturnBlock
cond_false151: ; preds = %bb114
br i1 false, label %cond_next166, label %bb182
cond_next166: ; preds = %cond_false151
br i1 false, label %bb183, label %bb182
bb182: ; preds = %cond_next166, %cond_false151
br label %bb183
bb183: ; preds = %bb182, %cond_next166
br i1 false, label %cond_false256, label %cond_true186
cond_true186: ; preds = %bb183
br i1 false, label %cond_true207, label %cond_false214
cond_true207: ; preds = %cond_true186
br label %bb1269.outer38.backedge
bb1269.outer38.backedge: ; preds = %cond_true545, %cond_true432, %cond_true320, %cond_true207
br label %bb1269.outer38
cond_false214: ; preds = %cond_true186
br i1 false, label %cond_true228, label %cond_false235
cond_true228: ; preds = %cond_false214
br label %bb1269.outer21.backedge
bb1269.outer21.backedge: ; preds = %cond_true566, %cond_true453, %cond_true341, %cond_true228
br label %bb1269.outer21
cond_false235: ; preds = %cond_false214
br i1 false, label %UnifiedReturnBlock, label %cond_false250
cond_false250: ; preds = %cond_false235
br label %UnifiedUnreachableBlock
cond_false256: ; preds = %bb183
br i1 false, label %cond_next271, label %bb287
cond_next271: ; preds = %cond_false256
br i1 false, label %bb288, label %bb287
bb287: ; preds = %cond_next271, %cond_false256
br label %bb288
bb288: ; preds = %bb287, %cond_next271
br i1 false, label %cond_false369, label %cond_true291
cond_true291: ; preds = %bb288
br i1 false, label %cond_true320, label %cond_false327
cond_true320: ; preds = %cond_true291
br label %bb1269.outer38.backedge
cond_false327: ; preds = %cond_true291
br i1 false, label %cond_true341, label %cond_false348
cond_true341: ; preds = %cond_false327
br label %bb1269.outer21.backedge
cond_false348: ; preds = %cond_false327
br i1 false, label %UnifiedReturnBlock, label %cond_false363
cond_false363: ; preds = %cond_false348
br label %UnifiedUnreachableBlock
cond_false369: ; preds = %bb288
br i1 false, label %cond_next384, label %bb400
cond_next384: ; preds = %cond_false369
br i1 false, label %bb401, label %bb400
bb400: ; preds = %cond_next384, %cond_false369
br label %bb401
bb401: ; preds = %bb400, %cond_next384
br i1 false, label %cond_false481, label %cond_true404
cond_true404: ; preds = %bb401
br i1 false, label %cond_true432, label %cond_false439
cond_true432: ; preds = %cond_true404
br label %bb1269.outer38.backedge
cond_false439: ; preds = %cond_true404
br i1 false, label %cond_true453, label %cond_false460
cond_true453: ; preds = %cond_false439
br label %bb1269.outer21.backedge
cond_false460: ; preds = %cond_false439
br i1 false, label %UnifiedReturnBlock, label %cond_false475
cond_false475: ; preds = %cond_false460
br label %UnifiedUnreachableBlock
cond_false481: ; preds = %bb401
br i1 false, label %cond_next496, label %bb512
cond_next496: ; preds = %cond_false481
br i1 false, label %bb513, label %bb512
bb512: ; preds = %cond_next496, %cond_false481
br label %bb513
bb513: ; preds = %bb512, %cond_next496
br i1 false, label %cond_false594, label %cond_true516
cond_true516: ; preds = %bb513
br i1 false, label %cond_true545, label %cond_false552
cond_true545: ; preds = %cond_true516
br label %bb1269.outer38.backedge
cond_false552: ; preds = %cond_true516
br i1 false, label %cond_true566, label %cond_false573
cond_true566: ; preds = %cond_false552
br label %bb1269.outer21.backedge
cond_false573: ; preds = %cond_false552
br i1 false, label %UnifiedReturnBlock, label %cond_false588
cond_false588: ; preds = %cond_false573
br label %UnifiedUnreachableBlock
cond_false594: ; preds = %bb513
br i1 false, label %cond_next609, label %bb625
cond_next609: ; preds = %cond_false594
br i1 false, label %bb626, label %bb625
bb625: ; preds = %cond_next609, %cond_false594
br label %bb626
bb626: ; preds = %bb625, %cond_next609
br i1 false, label %cond_false707, label %cond_true629
cond_true629: ; preds = %bb626
br i1 false, label %cond_true658, label %cond_false665
cond_true658: ; preds = %cond_true629
br label %bb1269.outer2.backedge
bb1269.outer2.backedge: ; preds = %cond_true679, %cond_true658
br label %bb1269.outer2
cond_false665: ; preds = %cond_true629
br i1 false, label %cond_true679, label %cond_false686
cond_true679: ; preds = %cond_false665
br label %bb1269.outer2.backedge
cond_false686: ; preds = %cond_false665
br i1 false, label %UnifiedReturnBlock, label %cond_false701
cond_false701: ; preds = %cond_false686
br label %UnifiedUnreachableBlock
cond_false707: ; preds = %bb626
br i1 false, label %cond_next722, label %bb738
cond_next722: ; preds = %cond_false707
br i1 false, label %bb739, label %bb738
bb738: ; preds = %cond_next722, %cond_false707
br label %bb739
bb739: ; preds = %bb738, %cond_next722
br i1 false, label %cond_false820, label %cond_true742
cond_true742: ; preds = %bb739
br i1 false, label %cond_true771, label %cond_false778
cond_true771: ; preds = %cond_true742
br label %bb1269.outer.backedge
bb1269.outer.backedge: ; preds = %cond_true792, %cond_true771
br label %bb1269.outer
cond_false778: ; preds = %cond_true742
br i1 false, label %cond_true792, label %cond_false799
cond_true792: ; preds = %cond_false778
br label %bb1269.outer.backedge
cond_false799: ; preds = %cond_false778
br i1 false, label %UnifiedReturnBlock, label %cond_false814
cond_false814: ; preds = %cond_false799
br label %UnifiedUnreachableBlock
cond_false820: ; preds = %bb739
br i1 false, label %cond_next835, label %bb851
cond_next835: ; preds = %cond_false820
br i1 false, label %bb852, label %bb851
bb851: ; preds = %cond_next835, %cond_false820
br label %bb852
bb852: ; preds = %bb851, %cond_next835
br i1 false, label %cond_false933, label %cond_true855
cond_true855: ; preds = %bb852
br i1 false, label %cond_true884, label %cond_false891
cond_true884: ; preds = %cond_true855
br label %bb1269.outer.outer.backedge
bb1269.outer.outer.backedge: ; preds = %cond_true905, %cond_true884
br label %bb1269.outer.outer
cond_false891: ; preds = %cond_true855
br i1 false, label %cond_true905, label %cond_false912
cond_true905: ; preds = %cond_false891
br label %bb1269.outer.outer.backedge
cond_false912: ; preds = %cond_false891
br i1 false, label %UnifiedReturnBlock, label %cond_false927
cond_false927: ; preds = %cond_false912
br label %UnifiedUnreachableBlock
cond_false933: ; preds = %bb852
br i1 false, label %cond_next948, label %bb964
cond_next948: ; preds = %cond_false933
br i1 false, label %bb965, label %bb964
bb964: ; preds = %cond_next948, %cond_false933
br label %bb965
bb965: ; preds = %bb964, %cond_next948
br i1 false, label %cond_false1046, label %cond_true968
cond_true968: ; preds = %bb965
br i1 false, label %cond_true997, label %cond_false1004
cond_true997: ; preds = %cond_true968
br label %bb1269.outer.outer.outer.backedge
bb1269.outer.outer.outer.backedge: ; preds = %cond_true1018, %cond_true997
br label %bb1269.outer.outer.outer
cond_false1004: ; preds = %cond_true968
br i1 false, label %cond_true1018, label %cond_false1025
cond_true1018: ; preds = %cond_false1004
br label %bb1269.outer.outer.outer.backedge
cond_false1025: ; preds = %cond_false1004
br i1 false, label %UnifiedReturnBlock, label %cond_false1040
cond_false1040: ; preds = %cond_false1025
br label %UnifiedUnreachableBlock
cond_false1046: ; preds = %bb965
br i1 false, label %cond_next1061, label %bb1077
cond_next1061: ; preds = %cond_false1046
br i1 false, label %bb1078, label %bb1077
bb1077: ; preds = %cond_next1061, %cond_false1046
br label %bb1078
bb1078: ; preds = %bb1077, %cond_next1061
%tmp1080 = phi i1 [ true, %bb1077 ], [ false, %cond_next1061 ] ; <i1> [#uses=1]
br i1 %tmp1080, label %cond_false1159, label %cond_true1081
cond_true1081: ; preds = %bb1078
br i1 false, label %cond_true1110, label %cond_false1117
cond_true1110: ; preds = %cond_true1081
br label %bb1269.outer.outer.outer.outer.backedge
bb1269.outer.outer.outer.outer.backedge: ; preds = %cond_true1131, %cond_true1110
br label %bb1269.outer.outer.outer.outer
cond_false1117: ; preds = %cond_true1081
br i1 false, label %cond_true1131, label %cond_false1138
cond_true1131: ; preds = %cond_false1117
br label %bb1269.outer.outer.outer.outer.backedge
cond_false1138: ; preds = %cond_false1117
br i1 false, label %UnifiedReturnBlock, label %cond_false1153
cond_false1153: ; preds = %cond_false1138
br label %UnifiedUnreachableBlock
cond_false1159: ; preds = %bb1078
%tmp.i119.lcssa35.lcssa.lcssa.lcssa.lcssa.lcssa = phi %"struct.kc::impl_elem_patternrepresentation"* [ null, %bb1078 ] ; <%"struct.kc::impl_elem_patternrepresentation"*> [#uses=0]
br i1 false, label %UnifiedReturnBlock, label %cond_false1174
cond_false1174: ; preds = %cond_false1159
br i1 false, label %UnifiedReturnBlock, label %cond_false1189
cond_false1189: ; preds = %cond_false1174
br i1 false, label %UnifiedReturnBlock, label %cond_false1204
cond_false1204: ; preds = %cond_false1189
br i1 false, label %UnifiedReturnBlock, label %cond_false1219
cond_false1219: ; preds = %cond_false1204
br i1 false, label %UnifiedReturnBlock, label %cond_true1222
cond_true1222: ; preds = %cond_false1219
br label %UnifiedReturnBlock
bb1269.outer.outer.outer.outer: ; preds = %bb1269.outer.outer.outer.outer.backedge, %entry
br label %bb1269.outer.outer.outer
bb1269.outer.outer.outer: ; preds = %bb1269.outer.outer.outer.outer, %bb1269.outer.outer.outer.backedge
br label %bb1269.outer.outer
bb1269.outer.outer: ; preds = %bb1269.outer.outer.outer, %bb1269.outer.outer.backedge
br label %bb1269.outer
bb1269.outer: ; preds = %bb1269.outer.outer, %bb1269.outer.backedge
br label %bb1269.outer2
bb1269.outer2: ; preds = %bb1269.outer, %bb1269.outer2.backedge
br label %bb1269.outer21
bb1269.outer21: ; preds = %bb1269.outer2, %bb1269.outer21.backedge
br label %bb1269.outer38
bb1269.outer38: ; preds = %bb1269.outer21, %bb1269.outer38.backedge
br label %bb1269.outer54
bb1269.outer54: ; preds = %bb1269.outer38
br label %bb1269.outer69
bb1269.outer69: ; preds = %bb1269.outer54, %cond_true
br label %bb1269
bb1269: ; preds = %bb1269.outer69
br i1 false, label %cond_next1281, label %bb1294
cond_next1281: ; preds = %bb1269
br i1 false, label %cond_true1298, label %bb1294
bb1294: ; preds = %cond_next1281, %bb1269
br i1 false, label %cond_true1331, label %cond_next1313
cond_true1298: ; preds = %cond_next1281
br i1 false, label %cond_false, label %cond_true
cond_next1313: ; preds = %bb1294
br i1 false, label %cond_true1331, label %cond_next1355
cond_true1331: ; preds = %cond_next1313, %bb1294
br i1 false, label %cond_false1346, label %cond_true1342
cond_true1342: ; preds = %cond_true1331
br label %cond_next1350
cond_false1346: ; preds = %cond_true1331
br label %cond_next1350
cond_next1350: ; preds = %cond_false1346, %cond_true1342
br label %bb.i
bb.i: ; preds = %bb.i, %cond_next1350
br i1 false, label %_ZN2kc18impl_abstract_list8freelistEv.exit, label %bb.i
_ZN2kc18impl_abstract_list8freelistEv.exit: ; preds = %bb.i
br label %cond_next1355
cond_next1355: ; preds = %_ZN2kc18impl_abstract_list8freelistEv.exit, %cond_next1313
br i1 false, label %cond_next1363, label %bb1388
cond_next1363: ; preds = %cond_next1355
br i1 false, label %UnifiedReturnBlock, label %cond_true1366
cond_true1366: ; preds = %cond_next1363
br label %UnifiedReturnBlock
bb1388: ; preds = %cond_next1355
br i1 false, label %UnifiedReturnBlock, label %bb1414.preheader
bb1414.preheader: ; preds = %bb1388
br label %bb1414
bb1414: ; preds = %cond_true1426, %bb1414.preheader
br i1 false, label %cond_true1426, label %bb1429
cond_true1426: ; preds = %bb1414
br label %bb1414
bb1429: ; preds = %bb1414
br i1 false, label %cond_true1431, label %UnifiedReturnBlock
cond_true1431: ; preds = %bb1429
br i1 false, label %UnifiedReturnBlock, label %cond_true1434
cond_true1434: ; preds = %cond_true1431
br label %UnifiedReturnBlock
UnifiedUnreachableBlock: ; preds = %cond_false1153, %cond_false1040, %cond_false927, %cond_false814, %cond_false701, %cond_false588, %cond_false475, %cond_false363, %cond_false250
unreachable
UnifiedReturnBlock: ; preds = %cond_true1434, %cond_true1431, %bb1429, %bb1388, %cond_true1366, %cond_next1363, %cond_true1222, %cond_false1219, %cond_false1204, %cond_false1189, %cond_false1174, %cond_false1159, %cond_false1138, %cond_false1025, %cond_false912, %cond_false799, %cond_false686, %cond_false573, %cond_false460, %cond_false348, %cond_false235, %cond_true120, %cond_true117, %cond_true57, %cond_true55
ret void
}

File diff suppressed because it is too large Load Diff

View File

@ -1,814 +0,0 @@
; RUN: opt < %s -inline -tailduplicate -condprop -simplifycfg -disable-output
; PR1575
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"
target triple = "i686-pc-linux-gnu"
%struct.DCTtab = type { i8, i8, i8 }
%struct.FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct.FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
%struct.VLCtab = type { i8, i8 }
%struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct.FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
%struct._IO_marker = type { %struct._IO_marker*, %struct.FILE*, i32 }
%struct.layer_data = type { i32, [2048 x i8], i8*, [16 x i8], i32, i8*, i32, i32, [64 x i32], [64 x i32], [64 x i32], [64 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [12 x [64 x i16]] }
@ld = external global %struct.layer_data* ; <%struct.layer_data**> [#uses=1]
@System_Stream_Flag = external global i32 ; <i32*> [#uses=0]
@Fault_Flag = external global i32 ; <i32*> [#uses=2]
@picture_coding_type = external global i32 ; <i32*> [#uses=1]
@DCTtabnext = external global [12 x %struct.DCTtab] ; <[12 x %struct.DCTtab]*> [#uses=0]
@DCTtab0 = external global [60 x %struct.DCTtab] ; <[60 x %struct.DCTtab]*> [#uses=0]
@DCTtab1 = external global [8 x %struct.DCTtab] ; <[8 x %struct.DCTtab]*> [#uses=0]
@DCTtab2 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
@DCTtab3 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
@DCTtab4 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
@DCTtab5 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
@DCTtab6 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
@Quiet_Flag = external global i32 ; <i32*> [#uses=0]
@.str = external constant [51 x i8] ; <[51 x i8]*> [#uses=0]
@stderr = external global %struct.FILE* ; <%struct.FILE**> [#uses=0]
@.str1 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
@scan = external global [2 x [64 x i8]] ; <[2 x [64 x i8]]*> [#uses=0]
@DCTtabfirst = external global [12 x %struct.DCTtab] ; <[12 x %struct.DCTtab]*> [#uses=0]
@.str2 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
@.str3 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
@base = external global %struct.layer_data ; <%struct.layer_data*> [#uses=1]
@enhan = external global %struct.layer_data ; <%struct.layer_data*> [#uses=0]
@chroma_format = external global i32 ; <i32*> [#uses=2]
@intra_dc_precision = external global i32 ; <i32*> [#uses=0]
@intra_vlc_format = external global i32 ; <i32*> [#uses=0]
@DCTtab0a = external global [252 x %struct.DCTtab] ; <[252 x %struct.DCTtab]*> [#uses=0]
@DCTtab1a = external global [8 x %struct.DCTtab] ; <[8 x %struct.DCTtab]*> [#uses=0]
@.str4 = external constant [51 x i8] ; <[51 x i8]*> [#uses=0]
@.str5 = external constant [45 x i8] ; <[45 x i8]*> [#uses=0]
@.str6 = external constant [44 x i8] ; <[44 x i8]*> [#uses=0]
@.str7 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
@.str8 = external constant [44 x i8] ; <[44 x i8]*> [#uses=0]
@Temporal_Reference_Base = external global i32 ; <i32*> [#uses=0]
@True_Framenum_max = external global i32 ; <i32*> [#uses=0]
@Temporal_Reference_GOP_Reset.b = external global i1 ; <i1*> [#uses=0]
@frame_rate_Table = external constant [16 x double] ; <[16 x double]*> [#uses=0]
@.str9 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
@horizontal_size = external global i32 ; <i32*> [#uses=0]
@vertical_size = external global i32 ; <i32*> [#uses=0]
@aspect_ratio_information = external global i32 ; <i32*> [#uses=0]
@frame_rate_code = external global i32 ; <i32*> [#uses=0]
@bit_rate_value = external global i32 ; <i32*> [#uses=0]
@.str110 = external constant [18 x i8] ; <[18 x i8]*> [#uses=0]
@vbv_buffer_size = external global i32 ; <i32*> [#uses=0]
@constrained_parameters_flag = external global i32 ; <i32*> [#uses=0]
@default_intra_quantizer_matrix = external global [64 x i8] ; <[64 x i8]*> [#uses=0]
@drop_flag = external global i32 ; <i32*> [#uses=0]
@hour = external global i32 ; <i32*> [#uses=0]
@minute = external global i32 ; <i32*> [#uses=0]
@.str211 = external constant [27 x i8] ; <[27 x i8]*> [#uses=0]
@sec = external global i32 ; <i32*> [#uses=0]
@frame = external global i32 ; <i32*> [#uses=0]
@closed_gop = external global i32 ; <i32*> [#uses=0]
@broken_link = external global i32 ; <i32*> [#uses=0]
@temporal_reference = external global i32 ; <i32*> [#uses=0]
@vbv_delay = external global i32 ; <i32*> [#uses=0]
@full_pel_forward_vector = external global i32 ; <i32*> [#uses=0]
@forward_f_code = external global i32 ; <i32*> [#uses=0]
@full_pel_backward_vector = external global i32 ; <i32*> [#uses=0]
@backward_f_code = external global i32 ; <i32*> [#uses=1]
@Non_Linear_quantizer_scale = external global [32 x i8] ; <[32 x i8]*> [#uses=0]
@.str312 = external constant [37 x i8] ; <[37 x i8]*> [#uses=0]
@layer_id = external global i32 ; <i32*> [#uses=0]
@profile_and_level_indication = external global i32 ; <i32*> [#uses=0]
@progressive_sequence = external global i32 ; <i32*> [#uses=0]
@.str413 = external constant [19 x i8] ; <[19 x i8]*> [#uses=0]
@low_delay = external global i32 ; <i32*> [#uses=0]
@frame_rate_extension_n = external global i32 ; <i32*> [#uses=0]
@frame_rate_extension_d = external global i32 ; <i32*> [#uses=0]
@frame_rate = external global double ; <double*> [#uses=0]
@profile = external global i32 ; <i32*> [#uses=0]
@level = external global i32 ; <i32*> [#uses=0]
@bit_rate = external global double ; <double*> [#uses=0]
@video_format = external global i32 ; <i32*> [#uses=0]
@color_description = external global i32 ; <i32*> [#uses=0]
@color_primaries = external global i32 ; <i32*> [#uses=0]
@transfer_characteristics = external global i32 ; <i32*> [#uses=0]
@matrix_coefficients = external global i32 ; <i32*> [#uses=0]
@display_horizontal_size = external global i32 ; <i32*> [#uses=0]
@.str514 = external constant [27 x i8] ; <[27 x i8]*> [#uses=0]
@display_vertical_size = external global i32 ; <i32*> [#uses=0]
@lower_layer_prediction_horizontal_size = external global i32 ; <i32*> [#uses=0]
@.str615 = external constant [30 x i8] ; <[30 x i8]*> [#uses=0]
@lower_layer_prediction_vertical_size = external global i32 ; <i32*> [#uses=0]
@horizontal_subsampling_factor_m = external global i32 ; <i32*> [#uses=0]
@horizontal_subsampling_factor_n = external global i32 ; <i32*> [#uses=0]
@vertical_subsampling_factor_m = external global i32 ; <i32*> [#uses=0]
@vertical_subsampling_factor_n = external global i32 ; <i32*> [#uses=0]
@.str716 = external constant [38 x i8] ; <[38 x i8]*> [#uses=0]
@repeat_first_field = external global i32 ; <i32*> [#uses=0]
@top_field_first = external global i32 ; <i32*> [#uses=0]
@picture_structure = external global i32 ; <i32*> [#uses=0]
@frame_center_horizontal_offset = external global [3 x i32] ; <[3 x i32]*> [#uses=0]
@.str817 = external constant [44 x i8] ; <[44 x i8]*> [#uses=0]
@frame_center_vertical_offset = external global [3 x i32] ; <[3 x i32]*> [#uses=0]
@.str918 = external constant [45 x i8] ; <[45 x i8]*> [#uses=0]
@f_code = external global [2 x [2 x i32]] ; <[2 x [2 x i32]]*> [#uses=0]
@frame_pred_frame_dct = external global i32 ; <i32*> [#uses=0]
@concealment_motion_vectors = external global i32 ; <i32*> [#uses=1]
@chroma_420_type = external global i32 ; <i32*> [#uses=0]
@progressive_frame = external global i32 ; <i32*> [#uses=0]
@composite_display_flag = external global i32 ; <i32*> [#uses=0]
@v_axis = external global i32 ; <i32*> [#uses=0]
@field_sequence = external global i32 ; <i32*> [#uses=0]
@sub_carrier = external global i32 ; <i32*> [#uses=0]
@burst_amplitude = external global i32 ; <i32*> [#uses=0]
@sub_carrier_phase = external global i32 ; <i32*> [#uses=0]
@lower_layer_temporal_reference = external global i32 ; <i32*> [#uses=0]
@.str10 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
@lower_layer_horizontal_offset = external global i32 ; <i32*> [#uses=0]
@.str11 = external constant [56 x i8] ; <[56 x i8]*> [#uses=0]
@lower_layer_vertical_offset = external global i32 ; <i32*> [#uses=0]
@spatial_temporal_weight_code_table_index = external global i32 ; <i32*> [#uses=0]
@lower_layer_progressive_frame = external global i32 ; <i32*> [#uses=0]
@lower_layer_deinterlaced_field_select = external global i32 ; <i32*> [#uses=0]
@.str12 = external constant [36 x i8] ; <[36 x i8]*> [#uses=0]
@copyright_flag = external global i32 ; <i32*> [#uses=0]
@copyright_identifier = external global i32 ; <i32*> [#uses=0]
@original_or_copy = external global i32 ; <i32*> [#uses=0]
@.str13 = external constant [40 x i8] ; <[40 x i8]*> [#uses=0]
@copyright_number_1 = external global i32 ; <i32*> [#uses=0]
@.str14 = external constant [41 x i8] ; <[41 x i8]*> [#uses=0]
@copyright_number_2 = external global i32 ; <i32*> [#uses=0]
@.str15 = external constant [40 x i8] ; <[40 x i8]*> [#uses=0]
@copyright_number_3 = external global i32 ; <i32*> [#uses=0]
@Verbose_Flag = external global i32 ; <i32*> [#uses=0]
@.str16 = external constant [31 x i8] ; <[31 x i8]*> [#uses=0]
@.str17 = external constant [22 x i8] ; <[22 x i8]*> [#uses=0]
@.str18 = external constant [27 x i8] ; <[27 x i8]*> [#uses=0]
@.str19 = external constant [46 x i8] ; <[46 x i8]*> [#uses=0]
@.str20 = external constant [25 x i8] ; <[25 x i8]*> [#uses=0]
@.str21 = external constant [25 x i8] ; <[25 x i8]*> [#uses=0]
@.str22 = external constant [25 x i8] ; <[25 x i8]*> [#uses=0]
@temporal_reference_old.2592 = external global i32 ; <i32*> [#uses=0]
@temporal_reference_wrap.2591.b = external global i1 ; <i1*> [#uses=0]
@True_Framenum = external global i32 ; <i32*> [#uses=0]
@Second_Field = external global i32 ; <i32*> [#uses=0]
@.str23 = external constant [29 x i8] ; <[29 x i8]*> [#uses=0]
@Ersatz_Flag = external global i32 ; <i32*> [#uses=0]
@mb_width = external global i32 ; <i32*> [#uses=0]
@mb_height = external global i32 ; <i32*> [#uses=0]
@Two_Streams = external global i32 ; <i32*> [#uses=0]
@.str124 = external constant [32 x i8] ; <[32 x i8]*> [#uses=0]
@stwc_table.2193 = external constant [3 x [4 x i8]] ; <[3 x [4 x i8]]*> [#uses=0]
@stwclass_table.2194 = external constant [9 x i8] ; <[9 x i8]*> [#uses=0]
@current_frame = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
@Coded_Picture_Width = external global i32 ; <i32*> [#uses=0]
@Chroma_Width = external global i32 ; <i32*> [#uses=0]
@Clip = external global i8* ; <i8**> [#uses=0]
@.str225 = external constant [30 x i8] ; <[30 x i8]*> [#uses=0]
@.str326 = external constant [27 x i8] ; <[27 x i8]*> [#uses=0]
@block_count = external global i32 ; <i32*> [#uses=1]
@auxframe = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
@forward_reference_frame = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
@backward_reference_frame = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
@.str427 = external constant [34 x i8] ; <[34 x i8]*> [#uses=0]
@Newref_progressive_frame.2631 = external global i32 ; <i32*> [#uses=0]
@Oldref_progressive_frame.2630 = external global i32 ; <i32*> [#uses=0]
@Reference_IDCT_Flag = external global i32 ; <i32*> [#uses=0]
@.str528 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
@.str629 = external constant [29 x i8] ; <[29 x i8]*> [#uses=0]
@.str730 = external constant [38 x i8] ; <[38 x i8]*> [#uses=0]
@.str831 = external constant [32 x i8] ; <[32 x i8]*> [#uses=0]
@PMBtab0 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
@PMBtab1 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
@BMBtab0 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
@BMBtab1 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
@spIMBtab = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
@spPMBtab0 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
@spPMBtab1 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
@spBMBtab0 = external constant [14 x %struct.VLCtab] ; <[14 x %struct.VLCtab]*> [#uses=0]
@spBMBtab1 = external constant [12 x %struct.VLCtab] ; <[12 x %struct.VLCtab]*> [#uses=0]
@spBMBtab2 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
@SNRMBtab = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
@MVtab0 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
@MVtab1 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
@MVtab2 = external constant [12 x %struct.VLCtab] ; <[12 x %struct.VLCtab]*> [#uses=0]
@CBPtab0 = external constant [32 x %struct.VLCtab] ; <[32 x %struct.VLCtab]*> [#uses=0]
@CBPtab1 = external constant [64 x %struct.VLCtab] ; <[64 x %struct.VLCtab]*> [#uses=0]
@CBPtab2 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
@MBAtab1 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
@MBAtab2 = external constant [104 x %struct.VLCtab] ; <[104 x %struct.VLCtab]*> [#uses=0]
@DClumtab0 = external constant [32 x %struct.VLCtab] ; <[32 x %struct.VLCtab]*> [#uses=0]
@DClumtab1 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
@DCchromtab0 = external constant [32 x %struct.VLCtab] ; <[32 x %struct.VLCtab]*> [#uses=0]
@DCchromtab1 = external constant [32 x %struct.VLCtab] ; <[32 x %struct.VLCtab]*> [#uses=0]
@.str32 = external constant [56 x i8] ; <[56 x i8]*> [#uses=0]
@.str133 = external constant [29 x i8] ; <[29 x i8]*> [#uses=0]
@global_pic = external global i32 ; <i32*> [#uses=0]
@global_MBA = external global i32 ; <i32*> [#uses=0]
@.str1648 = external constant [45 x i8] ; <[45 x i8]*> [#uses=0]
@.str1749 = external constant [33 x i8] ; <[33 x i8]*> [#uses=0]
@.str1850 = external constant [42 x i8] ; <[42 x i8]*> [#uses=0]
@iclp = external global i16* ; <i16**> [#uses=0]
@iclip = external global [1024 x i16] ; <[1024 x i16]*> [#uses=0]
@c = external global [8 x [8 x double]] ; <[8 x [8 x double]]*> [#uses=0]
@Version = external global [28 x i8] ; <[28 x i8]*> [#uses=0]
@Author = external global [41 x i8] ; <[41 x i8]*> [#uses=0]
@Inverse_Table_6_9 = external global [8 x [4 x i32]] ; <[8 x [4 x i32]]*> [#uses=0]
@Main_Bitstream_Filename = external global i8* ; <i8**> [#uses=0]
@.str51 = external constant [36 x i8] ; <[36 x i8]*> [#uses=0]
@Error_Text = external global [256 x i8] ; <[256 x i8]*> [#uses=0]
@.str152 = external constant [52 x i8] ; <[52 x i8]*> [#uses=0]
@.str253 = external constant [33 x i8] ; <[33 x i8]*> [#uses=0]
@Enhancement_Layer_Bitstream_Filename = external global i8* ; <i8**> [#uses=0]
@.str354 = external constant [46 x i8] ; <[46 x i8]*> [#uses=0]
@.str455 = external constant [22 x i8] ; <[22 x i8]*> [#uses=0]
@.str556 = external constant [30 x i8] ; <[30 x i8]*> [#uses=0]
@Coded_Picture_Height = external global i32 ; <i32*> [#uses=0]
@Chroma_Height = external global i32 ; <i32*> [#uses=0]
@Table_6_20.3737 = external constant [3 x i32] ; <[3 x i32]*> [#uses=0]
@.str657 = external constant [42 x i8] ; <[42 x i8]*> [#uses=0]
@.str758 = external constant [41 x i8] ; <[41 x i8]*> [#uses=0]
@.str859 = external constant [26 x i8] ; <[26 x i8]*> [#uses=0]
@substitute_frame = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
@.str960 = external constant [34 x i8] ; <[34 x i8]*> [#uses=0]
@llframe0 = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
@.str1061 = external constant [24 x i8] ; <[24 x i8]*> [#uses=0]
@llframe1 = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
@.str1162 = external constant [24 x i8] ; <[24 x i8]*> [#uses=0]
@lltmp = external global i16* ; <i16**> [#uses=0]
@.str1263 = external constant [21 x i8] ; <[21 x i8]*> [#uses=0]
@.str1364 = external constant [3 x i8] ; <[3 x i8]*> [#uses=0]
@.str1465 = external constant [9 x i8] ; <[9 x i8]*> [#uses=0]
@.str1566 = external constant [1195 x i8] ; <[1195 x i8]*> [#uses=0]
@Output_Type = external global i32 ; <i32*> [#uses=0]
@Main_Bitstream_Flag = external global i32 ; <i32*> [#uses=0]
@.str1667 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
@.str1768 = external constant [49 x i8] ; <[49 x i8]*> [#uses=0]
@.str1869 = external constant [39 x i8] ; <[39 x i8]*> [#uses=0]
@Frame_Store_Flag = external global i32 ; <i32*> [#uses=0]
@Big_Picture_Flag = external global i32 ; <i32*> [#uses=0]
@.str1970 = external constant [49 x i8] ; <[49 x i8]*> [#uses=0]
@Spatial_Flag = external global i32 ; <i32*> [#uses=0]
@.str2071 = external constant [39 x i8] ; <[39 x i8]*> [#uses=0]
@Lower_Layer_Picture_Filename = external global i8* ; <i8**> [#uses=0]
@Output_Picture_Filename = external global i8* ; <i8**> [#uses=0]
@.str2172 = external constant [1 x i8] ; <[1 x i8]*> [#uses=0]
@.str2273 = external constant [39 x i8] ; <[39 x i8]*> [#uses=0]
@.str2374 = external constant [49 x i8] ; <[49 x i8]*> [#uses=0]
@User_Data_Flag = external global i32 ; <i32*> [#uses=0]
@.str24 = external constant [40 x i8] ; <[40 x i8]*> [#uses=0]
@.str25 = external constant [39 x i8] ; <[39 x i8]*> [#uses=0]
@Substitute_Picture_Filename = external global i8* ; <i8**> [#uses=0]
@.str26 = external constant [47 x i8] ; <[47 x i8]*> [#uses=0]
@.str27 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
@Display_Progressive_Flag = external global i32 ; <i32*> [#uses=0]
@.str28 = external constant [21 x i8] ; <[21 x i8]*> [#uses=0]
@.str29 = external constant [2 x i8] ; <[2 x i8]*> [#uses=0]
@hiQdither = external global i32 ; <i32*> [#uses=0]
@Trace_Flag = external global i32 ; <i32*> [#uses=0]
@Verify_Flag = external global i32 ; <i32*> [#uses=0]
@Stats_Flag = external global i32 ; <i32*> [#uses=0]
@Decode_Layer = external global i32 ; <i32*> [#uses=0]
@.str75 = external constant [20 x i8] ; <[20 x i8]*> [#uses=0]
@C.53.2124 = external constant [3 x [3 x i8]] ; <[3 x [3 x i8]]*> [#uses=0]
@.str76 = external constant [3 x i8] ; <[3 x i8]*> [#uses=0]
@C.60.2169 = external constant [3 x [3 x i8]] ; <[3 x [3 x i8]]*> [#uses=0]
@.str77 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@.str178 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@.str279 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@.str380 = external constant [11 x i8] ; <[11 x i8]*> [#uses=0]
@outfile = external global i32 ; <i32*> [#uses=0]
@.str481 = external constant [20 x i8] ; <[20 x i8]*> [#uses=0]
@optr = external global i8* ; <i8**> [#uses=0]
@obfr = external global [4096 x i8] ; <[4096 x i8]*> [#uses=0]
@.str582 = external constant [35 x i8] ; <[35 x i8]*> [#uses=0]
@u422.3075 = external global i8* ; <i8**> [#uses=0]
@v422.3076 = external global i8* ; <i8**> [#uses=0]
@.str683 = external constant [14 x i8] ; <[14 x i8]*> [#uses=0]
@.str784 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@u444.3185 = external global i8* ; <i8**> [#uses=0]
@v444.3186 = external global i8* ; <i8**> [#uses=0]
@u422.3183 = external global i8* ; <i8**> [#uses=0]
@v422.3184 = external global i8* ; <i8**> [#uses=0]
@.str885 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@.str986 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@tga24.3181 = external constant [14 x i8] ; <[14 x i8]*> [#uses=0]
@.str1087 = external constant [14 x i8] ; <[14 x i8]*> [#uses=0]
@bgate.2952.b = external global i1 ; <i1*> [#uses=0]
@previous_temporal_reference.2947 = external global i32 ; <i32*> [#uses=0]
@previous_picture_coding_type.2951 = external global i32 ; <i32*> [#uses=0]
@previous_anchor_temporal_reference.2949 = external global i32 ; <i32*> [#uses=0]
@.str88 = external constant [40 x i8] ; <[40 x i8]*> [#uses=0]
@.str189 = external constant [31 x i8] ; <[31 x i8]*> [#uses=0]
@.str290 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@.str391 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@.str492 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
@.str593 = external constant [49 x i8] ; <[49 x i8]*> [#uses=0]
@.str694 = external constant [3 x i8] ; <[3 x i8]*> [#uses=0]
@.str795 = external constant [18 x i8] ; <[18 x i8]*> [#uses=0]
@.str896 = external constant [42 x i8] ; <[42 x i8]*> [#uses=0]
@.str97 = external constant [18 x i8] ; <[18 x i8]*> [#uses=0]
@.str198 = external constant [24 x i8] ; <[24 x i8]*> [#uses=0]
@.str299 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
declare void @Initialize_Buffer()
declare void @Fill_Buffer()
declare i32 @read(...)
declare i32 @Get_Byte()
declare i32 @Get_Word()
declare i32 @Show_Bits(i32)
declare i32 @Get_Bits1()
declare void @Flush_Buffer(i32)
declare void @Next_Packet()
declare i32 @Get_Bits(i32)
declare void @Decode_MPEG1_Intra_Block(i32, i32*)
declare i32 @Get_Luma_DC_dct_diff()
declare i32 @Get_Chroma_DC_dct_diff()
declare i32 @puts(i8*)
declare i32 @fwrite(i8*, i32, i32, i8*)
declare void @Decode_MPEG1_Non_Intra_Block(i32)
declare void @Decode_MPEG2_Intra_Block(i32, i32*)
declare void @Decode_MPEG2_Non_Intra_Block(i32)
declare i32 @Get_Hdr()
declare i32 @Get_Bits32()
declare i32 @fprintf(%struct.FILE*, i8*, ...)
declare void @next_start_code()
declare fastcc void @sequence_header()
define internal fastcc void @group_of_pictures_header() {
entry:
ret void
}
define internal fastcc void @picture_header() {
entry:
unreachable
}
declare i32 @slice_header()
declare fastcc void @extension_and_user_data()
declare void @Flush_Buffer32()
declare fastcc void @sequence_extension()
declare fastcc void @sequence_display_extension()
declare fastcc void @quant_matrix_extension()
declare fastcc void @sequence_scalable_extension()
declare void @Error(i8*)
declare fastcc void @picture_display_extension()
declare fastcc void @picture_coding_extension()
declare fastcc void @picture_spatial_scalable_extension()
declare fastcc void @picture_temporal_scalable_extension()
declare fastcc void @extra_bit_information()
declare void @marker_bit(i8*)
declare fastcc void @user_data()
declare fastcc void @copyright_extension()
declare i32 @printf(i8*, ...)
declare fastcc void @Update_Temporal_Reference_Tacking_Data()
define void @Decode_Picture(i32 %bitstream_framenum, i32 %sequence_framenum) {
entry:
%tmp16 = icmp eq i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp16, label %bb43, label %bb22
bb22: ; preds = %entry
ret void
bb43: ; preds = %entry
call fastcc void @picture_data( )
ret void
}
declare void @Substitute_Frame_Buffer(i32, i32)
define void @Spatial_Prediction() {
entry:
ret void
}
define internal fastcc void @picture_data() {
entry:
%tmp4 = icmp eq i32 0, 3 ; <i1> [#uses=1]
br i1 %tmp4, label %bb8, label %bb
bb: ; preds = %entry
ret void
bb8: ; preds = %entry
%tmp11 = call fastcc i32 @slice( i32 0 ) ; <i32> [#uses=0]
ret void
}
define internal fastcc i32 @slice(i32 %MBAmax) {
entry:
%tmp6 = icmp eq i32 0, 1 ; <i1> [#uses=1]
br i1 %tmp6, label %bb9, label %bb231
bb9: ; preds = %entry
%tmp11 = icmp eq i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp11, label %bb27, label %bb17
bb17: ; preds = %bb9
ret i32 0
bb27: ; preds = %bb9
%tmp31 = icmp slt i32 0, %MBAmax ; <i1> [#uses=1]
br i1 %tmp31, label %bb110, label %bb231
resync: ; preds = %bb139
ret i32 0
bb110: ; preds = %bb27
%tmp113 = icmp slt i32 0, %MBAmax ; <i1> [#uses=1]
br i1 %tmp113, label %bb131, label %bb119
bb119: ; preds = %bb110
ret i32 0
bb131: ; preds = %bb110
%tmp133 = icmp eq i32 0, 1 ; <i1> [#uses=1]
br i1 %tmp133, label %bb139, label %bb166
bb139: ; preds = %bb131
%tmp144 = call fastcc i32 @decode_macroblock( i32* null, i32* null, i32* null, i32* null, i32* null, [2 x [2 x i32]]* null, i32* null, [2 x i32]* null, i32* null ) ; <i32> [#uses=1]
switch i32 %tmp144, label %bb166 [
i32 -1, label %bb231
i32 0, label %resync
]
bb166: ; preds = %bb139, %bb131
ret i32 0
bb231: ; preds = %bb139, %bb27, %entry
ret i32 0
}
declare i32 @Get_macroblock_address_increment()
declare fastcc void @macroblock_modes(i32*, i32*, i32*, i32*, i32*, i32*, i32*, i32*, i32*)
declare i32 @Get_macroblock_type()
declare fastcc void @Add_Block(i32, i32, i32, i32, i32)
declare fastcc void @Decode_SNR_Macroblock(i32*, i32*, i32, i32, i32*)
declare i32 @Get_coded_block_pattern()
declare fastcc void @Clear_Block(i32)
declare fastcc void @Sum_Block(i32)
declare fastcc void @Saturate(i16*)
declare fastcc void @Update_Picture_Buffers()
declare void @Output_Last_Frame_of_Sequence(i32)
declare void @Write_Frame(i8**, i32)
declare fastcc void @frame_reorder(i32, i32)
declare fastcc void @motion_compensation(i32, i32, i32, [2 x [2 x i32]]*, [2 x i32]*, i32*, i32, i32)
declare void @form_predictions(i32, i32, i32, i32, [2 x [2 x i32]]*, [2 x i32]*, i32*, i32)
declare void @Reference_IDCT(i16*)
declare void @Fast_IDCT(i16*)
declare fastcc void @skipped_macroblock(i32*, [2 x [2 x i32]]*, i32*, [2 x i32]*, i32*, i32*)
declare fastcc i32 @start_of_slice(i32*, i32*, i32*, [2 x [2 x i32]]*)
define internal fastcc i32 @decode_macroblock(i32* %macroblock_type, i32* %stwtype, i32* %stwclass, i32* %motion_type, i32* %dct_type, [2 x [2 x i32]]* %PMV, i32* %dc_dct_pred, [2 x i32]* %motion_vertical_field_select, i32* %dmvector) {
entry:
%tmp3 = icmp eq i32 0, 1 ; <i1> [#uses=1]
br i1 %tmp3, label %bb, label %bb15
bb: ; preds = %entry
%tmp7 = icmp slt i32 0, 3 ; <i1> [#uses=1]
br i1 %tmp7, label %bb13, label %bb14
bb13: ; preds = %bb
br label %bb15
bb14: ; preds = %bb
ret i32 0
bb15: ; preds = %bb13, %entry
%tmp21 = load i32* @Fault_Flag, align 4 ; <i32> [#uses=1]
%tmp22 = icmp eq i32 %tmp21, 0 ; <i1> [#uses=1]
br i1 %tmp22, label %bb29, label %bb630
bb29: ; preds = %bb15
%tmp33 = icmp eq i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp33, label %bb91, label %bb39
bb39: ; preds = %bb29
ret i32 0
bb91: ; preds = %bb29
%tmp94 = and i32 0, 8 ; <i32> [#uses=0]
%tmp121 = load %struct.layer_data** @ld, align 4 ; <%struct.layer_data*> [#uses=0]
%tmp123 = load i32* null ; <i32> [#uses=1]
%tmp124 = icmp eq i32 %tmp123, 0 ; <i1> [#uses=1]
br i1 %tmp124, label %bb146, label %bb130
bb130: ; preds = %bb91
call void @motion_vectors( [2 x [2 x i32]]* %PMV, i32* %dmvector, [2 x i32]* %motion_vertical_field_select, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0 )
br label %bb157
bb146: ; preds = %bb91
br label %bb157
bb157: ; preds = %bb146, %bb130
%tmp159 = icmp eq i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp159, label %bb166, label %bb630
bb166: ; preds = %bb157
%tmp180 = icmp eq i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp180, label %bb201, label %bb186
bb186: ; preds = %bb166
br label %bb212
bb201: ; preds = %bb166
%tmp205 = load i32* @backward_f_code, align 4 ; <i32> [#uses=0]
br label %bb212
bb212: ; preds = %bb201, %bb186
%tmp214 = icmp eq i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp214, label %bb221, label %bb630
bb221: ; preds = %bb212
%tmp22422511 = and i32 0, 1 ; <i32> [#uses=1]
%toBool226 = icmp eq i32 %tmp22422511, 0 ; <i1> [#uses=1]
br i1 %toBool226, label %bb239, label %bb230
bb230: ; preds = %bb221
ret i32 0
bb239: ; preds = %bb221
%tmp241 = load i32* getelementptr (%struct.layer_data* @base, i32 0, i32 17), align 4 ; <i32> [#uses=0]
%tmp262 = icmp eq i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp262, label %bb296, label %bb268
bb268: ; preds = %bb239
%tmp270 = load i32* @chroma_format, align 4 ; <i32> [#uses=1]
%tmp271 = icmp eq i32 %tmp270, 2 ; <i1> [#uses=1]
br i1 %tmp271, label %bb277, label %bb282
bb277: ; preds = %bb268
br label %bb312
bb282: ; preds = %bb268
%tmp283 = load i32* @chroma_format, align 4 ; <i32> [#uses=0]
br label %bb312
bb296: ; preds = %bb239
%tmp298 = load i32* %macroblock_type ; <i32> [#uses=1]
%tmp2993009 = and i32 %tmp298, 1 ; <i32> [#uses=1]
%toBool301 = icmp eq i32 %tmp2993009, 0 ; <i1> [#uses=1]
br i1 %toBool301, label %bb312, label %bb305
bb305: ; preds = %bb296
%tmp306 = load i32* @block_count, align 4 ; <i32> [#uses=0]
%tmp308 = add i32 0, -1 ; <i32> [#uses=0]
br label %bb312
bb312: ; preds = %bb305, %bb296, %bb282, %bb277
%tmp313 = load i32* @Fault_Flag, align 4 ; <i32> [#uses=1]
%tmp314 = icmp eq i32 %tmp313, 0 ; <i1> [#uses=1]
br i1 %tmp314, label %bb398, label %bb630
bb346: ; preds = %cond_true404
%toBool351 = icmp eq i32 0, 0 ; <i1> [#uses=1]
%tmp359 = icmp ne i32 0, 0 ; <i1> [#uses=2]
br i1 %toBool351, label %bb372, label %bb355
bb355: ; preds = %bb346
br i1 %tmp359, label %bb365, label %bb368
bb365: ; preds = %bb355
br label %bb386
bb368: ; preds = %bb355
call void @Decode_MPEG1_Intra_Block( i32 0, i32* %dc_dct_pred )
br label %bb386
bb372: ; preds = %bb346
br i1 %tmp359, label %bb382, label %bb384
bb382: ; preds = %bb372
br label %bb386
bb384: ; preds = %bb372
call void @Decode_MPEG1_Non_Intra_Block( i32 0 )
br label %bb386
bb386: ; preds = %bb384, %bb382, %bb368, %bb365
%tmp388 = icmp eq i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp388, label %bb395, label %bb630
bb395: ; preds = %cond_true404, %bb386
%tmp397 = add i32 0, 1 ; <i32> [#uses=0]
ret i32 0
bb398: ; preds = %bb312
%tmp401 = icmp slt i32 0, 0 ; <i1> [#uses=1]
br i1 %tmp401, label %cond_true404, label %bb407
cond_true404: ; preds = %bb398
%tmp340341514 = and i32 0, 0 ; <i32> [#uses=1]
%toBool342 = icmp eq i32 %tmp340341514, 0 ; <i1> [#uses=1]
br i1 %toBool342, label %bb395, label %bb346
bb407: ; preds = %bb398
%tmp408 = load i32* @picture_coding_type, align 4 ; <i32> [#uses=0]
%tmp419 = load i32* %macroblock_type ; <i32> [#uses=1]
%tmp420 = and i32 %tmp419, 1 ; <i32> [#uses=1]
%tmp421 = icmp eq i32 %tmp420, 0 ; <i1> [#uses=0]
%tmp442 = load i32* %macroblock_type ; <i32> [#uses=1]
%tmp4434447 = and i32 %tmp442, 1 ; <i32> [#uses=0]
%tmp450 = load i32* @concealment_motion_vectors, align 4 ; <i32> [#uses=0]
%tmp572 = icmp eq i32 0, 4 ; <i1> [#uses=1]
br i1 %tmp572, label %bb578, label %bb630
bb578: ; preds = %bb407
%tmp613 = getelementptr [2 x [2 x i32]]* %PMV, i32 1, i32 1, i32 1 ; <i32*> [#uses=0]
%tmp618 = getelementptr [2 x [2 x i32]]* %PMV, i32 1, i32 1, i32 0 ; <i32*> [#uses=0]
%tmp623 = getelementptr [2 x [2 x i32]]* %PMV, i32 0, i32 1, i32 1 ; <i32*> [#uses=0]
%tmp628 = getelementptr [2 x [2 x i32]]* %PMV, i32 0, i32 1, i32 0 ; <i32*> [#uses=0]
ret i32 1
bb630: ; preds = %bb407, %bb386, %bb312, %bb212, %bb157, %bb15
%tmp.0 = phi i32 [ 0, %bb15 ], [ 0, %bb157 ], [ 0, %bb212 ], [ 0, %bb312 ], [ 0, %bb386 ], [ 1, %bb407 ] ; <i32> [#uses=1]
ret i32 %tmp.0
}
declare void @motion_vectors([2 x [2 x i32]]*, i32*, [2 x i32]*, i32, i32, i32, i32, i32, i32, i32)
declare void @motion_vector(i32*, i32*, i32, i32, i32, i32, i32)
declare fastcc i32 @Get_I_macroblock_type()
declare fastcc i32 @Get_P_macroblock_type()
declare fastcc i32 @Get_B_macroblock_type()
declare fastcc void @Get_D_macroblock_type()
declare fastcc i32 @Get_I_Spatial_macroblock_type()
declare fastcc i32 @Get_P_Spatial_macroblock_type()
declare fastcc i32 @Get_B_Spatial_macroblock_type()
declare fastcc i32 @Get_SNR_macroblock_type()
declare i32 @Get_motion_code()
declare i32 @Get_dmvector()
declare fastcc void @idctrow(i16*)
declare fastcc void @idctcol(i16*)
declare void @Initialize_Fast_IDCT()
declare void @Initialize_Reference_IDCT()
declare double @cos(double)
declare double @floor(double)
declare fastcc void @decode_motion_vector(i32*, i32, i32, i32, i32)
declare void @Dual_Prime_Arithmetic([2 x i32]*, i32*, i32, i32)
declare i32 @main(i32, i8**)
declare i32 @open(i8*, i32, ...)
declare void @exit(i32)
declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
declare i32 @lseek(i32, i32, i32)
declare i32 @sprintf(i8*, i8*, ...)
declare i32 @close(i32)
declare fastcc void @Initialize_Decoder()
declare fastcc void @Initialize_Sequence()
declare void @Print_Bits(i32, i32, i32)
declare fastcc void @Process_Options(i32, i8**)
declare i32 @toupper(i32)
declare i32 @atoi(i8*)
declare fastcc i32 @Headers()
declare fastcc void @Decode_Bitstream()
declare fastcc void @Deinitialize_Sequence()
declare fastcc i32 @video_sequence(i32*)
declare void @Clear_Options()
declare fastcc void @form_prediction(i8**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)
declare fastcc void @form_component_prediction(i8*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i32)
declare fastcc void @Read_Lower_Layer_Component_Framewise(i32, i32, i32)
declare i8* @strcat(i8*, i8*)
declare %struct.FILE* @fopen(i8*, i8*)
declare i32 @_IO_getc(%struct.FILE*)
declare i32 @fclose(%struct.FILE*)
declare fastcc void @Read_Lower_Layer_Component_Fieldwise(i32, i32, i32)
declare fastcc void @Make_Spatial_Prediction_Frame(i32, i32, i8*, i8*, i16*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)
declare fastcc void @Deinterlace(i8*, i8*, i32, i32, i32, i32)
declare fastcc void @Subsample_Vertical(i8*, i16*, i32, i32, i32, i32, i32, i32, i32)
declare fastcc void @Subsample_Horizontal(i16*, i8*, i32, i32, i32, i32, i32, i32, i32)
declare fastcc void @store_one(i8*, i8**, i32, i32, i32)
declare fastcc void @store_yuv(i8*, i8**, i32, i32, i32)
declare fastcc void @store_yuv1(i8*, i8*, i32, i32, i32, i32)
declare i32 @write(...)
declare fastcc void @store_sif(i8*, i8**, i32, i32, i32)
declare fastcc void @store_ppm_tga(i8*, i8**, i32, i32, i32, i32)
declare fastcc void @putbyte(i32)
declare fastcc void @putword(i32)
declare fastcc void @conv422to444(i8*, i8*)
declare fastcc void @conv420to422(i8*, i8*)
declare fastcc void @Read_Frame(i8*, i8**, i32)
declare fastcc i32 @Read_Components(i8*, i32)
declare fastcc void @Read_Component(i8*, i8*, i32, i32)
declare fastcc i32 @Extract_Components(i8*, i32)
declare i32 @fseek(%struct.FILE*, i32, i32)
declare i32 @fread(i8*, i32, i32, %struct.FILE*)
declare fastcc void @Copy_Frame(i8*, i8*, i32, i32, i32, i32)
declare i32 @Get_Long()

View File

@ -1,37 +0,0 @@
; RUN: opt < %s -condprop | llvm-dis
; PR3405
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @main(i32 %argc, i8** %argv) nounwind {
entry:
br label %bb2
bb2: ; preds = %bb.bb2_crit_edge, %entry
br i1 false, label %bb5.thread2, label %bb
bb: ; preds = %bb2
br i1 false, label %bb3, label %bb.bb2_crit_edge
bb.bb2_crit_edge: ; preds = %bb
br label %bb2
bb3: ; preds = %bb
%.lcssa4 = phi i1 [ false, %bb ] ; <i1> [#uses=1]
br i1 %.lcssa4, label %bb5.thread, label %bb6
bb5.thread: ; preds = %bb3
br label %bb7
bb7: ; preds = %bb5.thread2, %bb5.thread
br label %UnifiedReturnBlock
bb6: ; preds = %bb3
br label %UnifiedReturnBlock
bb5.thread2: ; preds = %bb2
br label %bb7
UnifiedReturnBlock: ; preds = %bb6, %bb7
ret i32 0
}

View File

@ -1,45 +0,0 @@
; RUN: opt < %s -condprop -S | \
; RUN: not grep {br label}
%llvm.dbg.anchor.type = type { i32, i32 }
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "llvm.metadata" ;
@.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
@.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1]
@.str2 = internal constant [55 x i8] c"4.2.1 (Based on Apple Inc. build 5636) (LLVM build 00)\00", section "llvm.metadata" ; <[55 x i8]*> [#uses=1]
@llvm.dbg.compile_unit = internal constant %llvm.dbg.compile_unit.type { i32 458769, { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.compile_units to { }*), i32 1, i8* getelementptr ([4 x i8]* @.str, i32 0, i32 0), i8* getelementptr ([6 x i8]* @.str1, i32 0, i32 0), i8* getelementptr ([55 x i8]* @.str2, i32 0, i32 0), i1 true, i1 false, i8* null }, section "llvm.metadata" ; <%llvm.dbg.compile_unit.type*> [#uses=1]
declare void @llvm.dbg.stoppoint(i32, i32, { }*) nounwind
define i32 @test(i1 %C) {
br i1 %C, label %T1, label %F1
T1: ; preds = %0
call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*))
br label %Cont
F1: ; preds = %0
call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*))
br label %Cont
Cont: ; preds = %F1, %T1
%C2 = phi i1 [ false, %F1 ], [ true, %T1 ] ; <i1> [#uses=1]
call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*))
br i1 %C2, label %T2, label %F2
T2: ; preds = %Cont
call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*))
call void @bar( )
call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*))
ret i32 17
F2: ; preds = %Cont
call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*))
ret i32 1
}
declare void @bar()

View File

@ -1,28 +0,0 @@
; RUN: opt < %s -condprop -S | \
; RUN: not grep {br label}
; RUN: opt < %s -condprop -S | not grep T2
define i32 @test(i1 %C) {
br i1 %C, label %T1, label %F1
T1: ; preds = %0
br label %Cont
F1: ; preds = %0
br label %Cont
Cont: ; preds = %F1, %T1
%C2 = phi i1 [ false, %F1 ], [ true, %T1 ] ; <i1> [#uses=1]
br i1 %C2, label %T2, label %F2
T2: ; preds = %Cont
call void @bar( )
ret i32 17
F2: ; preds = %Cont
ret i32 1
}
declare void @bar()

View File

@ -1,3 +0,0 @@
load_lib llvm.exp
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]]

View File

@ -1,43 +0,0 @@
; RUN: opt < %s -condprop -S | not grep phi
define i32 @test(i32 %C, i1 %Val) {
switch i32 %C, label %T1 [
i32 4, label %T2
i32 17, label %T3
]
T1: ; preds = %0
call void @a( )
br label %Cont
T2: ; preds = %0
call void @b( )
br label %Cont
T3: ; preds = %0
call void @c( )
br label %Cont
Cont: ; preds = %T3, %T2, %T1
;; PHI becomes dead after threading T2
%C2 = phi i1 [ %Val, %T1 ], [ true, %T2 ], [ %Val, %T3 ] ; <i1> [#uses=1]
br i1 %C2, label %L2, label %F2
L2: ; preds = %Cont
call void @d( )
ret i32 17
F2: ; preds = %Cont
call void @e( )
ret i32 1
}
declare void @a()
declare void @b()
declare void @c()
declare void @d()
declare void @e()

View File

@ -1,46 +0,0 @@
; RUN: opt < %s -condprop -S | not grep phi
declare i1 @foo()
define i32 @test(i32 %C) {
%Val = call i1 @foo( ) ; <i1> [#uses=2]
switch i32 %C, label %T1 [
i32 4, label %T2
i32 17, label %T3
]
T1: ; preds = %0
call void @a( )
br label %Cont
T2: ; preds = %0
call void @b( )
br label %Cont
T3: ; preds = %0
call void @c( )
br label %Cont
Cont: ; preds = %T3, %T2, %T1
;; PHI becomes dead after threading T2
%C2 = phi i1 [ %Val, %T1 ], [ true, %T2 ], [ %Val, %T3 ] ; <i1> [#uses=1]
br i1 %C2, label %L2, label %F2
L2: ; preds = %Cont
call void @d( )
ret i32 17
F2: ; preds = %Cont
call void @e( )
ret i32 1
}
declare void @a()
declare void @b()
declare void @c()
declare void @d()
declare void @e()

View File

@ -1,26 +0,0 @@
; RUN: opt < %s -condprop -S | not grep phi
define i32 @foo(i1, i32, i32) {
prologue:
br i1 %0, label %eq, label %ne
eq: ; preds = %prologue
store i32 0, i32* inttoptr (i32 10000 to i32*)
%3 = icmp eq i32 %1, %2 ; <i1> [#uses=1]
br label %join
ne: ; preds = %prologue
%4 = icmp ne i32 %1, %2 ; <i1> [#uses=1]
br label %join
join: ; preds = %ne, %eq
%5 = phi i1 [ %3, %eq ], [ %4, %ne ] ; <i1> [#uses=1]
br i1 %5, label %yes, label %no
yes: ; preds = %join
store i32 0, i32* inttoptr (i32 20000 to i32*)
ret i32 5
no: ; preds = %join
ret i32 20
}