; LLVM IR from simbody/simbody :: SimTKmath/Optimizers/src/c-cmaes (cmaes)

; 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.cmaes_t = type { ptr, %struct.cmaes_readpara_t, %struct.cmaes_random_t, double, ptr, ptr, ptr, ptr, ptr, i16, i16, double, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, [330 x i8], i16, i16, double, %struct.cmaes_timings_t, double, double, i16, i64, i64, i64, i64 }
%struct.cmaes_readpara_t = type { ptr, i16, i32, i32, ptr, ptr, i32, ptr, ptr, double, double, double, %struct.anon, double, double, double, double, i32, i32, double, double, ptr, double, double, double, double, double, %struct.anon.0, double, ptr, [99 x i8], ptr, ptr, ptr, ptr, i32, i32, i32 }
%struct.anon = type { i32, double }
%struct.anon.0 = type { i32, double, double }
%struct.cmaes_random_t = type { i64, i64, i64, ptr, i16, double }
%struct.cmaes_timings_t = type { double, double, double, double, i64, i64, i64, i64, i16, i16, double, double }

@.str.37 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [8 x i8], align 1
@stdout = external global ptr, align 8
@.str.39 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [10 x i8], align 1

; 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 ptr @cmaes_SamplePopulation(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local ptr @cmaes_Optimize(ptr noundef %0, ptr noundef %1, i64 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store ptr @.str.37, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.cmaes_t, ptr %12, i32 0, i32 23
  %14 = load double, ptr %13, align 8, !tbaa !11
  store double %14, ptr %11, align 8, !tbaa !21
  br label %15

15:                                               ; preds = %77, %3
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = call ptr @cmaes_TestForTermination(ptr noundef %16)
  store ptr %17, ptr %9, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %34, label %19

19:                                               ; preds = %15
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.cmaes_t, ptr %20, i32 0, i32 23
  %22 = load double, ptr %21, align 8, !tbaa !11
  %23 = load double, ptr %11, align 8, !tbaa !21
  %24 = load i64, ptr %6, align 8, !tbaa !9
  %25 = sitofp i64 %24 to double
  %26 = fadd double %23, %25
  %27 = fcmp olt double %22, %26
  br i1 %27, label %32, label %28

28:                                               ; preds = %19
  %29 = load i64, ptr %6, align 8, !tbaa !9
  %30 = icmp ne i64 %29, 0
  %31 = xor i1 %30, true
  br label %32

32:                                               ; preds = %28, %19
  %33 = phi i1 [ true, %19 ], [ %31, %28 ]
  br label %34

34:                                               ; preds = %32, %15
  %35 = phi i1 [ false, %15 ], [ %33, %32 ]
  br i1 %35, label %36, label %80

36:                                               ; preds = %34
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = call ptr @cmaes_SamplePopulation(ptr noundef %37)
  store ptr %38, ptr %8, align 8, !tbaa !5
  store i32 0, ptr %10, align 4, !tbaa !22
  br label %39

39:                                               ; preds = %63, %36
  %40 = load i32, ptr %10, align 4, !tbaa !22
  %41 = sitofp i32 %40 to double
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = call double @cmaes_Get(ptr noundef %42, ptr noundef @.str.38)
  %44 = fcmp olt double %41, %43
  br i1 %44, label %45, label %66

45:                                               ; preds = %39
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = load i32, ptr %10, align 4, !tbaa !22
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds ptr, ptr %47, i64 %49
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.cmaes_t, ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %53, i32 0, i32 2
  %55 = load i32, ptr %54, align 4, !tbaa !23
  %56 = call double %46(ptr noundef %51, i32 noundef %55)
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.cmaes_t, ptr %57, i32 0, i32 22
  %59 = load ptr, ptr %58, align 8, !tbaa !24
  %60 = load i32, ptr %10, align 4, !tbaa !22
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds double, ptr %59, i64 %61
  store double %56, ptr %62, align 8, !tbaa !21
  br label %63

63:                                               ; preds = %45
  %64 = load i32, ptr %10, align 4, !tbaa !22
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %10, align 4, !tbaa !22
  br label %39, !llvm.loop !25

66:                                               ; preds = %39
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.cmaes_t, ptr %68, i32 0, i32 22
  %70 = load ptr, ptr %69, align 8, !tbaa !24
  %71 = call ptr @cmaes_UpdateDistribution(ptr noundef %67, ptr noundef %70)
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = icmp ne ptr %72, null
  br i1 %73, label %74, label %77

74:                                               ; preds = %66
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  call void @cmaes_ReadSignals(ptr noundef %75, ptr noundef %76)
  br label %77

77:                                               ; preds = %74, %66
  %78 = load ptr, ptr @stdout, align 8, !tbaa !5
  %79 = call i32 @fflush(ptr noundef %78)
  br label %15, !llvm.loop !27

80:                                               ; preds = %34
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  call void @cmaes_WriteToFile(ptr noundef %81, ptr noundef @.str.39, ptr noundef @.str.40)
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = call ptr @cmaes_GetPtr(ptr noundef %82, ptr noundef @.str.41)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  ret ptr %83
}

; Function Attrs: nounwind uwtable
declare dso_local ptr @cmaes_TestForTermination(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local double @cmaes_Get(ptr noundef, ptr noundef) #1

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

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

declare i32 @fflush(ptr noundef) #2

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

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

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 = { "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 = !{!"long", !7, i64 0}
!11 = !{!12, !16, i64 608}
!12 = !{!"", !6, i64 0, !13, i64 8, !19, i64 408, !16, i64 456, !6, i64 464, !6, i64 472, !6, i64 480, !6, i64 488, !6, i64 496, !14, i64 504, !14, i64 506, !16, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !16, i64 608, !16, i64 616, !16, i64 624, !16, i64 632, !16, i64 640, !16, i64 648, !16, i64 656, !7, i64 664, !14, i64 994, !14, i64 996, !16, i64 1000, !20, i64 1008, !16, i64 1096, !16, i64 1104, !14, i64 1112, !10, i64 1120, !10, i64 1128, !10, i64 1136, !10, i64 1144}
!13 = !{!"", !6, i64 0, !14, i64 8, !15, i64 12, !15, i64 16, !6, i64 24, !6, i64 32, !15, i64 40, !6, i64 48, !6, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !17, i64 88, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !15, i64 136, !15, i64 140, !16, i64 144, !16, i64 152, !6, i64 160, !16, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !16, i64 200, !18, i64 208, !16, i64 232, !6, i64 240, !7, i64 248, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !15, i64 384, !15, i64 388, !15, i64 392}
!14 = !{!"short", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!"", !15, i64 0, !16, i64 8}
!18 = !{!"", !15, i64 0, !16, i64 8, !16, i64 16}
!19 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !14, i64 32, !16, i64 40}
!20 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !14, i64 64, !14, i64 66, !16, i64 72, !16, i64 80}
!21 = !{!16, !16, i64 0}
!22 = !{!15, !15, i64 0}
!23 = !{!12, !15, i64 20}
!24 = !{!12, !6, i64 600}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}


; 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.37 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [8 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.39 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @cmaes_SamplePopulation(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local ptr @cmaes_Optimize(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 608
  %5 = load double, ptr %4, align 8, !tbaa !5
  %6 = tail call ptr @cmaes_TestForTermination(ptr noundef nonnull %0)
  %.not24 = icmp eq ptr %6, null
  br i1 %.not24, label %.lr.ph26, label %.critedge

.lr.ph26:                                         ; preds = %3
  %7 = sitofp i64 %2 to double
  %8 = fadd double %5, %7
  %.not22 = icmp eq i64 %2, 0
  %9 = getelementptr inbounds i8, ptr %0, i64 20
  %10 = getelementptr inbounds i8, ptr %0, i64 600
  br i1 %.not22, label %.lr.ph26.split.us, label %.lr.ph26.split

.lr.ph26.split.us:                                ; preds = %.lr.ph26, %._crit_edge.us
  %11 = tail call ptr @cmaes_SamplePopulation(ptr noundef nonnull %0)
  %12 = tail call double @cmaes_Get(ptr noundef nonnull %0, ptr noundef nonnull @.str.38)
  %13 = fcmp ogt double %12, 0.000000e+00
  br i1 %13, label %.lr.ph.us, label %._crit_edge.us

._crit_edge.us:                                   ; preds = %.lr.ph.us, %.lr.ph26.split.us
  %14 = load ptr, ptr %10, align 8, !tbaa !19
  %15 = tail call ptr @cmaes_UpdateDistribution(ptr noundef nonnull %0, ptr noundef %14)
  tail call void @cmaes_ReadSignals(ptr noundef nonnull %0, ptr noundef nonnull @.str.37)
  %16 = load ptr, ptr @stdout, align 8, !tbaa !20
  %17 = tail call i32 @fflush(ptr noundef %16)
  %18 = tail call ptr @cmaes_TestForTermination(ptr noundef nonnull %0)
  %.not.us = icmp eq ptr %18, null
  br i1 %.not.us, label %.lr.ph26.split.us, label %.critedge, !llvm.loop !21

.lr.ph.us:                                        ; preds = %.lr.ph26.split.us, %.lr.ph.us
  %indvars.iv30 = phi i64 [ %indvars.iv.next31, %.lr.ph.us ], [ 0, %.lr.ph26.split.us ]
  %19 = getelementptr inbounds ptr, ptr %11, i64 %indvars.iv30
  %20 = load ptr, ptr %19, align 8, !tbaa !20
  %21 = load i32, ptr %9, align 4, !tbaa !23
  %22 = tail call double %1(ptr noundef %20, i32 noundef %21) #2
  %23 = load ptr, ptr %10, align 8, !tbaa !19
  %24 = getelementptr inbounds double, ptr %23, i64 %indvars.iv30
  store double %22, ptr %24, align 8, !tbaa !24
  %indvars.iv.next31 = add nuw nsw i64 %indvars.iv30, 1
  %25 = trunc nuw i64 %indvars.iv.next31 to i32
  %26 = uitofp nneg i32 %25 to double
  %27 = tail call double @cmaes_Get(ptr noundef nonnull %0, ptr noundef nonnull @.str.38)
  %28 = fcmp ogt double %27, %26
  br i1 %28, label %.lr.ph.us, label %._crit_edge.us, !llvm.loop !25

.lr.ph26.split:                                   ; preds = %.lr.ph26, %._crit_edge
  %29 = load double, ptr %4, align 8, !tbaa !5
  %30 = fcmp olt double %29, %8
  br i1 %30, label %31, label %.critedge

31:                                               ; preds = %.lr.ph26.split
  %32 = tail call ptr @cmaes_SamplePopulation(ptr noundef nonnull %0)
  %33 = tail call double @cmaes_Get(ptr noundef nonnull %0, ptr noundef nonnull @.str.38)
  %34 = fcmp ogt double %33, 0.000000e+00
  br i1 %34, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %31, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %31 ]
  %35 = getelementptr inbounds ptr, ptr %32, i64 %indvars.iv
  %36 = load ptr, ptr %35, align 8, !tbaa !20
  %37 = load i32, ptr %9, align 4, !tbaa !23
  %38 = tail call double %1(ptr noundef %36, i32 noundef %37) #2
  %39 = load ptr, ptr %10, align 8, !tbaa !19
  %40 = getelementptr inbounds double, ptr %39, i64 %indvars.iv
  store double %38, ptr %40, align 8, !tbaa !24
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %41 = trunc nuw i64 %indvars.iv.next to i32
  %42 = uitofp nneg i32 %41 to double
  %43 = tail call double @cmaes_Get(ptr noundef nonnull %0, ptr noundef nonnull @.str.38)
  %44 = fcmp ogt double %43, %42
  br i1 %44, label %.lr.ph, label %._crit_edge, !llvm.loop !25

._crit_edge:                                      ; preds = %.lr.ph, %31
  %45 = load ptr, ptr %10, align 8, !tbaa !19
  %46 = tail call ptr @cmaes_UpdateDistribution(ptr noundef nonnull %0, ptr noundef %45)
  tail call void @cmaes_ReadSignals(ptr noundef nonnull %0, ptr noundef nonnull @.str.37)
  %47 = load ptr, ptr @stdout, align 8, !tbaa !20
  %48 = tail call i32 @fflush(ptr noundef %47)
  %49 = tail call ptr @cmaes_TestForTermination(ptr noundef nonnull %0)
  %.not = icmp eq ptr %49, null
  br i1 %.not, label %.lr.ph26.split, label %.critedge, !llvm.loop !21

.critedge:                                        ; preds = %.lr.ph26.split, %._crit_edge, %._crit_edge.us, %3
  tail call void @cmaes_WriteToFile(ptr noundef nonnull %0, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.40)
  %50 = tail call ptr @cmaes_GetPtr(ptr noundef nonnull %0, ptr noundef nonnull @.str.41)
  ret ptr %50
}

; Function Attrs: nounwind uwtable
declare dso_local ptr @cmaes_TestForTermination(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local double @cmaes_Get(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #1

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

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

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 = { 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 #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, !13, i64 608}
!6 = !{!"", !7, i64 0, !10, i64 8, !16, i64 408, !13, i64 456, !7, i64 464, !7, i64 472, !7, i64 480, !7, i64 488, !7, i64 496, !11, i64 504, !11, i64 506, !13, i64 512, !7, i64 520, !7, i64 528, !7, i64 536, !7, i64 544, !7, i64 552, !7, i64 560, !7, i64 568, !7, i64 576, !7, i64 584, !7, i64 592, !7, i64 600, !13, i64 608, !13, i64 616, !13, i64 624, !13, i64 632, !13, i64 640, !13, i64 648, !13, i64 656, !8, i64 664, !11, i64 994, !11, i64 996, !13, i64 1000, !18, i64 1008, !13, i64 1096, !13, i64 1104, !11, i64 1112, !17, i64 1120, !17, i64 1128, !17, i64 1136, !17, i64 1144}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !7, i64 0, !11, i64 8, !12, i64 12, !12, i64 16, !7, i64 24, !7, i64 32, !12, i64 40, !7, i64 48, !7, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !14, i64 88, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !12, i64 136, !12, i64 140, !13, i64 144, !13, i64 152, !7, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !15, i64 208, !13, i64 232, !7, i64 240, !8, i64 248, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !12, i64 384, !12, i64 388, !12, i64 392}
!11 = !{!"short", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!"", !12, i64 0, !13, i64 8}
!15 = !{!"", !12, i64 0, !13, i64 8, !13, i64 16}
!16 = !{!"", !17, i64 0, !17, i64 8, !17, i64 16, !7, i64 24, !11, i64 32, !13, i64 40}
!17 = !{!"long", !8, i64 0}
!18 = !{!"", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !11, i64 64, !11, i64 66, !13, i64 72, !13, i64 80}
!19 = !{!6, !7, i64 600}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!6, !12, i64 20}
!24 = !{!13, !13, i64 0}
!25 = distinct !{!25, !22}


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