; LLVM IR from zchrissirhcz/pixel :: perfs/flip (flip)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.px_image_t = type { ptr, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__.flip_horiz_gray_asimd = external hidden unnamed_addr constant [55 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

declare zeroext i1 @px_image_equal_in_shape(ptr noundef, ptr noundef, i1 noundef zeroext) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nounwind uwtable
define dso_local void @flip_horiz_gray_asimd(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %17

13:                                               ; preds = %2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %17

16:                                               ; preds = %13
  br label %18

17:                                               ; preds = %13, %2
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 129, ptr noundef @__PRETTY_FUNCTION__.flip_horiz_gray_asimd) #4
  unreachable

18:                                               ; preds = %16
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = call zeroext i1 @px_image_equal_in_shape(ptr noundef %19, ptr noundef %20, i1 noundef zeroext false)
  br i1 %21, label %22, label %23

22:                                               ; preds = %18
  br label %24

23:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 130, ptr noundef @__PRETTY_FUNCTION__.flip_horiz_gray_asimd) #4
  unreachable

24:                                               ; preds = %22
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.px_image_t, ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 8, !tbaa !9
  %28 = icmp eq i32 %27, 1
  br i1 %28, label %29, label %30

29:                                               ; preds = %24
  br label %31

30:                                               ; preds = %24
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 131, ptr noundef @__PRETTY_FUNCTION__.flip_horiz_gray_asimd) #4
  unreachable

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.px_image_t, ptr %32, i32 0, i32 1
  %34 = load i32, ptr %33, align 8, !tbaa !12
  store i32 %34, ptr %5, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.px_image_t, ptr %35, i32 0, i32 2
  %37 = load i32, ptr %36, align 4, !tbaa !14
  store i32 %37, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %38

38:                                               ; preds = %80, %31
  %39 = load i32, ptr %7, align 4, !tbaa !13
  %40 = load i32, ptr %6, align 4, !tbaa !13
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %83

43:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.px_image_t, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !15
  %47 = load i32, ptr %7, align 4, !tbaa !13
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.px_image_t, ptr %48, i32 0, i32 4
  %50 = load i32, ptr %49, align 4, !tbaa !16
  %51 = mul nsw i32 %47, %50
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds i8, ptr %46, i64 %52
  store ptr %53, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.px_image_t, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = load i32, ptr %7, align 4, !tbaa !13
  %58 = add nsw i32 %57, 1
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.px_image_t, ptr %59, i32 0, i32 4
  %61 = load i32, ptr %60, align 4, !tbaa !16
  %62 = mul nsw i32 %58, %61
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds i8, ptr %56, i64 %63
  store ptr %64, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %65 = load i32, ptr %5, align 4, !tbaa !13
  store i32 %65, ptr %10, align 4, !tbaa !13
  br label %66

66:                                               ; preds = %76, %43
  %67 = load i32, ptr %10, align 4, !tbaa !13
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %69, label %79

69:                                               ; preds = %66
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i32 -1
  store ptr %71, ptr %9, align 8, !tbaa !5
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = load i8, ptr %72, align 1, !tbaa !17
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %74, i32 1
  store ptr %75, ptr %8, align 8, !tbaa !5
  store i8 %73, ptr %74, align 1, !tbaa !17
  br label %76

76:                                               ; preds = %69
  %77 = load i32, ptr %10, align 4, !tbaa !13
  %78 = add nsw i32 %77, -1
  store i32 %78, ptr %10, align 4, !tbaa !13
  br label %66, !llvm.loop !18

79:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %7, align 4, !tbaa !13
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %7, align 4, !tbaa !13
  br label %38, !llvm.loop !20

83:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"px_image_t", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 12}
!15 = !{!10, !6, i64 0}
!16 = !{!10, !11, i64 20}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__.flip_horiz_gray_asimd = external hidden unnamed_addr constant [55 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare zeroext i1 @px_image_equal_in_shape(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @flip_horiz_gray_asimd(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = icmp ne ptr %0, null
  %4 = icmp ne ptr %1, null
  %or.cond = and i1 %3, %4
  br i1 %or.cond, label %6, label %5

5:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 129, ptr noundef nonnull @__PRETTY_FUNCTION__.flip_horiz_gray_asimd) #3
  unreachable

6:                                                ; preds = %2
  %7 = tail call zeroext i1 @px_image_equal_in_shape(ptr noundef nonnull %0, ptr noundef nonnull %1, i1 noundef zeroext false) #4
  br i1 %7, label %9, label %8

8:                                                ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 130, ptr noundef nonnull @__PRETTY_FUNCTION__.flip_horiz_gray_asimd) #3
  unreachable

9:                                                ; preds = %6
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = icmp eq i32 %11, 1
  br i1 %12, label %14, label %13

13:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 131, ptr noundef nonnull @__PRETTY_FUNCTION__.flip_horiz_gray_asimd) #3
  unreachable

14:                                               ; preds = %9
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = getelementptr inbounds i8, ptr %0, i64 12
  %18 = load i32, ptr %17, align 4, !tbaa !12
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph31, label %._crit_edge

.lr.ph31:                                         ; preds = %14
  %20 = getelementptr inbounds i8, ptr %1, i64 20
  %21 = icmp sgt i32 %16, 0
  br i1 %21, label %.lr.ph.us.preheader, label %._crit_edge

.lr.ph.us.preheader:                              ; preds = %.lr.ph31
  %22 = add nsw i32 %16, -1
  %23 = zext i32 %22 to i64
  %24 = zext nneg i32 %16 to i64
  %25 = xor i64 %23, -1
  %26 = zext nneg i32 %16 to i64
  %min.iters.check = icmp ult i32 %16, 8
  %min.iters.check36 = icmp ult i32 %16, 32
  %n.vec = and i64 %26, 2147483616
  %cmp.n = icmp eq i64 %n.vec, %26
  %27 = sub nsw i64 0, %n.vec
  %.cast44 = trunc nuw nsw i64 %n.vec to i32
  %ind.end45 = sub nsw i32 %16, %.cast44
  %n.vec.remaining = and i64 %26, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  %n.vec43 = and i64 %26, 2147483640
  %.cast = trunc nuw nsw i64 %n.vec43 to i32
  %ind.end = sub nsw i32 %16, %.cast
  %28 = sub nsw i64 0, %n.vec43
  %cmp.n59 = icmp eq i64 %n.vec43, %26
  br label %iter.check

iter.check:                                       ; preds = %.lr.ph.us.preheader, %..loopexit_crit_edge.us
  %.02430.us = phi i32 [ %35, %..loopexit_crit_edge.us ], [ 0, %.lr.ph.us.preheader ]
  %29 = load ptr, ptr %1, align 8, !tbaa !13
  %30 = load i32, ptr %20, align 4, !tbaa !14
  %31 = mul i32 %30, %.02430.us
  %32 = sext i32 %31 to i64
  %33 = getelementptr i8, ptr %29, i64 %32
  %34 = load ptr, ptr %0, align 8, !tbaa !13
  %35 = add nuw nsw i32 %.02430.us, 1
  %36 = mul i32 %30, %35
  %37 = sext i32 %36 to i64
  %38 = getelementptr i8, ptr %34, i64 %37
  br i1 %min.iters.check, label %vec.epilog.scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %iter.check
  %scevgep = getelementptr i8, ptr %29, i64 %24
  %scevgep33 = getelementptr i8, ptr %scevgep, i64 %32
  %scevgep34 = getelementptr i8, ptr %34, i64 %25
  %scevgep35 = getelementptr i8, ptr %scevgep34, i64 %37
  %bound0 = icmp ult ptr %33, %38
  %bound1 = icmp ult ptr %scevgep35, %scevgep33
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %vec.epilog.scalar.ph.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %vector.memcheck
  br i1 %min.iters.check36, label %vec.epilog.ph, label %vector.body

vector.body:                                      ; preds = %vector.main.loop.iter.check, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.main.loop.iter.check ]
  %offset.idx = sub i64 0, %index
  %next.gep = getelementptr i8, ptr %38, i64 %offset.idx
  %next.gep38 = getelementptr i8, ptr %33, i64 %index
  %39 = getelementptr inbounds i8, ptr %next.gep, i64 -16
  %40 = getelementptr inbounds i8, ptr %next.gep, i64 -32
  %wide.load = load <16 x i8>, ptr %39, align 1, !tbaa !15, !alias.scope !16
  %reverse = shufflevector <16 x i8> %wide.load, <16 x i8> poison, <16 x i32> <i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0>
  %wide.load40 = load <16 x i8>, ptr %40, align 1, !tbaa !15, !alias.scope !16
  %reverse41 = shufflevector <16 x i8> %wide.load40, <16 x i8> poison, <16 x i32> <i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0>
  %41 = getelementptr i8, ptr %next.gep38, i64 16
  store <16 x i8> %reverse, ptr %next.gep38, align 1, !tbaa !15, !alias.scope !19, !noalias !16
  store <16 x i8> %reverse41, ptr %41, align 1, !tbaa !15, !alias.scope !19, !noalias !16
  %index.next = add nuw i64 %index, 32
  %42 = icmp eq i64 %index.next, %n.vec
  br i1 %42, label %middle.block, label %vector.body, !llvm.loop !21

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %..loopexit_crit_edge.us, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  %ind.end50 = getelementptr i8, ptr %33, i64 %n.vec
  %ind.end47 = getelementptr i8, ptr %38, i64 %27
  br i1 %min.epilog.iters.check, label %vec.epilog.scalar.ph.preheader, label %vec.epilog.ph

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %ind.end46 = getelementptr i8, ptr %38, i64 %28
  %ind.end49 = getelementptr i8, ptr %33, i64 %n.vec43
  %invariant.gep = getelementptr i8, ptr %38, i64 -8
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index52 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next58, %vec.epilog.vector.body ]
  %offset.idx53 = sub i64 0, %index52
  %next.gep55 = getelementptr i8, ptr %33, i64 %index52
  %gep = getelementptr i8, ptr %invariant.gep, i64 %offset.idx53
  %wide.load56 = load <8 x i8>, ptr %gep, align 1, !tbaa !15, !alias.scope !25
  %reverse57 = shufflevector <8 x i8> %wide.load56, <8 x i8> poison, <8 x i32> <i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0>
  store <8 x i8> %reverse57, ptr %next.gep55, align 1, !tbaa !15, !alias.scope !28, !noalias !25
  %index.next58 = add nuw i64 %index52, 8
  %43 = icmp eq i64 %index.next58, %n.vec43
  br i1 %43, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !30

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  br i1 %cmp.n59, label %..loopexit_crit_edge.us, label %vec.epilog.scalar.ph.preheader

vec.epilog.scalar.ph.preheader:                   ; preds = %vec.epilog.middle.block, %vector.memcheck, %iter.check, %vec.epilog.iter.check
  %.029.us.ph = phi i32 [ %16, %iter.check ], [ %16, %vector.memcheck ], [ %ind.end45, %vec.epilog.iter.check ], [ %ind.end, %vec.epilog.middle.block ]
  %.02228.us.ph = phi ptr [ %38, %iter.check ], [ %38, %vector.memcheck ], [ %ind.end47, %vec.epilog.iter.check ], [ %ind.end46, %vec.epilog.middle.block ]
  %.02327.us.ph = phi ptr [ %33, %iter.check ], [ %33, %vector.memcheck ], [ %ind.end50, %vec.epilog.iter.check ], [ %ind.end49, %vec.epilog.middle.block ]
  br label %vec.epilog.scalar.ph

vec.epilog.scalar.ph:                             ; preds = %vec.epilog.scalar.ph.preheader, %vec.epilog.scalar.ph
  %.029.us = phi i32 [ %47, %vec.epilog.scalar.ph ], [ %.029.us.ph, %vec.epilog.scalar.ph.preheader ]
  %.02228.us = phi ptr [ %44, %vec.epilog.scalar.ph ], [ %.02228.us.ph, %vec.epilog.scalar.ph.preheader ]
  %.02327.us = phi ptr [ %46, %vec.epilog.scalar.ph ], [ %.02327.us.ph, %vec.epilog.scalar.ph.preheader ]
  %44 = getelementptr inbounds i8, ptr %.02228.us, i64 -1
  %45 = load i8, ptr %44, align 1, !tbaa !15
  %46 = getelementptr inbounds i8, ptr %.02327.us, i64 1
  store i8 %45, ptr %.02327.us, align 1, !tbaa !15
  %47 = add nsw i32 %.029.us, -1
  %48 = icmp sgt i32 %.029.us, 1
  br i1 %48, label %vec.epilog.scalar.ph, label %..loopexit_crit_edge.us, !llvm.loop !31

..loopexit_crit_edge.us:                          ; preds = %vec.epilog.scalar.ph, %vec.epilog.middle.block, %middle.block
  %exitcond.not = icmp eq i32 %35, %18
  br i1 %exitcond.not, label %._crit_edge, label %iter.check, !llvm.loop !32

._crit_edge:                                      ; preds = %..loopexit_crit_edge.us, %.lr.ph31, %14
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn nounwind }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"px_image_t", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !10, i64 12}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 20}
!15 = !{!8, !8, i64 0}
!16 = !{!17}
!17 = distinct !{!17, !18}
!18 = distinct !{!18, !"LVerDomain"}
!19 = !{!20}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !22, !23, !24}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = !{!26}
!26 = distinct !{!26, !27}
!27 = distinct !{!27, !"LVerDomain"}
!28 = !{!29}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !22, !23, !24}
!31 = distinct !{!31, !22, !23}
!32 = distinct !{!32, !22}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass