; 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.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_jacobianPinv2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [52 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 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_jacobianPinv2(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 ptr, align 8
  %15 = alloca ptr, align 8
  %16 = 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
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %17, ptr %7, align 8, !tbaa !5
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Rcs_setIKState(ptr noundef %18, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct._RcsGraph, ptr %20, i32 0, i32 3
  %22 = load i32, ptr %21, align 4, !tbaa !9
  %23 = call ptr @MatNd_create(i32 noundef 3, i32 noundef %22)
  store ptr %23, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #4
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._RcsGraph, ptr %24, i32 0, i32 3
  %26 = load i32, ptr %25, align 4, !tbaa !9
  %27 = 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 %26, ptr noundef %27)
  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
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._RcsGraph, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  store ptr %30, ptr %13, align 8, !tbaa !5
  br label %31

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

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

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

40:                                               ; preds = %35
  %41 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %41, ptr %12, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %40, %35
  br label %43

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

46:                                               ; preds = %34
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  call void @RcsGraph_bodyPointJacobian(ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef null, ptr noundef %50)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._RcsGraph, ptr %51, i32 0, i32 3
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = call ptr @MatNd_create(i32 noundef %53, i32 noundef 1)
  store ptr %54, ptr %15, align 8, !tbaa !5
  %55 = load ptr, ptr %15, align 8, !tbaa !5
  call void @MatNd_setElementsTo(ptr noundef %55, double noundef 1.000000e-03)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = load ptr, ptr %14, align 8, !tbaa !5
  %58 = load ptr, ptr %15, align 8, !tbaa !5
  %59 = call double @MatNd_rwPinv2(ptr noundef %9, ptr noundef %56, ptr noundef %57, ptr noundef %58)
  store double %59, ptr %16, align 8, !tbaa !12
  %60 = load ptr, ptr %15, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %60)
  %61 = load double, ptr %16, align 8, !tbaa !12
  %62 = fcmp oeq double %61, 0.000000e+00
  br i1 %62, label %63, label %100

63:                                               ; preds = %46
  br label %64

64:                                               ; preds = %63
  %65 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !5
  %66 = icmp ne ptr %65, null
  br i1 %66, label %67, label %78

67:                                               ; preds = %64
  %68 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !5
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %75

71:                                               ; preds = %67
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._RcsBody, ptr %72, i32 0, i32 6
  %74 = load ptr, ptr %73, align 8, !tbaa !20
  br label %76

75:                                               ; preds = %67
  br label %76

76:                                               ; preds = %75, %71
  %77 = phi ptr [ %74, %71 ], [ @.str.5, %75 ]
  call void (i32, ptr, ptr, i32, ptr, ...) %68(i32 noundef 1, ptr noundef @.str.2, ptr noundef @__func__.test_jacobianPinv2, i32 noundef 1095, ptr noundef @.str.9, ptr noundef %77)
  br label %78

78:                                               ; preds = %76, %64
  %79 = load i32, ptr @RcsLogLevel, align 4, !tbaa !21
  %80 = icmp sle i32 1, %79
  br i1 %80, label %81, label %97

81:                                               ; preds = %78
  %82 = load ptr, ptr @stderr, align 8, !tbaa !5
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @__func__.test_jacobianPinv2, i32 noundef 1095) #4
  %84 = load ptr, ptr @stderr, align 8, !tbaa !5
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %91

87:                                               ; preds = %81
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct._RcsBody, ptr %88, i32 0, i32 6
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  br label %92

91:                                               ; preds = %81
  br label %92

92:                                               ; preds = %91, %87
  %93 = phi ptr [ %90, %87 ], [ @.str.5, %91 ]
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str.9, ptr noundef %93) #4
  %95 = load ptr, ptr @stderr, align 8, !tbaa !5
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.7) #4
  br label %97

97:                                               ; preds = %92, %78
  br label %98

98:                                               ; preds = %97
  br label %99

99:                                               ; preds = %98
  call void @MatNd_setZero(ptr noundef %9)
  br label %100

100:                                              ; preds = %99, %46
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %101)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  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
}

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

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

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.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_jacobianPinv2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [52 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 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_jacobianPinv2(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
  %.not33 = icmp eq ptr %9, null
  br i1 %.not33, 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 = load i32, ptr %5, align 4, !tbaa !5
  %11 = call ptr @MatNd_create(i32 noundef %10, i32 noundef 1) #4
  call void @MatNd_setElementsTo(ptr noundef %11, double noundef 1.000000e-03) #4
  %12 = call double @MatNd_rwPinv2(ptr noundef nonnull %4, ptr noundef %7, ptr noundef null, ptr noundef %11) #4
  call void @MatNd_destroy(ptr noundef %11) #4
  %13 = fcmp oeq double %12, 0.000000e+00
  br i1 %13, label %17, label %41

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

17:                                               ; preds = %._crit_edge
  %18 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !18
  %.not29 = icmp eq ptr %18, null
  br i1 %.not29, label %25, label %19

19:                                               ; preds = %17
  %.not30 = icmp eq ptr %.0.lcssa, null
  br i1 %.not30, label %23, label %20

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

23:                                               ; preds = %19, %20
  %24 = phi ptr [ %22, %20 ], [ @.str.5, %19 ]
  call void (i32, ptr, ptr, i32, ptr, ...) %18(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.test_jacobianPinv2, i32 noundef 1095, ptr noundef nonnull @.str.9, ptr noundef %24) #4
  br label %25

25:                                               ; preds = %23, %17
  %26 = load i32, ptr @RcsLogLevel, align 4, !tbaa !20
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %28, label %40

28:                                               ; preds = %25
  %29 = load ptr, ptr @stderr, align 8, !tbaa !18
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.test_jacobianPinv2, i32 noundef 1095) #5
  %31 = load ptr, ptr @stderr, align 8, !tbaa !18
  %.not31 = icmp eq ptr %.0.lcssa, null
  br i1 %.not31, label %35, label %32

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

35:                                               ; preds = %28, %32
  %36 = phi ptr [ %34, %32 ], [ @.str.5, %28 ]
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str.9, ptr noundef %36) #5
  %38 = load ptr, ptr @stderr, align 8, !tbaa !18
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef nonnull @.str.7) #5
  br label %40

40:                                               ; preds = %35, %25
  call void @MatNd_setZero(ptr noundef nonnull %4) #4
  br label %41

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

declare void @MatNd_setElementsTo(ptr noundef, double noundef) local_unnamed_addr #3

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

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