; LLVM IR from ROCm/aomp :: test/smoke/liba_bundled (main)

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

@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [1000 x float], align 16
  %3 = alloca [1000 x float], align 16
  %4 = alloca [1000 x float], align 16
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4000, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4000, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4000, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store float 0.000000e+00, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  %9 = call i64 @time(ptr noundef null) #5
  %10 = trunc i64 %9 to i32
  call void @srand(i32 noundef %10) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %11

11:                                               ; preds = %21, %0
  %12 = load i32, ptr %6, align 4, !tbaa !9
  %13 = icmp ult i32 %12, 1000
  br i1 %13, label %14, label %24

14:                                               ; preds = %11
  %15 = call i32 @rand() #5
  %16 = srem i32 %15, 100
  %17 = sitofp i32 %16 to float
  %18 = load i32, ptr %6, align 4, !tbaa !9
  %19 = zext i32 %18 to i64
  %20 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %19
  store float %17, ptr %20, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %14
  %22 = load i32, ptr %6, align 4, !tbaa !9
  %23 = add i32 %22, 1
  store i32 %23, ptr %6, align 4, !tbaa !9
  br label %11, !llvm.loop !11

24:                                               ; preds = %11
  %25 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 0
  %26 = getelementptr inbounds [1000 x float], ptr %3, i64 0, i64 0
  call void @func_1v(ptr noundef %25, ptr noundef %26, i32 noundef 1000)
  %27 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 0
  %28 = getelementptr inbounds [1000 x float], ptr %4, i64 0, i64 0
  call void @func_3v(ptr noundef %27, ptr noundef %28, i32 noundef 1000)
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %39, %24
  %30 = load i32, ptr %6, align 4, !tbaa !9
  %31 = icmp ult i32 %30, 1000
  br i1 %31, label %32, label %42

32:                                               ; preds = %29
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds [1000 x float], ptr %3, i64 0, i64 %34
  %36 = load float, ptr %35, align 4, !tbaa !5
  %37 = load float, ptr %5, align 4, !tbaa !5
  %38 = fadd float %37, %36
  store float %38, ptr %5, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %32
  %40 = load i32, ptr %6, align 4, !tbaa !9
  %41 = add i32 %40, 1
  store i32 %41, ptr %6, align 4, !tbaa !9
  br label %29, !llvm.loop !13

42:                                               ; preds = %29
  %43 = load float, ptr %5, align 4, !tbaa !5
  %44 = fpext float %43 to double
  %45 = fcmp olt double %44, 0x3E7AD7F29ABCAF48
  br i1 %45, label %46, label %48

46:                                               ; preds = %42
  %47 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %131

48:                                               ; preds = %42
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %82, %48
  %50 = load i32, ptr %6, align 4, !tbaa !9
  %51 = icmp ult i32 %50, 1000
  br i1 %51, label %52, label %85

52:                                               ; preds = %49
  %53 = load i32, ptr %6, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds [1000 x float], ptr %3, i64 0, i64 %54
  %56 = load float, ptr %55, align 4, !tbaa !5
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds [1000 x float], ptr %4, i64 0, i64 %58
  %60 = load float, ptr %59, align 4, !tbaa !5
  %61 = fsub float %56, %60
  %62 = fpext float %61 to double
  %63 = call double @llvm.fabs.f64(double %62)
  %64 = fcmp oge double %63, 0x3E7AD7F29ABCAF48
  br i1 %64, label %65, label %81

65:                                               ; preds = %52
  %66 = load i32, ptr %7, align 4, !tbaa !9
  %67 = add i32 %66, 1
  store i32 %67, ptr %7, align 4, !tbaa !9
  %68 = load i32, ptr %6, align 4, !tbaa !9
  %69 = load i32, ptr %6, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds [1000 x float], ptr %3, i64 0, i64 %70
  %72 = load float, ptr %71, align 4, !tbaa !5
  %73 = load i32, ptr %6, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds [1000 x float], ptr %4, i64 0, i64 %74
  %76 = load float, ptr %75, align 4, !tbaa !5
  %77 = fsub float %72, %76
  %78 = fpext float %77 to double
  %79 = call double @llvm.fabs.f64(double %78)
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %68, double noundef %79, double noundef 0x3E7AD7F29ABCAF48)
  br label %81

81:                                               ; preds = %65, %52
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %6, align 4, !tbaa !9
  %84 = add i32 %83, 1
  store i32 %84, ptr %6, align 4, !tbaa !9
  br label %49, !llvm.loop !14

85:                                               ; preds = %49
  %86 = getelementptr inbounds [1000 x float], ptr %3, i64 0, i64 0
  %87 = getelementptr inbounds [1000 x float], ptr %4, i64 0, i64 0
  call void @func_2v(ptr noundef %86, ptr noundef %87, i32 noundef 1000)
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %121, %85
  %89 = load i32, ptr %6, align 4, !tbaa !9
  %90 = icmp ult i32 %89, 1000
  br i1 %90, label %91, label %124

91:                                               ; preds = %88
  %92 = load i32, ptr %6, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !5
  %96 = load i32, ptr %6, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds [1000 x float], ptr %4, i64 0, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !5
  %100 = fsub float %95, %99
  %101 = fpext float %100 to double
  %102 = call double @llvm.fabs.f64(double %101)
  %103 = fcmp oge double %102, 0x3E7AD7F29ABCAF48
  br i1 %103, label %104, label %120

104:                                              ; preds = %91
  %105 = load i32, ptr %7, align 4, !tbaa !9
  %106 = add i32 %105, 1
  store i32 %106, ptr %7, align 4, !tbaa !9
  %107 = load i32, ptr %6, align 4, !tbaa !9
  %108 = load i32, ptr %6, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %109
  %111 = load float, ptr %110, align 4, !tbaa !5
  %112 = load i32, ptr %6, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds [1000 x float], ptr %4, i64 0, i64 %113
  %115 = load float, ptr %114, align 4, !tbaa !5
  %116 = fsub float %111, %115
  %117 = fpext float %116 to double
  %118 = call double @llvm.fabs.f64(double %117)
  %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %107, double noundef %118, double noundef 0x3E7AD7F29ABCAF48)
  br label %120

120:                                              ; preds = %104, %91
  br label %121

121:                                              ; preds = %120
  %122 = load i32, ptr %6, align 4, !tbaa !9
  %123 = add i32 %122, 1
  store i32 %123, ptr %6, align 4, !tbaa !9
  br label %88, !llvm.loop !15

124:                                              ; preds = %88
  %125 = load i32, ptr %7, align 4, !tbaa !9
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %129, label %127

127:                                              ; preds = %124
  %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %129

129:                                              ; preds = %127, %124
  %130 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %130, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %131

131:                                              ; preds = %129, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4000, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4000, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4000, ptr %2) #5
  %132 = load i32, ptr %1, align 4
  ret i32 %132
}

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

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

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @rand() #2

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

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

declare i32 @printf(ptr noundef, ...) #3

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

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

; 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 "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"float", !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}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !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"

@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
  %1 = alloca [1000 x float], align 16
  %2 = alloca [1000 x float], align 16
  %3 = alloca [1000 x float], align 16
  call void @llvm.lifetime.start.p0(i64 4000, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4000, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4000, ptr nonnull %3) #6
  %4 = tail call i64 @time(ptr noundef null) #6
  %5 = trunc i64 %4 to i32
  tail call void @srand(i32 noundef %5) #6
  br label %6

6:                                                ; preds = %0, %6
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %6 ]
  %7 = tail call i32 @rand() #6
  %8 = srem i32 %7, 100
  %9 = sitofp i32 %8 to float
  %10 = getelementptr inbounds [1000 x float], ptr %1, i64 0, i64 %indvars.iv
  store float %9, ptr %10, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1000
  br i1 %exitcond.not, label %11, label %6, !llvm.loop !9

11:                                               ; preds = %6
  call void @func_1v(ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef 1000) #6
  call void @func_3v(ptr noundef nonnull %1, ptr noundef nonnull %3, i32 noundef 1000) #6
  br label %12

12:                                               ; preds = %12, %11
  %indvars.iv42 = phi i64 [ 0, %11 ], [ %indvars.iv.next43.7, %12 ]
  %.03035 = phi float [ 0.000000e+00, %11 ], [ %36, %12 ]
  %13 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv42
  %14 = load float, ptr %13, align 16, !tbaa !5
  %15 = fadd float %.03035, %14
  %indvars.iv.next43 = or disjoint i64 %indvars.iv42, 1
  %16 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv.next43
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = fadd float %15, %17
  %indvars.iv.next43.1 = or disjoint i64 %indvars.iv42, 2
  %19 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv.next43.1
  %20 = load float, ptr %19, align 8, !tbaa !5
  %21 = fadd float %18, %20
  %indvars.iv.next43.2 = or disjoint i64 %indvars.iv42, 3
  %22 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv.next43.2
  %23 = load float, ptr %22, align 4, !tbaa !5
  %24 = fadd float %21, %23
  %indvars.iv.next43.3 = or disjoint i64 %indvars.iv42, 4
  %25 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv.next43.3
  %26 = load float, ptr %25, align 16, !tbaa !5
  %27 = fadd float %24, %26
  %indvars.iv.next43.4 = or disjoint i64 %indvars.iv42, 5
  %28 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv.next43.4
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = fadd float %27, %29
  %indvars.iv.next43.5 = or disjoint i64 %indvars.iv42, 6
  %31 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv.next43.5
  %32 = load float, ptr %31, align 8, !tbaa !5
  %33 = fadd float %30, %32
  %indvars.iv.next43.6 = or disjoint i64 %indvars.iv42, 7
  %34 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv.next43.6
  %35 = load float, ptr %34, align 4, !tbaa !5
  %36 = fadd float %33, %35
  %indvars.iv.next43.7 = add nuw nsw i64 %indvars.iv42, 8
  %exitcond45.not.7 = icmp eq i64 %indvars.iv.next43.7, 1000
  br i1 %exitcond45.not.7, label %37, label %12, !llvm.loop !11

37:                                               ; preds = %12
  %38 = fpext float %36 to double
  %39 = fcmp olt double %38, 0x3E7AD7F29ABCAF48
  br i1 %39, label %.sink.split, label %.preheader

.preheader:                                       ; preds = %37, %52
  %indvars.iv46 = phi i64 [ %indvars.iv.next47, %52 ], [ 0, %37 ]
  %.038 = phi i32 [ %.1, %52 ], [ 0, %37 ]
  %40 = getelementptr inbounds [1000 x float], ptr %2, i64 0, i64 %indvars.iv46
  %41 = load float, ptr %40, align 4, !tbaa !5
  %42 = getelementptr inbounds [1000 x float], ptr %3, i64 0, i64 %indvars.iv46
  %43 = load float, ptr %42, align 4, !tbaa !5
  %44 = fsub float %41, %43
  %45 = call float @llvm.fabs.f32(float %44)
  %46 = fpext float %45 to double
  %47 = fcmp ult double %46, 0x3E7AD7F29ABCAF48
  br i1 %47, label %52, label %48

48:                                               ; preds = %.preheader
  %49 = add i32 %.038, 1
  %50 = trunc nuw nsw i64 %indvars.iv46 to i32
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %50, double noundef %46, double noundef 0x3E7AD7F29ABCAF48)
  br label %52

52:                                               ; preds = %.preheader, %48
  %.1 = phi i32 [ %49, %48 ], [ %.038, %.preheader ]
  %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46, 1
  %exitcond49.not = icmp eq i64 %indvars.iv.next47, 1000
  br i1 %exitcond49.not, label %53, label %.preheader, !llvm.loop !12

53:                                               ; preds = %52
  call void @func_2v(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 1000) #6
  br label %54

54:                                               ; preds = %53, %67
  %indvars.iv50 = phi i64 [ 0, %53 ], [ %indvars.iv.next51, %67 ]
  %.240 = phi i32 [ %.1, %53 ], [ %.3, %67 ]
  %55 = getelementptr inbounds [1000 x float], ptr %1, i64 0, i64 %indvars.iv50
  %56 = load float, ptr %55, align 4, !tbaa !5
  %57 = getelementptr inbounds [1000 x float], ptr %3, i64 0, i64 %indvars.iv50
  %58 = load float, ptr %57, align 4, !tbaa !5
  %59 = fsub float %56, %58
  %60 = call float @llvm.fabs.f32(float %59)
  %61 = fpext float %60 to double
  %62 = fcmp ult double %61, 0x3E7AD7F29ABCAF48
  br i1 %62, label %67, label %63

63:                                               ; preds = %54
  %64 = add i32 %.240, 1
  %65 = trunc nuw nsw i64 %indvars.iv50 to i32
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %65, double noundef %61, double noundef 0x3E7AD7F29ABCAF48)
  br label %67

67:                                               ; preds = %54, %63
  %.3 = phi i32 [ %64, %63 ], [ %.240, %54 ]
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 1
  %exitcond53.not = icmp eq i64 %indvars.iv.next51, 1000
  br i1 %exitcond53.not, label %68, label %54, !llvm.loop !13

68:                                               ; preds = %67
  %.not = icmp eq i32 %.3, 0
  br i1 %.not, label %.sink.split, label %70

.sink.split:                                      ; preds = %68, %37
  %.str.3.sink = phi ptr [ @.str, %37 ], [ @.str.3, %68 ]
  %.031.ph = phi i32 [ -1, %37 ], [ 0, %68 ]
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink)
  br label %70

70:                                               ; preds = %.sink.split, %68
  %.031 = phi i32 [ %.3, %68 ], [ %.031.ph, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 4000, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4000, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4000, ptr nonnull %1) #6
  ret i32 %.031
}

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

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

declare void @func_1v(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @func_3v(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

declare void @func_2v(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass