; LLVM IR from Derek-TH-Wang/quadruped_ctrl :: src/osqp/examples (osqp_demo)

; 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.OSQPData = type { i64, i64, ptr, ptr, ptr, ptr, ptr }

@__const.main.P_x = external hidden unnamed_addr constant [4 x double], align 16
@__const.main.P_i = external hidden unnamed_addr constant [4 x i64], align 16
@__const.main.P_p = external hidden unnamed_addr constant [3 x i64], align 16
@__const.main.q = external hidden unnamed_addr constant [2 x double], align 16
@__const.main.A_x = external hidden unnamed_addr constant [4 x double], align 16
@__const.main.A_i = external hidden unnamed_addr constant [4 x i64], align 16
@__const.main.A_p = external hidden unnamed_addr constant [3 x i64], align 16
@__const.main.l = external hidden unnamed_addr constant [3 x double], align 16
@__const.main.u = external hidden unnamed_addr constant [3 x double], align 16

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca [4 x double], align 16
  %7 = alloca i64, align 8
  %8 = alloca [4 x i64], align 16
  %9 = alloca [3 x i64], align 16
  %10 = alloca [2 x double], align 16
  %11 = alloca [4 x double], align 16
  %12 = alloca i64, align 8
  %13 = alloca [4 x i64], align 16
  %14 = alloca [3 x i64], align 16
  %15 = alloca [3 x double], align 16
  %16 = alloca [3 x double], align 16
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.P_x, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 4, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.P_i, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.P_p, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.q, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.A_x, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 4, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.main.A_i, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.main.A_p, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const.main.l, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.main.u, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store i64 2, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store i64 3, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %22 = call noalias ptr @malloc(i64 noundef 176) #7
  store ptr %22, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %23 = call noalias ptr @malloc(i64 noundef 56) #7
  store ptr %23, ptr %21, align 8, !tbaa !9
  %24 = load i64, ptr %17, align 8, !tbaa !11
  %25 = load ptr, ptr %21, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.OSQPData, ptr %25, i32 0, i32 0
  store i64 %24, ptr %26, align 8, !tbaa !13
  %27 = load i64, ptr %18, align 8, !tbaa !11
  %28 = load ptr, ptr %21, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.OSQPData, ptr %28, i32 0, i32 1
  store i64 %27, ptr %29, align 8, !tbaa !15
  %30 = load ptr, ptr %21, align 8, !tbaa !9
  %31 = getelementptr inbounds %struct.OSQPData, ptr %30, i32 0, i32 0
  %32 = load i64, ptr %31, align 8, !tbaa !13
  %33 = load ptr, ptr %21, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.OSQPData, ptr %33, i32 0, i32 0
  %35 = load i64, ptr %34, align 8, !tbaa !13
  %36 = load i64, ptr %7, align 8, !tbaa !11
  %37 = getelementptr inbounds [4 x double], ptr %6, i64 0, i64 0
  %38 = getelementptr inbounds [4 x i64], ptr %8, i64 0, i64 0
  %39 = getelementptr inbounds [3 x i64], ptr %9, i64 0, i64 0
  %40 = call ptr @csc_matrix(i64 noundef %32, i64 noundef %35, i64 noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39)
  %41 = load ptr, ptr %21, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.OSQPData, ptr %41, i32 0, i32 2
  store ptr %40, ptr %42, align 8, !tbaa !16
  %43 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
  %44 = load ptr, ptr %21, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.OSQPData, ptr %44, i32 0, i32 4
  store ptr %43, ptr %45, align 8, !tbaa !17
  %46 = load ptr, ptr %21, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.OSQPData, ptr %46, i32 0, i32 1
  %48 = load i64, ptr %47, align 8, !tbaa !15
  %49 = load ptr, ptr %21, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.OSQPData, ptr %49, i32 0, i32 0
  %51 = load i64, ptr %50, align 8, !tbaa !13
  %52 = load i64, ptr %12, align 8, !tbaa !11
  %53 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  %54 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 0
  %55 = getelementptr inbounds [3 x i64], ptr %14, i64 0, i64 0
  %56 = call ptr @csc_matrix(i64 noundef %48, i64 noundef %51, i64 noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55)
  %57 = load ptr, ptr %21, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct.OSQPData, ptr %57, i32 0, i32 3
  store ptr %56, ptr %58, align 8, !tbaa !18
  %59 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
  %60 = load ptr, ptr %21, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.OSQPData, ptr %60, i32 0, i32 5
  store ptr %59, ptr %61, align 8, !tbaa !19
  %62 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
  %63 = load ptr, ptr %21, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.OSQPData, ptr %63, i32 0, i32 6
  store ptr %62, ptr %64, align 8, !tbaa !20
  %65 = load ptr, ptr %19, align 8, !tbaa !9
  call void @osqp_set_default_settings(ptr noundef %65)
  %66 = load ptr, ptr %21, align 8, !tbaa !9
  %67 = load ptr, ptr %19, align 8, !tbaa !9
  %68 = call ptr @osqp_setup(ptr noundef %66, ptr noundef %67)
  store ptr %68, ptr %20, align 8, !tbaa !9
  %69 = load ptr, ptr %20, align 8, !tbaa !9
  %70 = call i64 @osqp_solve(ptr noundef %69)
  %71 = load ptr, ptr %20, align 8, !tbaa !9
  %72 = call i64 @osqp_cleanup(ptr noundef %71)
  %73 = load ptr, ptr %21, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.OSQPData, ptr %73, i32 0, i32 3
  %75 = load ptr, ptr %74, align 8, !tbaa !18
  call void @free(ptr noundef %75) #6
  %76 = load ptr, ptr %21, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.OSQPData, ptr %76, i32 0, i32 2
  %78 = load ptr, ptr %77, align 8, !tbaa !16
  call void @free(ptr noundef %78) #6
  %79 = load ptr, ptr %21, align 8, !tbaa !9
  call void @free(ptr noundef %79) #6
  %80 = load ptr, ptr %19, align 8, !tbaa !9
  call void @free(ptr noundef %80) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  ret i32 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

declare ptr @csc_matrix(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare void @osqp_set_default_settings(ptr noundef) #4

declare ptr @osqp_setup(ptr noundef, ptr noundef) #4

declare i64 @osqp_solve(ptr noundef) #4

declare i64 @osqp_cleanup(ptr noundef) #4

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"", !12, i64 0, !12, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!15 = !{!14, !12, i64 8}
!16 = !{!14, !10, i64 16}
!17 = !{!14, !10, i64 32}
!18 = !{!14, !10, i64 24}
!19 = !{!14, !10, i64 40}
!20 = !{!14, !10, i64 48}


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

@__const.main.P_x = external hidden unnamed_addr constant [4 x double], align 16
@__const.main.P_i = external hidden unnamed_addr constant [4 x i64], align 16
@__const.main.P_p = external hidden unnamed_addr constant [3 x i64], align 16
@__const.main.q = external hidden unnamed_addr constant [2 x double], align 16
@__const.main.A_x = external hidden unnamed_addr constant [4 x double], align 16
@__const.main.A_i = external hidden unnamed_addr constant [4 x i64], align 16
@__const.main.A_p = external hidden unnamed_addr constant [3 x i64], align 16
@__const.main.l = external hidden unnamed_addr constant [3 x double], align 16
@__const.main.u = external hidden unnamed_addr constant [3 x double], align 16

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca [4 x double], align 16
  %4 = alloca [4 x i64], align 16
  %5 = alloca [3 x i64], align 16
  %6 = alloca [2 x double], align 16
  %7 = alloca [4 x double], align 16
  %8 = alloca [4 x i64], align 16
  %9 = alloca [3 x i64], align 16
  %10 = alloca [3 x double], align 16
  %11 = alloca [3 x double], align 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) @__const.main.P_x, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) @__const.main.P_i, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %5, ptr noundef nonnull align 16 dereferenceable(24) @__const.main.P_p, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.q, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %7, ptr noundef nonnull align 16 dereferenceable(32) @__const.main.A_x, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %8, ptr noundef nonnull align 16 dereferenceable(32) @__const.main.A_i, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) @__const.main.A_p, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %10, ptr noundef nonnull align 16 dereferenceable(24) @__const.main.l, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %11, ptr noundef nonnull align 16 dereferenceable(24) @__const.main.u, i64 24, i1 false)
  %12 = tail call noalias dereferenceable_or_null(176) ptr @malloc(i64 noundef 176) #7
  %13 = tail call noalias dereferenceable_or_null(56) ptr @malloc(i64 noundef 56) #7
  store i64 2, ptr %13, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %13, i64 8
  store i64 3, ptr %14, align 8, !tbaa !11
  %15 = call ptr @csc_matrix(i64 noundef 2, i64 noundef 2, i64 noundef 4, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5) #6
  %16 = getelementptr inbounds i8, ptr %13, i64 16
  store ptr %15, ptr %16, align 8, !tbaa !12
  %17 = getelementptr inbounds i8, ptr %13, i64 32
  store ptr %6, ptr %17, align 8, !tbaa !13
  %18 = call ptr @csc_matrix(i64 noundef 3, i64 noundef 2, i64 noundef 4, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #6
  %19 = getelementptr inbounds i8, ptr %13, i64 24
  store ptr %18, ptr %19, align 8, !tbaa !14
  %20 = getelementptr inbounds i8, ptr %13, i64 40
  store ptr %10, ptr %20, align 8, !tbaa !15
  %21 = getelementptr inbounds i8, ptr %13, i64 48
  store ptr %11, ptr %21, align 8, !tbaa !16
  call void @osqp_set_default_settings(ptr noundef %12) #6
  %22 = call ptr @osqp_setup(ptr noundef nonnull %13, ptr noundef %12) #6
  %23 = call i64 @osqp_solve(ptr noundef %22) #6
  %24 = call i64 @osqp_cleanup(ptr noundef %22) #6
  %25 = load ptr, ptr %19, align 8, !tbaa !14
  call void @free(ptr noundef %25) #6
  %26 = load ptr, ptr %16, align 8, !tbaa !12
  call void @free(ptr noundef %26) #6
  call void @free(ptr noundef %13) #6
  call void @free(ptr noundef %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret i32 0
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3

declare ptr @csc_matrix(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @osqp_set_default_settings(ptr noundef) local_unnamed_addr #4

declare ptr @osqp_setup(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i64 @osqp_solve(ptr noundef) local_unnamed_addr #4

declare i64 @osqp_cleanup(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind }
attributes #7 = { nounwind allocsize(0) }

!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, !7, i64 0}
!6 = !{!"", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !10, i64 32}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !10, i64 40}
!16 = !{!6, !10, i64 48}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,TailCallElimPass