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/extraUtilMemory.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -560,10 +560,10 @@ Extra_MmFixedStart.exit: ; preds = %Extra_MmFixedStart.
store i32 %8, ptr %calloc.i, align 8
%9 = icmp slt i32 %8, 64
%10 = lshr i32 8192, %7
%11 = tail call i32 @llvm.umax.i32(i32 %10, i32 8)
%12 = getelementptr inbounds i8, ptr %calloc.i, i64 24
%13 = select i1 %9, i32 1024, i32 %11
store i32 %13, ptr %12, align 8
%11 = getelementptr inbounds i8, ptr %calloc.i, i64 24
%12 = tail call i32 @llvm.umax.i32(i32 %10, i32 8)
%13 = select i1 %9, i32 1024, i32 %12
store i32 %13, ptr %11, align 8
%14 = getelementptr inbounds i8, ptr %calloc.i, i64 28
store i32 64, ptr %14, align 4
%15 = getelementptr inbounds i8, ptr %calloc.i, i64 32
Expand Down
2 changes: 1 addition & 1 deletion bench/abseil-cpp/optimized/numbers_test.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -76553,10 +76553,10 @@ invoke.cont67.i: ; preds = %invoke.cont64.i

for.body83.lr.ph.i: ; preds = %invoke.cont67.i
%31 = load i64, ptr %_M_node_count.i.i.i.i, align 8
%cmp71.i = icmp ugt i64 %31, 5000000
%div.i = udiv i64 5000000, %31
%conv70.i = trunc nuw nsw i64 %div.i to i32
%32 = uitofp nneg i32 %conv70.i to double
%cmp71.i = icmp ugt i64 %31, 5000000
%conv103.i = select i1 %cmp71.i, double 1.000000e+00, double %32
br label %for.body83.i

Expand Down
225 changes: 109 additions & 116 deletions bench/actix-rs/optimized/2pgtlhl4qd060m9c.ll

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions bench/actix-rs/optimized/4pmtvrahn6eloepe.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6442,12 +6442,12 @@ define internal fastcc noundef i64 @_ZN6brotli3enc19backward_references2hq17Find
%122 = and i32 %110, 31
%123 = zext nneg i32 %122 to i64
%124 = icmp eq i64 %.074211, %123
%125 = shl nuw nsw i64 %123, 32
%126 = and i64 %117, 4294967295
%127 = shl nuw nsw i64 %.074211, 37
%128 = select i1 %124, i64 0, i64 %125
%129 = or disjoint i64 %128, %127
%130 = or disjoint i64 %129, %126
%125 = and i64 %117, 4294967295
%126 = shl nuw nsw i64 %.074211, 37
%127 = shl nuw nsw i64 %123, 32
%128 = select i1 %124, i64 0, i64 %127
%129 = or disjoint i64 %128, %126
%130 = or disjoint i64 %129, %125
store i64 %130, ptr %121, align 8
%131 = add nuw i64 %.4212, 1
br label %112
Expand Down
4 changes: 2 additions & 2 deletions bench/base64-rs/optimized/1a4jkh1d8jsuhv4c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ define hidden void @_ZN6base646engine15general_purpose6decode18complete_quads_le
10: ; preds = %22, %18, %6
%11 = tail call i64 @llvm.usub.sat.i64(i64 %2, i64 %3)
%12 = icmp eq i64 %3, 0
%13 = select i1 %12, i64 4, i64 0
%14 = tail call i64 @llvm.usub.sat.i64(i64 %11, i64 %13)
%13 = tail call i64 @llvm.usub.sat.i64(i64 %11, i64 4)
%14 = select i1 %12, i64 %13, i64 %11
%15 = lshr i64 %14, 2
%16 = mul nuw i64 %15, 3
%17 = icmp ult i64 %4, %16
Expand Down
158 changes: 79 additions & 79 deletions bench/boost/optimized/path.ll

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions bench/box2d/optimized/b2_collision.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1288,18 +1288,18 @@ for.body.us: ; preds = %for.cond11.for.cond
%indvars.iv96 = phi i64 [ %indvars.iv.next97, %for.cond11.for.cond.loopexit_crit_edge.us ], [ 0, %for.body.lr.ph ]
%cmp6.us = icmp samesign ult i64 %indvars.iv96, %2
%indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
%3 = and i64 %indvars.iv.next97, 4294967295
%arrayidx.us = getelementptr inbounds [8 x %struct.b2Vec2], ptr %hull, i64 0, i64 %indvars.iv96
%4 = load float, ptr %arrayidx.us, align 4
%3 = load float, ptr %arrayidx.us, align 4
%arrayidx.sroa_idx.us = getelementptr inbounds i8, ptr %arrayidx.us, i64 4
%5 = load float, ptr %arrayidx.sroa_idx.us, align 4
%idxprom8.us = select i1 %cmp6.us, i64 %3, i64 0
%4 = load float, ptr %arrayidx.sroa_idx.us, align 4
%5 = and i64 %indvars.iv.next97, 4294967295
%idxprom8.us = select i1 %cmp6.us, i64 %5, i64 0
%arrayidx9.us = getelementptr inbounds [8 x %struct.b2Vec2], ptr %hull, i64 0, i64 %idxprom8.us
%6 = load float, ptr %arrayidx9.us, align 4
%sub.i.us = fsub float %6, %4
%sub.i.us = fsub float %6, %3
%y.i.us = getelementptr inbounds i8, ptr %arrayidx9.us, i64 4
%7 = load float, ptr %y.i.us, align 4
%sub3.i.us = fsub float %7, %5
%sub3.i.us = fsub float %7, %4
%retval.sroa.0.0.vec.insert.i.us = insertelement <2 x float> poison, float %sub.i.us, i64 0
%retval.sroa.0.4.vec.insert.i.us = insertelement <2 x float> %retval.sroa.0.0.vec.insert.i.us, float %sub3.i.us, i64 1
%mul4.i.i.us = fmul float %sub3.i.us, %sub3.i.us
Expand Down Expand Up @@ -1333,10 +1333,10 @@ for.body14.us: ; preds = %_ZN6b2Vec29Normaliz
if.end19.us: ; preds = %for.body14.us
%arrayidx22.us = getelementptr inbounds [8 x %struct.b2Vec2], ptr %hull, i64 0, i64 %indvars.iv
%10 = load float, ptr %arrayidx22.us, align 4
%sub.i31.us = fsub float %10, %4
%sub.i31.us = fsub float %10, %3
%y.i32.us = getelementptr inbounds i8, ptr %arrayidx22.us, i64 4
%11 = load float, ptr %y.i32.us, align 4
%sub3.i34.us = fsub float %11, %5
%sub3.i34.us = fsub float %11, %4
%neg.i.us = fmul float %sub3.i34.us, %9
%12 = tail call noundef float @llvm.fmuladd.f32(float %sub.i31.us, float %e.sroa.0.4.vec.extract86.us, float %neg.i.us)
%cmp25.us = fcmp ult float %12, 0.000000e+00
Expand Down
14 changes: 7 additions & 7 deletions bench/bullet3/optimized/btGImpactBvh.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1809,16 +1809,16 @@ for.body42: ; preds = %for.end38, %for.con
%indvars.iv121 = phi i64 [ %indvars.iv.next122, %for.cond40.loopexit ], [ 0, %for.end38 ]
%indvars.iv.next122 = add nuw nsw i64 %indvars.iv121, 1
%41 = icmp eq i64 %indvars.iv.next122, 3
%42 = and i64 %indvars.iv.next122, 4294967295
%rem45.cmp = icmp eq i64 %indvars.iv121, 0
%43 = trunc i64 %indvars.iv121 to i32
%44 = add i32 %43, -1
%rem45 = select i1 %rem45.cmp, i32 2, i32 %44
%42 = trunc i64 %indvars.iv121 to i32
%43 = add i32 %42, -1
%rem45 = select i1 %rem45.cmp, i32 2, i32 %43
%cmp47 = icmp eq i64 %indvars.iv121, 2
%idxprom57 = zext nneg i32 %rem45 to i64
%arrayidx58 = getelementptr inbounds float, ptr %T, i64 %idxprom57
%45 = load float, ptr %arrayidx58, align 4
%idxprom.i89 = select i1 %41, i64 0, i64 %42
%44 = load float, ptr %arrayidx58, align 4
%45 = and i64 %indvars.iv.next122, 4294967295
%idxprom.i89 = select i1 %41, i64 0, i64 %45
%arrayidx.i90 = getelementptr inbounds [3 x %class.btVector3], ptr %m_R1to0, i64 0, i64 %idxprom.i89
%arrayidx66 = getelementptr inbounds float, ptr %T, i64 %idxprom.i89
%46 = load float, ptr %arrayidx66, align 4
Expand Down Expand Up @@ -1852,7 +1852,7 @@ for.body51: ; preds = %for.body42, %for.co
%50 = load float, ptr %arrayidx71, align 4
%51 = fneg float %50
%neg = fmul float %46, %51
%52 = tail call float @llvm.fmuladd.f32(float %45, float %49, float %neg)
%52 = tail call float @llvm.fmuladd.f32(float %44, float %49, float %neg)
%arrayidx80 = getelementptr inbounds float, ptr %arrayidx.i94, i64 %indvars.iv117
%53 = load float, ptr %arrayidx80, align 4
%arrayidx88 = getelementptr inbounds float, ptr %arrayidx.i96, i64 %indvars.iv117
Expand Down
18 changes: 9 additions & 9 deletions bench/c3c/optimized/file_utils.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -956,18 +956,18 @@ define dso_local void @file_add_wildcard_files(ptr nocapture noundef %0, ptr nou
%6 = alloca %struct.stat, align 8
%7 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #18
%8 = icmp eq i64 %7, 0
%9 = add i64 %7, -1
%spec.select54 = select i1 %8, ptr @.str.33, ptr %1
%10 = tail call ptr @opendir(ptr noundef %spec.select54)
%11 = select i1 %8, i64 1, i64 %9
%9 = tail call ptr @opendir(ptr noundef %spec.select54)
%10 = add i64 %7, -1
%11 = select i1 %8, i64 1, i64 %10
%12 = getelementptr inbounds i8, ptr %spec.select54, i64 %11
%13 = load i8, ptr %12, align 1
%14 = icmp eq i8 %13, 47
%.not = icmp eq ptr %10, null
%.not = icmp eq ptr %9, null
br i1 %.not, label %98, label %.preheader

.preheader: ; preds = %5
%15 = tail call ptr @readdir(ptr noundef nonnull %10) #17
%15 = tail call ptr @readdir(ptr noundef nonnull %9) #17
%.not5058 = icmp eq ptr %15, null
br i1 %.not5058, label %._crit_edge, label %.lr.ph

Expand Down Expand Up @@ -1126,7 +1126,7 @@ file_has_suffix_in_list.exit.thread.us: ; preds = %40, %26
br label %.backedge.us

.backedge.us: ; preds = %.lr.ph.split.us, %23, %85, %89, %91, %file_has_suffix_in_list.exit.thread.us, %81
%92 = tail call ptr @readdir(ptr noundef nonnull %10) #17
%92 = tail call ptr @readdir(ptr noundef nonnull %9) #17
%.not50.us = icmp eq ptr %92, null
br i1 %.not50.us, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !17

Expand All @@ -1148,7 +1148,7 @@ file_has_suffix_in_list.exit.thread.us59: ; preds = %.lr.ph.split.split.
br label %.backedge.us63

.backedge.us63: ; preds = %.lr.ph.split.split.us, %.lr.ph.split.split.us, %file_has_suffix_in_list.exit.thread.us59
%97 = tail call ptr @readdir(ptr noundef nonnull %10) #17
%97 = tail call ptr @readdir(ptr noundef nonnull %9) #17
%.not50.us64 = icmp eq ptr %97, null
br i1 %.not50.us64, label %._crit_edge, label %.lr.ph.split.split.us, !llvm.loop !17

Expand All @@ -1169,7 +1169,7 @@ file_has_suffix_in_list.exit.thread.us59: ; preds = %.lr.ph.split.split.
]

.backedge: ; preds = %.lr.ph.split.split, %.lr.ph.split.split, %107, %113, %111, %file_has_suffix_in_list.exit.thread
%104 = tail call ptr @readdir(ptr noundef nonnull %10) #17
%104 = tail call ptr @readdir(ptr noundef nonnull %9) #17
%.not50 = icmp eq ptr %104, null
br i1 %.not50, label %._crit_edge, label %.lr.ph.split.split, !llvm.loop !17

Expand All @@ -1195,7 +1195,7 @@ file_has_suffix_in_list.exit.thread: ; preds = %.lr.ph.split.split
br label %.backedge

._crit_edge: ; preds = %.backedge.us63, %.backedge, %.backedge.us, %.preheader
%114 = tail call i32 @closedir(ptr noundef nonnull %10)
%114 = tail call i32 @closedir(ptr noundef nonnull %9)
ret void
}

Expand Down
46 changes: 23 additions & 23 deletions bench/c3c/optimized/sema_stmts.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2028,14 +2028,14 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
%.0426.i = phi ptr [ %788, %785 ], [ null, %793 ], [ %799, %801 ]
%.0425.i = phi i32 [ 0, %785 ], [ %795, %793 ], [ 0, %801 ]
%816 = icmp ne i32 %.0425.i, 1
%817 = and i16 %509, 8
%818 = icmp ne i16 %817, 0
%819 = getelementptr inbounds i8, ptr %500, i64 16
%820 = getelementptr inbounds i8, ptr %.0408.i.lcssa347, i64 8
%.sroa.0.0.in.i = select i1 %.not472.i, ptr %820, ptr %819
%817 = getelementptr inbounds i8, ptr %500, i64 16
%818 = getelementptr inbounds i8, ptr %.0408.i.lcssa347, i64 8
%.sroa.0.0.in.i = select i1 %.not472.i, ptr %818, ptr %817
%.sroa.0.0.i = load i64, ptr %.sroa.0.0.in.i, align 8
%821 = call ptr @decl_new_generated_var(ptr noundef %.0418.i, i32 noundef 2, i64 %.sroa.0.0.i) #9
%822 = select i1 %816, i1 %818, i1 false
%819 = call ptr @decl_new_generated_var(ptr noundef %.0418.i, i32 noundef 2, i64 %.sroa.0.0.i) #9
%820 = and i16 %509, 8
%821 = icmp ne i16 %820, 0
%822 = select i1 %816, i1 %821, i1 false
%.not481.i = icmp eq ptr %.0426.i, null
br i1 %822, label %823, label %831

Expand All @@ -2045,7 +2045,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
824: ; preds = %823
%825 = load ptr, ptr @type_isz, align 8
%826 = zext i32 %.0425.i to i64
%827 = load i64, ptr %820, align 8
%827 = load i64, ptr %818, align 8
%828 = call ptr @expr_new_const_int(i64 %827, ptr noundef %825, i64 noundef %826) #9
br label %829

Expand All @@ -2058,7 +2058,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
br i1 %.not481.i, label %913, label %832

832: ; preds = %831
%833 = load i64, ptr %820, align 8
%833 = load i64, ptr %818, align 8
%834 = call ptr @decl_new_generated_var(ptr noundef %.0418.i, i32 noundef 2, i64 %833) #9
%835 = call zeroext i1 @cast_implicit_silent(ptr noundef nonnull %0, ptr noundef nonnull %.0426.i, ptr noundef %.0418.i) #9
br i1 %835, label %856, label %836
Expand All @@ -2067,7 +2067,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
%837 = load ptr, ptr %.0426.i, align 8
%838 = call ptr @type_quoted_error_string(ptr noundef %837) #9
%839 = call ptr @type_quoted_error_string(ptr noundef %.0418.i) #9
%840 = load i64, ptr %820, align 8
%840 = load i64, ptr %818, align 8
call void (i64, ptr, ...) @sema_error_at(i64 %840, ptr noundef nonnull @.str.52, ptr noundef %838, ptr noundef %839) #9
br i1 %.not476.i, label %848, label %841

Expand Down Expand Up @@ -2110,7 +2110,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427

864: ; preds = %829
%865 = call fastcc ptr @expand_(ptr noundef %.0409.i170)
%866 = call ptr @expr_generate_decl(ptr noundef %821, ptr noundef %.1427.i) #9
%866 = call ptr @expr_generate_decl(ptr noundef %819, ptr noundef %.1427.i) #9
%867 = getelementptr inbounds i8, ptr %865, i64 -8
%868 = load i32, ptr %867, align 4
%869 = add i32 %868, -1
Expand All @@ -2122,21 +2122,21 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
%874 = call ptr @expr_new(i32 noundef 27, i64 %873) #9
%875 = getelementptr inbounds i8, ptr %874, i64 24
store ptr %865, ptr %875, align 8
%876 = getelementptr inbounds i8, ptr %821, i64 16
%876 = getelementptr inbounds i8, ptr %819, i64 16
%877 = load i64, ptr %876, align 8
%878 = call ptr @expr_new(i32 noundef 3, i64 %877) #9
%879 = getelementptr inbounds i8, ptr %878, i64 24
%880 = getelementptr inbounds i8, ptr %878, i64 32
store i8 14, ptr %880, align 8
%881 = call ptr @expr_variable(ptr noundef %821) #9
%881 = call ptr @expr_variable(ptr noundef %819) #9
%882 = load ptr, ptr @expr_arena, align 8
%883 = ptrtoint ptr %881 to i64
%884 = ptrtoint ptr %882 to i64
%885 = sub i64 %883, %884
%886 = sdiv exact i64 %885, 56
%887 = trunc i64 %886 to i32
store i32 %887, ptr %879, align 8
%888 = load i64, ptr %820, align 8
%888 = load i64, ptr %818, align 8
%889 = call ptr @expr_new_const_int(i64 %888, ptr noundef %.0418.i, i64 noundef 0) #9
%890 = load ptr, ptr @expr_arena, align 8
%891 = ptrtoint ptr %889 to i64
Expand All @@ -2148,7 +2148,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
store i32 %895, ptr %896, align 4
%897 = load i64, ptr %876, align 8
%898 = call ptr @expr_new(i32 noundef 63, i64 %897) #9
%899 = call ptr @expr_variable(ptr noundef %821) #9
%899 = call ptr @expr_variable(ptr noundef %819) #9
%900 = getelementptr inbounds i8, ptr %898, i64 24
store ptr %899, ptr %900, align 8
%901 = getelementptr inbounds i8, ptr %898, i64 32
Expand All @@ -2173,11 +2173,11 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
913: ; preds = %856, %831
%.1422.i = phi ptr [ %834, %856 ], [ null, %831 ]
%.2.i79 = phi ptr [ %857, %856 ], [ %.0409.i170, %831 ]
%914 = getelementptr inbounds i8, ptr %821, i64 16
%914 = getelementptr inbounds i8, ptr %819, i64 16
%915 = load i64, ptr %914, align 8
%916 = call ptr @expr_new_const_int(i64 %915, ptr noundef %.0418.i, i64 noundef 0) #9
%917 = call fastcc ptr @expand_(ptr noundef %.2.i79)
%918 = call ptr @expr_generate_decl(ptr noundef %821, ptr noundef %916) #9
%918 = call ptr @expr_generate_decl(ptr noundef %819, ptr noundef %916) #9
%919 = getelementptr inbounds i8, ptr %917, i64 -8
%920 = load i32, ptr %919, align 4
%921 = add i32 %920, -1
Expand All @@ -2203,7 +2203,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
%935 = getelementptr inbounds i8, ptr %934, i64 24
%936 = getelementptr inbounds i8, ptr %934, i64 32
store i8 16, ptr %936, align 8
%937 = call ptr @expr_variable(ptr noundef nonnull %821) #9
%937 = call ptr @expr_variable(ptr noundef nonnull %819) #9
%938 = load ptr, ptr @expr_arena, align 8
%939 = ptrtoint ptr %937 to i64
%940 = ptrtoint ptr %938 to i64
Expand All @@ -2221,7 +2221,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
946: ; preds = %932
%947 = load ptr, ptr @type_isz, align 8
%948 = zext i32 %.0425.i to i64
%949 = load i64, ptr %820, align 8
%949 = load i64, ptr %818, align 8
%950 = call ptr @expr_new_const_int(i64 %949, ptr noundef %947, i64 noundef %948) #9
br label %951

Expand All @@ -2237,7 +2237,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
store i32 %.sink, ptr %956, align 4
%957 = load i64, ptr %914, align 8
%958 = call ptr @expr_new(i32 noundef 63, i64 %957) #9
%959 = call ptr @expr_variable(ptr noundef nonnull %821) #9
%959 = call ptr @expr_variable(ptr noundef nonnull %819) #9
%960 = getelementptr inbounds i8, ptr %958, i64 24
store ptr %959, ptr %960, align 8
%961 = getelementptr inbounds i8, ptr %958, i64 32
Expand All @@ -2260,7 +2260,7 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
store i8 15, ptr %968, align 4
%969 = getelementptr inbounds i8, ptr %967, i64 16
store ptr %500, ptr %969, align 8
%970 = call ptr @expr_variable(ptr noundef nonnull %821) #9
%970 = call ptr @expr_variable(ptr noundef nonnull %819) #9
%971 = call zeroext i1 @cast_explicit(ptr noundef nonnull %0, ptr noundef %970, ptr noundef %.0420.i) #9
br i1 %971, label %972, label %sema_analyse_foreach_stmt.exit.thread

Expand Down Expand Up @@ -2307,14 +2307,14 @@ sema_analyse_defer_stmt_body.exit.i: ; preds = %427
br i1 %816, label %1003, label %998

998: ; preds = %990
%999 = getelementptr inbounds i8, ptr %821, i64 72
%999 = getelementptr inbounds i8, ptr %819, i64 72
%1000 = load ptr, ptr %999, align 8
%1001 = load i64, ptr %964, align 8
%1002 = call ptr @expr_new_const_int(i64 %1001, ptr noundef %1000, i64 noundef 0) #9
br label %1005

1003: ; preds = %990
%1004 = call ptr @expr_variable(ptr noundef nonnull %821) #9
%1004 = call ptr @expr_variable(ptr noundef nonnull %819) #9
br label %1005

1005: ; preds = %1003, %998
Expand Down
Loading