; LLVM IR from simbody/simbody :: SimTKmath/Integrators/src/CPodes/sundials/src/cpodes (cpodes)

; 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.CPodeMemRec = type { double, i32, ptr, ptr, ptr, i32, i32, i32, double, double, ptr, ptr, ptr, [13 x ptr], ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, [14 x double], [6 x double], [13 x double], [13 x double], double, double, double, double, double, double, double, i32, i32, i32, i32, i64, i64, i32, i32, ptr, ptr, ptr, ptr, double, ptr, ptr, ptr, i64, i64, double, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i64, i64, i64, i64, i32, i32, ptr, ptr, i32, i32, double, double, ptr, [13 x ptr], ptr, ptr, ptr, ptr, double, i64, i64, i32, i32, i32, i64, i64, i32, i32, double, i32, i64, i32, i32, i32, i32, double, double, double, i64, i64, i64, i64, i64, i64, i32, double, double, double, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i64, double, double, double, i32, double, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32, [6 x [4 x double]], i32, i64, i32, ptr, i32, ptr, ptr, ptr, ptr, double, double, double, ptr, ptr, ptr, double, i32, i32, i64, double, double, i32, i32, ptr, ptr }

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

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

declare void @N_VScale(double noundef, ptr noundef, ptr noundef) #1

declare double @RAbs(double noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @cpGetSolution(ptr noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store double %1, ptr %7, align 8, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %19, ptr %17, align 8, !tbaa !5
  %20 = load ptr, ptr %17, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.CPodeMemRec, ptr %20, i32 0, i32 0
  %22 = load double, ptr %21, align 8, !tbaa !11
  %23 = fmul double 1.000000e+02, %22
  %24 = load ptr, ptr %17, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.CPodeMemRec, ptr %24, i32 0, i32 31
  %26 = load double, ptr %25, align 8, !tbaa !15
  %27 = call double @RAbs(double noundef %26)
  %28 = load ptr, ptr %17, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.CPodeMemRec, ptr %28, i32 0, i32 141
  %30 = load double, ptr %29, align 8, !tbaa !16
  %31 = call double @RAbs(double noundef %30)
  %32 = fadd double %27, %31
  %33 = fmul double %23, %32
  store double %33, ptr %13, align 8, !tbaa !9
  %34 = load ptr, ptr %17, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.CPodeMemRec, ptr %34, i32 0, i32 141
  %36 = load double, ptr %35, align 8, !tbaa !16
  %37 = fcmp olt double %36, 0.000000e+00
  br i1 %37, label %38, label %41

38:                                               ; preds = %4
  %39 = load double, ptr %13, align 8, !tbaa !9
  %40 = fneg double %39
  store double %40, ptr %13, align 8, !tbaa !9
  br label %41

41:                                               ; preds = %38, %4
  %42 = load ptr, ptr %17, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.CPodeMemRec, ptr %42, i32 0, i32 31
  %44 = load double, ptr %43, align 8, !tbaa !15
  %45 = load ptr, ptr %17, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.CPodeMemRec, ptr %45, i32 0, i32 141
  %47 = load double, ptr %46, align 8, !tbaa !16
  %48 = fsub double %44, %47
  %49 = load double, ptr %13, align 8, !tbaa !9
  %50 = fsub double %48, %49
  store double %50, ptr %14, align 8, !tbaa !9
  %51 = load ptr, ptr %17, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.CPodeMemRec, ptr %51, i32 0, i32 31
  %53 = load double, ptr %52, align 8, !tbaa !15
  %54 = load double, ptr %13, align 8, !tbaa !9
  %55 = fadd double %53, %54
  store double %55, ptr %15, align 8, !tbaa !9
  %56 = load double, ptr %7, align 8, !tbaa !9
  %57 = load double, ptr %14, align 8, !tbaa !9
  %58 = fsub double %56, %57
  %59 = load double, ptr %7, align 8, !tbaa !9
  %60 = load double, ptr %15, align 8, !tbaa !9
  %61 = fsub double %59, %60
  %62 = fmul double %58, %61
  %63 = fcmp ogt double %62, 0.000000e+00
  br i1 %63, label %64, label %65

64:                                               ; preds = %41
  store i32 -25, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %127

65:                                               ; preds = %41
  %66 = load ptr, ptr %17, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.CPodeMemRec, ptr %66, i32 0, i32 13
  %68 = getelementptr inbounds [13 x ptr], ptr %67, i64 0, i64 0
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  call void @N_VScale(double noundef 1.000000e+00, ptr noundef %69, ptr noundef %70)
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  call void @N_VConst(double noundef 0.000000e+00, ptr noundef %71)
  %72 = load double, ptr %7, align 8, !tbaa !9
  %73 = load ptr, ptr %17, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.CPodeMemRec, ptr %73, i32 0, i32 31
  %75 = load double, ptr %74, align 8, !tbaa !15
  %76 = fsub double %72, %75
  %77 = load ptr, ptr %17, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.CPodeMemRec, ptr %77, i32 0, i32 26
  %79 = load double, ptr %78, align 8, !tbaa !17
  %80 = fdiv double %76, %79
  store double %80, ptr %10, align 8, !tbaa !9
  %81 = load double, ptr %10, align 8, !tbaa !9
  store double %81, ptr %11, align 8, !tbaa !9
  %82 = load ptr, ptr %17, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.CPodeMemRec, ptr %82, i32 0, i32 26
  %84 = load double, ptr %83, align 8, !tbaa !17
  %85 = fdiv double 1.000000e+00, %84
  store double %85, ptr %12, align 8, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !18
  br label %86

86:                                               ; preds = %123, %65
  %87 = load i32, ptr %16, align 4, !tbaa !18
  %88 = load ptr, ptr %17, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.CPodeMemRec, ptr %88, i32 0, i32 20
  %90 = load i32, ptr %89, align 8, !tbaa !19
  %91 = icmp sle i32 %87, %90
  br i1 %91, label %92, label %126

92:                                               ; preds = %86
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = load double, ptr %11, align 8, !tbaa !9
  %95 = load ptr, ptr %17, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.CPodeMemRec, ptr %95, i32 0, i32 13
  %97 = load i32, ptr %16, align 4, !tbaa !18
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [13 x ptr], ptr %96, i64 0, i64 %98
  %100 = load ptr, ptr %99, align 8, !tbaa !5
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  call void @N_VLinearSum(double noundef 1.000000e+00, ptr noundef %93, double noundef %94, ptr noundef %100, ptr noundef %101)
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = load double, ptr %12, align 8, !tbaa !9
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.CPodeMemRec, ptr %104, i32 0, i32 13
  %106 = load i32, ptr %16, align 4, !tbaa !18
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [13 x ptr], ptr %105, i64 0, i64 %107
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  call void @N_VLinearSum(double noundef 1.000000e+00, ptr noundef %102, double noundef %103, ptr noundef %109, ptr noundef %110)
  %111 = load i32, ptr %16, align 4, !tbaa !18
  %112 = add nsw i32 %111, 1
  %113 = sitofp i32 %112 to double
  %114 = load double, ptr %11, align 8, !tbaa !9
  %115 = fmul double %113, %114
  %116 = load ptr, ptr %17, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.CPodeMemRec, ptr %116, i32 0, i32 26
  %118 = load double, ptr %117, align 8, !tbaa !17
  %119 = fdiv double %115, %118
  store double %119, ptr %12, align 8, !tbaa !9
  %120 = load double, ptr %10, align 8, !tbaa !9
  %121 = load double, ptr %11, align 8, !tbaa !9
  %122 = fmul double %121, %120
  store double %122, ptr %11, align 8, !tbaa !9
  br label %123

123:                                              ; preds = %92
  %124 = load i32, ptr %16, align 4, !tbaa !18
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %16, align 4, !tbaa !18
  br label %86, !llvm.loop !20

126:                                              ; preds = %86
  store i32 0, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %127

127:                                              ; preds = %126, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %128 = load i32, ptr %5, align 4
  ret i32 %128
}

declare void @N_VLinearSum(double noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) #1

declare void @N_VConst(double noundef, ptr noundef) #1

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 = { 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, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"CPodeMemRec", !10, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !7, i64 96, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !13, i64 248, !13, i64 252, !13, i64 256, !13, i64 260, !13, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !7, i64 336, !7, i64 448, !7, i64 496, !7, i64 600, !10, i64 704, !10, i64 712, !10, i64 720, !10, i64 728, !10, i64 736, !10, i64 744, !10, i64 752, !13, i64 760, !13, i64 764, !13, i64 768, !13, i64 772, !14, i64 776, !14, i64 784, !13, i64 792, !13, i64 796, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !10, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !14, i64 864, !14, i64 872, !10, i64 880, !13, i64 888, !13, i64 892, !13, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !13, i64 936, !14, i64 944, !14, i64 952, !14, i64 960, !14, i64 968, !13, i64 976, !13, i64 980, !6, i64 984, !6, i64 992, !13, i64 1000, !13, i64 1004, !10, i64 1008, !10, i64 1016, !6, i64 1024, !7, i64 1032, !6, i64 1136, !6, i64 1144, !6, i64 1152, !6, i64 1160, !10, i64 1168, !14, i64 1176, !14, i64 1184, !13, i64 1192, !13, i64 1196, !13, i64 1200, !14, i64 1208, !14, i64 1216, !13, i64 1224, !13, i64 1228, !10, i64 1232, !13, i64 1240, !14, i64 1248, !13, i64 1256, !13, i64 1260, !13, i64 1264, !13, i64 1268, !10, i64 1272, !10, i64 1280, !10, i64 1288, !14, i64 1296, !14, i64 1304, !14, i64 1312, !14, i64 1320, !14, i64 1328, !14, i64 1336, !13, i64 1344, !10, i64 1352, !10, i64 1360, !10, i64 1368, !14, i64 1376, !14, i64 1384, !14, i64 1392, !14, i64 1400, !14, i64 1408, !14, i64 1416, !6, i64 1424, !6, i64 1432, !6, i64 1440, !6, i64 1448, !6, i64 1456, !13, i64 1464, !6, i64 1472, !6, i64 1480, !6, i64 1488, !6, i64 1496, !6, i64 1504, !6, i64 1512, !13, i64 1520, !13, i64 1524, !14, i64 1528, !10, i64 1536, !10, i64 1544, !10, i64 1552, !13, i64 1560, !10, i64 1568, !13, i64 1576, !13, i64 1580, !13, i64 1584, !13, i64 1588, !13, i64 1592, !13, i64 1596, !6, i64 1600, !6, i64 1608, !6, i64 1616, !13, i64 1624, !7, i64 1632, !13, i64 1824, !14, i64 1832, !13, i64 1840, !6, i64 1848, !13, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888, !10, i64 1896, !10, i64 1904, !10, i64 1912, !6, i64 1920, !6, i64 1928, !6, i64 1936, !10, i64 1944, !13, i64 1952, !13, i64 1956, !14, i64 1960, !10, i64 1968, !10, i64 1976, !13, i64 1984, !13, i64 1988, !6, i64 1992, !6, i64 2000}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !10, i64 320}
!16 = !{!12, !10, i64 1544}
!17 = !{!12, !10, i64 280}
!18 = !{!13, !13, i64 0}
!19 = !{!12, !13, i64 248}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


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

declare void @N_VScale(double noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare double @RAbs(double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 -25, 1) i32 @cpGetSolution(ptr nocapture noundef readonly %0, double noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 {
  %5 = load double, ptr %0, align 8, !tbaa !5
  %6 = fmul double %5, 1.000000e+02
  %7 = getelementptr inbounds i8, ptr %0, i64 320
  %8 = load double, ptr %7, align 8, !tbaa !13
  %9 = tail call double @RAbs(double noundef %8) #2
  %10 = getelementptr inbounds i8, ptr %0, i64 1544
  %11 = load double, ptr %10, align 8, !tbaa !14
  %12 = tail call double @RAbs(double noundef %11) #2
  %13 = fadd double %9, %12
  %14 = fmul double %6, %13
  %15 = load double, ptr %10, align 8, !tbaa !14
  %16 = fcmp olt double %15, 0.000000e+00
  %17 = fneg double %14
  %.044 = select i1 %16, double %17, double %14
  %18 = load double, ptr %7, align 8, !tbaa !13
  %19 = fsub double %18, %15
  %20 = fsub double %19, %.044
  %21 = fadd double %18, %.044
  %22 = fsub double %1, %20
  %23 = fsub double %1, %21
  %24 = fmul double %22, %23
  %25 = fcmp ogt double %24, 0.000000e+00
  br i1 %25, label %.loopexit, label %26

26:                                               ; preds = %4
  %27 = getelementptr inbounds i8, ptr %0, i64 96
  %28 = load ptr, ptr %27, align 8, !tbaa !15
  tail call void @N_VScale(double noundef 1.000000e+00, ptr noundef %28, ptr noundef %2) #2
  tail call void @N_VConst(double noundef 0.000000e+00, ptr noundef %3) #2
  %29 = load double, ptr %7, align 8, !tbaa !13
  %30 = fsub double %1, %29
  %31 = getelementptr inbounds i8, ptr %0, i64 280
  %32 = load double, ptr %31, align 8, !tbaa !16
  %33 = fdiv double %30, %32
  %34 = getelementptr inbounds i8, ptr %0, i64 248
  %35 = load i32, ptr %34, align 8, !tbaa !17
  %.not45 = icmp slt i32 %35, 1
  br i1 %.not45, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %26
  %36 = fdiv double 1.000000e+00, %32
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.04247 = phi double [ %33, %.lr.ph.preheader ], [ %45, %.lr.ph ]
  %.04346 = phi double [ %36, %.lr.ph.preheader ], [ %44, %.lr.ph ]
  %37 = getelementptr inbounds [13 x ptr], ptr %27, i64 0, i64 %indvars.iv
  %38 = load ptr, ptr %37, align 8, !tbaa !15
  tail call void @N_VLinearSum(double noundef 1.000000e+00, ptr noundef %2, double noundef %.04247, ptr noundef %38, ptr noundef %2) #2
  %39 = load ptr, ptr %37, align 8, !tbaa !15
  tail call void @N_VLinearSum(double noundef 1.000000e+00, ptr noundef %3, double noundef %.04346, ptr noundef %39, ptr noundef %3) #2
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %40 = trunc nuw i64 %indvars.iv.next to i32
  %41 = uitofp nneg i32 %40 to double
  %42 = fmul double %.04247, %41
  %43 = load double, ptr %31, align 8, !tbaa !16
  %44 = fdiv double %42, %43
  %45 = fmul double %33, %.04247
  %46 = load i32, ptr %34, align 8, !tbaa !17
  %47 = sext i32 %46 to i64
  %.not.not = icmp slt i64 %indvars.iv, %47
  br i1 %.not.not, label %.lr.ph, label %.loopexit, !llvm.loop !18

.loopexit:                                        ; preds = %.lr.ph, %26, %4
  %.0 = phi i32 [ -25, %4 ], [ 0, %26 ], [ 0, %.lr.ph ]
  ret i32 %.0
}

declare void @N_VLinearSum(double noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @N_VConst(double noundef, ptr noundef) local_unnamed_addr #0

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 = { 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 = !{!"CPodeMemRec", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 56, !7, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !8, i64 96, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !8, i64 336, !8, i64 448, !8, i64 496, !8, i64 600, !7, i64 704, !7, i64 712, !7, i64 720, !7, i64 728, !7, i64 736, !7, i64 744, !7, i64 752, !10, i64 760, !10, i64 764, !10, i64 768, !10, i64 772, !12, i64 776, !12, i64 784, !10, i64 792, !10, i64 796, !11, i64 800, !11, i64 808, !11, i64 816, !11, i64 824, !7, i64 832, !11, i64 840, !11, i64 848, !11, i64 856, !12, i64 864, !12, i64 872, !7, i64 880, !10, i64 888, !10, i64 892, !10, i64 896, !11, i64 904, !11, i64 912, !11, i64 920, !11, i64 928, !10, i64 936, !12, i64 944, !12, i64 952, !12, i64 960, !12, i64 968, !10, i64 976, !10, i64 980, !11, i64 984, !11, i64 992, !10, i64 1000, !10, i64 1004, !7, i64 1008, !7, i64 1016, !11, i64 1024, !8, i64 1032, !11, i64 1136, !11, i64 1144, !11, i64 1152, !11, i64 1160, !7, i64 1168, !12, i64 1176, !12, i64 1184, !10, i64 1192, !10, i64 1196, !10, i64 1200, !12, i64 1208, !12, i64 1216, !10, i64 1224, !10, i64 1228, !7, i64 1232, !10, i64 1240, !12, i64 1248, !10, i64 1256, !10, i64 1260, !10, i64 1264, !10, i64 1268, !7, i64 1272, !7, i64 1280, !7, i64 1288, !12, i64 1296, !12, i64 1304, !12, i64 1312, !12, i64 1320, !12, i64 1328, !12, i64 1336, !10, i64 1344, !7, i64 1352, !7, i64 1360, !7, i64 1368, !12, i64 1376, !12, i64 1384, !12, i64 1392, !12, i64 1400, !12, i64 1408, !12, i64 1416, !11, i64 1424, !11, i64 1432, !11, i64 1440, !11, i64 1448, !11, i64 1456, !10, i64 1464, !11, i64 1472, !11, i64 1480, !11, i64 1488, !11, i64 1496, !11, i64 1504, !11, i64 1512, !10, i64 1520, !10, i64 1524, !12, i64 1528, !7, i64 1536, !7, i64 1544, !7, i64 1552, !10, i64 1560, !7, i64 1568, !10, i64 1576, !10, i64 1580, !10, i64 1584, !10, i64 1588, !10, i64 1592, !10, i64 1596, !11, i64 1600, !11, i64 1608, !11, i64 1616, !10, i64 1624, !8, i64 1632, !10, i64 1824, !12, i64 1832, !10, i64 1840, !11, i64 1848, !10, i64 1856, !11, i64 1864, !11, i64 1872, !11, i64 1880, !11, i64 1888, !7, i64 1896, !7, i64 1904, !7, i64 1912, !11, i64 1920, !11, i64 1928, !11, i64 1936, !7, i64 1944, !10, i64 1952, !10, i64 1956, !12, i64 1960, !7, i64 1968, !7, i64 1976, !10, i64 1984, !10, i64 1988, !11, i64 1992, !11, i64 2000}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 320}
!14 = !{!6, !7, i64 1544}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !7, i64 280}
!17 = !{!6, !10, i64 248}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


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