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
65 changes: 31 additions & 34 deletions bench/actix-rs/optimized/4jlfyqkak9x9x2yv.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3489,19 +3489,19 @@ define noundef zeroext i1 @"_ZN76_$LT$actix_router..resource..ResourceDef$u20$as

6: ; preds = %2
%trunc.i = trunc nuw i64 %3 to i1
br i1 %trunc.i, label %15, label %7
%7 = getelementptr inbounds nuw i8, ptr %0, i64 24
br i1 %trunc.i, label %15, label %8

7: ; preds = %6
%8 = icmp eq i64 %3, 0
tail call void @llvm.assume(i1 %8)
%9 = getelementptr inbounds nuw i8, ptr %0, i64 24
%.val3.i = load i64, ptr %9, align 8, !alias.scope !446, !noalias !449, !noundef !5
8: ; preds = %6
%9 = icmp eq i64 %3, 0
tail call void @llvm.assume(i1 %9)
%.val3.i = load i64, ptr %7, align 8, !alias.scope !446, !noalias !449, !noundef !5
%10 = getelementptr inbounds nuw i8, ptr %1, i64 24
%.val5.i = load i64, ptr %10, align 8, !alias.scope !449, !noalias !446, !noundef !5
%.not.i.i.i = icmp eq i64 %.val3.i, %.val5.i
br i1 %.not.i.i.i, label %11, label %"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit"

11: ; preds = %7
11: ; preds = %8
%12 = getelementptr inbounds nuw i8, ptr %1, i64 16
%.val4.i = load ptr, ptr %12, align 8, !alias.scope !449, !noalias !446, !nonnull !5, !noundef !5
%13 = getelementptr inbounds nuw i8, ptr %0, i64 16
Expand All @@ -3511,38 +3511,35 @@ define noundef zeroext i1 @"_ZN76_$LT$actix_router..resource..ResourceDef$u20$as
br label %"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit"

15: ; preds = %6
%16 = icmp ne i64 %3, 0
tail call void @llvm.assume(i1 %16)
%17 = getelementptr inbounds nuw i8, ptr %0, i64 16
%.val6.i = load ptr, ptr %17, align 8, !alias.scope !446, !noalias !449, !nonnull !5, !noundef !5
%18 = getelementptr inbounds nuw i8, ptr %0, i64 24
%.val7.i = load i64, ptr %18, align 8, !alias.scope !446, !noalias !449, !noundef !5
%19 = getelementptr inbounds nuw i8, ptr %1, i64 16
%.val8.i = load ptr, ptr %19, align 8, !alias.scope !449, !noalias !446, !nonnull !5, !noundef !5
%20 = getelementptr inbounds nuw i8, ptr %1, i64 24
%.val9.i = load i64, ptr %20, align 8, !alias.scope !449, !noalias !446, !noundef !5
%16 = getelementptr inbounds nuw i8, ptr %0, i64 16
%.val6.i = load ptr, ptr %16, align 8, !alias.scope !446, !noalias !449, !nonnull !5, !noundef !5
%.val7.i = load i64, ptr %7, align 8, !alias.scope !446, !noalias !449, !noundef !5
%17 = getelementptr inbounds nuw i8, ptr %1, i64 16
%.val8.i = load ptr, ptr %17, align 8, !alias.scope !449, !noalias !446, !nonnull !5, !noundef !5
%18 = getelementptr inbounds nuw i8, ptr %1, i64 24
%.val9.i = load i64, ptr %18, align 8, !alias.scope !449, !noalias !446, !noundef !5
%.not.i.i10.i = icmp eq i64 %.val7.i, %.val9.i
br i1 %.not.i.i10.i, label %.preheader.split.i.i.i, label %"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit"

.preheader.split.i.i.i: ; preds = %15, %21
%.sroa.01.0.i.i.i = phi i64 [ %22, %21 ], [ 0, %15 ]
.preheader.split.i.i.i: ; preds = %15, %19
%.sroa.01.0.i.i.i = phi i64 [ %20, %19 ], [ 0, %15 ]
%exitcond.not.i.i.i = icmp eq i64 %.sroa.01.0.i.i.i, %.val7.i
br i1 %exitcond.not.i.i.i, label %"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit", label %21

21: ; preds = %.preheader.split.i.i.i
%22 = add i64 %.sroa.01.0.i.i.i, 1
%23 = getelementptr inbounds [0 x { { { i64, ptr, {} }, i64 } }], ptr %.val6.i, i64 0, i64 %.sroa.01.0.i.i.i
%24 = getelementptr inbounds [0 x { { { i64, ptr, {} }, i64 } }], ptr %.val8.i, i64 0, i64 %.sroa.01.0.i.i.i
%25 = tail call noundef zeroext i1 @"_ZN5alloc3vec10partial_eq117_$LT$impl$u20$core..cmp..PartialEq$LT$alloc..vec..Vec$LT$U$C$A2$GT$$GT$$u20$for$u20$alloc..vec..Vec$LT$T$C$A1$GT$$GT$2eq17h5101c8de422f1c19E.llvm.3646540950948783737"(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %23, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %24), !noalias !455
br i1 %25, label %.preheader.split.i.i.i, label %"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit"

"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit": ; preds = %.preheader.split.i.i.i, %21, %2, %7, %11, %15
%.0.shrunk.i = phi i1 [ false, %2 ], [ %14, %11 ], [ false, %7 ], [ false, %15 ], [ %exitcond.not.i.i.i, %21 ], [ %exitcond.not.i.i.i, %.preheader.split.i.i.i ]
%26 = getelementptr inbounds nuw i8, ptr %0, i64 146
br i1 %exitcond.not.i.i.i, label %"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit", label %19

19: ; preds = %.preheader.split.i.i.i
%20 = add i64 %.sroa.01.0.i.i.i, 1
%21 = getelementptr inbounds [0 x { { { i64, ptr, {} }, i64 } }], ptr %.val6.i, i64 0, i64 %.sroa.01.0.i.i.i
%22 = getelementptr inbounds [0 x { { { i64, ptr, {} }, i64 } }], ptr %.val8.i, i64 0, i64 %.sroa.01.0.i.i.i
%23 = tail call noundef zeroext i1 @"_ZN5alloc3vec10partial_eq117_$LT$impl$u20$core..cmp..PartialEq$LT$alloc..vec..Vec$LT$U$C$A2$GT$$GT$$u20$for$u20$alloc..vec..Vec$LT$T$C$A1$GT$$GT$2eq17h5101c8de422f1c19E.llvm.3646540950948783737"(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %21, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %22), !noalias !455
br i1 %23, label %.preheader.split.i.i.i, label %"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit"

"_ZN72_$LT$actix_router..pattern..Patterns$u20$as$u20$core..cmp..PartialEq$GT$2eq17h658df384a9a5d314E.exit": ; preds = %.preheader.split.i.i.i, %19, %2, %8, %11, %15
%.0.shrunk.i = phi i1 [ false, %2 ], [ %14, %11 ], [ false, %8 ], [ false, %15 ], [ %exitcond.not.i.i.i, %19 ], [ %exitcond.not.i.i.i, %.preheader.split.i.i.i ]
%24 = getelementptr inbounds nuw i8, ptr %0, i64 146
%25 = load i8, ptr %24, align 2, !range !127
%26 = getelementptr inbounds nuw i8, ptr %1, i64 146
%27 = load i8, ptr %26, align 2, !range !127
%28 = getelementptr inbounds nuw i8, ptr %1, i64 146
%29 = load i8, ptr %28, align 2, !range !127
%.not = icmp eq i8 %27, %29
%.not = icmp eq i8 %25, %27
%.0 = select i1 %.0.shrunk.i, i1 %.not, i1 false
ret i1 %.0
}
Expand Down
42 changes: 19 additions & 23 deletions bench/actix-rs/optimized/4pmtvrahn6eloepe.ll
Original file line number Diff line number Diff line change
Expand Up @@ -9799,7 +9799,7 @@ define hidden void @"_ZN6brotli3enc6writer64CompressorWriterCustomIo$LT$ErrType$

16: ; preds = %12
invoke void @"_ZN68_$LT$bytes..bytes_mut..BytesMut$u20$as$u20$core..ops..drop..Drop$GT$4drop17ha467eeae9528831cE"(ptr noalias noundef nonnull align 8 dereferenceable(32) %9)
to label %"_ZN4core3ptr131drop_in_place$LT$core..option..Option$LT$brotli_decompressor..io_wrappers..IntoIoWriter$LT$actix_http..encoding..Writer$GT$$GT$$GT$17hdf47ee8631e6c537E.exit" unwind label %37
to label %"_ZN4core3ptr131drop_in_place$LT$core..option..Option$LT$brotli_decompressor..io_wrappers..IntoIoWriter$LT$actix_http..encoding..Writer$GT$$GT$$GT$17hdf47ee8631e6c537E.exit" unwind label %36

17: ; preds = %7
%18 = getelementptr inbounds nuw i8, ptr %10, i64 5592
Expand All @@ -9820,59 +9820,55 @@ define hidden void @"_ZN6brotli3enc6writer64CompressorWriterCustomIo$LT$ErrType$
%24 = getelementptr inbounds nuw i8, ptr %10, i64 5579
%25 = load i8, ptr %24, align 1, !range !617, !alias.scope !1025, !noundef !13
%26 = trunc nuw i8 %25 to i1
br i1 %26, label %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit, label %27
br i1 %26, label %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit5, label %27

27: ; preds = %17
%28 = getelementptr inbounds nuw i8, ptr %10, i64 144
%29 = invoke noundef i32 @_ZN6brotli3enc6encode13set_parameter17h6672fa74cdecd6e9E(ptr noalias noundef nonnull align 8 dereferenceable(112) %28, i32 noundef 1, i32 noundef %5)
to label %._ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit_crit_edge unwind label %30
to label %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit unwind label %30

._ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit_crit_edge: ; preds = %27
%.pre = load i8, ptr %24, align 1, !range !617, !alias.scope !1028
br label %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit

30: ; preds = %34, %27
30: ; preds = %33, %27
%31 = landingpad { ptr, i32 }
cleanup
invoke void @"_ZN4core3ptr267drop_in_place$LT$brotli..enc..writer..CompressorWriterCustomIo$LT$std..io..error..Error$C$brotli_decompressor..io_wrappers..IntoIoWriter$LT$actix_http..encoding..Writer$GT$$C$alloc_stdlib..heap_alloc..WrapBox$LT$u8$GT$$C$alloc_stdlib..std_alloc..StandardAlloc$GT$$GT$17h43cb033ac16bc87fE"(ptr noalias noundef nonnull align 8 dereferenceable(5648) %10) #33
to label %40 unwind label %37
to label %39 unwind label %36

_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit: ; preds = %._ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit_crit_edge, %17
%32 = phi i8 [ %.pre, %._ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit_crit_edge ], [ %25, %17 ]
%33 = trunc nuw i8 %32 to i1
br i1 %33, label %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit5, label %34
_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit: ; preds = %27
%.pre = load i8, ptr %24, align 1, !range !617, !alias.scope !1028
%32 = trunc nuw i8 %.pre to i1
br i1 %32, label %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit5, label %33

34: ; preds = %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit
%35 = getelementptr inbounds nuw i8, ptr %10, i64 144
%36 = invoke noundef i32 @_ZN6brotli3enc6encode13set_parameter17h6672fa74cdecd6e9E(ptr noalias noundef nonnull align 8 dereferenceable(112) %35, i32 noundef 2, i32 noundef %6)
33: ; preds = %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit
%34 = getelementptr inbounds nuw i8, ptr %10, i64 144
%35 = invoke noundef i32 @_ZN6brotli3enc6encode13set_parameter17h6672fa74cdecd6e9E(ptr noalias noundef nonnull align 8 dereferenceable(112) %34, i32 noundef 2, i32 noundef %6)
to label %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit5 unwind label %30

_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit5: ; preds = %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit, %34
_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit5: ; preds = %17, %_ZN6brotli3enc6encode25BrotliEncoderSetParameter17h1c2e2834920a22acE.exit, %33
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(5648) %0, ptr noundef nonnull align 8 dereferenceable(5648) %10, i64 5648, i1 false)
call void @llvm.lifetime.end.p0(i64 5648, ptr nonnull %10)
ret void

37: ; preds = %16, %.thread, %30
%38 = landingpad { ptr, i32 }
36: ; preds = %16, %.thread, %30
%37 = landingpad { ptr, i32 }
filter [0 x ptr] zeroinitializer
call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #34
unreachable

"_ZN4core3ptr131drop_in_place$LT$core..option..Option$LT$brotli_decompressor..io_wrappers..IntoIoWriter$LT$actix_http..encoding..Writer$GT$$GT$$GT$17hdf47ee8631e6c537E.exit": ; preds = %12, %16
%39 = icmp eq i64 %3, 0
br i1 %39, label %.thread, label %"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.14998522591088738574.exit.i.i.i"
%38 = icmp eq i64 %3, 0
br i1 %38, label %.thread, label %"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.14998522591088738574.exit.i.i.i"

"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.14998522591088738574.exit.i.i.i": ; preds = %"_ZN4core3ptr131drop_in_place$LT$core..option..Option$LT$brotli_decompressor..io_wrappers..IntoIoWriter$LT$actix_http..encoding..Writer$GT$$GT$$GT$17hdf47ee8631e6c537E.exit"
call void @__rust_dealloc(ptr noundef nonnull %2, i64 noundef %3, i64 noundef 1) #32, !noalias !1031
br label %.thread

40: ; preds = %30, %.thread
39: ; preds = %30, %.thread
%.pn10 = phi { ptr, i32 } [ %13, %.thread ], [ %31, %30 ]
resume { ptr, i32 } %.pn10

.thread: ; preds = %"_ZN4core3ptr131drop_in_place$LT$core..option..Option$LT$brotli_decompressor..io_wrappers..IntoIoWriter$LT$actix_http..encoding..Writer$GT$$GT$$GT$17hdf47ee8631e6c537E.exit", %"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.14998522591088738574.exit.i.i.i"
invoke void @"_ZN4core3ptr42drop_in_place$LT$std..io..error..Error$GT$17h5ad080ef8b5853c3E"(ptr noalias noundef nonnull align 8 dereferenceable(8) %11) #33
to label %40 unwind label %37
to label %39 unwind label %36
}

; Function Attrs: nonlazybind uwtable
Expand Down
4 changes: 2 additions & 2 deletions bench/assimp/optimized/glTF2Importer.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -71512,7 +71512,7 @@ land.lhs.true105.us: ; preds = %land.lhs.true102.us
br label %if.end111.us

if.end111.us: ; preds = %land.lhs.true105.us, %land.lhs.true102.us, %while.end.us
%isNumber.3.us = phi i8 [ %spec.select64.us, %land.lhs.true102.us ], [ %spec.select64.us, %while.end.us ], [ %spec.select65.us, %land.lhs.true105.us ]
%isNumber.3.us = phi i8 [ %isNumber.0.lcssa.us, %land.lhs.true102.us ], [ %spec.select64.us, %while.end.us ], [ %spec.select65.us, %land.lhs.true105.us ]
%tobool112.us = trunc nuw i8 %isNumber.3.us to i1
br i1 %tobool112.us, label %for.cond114.preheader.us, label %if.end131.us

Expand Down Expand Up @@ -71760,7 +71760,7 @@ land.lhs.true105: ; preds = %land.lhs.true102
br label %if.end111

if.end111: ; preds = %land.lhs.true105, %land.lhs.true102, %while.end
%isNumber.3 = phi i8 [ %spec.select64, %land.lhs.true102 ], [ %spec.select64, %while.end ], [ %spec.select65, %land.lhs.true105 ]
%isNumber.3 = phi i8 [ %isNumber.0.lcssa, %land.lhs.true102 ], [ %spec.select64, %while.end ], [ %spec.select65, %land.lhs.true105 ]
%tobool112 = trunc nuw i8 %isNumber.3 to i1
br i1 %tobool112, label %for.cond114.preheader, label %if.end131

Expand Down
Loading