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

; 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 [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z4initmPdS_S_(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #8
  %9 = call i32 @rand() #8
  %10 = icmp sgt i32 %9, 1073741823
  %11 = zext i1 %10 to i64
  %12 = select i1 %10, i32 1000000, i32 100
  %13 = sext i32 %12 to i64
  store i64 %13, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  %14 = load i64, ptr %2, align 8, !tbaa !5
  %15 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %14, i64 8)
  %16 = extractvalue { i64, i1 } %15, 1
  %17 = extractvalue { i64, i1 } %15, 0
  %18 = select i1 %16, i64 -1, i64 %17
  %19 = call noalias noundef nonnull ptr @_Znam(i64 noundef %18) #9
  store ptr %19, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %20 = load i64, ptr %2, align 8, !tbaa !5
  %21 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %20, i64 8)
  %22 = extractvalue { i64, i1 } %21, 1
  %23 = extractvalue { i64, i1 } %21, 0
  %24 = select i1 %22, i64 -1, i64 %23
  %25 = call noalias noundef nonnull ptr @_Znam(i64 noundef %24) #9
  store ptr %25, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %26 = load i64, ptr %2, align 8, !tbaa !5
  %27 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %26, i64 8)
  %28 = extractvalue { i64, i1 } %27, 1
  %29 = extractvalue { i64, i1 } %27, 0
  %30 = select i1 %28, i64 -1, i64 %29
  %31 = call noalias noundef nonnull ptr @_Znam(i64 noundef %30) #9
  store ptr %31, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  store double 3.140000e+00, ptr %6, align 8, !tbaa !11
  %32 = load i64, ptr %2, align 8, !tbaa !5
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %32)
  %34 = load i64, ptr %2, align 8, !tbaa !5
  %35 = load ptr, ptr %3, align 8, !tbaa !9
  %36 = load ptr, ptr %4, align 8, !tbaa !9
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_Z4initmPdS_S_(i64 noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %38

38:                                               ; preds = %61, %0
  %39 = load i32, ptr %7, align 4, !tbaa !13
  %40 = sext i32 %39 to i64
  %41 = load i64, ptr %2, align 8, !tbaa !5
  %42 = icmp ult i64 %40, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %64

44:                                               ; preds = %38
  %45 = load ptr, ptr %4, align 8, !tbaa !9
  %46 = load i32, ptr %7, align 4, !tbaa !13
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds double, ptr %45, i64 %47
  %49 = load double, ptr %48, align 8, !tbaa !11
  %50 = load double, ptr %6, align 8, !tbaa !11
  %51 = load ptr, ptr %5, align 8, !tbaa !9
  %52 = load i32, ptr %7, align 4, !tbaa !13
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds double, ptr %51, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !11
  %56 = call double @llvm.fmuladd.f64(double %50, double %55, double %49)
  %57 = load ptr, ptr %3, align 8, !tbaa !9
  %58 = load i32, ptr %7, align 4, !tbaa !13
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds double, ptr %57, i64 %59
  store double %56, ptr %60, align 8, !tbaa !11
  br label %61

61:                                               ; preds = %44
  %62 = load i32, ptr %7, align 4, !tbaa !13
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %7, align 4, !tbaa !13
  br label %38, !llvm.loop !15

64:                                               ; preds = %43
  %65 = load ptr, ptr %3, align 8, !tbaa !9
  %66 = getelementptr inbounds double, ptr %65, i64 0
  %67 = load double, ptr %66, align 8, !tbaa !11
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %67)
  %69 = load ptr, ptr %3, align 8, !tbaa !9
  %70 = icmp eq ptr %69, null
  br i1 %70, label %72, label %71

71:                                               ; preds = %64
  call void @_ZdaPv(ptr noundef %69) #10
  br label %72

72:                                               ; preds = %71, %64
  %73 = load ptr, ptr %4, align 8, !tbaa !9
  %74 = icmp eq ptr %73, null
  br i1 %74, label %76, label %75

75:                                               ; preds = %72
  call void @_ZdaPv(ptr noundef %73) #10
  br label %76

76:                                               ; preds = %75, %72
  %77 = load ptr, ptr %5, align 8, !tbaa !9
  %78 = icmp eq ptr %77, null
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  call void @_ZdaPv(ptr noundef %77) #10
  br label %80

80:                                               ; preds = %79, %76
  %81 = load i64, ptr %2, align 8, !tbaa !5
  %82 = icmp eq i64 %81, 1000000
  br i1 %82, label %83, label %84

83:                                               ; preds = %80
  store i64 100, ptr %2, align 8, !tbaa !5
  br label %85

84:                                               ; preds = %80
  store i64 1000000, ptr %2, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %84, %83
  %86 = load i64, ptr %2, align 8, !tbaa !5
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %86)
  %88 = load i64, ptr %2, align 8, !tbaa !5
  %89 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %88, i64 8)
  %90 = extractvalue { i64, i1 } %89, 1
  %91 = extractvalue { i64, i1 } %89, 0
  %92 = select i1 %90, i64 -1, i64 %91
  %93 = call noalias noundef nonnull ptr @_Znam(i64 noundef %92) #9
  store ptr %93, ptr %3, align 8, !tbaa !9
  %94 = load i64, ptr %2, align 8, !tbaa !5
  %95 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %94, i64 8)
  %96 = extractvalue { i64, i1 } %95, 1
  %97 = extractvalue { i64, i1 } %95, 0
  %98 = select i1 %96, i64 -1, i64 %97
  %99 = call noalias noundef nonnull ptr @_Znam(i64 noundef %98) #9
  store ptr %99, ptr %4, align 8, !tbaa !9
  %100 = load i64, ptr %2, align 8, !tbaa !5
  %101 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %100, i64 8)
  %102 = extractvalue { i64, i1 } %101, 1
  %103 = extractvalue { i64, i1 } %101, 0
  %104 = select i1 %102, i64 -1, i64 %103
  %105 = call noalias noundef nonnull ptr @_Znam(i64 noundef %104) #9
  store ptr %105, ptr %5, align 8, !tbaa !9
  %106 = load i64, ptr %2, align 8, !tbaa !5
  %107 = load ptr, ptr %3, align 8, !tbaa !9
  %108 = load ptr, ptr %4, align 8, !tbaa !9
  %109 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_Z4initmPdS_S_(i64 noundef %106, ptr noundef %107, ptr noundef %108, ptr noundef %109)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !13
  br label %110

110:                                              ; preds = %134, %85
  %111 = load i32, ptr %8, align 4, !tbaa !13
  %112 = sext i32 %111 to i64
  %113 = load i64, ptr %2, align 8, !tbaa !5
  %114 = icmp ult i64 %112, %113
  br i1 %114, label %116, label %115

115:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %137

116:                                              ; preds = %110
  %117 = load ptr, ptr %4, align 8, !tbaa !9
  %118 = load i32, ptr %8, align 4, !tbaa !13
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds double, ptr %117, i64 %119
  %121 = load double, ptr %120, align 8, !tbaa !11
  %122 = load double, ptr %6, align 8, !tbaa !11
  %123 = load ptr, ptr %5, align 8, !tbaa !9
  %124 = load i32, ptr %8, align 4, !tbaa !13
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %123, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !11
  %128 = fneg double %122
  %129 = call double @llvm.fmuladd.f64(double %128, double %127, double %121)
  %130 = load ptr, ptr %3, align 8, !tbaa !9
  %131 = load i32, ptr %8, align 4, !tbaa !13
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds double, ptr %130, i64 %132
  store double %129, ptr %133, align 8, !tbaa !11
  br label %134

134:                                              ; preds = %116
  %135 = load i32, ptr %8, align 4, !tbaa !13
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %8, align 4, !tbaa !13
  br label %110, !llvm.loop !17

137:                                              ; preds = %115
  %138 = load ptr, ptr %3, align 8, !tbaa !9
  %139 = getelementptr inbounds double, ptr %138, i64 0
  %140 = load double, ptr %139, align 8, !tbaa !11
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %140)
  %142 = load ptr, ptr %3, align 8, !tbaa !9
  %143 = icmp eq ptr %142, null
  br i1 %143, label %145, label %144

144:                                              ; preds = %137
  call void @_ZdaPv(ptr noundef %142) #10
  br label %145

145:                                              ; preds = %144, %137
  %146 = load ptr, ptr %4, align 8, !tbaa !9
  %147 = icmp eq ptr %146, null
  br i1 %147, label %149, label %148

148:                                              ; preds = %145
  call void @_ZdaPv(ptr noundef %146) #10
  br label %149

149:                                              ; preds = %148, %145
  %150 = load ptr, ptr %5, align 8, !tbaa !9
  %151 = icmp eq ptr %150, null
  br i1 %151, label %153, label %152

152:                                              ; preds = %149
  call void @_ZdaPv(ptr noundef %150) #10
  br label %153

153:                                              ; preds = %152, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #8
  ret i32 0
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #7

attributes #0 = { mustprogress 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 = { mustprogress norecurse 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 "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 = { nobuiltin 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 #6 = { "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 #7 = { nobuiltin 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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 [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z4initmPdS_S_(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
vector.ph:
  %0 = tail call i32 @rand() #7
  %1 = icmp sgt i32 %0, 1073741823
  %2 = select i1 %1, i64 1000000, i64 100
  %3 = shl nuw nsw i64 %2, 3
  %4 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %3) #8
  %5 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %3) #8
  %6 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %3) #8
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i64 noundef %2)
  tail call void @_Z4initmPdS_S_(i64 noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6)
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %8 = getelementptr inbounds double, ptr %5, i64 %index
  %9 = getelementptr inbounds i8, ptr %8, i64 16
  %wide.load = load <2 x double>, ptr %8, align 8, !tbaa !5
  %wide.load55 = load <2 x double>, ptr %9, align 8, !tbaa !5
  %10 = getelementptr inbounds double, ptr %6, i64 %index
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %wide.load56 = load <2 x double>, ptr %10, align 8, !tbaa !5
  %wide.load57 = load <2 x double>, ptr %11, align 8, !tbaa !5
  %12 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load56, <2 x double> <double 3.140000e+00, double 3.140000e+00>, <2 x double> %wide.load)
  %13 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load57, <2 x double> <double 3.140000e+00, double 3.140000e+00>, <2 x double> %wide.load55)
  %14 = getelementptr inbounds double, ptr %4, i64 %index
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  store <2 x double> %12, ptr %14, align 8, !tbaa !5
  store <2 x double> %13, ptr %15, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %16 = icmp eq i64 %index.next, %2
  br i1 %16, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %17 = load double, ptr %4, align 8, !tbaa !5
  %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef %17)
  tail call void @_ZdaPv(ptr noundef nonnull %4) #9
  tail call void @_ZdaPv(ptr noundef nonnull %5) #9
  tail call void @_ZdaPv(ptr noundef nonnull %6) #9
  %.045 = select i1 %1, i64 100, i64 1000000
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i64 noundef %.045)
  %20 = shl nuw nsw i64 %.045, 3
  %21 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %20) #8
  %22 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %20) #8
  %23 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %20) #8
  tail call void @_Z4initmPdS_S_(i64 noundef %.045, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef nonnull %23)
  br label %vector.body65

vector.body65:                                    ; preds = %vector.body65, %middle.block
  %index66 = phi i64 [ 0, %middle.block ], [ %index.next71, %vector.body65 ]
  %24 = getelementptr inbounds double, ptr %22, i64 %index66
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  %wide.load67 = load <2 x double>, ptr %24, align 8, !tbaa !5
  %wide.load68 = load <2 x double>, ptr %25, align 8, !tbaa !5
  %26 = getelementptr inbounds double, ptr %23, i64 %index66
  %27 = getelementptr inbounds i8, ptr %26, i64 16
  %wide.load69 = load <2 x double>, ptr %26, align 8, !tbaa !5
  %wide.load70 = load <2 x double>, ptr %27, align 8, !tbaa !5
  %28 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load69, <2 x double> <double -3.140000e+00, double -3.140000e+00>, <2 x double> %wide.load67)
  %29 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load70, <2 x double> <double -3.140000e+00, double -3.140000e+00>, <2 x double> %wide.load68)
  %30 = getelementptr inbounds double, ptr %21, i64 %index66
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  store <2 x double> %28, ptr %30, align 8, !tbaa !5
  store <2 x double> %29, ptr %31, align 8, !tbaa !5
  %index.next71 = add nuw i64 %index66, 4
  %32 = icmp eq i64 %index.next71, %.045
  br i1 %32, label %middle.block58, label %vector.body65, !llvm.loop !13

middle.block58:                                   ; preds = %vector.body65
  %33 = load double, ptr %21, align 8, !tbaa !5
  %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef %33)
  tail call void @_ZdaPv(ptr noundef nonnull %21) #9
  tail call void @_ZdaPv(ptr noundef nonnull %22) #9
  tail call void @_ZdaPv(ptr noundef nonnull %23) #9
  ret i32 0
}

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #6

attributes #0 = { mustprogress 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 norecurse 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 "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 = { nobuiltin 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 #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 = { nobuiltin 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !11, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopLoadEliminationPass,LoopRotatePass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass