Skip to content

Commit

Permalink
pre-commit: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 19, 2024
1 parent 6fb0f2b commit 05169a3
Show file tree
Hide file tree
Showing 18 changed files with 549 additions and 543 deletions.
40 changes: 20 additions & 20 deletions bench/abc/optimized/dauDsd.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3737,7 +3737,7 @@ define i32 @Dau_DsdDecompose(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32
br i1 %14, label %20, label %Abc_TtIsConst0.exit.thread50

20: ; preds = %5
br i1 %19, label %.lr.ph.preheader.i, label %.loopexit
br i1 %19, label %.lr.ph.preheader.i, label %.loopexit53

.lr.ph.preheader.i: ; preds = %20
%wide.trip.count.i = zext nneg i32 %18 to i64
Expand All @@ -3746,7 +3746,7 @@ define i32 @Dau_DsdDecompose(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32
21: ; preds = %.lr.ph.i
%indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1
%exitcond.not.i = icmp eq i64 %indvars.iv.next.i, %wide.trip.count.i
br i1 %exitcond.not.i, label %.loopexit, label %.lr.ph.i, !llvm.loop !32
br i1 %exitcond.not.i, label %.loopexit53, label %.lr.ph.i, !llvm.loop !32

.lr.ph.i: ; preds = %21, %.lr.ph.preheader.i
%indvars.iv.i = phi i64 [ 0, %.lr.ph.preheader.i ], [ %indvars.iv.next.i, %21 ]
Expand All @@ -3755,12 +3755,12 @@ define i32 @Dau_DsdDecompose(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32
%.not.i = icmp eq i64 %23, 0
br i1 %.not.i, label %21, label %Abc_TtIsConst1.exit

.loopexit: ; preds = %21, %20
.loopexit53: ; preds = %21, %20
%.not35 = icmp eq ptr %4, null
br i1 %.not35, label %._crit_edge, label %._crit_edge.sink.split

Abc_TtIsConst0.exit.thread50: ; preds = %5
br i1 %19, label %.lr.ph.preheader.i37, label %.loopexit54
br i1 %19, label %.lr.ph.preheader.i37, label %.loopexit

.lr.ph.preheader.i37: ; preds = %Abc_TtIsConst0.exit.thread50
%wide.trip.count.i38 = zext nneg i32 %18 to i64
Expand All @@ -3769,7 +3769,7 @@ Abc_TtIsConst0.exit.thread50: ; preds = %5
24: ; preds = %.lr.ph.i39
%indvars.iv.next.i42 = add nuw nsw i64 %indvars.iv.i40, 1
%exitcond.not.i43 = icmp eq i64 %indvars.iv.next.i42, %wide.trip.count.i38
br i1 %exitcond.not.i43, label %.loopexit54, label %.lr.ph.i39, !llvm.loop !33
br i1 %exitcond.not.i43, label %.loopexit, label %.lr.ph.i39, !llvm.loop !33

.lr.ph.i39: ; preds = %24, %.lr.ph.preheader.i37
%indvars.iv.i40 = phi i64 [ 0, %.lr.ph.preheader.i37 ], [ %indvars.iv.next.i42, %24 ]
Expand All @@ -3778,7 +3778,7 @@ Abc_TtIsConst0.exit.thread50: ; preds = %5
%.not.i41 = icmp eq i64 %26, -1
br i1 %.not.i41, label %24, label %Abc_TtIsConst1.exit

.loopexit54: ; preds = %24, %Abc_TtIsConst0.exit.thread50
.loopexit: ; preds = %24, %Abc_TtIsConst0.exit.thread50
%.not34 = icmp eq ptr %4, null
br i1 %.not34, label %._crit_edge, label %._crit_edge.sink.split

Expand Down Expand Up @@ -3852,15 +3852,15 @@ Dau_DsdComputeMatches.exit: ; preds = %45, %Abc_TtIsConst1
%spec.select = select i1 %or.cond, i32 -1, i32 %.pre
br label %._crit_edge

._crit_edge.sink.split: ; preds = %.loopexit54, %.loopexit
%.sink = phi i8 [ 48, %.loopexit ], [ 49, %.loopexit54 ]
._crit_edge.sink.split: ; preds = %.loopexit, %.loopexit53
%.sink = phi i8 [ 48, %.loopexit53 ], [ 49, %.loopexit ]
store i8 %.sink, ptr %4, align 1
%53 = getelementptr inbounds i8, ptr %4, i64 1
store i8 0, ptr %53, align 1
br label %._crit_edge

._crit_edge: ; preds = %50, %._crit_edge.sink.split, %.loopexit, %.loopexit54
%.0 = phi i32 [ 0, %.loopexit54 ], [ 0, %.loopexit ], [ %spec.select, %50 ], [ 0, %._crit_edge.sink.split ]
._crit_edge: ; preds = %50, %._crit_edge.sink.split, %.loopexit53, %.loopexit
%.0 = phi i32 [ 0, %.loopexit ], [ 0, %.loopexit53 ], [ %spec.select, %50 ], [ 0, %._crit_edge.sink.split ]
ret i32 %.0
}

Expand Down Expand Up @@ -11367,7 +11367,7 @@ define i32 @Dau_DsdDecomposeLevel(ptr noundef %0, i32 noundef %1, i32 noundef %2
br i1 %15, label %21, label %Abc_TtIsConst0.exit.thread51

21: ; preds = %6
br i1 %20, label %.lr.ph.preheader.i, label %.loopexit
br i1 %20, label %.lr.ph.preheader.i, label %.loopexit54

.lr.ph.preheader.i: ; preds = %21
%wide.trip.count.i = zext nneg i32 %19 to i64
Expand All @@ -11376,7 +11376,7 @@ define i32 @Dau_DsdDecomposeLevel(ptr noundef %0, i32 noundef %1, i32 noundef %2
22: ; preds = %.lr.ph.i
%indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1
%exitcond.not.i = icmp eq i64 %indvars.iv.next.i, %wide.trip.count.i
br i1 %exitcond.not.i, label %.loopexit, label %.lr.ph.i, !llvm.loop !32
br i1 %exitcond.not.i, label %.loopexit54, label %.lr.ph.i, !llvm.loop !32

.lr.ph.i: ; preds = %22, %.lr.ph.preheader.i
%indvars.iv.i = phi i64 [ 0, %.lr.ph.preheader.i ], [ %indvars.iv.next.i, %22 ]
Expand All @@ -11385,12 +11385,12 @@ define i32 @Dau_DsdDecomposeLevel(ptr noundef %0, i32 noundef %1, i32 noundef %2
%.not.i = icmp eq i64 %24, 0
br i1 %.not.i, label %22, label %Abc_TtIsConst1.exit

.loopexit: ; preds = %22, %21
.loopexit54: ; preds = %22, %21
%.not36 = icmp eq ptr %4, null
br i1 %.not36, label %._crit_edge, label %._crit_edge.sink.split

Abc_TtIsConst0.exit.thread51: ; preds = %6
br i1 %20, label %.lr.ph.preheader.i38, label %.loopexit55
br i1 %20, label %.lr.ph.preheader.i38, label %.loopexit

.lr.ph.preheader.i38: ; preds = %Abc_TtIsConst0.exit.thread51
%wide.trip.count.i39 = zext nneg i32 %19 to i64
Expand All @@ -11399,7 +11399,7 @@ Abc_TtIsConst0.exit.thread51: ; preds = %6
25: ; preds = %.lr.ph.i40
%indvars.iv.next.i43 = add nuw nsw i64 %indvars.iv.i41, 1
%exitcond.not.i44 = icmp eq i64 %indvars.iv.next.i43, %wide.trip.count.i39
br i1 %exitcond.not.i44, label %.loopexit55, label %.lr.ph.i40, !llvm.loop !33
br i1 %exitcond.not.i44, label %.loopexit, label %.lr.ph.i40, !llvm.loop !33

.lr.ph.i40: ; preds = %25, %.lr.ph.preheader.i38
%indvars.iv.i41 = phi i64 [ 0, %.lr.ph.preheader.i38 ], [ %indvars.iv.next.i43, %25 ]
Expand All @@ -11408,7 +11408,7 @@ Abc_TtIsConst0.exit.thread51: ; preds = %6
%.not.i42 = icmp eq i64 %27, -1
br i1 %.not.i42, label %25, label %Abc_TtIsConst1.exit

.loopexit55: ; preds = %25, %Abc_TtIsConst0.exit.thread51
.loopexit: ; preds = %25, %Abc_TtIsConst0.exit.thread51
%.not35 = icmp eq ptr %4, null
br i1 %.not35, label %._crit_edge, label %._crit_edge.sink.split

Expand Down Expand Up @@ -11482,15 +11482,15 @@ Dau_DsdComputeMatches.exit: ; preds = %46, %Abc_TtIsConst1
%spec.select = select i1 %or.cond, i32 -1, i32 %.pre
br label %._crit_edge

._crit_edge.sink.split: ; preds = %.loopexit55, %.loopexit
%.sink = phi i8 [ 48, %.loopexit ], [ 49, %.loopexit55 ]
._crit_edge.sink.split: ; preds = %.loopexit, %.loopexit54
%.sink = phi i8 [ 48, %.loopexit54 ], [ 49, %.loopexit ]
store i8 %.sink, ptr %4, align 1
%54 = getelementptr inbounds i8, ptr %4, i64 1
store i8 0, ptr %54, align 1
br label %._crit_edge

._crit_edge: ; preds = %51, %._crit_edge.sink.split, %.loopexit, %.loopexit55
%.0 = phi i32 [ 0, %.loopexit55 ], [ 0, %.loopexit ], [ %spec.select, %51 ], [ 0, %._crit_edge.sink.split ]
._crit_edge: ; preds = %51, %._crit_edge.sink.split, %.loopexit54, %.loopexit
%.0 = phi i32 [ 0, %.loopexit ], [ 0, %.loopexit54 ], [ %spec.select, %51 ], [ 0, %._crit_edge.sink.split ]
ret i32 %.0
}

Expand Down
58 changes: 29 additions & 29 deletions bench/linux/optimized/message.ll
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ define dso_local noundef range(i32 -22, 1) i32 @usb_sg_init(ptr noundef %0, ptr
%25 = load ptr, ptr %24, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 36
%27 = load i32, ptr %26, align 4
%.fr22 = freeze i32 %27
%28 = icmp eq i32 %.fr22, 0
%.fr24 = freeze i32 %27
%28 = icmp eq i32 %.fr24, 0
%29 = getelementptr inbounds i8, ptr %0, i64 36
%30 = select i1 %28, i32 %5, i32 1
store i32 %30, ptr %29, align 4
Expand All @@ -576,20 +576,20 @@ define dso_local noundef range(i32 -22, 1) i32 @usb_sg_init(ptr noundef %0, ptr
%39 = select i1 %38, i32 128, i32 129
%40 = load i32, ptr %29, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %.preheader14, label %146
br i1 %41, label %.preheader14.split, label %146

.preheader14: ; preds = %36
br i1 %28, label %.preheader14.split.us, label %.preheader14.split
.preheader14.split: ; preds = %36
br i1 %28, label %.preheader14.split.split.us, label %.preheader14.split.split

.preheader14.split.us: ; preds = %.preheader14, %.thread11.us
%42 = phi i64 [ %83, %.thread11.us ], [ 0, %.preheader14 ]
%43 = phi ptr [ %84, %.thread11.us ], [ %4, %.preheader14 ]
%44 = phi i64 [ %.ph10.us, %.thread11.us ], [ %6, %.preheader14 ]
.preheader14.split.split.us: ; preds = %.preheader14.split, %.thread11.us
%42 = phi i64 [ %83, %.thread11.us ], [ 0, %.preheader14.split ]
%43 = phi ptr [ %84, %.thread11.us ], [ %4, %.preheader14.split ]
%44 = phi i64 [ %.ph10.us, %.thread11.us ], [ %6, %.preheader14.split ]
%45 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %7) #12
%46 = icmp eq ptr %45, null
br i1 %46, label %.thread, label %47

47: ; preds = %.preheader14.split.us
47: ; preds = %.preheader14.split.split.us
%48 = load ptr, ptr %34, align 8
%49 = getelementptr ptr, ptr %48, i64 %42
store ptr %45, ptr %49, align 8
Expand Down Expand Up @@ -650,21 +650,21 @@ define dso_local noundef range(i32 -22, 1) i32 @usb_sg_init(ptr noundef %0, ptr
%85 = load i32, ptr %29, align 4
%86 = sext i32 %85 to i64
%87 = icmp slt i64 %83, %86
br i1 %87, label %.preheader14.split.us, label %.split.us, !llvm.loop !7
br i1 %87, label %.preheader14.split.split.us, label %.split.us, !llvm.loop !7

.preheader14.split: ; preds = %.preheader14
.preheader14.split.split: ; preds = %.preheader14.split
%88 = trunc i64 %6 to i32
%.not = icmp eq i32 %88, 0
br i1 %.not, label %.preheader14.split.split.us, label %.preheader14.split.split
br i1 %.not, label %.preheader14.split.split.split.us, label %.preheader14.split.split.split

.preheader14.split.split.us: ; preds = %.preheader14.split, %114
%89 = phi i64 [ %116, %114 ], [ 0, %.preheader14.split ]
%90 = phi ptr [ %117, %114 ], [ %4, %.preheader14.split ]
.preheader14.split.split.split.us: ; preds = %.preheader14.split.split, %114
%89 = phi i64 [ %116, %114 ], [ 0, %.preheader14.split.split ]
%90 = phi ptr [ %117, %114 ], [ %4, %.preheader14.split.split ]
%91 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %7) #12
%92 = icmp eq ptr %91, null
br i1 %92, label %.thread, label %.preheader13.us

.preheader13.us: ; preds = %.preheader14.split.split.us
.preheader13.us: ; preds = %.preheader14.split.split.split.us
%93 = load ptr, ptr %34, align 8
%94 = getelementptr ptr, ptr %93, i64 %89
store ptr %91, ptr %94, align 8
Expand Down Expand Up @@ -708,24 +708,24 @@ define dso_local noundef range(i32 -22, 1) i32 @usb_sg_init(ptr noundef %0, ptr
%118 = load i32, ptr %29, align 4
%119 = sext i32 %118 to i64
%120 = icmp slt i64 %116, %119
br i1 %120, label %.preheader14.split.split.us, label %.split.us, !llvm.loop !7
br i1 %120, label %.preheader14.split.split.split.us, label %.split.us, !llvm.loop !7

.preheader14.split.split: ; preds = %.preheader14.split, %.thread11
%121 = phi i64 [ %139, %.thread11 ], [ 0, %.preheader14.split ]
%122 = phi ptr [ %140, %.thread11 ], [ %4, %.preheader14.split ]
.preheader14.split.split.split: ; preds = %.preheader14.split.split, %.thread11
%121 = phi i64 [ %139, %.thread11 ], [ 0, %.preheader14.split.split ]
%122 = phi ptr [ %140, %.thread11 ], [ %4, %.preheader14.split.split ]
%123 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %7) #12
%124 = icmp eq ptr %123, null
br i1 %124, label %.thread, label %.thread11

.thread: ; preds = %.preheader14.split.split, %.preheader14.split.split.us, %.preheader14.split.us
%.us-phi = phi i64 [ %42, %.preheader14.split.us ], [ %89, %.preheader14.split.split.us ], [ %121, %.preheader14.split.split ]
.thread: ; preds = %.preheader14.split.split.split, %.preheader14.split.split.split.us, %.preheader14.split.split.us
%.us-phi = phi i64 [ %42, %.preheader14.split.split.us ], [ %89, %.preheader14.split.split.split.us ], [ %121, %.preheader14.split.split.split ]
%125 = trunc i64 %.us-phi to i32
store i32 %125, ptr %29, align 4
%.pr = load ptr, ptr %34, align 8
%126 = icmp eq ptr %.pr, null
br i1 %126, label %.thread12, label %159

.thread11: ; preds = %.preheader14.split.split
.thread11: ; preds = %.preheader14.split.split.split
%127 = load ptr, ptr %34, align 8
%128 = getelementptr ptr, ptr %127, i64 %121
store ptr %123, ptr %128, align 8
Expand Down Expand Up @@ -754,11 +754,11 @@ define dso_local noundef range(i32 -22, 1) i32 @usb_sg_init(ptr noundef %0, ptr
%141 = load i32, ptr %29, align 4
%142 = sext i32 %141 to i64
%143 = icmp slt i64 %139, %142
br i1 %143, label %.preheader14.split.split, label %.split.us, !llvm.loop !7
br i1 %143, label %.preheader14.split.split.split, label %.split.us, !llvm.loop !7

.split.us: ; preds = %.thread11, %114, %.thread11.us
%.us-phi17 = phi i64 [ %42, %.thread11.us ], [ %89, %114 ], [ %121, %.thread11 ]
%144 = shl i64 %.us-phi17, 32
%.us-phi19 = phi i64 [ %42, %.thread11.us ], [ %89, %114 ], [ %121, %.thread11 ]
%144 = shl i64 %.us-phi19, 32
%145 = ashr exact i64 %144, 32
%.pre = load ptr, ptr %34, align 8
br label %146
Expand Down Expand Up @@ -804,11 +804,11 @@ define dso_local noundef range(i32 -22, 1) i32 @usb_sg_init(ptr noundef %0, ptr
br i1 %169, label %.loopexit.loopexit, label %.preheader, !llvm.loop !11

.loopexit.loopexit: ; preds = %.preheader
%.pre33 = load ptr, ptr %34, align 8
%.pre35 = load ptr, ptr %34, align 8
br label %.loopexit

.loopexit: ; preds = %.loopexit.loopexit, %159
%170 = phi ptr [ %.pre33, %.loopexit.loopexit ], [ %.pr, %159 ]
%170 = phi ptr [ %.pre35, %.loopexit.loopexit ], [ %.pr, %159 ]
tail call void @kfree(ptr noundef %170) #12
store ptr null, ptr %34, align 8
br label %.thread12
Expand Down
60 changes: 30 additions & 30 deletions bench/linux/optimized/namespace.ll
Original file line number Diff line number Diff line change
Expand Up @@ -447,51 +447,51 @@ define internal void @free_ipc(ptr nocapture readnone %0) #0 align 16 {
%2 = tail call ptr asm sideeffect "xchgq ${0:q}, $1\0A", "=r,=*m,0,*m,~{memory},~{cc},~{dirflag},~{fpsr},~{flags}"(ptr nonnull elementtype(ptr) @free_ipc_list, ptr null, ptr nonnull elementtype(ptr) @free_ipc_list) #4, !srcloc !12
%3 = getelementptr i8, ptr %2, i64 -1072
%4 = icmp eq ptr %3, inttoptr (i64 -1072 to ptr)
br i1 %4, label %.critedge, label %.preheader
br i1 %4, label %.critedge, label %.preheader1

.preheader: ; preds = %1, %.preheader
%5 = phi ptr [ %8, %.preheader ], [ %3, %1 ]
.preheader1: ; preds = %1, %.preheader1
%5 = phi ptr [ %8, %.preheader1 ], [ %3, %1 ]
%6 = getelementptr inbounds i8, ptr %5, i64 1072
%7 = load ptr, ptr %6, align 8
%8 = getelementptr i8, ptr %7, i64 -1072
%9 = getelementptr inbounds i8, ptr %5, i64 816
%10 = load ptr, ptr %9, align 8
tail call void @mnt_make_shortterm(ptr noundef %10) #4
%11 = icmp eq ptr %8, inttoptr (i64 -1072 to ptr)
br i1 %11, label %12, label %.preheader, !llvm.loop !13
br i1 %11, label %.preheader, label %.preheader1, !llvm.loop !13

12: ; preds = %.preheader
.preheader: ; preds = %.preheader1
tail call void @synchronize_rcu() #4
br label %13

13: ; preds = %12, %13
%14 = phi ptr [ %17, %13 ], [ %3, %12 ]
%15 = getelementptr inbounds i8, ptr %14, i64 1072
%16 = load ptr, ptr %15, align 8
%17 = getelementptr i8, ptr %16, i64 -1072
%18 = getelementptr inbounds i8, ptr %14, i64 816
%19 = load ptr, ptr %18, align 8
tail call void @mntput(ptr noundef %19) #4
tail call void @sem_exit_ns(ptr noundef %14) #4
tail call void @msg_exit_ns(ptr noundef %14) #4
tail call void @shm_exit_ns(ptr noundef %14) #4
tail call void @retire_mq_sysctls(ptr noundef %14) #4
tail call void @retire_ipc_sysctls(ptr noundef %14) #4
%20 = getelementptr inbounds i8, ptr %14, i64 1064
%21 = load ptr, ptr %20, align 8
tail call void @dec_ucount(ptr noundef %21, i32 noundef 3) #4
%22 = getelementptr inbounds i8, ptr %14, i64 1096
%23 = load i32, ptr %22, align 8
tail call void @proc_free_inum(i32 noundef %23) #4
tail call void @kfree(ptr noundef %14) #4
%24 = icmp eq ptr %17, inttoptr (i64 -1072 to ptr)
br i1 %24, label %.loopexit, label %13, !llvm.loop !14
br label %12

12: ; preds = %.preheader, %12
%13 = phi ptr [ %16, %12 ], [ %3, %.preheader ]
%14 = getelementptr inbounds i8, ptr %13, i64 1072
%15 = load ptr, ptr %14, align 8
%16 = getelementptr i8, ptr %15, i64 -1072
%17 = getelementptr inbounds i8, ptr %13, i64 816
%18 = load ptr, ptr %17, align 8
tail call void @mntput(ptr noundef %18) #4
tail call void @sem_exit_ns(ptr noundef %13) #4
tail call void @msg_exit_ns(ptr noundef %13) #4
tail call void @shm_exit_ns(ptr noundef %13) #4
tail call void @retire_mq_sysctls(ptr noundef %13) #4
tail call void @retire_ipc_sysctls(ptr noundef %13) #4
%19 = getelementptr inbounds i8, ptr %13, i64 1064
%20 = load ptr, ptr %19, align 8
tail call void @dec_ucount(ptr noundef %20, i32 noundef 3) #4
%21 = getelementptr inbounds i8, ptr %13, i64 1096
%22 = load i32, ptr %21, align 8
tail call void @proc_free_inum(i32 noundef %22) #4
tail call void @kfree(ptr noundef %13) #4
%23 = icmp eq ptr %16, inttoptr (i64 -1072 to ptr)
br i1 %23, label %.loopexit, label %12, !llvm.loop !14

.critedge: ; preds = %1
tail call void @synchronize_rcu() #4
br label %.loopexit

.loopexit: ; preds = %13, %.critedge
.loopexit: ; preds = %12, %.critedge
ret void
}

Expand Down
Loading

0 comments on commit 05169a3

Please sign in to comment.