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
33 changes: 17 additions & 16 deletions bench/abc/optimized/giaResub.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -10246,12 +10246,12 @@ define range(i32 1, 0) i32 @Gia_ManResubPerformMux_rec(ptr noundef %0, i32 nound
%4 = icmp eq i32 %2, 0
%5 = icmp slt i32 %1, 3
%or.cond = or i1 %5, %4
br i1 %or.cond, label %149, label %6
br i1 %or.cond, label %150, label %6

6: ; preds = %3
%7 = tail call i32 @Gia_ManResubFindBestBinate(ptr noundef %0)
%8 = icmp eq i32 %7, -1
br i1 %8, label %149, label %9
br i1 %8, label %150, label %9

9: ; preds = %6
%10 = load i32, ptr %0, align 8
Expand Down Expand Up @@ -10404,11 +10404,11 @@ Abc_TtAndSharp.exit107: ; preds = %.lr.ph22.i103, %.lr

70: ; preds = %68, %69
%.not82 = icmp eq ptr %13, null
br i1 %.not82, label %149, label %71
br i1 %.not82, label %150, label %71

71: ; preds = %70
tail call void @free(ptr noundef nonnull %13) #30
br label %149
br label %150

.thread: ; preds = %Abc_TtAndSharp.exit107, %64
%.068146 = phi i32 [ %66, %64 ], [ %62, %Abc_TtAndSharp.exit107 ]
Expand Down Expand Up @@ -10529,7 +10529,7 @@ Abc_TtAndSharp.exit139.thread: ; preds = %.preheader.i132, %.
%.neg80 = add i32 %.neg.neg, %1
%109 = add i32 %.neg80, %.neg79
%110 = icmp slt i32 %109, 3
br i1 %110, label %149, label %111
br i1 %110, label %150, label %111

111: ; preds = %106
%112 = tail call i32 @Gia_ManResubPerform_rec(ptr noundef nonnull %0, i32 noundef %1, i32 noundef 0)
Expand All @@ -10540,7 +10540,7 @@ Abc_TtAndSharp.exit139.thread: ; preds = %.preheader.i132, %.
%115 = add nsw i32 %2, -1
%116 = tail call i32 @Gia_ManResubPerformMux_rec(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %115)
%117 = icmp eq i32 %116, -1
br i1 %117, label %149, label %.thread149
br i1 %117, label %150, label %.thread149

.thread149: ; preds = %111, %114
%.069151 = phi i32 [ %116, %114 ], [ %112, %111 ]
Expand Down Expand Up @@ -10577,17 +10577,18 @@ Abc_TtAndSharp.exit139.thread: ; preds = %.preheader.i132, %.
%.val.i143 = load i32, ptr %140, align 4
%141 = sdiv i32 %.val.i143, 2
%142 = add nsw i32 %141, %.val18.i142
%143 = tail call i32 @llvm.smin.i32(i32 %127, i32 %136)
%144 = tail call i32 @llvm.smax.i32(i32 %127, i32 %136)
%145 = or disjoint i32 %143, 1
%143 = icmp sgt i32 %124, %133
%144 = select i1 %143, i32 %136, i32 %127
%145 = select i1 %143, i32 %127, i32 %136
%146 = or disjoint i32 %144, 1
tail call fastcc void @Vec_IntPushTwo(ptr noundef %139, i32 noundef %145, i32 noundef %146)
%147 = shl nsw i32 %142, 1
%148 = or disjoint i32 %147, 1
br label %149

149: ; preds = %114, %106, %71, %70, %6, %3, %.thread149
%.0 = phi i32 [ %148, %.thread149 ], [ -1, %3 ], [ -1, %6 ], [ -1, %70 ], [ -1, %71 ], [ -1, %106 ], [ -1, %114 ]
%147 = or disjoint i32 %145, 1
tail call fastcc void @Vec_IntPushTwo(ptr noundef %139, i32 noundef %146, i32 noundef %147)
%148 = shl nsw i32 %142, 1
%149 = or disjoint i32 %148, 1
br label %150

150: ; preds = %114, %106, %71, %70, %6, %3, %.thread149
%.0 = phi i32 [ %149, %.thread149 ], [ -1, %3 ], [ -1, %6 ], [ -1, %70 ], [ -1, %71 ], [ -1, %106 ], [ -1, %114 ]
ret i32 %.0
}

Expand Down
15 changes: 8 additions & 7 deletions bench/abseil-cpp/optimized/raw_hash_set_test.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -72620,15 +72620,15 @@ invoke.cont9.i: ; preds = %while.end.i.i.i.i,
%sub.ptr.lhs.cast.i15.i = ptrtoint ptr %64 to i64
%sub.ptr.rhs.cast.i16.i = ptrtoint ptr %65 to i64
%sub.ptr.sub.i17.i = sub i64 %sub.ptr.lhs.cast.i15.i, %sub.ptr.rhs.cast.i16.i
%sub.ptr.div.i18.i = ashr exact i64 %sub.ptr.sub.i17.i, 3
%sub.ptr.lhs.cast.i20.i = ptrtoint ptr %probe_histogram.i.sroa.13.4 to i64
%sub.ptr.rhs.cast.i21.i = ptrtoint ptr %probe_histogram.i.sroa.0.4 to i64
%sub.ptr.sub.i22.i = sub i64 %sub.ptr.lhs.cast.i20.i, %sub.ptr.rhs.cast.i21.i
%sub.ptr.div.i23.i = ashr exact i64 %sub.ptr.sub.i22.i, 3
%cmp.i24.i = icmp ult i64 %sub.ptr.div.i18.i, %sub.ptr.div.i23.i
%cmp.i24.i = icmp ult i64 %sub.ptr.sub.i17.i, %sub.ptr.sub.i22.i
br i1 %cmp.i24.i, label %if.then.i27.i, label %invoke.cont17.i

if.then.i27.i: ; preds = %invoke.cont9.i
%sub.ptr.div.i23.i = ashr exact i64 %sub.ptr.sub.i22.i, 3
%sub.ptr.div.i18.i = ashr exact i64 %sub.ptr.sub.i17.i, 3
%sub.i.i = sub nuw nsw i64 %sub.ptr.div.i23.i, %sub.ptr.div.i18.i
%66 = load ptr, ptr %_M_end_of_storage.i, align 8
%sub.ptr.lhs.cast.i = ptrtoint ptr %66 to i64
Expand Down Expand Up @@ -72734,7 +72734,8 @@ for.body.i.i: ; preds = %invoke.cont17.i, %f
br i1 %cmp.i.not.i.i, label %for.body41.preheader.i, label %for.body.i.i, !llvm.loop !3062

for.body41.preheader.i: ; preds = %for.body.i.i
%umax.i = call i64 @llvm.umax.i64(i64 %sub.ptr.div.i23.i, i64 1)
%sub.ptr.div.i35.i = ashr exact i64 %sub.ptr.sub.i22.i, 3
%umax.i = call i64 @llvm.umax.i64(i64 %sub.ptr.div.i35.i, i64 1)
br label %for.body41.i

for.body41.i: ; preds = %for.body41.i, %for.body41.preheader.i
Expand Down Expand Up @@ -74876,7 +74877,7 @@ if.then9: ; preds = %if.then
%sub.ptr.rhs.cast.i = ptrtoint ptr %__position.coerce to i64
%sub.ptr.sub.i = sub i64 %sub.ptr.rhs.cast, %sub.ptr.rhs.cast.i
%sub.ptr.div.i = ashr exact i64 %sub.ptr.sub.i, 3
%cmp15 = icmp ugt i64 %sub.ptr.div.i, %sub.ptr.div.i.i.i
%cmp15 = icmp ugt i64 %sub.ptr.sub.i, %sub.ptr.sub.i.i.i
br i1 %cmp15, label %_ZSt22__uninitialized_move_aIPlS0_SaIlEET0_T_S3_S2_RT1_.exit, label %_ZSt7advanceIN9__gnu_cxx17__normal_iteratorIPlSt6vectorIlSaIlEEEEmEvRT_T0_.exit

_ZSt22__uninitialized_move_aIPlS0_SaIlEET0_T_S3_S2_RT1_.exit: ; preds = %if.then9
Expand Down Expand Up @@ -77761,15 +77762,15 @@ invoke.cont21.i: ; preds = %while.end.i.i.i.i.i
%sub.ptr.lhs.cast.i34.i = ptrtoint ptr %68 to i64
%sub.ptr.rhs.cast.i35.i = ptrtoint ptr %69 to i64
%sub.ptr.sub.i36.i = sub i64 %sub.ptr.lhs.cast.i34.i, %sub.ptr.rhs.cast.i35.i
%sub.ptr.div.i37.i = ashr exact i64 %sub.ptr.sub.i36.i, 3
%sub.ptr.lhs.cast.i39.i = ptrtoint ptr %probe_histogram.sroa.12.3.i to i64
%sub.ptr.rhs.cast.i40.i = ptrtoint ptr %probe_histogram.sroa.0.3.i to i64
%sub.ptr.sub.i41.i = sub i64 %sub.ptr.lhs.cast.i39.i, %sub.ptr.rhs.cast.i40.i
%sub.ptr.div.i42.i = ashr exact i64 %sub.ptr.sub.i41.i, 3
%cmp.i.i = icmp ult i64 %sub.ptr.div.i37.i, %sub.ptr.div.i42.i
%cmp.i.i = icmp ult i64 %sub.ptr.sub.i36.i, %sub.ptr.sub.i41.i
br i1 %cmp.i.i, label %if.then.i.i, label %invoke.cont29.i

if.then.i.i: ; preds = %invoke.cont21.i
%sub.ptr.div.i37.i = ashr exact i64 %sub.ptr.sub.i36.i, 3
%sub.i.i = sub nuw nsw i64 %sub.ptr.div.i42.i, %sub.ptr.div.i37.i
%70 = load ptr, ptr %_M_end_of_storage.i, align 8
%sub.ptr.lhs.cast.i = ptrtoint ptr %70 to i64
Expand Down
Loading