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/cnfMap.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Aig_ManObj.exit.i: ; preds = %54, %49
%64 = trunc i64 %63 to i32
%65 = shl i32 %64, 10
%66 = and i32 %65, 134152192
%67 = add i32 %66, %51
%67 = add nuw i32 %66, %51
%68 = and i32 %67, 134152192
%69 = and i32 %51, -134152193
%70 = or disjoint i32 %68, %69
Expand Down
4 changes: 2 additions & 2 deletions bench/actix-rs/optimized/comsm606o4zjj7a.ll
Original file line number Diff line number Diff line change
Expand Up @@ -15099,7 +15099,7 @@ common.resume: ; preds = %43, %"_ZN63_$LT$all
}

; Function Attrs: nonlazybind uwtable
define hidden i64 @"_ZN6brotli3enc9interface41PredictionModeContextMap$LT$SliceType$GT$17context_map_speed17h3bd846bdfe9ec372E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(48) %0) unnamed_addr #0 {
define hidden range(i64 0, -4611686018427387904) i64 @"_ZN6brotli3enc9interface41PredictionModeContextMap$LT$SliceType$GT$17context_map_speed17h3bd846bdfe9ec372E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(48) %0) unnamed_addr #0 {
%2 = getelementptr inbounds nuw i8, ptr %0, i64 24
%.val = load ptr, ptr %2, align 8, !nonnull !62, !align !63, !noundef !62
%3 = getelementptr inbounds nuw i8, ptr %0, i64 32
Expand Down Expand Up @@ -15230,7 +15230,7 @@ define hidden i64 @"_ZN6brotli3enc9interface41PredictionModeContextMap$LT$SliceT
}

; Function Attrs: nonlazybind uwtable
define hidden i64 @"_ZN6brotli3enc9interface41PredictionModeContextMap$LT$SliceType$GT$20stride_context_speed17hfb44a4117ecb8261E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(48) %0) unnamed_addr #0 {
define hidden range(i64 0, -4611686018427387904) i64 @"_ZN6brotli3enc9interface41PredictionModeContextMap$LT$SliceType$GT$20stride_context_speed17hfb44a4117ecb8261E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(48) %0) unnamed_addr #0 {
%2 = getelementptr inbounds nuw i8, ptr %0, i64 24
%.val = load ptr, ptr %2, align 8, !nonnull !62, !align !63, !noundef !62
%3 = getelementptr inbounds nuw i8, ptr %0, i64 32
Expand Down
6 changes: 3 additions & 3 deletions bench/base64-rs/optimized/3i18zkzed1c7jyoe.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1280,23 +1280,23 @@ define noundef i24 @_ZN6base646engine15general_purpose20GeneralPurposeConfig3new
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable
define i24 @_ZN6base646engine15general_purpose20GeneralPurposeConfig19with_encode_padding17h7fbcf9bb40e669f2E(i24 %0, i1 noundef zeroext %1) unnamed_addr #2 {
define range(i24 0, -32768) i24 @_ZN6base646engine15general_purpose20GeneralPurposeConfig19with_encode_padding17h7fbcf9bb40e669f2E(i24 %0, i1 noundef zeroext %1) unnamed_addr #2 {
%.sroa.23.0.insert.insert = and i24 %0, -65280
%.sroa.02.0.insert.ext = zext i1 %1 to i24
%.sroa.02.0.insert.insert = or disjoint i24 %.sroa.23.0.insert.insert, %.sroa.02.0.insert.ext
ret i24 %.sroa.02.0.insert.insert
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable
define i24 @_ZN6base646engine15general_purpose20GeneralPurposeConfig31with_decode_allow_trailing_bits17h27e47288d598f1feE(i24 %0, i1 noundef zeroext %1) unnamed_addr #2 {
define range(i24 0, -32768) i24 @_ZN6base646engine15general_purpose20GeneralPurposeConfig31with_decode_allow_trailing_bits17h27e47288d598f1feE(i24 %0, i1 noundef zeroext %1) unnamed_addr #2 {
%.sroa.24.0.insert.shift = select i1 %1, i24 256, i24 0
%3 = and i24 %0, -65535
%.sroa.03.0.insert.insert = or disjoint i24 %.sroa.24.0.insert.shift, %3
ret i24 %.sroa.03.0.insert.insert
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable
define i24 @_ZN6base646engine15general_purpose20GeneralPurposeConfig24with_decode_padding_mode17h4ece7f156cfd6b88E(i24 %0, i8 noundef %1) unnamed_addr #2 {
define range(i24 0, -32768) i24 @_ZN6base646engine15general_purpose20GeneralPurposeConfig24with_decode_padding_mode17h4ece7f156cfd6b88E(i24 %0, i8 noundef %1) unnamed_addr #2 {
%.sroa.34.0.insert.ext = zext i8 %1 to i24
%.sroa.34.0.insert.shift = shl nuw i24 %.sroa.34.0.insert.ext, 16
%3 = and i24 %0, 257
Expand Down
14 changes: 5 additions & 9 deletions bench/clamav/optimized/entconv.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1906,19 +1906,15 @@ define ptr @cli_utf16toascii(ptr nocapture noundef readonly %0, i32 noundef %1)
br label %.loopexit

5: ; preds = %2
%spec.select = and i32 %1, -2
%6 = lshr i32 %1, 1
%7 = add nuw i32 %6, 1
%8 = zext i32 %7 to i64
%9 = tail call ptr @cli_max_calloc(i64 noundef %8, i64 noundef 1) #17
%.not22 = icmp eq ptr %9, null
br i1 %.not22, label %.loopexit, label %.preheader

.preheader: ; preds = %5
%.not = icmp eq i32 %spec.select, 0
br i1 %.not, label %.loopexit, label %.lr.ph.preheader
br i1 %.not22, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader: ; preds = %.preheader
.lr.ph.preheader: ; preds = %5
%spec.select = and i32 %1, -2
%10 = add i32 %spec.select, -1
%11 = lshr i32 %10, 1
%12 = add nuw nsw i32 %11, 1
Expand All @@ -1943,8 +1939,8 @@ define ptr @cli_utf16toascii(ptr nocapture noundef readonly %0, i32 noundef %1)
%exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
br i1 %exitcond.not, label %.loopexit, label %.lr.ph

.loopexit: ; preds = %.lr.ph, %.preheader, %5, %4
%.018 = phi ptr [ null, %4 ], [ null, %5 ], [ %9, %.preheader ], [ %9, %.lr.ph ]
.loopexit: ; preds = %.lr.ph, %5, %4
%.018 = phi ptr [ null, %4 ], [ null, %5 ], [ %9, %.lr.ph ]
ret ptr %.018
}

Expand Down
106 changes: 51 additions & 55 deletions bench/cmake/optimized/archive_write_set_format_iso9660.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1634,16 +1634,16 @@ define internal range(i32 -30, 1) i32 @iso9660_finish_entry(ptr noundef %0) #0 {
br label %.lr.ph.i.i

.lr.ph.i.i: ; preds = %wb_consume.exit.thread.i.i, %33
%.151.i.i = phi i64 [ %87, %wb_consume.exit.thread.i.i ], [ 16, %33 ]
%.13550.i.i = phi ptr [ %88, %wb_consume.exit.thread.i.i ], [ %2, %33 ]
%.150.i.i = phi i64 [ %87, %wb_consume.exit.thread.i.i ], [ 16, %33 ]
%.13549.i.i = phi ptr [ %88, %wb_consume.exit.thread.i.i ], [ %2, %33 ]
%72 = load ptr, ptr %3, align 8
%73 = getelementptr inbounds nuw i8, ptr %72, i64 66272
%74 = load i64, ptr %73, align 8
%spec.select.i.i = tail call i64 @llvm.umin.i64(i64 %.151.i.i, i64 %74)
%spec.select.i.i = tail call i64 @llvm.umin.i64(i64 %.150.i.i, i64 %74)
%75 = getelementptr inbounds nuw i8, ptr %72, i64 732
%76 = sub i64 65536, %74
%77 = getelementptr inbounds [65536 x i8], ptr %75, i64 0, i64 %76
call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %77, ptr align 1 %.13550.i.i, i64 %spec.select.i.i, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %77, ptr align 1 %.13549.i.i, i64 %spec.select.i.i, i1 false)
%78 = load ptr, ptr %3, align 8
%79 = getelementptr inbounds nuw i8, ptr %78, i64 66272
%80 = load i64, ptr %79, align 8
Expand All @@ -1668,8 +1668,8 @@ wb_consume.exit.i.i: ; preds = %83
br i1 %.not40.i.i, label %wb_consume.exit.thread.i.i, label %zisofs_finish_entry.exit.thread

wb_consume.exit.thread.i.i: ; preds = %wb_consume.exit.i.i, %83
%87 = sub i64 %.151.i.i, %spec.select.i.i
%88 = getelementptr inbounds i8, ptr %.13550.i.i, i64 %spec.select.i.i
%87 = sub i64 %.150.i.i, %spec.select.i.i
%88 = getelementptr inbounds i8, ptr %.13549.i.i, i64 %spec.select.i.i
%.not39.i.i = icmp eq i64 %87, 0
br i1 %.not39.i.i, label %wb_write_to_temp.exit.i, label %.lr.ph.i.i, !llvm.loop !9

Expand Down Expand Up @@ -6953,71 +6953,67 @@ define internal fastcc range(i32 -30, 1) i32 @wb_write_to_temp(ptr noundef %0, p
%8 = icmp eq i64 %7, 65536
%9 = icmp ugt i64 %2, 16384
%or.cond = and i1 %9, %8
br i1 %or.cond, label %10, label %29
br i1 %or.cond, label %.lr.ph.i, label %29

10: ; preds = %3
%11 = and i64 %2, 2047
%12 = and i64 %2, -2048
%13 = getelementptr inbounds nuw i8, ptr %5, i64 66288
%14 = load i64, ptr %13, align 8
%15 = add i64 %14, %12
store i64 %15, ptr %13, align 8
%.not15.i = icmp eq i64 %12, 0
br i1 %.not15.i, label %.loopexit48, label %.lr.ph.i
.lr.ph.i: ; preds = %3
%10 = and i64 %2, 2047
%11 = and i64 %2, -2048
%12 = getelementptr inbounds nuw i8, ptr %5, i64 66288
%13 = load i64, ptr %12, align 8
%14 = add i64 %13, %11
store i64 %14, ptr %12, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds nuw i8, ptr %15, i64 8
br label %17

.lr.ph.i: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds nuw i8, ptr %16, i64 8
br label %18

18: ; preds = %22, %.lr.ph.i
%.017.i = phi ptr [ %1, %.lr.ph.i ], [ %24, %22 ]
%.01316.i = phi i64 [ %12, %.lr.ph.i ], [ %23, %22 ]
%19 = load i32, ptr %17, align 8
%20 = tail call i64 @write(i32 noundef %19, ptr noundef %.017.i, i64 noundef %.01316.i) #23
%21 = icmp slt i64 %20, 0
br i1 %21, label %write_to_temp.exit, label %22

22: ; preds = %18
%23 = sub i64 %.01316.i, %20
%24 = getelementptr inbounds nuw i8, ptr %.017.i, i64 %20
%.not.i = icmp eq i64 %23, 0
br i1 %.not.i, label %.loopexit48, label %18, !llvm.loop !36

write_to_temp.exit: ; preds = %18
%25 = tail call ptr @__errno_location() #26
%26 = load i32, ptr %25, align 4
tail call void (ptr, i32, ptr, ...) @archive_set_error(ptr noundef %0, i32 noundef %26, ptr noundef nonnull @.str.58) #23
17: ; preds = %21, %.lr.ph.i
%.017.i = phi ptr [ %1, %.lr.ph.i ], [ %23, %21 ]
%.01316.i = phi i64 [ %11, %.lr.ph.i ], [ %22, %21 ]
%18 = load i32, ptr %16, align 8
%19 = tail call i64 @write(i32 noundef %18, ptr noundef %.017.i, i64 noundef %.01316.i) #23
%20 = icmp slt i64 %19, 0
br i1 %20, label %write_to_temp.exit, label %21

21: ; preds = %17
%22 = sub i64 %.01316.i, %19
%23 = getelementptr inbounds nuw i8, ptr %.017.i, i64 %19
%.not.i = icmp eq i64 %22, 0
br i1 %.not.i, label %26, label %17, !llvm.loop !36

write_to_temp.exit: ; preds = %17
%24 = tail call ptr @__errno_location() #26
%25 = load i32, ptr %24, align 4
tail call void (ptr, i32, ptr, ...) @archive_set_error(ptr noundef %0, i32 noundef %25, ptr noundef nonnull @.str.58) #23
br label %.loopexit

.loopexit48: ; preds = %22, %10
%27 = icmp eq i64 %11, 0
26: ; preds = %21
%27 = icmp eq i64 %10, 0
br i1 %27, label %.loopexit, label %.thread

.thread: ; preds = %.loopexit48
%28 = getelementptr inbounds i8, ptr %1, i64 %12
.thread: ; preds = %26
%28 = getelementptr inbounds i8, ptr %1, i64 %11
br label %.lr.ph.preheader

29: ; preds = %3
%.not3949 = icmp eq i64 %2, 0
br i1 %.not3949, label %.loopexit, label %.lr.ph.preheader
%.not3948 = icmp eq i64 %2, 0
br i1 %.not3948, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader: ; preds = %.thread, %29
%.151.ph = phi i64 [ %2, %29 ], [ %11, %.thread ]
%.13550.ph = phi ptr [ %1, %29 ], [ %28, %.thread ]
%.150.ph = phi i64 [ %2, %29 ], [ %10, %.thread ]
%.13549.ph = phi ptr [ %1, %29 ], [ %28, %.thread ]
br label %.lr.ph

.lr.ph: ; preds = %.lr.ph.preheader, %wb_consume.exit.thread
%.151 = phi i64 [ %45, %wb_consume.exit.thread ], [ %.151.ph, %.lr.ph.preheader ]
%.13550 = phi ptr [ %46, %wb_consume.exit.thread ], [ %.13550.ph, %.lr.ph.preheader ]
%.150 = phi i64 [ %45, %wb_consume.exit.thread ], [ %.150.ph, %.lr.ph.preheader ]
%.13549 = phi ptr [ %46, %wb_consume.exit.thread ], [ %.13549.ph, %.lr.ph.preheader ]
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds nuw i8, ptr %30, i64 66272
%32 = load i64, ptr %31, align 8
%spec.select = tail call i64 @llvm.umin.i64(i64 %.151, i64 %32)
%spec.select = tail call i64 @llvm.umin.i64(i64 %.150, i64 %32)
%33 = getelementptr inbounds nuw i8, ptr %30, i64 732
%34 = sub i64 65536, %32
%35 = getelementptr inbounds [65536 x i8], ptr %33, i64 0, i64 %34
tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %35, ptr align 1 %.13550, i64 %spec.select, i1 false)
tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %35, ptr align 1 %.13549, i64 %spec.select, i1 false)
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds nuw i8, ptr %36, i64 66272
%38 = load i64, ptr %37, align 8
Expand All @@ -7042,13 +7038,13 @@ wb_consume.exit: ; preds = %41
br i1 %.not40, label %wb_consume.exit.thread, label %.loopexit

wb_consume.exit.thread: ; preds = %41, %wb_consume.exit
%45 = sub i64 %.151, %spec.select
%46 = getelementptr inbounds i8, ptr %.13550, i64 %spec.select
%45 = sub i64 %.150, %spec.select
%46 = getelementptr inbounds i8, ptr %.13549, i64 %spec.select
%.not39 = icmp eq i64 %45, 0
br i1 %.not39, label %.loopexit, label %.lr.ph, !llvm.loop !9

.loopexit: ; preds = %wb_consume.exit, %wb_consume.exit.thread, %29, %wb_consume.exit.thread45, %write_to_temp.exit, %.loopexit48
%.032 = phi i32 [ -30, %write_to_temp.exit ], [ 0, %.loopexit48 ], [ -30, %wb_consume.exit.thread45 ], [ 0, %29 ], [ -30, %wb_consume.exit ], [ 0, %wb_consume.exit.thread ]
.loopexit: ; preds = %wb_consume.exit, %wb_consume.exit.thread, %29, %wb_consume.exit.thread45, %write_to_temp.exit, %26
%.032 = phi i32 [ -30, %write_to_temp.exit ], [ 0, %26 ], [ -30, %wb_consume.exit.thread45 ], [ 0, %29 ], [ -30, %wb_consume.exit ], [ 0, %wb_consume.exit.thread ]
ret i32 %.032
}

Expand Down
Loading