; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_gradientTests)

; 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._MatNd = type { ptr, i32, i32, i32, i8 }
%struct._RcsGraph = type { ptr, [10 x %struct._RcsBody], i32, i32, ptr, ptr, ptr, ptr, ptr }
%struct._RcsBody = type { double, i8, i32, [3 x double], [3 x double], double, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@stderr = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@RCS_GLOBAL_RLOG_CB = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@RcsLogLevel = external global i32, align 4
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@RCS_GRADIENTTESTS_BODYPT1 = external dso_local global [3 x double], align 16
@__func__.test_jacobianPinv = external hidden unnamed_addr constant [18 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

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

declare ptr @MatNd_create(i32 noundef, i32 noundef) #3

declare void @MatNd_fromPtr(ptr dead_on_unwind writable sret(%struct._MatNd) align 8, i32 noundef, i32 noundef, ptr noundef) #3

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

declare double @MatNd_rwPinv(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare void @MatNd_destroy(ptr noundef) #3

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

declare ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef) #3

declare void @MatNd_setZero(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @test_jacobianPinv(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct._MatNd, align 8
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %15, ptr %7, align 8, !tbaa !5
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Rcs_setIKState(ptr noundef %16, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct._RcsGraph, ptr %18, i32 0, i32 3
  %20 = load i32, ptr %19, align 4, !tbaa !9
  %21 = call ptr @MatNd_create(i32 noundef 3, i32 noundef %20)
  store ptr %21, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #4
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct._RcsGraph, ptr %22, i32 0, i32 3
  %24 = load i32, ptr %23, align 4, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  call void @MatNd_fromPtr(ptr dead_on_unwind writable sret(%struct._MatNd) align 8 %9, i32 noundef 3, i32 noundef %24, ptr noundef %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store ptr @RCS_GRADIENTTESTS_BODYPT1, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store double 1.000000e-03, ptr %11, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._RcsGraph, ptr %26, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !14
  store ptr %28, ptr %13, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %41, %3
  %30 = load ptr, ptr %13, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %33, label %32

32:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %44

33:                                               ; preds = %29
  %34 = load ptr, ptr %13, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._RcsBody, ptr %34, i32 0, i32 18
  %36 = load ptr, ptr %35, align 8, !tbaa !15
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %40

38:                                               ; preds = %33
  %39 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %39, ptr %12, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %38, %33
  br label %41

41:                                               ; preds = %40
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = call ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef %42)
  store ptr %43, ptr %13, align 8, !tbaa !5
  br label %29, !llvm.loop !18

44:                                               ; preds = %32
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  call void @RcsGraph_bodyPointJacobian(ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef null, ptr noundef %48)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = call double @MatNd_rwPinv(ptr noundef %9, ptr noundef %49, ptr noundef null, ptr noundef null)
  store double %50, ptr %14, align 8, !tbaa !12
  %51 = load double, ptr %14, align 8, !tbaa !12
  %52 = fcmp olt double %51, 1.000000e-03
  br i1 %52, label %53, label %92

53:                                               ; preds = %44
  br label %54

54:                                               ; preds = %53
  %55 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !5
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %69

57:                                               ; preds = %54
  %58 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !5
  %59 = load double, ptr %14, align 8, !tbaa !12
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = icmp ne ptr %60, null
  br i1 %61, label %62, label %66

62:                                               ; preds = %57
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._RcsBody, ptr %63, i32 0, i32 6
  %65 = load ptr, ptr %64, align 8, !tbaa !20
  br label %67

66:                                               ; preds = %57
  br label %67

67:                                               ; preds = %66, %62
  %68 = phi ptr [ %65, %62 ], [ @.str.5, %66 ]
  call void (i32, ptr, ptr, i32, ptr, ...) %58(i32 noundef 4, ptr noundef @.str.2, ptr noundef @__func__.test_jacobianPinv, i32 noundef 961, ptr noundef @.str.4, double noundef %59, double noundef 1.000000e-03, ptr noundef %68)
  br label %69

69:                                               ; preds = %67, %54
  %70 = load i32, ptr @RcsLogLevel, align 4, !tbaa !21
  %71 = icmp sle i32 4, %70
  br i1 %71, label %72, label %89

72:                                               ; preds = %69
  %73 = load ptr, ptr @stderr, align 8, !tbaa !5
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @__func__.test_jacobianPinv, i32 noundef 961) #4
  %75 = load ptr, ptr @stderr, align 8, !tbaa !5
  %76 = load double, ptr %14, align 8, !tbaa !12
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %83

79:                                               ; preds = %72
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct._RcsBody, ptr %80, i32 0, i32 6
  %82 = load ptr, ptr %81, align 8, !tbaa !20
  br label %84

83:                                               ; preds = %72
  br label %84

84:                                               ; preds = %83, %79
  %85 = phi ptr [ %82, %79 ], [ @.str.5, %83 ]
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.4, double noundef %76, double noundef 1.000000e-03, ptr noundef %85) #4
  %87 = load ptr, ptr @stderr, align 8, !tbaa !5
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.7) #4
  br label %89

89:                                               ; preds = %84, %69
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90
  call void @MatNd_setZero(ptr noundef %9)
  br label %92

92:                                               ; preds = %91, %44
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %93)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 = { "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 }

!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, !11, i64 1852}
!10 = !{!"_RcsGraph", !6, i64 0, !7, i64 8, !11, i64 1848, !11, i64 1852, !6, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!10, !6, i64 0}
!15 = !{!16, !6, i64 168}
!16 = !{!"_RcsBody", !13, i64 0, !17, i64 8, !11, i64 12, !7, i64 16, !7, i64 40, !13, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176}
!17 = !{!"_Bool", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!16, !6, i64 72}
!21 = !{!11, !11, i64 0}


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

%struct._MatNd = type { ptr, i32, i32, i32, i8 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@RCS_GLOBAL_RLOG_CB = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@RcsLogLevel = external local_unnamed_addr global i32, align 4
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@RCS_GRADIENTTESTS_BODYPT1 = external dso_local global [3 x double], align 16
@__func__.test_jacobianPinv = external hidden unnamed_addr constant [18 x i8], align 1

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

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

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

declare ptr @MatNd_create(i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @MatNd_fromPtr(ptr dead_on_unwind writable sret(%struct._MatNd) align 8, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @RcsGraph_bodyPointJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare double @MatNd_rwPinv(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @MatNd_destroy(ptr 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) #0

declare ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef) local_unnamed_addr #3

declare void @MatNd_setZero(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @test_jacobianPinv(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca %struct._MatNd, align 8
  tail call void @Rcs_setIKState(ptr noundef %2, ptr noundef %1)
  %5 = getelementptr inbounds i8, ptr %2, i64 1852
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = tail call ptr @MatNd_create(i32 noundef 3, i32 noundef %6) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  %8 = load i32, ptr %5, align 4, !tbaa !5
  call void @MatNd_fromPtr(ptr dead_on_unwind nonnull writable sret(%struct._MatNd) align 8 %4, i32 noundef 3, i32 noundef %8, ptr noundef %0) #4
  %9 = load ptr, ptr %2, align 8, !tbaa !11
  %.not31 = icmp eq ptr %9, null
  br i1 %.not31, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %3
  %.0.lcssa = phi ptr [ null, %3 ], [ %spec.select, %.lr.ph ]
  call void @RcsGraph_bodyPointJacobian(ptr noundef nonnull %2, ptr noundef %.0.lcssa, ptr noundef nonnull @RCS_GRADIENTTESTS_BODYPT1, ptr noundef null, ptr noundef %7) #4
  %10 = call double @MatNd_rwPinv(ptr noundef nonnull %4, ptr noundef %7, ptr noundef null, ptr noundef null) #4
  %11 = fcmp olt double %10, 1.000000e-03
  br i1 %11, label %15, label %39

.lr.ph:                                           ; preds = %3, %.lr.ph
  %.033 = phi ptr [ %spec.select, %.lr.ph ], [ null, %3 ]
  %.02432 = phi ptr [ %14, %.lr.ph ], [ %9, %3 ]
  %12 = getelementptr inbounds i8, ptr %.02432, i64 168
  %13 = load ptr, ptr %12, align 8, !tbaa !12
  %.not30 = icmp eq ptr %13, null
  %spec.select = select i1 %.not30, ptr %.033, ptr %.02432
  %14 = call ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef nonnull %.02432) #4
  %.not = icmp eq ptr %14, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

15:                                               ; preds = %._crit_edge
  %16 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !18
  %.not27 = icmp eq ptr %16, null
  br i1 %.not27, label %23, label %17

17:                                               ; preds = %15
  %.not28 = icmp eq ptr %.0.lcssa, null
  br i1 %.not28, label %21, label %18

18:                                               ; preds = %17
  %19 = getelementptr inbounds i8, ptr %.0.lcssa, i64 72
  %20 = load ptr, ptr %19, align 8, !tbaa !19
  br label %21

21:                                               ; preds = %17, %18
  %22 = phi ptr [ %20, %18 ], [ @.str.5, %17 ]
  call void (i32, ptr, ptr, i32, ptr, ...) %16(i32 noundef 4, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.test_jacobianPinv, i32 noundef 961, ptr noundef nonnull @.str.4, double noundef %10, double noundef 1.000000e-03, ptr noundef %22) #4
  br label %23

23:                                               ; preds = %21, %15
  %24 = load i32, ptr @RcsLogLevel, align 4, !tbaa !20
  %25 = icmp sgt i32 %24, 3
  br i1 %25, label %26, label %38

26:                                               ; preds = %23
  %27 = load ptr, ptr @stderr, align 8, !tbaa !18
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.test_jacobianPinv, i32 noundef 961) #5
  %29 = load ptr, ptr @stderr, align 8, !tbaa !18
  %.not29 = icmp eq ptr %.0.lcssa, null
  br i1 %.not29, label %33, label %30

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %.0.lcssa, i64 72
  %32 = load ptr, ptr %31, align 8, !tbaa !19
  br label %33

33:                                               ; preds = %26, %30
  %34 = phi ptr [ %32, %30 ], [ @.str.5, %26 ]
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.4, double noundef %10, double noundef 1.000000e-03, ptr noundef %34) #5
  %36 = load ptr, ptr @stderr, align 8, !tbaa !18
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.7) #5
  br label %38

38:                                               ; preds = %33, %23
  call void @MatNd_setZero(ptr noundef nonnull %4) #4
  br label %39

39:                                               ; preds = %38, %._crit_edge
  call void @MatNd_destroy(ptr noundef %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { "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 }
attributes #5 = { cold 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, !10, i64 1852}
!6 = !{!"_RcsGraph", !7, i64 0, !8, i64 8, !10, i64 1848, !10, i64 1852, !7, i64 1856, !7, i64 1864, !7, i64 1872, !7, i64 1880, !7, i64 1888}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !7, i64 168}
!13 = !{!"_RcsBody", !14, i64 0, !15, i64 8, !10, i64 12, !8, i64 16, !8, i64 40, !14, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176}
!14 = !{!"double", !8, i64 0}
!15 = !{!"_Bool", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!7, !7, i64 0}
!19 = !{!13, !7, i64 72}
!20 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass