Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bench/abc/optimized/bacWriteVer.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ Vec_StrPrintStr.exit110.preheader.i: ; preds = %Vec_StrPush.exit.i1
.lr.ph.i111.i: ; preds = %.lr.ph.i
%.not54.i = icmp eq i32 %.049236.i, 0
%203 = select i1 %.not54.i, ptr @.str.10, ptr @.str.65
%204 = select i1 %.not54.i, i64 1, i64 3
%204 = select i1 %.not54.i, i64 0, i64 2
br label %205

205: ; preds = %Vec_StrPush.exit.i117.i, %.lr.ph.i111.i
Expand Down Expand Up @@ -1174,7 +1174,7 @@ Vec_StrPush.exit.i117.i: ; preds = %228, %Vec_StrGrow.e
%234 = getelementptr inbounds i8, ptr %230, i64 %233
store i8 %207, ptr %234, align 1, !tbaa !43
%indvars.iv.next.i118.i = add nuw nsw i64 %indvars.iv.i114.i, 1
%exitcond.not.i119.i = icmp eq i64 %indvars.iv.next.i118.i, %204
%exitcond.not.i119.i = icmp eq i64 %204, %indvars.iv.i114.i
br i1 %exitcond.not.i119.i, label %Vec_StrPrintStr.exit123.i, label %205, !llvm.loop !46

Vec_StrPrintStr.exit123.i: ; preds = %Vec_StrPush.exit.i117.i
Expand Down Expand Up @@ -1421,7 +1421,7 @@ Bac_BoxBiNum.exit.i: ; preds = %333, %.preheader.i
%.0.lcssa.i.i = phi i64 [ 0, %.preheader.i ], [ %indvars.iv.i164.i, %333 ]
%.not53.i = icmp eq i64 %indvars.iv687, %.0.lcssa.i.i
%337 = select i1 %.not53.i, ptr @.str.10, ptr @.str.65
%338 = select i1 %.not53.i, i64 1, i64 3
%338 = select i1 %.not53.i, i64 0, i64 2
br label %339

339: ; preds = %Vec_StrPush.exit.i172.i, %Bac_BoxBiNum.exit.i
Expand Down Expand Up @@ -1490,7 +1490,7 @@ Vec_StrPush.exit.i172.i: ; preds = %362, %Vec_StrGrow.e
%368 = getelementptr inbounds i8, ptr %364, i64 %367
store i8 %341, ptr %368, align 1, !tbaa !43
%indvars.iv.next.i173.i = add nuw nsw i64 %indvars.iv.i169.i, 1
%exitcond.not.i174.i = icmp eq i64 %indvars.iv.next.i173.i, %338
%exitcond.not.i174.i = icmp eq i64 %338, %indvars.iv.i169.i
br i1 %exitcond.not.i174.i, label %Vec_StrPrintStr.exit178.i, label %339, !llvm.loop !46

Vec_StrPrintStr.exit178.i: ; preds = %Vec_StrPush.exit.i172.i
Expand Down
40 changes: 20 additions & 20 deletions bench/abc/optimized/cbaWriteVer.ll
Original file line number Diff line number Diff line change
Expand Up @@ -4085,7 +4085,7 @@ define void @Cba_ManWriteVerilogNtk(ptr noundef %0, i32 noundef %1) local_unname
%10 = getelementptr i8, ptr %0, i64 44
%.val871 = load i32, ptr %10, align 4, !tbaa !22
%11 = add nsw i32 %.val871, %.val870
%12 = icmp sgt i32 %11, 5
%12 = icmp slt i32 %11, 6
%13 = getelementptr i8, ptr %0, i64 156
%.val872 = load i32, ptr %13, align 4, !tbaa !22
%14 = ashr i32 %.val872, 5
Expand Down Expand Up @@ -4486,8 +4486,8 @@ Vec_StrPush.exit.i1022: ; preds = %187, %Vec_StrGrow.e
br i1 %exitcond.not.i1024, label %Vec_StrPrintStr.exit1028, label %164, !llvm.loop !59

Vec_StrPrintStr.exit1028: ; preds = %Vec_StrPush.exit.i1022, %Vec_StrPrintStr.exit
%194 = select i1 %12, ptr @.str.73, ptr @.str.74
%195 = select i1 %12, i64 7, i64 3
%194 = select i1 %12, ptr @.str.74, ptr @.str.73
%195 = select i1 %12, i64 2, i64 6
br label %196

196: ; preds = %Vec_StrPush.exit.i1035, %Vec_StrPrintStr.exit1028
Expand Down Expand Up @@ -4556,7 +4556,7 @@ Vec_StrPush.exit.i1035: ; preds = %219, %Vec_StrGrow.e
%225 = getelementptr inbounds i8, ptr %221, i64 %224
store i8 %198, ptr %225, align 1, !tbaa !15
%indvars.iv.next.i1036 = add nuw nsw i64 %indvars.iv.i1032, 1
%exitcond.not.i1037 = icmp eq i64 %indvars.iv.next.i1036, %195
%exitcond.not.i1037 = icmp eq i64 %195, %indvars.iv.i1032
br i1 %exitcond.not.i1037, label %Vec_StrPrintStr.exit1041, label %196, !llvm.loop !59

Vec_StrPrintStr.exit1041: ; preds = %Vec_StrPush.exit.i1035
Expand Down Expand Up @@ -4817,8 +4817,8 @@ Vec_StrPrintStr.exit1080: ; preds = %Vec_StrPush.exit.i1
br i1 %328, label %229, label %.critedge2, !llvm.loop !68

.critedge2: ; preds = %Vec_StrPrintStr.exit1080, %Vec_StrPrintStr.exit1041
%329 = select i1 %12, ptr @.str.76, ptr @.str.77
%330 = select i1 %12, i64 5, i64 3
%329 = select i1 %12, ptr @.str.77, ptr @.str.76
%330 = select i1 %12, i64 2, i64 4
br label %331

331: ; preds = %Vec_StrPush.exit.i1087, %.critedge2
Expand Down Expand Up @@ -4887,7 +4887,7 @@ Vec_StrPush.exit.i1087: ; preds = %354, %Vec_StrGrow.e
%360 = getelementptr inbounds i8, ptr %356, i64 %359
store i8 %333, ptr %360, align 1, !tbaa !15
%indvars.iv.next.i1088 = add nuw nsw i64 %indvars.iv.i1084, 1
%exitcond.not.i1089 = icmp eq i64 %indvars.iv.next.i1088, %330
%exitcond.not.i1089 = icmp eq i64 %330, %indvars.iv.i1084
br i1 %exitcond.not.i1089, label %Vec_StrPrintStr.exit1093, label %331, !llvm.loop !59

Vec_StrPrintStr.exit1093: ; preds = %Vec_StrPush.exit.i1087
Expand All @@ -4911,8 +4911,8 @@ Vec_StrPrintStr.exit1093: ; preds = %Vec_StrPush.exit.i1
br label %Cba_ManWriteLineFile.exit

Cba_ManWriteLineFile.exit: ; preds = %Vec_StrPrintStr.exit1093, %363, %365
%370 = select i1 %12, ptr @.str.78, ptr @.str.79
%371 = select i1 %12, i64 1, i64 2
%370 = select i1 %12, ptr @.str.79, ptr @.str.78
%371 = zext i1 %12 to i64
br label %372

372: ; preds = %Vec_StrPush.exit.i1100, %Cba_ManWriteLineFile.exit
Expand Down Expand Up @@ -4981,7 +4981,7 @@ Vec_StrPush.exit.i1100: ; preds = %395, %Vec_StrGrow.e
%401 = getelementptr inbounds i8, ptr %397, i64 %400
store i8 %374, ptr %401, align 1, !tbaa !15
%indvars.iv.next.i1101 = add nuw nsw i64 %indvars.iv.i1097, 1
%exitcond.not.i1102 = icmp eq i64 %indvars.iv.next.i1101, %371
%exitcond.not.i1102 = icmp eq i64 %indvars.iv.i1097, %371
br i1 %exitcond.not.i1102, label %Vec_StrPrintStr.exit1106.preheader, label %372, !llvm.loop !59

Vec_StrPrintStr.exit1106.preheader: ; preds = %Vec_StrPush.exit.i1100
Expand Down Expand Up @@ -5085,7 +5085,7 @@ Vec_StrPrintStr.exit1119: ; preds = %Vec_StrPush.exit.i1
%442 = load i8, ptr %441, align 1, !tbaa !15
%.not2580 = icmp eq i8 %442, 1
%443 = select i1 %.not2580, ptr @.str.81, ptr @.str.82
%444 = select i1 %.not2580, i64 6, i64 7
%444 = select i1 %.not2580, i64 5, i64 6
br label %445

445: ; preds = %Vec_StrPush.exit.i1126, %Vec_StrPrintStr.exit1119
Expand Down Expand Up @@ -5154,7 +5154,7 @@ Vec_StrPush.exit.i1126: ; preds = %468, %Vec_StrGrow.e
%474 = getelementptr inbounds i8, ptr %470, i64 %473
store i8 %447, ptr %474, align 1, !tbaa !15
%indvars.iv.next.i1127 = add nuw nsw i64 %indvars.iv.i1123, 1
%exitcond.not.i1128 = icmp eq i64 %indvars.iv.next.i1127, %444
%exitcond.not.i1128 = icmp eq i64 %444, %indvars.iv.i1123
br i1 %exitcond.not.i1128, label %Vec_StrPrintStr.exit1132, label %445, !llvm.loop !59

Vec_StrPrintStr.exit1132: ; preds = %Vec_StrPush.exit.i1126
Expand Down Expand Up @@ -10292,7 +10292,7 @@ Vec_StrPush.exit.i1935: ; preds = %2636, %Vec_StrGrow.
Vec_StrPrintStr.exit1941: ; preds = %Vec_StrPush.exit.i1935
tail call void @Cba_ManWriteFonName(ptr noundef nonnull %0, i32 noundef %2329, i32 noundef 0, i32 noundef 0)
%2643 = select i1 %2327, ptr @.str.131, ptr @.str.132
%2644 = select i1 %2327, i64 4, i64 3
%2644 = select i1 %2327, i64 3, i64 2
br label %2645

2645: ; preds = %Vec_StrPush.exit.i1949, %Vec_StrPrintStr.exit1941
Expand Down Expand Up @@ -10361,7 +10361,7 @@ Vec_StrPush.exit.i1949: ; preds = %2668, %Vec_StrGrow.
%2674 = getelementptr inbounds i8, ptr %2670, i64 %2673
store i8 %2647, ptr %2674, align 1, !tbaa !15
%indvars.iv.next.i1950 = add nuw nsw i64 %indvars.iv.i1946, 1
%exitcond.not.i1951 = icmp eq i64 %indvars.iv.next.i1950, %2644
%exitcond.not.i1951 = icmp eq i64 %2644, %indvars.iv.i1946
br i1 %exitcond.not.i1951, label %Vec_StrPrintStr.exit1955, label %2645, !llvm.loop !59

Vec_StrPrintStr.exit1955: ; preds = %Vec_StrPush.exit.i1949
Expand Down Expand Up @@ -10592,7 +10592,7 @@ Vec_StrPrintStr.exit1997: ; preds = %Vec_StrPush.exit.i1

.lr.ph.i1999: ; preds = %Vec_StrPrintStr.exit1997
%2761 = select i1 %2490, ptr @.str.134, ptr @.str.129
%2762 = select i1 %2490, i64 13, i64 8
%2762 = select i1 %2490, i64 12, i64 7
br label %2763

2763: ; preds = %Vec_StrPush.exit.i2005, %.lr.ph.i1999
Expand Down Expand Up @@ -10661,7 +10661,7 @@ Vec_StrPush.exit.i2005: ; preds = %2786, %Vec_StrGrow.
%2792 = getelementptr inbounds i8, ptr %2788, i64 %2791
store i8 %2765, ptr %2792, align 1, !tbaa !15
%indvars.iv.next.i2006 = add nuw nsw i64 %indvars.iv.i2002, 1
%exitcond.not.i2007 = icmp eq i64 %indvars.iv.next.i2006, %2762
%exitcond.not.i2007 = icmp eq i64 %2762, %indvars.iv.i2002
br i1 %exitcond.not.i2007, label %Vec_StrPrintStr.exit2011, label %2763, !llvm.loop !59

Vec_StrPrintStr.exit2011: ; preds = %Vec_StrPush.exit.i2005
Expand Down Expand Up @@ -10740,7 +10740,7 @@ Vec_StrPush.exit.i2019: ; preds = %2816, %Vec_StrGrow.
Vec_StrPrintStr.exit2025: ; preds = %Vec_StrPush.exit.i2019
tail call void @Cba_ManWriteFonName(ptr noundef nonnull %0, i32 noundef %2329, i32 noundef 0, i32 noundef 0)
%2823 = select i1 %2327, ptr @.str.131, ptr @.str.132
%2824 = select i1 %2327, i64 4, i64 3
%2824 = select i1 %2327, i64 3, i64 2
br label %2825

2825: ; preds = %Vec_StrPush.exit.i2033, %Vec_StrPrintStr.exit2025
Expand Down Expand Up @@ -10809,7 +10809,7 @@ Vec_StrPush.exit.i2033: ; preds = %2848, %Vec_StrGrow.
%2854 = getelementptr inbounds i8, ptr %2850, i64 %2853
store i8 %2827, ptr %2854, align 1, !tbaa !15
%indvars.iv.next.i2034 = add nuw nsw i64 %indvars.iv.i2030, 1
%exitcond.not.i2035 = icmp eq i64 %indvars.iv.next.i2034, %2824
%exitcond.not.i2035 = icmp eq i64 %2824, %indvars.iv.i2030
br i1 %exitcond.not.i2035, label %Vec_StrPrintStr.exit2039, label %2825, !llvm.loop !59

Vec_StrPrintStr.exit2039: ; preds = %Vec_StrPush.exit.i2033
Expand Down Expand Up @@ -11038,7 +11038,7 @@ Vec_StrPush.exit.i2075: ; preds = %2934, %Vec_StrGrow.
Vec_StrPrintStr.exit2081: ; preds = %Vec_StrPush.exit.i2075, %Vec_StrPrintStr.exit1997
%2941 = or i1 %2490, %2523
%2942 = select i1 %2941, ptr @.str.135, ptr @.str.136
%2943 = select i1 %2941, i64 9, i64 4
%2943 = select i1 %2941, i64 8, i64 3
br label %2944

2944: ; preds = %Vec_StrPush.exit.i2089, %Vec_StrPrintStr.exit2081
Expand Down Expand Up @@ -11107,7 +11107,7 @@ Vec_StrPush.exit.i2089: ; preds = %2967, %Vec_StrGrow.
%2973 = getelementptr inbounds i8, ptr %2969, i64 %2972
store i8 %2946, ptr %2973, align 1, !tbaa !15
%indvars.iv.next.i2090 = add nuw nsw i64 %indvars.iv.i2086, 1
%exitcond.not.i2091 = icmp eq i64 %indvars.iv.next.i2090, %2943
%exitcond.not.i2091 = icmp eq i64 %2943, %indvars.iv.i2086
br i1 %exitcond.not.i2091, label %Vec_StrPrintStr.exit2095, label %2944, !llvm.loop !59

Vec_StrPrintStr.exit2095: ; preds = %Vec_StrPush.exit.i2089
Expand Down
32 changes: 15 additions & 17 deletions bench/abc/optimized/inflate.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3588,15 +3588,14 @@ define range(i32 -5, 1) i32 @inflateSync(ptr noundef captures(address_is_null) %
%.01415.i = phi i32 [ 0, %.lr.ph.preheader.i ], [ %.1.i, %.lr.ph.i ]
%33 = getelementptr inbounds nuw i8, ptr %2, i64 %indvars.iv.i
%34 = load i8, ptr %33, align 1, !tbaa !37
%35 = zext i8 %34 to i32
%36 = icmp samesign ult i32 %.01415.i, 2
%37 = select i1 %36, i32 0, i32 255
%38 = icmp eq i32 %37, %35
%39 = add nuw nsw i32 %.01415.i, 1
%35 = icmp samesign ugt i32 %.01415.i, 1
%36 = sext i1 %35 to i8
%37 = icmp eq i8 %34, %36
%38 = add nuw nsw i32 %.01415.i, 1
%.not.i = icmp eq i8 %34, 0
%40 = sub nuw nsw i32 4, %.01415.i
%spec.select.i = select i1 %.not.i, i32 %40, i32 0
%.1.i = select i1 %38, i32 %39, i32 %spec.select.i
%.1.i = select i1 %37, i32 %38, i32 %spec.select.i
%indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1
%41 = icmp samesign ult i64 %indvars.iv.next.i, %32
%42 = icmp samesign ult i32 %.1.i, 4
Expand Down Expand Up @@ -3629,15 +3628,14 @@ syncsearch.exit: ; preds = %.lr.ph.i, %.thread
%.01415.i46 = phi i32 [ %46, %.lr.ph.preheader.i43 ], [ %.1.i49, %.lr.ph.i44 ]
%54 = getelementptr inbounds nuw i8, ptr %49, i64 %indvars.iv.i45
%55 = load i8, ptr %54, align 1, !tbaa !37
%56 = zext i8 %55 to i32
%57 = icmp samesign ult i32 %.01415.i46, 2
%58 = select i1 %57, i32 0, i32 255
%59 = icmp eq i32 %58, %56
%60 = add nuw nsw i32 %.01415.i46, 1
%.not.i47 = icmp eq i8 %55, 0
%61 = sub nuw nsw i32 4, %.01415.i46
%spec.select.i48 = select i1 %.not.i47, i32 %61, i32 0
%.1.i49 = select i1 %59, i32 %60, i32 %spec.select.i48
%55 = icmp samesign ugt i32 %.01415.i46, 1
%56 = sext i1 %55 to i8
%57 = icmp eq i8 %54, %56
%58 = add nuw nsw i32 %.01415.i46, 1
%.not.i47 = icmp eq i8 %54, 0
%59 = sub nuw nsw i32 4, %.01415.i46
%spec.select.i48 = select i1 %.not.i47, i32 %59, i32 0
%spec.select.i48 = select i1 %57, i32 %58, i32 %spec.select.i48
%indvars.iv.next.i50 = add nuw nsw i64 %indvars.iv.i45, 1
%62 = icmp samesign ult i64 %indvars.iv.next.i50, %53
%63 = icmp samesign ult i32 %.1.i49, 4
Expand All @@ -3649,8 +3647,8 @@ syncsearch.exit: ; preds = %.lr.ph.i, %.thread
br label %syncsearch.exit52

syncsearch.exit52: ; preds = %45, %._crit_edge.loopexit.i51
%.014.lcssa.i41 = phi i32 [ %46, %45 ], [ %.1.i49, %._crit_edge.loopexit.i51 ]
%.0.lcssa.i42 = phi i32 [ 0, %45 ], [ %65, %._crit_edge.loopexit.i51 ]
%.014.lcssa.i41 = phi i32 [ %46, %44 ], [ %.1.i49, %._crit_edge.loopexit.i51 ]
%.0.lcssa.i42 = phi i32 [ 0, %44 ], [ %65, %._crit_edge.loopexit.i51 ]
store i32 %.014.lcssa.i41, ptr %48, align 4, !tbaa !99
%66 = load i32, ptr %9, align 8, !tbaa !42
%67 = sub i32 %66, %.0.lcssa.i42
Expand Down
8 changes: 4 additions & 4 deletions bench/arrow/optimized/align_util.ll
Original file line number Diff line number Diff line change
Expand Up @@ -7981,12 +7981,12 @@ _ZSt13copy_backwardISt13_Bit_iteratorS0_ET0_T_S2_S1_.exit: ; preds = %_ZNSt14_Bi
%61 = getelementptr inbounds i8, ptr %1, i64 %.idx
%62 = and i64 %59, -9223372036854775745
%63 = icmp ugt i64 %62, -9223372036854775808
%storemerge.idx.i.i.i75.neg = select i1 %63, i64 8, i64 0
%storemerge.idx.i.i.i75 = select i1 %63, i64 -8, i64 0
%storemerge.i.i.i76 = getelementptr inbounds i8, ptr %61, i64 %storemerge.idx.i.i.i75
%64 = trunc i64 %59 to i32
%65 = and i32 %64, 63
%.not.i.i.i = icmp eq i64 %.idx, %storemerge.idx.i.i.i75.neg
%storemerge.idx.i.i.i75.neg158 = zext i1 %63 to i64
%.not.i.i.i = icmp eq i64 %60, %storemerge.idx.i.i.i75.neg158
br i1 %.not.i.i.i, label %91, label %66

66: ; preds = %_ZSt13copy_backwardISt13_Bit_iteratorS0_ET0_T_S2_S1_.exit
Expand Down Expand Up @@ -8180,12 +8180,12 @@ _ZNSt6vectorIbSaIbEE15_M_copy_alignedESt19_Bit_const_iteratorS2_St13_Bit_iterato
%154 = getelementptr inbounds i8, ptr %.sroa.03.0.lcssa.i.i.i.i.i.i, i64 %.idx158
%155 = and i64 %152, -9223372036854775745
%156 = icmp ugt i64 %155, -9223372036854775808
%storemerge.idx.i.i.i85.neg = select i1 %156, i64 8, i64 0
%storemerge.idx.i.i.i85 = select i1 %156, i64 -8, i64 0
%storemerge.i.i.i86 = getelementptr inbounds i8, ptr %154, i64 %storemerge.idx.i.i.i85
%157 = trunc i64 %152 to i32
%158 = and i32 %157, 63
%.not.i.i.i89 = icmp eq i64 %.idx158, %storemerge.idx.i.i.i85.neg
%storemerge.idx.i.i.i85.neg160 = zext i1 %156 to i64
%.not.i.i.i89 = icmp eq i64 %153, %storemerge.idx.i.i.i85.neg160
br i1 %.not.i.i.i89, label %185, label %159

159: ; preds = %_ZNSt6vectorIbSaIbEE15_M_copy_alignedESt19_Bit_const_iteratorS2_St13_Bit_iterator.exit
Expand Down
6 changes: 3 additions & 3 deletions bench/assimp/optimized/zip.ll
Original file line number Diff line number Diff line change
Expand Up @@ -25875,8 +25875,8 @@ define internal fastcc void @tdefl_optimize_huffman_table(ptr noundef nonnull ca
%.phi.trans.insert.i = getelementptr inbounds nuw i8, ptr %6, i64 1024
%.pre.i = load i32, ptr %.phi.trans.insert.i, align 16
%36 = freeze i32 %.pre.i
%37 = icmp eq i32 %.173, %36
%spec.select.i = select i1 %37, i64 1, i64 2
%37 = icmp ne i32 %.173, %36
%spec.select89.i = zext i1 %37 to i64
br label %.critedge.preheader.split55.us.i

.lr.ph.i: ; preds = %.lr.ph.i, %.lr.ph.preheader.i
Expand Down Expand Up @@ -25947,7 +25947,7 @@ define internal fastcc void @tdefl_optimize_huffman_table(ptr noundef nonnull ca
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %7) #35
%indvars.iv.next71.i = add nuw nsw i64 %indvars.iv70.i, 1
%71 = add nuw nsw i32 %.03854.us.i, 8
%exitcond74.not.i = icmp eq i64 %indvars.iv.next71.i, %spec.select.i
%exitcond74.not.i = icmp eq i64 %indvars.iv70.i, %spec.select89.i
br i1 %exitcond74.not.i, label %tdefl_radix_sort_syms.exit, label %.critedge.preheader.split55.us.i

tdefl_radix_sort_syms.exit.thread: ; preds = %72
Expand Down
Loading