; LLVM IR from stan-dev/math :: lib/sundials_6.1.1/src/nvector/manyvector (nvector_manyvector)

; 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._generic_N_Vector = type { ptr, ptr, ptr }
%struct._N_VectorContent_ManyVector = type { i64, i64, ptr, i32 }

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

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

28:                                               ; preds = %5
  %29 = load ptr, ptr %16, align 8, !tbaa !9
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %28, %5
  store i32 1, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %106

32:                                               ; preds = %28
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %33

33:                                               ; preds = %100, %32
  %34 = load i64, ptr %12, align 8, !tbaa !11
  %35 = load ptr, ptr %9, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct._generic_N_Vector, ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  %38 = getelementptr inbounds %struct._N_VectorContent_ManyVector, ptr %37, i32 0, i32 0
  %39 = load i64, ptr %38, align 8, !tbaa !15
  %40 = icmp slt i64 %34, %39
  br i1 %40, label %41, label %103

41:                                               ; preds = %33
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %42

42:                                               ; preds = %76, %41
  %43 = load i64, ptr %13, align 8, !tbaa !11
  %44 = load i32, ptr %7, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = icmp slt i64 %43, %45
  br i1 %46, label %47, label %79

47:                                               ; preds = %42
  %48 = load ptr, ptr %10, align 8, !tbaa !9
  %49 = load i64, ptr %13, align 8, !tbaa !11
  %50 = getelementptr inbounds ptr, ptr %48, i64 %49
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct._generic_N_Vector, ptr %51, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8, !tbaa !13
  %54 = getelementptr inbounds %struct._N_VectorContent_ManyVector, ptr %53, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !17
  %56 = load i64, ptr %12, align 8, !tbaa !11
  %57 = getelementptr inbounds ptr, ptr %55, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = load ptr, ptr %15, align 8, !tbaa !9
  %60 = load i64, ptr %13, align 8, !tbaa !11
  %61 = getelementptr inbounds ptr, ptr %59, i64 %60
  store ptr %58, ptr %61, align 8, !tbaa !9
  %62 = load ptr, ptr %11, align 8, !tbaa !9
  %63 = load i64, ptr %13, align 8, !tbaa !11
  %64 = getelementptr inbounds ptr, ptr %62, i64 %63
  %65 = load ptr, ptr %64, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct._generic_N_Vector, ptr %65, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !13
  %68 = getelementptr inbounds %struct._N_VectorContent_ManyVector, ptr %67, i32 0, i32 2
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  %70 = load i64, ptr %12, align 8, !tbaa !11
  %71 = getelementptr inbounds ptr, ptr %69, i64 %70
  %72 = load ptr, ptr %71, align 8, !tbaa !9
  %73 = load ptr, ptr %16, align 8, !tbaa !9
  %74 = load i64, ptr %13, align 8, !tbaa !11
  %75 = getelementptr inbounds ptr, ptr %73, i64 %74
  store ptr %72, ptr %75, align 8, !tbaa !9
  br label %76

76:                                               ; preds = %47
  %77 = load i64, ptr %13, align 8, !tbaa !11
  %78 = add nsw i64 %77, 1
  store i64 %78, ptr %13, align 8, !tbaa !11
  br label %42, !llvm.loop !18

79:                                               ; preds = %42
  %80 = load i32, ptr %7, align 4, !tbaa !5
  %81 = load ptr, ptr %8, align 8, !tbaa !9
  %82 = load ptr, ptr %9, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct._generic_N_Vector, ptr %82, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !13
  %85 = getelementptr inbounds %struct._N_VectorContent_ManyVector, ptr %84, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !17
  %87 = load i64, ptr %12, align 8, !tbaa !11
  %88 = getelementptr inbounds ptr, ptr %86, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !9
  %90 = load ptr, ptr %15, align 8, !tbaa !9
  %91 = load ptr, ptr %16, align 8, !tbaa !9
  %92 = call i32 @N_VScaleAddMulti(i32 noundef %80, ptr noundef %81, ptr noundef %89, ptr noundef %90, ptr noundef %91)
  store i32 %92, ptr %14, align 4, !tbaa !5
  %93 = load i32, ptr %14, align 4, !tbaa !5
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %99

95:                                               ; preds = %79
  %96 = load ptr, ptr %15, align 8, !tbaa !9
  call void @free(ptr noundef %96) #5
  %97 = load ptr, ptr %16, align 8, !tbaa !9
  call void @free(ptr noundef %97) #5
  %98 = load i32, ptr %14, align 4, !tbaa !5
  store i32 %98, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %106

99:                                               ; preds = %79
  br label %100

100:                                              ; preds = %99
  %101 = load i64, ptr %12, align 8, !tbaa !11
  %102 = add nsw i64 %101, 1
  store i64 %102, ptr %12, align 8, !tbaa !11
  br label %33, !llvm.loop !20

103:                                              ; preds = %33
  %104 = load ptr, ptr %15, align 8, !tbaa !9
  call void @free(ptr noundef %104) #5
  %105 = load ptr, ptr %16, align 8, !tbaa !9
  call void @free(ptr noundef %105) #5
  store i32 0, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %106

106:                                              ; preds = %103, %95, %31
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %107 = load i32, ptr %6, align 4
  ret i32 %107
}

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

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

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

declare i32 @N_VScaleAddMulti(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #4 = { "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 = !{!"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 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_generic_N_Vector", !10, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!16, !12, i64 0}
!16 = !{!"_N_VectorContent_ManyVector", !12, i64 0, !12, i64 8, !10, i64 16, !6, i64 24}
!17 = !{!16, !10, i64 16}
!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"

; Function Attrs: nounwind uwtable
define dso_local i32 @N_VScaleAddMulti_ManyVector(i32 noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 {
  %6 = sext i32 %0 to i64
  %7 = shl nsw i64 %6, 3
  %8 = tail call noalias ptr @malloc(i64 noundef %7) #4
  %9 = tail call noalias ptr @malloc(i64 noundef %7) #4
  %10 = icmp eq ptr %8, null
  %11 = icmp eq ptr %9, null
  %or.cond = or i1 %10, %11
  br i1 %or.cond, label %89, label %.preheader38

.preheader38:                                     ; preds = %5
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = load i64, ptr %12, align 8, !tbaa !10
  %14 = icmp sgt i64 %13, 0
  br i1 %14, label %.preheader.lr.ph, label %.sink.split

.preheader.lr.ph:                                 ; preds = %.preheader38
  %15 = icmp sgt i32 %0, 0
  br i1 %15, label %.preheader.us.preheader, label %.preheader

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %xtraiter = and i64 %6, 1
  %16 = icmp eq i32 %0, 1
  %unroll_iter = and i64 %6, 2147483646
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %52
  %17 = phi ptr [ %54, %52 ], [ %12, %.preheader.us.preheader ]
  %.03440.us = phi i64 [ %53, %52 ], [ 0, %.preheader.us.preheader ]
  br i1 %16, label %._crit_edge.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.03339.us = phi i64 [ %51, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter = phi i64 [ %niter.next.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %18 = getelementptr inbounds ptr, ptr %3, i64 %.03339.us
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 16
  %22 = load ptr, ptr %21, align 8, !tbaa !15
  %23 = getelementptr inbounds ptr, ptr %22, i64 %.03440.us
  %24 = load ptr, ptr %23, align 8, !tbaa !14
  %25 = getelementptr inbounds ptr, ptr %8, i64 %.03339.us
  store ptr %24, ptr %25, align 8, !tbaa !14
  %26 = getelementptr inbounds ptr, ptr %4, i64 %.03339.us
  %27 = load ptr, ptr %26, align 8, !tbaa !14
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  %30 = load ptr, ptr %29, align 8, !tbaa !15
  %31 = getelementptr inbounds ptr, ptr %30, i64 %.03440.us
  %32 = load ptr, ptr %31, align 8, !tbaa !14
  %33 = getelementptr inbounds ptr, ptr %9, i64 %.03339.us
  store ptr %32, ptr %33, align 8, !tbaa !14
  %34 = or disjoint i64 %.03339.us, 1
  %35 = getelementptr inbounds ptr, ptr %3, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !14
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 16
  %39 = load ptr, ptr %38, align 8, !tbaa !15
  %40 = getelementptr inbounds ptr, ptr %39, i64 %.03440.us
  %41 = load ptr, ptr %40, align 8, !tbaa !14
  %42 = getelementptr inbounds ptr, ptr %8, i64 %34
  store ptr %41, ptr %42, align 8, !tbaa !14
  %43 = getelementptr inbounds ptr, ptr %4, i64 %34
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 16
  %47 = load ptr, ptr %46, align 8, !tbaa !15
  %48 = getelementptr inbounds ptr, ptr %47, i64 %.03440.us
  %49 = load ptr, ptr %48, align 8, !tbaa !14
  %50 = getelementptr inbounds ptr, ptr %9, i64 %34
  store ptr %49, ptr %50, align 8, !tbaa !14
  %51 = add nuw nsw i64 %.03339.us, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !16

52:                                               ; preds = %._crit_edge.us
  %53 = add nuw nsw i64 %.03440.us, 1
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = load i64, ptr %54, align 8, !tbaa !10
  %56 = icmp slt i64 %53, %55
  br i1 %56, label %.preheader.us, label %.sink.split, !llvm.loop !18

._crit_edge.us.unr-lcssa:                         ; preds = %.preheader.us.new, %.preheader.us
  %.03339.us.unr = phi i64 [ 0, %.preheader.us ], [ %51, %.preheader.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %57 = getelementptr inbounds ptr, ptr %3, i64 %.03339.us.unr
  %58 = load ptr, ptr %57, align 8, !tbaa !14
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %59, i64 16
  %61 = load ptr, ptr %60, align 8, !tbaa !15
  %62 = getelementptr inbounds ptr, ptr %61, i64 %.03440.us
  %63 = load ptr, ptr %62, align 8, !tbaa !14
  %64 = getelementptr inbounds ptr, ptr %8, i64 %.03339.us.unr
  store ptr %63, ptr %64, align 8, !tbaa !14
  %65 = getelementptr inbounds ptr, ptr %4, i64 %.03339.us.unr
  %66 = load ptr, ptr %65, align 8, !tbaa !14
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  %69 = load ptr, ptr %68, align 8, !tbaa !15
  %70 = getelementptr inbounds ptr, ptr %69, i64 %.03440.us
  %71 = load ptr, ptr %70, align 8, !tbaa !14
  %72 = getelementptr inbounds ptr, ptr %9, i64 %.03339.us.unr
  store ptr %71, ptr %72, align 8, !tbaa !14
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %73 = getelementptr inbounds i8, ptr %17, i64 16
  %74 = load ptr, ptr %73, align 8, !tbaa !15
  %75 = getelementptr inbounds ptr, ptr %74, i64 %.03440.us
  %76 = load ptr, ptr %75, align 8, !tbaa !14
  %77 = tail call i32 @N_VScaleAddMulti(i32 noundef %0, ptr noundef %1, ptr noundef %76, ptr noundef nonnull %8, ptr noundef nonnull %9) #5
  %.not.us = icmp eq i32 %77, 0
  br i1 %.not.us, label %52, label %.sink.split

78:                                               ; preds = %.preheader
  %79 = add nuw nsw i64 %.03440, 1
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = load i64, ptr %80, align 8, !tbaa !10
  %82 = icmp slt i64 %79, %81
  br i1 %82, label %.preheader, label %.sink.split, !llvm.loop !18

.preheader:                                       ; preds = %.preheader.lr.ph, %78
  %83 = phi ptr [ %80, %78 ], [ %12, %.preheader.lr.ph ]
  %.03440 = phi i64 [ %79, %78 ], [ 0, %.preheader.lr.ph ]
  %84 = getelementptr inbounds i8, ptr %83, i64 16
  %85 = load ptr, ptr %84, align 8, !tbaa !15
  %86 = getelementptr inbounds ptr, ptr %85, i64 %.03440
  %87 = load ptr, ptr %86, align 8, !tbaa !14
  %88 = tail call i32 @N_VScaleAddMulti(i32 noundef %0, ptr noundef %1, ptr noundef %87, ptr noundef %8, ptr noundef %9) #5
  %.not = icmp eq i32 %88, 0
  br i1 %.not, label %78, label %.sink.split

.sink.split:                                      ; preds = %78, %.preheader, %52, %._crit_edge.us, %.preheader38
  %.0.ph = phi i32 [ 0, %.preheader38 ], [ %77, %._crit_edge.us ], [ 0, %52 ], [ %88, %.preheader ], [ 0, %78 ]
  tail call void @free(ptr noundef %8) #5
  tail call void @free(ptr noundef %9) #5
  br label %89

89:                                               ; preds = %.sink.split, %5
  %.0 = phi i32 [ 1, %5 ], [ %.0.ph, %.sink.split ]
  ret i32 %.0
}

; 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

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

declare i32 @N_VScaleAddMulti(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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 = { 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 #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 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, !7, i64 0}
!6 = !{!"_generic_N_Vector", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"_N_VectorContent_ManyVector", !12, i64 0, !12, i64 8, !7, i64 16, !13, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!11, !7, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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