; LLVM IR from jingweizhanghuai/Morn :: src/wave (morn_wave)

; 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.MWave = type { i32, i32, [32 x ptr] }

@.str = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@__FUNCTION__.mWavSquarMean = external hidden unnamed_addr constant [14 x i8], align 1

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

declare void @m_Exception(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @mWavSquarMean(ptr noundef %0, ptr noundef %1) #2 {
  %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 float, align 4
  %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
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  br label %11

11:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = icmp eq ptr %12, null
  br i1 %13, label %18, label %14

14:                                               ; preds = %11
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = ptrtoint ptr %15 to i64
  %17 = icmp eq i64 %16, -1
  br i1 %17, label %18, label %19

18:                                               ; preds = %14, %11
  br i1 true, label %49, label %40

19:                                               ; preds = %14
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.MWave, ptr %20, i32 0, i32 2
  %22 = getelementptr inbounds [32 x ptr], ptr %21, i64 0, i64 0
  %23 = icmp eq ptr %22, null
  br i1 %23, label %49, label %24

24:                                               ; preds = %19
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.MWave, ptr %25, i32 0, i32 2
  %27 = getelementptr inbounds [32 x ptr], ptr %26, i64 0, i64 0
  %28 = ptrtoint ptr %27 to i64
  %29 = icmp eq i64 %28, -1
  br i1 %29, label %49, label %30

30:                                               ; preds = %24
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.MWave, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !9
  %34 = icmp sle i32 %33, 0
  br i1 %34, label %49, label %35

35:                                               ; preds = %30
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.MWave, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !12
  %39 = icmp sle i32 %38, 0
  br i1 %39, label %49, label %40

40:                                               ; preds = %35, %18
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = icmp eq ptr %41, null
  br i1 %42, label %47, label %43

43:                                               ; preds = %40
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = ptrtoint ptr %44 to i64
  %46 = icmp eq i64 %45, -1
  br label %47

47:                                               ; preds = %43, %40
  %48 = phi i1 [ true, %40 ], [ %46, %43 ]
  br label %49

49:                                               ; preds = %47, %35, %30, %24, %19, %18
  %50 = phi i1 [ true, %35 ], [ true, %30 ], [ true, %24 ], [ true, %19 ], [ true, %18 ], [ %48, %47 ]
  %51 = zext i1 %50 to i32
  store i32 %51, ptr %10, align 4, !tbaa !13
  %52 = load i32, ptr %10, align 4, !tbaa !13
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %56

54:                                               ; preds = %49
  %55 = load i32, ptr %10, align 4, !tbaa !13
  call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef %55, i32 noundef -1, ptr noundef @.str, i32 noundef 197, ptr noundef @__FUNCTION__.mWavSquarMean, ptr noundef @.str.2)
  br label %56

56:                                               ; preds = %54, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  store float 0.000000e+00, ptr %8, align 4, !tbaa !14
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.MWave, ptr %59, i32 0, i32 2
  %61 = getelementptr inbounds [32 x ptr], ptr %60, i64 0, i64 0
  store ptr %61, ptr %9, align 8, !tbaa !5
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.MWave, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 4, !tbaa !12
  store i32 %64, ptr %5, align 4, !tbaa !13
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %65

65:                                               ; preds = %109, %58
  %66 = load i32, ptr %7, align 4, !tbaa !13
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.MWave, ptr %67, i32 0, i32 0
  %69 = load i32, ptr %68, align 8, !tbaa !9
  %70 = icmp slt i32 %66, %69
  br i1 %70, label %71, label %112

71:                                               ; preds = %65
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %72

72:                                               ; preds = %97, %71
  %73 = load i32, ptr %6, align 4, !tbaa !13
  %74 = load i32, ptr %5, align 4, !tbaa !13
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %76, label %100

76:                                               ; preds = %72
  %77 = load float, ptr %8, align 4, !tbaa !14
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = load i32, ptr %7, align 4, !tbaa !13
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds ptr, ptr %78, i64 %80
  %82 = load ptr, ptr %81, align 8, !tbaa !5
  %83 = load i32, ptr %6, align 4, !tbaa !13
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds float, ptr %82, i64 %84
  %86 = load float, ptr %85, align 4, !tbaa !14
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = load i32, ptr %7, align 4, !tbaa !13
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds ptr, ptr %87, i64 %89
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = load i32, ptr %6, align 4, !tbaa !13
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds float, ptr %91, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !14
  %96 = call float @llvm.fmuladd.f32(float %86, float %95, float %77)
  store float %96, ptr %8, align 4, !tbaa !14
  br label %97

97:                                               ; preds = %76
  %98 = load i32, ptr %6, align 4, !tbaa !13
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %6, align 4, !tbaa !13
  br label %72, !llvm.loop !16

100:                                              ; preds = %72
  %101 = load float, ptr %8, align 4, !tbaa !14
  %102 = load i32, ptr %5, align 4, !tbaa !13
  %103 = sitofp i32 %102 to float
  %104 = fdiv float %101, %103
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = load i32, ptr %7, align 4, !tbaa !13
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds float, ptr %105, i64 %107
  store float %104, ptr %108, align 4, !tbaa !14
  br label %109

109:                                              ; preds = %100
  %110 = load i32, ptr %7, align 4, !tbaa !13
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %7, align 4, !tbaa !13
  br label %65, !llvm.loop !18

112:                                              ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"MWave", !11, i64 0, !11, i64 4, !7, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


; 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 [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@__FUNCTION__.mWavSquarMean = external hidden unnamed_addr constant [14 x i8], align 1

declare void @m_Exception(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @mWavSquarMean(ptr noundef %0, ptr noundef writeonly %1) local_unnamed_addr #1 {
  %3 = getelementptr i8, ptr %0, i64 8
  %4 = icmp eq ptr %3, inttoptr (i64 -1 to ptr)
  br i1 %4, label %14, label %switch.early.test

switch.early.test:                                ; preds = %2
  %magicptr = ptrtoint ptr %0 to i64
  switch i64 %magicptr, label %5 [
    i64 -1, label %14
    i64 0, label %14
  ]

5:                                                ; preds = %switch.early.test
  %6 = load i32, ptr %0, align 8, !tbaa !5
  %7 = icmp slt i32 %6, 1
  br i1 %7, label %14, label %8

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

12:                                               ; preds = %8
  %magicptr43 = ptrtoint ptr %1 to i64
  switch i64 %magicptr43, label %.preheader.lr.ph.thread [
    i64 -1, label %14
    i64 0, label %14
  ]

.preheader.lr.ph.thread:                          ; preds = %12
  %13 = uitofp nneg i32 %10 to float
  br label %.preheader.us.preheader

14:                                               ; preds = %8, %5, %switch.early.test, %switch.early.test, %2, %12, %12
  tail call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef 1, i32 noundef -1, ptr noundef nonnull @.str, i32 noundef 197, ptr noundef nonnull @__FUNCTION__.mWavSquarMean, ptr noundef nonnull @.str.2) #3
  %.pre61 = load i32, ptr %0, align 8, !tbaa !5
  %15 = icmp sgt i32 %.pre61, 0
  br i1 %15, label %.preheader.lr.ph, label %._crit_edge48

.preheader.lr.ph:                                 ; preds = %14
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 4
  %.pre = load i32, ptr %.phi.trans.insert, align 4, !tbaa !10
  %16 = icmp sgt i32 %.pre, 0
  %17 = sitofp i32 %.pre to float
  br i1 %16, label %.preheader.us.preheader, label %.preheader.lr.ph.split

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph.thread, %.preheader.lr.ph
  %18 = phi float [ %13, %.preheader.lr.ph.thread ], [ %17, %.preheader.lr.ph ]
  %19 = phi i32 [ %6, %.preheader.lr.ph.thread ], [ %.pre61, %.preheader.lr.ph ]
  %20 = phi i32 [ %10, %.preheader.lr.ph.thread ], [ %.pre, %.preheader.lr.ph ]
  %wide.trip.count59 = zext nneg i32 %19 to i64
  %wide.trip.count54 = zext nneg i32 %20 to i64
  %xtraiter = and i64 %wide.trip.count54, 3
  %21 = icmp ult i32 %20, 4
  %unroll_iter = and i64 %wide.trip.count54, 2147483644
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us
  %indvars.iv56 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next57, %._crit_edge.us ]
  %.04046.us = phi float [ 0.000000e+00, %.preheader.us.preheader ], [ %.lcssa, %._crit_edge.us ]
  %22 = getelementptr inbounds ptr, ptr %3, i64 %indvars.iv56
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  br i1 %21, label %._crit_edge.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %indvars.iv51 = phi i64 [ %indvars.iv.next52.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %.144.us = phi float [ %35, %.preheader.us.new ], [ %.04046.us, %.preheader.us ]
  %niter = phi i64 [ %niter.next.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %24 = getelementptr inbounds float, ptr %23, i64 %indvars.iv51
  %25 = load float, ptr %24, align 4, !tbaa !13
  %26 = tail call float @llvm.fmuladd.f32(float %25, float %25, float %.144.us)
  %indvars.iv.next52 = or disjoint i64 %indvars.iv51, 1
  %27 = getelementptr inbounds float, ptr %23, i64 %indvars.iv.next52
  %28 = load float, ptr %27, align 4, !tbaa !13
  %29 = tail call float @llvm.fmuladd.f32(float %28, float %28, float %26)
  %indvars.iv.next52.1 = or disjoint i64 %indvars.iv51, 2
  %30 = getelementptr inbounds float, ptr %23, i64 %indvars.iv.next52.1
  %31 = load float, ptr %30, align 4, !tbaa !13
  %32 = tail call float @llvm.fmuladd.f32(float %31, float %31, float %29)
  %indvars.iv.next52.2 = or disjoint i64 %indvars.iv51, 3
  %33 = getelementptr inbounds float, ptr %23, i64 %indvars.iv.next52.2
  %34 = load float, ptr %33, align 4, !tbaa !13
  %35 = tail call float @llvm.fmuladd.f32(float %34, float %34, float %32)
  %indvars.iv.next52.3 = add nuw nsw i64 %indvars.iv51, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !15

._crit_edge.us.unr-lcssa:                         ; preds = %.preheader.us.new, %.preheader.us
  %.lcssa.ph = phi float [ poison, %.preheader.us ], [ %35, %.preheader.us.new ]
  %indvars.iv51.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next52.3, %.preheader.us.new ]
  %.144.us.unr = phi float [ %.04046.us, %.preheader.us ], [ %35, %.preheader.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.us.unr-lcssa, %.epil.preheader
  %indvars.iv51.epil = phi i64 [ %indvars.iv.next52.epil, %.epil.preheader ], [ %indvars.iv51.unr, %._crit_edge.us.unr-lcssa ]
  %.144.us.epil = phi float [ %38, %.epil.preheader ], [ %.144.us.unr, %._crit_edge.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.us.unr-lcssa ]
  %36 = getelementptr inbounds float, ptr %23, i64 %indvars.iv51.epil
  %37 = load float, ptr %36, align 4, !tbaa !13
  %38 = tail call float @llvm.fmuladd.f32(float %37, float %37, float %.144.us.epil)
  %indvars.iv.next52.epil = add nuw nsw i64 %indvars.iv51.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge.us, label %.epil.preheader, !llvm.loop !17

._crit_edge.us:                                   ; preds = %.epil.preheader, %._crit_edge.us.unr-lcssa
  %.lcssa = phi float [ %.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %38, %.epil.preheader ]
  %39 = fdiv float %.lcssa, %18
  %40 = getelementptr inbounds float, ptr %1, i64 %indvars.iv56
  store float %39, ptr %40, align 4, !tbaa !13
  %indvars.iv.next57 = add nuw nsw i64 %indvars.iv56, 1
  %exitcond60.not = icmp eq i64 %indvars.iv.next57, %wide.trip.count59
  br i1 %exitcond60.not, label %._crit_edge48, label %.preheader.us, !llvm.loop !19

.preheader.lr.ph.split:                           ; preds = %.preheader.lr.ph
  %41 = fdiv float 0.000000e+00, %17
  %wide.trip.count = zext nneg i32 %.pre61 to i64
  %min.iters.check = icmp ult i32 %.pre61, 8
  br i1 %min.iters.check, label %.preheader.preheader, label %vector.ph

vector.ph:                                        ; preds = %.preheader.lr.ph.split
  %n.vec = and i64 %wide.trip.count, 2147483640
  %broadcast.splatinsert = insertelement <4 x float> poison, float %41, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %42 = getelementptr inbounds float, ptr %1, i64 %index
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  store <4 x float> %broadcast.splat, ptr %42, align 4, !tbaa !13
  store <4 x float> %broadcast.splat, ptr %43, align 4, !tbaa !13
  %index.next = add nuw i64 %index, 8
  %44 = icmp eq i64 %index.next, %n.vec
  br i1 %44, label %middle.block, label %vector.body, !llvm.loop !20

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge48, label %.preheader.preheader

.preheader.preheader:                             ; preds = %middle.block, %.preheader.lr.ph.split
  %indvars.iv.ph = phi i64 [ 0, %.preheader.lr.ph.split ], [ %n.vec, %middle.block ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader ], [ %indvars.iv.ph, %.preheader.preheader ]
  %45 = getelementptr inbounds float, ptr %1, i64 %indvars.iv
  store float %41, ptr %45, align 4, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge48, label %.preheader, !llvm.loop !23

._crit_edge48:                                    ; preds = %.preheader, %._crit_edge.us, %middle.block, %14
  ret void
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

attributes #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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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, !7, i64 0}
!6 = !{!"MWave", !7, i64 0, !7, i64 4, !8, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16, !21, !22}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = distinct !{!23, !16, !22, !21}


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