; LLVM IR from csviragh/robotsim :: src/utilities (dynamics_utils)

; 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.phase_t = type { ptr, ptr, ptr, ptr, i32, i32 }

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [42 x i8], align 1
@PlaceAgentsOntoALine.StepCount = external hidden global i32, align 4
@PlaceAgentsOntoALine.MaxStep = external hidden global i32, align 4
@PlaceAgentsOntoALine.IsArrangementCorrect = external hidden global i8, align 1
@PlaceAgentsOntoALine.AgentsCoordinates = external hidden global [3 x double], align 16
@PlaceAgentsOntoALine.TempCoord = external hidden global [3 x double], align 16
@PlaceAgentsOntoALine.a = external hidden global double, align 8

; 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

; Function Attrs: nounwind uwtable
declare dso_local void @InsertAgentsVelocity(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @GetAgentsCoordinates(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @InsertAgentsCoordinates(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #2

declare void @VectDifference(ptr noundef, ptr noundef, ptr noundef) #3

declare double @VectAbs(ptr noundef) #3

declare void @NullVect(ptr noundef, i32 noundef) #3

declare void @FillVect(ptr noundef, double noundef, double noundef, double noundef) #3

declare double @randomizeDouble(double noundef, double noundef) #3

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: nounwind uwtable
define dso_local void @PlaceAgentsOntoALine(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) #1 {
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !9
  store i32 %2, ptr %12, align 4, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !5
  store double %4, ptr %14, align 8, !tbaa !11
  store double %5, ptr %15, align 8, !tbaa !11
  store double %6, ptr %16, align 8, !tbaa !11
  store double %7, ptr %17, align 8, !tbaa !11
  store double %8, ptr %18, align 8, !tbaa !11
  store i32 0, ptr @PlaceAgentsOntoALine.StepCount, align 4, !tbaa !9
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.phase_t, ptr %21, i32 0, i32 5
  %23 = load i32, ptr %22, align 4, !tbaa !13
  %24 = mul nsw i32 100, %23
  store i32 %24, ptr @PlaceAgentsOntoALine.MaxStep, align 4, !tbaa !9
  store i8 0, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !15
  call void @NullVect(ptr noundef @PlaceAgentsOntoALine.AgentsCoordinates, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %25 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %25, ptr %19, align 4, !tbaa !9
  br label %26

26:                                               ; preds = %100, %9
  %27 = load i32, ptr %19, align 4, !tbaa !9
  %28 = load i32, ptr %12, align 4, !tbaa !9
  %29 = icmp slt i32 %27, %28
  br i1 %29, label %30, label %103

30:                                               ; preds = %26
  br label %31

31:                                               ; preds = %94, %30
  %32 = load i8, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !15, !range !17, !noundef !18
  %33 = trunc i8 %32 to i1
  %34 = zext i1 %33 to i32
  %35 = icmp eq i32 0, %34
  br i1 %35, label %36, label %95

36:                                               ; preds = %31
  store i8 1, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !15
  %37 = load double, ptr %17, align 8, !tbaa !11
  %38 = fneg double %37
  %39 = fdiv double %38, 2.000000e+00
  %40 = load double, ptr %17, align 8, !tbaa !11
  %41 = fdiv double %40, 2.000000e+00
  %42 = call double @randomizeDouble(double noundef %39, double noundef %41)
  store double %42, ptr @PlaceAgentsOntoALine.a, align 8, !tbaa !11
  %43 = load double, ptr %14, align 8, !tbaa !11
  %44 = load ptr, ptr %13, align 8, !tbaa !5
  %45 = getelementptr inbounds double, ptr %44, i64 0
  %46 = load double, ptr %45, align 8, !tbaa !11
  %47 = load double, ptr @PlaceAgentsOntoALine.a, align 8, !tbaa !11
  %48 = call double @llvm.fmuladd.f64(double %46, double %47, double %43)
  %49 = load double, ptr %15, align 8, !tbaa !11
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  %51 = getelementptr inbounds double, ptr %50, i64 1
  %52 = load double, ptr %51, align 8, !tbaa !11
  %53 = load double, ptr @PlaceAgentsOntoALine.a, align 8, !tbaa !11
  %54 = call double @llvm.fmuladd.f64(double %52, double %53, double %49)
  %55 = load double, ptr %16, align 8, !tbaa !11
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = getelementptr inbounds double, ptr %56, i64 2
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = load double, ptr @PlaceAgentsOntoALine.a, align 8, !tbaa !11
  %60 = call double @llvm.fmuladd.f64(double %58, double %59, double %55)
  call void @FillVect(ptr noundef @PlaceAgentsOntoALine.AgentsCoordinates, double noundef %48, double noundef %54, double noundef %60)
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %82, %36
  %62 = load i32, ptr %20, align 4, !tbaa !9
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.phase_t, ptr %63, i32 0, i32 5
  %65 = load i32, ptr %64, align 4, !tbaa !13
  %66 = icmp slt i32 %62, %65
  br i1 %66, label %67, label %85

67:                                               ; preds = %61
  %68 = load i32, ptr %19, align 4, !tbaa !9
  %69 = load i32, ptr %20, align 4, !tbaa !9
  %70 = icmp eq i32 %68, %69
  br i1 %70, label %71, label %74

71:                                               ; preds = %67
  %72 = load i32, ptr %12, align 4, !tbaa !9
  %73 = sub nsw i32 %72, 1
  store i32 %73, ptr %20, align 4, !tbaa !9
  br label %82

74:                                               ; preds = %67
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = load i32, ptr %20, align 4, !tbaa !9
  call void @GetAgentsCoordinates(ptr noundef @PlaceAgentsOntoALine.TempCoord, ptr noundef %75, i32 noundef %76)
  call void @VectDifference(ptr noundef @PlaceAgentsOntoALine.TempCoord, ptr noundef @PlaceAgentsOntoALine.TempCoord, ptr noundef @PlaceAgentsOntoALine.AgentsCoordinates)
  %77 = call double @VectAbs(ptr noundef @PlaceAgentsOntoALine.TempCoord)
  %78 = load double, ptr %18, align 8, !tbaa !11
  %79 = fcmp ole double %77, %78
  br i1 %79, label %80, label %81

80:                                               ; preds = %74
  store i8 0, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !15
  br label %81

81:                                               ; preds = %80, %74
  br label %82

82:                                               ; preds = %81, %71
  %83 = load i32, ptr %20, align 4, !tbaa !9
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %20, align 4, !tbaa !9
  br label %61, !llvm.loop !19

85:                                               ; preds = %61
  %86 = load i32, ptr @PlaceAgentsOntoALine.StepCount, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr @PlaceAgentsOntoALine.StepCount, align 4, !tbaa !9
  %88 = load i32, ptr @PlaceAgentsOntoALine.StepCount, align 4, !tbaa !9
  %89 = load i32, ptr @PlaceAgentsOntoALine.MaxStep, align 4, !tbaa !9
  %90 = icmp sgt i32 %88, %89
  br i1 %90, label %91, label %94

91:                                               ; preds = %85
  %92 = load ptr, ptr @stderr, align 8, !tbaa !5
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.1) #6
  call void @exit(i32 noundef -1) #7
  unreachable

94:                                               ; preds = %85
  br label %31, !llvm.loop !21

95:                                               ; preds = %31
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = load i32, ptr %19, align 4, !tbaa !9
  call void @InsertAgentsCoordinates(ptr noundef %96, ptr noundef @PlaceAgentsOntoALine.AgentsCoordinates, i32 noundef %97)
  call void @NullVect(ptr noundef @PlaceAgentsOntoALine.AgentsCoordinates, i32 noundef 3)
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = load i32, ptr %19, align 4, !tbaa !9
  call void @InsertAgentsVelocity(ptr noundef %98, ptr noundef @PlaceAgentsOntoALine.AgentsCoordinates, i32 noundef %99)
  store i8 0, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !15
  br label %100

100:                                              ; preds = %95
  %101 = load i32, ptr %19, align 4, !tbaa !9
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %19, align 4, !tbaa !9
  br label %26, !llvm.loop !22

103:                                              ; preds = %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  ret void
}

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 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 36}
!14 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36}
!15 = !{!16, !16, i64 0}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [42 x i8], align 1
@PlaceAgentsOntoALine.StepCount = external hidden local_unnamed_addr global i32, align 4
@PlaceAgentsOntoALine.MaxStep = external hidden local_unnamed_addr global i32, align 4
@PlaceAgentsOntoALine.IsArrangementCorrect = external hidden local_unnamed_addr global i8, align 1
@PlaceAgentsOntoALine.AgentsCoordinates = external hidden global [3 x double], align 16
@PlaceAgentsOntoALine.TempCoord = external hidden global [3 x double], align 16
@PlaceAgentsOntoALine.a = external hidden local_unnamed_addr global double, align 8

; Function Attrs: nounwind uwtable
declare dso_local void @InsertAgentsVelocity(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @GetAgentsCoordinates(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @InsertAgentsCoordinates(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #1

declare void @VectDifference(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @VectAbs(ptr noundef) local_unnamed_addr #2

declare void @NullVect(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @FillVect(ptr noundef, double noundef, double noundef, double noundef) local_unnamed_addr #2

declare double @randomizeDouble(double noundef, double noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: nounwind uwtable
define dso_local void @PlaceAgentsOntoALine(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) local_unnamed_addr #0 {
  store i32 0, ptr @PlaceAgentsOntoALine.StepCount, align 4, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 36
  %11 = load i32, ptr %10, align 4, !tbaa !9
  %12 = mul nsw i32 %11, 100
  store i32 %12, ptr @PlaceAgentsOntoALine.MaxStep, align 4, !tbaa !5
  store i8 0, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !12
  tail call void @NullVect(ptr noundef nonnull @PlaceAgentsOntoALine.AgentsCoordinates, i32 noundef 3) #5
  %13 = icmp slt i32 %1, %2
  br i1 %13, label %.preheader.lr.ph, label %._crit_edge28

.preheader.lr.ph:                                 ; preds = %9
  %14 = fmul double %7, -5.000000e-01
  %15 = fmul double %7, 5.000000e-01
  %16 = getelementptr inbounds i8, ptr %3, i64 8
  %17 = getelementptr inbounds i8, ptr %3, i64 16
  %18 = add nsw i32 %2, -1
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %47
  %.02527 = phi i32 [ %1, %.preheader.lr.ph ], [ %48, %47 ]
  br label %19

19:                                               ; preds = %.preheader, %._crit_edge
  %20 = load i8, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !12, !range !14, !noundef !15
  %21 = icmp eq i8 %20, 0
  br i1 %21, label %22, label %47

22:                                               ; preds = %19
  store i8 1, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !12
  %23 = tail call double @randomizeDouble(double noundef %14, double noundef %15) #5
  store double %23, ptr @PlaceAgentsOntoALine.a, align 8, !tbaa !16
  %24 = load double, ptr %3, align 8, !tbaa !16
  %25 = tail call double @llvm.fmuladd.f64(double %24, double %23, double %4)
  %26 = load double, ptr %16, align 8, !tbaa !16
  %27 = tail call double @llvm.fmuladd.f64(double %26, double %23, double %5)
  %28 = load double, ptr %17, align 8, !tbaa !16
  %29 = tail call double @llvm.fmuladd.f64(double %28, double %23, double %6)
  tail call void @FillVect(ptr noundef nonnull @PlaceAgentsOntoALine.AgentsCoordinates, double noundef %25, double noundef %27, double noundef %29) #5
  %30 = load i32, ptr %10, align 4, !tbaa !9
  %31 = icmp sgt i32 %30, 0
  br i1 %31, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %22, %37
  %.026 = phi i32 [ %38, %37 ], [ 0, %22 ]
  %32 = icmp eq i32 %.02527, %.026
  br i1 %32, label %37, label %33

33:                                               ; preds = %.lr.ph
  tail call void @GetAgentsCoordinates(ptr noundef nonnull @PlaceAgentsOntoALine.TempCoord, ptr noundef nonnull %0, i32 noundef %.026)
  tail call void @VectDifference(ptr noundef nonnull @PlaceAgentsOntoALine.TempCoord, ptr noundef nonnull @PlaceAgentsOntoALine.TempCoord, ptr noundef nonnull @PlaceAgentsOntoALine.AgentsCoordinates) #5
  %34 = tail call double @VectAbs(ptr noundef nonnull @PlaceAgentsOntoALine.TempCoord) #5
  %35 = fcmp ugt double %34, %8
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  store i8 0, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !12
  br label %37

37:                                               ; preds = %.lr.ph, %33, %36
  %.1 = phi i32 [ %.026, %36 ], [ %.026, %33 ], [ %18, %.lr.ph ]
  %38 = add nsw i32 %.1, 1
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = icmp slt i32 %38, %39
  br i1 %40, label %.lr.ph, label %._crit_edge, !llvm.loop !18

._crit_edge:                                      ; preds = %37, %22
  %41 = load i32, ptr @PlaceAgentsOntoALine.StepCount, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr @PlaceAgentsOntoALine.StepCount, align 4, !tbaa !5
  %43 = load i32, ptr @PlaceAgentsOntoALine.MaxStep, align 4, !tbaa !5
  %.not = icmp slt i32 %41, %43
  br i1 %.not, label %19, label %44, !llvm.loop !20

44:                                               ; preds = %._crit_edge
  %45 = load ptr, ptr @stderr, align 8, !tbaa !21
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.1) #6
  tail call void @exit(i32 noundef -1) #7
  unreachable

47:                                               ; preds = %19
  tail call void @InsertAgentsCoordinates(ptr noundef %0, ptr noundef nonnull @PlaceAgentsOntoALine.AgentsCoordinates, i32 noundef %.02527)
  tail call void @NullVect(ptr noundef nonnull @PlaceAgentsOntoALine.AgentsCoordinates, i32 noundef 3) #5
  tail call void @InsertAgentsVelocity(ptr noundef %0, ptr noundef nonnull @PlaceAgentsOntoALine.AgentsCoordinates, i32 noundef %.02527)
  store i8 0, ptr @PlaceAgentsOntoALine.IsArrangementCorrect, align 1, !tbaa !12
  %48 = add i32 %.02527, 1
  %exitcond.not = icmp eq i32 %48, %2
  br i1 %exitcond.not, label %._crit_edge28, label %.preheader, !llvm.loop !22

._crit_edge28:                                    ; preds = %47, %9
  ret void
}

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 = { 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 #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 = { nofree 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { cold nounwind }
attributes #7 = { noreturn 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, !6, i64 36}
!10 = !{!"", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 36}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!11, !11, i64 0}
!22 = distinct !{!22, !19}


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