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
2 changes: 1 addition & 1 deletion bench/abc/optimized/abcBm.ll
Original file line number Diff line number Diff line change
Expand Up @@ -11930,7 +11930,7 @@ Abc_Clock.exit367: ; preds = %Abc_Clock.exit365,
%215 = add nsw i32 %.0, 1
%.1 = select i1 %or.cond, i32 0, i32 %215
%.not303 = icmp eq i32 %211, %212
%.pre464.pre = load i32, ptr %8, align 4, !tbaa !34
%.pre464.pre = load i32, ptr %8, align 4
br i1 %.not303, label %216, label %220

216: ; preds = %._crit_edge417
Expand Down
3 changes: 2 additions & 1 deletion bench/actix-rs/optimized/47vbyna8d7p4fmvu.ll
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ define void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6to_vec17
34: ; preds = %31
%35 = getelementptr inbounds [0 x { [3 x i64] }], ptr %17, i64 0, i64 %26
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 24, i1 false)
%.pr = load i64, ptr %.sroa.2.0..sroa_idx, align 8
%.pr = load i64, ptr %.sroa.2.0..sroa_idx, align 8, !noundef !4
%36 = icmp eq i64 %.pr, 0
br i1 %36, label %.thread, label %.lr.ph

Expand Down Expand Up @@ -196,3 +196,4 @@ attributes #8 = { cold noreturn nounwind }
!1 = !{i32 2, !"RtLibUseGOT", i32 1}
!2 = !{!"rustc version 1.77.2 (25ef9e3d8 2024-04-09)"}
!3 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!4 = !{}
27 changes: 12 additions & 15 deletions bench/actix-rs/optimized/xcr5yeosl21p44j.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ define hidden noundef ptr @_ZN3std2io5Write9write_all17h1df388d751b6a139E(ptr no
.lr.ph: ; preds = %3
%5 = getelementptr inbounds nuw i8, ptr %0, i64 8
%6 = getelementptr inbounds nuw i8, ptr %0, i64 16
%.val.i.pre = load i64, ptr %5, align 8, !alias.scope !133, !noalias !136
%.val.i.pre = load i64, ptr %5, align 8, !alias.scope !133, !noalias !136, !noundef !7
br label %7

7: ; preds = %.lr.ph, %20
Expand All @@ -1321,7 +1321,7 @@ define hidden noundef ptr @_ZN3std2io5Write9write_all17h1df388d751b6a139E(ptr no

11: ; preds = %.lr.ph.split.us.i.i
tail call void @_ZN5bytes9bytes_mut8BytesMut13reserve_inner17h32ec46cc31f523baE(ptr noalias noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %.0.sroa.speculated.i.i), !noalias !144
%.pre.i.us.i.i = load i64, ptr %5, align 8, !alias.scope !139, !noalias !144
%.pre.i.us.i.i = load i64, ptr %5, align 8, !alias.scope !139, !noalias !144, !noundef !7
br label %12

12: ; preds = %11, %.lr.ph.split.us.i.i
Expand Down Expand Up @@ -1370,7 +1370,7 @@ define hidden noundef ptr @_ZN3std2io5Write9write_fmt17h10b1225c49bd4acbE(ptr no
to label %19 unwind label %17

9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %5, align 8, !noundef !7
%.not = icmp eq ptr %10, null
br i1 %6, label %11, label %12

Expand Down Expand Up @@ -1430,7 +1430,7 @@ define hidden noundef ptr @_ZN3std2io5Write9write_fmt17hb8c286a7d630952bE(ptr no
to label %19 unwind label %17

9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %5, align 8, !noundef !7
%.not = icmp eq ptr %10, null
br i1 %6, label %11, label %12

Expand Down Expand Up @@ -5159,7 +5159,7 @@ define internal fastcc void @"_ZN5tokio3net3tcp6stream9TcpStream11connect_mio28_

._crit_edge: ; preds = %3
%.phi.trans.insert = getelementptr inbounds nuw i8, ptr %1, i64 24
%.pre = load ptr, ptr %.phi.trans.insert, align 8, !alias.scope !985, !noalias !990
%.pre = load ptr, ptr %.phi.trans.insert, align 8, !alias.scope !985, !noalias !990, !nonnull !7, !align !25, !noundef !7
br label %24

default.unreachable37: ; preds = %3
Expand Down Expand Up @@ -14531,7 +14531,7 @@ common.ret: ; preds = %297, %159, %85
89: ; preds = %3
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %.sroa.077)
%.phi.trans.insert = getelementptr inbounds nuw i8, ptr %1, i64 136
%.pre = load i8, ptr %.phi.trans.insert, align 8, !range !20, !noalias !2778
%.pre = load i8, ptr %.phi.trans.insert, align 8, !range !20, !noalias !2778, !noundef !7
%90 = getelementptr inbounds nuw i8, ptr %1, i64 56
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12)
%91 = getelementptr inbounds nuw i8, ptr %1, i64 136
Expand Down Expand Up @@ -14757,7 +14757,7 @@ common.ret: ; preds = %297, %159, %85

164: ; preds = %3
%.phi.trans.insert131 = getelementptr inbounds nuw i8, ptr %1, i64 88
%.pre132 = load i8, ptr %.phi.trans.insert131, align 8, !range !236, !noalias !2825
%.pre132 = load i8, ptr %.phi.trans.insert131, align 8, !range !236, !noalias !2825, !noundef !7
%165 = getelementptr inbounds nuw i8, ptr %1, i64 56
%166 = getelementptr inbounds nuw i8, ptr %1, i64 88
switch i8 %.pre132, label %default.unreachable133 [
Expand Down Expand Up @@ -14863,7 +14863,7 @@ common.ret: ; preds = %297, %159, %85
198: ; preds = %164
call void @llvm.lifetime.start.p0(i64 6, ptr nonnull %.sroa.0.sroa.8.i)
%.phi.trans.insert99.i = getelementptr inbounds nuw i8, ptr %1, i64 176
%.pre.i = load i8, ptr %.phi.trans.insert99.i, align 8, !range !20, !noalias !2837
%.pre.i = load i8, ptr %.phi.trans.insert99.i, align 8, !range !20, !noalias !2837, !noundef !7
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8), !noalias !2825
switch i8 %.pre.i, label %default.unreachable133 [
i8 0, label %199
Expand Down Expand Up @@ -14977,7 +14977,7 @@ common.ret: ; preds = %297, %159, %85
.body.i: ; preds = %.invoke.i
%234 = landingpad { ptr, i32 }
cleanup
%.pr.i = load i8, ptr %.phi.trans.insert99.i, align 8, !noalias !2825
%.pr.i = load i8, ptr %.phi.trans.insert99.i, align 8, !range !20, !noalias !2825, !noundef !7
%cond.i40.i = icmp eq i8 %.pr.i, 3
br i1 %cond.i40.i, label %287, label %"_ZN4core3ptr98drop_in_place$LT$tokio..net..tcp..stream..TcpStream..connect_addr..$u7b$$u7b$closure$u7d$$u7d$$GT$17ha9c958c9f3a9146aE.exit42.i"

Expand Down Expand Up @@ -15328,7 +15328,7 @@ define hidden void @"_ZN95_$LT$awc..any_body..AnyBody$LT$B$GT$$u20$as$u20$actix_
i64 2, label %14
]

default.unreachable15: ; preds = %3
default.unreachable15: ; preds = %"_ZN96_$LT$actix_http..body..boxed..BoxBody$u20$as$u20$actix_http..body..message_body..MessageBody$GT$9poll_next17hb2260de9f08011aaE.exit", %3
unreachable

9: ; preds = %3
Expand Down Expand Up @@ -15390,22 +15390,19 @@ default.unreachable13.i: ; preds = %14
%26 = getelementptr inbounds nuw i8, ptr %25, i64 32
%27 = load ptr, ptr %26, align 8, !invariant.load !7, !noalias !2893, !nonnull !7
call void %27(ptr noalias noundef nonnull sret({ i64, [4 x i64] }) align 8 captures(none) dereferenceable(40) %4, ptr noundef nonnull align 1 %23, ptr noalias noundef nonnull align 8 dereferenceable(8) %2), !noalias !2878
%.pr.pre = load i64, ptr %4, align 8, !alias.scope !2894, !noalias !2897
%.pr.pre = load i64, ptr %4, align 8, !range !196, !alias.scope !2894, !noalias !2897, !noundef !7
br label %"_ZN96_$LT$actix_http..body..boxed..BoxBody$u20$as$u20$actix_http..body..message_body..MessageBody$GT$9poll_next17hb2260de9f08011aaE.exit"

"_ZN96_$LT$actix_http..body..boxed..BoxBody$u20$as$u20$actix_http..body..message_body..MessageBody$GT$9poll_next17hb2260de9f08011aaE.exit": ; preds = %"_ZN4core4task4poll73Poll$LT$core..option..Option$LT$core..result..Result$LT$T$C$E$GT$$GT$$GT$7map_err17h5932f6a338462a96E.exit.i", %22
%.pr = phi i64 [ %.pr14, %"_ZN4core4task4poll73Poll$LT$core..option..Option$LT$core..result..Result$LT$T$C$E$GT$$GT$$GT$7map_err17h5932f6a338462a96E.exit.i" ], [ %.pr.pre, %22 ]
tail call void @llvm.experimental.noalias.scope.decl(metadata !2897)
tail call void @llvm.experimental.noalias.scope.decl(metadata !2894)
switch i64 %.pr, label %default.unreachable9.i [
switch i64 %.pr, label %default.unreachable15 [
i64 2, label %28
i64 0, label %"_ZN96_$LT$actix_http..body..boxed..BoxBody$u20$as$u20$actix_http..body..message_body..MessageBody$GT$9poll_next17hb2260de9f08011aaE.exit.thread"
i64 1, label %29
]

default.unreachable9.i: ; preds = %"_ZN96_$LT$actix_http..body..boxed..BoxBody$u20$as$u20$actix_http..body..message_body..MessageBody$GT$9poll_next17hb2260de9f08011aaE.exit"
unreachable

28: ; preds = %"_ZN96_$LT$actix_http..body..boxed..BoxBody$u20$as$u20$actix_http..body..message_body..MessageBody$GT$9poll_next17hb2260de9f08011aaE.exit"
store i64 2, ptr %0, align 8, !alias.scope !2897, !noalias !2894
br label %"_ZN4core4task4poll73Poll$LT$core..option..Option$LT$core..result..Result$LT$T$C$E$GT$$GT$$GT$7map_err17hd8130d6a731f9657E.exit"
Expand Down
12 changes: 6 additions & 6 deletions bench/anki-rs/optimized/2lb7ct7ebbwm4pw.ll
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ define void @"_ZN111_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..spec_fr
to label %.noexc3 unwind label %37

.noexc3: ; preds = %27
%.pre.i.i = load i64, ptr %20, align 8
%.pre = load ptr, ptr %10, align 8
%.pre.i.i = load i64, ptr %20, align 8, !noundef !3
%.pre = load ptr, ptr %10, align 8, !nonnull !3, !noundef !3
br label %"_ZN5alloc3vec16Vec$LT$T$C$A$GT$14extend_trusted17h2813d92712d12179E.exit.i"

28: ; preds = %.noexc
Expand Down Expand Up @@ -328,7 +328,7 @@ define void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$14extend_trusted17h2813d92712d12179

18: ; preds = %9
call void @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17h55ac8100598f2ecdE"(ptr nonnull align 8 %0, i64 %13, i64 %11)
%.pre = load i64, ptr %12, align 8
%.pre = load i64, ptr %12, align 8, !noundef !3
br label %"_ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17h8a219221f1f2d983E.exit"

"_ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17h8a219221f1f2d983E.exit": ; preds = %9, %18
Expand Down Expand Up @@ -388,7 +388,7 @@ define void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$14extend_trusted17h82cc00910141d6a4
to label %"._ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17hf651c1b5f921f230E.exit_crit_edge" unwind label %31

"._ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17hf651c1b5f921f230E.exit_crit_edge": ; preds = %19
%.pre = load i64, ptr %13, align 8
%.pre = load i64, ptr %13, align 8, !noundef !3
br label %"_ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17hf651c1b5f921f230E.exit"

"_ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17hf651c1b5f921f230E.exit": ; preds = %"._ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17hf651c1b5f921f230E.exit_crit_edge", %10
Expand Down Expand Up @@ -466,7 +466,7 @@ define void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$14extend_trusted17hd60bade151dc9335
to label %"._ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17ha3346fd714ae426cE.exit_crit_edge" unwind label %31

"._ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17ha3346fd714ae426cE.exit_crit_edge": ; preds = %19
%.pre = load i64, ptr %13, align 8
%.pre = load i64, ptr %13, align 8, !noundef !3
br label %"_ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17ha3346fd714ae426cE.exit"

"_ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17ha3346fd714ae426cE.exit": ; preds = %"._ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17ha3346fd714ae426cE.exit_crit_edge", %10
Expand Down Expand Up @@ -786,7 +786,7 @@ define void @"_ZN97_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$alloc..vec..spec

18: ; preds = %9
call void @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17h55ac8100598f2ecdE"(ptr nonnull align 8 %0, i64 %13, i64 %11)
%.pre.i = load i64, ptr %12, align 8
%.pre.i = load i64, ptr %12, align 8, !noundef !3
br label %"_ZN5alloc3vec16Vec$LT$T$C$A$GT$14extend_trusted17h2813d92712d12179E.exit"

19: ; preds = %2
Expand Down
15 changes: 7 additions & 8 deletions bench/box2d/optimized/imgui_demo.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3218,7 +3218,7 @@ _ZN8ImVectorIP10MyDocumentE9push_backERKS1_.exit.i: ; preds = %279, %._ZN8ImVect

323: ; preds = %319
tail call void @_ZN5ImGui16SetTabItemClosedEPKc(ptr noundef nonnull %.013.i.i)
%.pre.i101.i = load i8, ptr %316, align 4, !tbaa !20, !range !11
%.pre.i101.i = load i8, ptr %316, align 4, !tbaa !20, !range !11, !noundef !12
br label %324

324: ; preds = %323, %319, %.lr.ph.i.i
Expand Down Expand Up @@ -22750,7 +22750,7 @@ _ZN12_GLOBAL__N_16MyItem17SortWithSortSpecsEP19ImGuiTableSortSpecsPS0_i.exit664:

1833: ; preds = %1830
call void @_ZN5ImGui21TableAngledHeadersRowEv()
%.pre958 = load i8, ptr @_ZZL20ShowDemoWindowTablesvE12show_headers_0, align 1, !tbaa !29, !range !11
%.pre958 = load i8, ptr @_ZZL20ShowDemoWindowTablesvE12show_headers_0, align 1, !tbaa !29, !range !11, !noundef !12
%1834 = trunc nuw i8 %.pre958 to i1
br i1 %1834, label %.thread966, label %.thread967

Expand Down Expand Up @@ -26415,7 +26415,7 @@ _ZN16ImGuiListClipper18IncludeItemByIndexEi.exit313: ; preds = %807, %_ZN16ImGui
%815 = getelementptr inbounds nuw i8, ptr %38, i64 4
%816 = getelementptr inbounds nuw i8, ptr %39, i64 4
%817 = getelementptr inbounds nuw i8, ptr %40, i64 4
%.pre121 = load i8, ptr @_ZZL25ShowDemoWindowMultiSelectP19ImGuiDemoWindowDataE11use_clipper, align 1, !tbaa !29, !range !11
%.pre121 = load i8, ptr @_ZZL25ShowDemoWindowMultiSelectP19ImGuiDemoWindowDataE11use_clipper, align 1, !tbaa !29, !range !11, !noundef !12
%sext = sext i32 %788 to i64
br label %.backedge

Expand All @@ -26436,9 +26436,8 @@ _ZN16ImGuiListClipper18IncludeItemByIndexEi.exit313: ; preds = %807, %_ZN16ImGui
br i1 %822, label %.critedge, label %1008

.critedge: ; preds = %823
%.pre122 = load i8, ptr @_ZZL25ShowDemoWindowMultiSelectP19ImGuiDemoWindowDataE11use_clipper, align 1, !tbaa !29, !range !11
%.pre122.fr = freeze i8 %.pre122
%.pre127 = trunc i8 %.pre122.fr to i1
%.pre122 = load i8, ptr @_ZZL25ShowDemoWindowMultiSelectP19ImGuiDemoWindowDataE11use_clipper, align 1, !tbaa !29, !range !11, !noundef !12
%.pre127 = trunc nuw i8 %.pre122 to i1
%824 = load i32, ptr %810, align 8
%825 = load i32, ptr %811, align 4
br i1 %.pre127, label %828, label %826
Expand All @@ -26450,7 +26449,7 @@ _ZN16ImGuiListClipper18IncludeItemByIndexEi.exit313: ; preds = %807, %_ZN16ImGui
828: ; preds = %826, %.critedge, %.thread
%829 = phi i32 [ 0, %.thread ], [ %824, %.critedge ], [ 0, %826 ]
%.pre-phi135139 = phi i1 [ false, %.thread ], [ true, %.critedge ], [ false, %826 ]
%830 = phi i8 [ 0, %.thread ], [ %.pre122.fr, %.critedge ], [ %.pre122.fr, %826 ]
%830 = phi i8 [ 0, %.thread ], [ %.pre122, %.critedge ], [ %.pre122, %826 ]
%831 = phi i32 [ %820, %.thread ], [ %825, %.critedge ], [ %827, %826 ]
%832 = icmp slt i32 %829, %831
br i1 %832, label %.lr.ph73.preheader, label %._crit_edge74
Expand All @@ -26460,7 +26459,7 @@ _ZN16ImGuiListClipper18IncludeItemByIndexEi.exit313: ; preds = %807, %_ZN16ImGui
br label %.lr.ph73

._crit_edge74.loopexit: ; preds = %1006
%.pre123 = load i8, ptr @_ZZL25ShowDemoWindowMultiSelectP19ImGuiDemoWindowDataE11use_clipper, align 1, !tbaa !29, !range !11
%.pre123 = load i8, ptr @_ZZL25ShowDemoWindowMultiSelectP19ImGuiDemoWindowDataE11use_clipper, align 1, !tbaa !29, !range !11, !noundef !12
%.pre128 = trunc nuw i8 %.pre123 to i1
br i1 %.pre128, label %.backedge.backedge, label %1008

Expand Down
6 changes: 3 additions & 3 deletions bench/chibicc/optimized/parse.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ find_func.exit: ; preds = %28
%54 = load ptr, ptr %4, align 8, !tbaa !25
%55 = call zeroext i1 @equal(ptr noundef %54, ptr noundef nonnull @.str.25) #13
%56 = zext i1 %55 to i8
%.pre64.pre = load i8, ptr %41, align 2, !tbaa !54, !range !58
%.pre64.pre = load i8, ptr %41, align 2, !tbaa !54, !range !58, !noundef !59
br label %57

57: ; preds = %53, %50
Expand Down Expand Up @@ -1329,7 +1329,7 @@ find_func.exit: ; preds = %28
%77 = load i8, ptr %76, align 1, !tbaa !76, !range !58, !noundef !59
%78 = trunc nuw i8 %77 to i1
%.phi.trans.insert = getelementptr inbounds nuw i8, ptr %2, i64 3
%.pre = load i8, ptr %.phi.trans.insert, align 1, !tbaa !78, !range !58
%.pre = load i8, ptr %.phi.trans.insert, align 1, !tbaa !78, !range !58, !noundef !59
br i1 %78, label %._crit_edge, label %79

79: ; preds = %59
Expand Down Expand Up @@ -30909,7 +30909,7 @@ string_initializer.exit: ; preds = %80, %64, %48, %42,
%105 = tail call ptr @array_of(ptr noundef %104, i32 noundef %101) #13
%106 = tail call fastcc ptr @new_initializer(ptr noundef %105, i1 noundef zeroext false)
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(56) %106, i64 56, i1 false), !tbaa.struct !195
%.pre64 = load i8, ptr %96, align 8, !tbaa !191, !range !58
%.pre64 = load i8, ptr %96, align 8, !tbaa !191, !range !58, !noundef !59
%107 = trunc nuw i8 %.pre64 to i1
br i1 %107, label %108, label %.thread69

Expand Down
4 changes: 2 additions & 2 deletions bench/clap-rs/optimized/58cs3pckwcmstm46.ll
Original file line number Diff line number Diff line change
Expand Up @@ -13353,8 +13353,8 @@ define hidden void @"_ZN81_$LT$alloc..vec..splice..Splice$LT$I$C$A$GT$$u20$as$u2
to label %._crit_edge unwind label %37

._crit_edge: ; preds = %75
%.pre = load ptr, ptr %42, align 8, !alias.scope !6578
%.pre11 = load ptr, ptr %43, align 8, !alias.scope !6581, !noalias !6586
%.pre = load ptr, ptr %42, align 8, !alias.scope !6578, !noundef !4
%.pre11 = load ptr, ptr %43, align 8, !alias.scope !6581, !noalias !6586, !noundef !4
br label %44
}

Expand Down
Loading