Skip to content
Open
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
35 changes: 20 additions & 15 deletions bench/actix-rs/optimized/1heyflno2zbhb99l.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6918,6 +6918,7 @@ common.resume: ; preds = %288, %313, %"_ZN63_
br label %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17h46c1767d6835fc34E.exit.i"

"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17h46c1767d6835fc34E.exit.i": ; preds = %"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.14998522591088738574.exit.i.i.i.i54.i", %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$10alloc_cell17he4b94d347c2cc2a4E.exit.i"
call void @llvm.assume(i1 true) [ "align"(ptr %84, i64 8) ]
%.not25.i = icmp eq i64 %86, 0
br i1 %.not25.i, label %103, label %_ZN6brotli3enc9metablock17InitBlockSplitter17h19674f15767ad67bE.exit, !prof !34

Expand Down Expand Up @@ -6984,7 +6985,7 @@ common.resume: ; preds = %288, %313, %"_ZN63_

_ZN6brotli3enc9metablock17InitBlockSplitter17h19674f15767ad67bE.exit: ; preds = %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17h46c1767d6835fc34E.exit.i"
%110 = getelementptr inbounds nuw i8, ptr %84, i64 1032
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1032) %84, i8 0, i64 1032, i1 false), !noalias !653
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1032) %84, i8 0, i64 1032, i1 false), !noalias !653
store float 0x47EFFE0460000000, ptr %110, align 8, !alias.scope !712, !noalias !653
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.sroa.5.sroa.9.sroa.6, i8 0, i64 16, i1 false)
br label %193
Expand Down Expand Up @@ -7190,6 +7191,7 @@ _ZN6brotli3enc9metablock17InitBlockSplitter17h19674f15767ad67bE.exit: ; preds =
"_ZN4core3ptr102drop_in_place$LT$alloc_stdlib..heap_alloc..WrapBox$LT$brotli..enc..histogram..HistogramLiteral$GT$$GT$17ha0b1fb5210b18c59E.exit.i": ; preds = %"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.14998522591088738574.exit.i.i.i.i68", %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$10alloc_cell17he4b94d347c2cc2a4E.exit.i67"
store ptr %153, ptr %44, align 8, !alias.scope !718, !noalias !759
store i64 %155, ptr %156, align 8, !alias.scope !718, !noalias !759
call void @llvm.assume(i1 true) [ "align"(ptr %153, i64 8) ]
call void @llvm.experimental.noalias.scope.decl(metadata !774)
%172 = icmp ugt i64 %8, %155
br i1 %172, label %173, label %.lr.ph8.i.i
Expand Down Expand Up @@ -7428,6 +7430,7 @@ _ZN6brotli3enc9metablock24InitContextBlockSplitter17hb2d66d2627967bceE.exit: ; p
br label %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17he19dcc28844539a8E.exit.i"

"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17he19dcc28844539a8E.exit.i": ; preds = %"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.14998522591088738574.exit.i.i.i.i54.i93", %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$10alloc_cell17h2adc2247d443895eE.exit.i"
call void @llvm.assume(i1 true) [ "align"(ptr %230, i64 8) ]
%.not25.i94 = icmp eq i64 %232, 0
br i1 %.not25.i94, label %249, label %_ZN6brotli3enc9metablock17InitBlockSplitter17h4b5063fd3a1c0956E.exit, !prof !34

Expand Down Expand Up @@ -7494,7 +7497,7 @@ _ZN6brotli3enc9metablock24InitContextBlockSplitter17hb2d66d2627967bceE.exit: ; p

_ZN6brotli3enc9metablock17InitBlockSplitter17h4b5063fd3a1c0956E.exit: ; preds = %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17he19dcc28844539a8E.exit.i"
%256 = getelementptr inbounds nuw i8, ptr %230, i64 2824
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(2824) %230, i8 0, i64 2824, i1 false), !noalias !812
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(2824) %230, i8 0, i64 2824, i1 false), !noalias !812
store float 0x47EFFE0460000000, ptr %256, align 8, !alias.scope !871, !noalias !812
store <2 x i64> zeroinitializer, ptr %39, align 16
%.sroa.5151.0..sroa_idx = getelementptr inbounds nuw i8, ptr %39, i64 16
Expand Down Expand Up @@ -7648,6 +7651,7 @@ _ZN6brotli3enc9metablock17InitBlockSplitter17h4b5063fd3a1c0956E.exit: ; preds =
br label %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17h94ef054365d5118bE.exit.i"

"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17h94ef054365d5118bE.exit.i": ; preds = %"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.14998522591088738574.exit.i.i.i.i54.i124", %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$10alloc_cell17h35f347833c59cdd1E.exit.i"
call void @llvm.assume(i1 true) [ "align"(ptr %293, i64 8) ]
%.not25.i125 = icmp eq i64 %295, 0
br i1 %.not25.i125, label %312, label %_ZN6brotli3enc9metablock17InitBlockSplitter17he5294770bb896e69E.exit, !prof !34

Expand Down Expand Up @@ -7714,7 +7718,7 @@ _ZN6brotli3enc9metablock17InitBlockSplitter17h4b5063fd3a1c0956E.exit: ; preds =

_ZN6brotli3enc9metablock17InitBlockSplitter17he5294770bb896e69E.exit: ; preds = %"_ZN111_$LT$alloc_stdlib..std_alloc..StandardAlloc$u20$as$u20$alloc_no_stdlib..stack_allocator..Allocator$LT$T$GT$$GT$9free_cell17h94ef054365d5118bE.exit.i"
%319 = getelementptr inbounds nuw i8, ptr %293, i64 2184
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(2184) %293, i8 0, i64 2184, i1 false), !noalias !883
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(2184) %293, i8 0, i64 2184, i1 false), !noalias !883
store float 0x47EFFE0460000000, ptr %319, align 8, !alias.scope !942, !noalias !883
store <2 x i64> zeroinitializer, ptr %38, align 16
%.sroa.5158.0..sroa_idx = getelementptr inbounds nuw i8, ptr %38, i64 16
Expand Down Expand Up @@ -7829,31 +7833,32 @@ _ZN6brotli3enc9metablock17MapStaticContexts17h682d152ddce3049bE.exit: ; preds =
br i1 %exitcond9.not.i, label %_ZN6brotli3enc9metablock17MapStaticContexts17h682d152ddce3049bE.exit, label %.lr.ph.i

361: ; preds = %366, %.lr.ph.i
%.03.i = phi i64 [ 0, %.lr.ph.i ], [ %371, %366 ]
%.03.i = phi i64 [ 0, %.lr.ph.i ], [ %371, %368 ]
%exitcond.not.i = icmp eq i64 %.03.i, %10
br i1 %exitcond.not.i, label %365, label %362, !prof !34
br i1 %exitcond.not.i, label %367, label %362, !prof !34

362: ; preds = %361
%363 = add nuw nsw i64 %.03.i, %358
%364 = icmp ult i64 %363, %349
br i1 %364, label %366, label %372, !prof !228

365: ; preds = %361
%363 = getelementptr inbounds nuw i32, ptr %9, i64 %.03.i
%364 = load i32, ptr %363, align 4, !alias.scope !951, !noalias !954, !noundef !4
call void @llvm.assume(i1 true) [ "align"(ptr %347, i64 4) ]
%365 = add nuw nsw i64 %.03.i, %358
%366 = icmp ult i64 %365, %349
br i1 %366, label %368, label %372, !prof !228

367: ; preds = %361
call void @_ZN4core9panicking18panic_bounds_check17h5aa5e8a957e001f9E(i64 noundef %10, i64 noundef %10, ptr noalias noundef readonly align 8 dereferenceable(24) @anon.3805415b65ff0bcf60b60eb7923a431b.78) #25, !noalias !956
unreachable

366: ; preds = %362
%367 = getelementptr inbounds nuw i32, ptr %9, i64 %.03.i
%368 = load i32, ptr %367, align 4, !alias.scope !951, !noalias !954, !noundef !4
%369 = add i32 %368, %357
%370 = getelementptr inbounds i32, ptr %347, i64 %363
%369 = add i32 %364, %357
%370 = getelementptr inbounds i32, ptr %347, i64 %365
store i32 %369, ptr %370, align 4, !noalias !956
%371 = add nuw nsw i64 %.03.i, 1
%exitcond8.not.i = icmp eq i64 %371, 64
br i1 %exitcond8.not.i, label %359, label %361

372: ; preds = %362
call void @_ZN4core9panicking18panic_bounds_check17h5aa5e8a957e001f9E(i64 noundef %363, i64 noundef %349, ptr noalias noundef readonly align 8 dereferenceable(24) @anon.3805415b65ff0bcf60b60eb7923a431b.79) #25, !noalias !956
call void @_ZN4core9panicking18panic_bounds_check17h5aa5e8a957e001f9E(i64 noundef %365, i64 noundef %349, ptr noalias noundef readonly align 8 dereferenceable(24) @anon.3805415b65ff0bcf60b60eb7923a431b.79) #25, !noalias !956
unreachable

373: ; preds = %332
Expand Down
1 change: 1 addition & 0 deletions bench/actix-rs/optimized/2d9c72efneckaqzp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3846,6 +3846,7 @@ define hidden void @_ZN7tracing4span4Span3log17h8de998eae76ae2c4E.llvm.106998240
br i1 %.not, label %19, label %13

13: ; preds = %5
call void @llvm.assume(i1 true) [ "align"(ptr %12, i64 8) ]
%14 = load i64, ptr %12, align 8, !range !329, !noundef !4
%switch.tableidx = add nsw i64 %14, -1
%15 = icmp ult i64 %switch.tableidx, 4
Expand Down
11 changes: 7 additions & 4 deletions bench/actix-rs/optimized/4pmtvrahn6eloepe.ll
Original file line number Diff line number Diff line change
Expand Up @@ -5343,13 +5343,16 @@ define internal fastcc noundef i64 @_ZN6brotli3enc19backward_references2hq11Upda
%39 = fadd float %36, %38
%40 = getelementptr inbounds nuw i8, ptr %34, i64 16
%41 = load i64, ptr %40, align 8, !noundef !13
call void @llvm.assume(i1 true) [ "align"(ptr %.val165, i64 4) ]
%42 = icmp ult i64 %2, %.val166
br i1 %42, label %43, label %46, !prof !216

43: ; preds = %17
%44 = getelementptr inbounds float, ptr %.val165, i64 %2
%45 = icmp ult i64 %41, %.val166
br i1 %45, label %_ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae77380cc67f69E.exit, label %47, !prof !216
%45 = load float, ptr %44, align 4, !noundef !13
call void @llvm.assume(i1 true) [ "align"(ptr %.val165, i64 4) ]
%46 = icmp ult i64 %41, %.val166
br i1 %46, label %_ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae77380cc67f69E.exit, label %48, !prof !216

46: ; preds = %17
tail call void @_ZN4core9panicking18panic_bounds_check17h5aa5e8a957e001f9E(i64 noundef %2, i64 noundef %.val166, ptr noalias noundef readonly align 8 dereferenceable(24) @anon.854811f44bca550c56cb6f681a6a9a44.194) #31
Expand All @@ -5360,7 +5363,6 @@ define internal fastcc noundef i64 @_ZN6brotli3enc19backward_references2hq11Upda
unreachable

_ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae77380cc67f69E.exit: ; preds = %43
%48 = load float, ptr %44, align 4, !noundef !13
%49 = getelementptr inbounds float, ptr %.val165, i64 %41
%50 = load float, ptr %49, align 4, !noundef !13
tail call void @llvm.experimental.noalias.scope.decl(metadata !599)
Expand All @@ -5369,7 +5371,7 @@ _ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae773
br i1 %.not.i277, label %_ZN6brotli3enc19backward_references2hq24ComputeMinimumCopyLength17hf9f5703b1fddf642E.exit, label %.lr.ph.preheader

.lr.ph.preheader: ; preds = %_ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae77380cc67f69E.exit
%52 = fsub float %48, %50
%52 = fsub float %45, %50
%53 = fadd float %39, %52
br label %.lr.ph

Expand Down Expand Up @@ -5518,6 +5520,7 @@ _ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae773
%133 = load i32, ptr %132, align 4, !noundef !13
%134 = uitofp i32 %133 to float
%135 = fadd float %131, %134
call void @llvm.assume(i1 true) [ "align"(ptr %.val165, i64 4) ]
%136 = load float, ptr %44, align 4, !noundef !13
%137 = load float, ptr %.val165, align 4, !noundef !13
%138 = fsub float %136, %137
Expand Down
7 changes: 7 additions & 0 deletions bench/coreutils-rs/optimized/2i3dvgzkmy2gn6v1.ll
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ define hidden { ptr, ptr } @"_ZN106_$LT$itertools..merge_join..MergeBy$LT$I$C$J$
br label %"_ZN107_$LT$core..iter..adapters..fuse..Fuse$LT$I$GT$$u20$as$u20$core..iter..adapters..fuse..FuseImpl$LT$I$GT$$GT$4next17h8726aa220fcf0071E.exit"

17: ; preds = %1
call void @llvm.assume(i1 true) [ "align"(ptr %4, i64 8) ]
%18 = getelementptr inbounds nuw i8, ptr %0, i64 16
%19 = load ptr, ptr %18, align 8
store ptr null, ptr %3, align 8
Expand Down Expand Up @@ -613,6 +614,7 @@ define hidden { ptr, ptr } @"_ZN106_$LT$itertools..merge_join..MergeBy$LT$I$C$J$
br label %"_ZN107_$LT$core..iter..adapters..fuse..Fuse$LT$I$GT$$u20$as$u20$core..iter..adapters..fuse..FuseImpl$LT$I$GT$$GT$4next17h6c759468556d4a47E.exit"

34: ; preds = %"_ZN107_$LT$core..iter..adapters..fuse..Fuse$LT$I$GT$$u20$as$u20$core..iter..adapters..fuse..FuseImpl$LT$I$GT$$GT$4next17h8726aa220fcf0071E.exit"
call void @llvm.assume(i1 true) [ "align"(ptr %21, i64 8) ]
%35 = getelementptr inbounds nuw i8, ptr %0, i64 56
%36 = load ptr, ptr %35, align 8
store ptr null, ptr %20, align 8
Expand Down Expand Up @@ -716,6 +718,7 @@ define hidden { ptr, ptr } @"_ZN106_$LT$itertools..merge_join..MergeBy$LT$I$C$J$
br label %"_ZN107_$LT$core..iter..adapters..fuse..Fuse$LT$I$GT$$u20$as$u20$core..iter..adapters..fuse..FuseImpl$LT$I$GT$$GT$4next17ha8913137507c2e2bE.exit"

17: ; preds = %1
call void @llvm.assume(i1 true) [ "align"(ptr %4, i64 8) ]
%18 = getelementptr inbounds nuw i8, ptr %0, i64 16
%19 = load ptr, ptr %18, align 8
store ptr null, ptr %3, align 8
Expand Down Expand Up @@ -747,6 +750,7 @@ define hidden { ptr, ptr } @"_ZN106_$LT$itertools..merge_join..MergeBy$LT$I$C$J$
br label %"_ZN107_$LT$core..iter..adapters..fuse..Fuse$LT$I$GT$$u20$as$u20$core..iter..adapters..fuse..FuseImpl$LT$I$GT$$GT$4next17h19b5b282ae7b2555E.exit"

34: ; preds = %"_ZN107_$LT$core..iter..adapters..fuse..Fuse$LT$I$GT$$u20$as$u20$core..iter..adapters..fuse..FuseImpl$LT$I$GT$$GT$4next17ha8913137507c2e2bE.exit"
call void @llvm.assume(i1 true) [ "align"(ptr %21, i64 8) ]
%35 = getelementptr inbounds nuw i8, ptr %0, i64 56
%36 = load ptr, ptr %35, align 8
store ptr null, ptr %20, align 8
Expand Down Expand Up @@ -937,6 +941,7 @@ define hidden { ptr, ptr } @"_ZN107_$LT$itertools..tuple_impl..TupleWindows$LT$I
%13 = load ptr, ptr %12, align 8, !alias.scope !198, !noalias !201, !nonnull !4, !align !5, !noundef !4
store ptr %5, ptr %12, align 8, !alias.scope !198, !noalias !201
store ptr %13, ptr %9, align 8, !alias.scope !198, !noalias !201
call void @llvm.assume(i1 true) [ "align"(ptr %5, i64 8) ]
br label %"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17ha7f8b4c2315f99f3E.llvm.687266931824691263.exit.thread"

14: ; preds = %7
Expand Down Expand Up @@ -1178,6 +1183,7 @@ define hidden noundef align 8 dereferenceable_or_null(24) ptr @"_ZN117_$LT$itert
br i1 %28, label %20, label %29

29: ; preds = %23
call void @llvm.assume(i1 true) [ "align"(ptr %.01826, i64 8) ]
store i64 1, ptr %0, align 8, !noalias !307
%30 = getelementptr inbounds nuw i8, ptr %0, i64 8
store ptr %21, ptr %30, align 8, !noalias !307
Expand Down Expand Up @@ -1329,6 +1335,7 @@ define hidden noundef align 8 dereferenceable_or_null(24) ptr @"_ZN117_$LT$itert
br i1 %28, label %20, label %29

29: ; preds = %23
call void @llvm.assume(i1 true) [ "align"(ptr %.01826, i64 8) ]
store i64 1, ptr %0, align 8, !noalias !393
%30 = getelementptr inbounds nuw i8, ptr %0, i64 8
store ptr %21, ptr %30, align 8, !noalias !393
Expand Down
Loading