; LLVM IR from sourceryinstitute/MORFEUS-Source :: src/FV/src/mesh_optimize (call_smooth)

; 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"

@smooth_data = external dso_local global ptr, align 8
@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @call_smooth(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = load i32, ptr %19, align 4, !tbaa !9
  %21 = sext i32 %20 to i64
  %22 = mul i64 8, %21
  %23 = call noalias ptr @malloc(i64 noundef %22) #6
  store ptr %23, ptr %15, align 8, !tbaa !5
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = load i32, ptr %24, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = mul i64 8, %26
  %28 = call noalias ptr @malloc(i64 noundef %27) #6
  store ptr %28, ptr %16, align 8, !tbaa !5
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %44, %6
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = load i32, ptr %31, align 4, !tbaa !9
  %33 = icmp slt i32 %30, %32
  br i1 %33, label %34, label %47

34:                                               ; preds = %29
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  %36 = load i32, ptr %17, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [3 x double], ptr %35, i64 %37
  %39 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
  %40 = load ptr, ptr %15, align 8, !tbaa !5
  %41 = load i32, ptr %17, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds ptr, ptr %40, i64 %42
  store ptr %39, ptr %43, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %34
  %45 = load i32, ptr %17, align 4, !tbaa !9
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %17, align 4, !tbaa !9
  br label %29, !llvm.loop !11

47:                                               ; preds = %29
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %63, %47
  %49 = load i32, ptr %17, align 4, !tbaa !9
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = load i32, ptr %50, align 4, !tbaa !9
  %52 = icmp slt i32 %49, %51
  br i1 %52, label %53, label %66

53:                                               ; preds = %48
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [3 x i32], ptr %54, i64 %56
  %58 = getelementptr inbounds [3 x i32], ptr %57, i64 0, i64 0
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = load i32, ptr %17, align 4, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds ptr, ptr %59, i64 %61
  store ptr %58, ptr %62, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %53
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %17, align 4, !tbaa !9
  br label %48, !llvm.loop !13

66:                                               ; preds = %48
  %67 = load ptr, ptr %13, align 8, !tbaa !5
  %68 = load i32, ptr %67, align 4, !tbaa !9
  %69 = icmp sgt i32 %68, 0
  br i1 %69, label %70, label %80

70:                                               ; preds = %66
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load i32, ptr %73, align 4, !tbaa !9
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = load ptr, ptr %15, align 8, !tbaa !5
  %77 = load ptr, ptr %16, align 8, !tbaa !5
  %78 = load ptr, ptr @smooth_data, align 8, !tbaa !5
  %79 = call i32 @SMuntangle(i32 noundef %72, i32 noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78)
  store i32 %79, ptr %14, align 4, !tbaa !9
  br label %103

80:                                               ; preds = %66
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = load i32, ptr %81, align 4, !tbaa !9
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = load ptr, ptr %16, align 8, !tbaa !5
  %88 = load ptr, ptr @smooth_data, align 8, !tbaa !5
  %89 = call i32 @SMsmooth(i32 noundef %82, i32 noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88)
  store i32 %89, ptr %14, align 4, !tbaa !9
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %102

92:                                               ; preds = %80
  store i32 0, ptr %14, align 4, !tbaa !9
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = load i32, ptr %95, align 4, !tbaa !9
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = load ptr, ptr %15, align 8, !tbaa !5
  %99 = load ptr, ptr %16, align 8, !tbaa !5
  %100 = load ptr, ptr @smooth_data, align 8, !tbaa !5
  %101 = call i32 @SMuntangle(i32 noundef %94, i32 noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99, ptr noundef %100)
  store i32 %101, ptr %14, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %92, %80
  br label %103

103:                                              ; preds = %102, %70
  %104 = load i32, ptr %14, align 4, !tbaa !9
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %109

106:                                              ; preds = %103
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = call i32 @SMerror(i32 noundef 123, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %107, i32 noundef 0, ptr noundef null)
  store i32 %108, ptr %7, align 4
  store i32 1, ptr %18, align 4
  br label %113

109:                                              ; preds = %103
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %110) #5
  %111 = load ptr, ptr %16, align 8, !tbaa !5
  call void @free(ptr noundef %111) #5
  %112 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %112, ptr %7, align 4
  store i32 1, ptr %18, align 4
  br label %113

113:                                              ; preds = %109, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %114 = load i32, ptr %7, align 4
  ret i32 %114
}

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

declare i32 @SMuntangle(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @SMsmooth(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(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 = { "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 = { 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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

!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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; 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"

@smooth_data = external dso_local local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @call_smooth(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5) local_unnamed_addr #0 {
  %7 = load i32, ptr %0, align 4, !tbaa !5
  %8 = sext i32 %7 to i64
  %9 = shl nsw i64 %8, 3
  %10 = tail call noalias ptr @malloc(i64 noundef %9) #4
  %11 = load i32, ptr %1, align 4, !tbaa !5
  %12 = sext i32 %11 to i64
  %13 = shl nsw i64 %12, 3
  %14 = tail call noalias ptr @malloc(i64 noundef %13) #4
  %15 = icmp sgt i32 %7, 0
  br i1 %15, label %.lr.ph.preheader, label %.preheader

.lr.ph.preheader:                                 ; preds = %6
  %wide.trip.count = zext nneg i32 %7 to i64
  %min.iters.check = icmp ult i32 %7, 4
  br i1 %min.iters.check, label %.lr.ph.preheader71, label %vector.ph

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

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i64> [ <i64 0, i64 1>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <2 x i64> %vec.ind, <i64 2, i64 2>
  %16 = getelementptr inbounds [3 x double], ptr %3, <2 x i64> %vec.ind
  %17 = getelementptr inbounds [3 x double], ptr %3, <2 x i64> %step.add
  %18 = getelementptr inbounds ptr, ptr %10, i64 %index
  %19 = getelementptr inbounds i8, ptr %18, i64 16
  store <2 x ptr> %16, ptr %18, align 8, !tbaa !9
  store <2 x ptr> %17, ptr %19, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <2 x i64> %vec.ind, <i64 4, i64 4>
  %20 = icmp eq i64 %index.next, %n.vec
  br i1 %20, label %middle.block, label %vector.body, !llvm.loop !11

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

.preheader:                                       ; preds = %.lr.ph, %middle.block, %6
  %21 = icmp sgt i32 %11, 0
  br i1 %21, label %.lr.ph47.preheader, label %._crit_edge

.lr.ph47.preheader:                               ; preds = %.preheader
  %wide.trip.count52 = zext nneg i32 %11 to i64
  %min.iters.check57 = icmp ult i32 %11, 4
  br i1 %min.iters.check57, label %.lr.ph47.preheader70, label %vector.ph58

.lr.ph47.preheader70:                             ; preds = %middle.block55, %.lr.ph47.preheader
  %indvars.iv49.ph = phi i64 [ 0, %.lr.ph47.preheader ], [ %n.vec60, %middle.block55 ]
  br label %.lr.ph47

vector.ph58:                                      ; preds = %.lr.ph47.preheader
  %n.vec60 = and i64 %wide.trip.count52, 2147483644
  br label %vector.body62

vector.body62:                                    ; preds = %vector.body62, %vector.ph58
  %index63 = phi i64 [ 0, %vector.ph58 ], [ %index.next68, %vector.body62 ]
  %vec.ind64 = phi <2 x i64> [ <i64 0, i64 1>, %vector.ph58 ], [ %vec.ind.next67, %vector.body62 ]
  %step.add65 = add <2 x i64> %vec.ind64, <i64 2, i64 2>
  %22 = getelementptr inbounds [3 x i32], ptr %4, <2 x i64> %vec.ind64
  %23 = getelementptr inbounds [3 x i32], ptr %4, <2 x i64> %step.add65
  %24 = getelementptr inbounds ptr, ptr %14, i64 %index63
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  store <2 x ptr> %22, ptr %24, align 8, !tbaa !9
  store <2 x ptr> %23, ptr %25, align 8, !tbaa !9
  %index.next68 = add nuw i64 %index63, 4
  %vec.ind.next67 = add <2 x i64> %vec.ind64, <i64 4, i64 4>
  %26 = icmp eq i64 %index.next68, %n.vec60
  br i1 %26, label %middle.block55, label %vector.body62, !llvm.loop !15

middle.block55:                                   ; preds = %vector.body62
  %cmp.n69 = icmp eq i64 %n.vec60, %wide.trip.count52
  br i1 %cmp.n69, label %._crit_edge, label %.lr.ph47.preheader70

.lr.ph:                                           ; preds = %.lr.ph.preheader71, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader71 ]
  %27 = getelementptr inbounds [3 x double], ptr %3, i64 %indvars.iv
  %28 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv
  store ptr %27, ptr %28, align 8, !tbaa !9
  %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 %.preheader, label %.lr.ph, !llvm.loop !16

.lr.ph47:                                         ; preds = %.lr.ph47.preheader70, %.lr.ph47
  %indvars.iv49 = phi i64 [ %indvars.iv.next50, %.lr.ph47 ], [ %indvars.iv49.ph, %.lr.ph47.preheader70 ]
  %29 = getelementptr inbounds [3 x i32], ptr %4, i64 %indvars.iv49
  %30 = getelementptr inbounds ptr, ptr %14, i64 %indvars.iv49
  store ptr %29, ptr %30, align 8, !tbaa !9
  %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49, 1
  %exitcond53.not = icmp eq i64 %indvars.iv.next50, %wide.trip.count52
  br i1 %exitcond53.not, label %._crit_edge, label %.lr.ph47, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph47, %middle.block55, %.preheader
  %31 = load i32, ptr %5, align 4, !tbaa !5
  %32 = icmp sgt i32 %31, 0
  %33 = load ptr, ptr @smooth_data, align 8, !tbaa !9
  br i1 %32, label %34, label %36

34:                                               ; preds = %._crit_edge
  %35 = tail call i32 @SMuntangle(i32 noundef %7, i32 noundef %11, ptr noundef %2, ptr noundef %10, ptr noundef %14, ptr noundef %33) #5
  br label %43

36:                                               ; preds = %._crit_edge
  %37 = tail call i32 @SMsmooth(i32 noundef %7, i32 noundef %11, ptr noundef %2, ptr noundef %10, ptr noundef %14, ptr noundef %33) #5
  %.not = icmp eq i32 %37, 0
  br i1 %.not, label %.thread, label %38

38:                                               ; preds = %36
  %39 = load i32, ptr %0, align 4, !tbaa !5
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = load ptr, ptr @smooth_data, align 8, !tbaa !9
  %42 = tail call i32 @SMuntangle(i32 noundef %39, i32 noundef %40, ptr noundef %2, ptr noundef %10, ptr noundef %14, ptr noundef %41) #5
  br label %43

43:                                               ; preds = %38, %34
  %.039 = phi i32 [ %35, %34 ], [ %42, %38 ]
  %.not42 = icmp eq i32 %.039, 0
  br i1 %.not42, label %.thread, label %44

44:                                               ; preds = %43
  %45 = tail call i32 @SMerror(i32 noundef 123, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %.039, i32 noundef 0, ptr noundef null) #5
  br label %46

.thread:                                          ; preds = %36, %43
  tail call void @free(ptr noundef %10) #5
  tail call void @free(ptr noundef %14) #5
  br label %46

46:                                               ; preds = %.thread, %44
  %.038 = phi i32 [ %45, %44 ], [ 0, %.thread ]
  ret i32 %.038
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

declare i32 @SMuntangle(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @SMsmooth(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind allocsize(0) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !13, !14}
!16 = distinct !{!16, !12, !14, !13}
!17 = distinct !{!17, !12, !14, !13}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass