; LLVM IR from siconos/siconos :: externals/lbl/metis4/memory.ll_ (AllocateWorkSpace)

; 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.controldef = type { i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, %struct.workspacedef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.workspacedef = type { ptr, i32, i32, ptr, ptr, i32, ptr, ptr }
%struct.graphdef = type { ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @__AllocateWorkSpace(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %7 = load ptr, ptr %4, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.controldef, ptr %7, i32 0, i32 11
  %9 = getelementptr inbounds %struct.workspacedef, ptr %8, i32 0, i32 7
  store ptr null, ptr %9, align 8, !tbaa !11
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.controldef, ptr %10, i32 0, i32 7
  %12 = load i32, ptr %11, align 4, !tbaa !16
  %13 = icmp eq i32 %12, 2
  br i1 %13, label %14, label %63

14:                                               ; preds = %3
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.graphdef, ptr %15, i32 0, i32 3
  %17 = load i32, ptr %16, align 4, !tbaa !17
  %18 = sext i32 %17 to i64
  %19 = mul i64 %18, 8
  %20 = trunc i64 %19 to i32
  %21 = call ptr @__GKmalloc(i32 noundef %20, ptr noundef @.str)
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 11
  %24 = getelementptr inbounds %struct.workspacedef, ptr %23, i32 0, i32 3
  store ptr %21, ptr %24, align 8, !tbaa !19
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.controldef, ptr %25, i32 0, i32 11
  %27 = getelementptr inbounds %struct.workspacedef, ptr %26, i32 0, i32 4
  store ptr null, ptr %27, align 8, !tbaa !20
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 11
  %30 = getelementptr inbounds %struct.workspacedef, ptr %29, i32 0, i32 3
  %31 = load ptr, ptr %30, align 8, !tbaa !19
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.controldef, ptr %32, i32 0, i32 11
  %34 = getelementptr inbounds %struct.workspacedef, ptr %33, i32 0, i32 6
  store ptr %31, ptr %34, align 8, !tbaa !21
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = load i32, ptr %6, align 4, !tbaa !9
  %37 = mul nsw i32 %35, %36
  %38 = call ptr @__idxmalloc(i32 noundef %37, ptr noundef @.str.1)
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.controldef, ptr %39, i32 0, i32 11
  %41 = getelementptr inbounds %struct.workspacedef, ptr %40, i32 0, i32 7
  store ptr %38, ptr %41, align 8, !tbaa !11
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.graphdef, ptr %42, i32 0, i32 2
  %44 = load i32, ptr %43, align 8, !tbaa !22
  %45 = add nsw i32 %44, 1
  %46 = mul nsw i32 3, %45
  %47 = load i32, ptr %6, align 4, !tbaa !9
  %48 = add nsw i32 %47, 1
  %49 = mul nsw i32 5, %48
  %50 = add nsw i32 %46, %49
  %51 = sext i32 %50 to i64
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.graphdef, ptr %52, i32 0, i32 2
  %54 = load i32, ptr %53, align 8, !tbaa !22
  %55 = sext i32 %54 to i64
  %56 = mul i64 %55, 6
  %57 = add i64 %51, %56
  %58 = add i64 %57, 20
  %59 = trunc i64 %58 to i32
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.controldef, ptr %60, i32 0, i32 11
  %62 = getelementptr inbounds %struct.workspacedef, ptr %61, i32 0, i32 1
  store i32 %59, ptr %62, align 8, !tbaa !23
  br label %170

63:                                               ; preds = %3
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.controldef, ptr %64, i32 0, i32 7
  %66 = load i32, ptr %65, align 4, !tbaa !16
  %67 = icmp eq i32 %66, 6
  br i1 %67, label %68, label %117

68:                                               ; preds = %63
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.controldef, ptr %69, i32 0, i32 11
  %71 = getelementptr inbounds %struct.workspacedef, ptr %70, i32 0, i32 3
  store ptr null, ptr %71, align 8, !tbaa !19
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.graphdef, ptr %72, i32 0, i32 3
  %74 = load i32, ptr %73, align 4, !tbaa !17
  %75 = sext i32 %74 to i64
  %76 = mul i64 %75, 16
  %77 = trunc i64 %76 to i32
  %78 = call ptr @__GKmalloc(i32 noundef %77, ptr noundef @.str.2)
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.controldef, ptr %79, i32 0, i32 11
  %81 = getelementptr inbounds %struct.workspacedef, ptr %80, i32 0, i32 4
  store ptr %78, ptr %81, align 8, !tbaa !20
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.controldef, ptr %82, i32 0, i32 11
  %84 = getelementptr inbounds %struct.workspacedef, ptr %83, i32 0, i32 4
  %85 = load ptr, ptr %84, align 8, !tbaa !20
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.controldef, ptr %86, i32 0, i32 11
  %88 = getelementptr inbounds %struct.workspacedef, ptr %87, i32 0, i32 6
  store ptr %85, ptr %88, align 8, !tbaa !21
  %89 = load i32, ptr %6, align 4, !tbaa !9
  %90 = load i32, ptr %6, align 4, !tbaa !9
  %91 = mul nsw i32 %89, %90
  %92 = call ptr @__idxmalloc(i32 noundef %91, ptr noundef @.str.1)
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.controldef, ptr %93, i32 0, i32 11
  %95 = getelementptr inbounds %struct.workspacedef, ptr %94, i32 0, i32 7
  store ptr %92, ptr %95, align 8, !tbaa !11
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.graphdef, ptr %96, i32 0, i32 2
  %98 = load i32, ptr %97, align 8, !tbaa !22
  %99 = add nsw i32 %98, 1
  %100 = mul nsw i32 3, %99
  %101 = load i32, ptr %6, align 4, !tbaa !9
  %102 = add nsw i32 %101, 1
  %103 = mul nsw i32 3, %102
  %104 = add nsw i32 %100, %103
  %105 = sext i32 %104 to i64
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.graphdef, ptr %106, i32 0, i32 2
  %108 = load i32, ptr %107, align 8, !tbaa !22
  %109 = sext i32 %108 to i64
  %110 = mul i64 %109, 6
  %111 = add i64 %105, %110
  %112 = add i64 %111, 20
  %113 = trunc i64 %112 to i32
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.controldef, ptr %114, i32 0, i32 11
  %116 = getelementptr inbounds %struct.workspacedef, ptr %115, i32 0, i32 1
  store i32 %113, ptr %116, align 8, !tbaa !23
  br label %169

117:                                              ; preds = %63
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.graphdef, ptr %118, i32 0, i32 3
  %120 = load i32, ptr %119, align 4, !tbaa !17
  %121 = call ptr @__idxmalloc(i32 noundef %120, ptr noundef @.str)
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.controldef, ptr %122, i32 0, i32 11
  %124 = getelementptr inbounds %struct.workspacedef, ptr %123, i32 0, i32 3
  store ptr %121, ptr %124, align 8, !tbaa !19
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.controldef, ptr %125, i32 0, i32 11
  %127 = getelementptr inbounds %struct.workspacedef, ptr %126, i32 0, i32 4
  store ptr null, ptr %127, align 8, !tbaa !20
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.controldef, ptr %128, i32 0, i32 11
  %130 = getelementptr inbounds %struct.workspacedef, ptr %129, i32 0, i32 3
  %131 = load ptr, ptr %130, align 8, !tbaa !19
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.controldef, ptr %132, i32 0, i32 11
  %134 = getelementptr inbounds %struct.workspacedef, ptr %133, i32 0, i32 6
  store ptr %131, ptr %134, align 8, !tbaa !21
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.graphdef, ptr %135, i32 0, i32 2
  %137 = load i32, ptr %136, align 8, !tbaa !22
  %138 = add nsw i32 %137, 1
  %139 = mul nsw i32 5, %138
  %140 = load i32, ptr %6, align 4, !tbaa !9
  %141 = add nsw i32 %140, 1
  %142 = mul nsw i32 4, %141
  %143 = add nsw i32 %139, %142
  %144 = sext i32 %143 to i64
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.graphdef, ptr %145, i32 0, i32 24
  %147 = load i32, ptr %146, align 8, !tbaa !24
  %148 = mul nsw i32 2, %147
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.graphdef, ptr %149, i32 0, i32 2
  %151 = load i32, ptr %150, align 8, !tbaa !22
  %152 = mul nsw i32 %148, %151
  %153 = sext i32 %152 to i64
  %154 = mul i64 %153, 6
  %155 = add i64 %144, %154
  %156 = load ptr, ptr %5, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.graphdef, ptr %156, i32 0, i32 24
  %158 = load i32, ptr %157, align 8, !tbaa !24
  %159 = mul nsw i32 2, %158
  %160 = mul nsw i32 %159, 1001
  %161 = sext i32 %160 to i64
  %162 = mul i64 %161, 2
  %163 = add i64 %155, %162
  %164 = add i64 %163, 20
  %165 = trunc i64 %164 to i32
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.controldef, ptr %166, i32 0, i32 11
  %168 = getelementptr inbounds %struct.workspacedef, ptr %167, i32 0, i32 1
  store i32 %165, ptr %168, align 8, !tbaa !23
  br label %169

169:                                              ; preds = %117, %68
  br label %170

170:                                              ; preds = %169, %14
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.controldef, ptr %171, i32 0, i32 11
  %173 = getelementptr inbounds %struct.workspacedef, ptr %172, i32 0, i32 1
  %174 = load i32, ptr %173, align 8, !tbaa !23
  %175 = add nsw i32 %174, 2047
  store i32 %175, ptr %173, align 8, !tbaa !23
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.controldef, ptr %176, i32 0, i32 11
  %178 = getelementptr inbounds %struct.workspacedef, ptr %177, i32 0, i32 1
  %179 = load i32, ptr %178, align 8, !tbaa !23
  %180 = call ptr @__idxmalloc(i32 noundef %179, ptr noundef @.str.3)
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.controldef, ptr %181, i32 0, i32 11
  %183 = getelementptr inbounds %struct.workspacedef, ptr %182, i32 0, i32 0
  store ptr %180, ptr %183, align 8, !tbaa !25
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.controldef, ptr %184, i32 0, i32 11
  %186 = getelementptr inbounds %struct.workspacedef, ptr %185, i32 0, i32 2
  store i32 0, ptr %186, align 4, !tbaa !26
  ret void
}

declare ptr @__GKmalloc(i32 noundef, ptr noundef) #1

declare ptr @__idxmalloc(i32 noundef, ptr noundef) #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 = { "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" }

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 96}
!12 = !{!"controldef", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !13, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !14, i64 48, !15, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !15, i64 224}
!13 = !{!"float", !7, i64 0}
!14 = !{!"workspacedef", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !6, i64 48}
!15 = !{!"double", !7, i64 0}
!16 = !{!12, !10, i64 28}
!17 = !{!18, !10, i64 20}
!18 = !{!"graphdef", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !6, i64 96, !6, i64 104, !10, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!19 = !{!12, !6, i64 64}
!20 = !{!12, !6, i64 72}
!21 = !{!12, !6, i64 88}
!22 = !{!18, !10, i64 16}
!23 = !{!12, !10, i64 56}
!24 = !{!18, !10, i64 176}
!25 = !{!12, !6, i64 48}
!26 = !{!12, !10, i64 60}


; 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 [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @__AllocateWorkSpace(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr null, ptr %4, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 28
  %6 = load i32, ptr %5, align 4, !tbaa !14
  switch i32 %6, label %39 [
    i32 2, label %7
    i32 6, label %22
  ]

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %1, i64 20
  %9 = load i32, ptr %8, align 4, !tbaa !15
  %10 = shl i32 %9, 3
  %11 = tail call ptr @__GKmalloc(i32 noundef %10, ptr noundef nonnull @.str) #2
  %12 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %11, ptr %12, align 8, !tbaa !17
  %13 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr null, ptr %13, align 8, !tbaa !18
  %14 = getelementptr inbounds i8, ptr %0, i64 88
  store ptr %11, ptr %14, align 8, !tbaa !19
  %15 = mul nsw i32 %2, %2
  %16 = tail call ptr @__idxmalloc(i32 noundef %15, ptr noundef nonnull @.str.1) #2
  store ptr %16, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %1, i64 16
  %18 = load i32, ptr %17, align 8, !tbaa !20
  %19 = mul i32 %2, 5
  %reass.mul = mul i32 %18, 9
  %20 = add i32 %19, 28
  %21 = add i32 %20, %reass.mul
  br label %56

22:                                               ; preds = %3
  %23 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr null, ptr %23, align 8, !tbaa !17
  %24 = getelementptr inbounds i8, ptr %1, i64 20
  %25 = load i32, ptr %24, align 4, !tbaa !15
  %26 = shl i32 %25, 4
  %27 = tail call ptr @__GKmalloc(i32 noundef %26, ptr noundef nonnull @.str.2) #2
  %28 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr %27, ptr %28, align 8, !tbaa !18
  %29 = getelementptr inbounds i8, ptr %0, i64 88
  store ptr %27, ptr %29, align 8, !tbaa !19
  %30 = mul nsw i32 %2, %2
  %31 = tail call ptr @__idxmalloc(i32 noundef %30, ptr noundef nonnull @.str.1) #2
  store ptr %31, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %1, i64 16
  %33 = load i32, ptr %32, align 8, !tbaa !20
  %34 = add i32 %33, %2
  %35 = mul i32 %34, 3
  %36 = mul i32 %33, 6
  %37 = add i32 %36, 26
  %38 = add i32 %37, %35
  br label %56

39:                                               ; preds = %3
  %40 = getelementptr inbounds i8, ptr %1, i64 20
  %41 = load i32, ptr %40, align 4, !tbaa !15
  %42 = tail call ptr @__idxmalloc(i32 noundef %41, ptr noundef nonnull @.str) #2
  %43 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %42, ptr %43, align 8, !tbaa !17
  %44 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr null, ptr %44, align 8, !tbaa !18
  %45 = getelementptr inbounds i8, ptr %0, i64 88
  store ptr %42, ptr %45, align 8, !tbaa !19
  %46 = getelementptr inbounds i8, ptr %1, i64 16
  %47 = load i32, ptr %46, align 8, !tbaa !20
  %48 = mul i32 %47, 5
  %49 = shl i32 %2, 2
  %50 = getelementptr inbounds i8, ptr %1, i64 176
  %51 = load i32, ptr %50, align 8, !tbaa !21
  %52 = mul i32 %47, 12
  %reass.add = add i32 %52, 4004
  %reass.mul41 = mul i32 %reass.add, %51
  %53 = add i32 %49, 29
  %54 = add i32 %53, %48
  %55 = add i32 %54, %reass.mul41
  br label %56

56:                                               ; preds = %22, %39, %7
  %57 = phi i32 [ %38, %22 ], [ %55, %39 ], [ %21, %7 ]
  %58 = getelementptr inbounds i8, ptr %0, i64 48
  %59 = getelementptr inbounds i8, ptr %0, i64 56
  %60 = add nsw i32 %57, 2047
  store i32 %60, ptr %59, align 8, !tbaa !22
  %61 = tail call ptr @__idxmalloc(i32 noundef %60, ptr noundef nonnull @.str.3) #2
  store ptr %61, ptr %58, align 8, !tbaa !23
  %62 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 0, ptr %62, align 4, !tbaa !24
  ret void
}

declare ptr @__GKmalloc(i32 noundef, ptr noundef) local_unnamed_addr #1

declare ptr @__idxmalloc(i32 noundef, ptr noundef) local_unnamed_addr #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 = { "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, !12, i64 96}
!6 = !{!"controldef", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !11, i64 48, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"workspacedef", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16, !12, i64 24, !7, i64 32, !12, i64 40, !12, i64 48}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!6, !7, i64 28}
!15 = !{!16, !7, i64 20}
!16 = !{!"graphdef", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !7, i64 88, !7, i64 92, !12, i64 96, !12, i64 104, !7, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !7, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208}
!17 = !{!6, !12, i64 64}
!18 = !{!6, !12, i64 72}
!19 = !{!6, !12, i64 88}
!20 = !{!16, !7, i64 16}
!21 = !{!16, !7, i64 176}
!22 = !{!6, !7, i64 56}
!23 = !{!6, !12, i64 48}
!24 = !{!6, !7, i64 60}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass