; LLVM IR from ARM-software/Arm-2D :: Library/Source (arm_2d)

; 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.arm_2d_location_t = type { i16, i16 }
%struct.arm_2d_region_t = type { %union.anon.34, %union.anon.35 }
%union.anon.34 = type { %struct.arm_2d_location_t }
%union.anon.35 = type { %struct.arm_2d_size_t }
%struct.arm_2d_size_t = type { i16, i16 }

@.str.7 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__.arm_2d_region_get_minimal_enclosure = external hidden unnamed_addr constant [122 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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 uwtable
define dso_local ptr @arm_2d_region_get_minimal_enclosure(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i16, align 2
  %8 = alloca i16, align 2
  %9 = alloca i16, align 2
  %10 = alloca i16, align 2
  %11 = alloca i16, align 2
  %12 = alloca i16, align 2
  %13 = alloca i16, align 2
  %14 = alloca i16, align 2
  %15 = alloca %struct.arm_2d_location_t, align 2
  %16 = alloca %struct.arm_2d_location_t, align 2
  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
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = icmp ne ptr null, %17
  br i1 %18, label %19, label %20

19:                                               ; preds = %3
  br label %21

20:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.7, i32 noundef 196, ptr noundef @__PRETTY_FUNCTION__.arm_2d_region_get_minimal_enclosure) #4
  unreachable

21:                                               ; preds = %19
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = icmp ne ptr null, %22
  br i1 %23, label %24, label %25

24:                                               ; preds = %21
  br label %26

25:                                               ; preds = %21
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.7, i32 noundef 197, ptr noundef @__PRETTY_FUNCTION__.arm_2d_region_get_minimal_enclosure) #4
  unreachable

26:                                               ; preds = %24
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = icmp ne ptr null, %27
  br i1 %28, label %29, label %30

29:                                               ; preds = %26
  br label %31

30:                                               ; preds = %26
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.7, i32 noundef 198, ptr noundef @__PRETTY_FUNCTION__.arm_2d_region_get_minimal_enclosure) #4
  unreachable

31:                                               ; preds = %29
  br label %32

32:                                               ; preds = %31
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.arm_2d_region_t, ptr %33, i32 0, i32 1
  %35 = getelementptr inbounds %struct.arm_2d_size_t, ptr %34, i32 0, i32 0
  %36 = load i16, ptr %35, align 2, !tbaa !9
  %37 = sext i16 %36 to i32
  %38 = icmp sle i32 %37, 0
  br i1 %38, label %46, label %39

39:                                               ; preds = %32
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.arm_2d_region_t, ptr %40, i32 0, i32 1
  %42 = getelementptr inbounds %struct.arm_2d_size_t, ptr %41, i32 0, i32 1
  %43 = load i16, ptr %42, align 2, !tbaa !9
  %44 = sext i16 %43 to i32
  %45 = icmp sle i32 %44, 0
  br i1 %45, label %46, label %49

46:                                               ; preds = %39, %32
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %47, ptr align 2 %48, i64 8, i1 false), !tbaa.struct !10
  br label %210

49:                                               ; preds = %39
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.arm_2d_region_t, ptr %50, i32 0, i32 1
  %52 = getelementptr inbounds %struct.arm_2d_size_t, ptr %51, i32 0, i32 0
  %53 = load i16, ptr %52, align 2, !tbaa !9
  %54 = sext i16 %53 to i32
  %55 = icmp sle i32 %54, 0
  br i1 %55, label %63, label %56

56:                                               ; preds = %49
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.arm_2d_region_t, ptr %57, i32 0, i32 1
  %59 = getelementptr inbounds %struct.arm_2d_size_t, ptr %58, i32 0, i32 1
  %60 = load i16, ptr %59, align 2, !tbaa !9
  %61 = sext i16 %60 to i32
  %62 = icmp sle i32 %61, 0
  br i1 %62, label %63, label %66

63:                                               ; preds = %56, %49
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %64, ptr align 2 %65, i64 8, i1 false), !tbaa.struct !10
  br label %210

66:                                               ; preds = %56
  br label %67

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #5
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.arm_2d_region_t, ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds %struct.arm_2d_location_t, ptr %69, i32 0, i32 0
  %71 = load i16, ptr %70, align 2, !tbaa !9
  store i16 %71, ptr %7, align 2, !tbaa !11
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.arm_2d_region_t, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds %struct.arm_2d_location_t, ptr %73, i32 0, i32 1
  %75 = load i16, ptr %74, align 2, !tbaa !9
  store i16 %75, ptr %8, align 2, !tbaa !11
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.arm_2d_region_t, ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds %struct.arm_2d_location_t, ptr %77, i32 0, i32 0
  %79 = load i16, ptr %78, align 2, !tbaa !9
  store i16 %79, ptr %11, align 2, !tbaa !11
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.arm_2d_region_t, ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds %struct.arm_2d_location_t, ptr %81, i32 0, i32 1
  %83 = load i16, ptr %82, align 2, !tbaa !9
  store i16 %83, ptr %12, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %84 = getelementptr inbounds %struct.arm_2d_location_t, ptr %15, i32 0, i32 0
  %85 = load i16, ptr %7, align 2, !tbaa !11
  %86 = sext i16 %85 to i32
  %87 = load i16, ptr %11, align 2, !tbaa !11
  %88 = sext i16 %87 to i32
  %89 = icmp slt i32 %86, %88
  br i1 %89, label %90, label %93

90:                                               ; preds = %67
  %91 = load i16, ptr %7, align 2, !tbaa !11
  %92 = sext i16 %91 to i32
  br label %96

93:                                               ; preds = %67
  %94 = load i16, ptr %11, align 2, !tbaa !11
  %95 = sext i16 %94 to i32
  br label %96

96:                                               ; preds = %93, %90
  %97 = phi i32 [ %92, %90 ], [ %95, %93 ]
  %98 = trunc i32 %97 to i16
  store i16 %98, ptr %84, align 2, !tbaa !13
  %99 = getelementptr inbounds %struct.arm_2d_location_t, ptr %15, i32 0, i32 1
  %100 = load i16, ptr %8, align 2, !tbaa !11
  %101 = sext i16 %100 to i32
  %102 = load i16, ptr %12, align 2, !tbaa !11
  %103 = sext i16 %102 to i32
  %104 = icmp slt i32 %101, %103
  br i1 %104, label %105, label %108

105:                                              ; preds = %96
  %106 = load i16, ptr %8, align 2, !tbaa !11
  %107 = sext i16 %106 to i32
  br label %111

108:                                              ; preds = %96
  %109 = load i16, ptr %12, align 2, !tbaa !11
  %110 = sext i16 %109 to i32
  br label %111

111:                                              ; preds = %108, %105
  %112 = phi i32 [ %107, %105 ], [ %110, %108 ]
  %113 = trunc i32 %112 to i16
  store i16 %113, ptr %99, align 2, !tbaa !15
  %114 = load i16, ptr %7, align 2, !tbaa !11
  %115 = sext i16 %114 to i32
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.arm_2d_region_t, ptr %116, i32 0, i32 1
  %118 = getelementptr inbounds %struct.arm_2d_size_t, ptr %117, i32 0, i32 0
  %119 = load i16, ptr %118, align 2, !tbaa !9
  %120 = sext i16 %119 to i32
  %121 = add nsw i32 %115, %120
  %122 = sub nsw i32 %121, 1
  %123 = trunc i32 %122 to i16
  store i16 %123, ptr %9, align 2, !tbaa !11
  %124 = load i16, ptr %8, align 2, !tbaa !11
  %125 = sext i16 %124 to i32
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.arm_2d_region_t, ptr %126, i32 0, i32 1
  %128 = getelementptr inbounds %struct.arm_2d_size_t, ptr %127, i32 0, i32 1
  %129 = load i16, ptr %128, align 2, !tbaa !9
  %130 = sext i16 %129 to i32
  %131 = add nsw i32 %125, %130
  %132 = sub nsw i32 %131, 1
  %133 = trunc i32 %132 to i16
  store i16 %133, ptr %10, align 2, !tbaa !11
  %134 = load i16, ptr %11, align 2, !tbaa !11
  %135 = sext i16 %134 to i32
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.arm_2d_region_t, ptr %136, i32 0, i32 1
  %138 = getelementptr inbounds %struct.arm_2d_size_t, ptr %137, i32 0, i32 0
  %139 = load i16, ptr %138, align 2, !tbaa !9
  %140 = sext i16 %139 to i32
  %141 = add nsw i32 %135, %140
  %142 = sub nsw i32 %141, 1
  %143 = trunc i32 %142 to i16
  store i16 %143, ptr %13, align 2, !tbaa !11
  %144 = load i16, ptr %12, align 2, !tbaa !11
  %145 = sext i16 %144 to i32
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.arm_2d_region_t, ptr %146, i32 0, i32 1
  %148 = getelementptr inbounds %struct.arm_2d_size_t, ptr %147, i32 0, i32 1
  %149 = load i16, ptr %148, align 2, !tbaa !9
  %150 = sext i16 %149 to i32
  %151 = add nsw i32 %145, %150
  %152 = sub nsw i32 %151, 1
  %153 = trunc i32 %152 to i16
  store i16 %153, ptr %14, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %154 = getelementptr inbounds %struct.arm_2d_location_t, ptr %16, i32 0, i32 0
  %155 = load i16, ptr %9, align 2, !tbaa !11
  %156 = sext i16 %155 to i32
  %157 = load i16, ptr %13, align 2, !tbaa !11
  %158 = sext i16 %157 to i32
  %159 = icmp sgt i32 %156, %158
  br i1 %159, label %160, label %163

160:                                              ; preds = %111
  %161 = load i16, ptr %9, align 2, !tbaa !11
  %162 = sext i16 %161 to i32
  br label %166

163:                                              ; preds = %111
  %164 = load i16, ptr %13, align 2, !tbaa !11
  %165 = sext i16 %164 to i32
  br label %166

166:                                              ; preds = %163, %160
  %167 = phi i32 [ %162, %160 ], [ %165, %163 ]
  %168 = trunc i32 %167 to i16
  store i16 %168, ptr %154, align 2, !tbaa !13
  %169 = getelementptr inbounds %struct.arm_2d_location_t, ptr %16, i32 0, i32 1
  %170 = load i16, ptr %10, align 2, !tbaa !11
  %171 = sext i16 %170 to i32
  %172 = load i16, ptr %14, align 2, !tbaa !11
  %173 = sext i16 %172 to i32
  %174 = icmp sgt i32 %171, %173
  br i1 %174, label %175, label %178

175:                                              ; preds = %166
  %176 = load i16, ptr %10, align 2, !tbaa !11
  %177 = sext i16 %176 to i32
  br label %181

178:                                              ; preds = %166
  %179 = load i16, ptr %14, align 2, !tbaa !11
  %180 = sext i16 %179 to i32
  br label %181

181:                                              ; preds = %178, %175
  %182 = phi i32 [ %177, %175 ], [ %180, %178 ]
  %183 = trunc i32 %182 to i16
  store i16 %183, ptr %169, align 2, !tbaa !15
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.arm_2d_region_t, ptr %184, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %185, ptr align 2 %15, i64 4, i1 false), !tbaa.struct !16
  %186 = getelementptr inbounds %struct.arm_2d_location_t, ptr %16, i32 0, i32 0
  %187 = load i16, ptr %186, align 2, !tbaa !13
  %188 = sext i16 %187 to i32
  %189 = getelementptr inbounds %struct.arm_2d_location_t, ptr %15, i32 0, i32 0
  %190 = load i16, ptr %189, align 2, !tbaa !13
  %191 = sext i16 %190 to i32
  %192 = sub nsw i32 %188, %191
  %193 = add nsw i32 %192, 1
  %194 = trunc i32 %193 to i16
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.arm_2d_region_t, ptr %195, i32 0, i32 1
  %197 = getelementptr inbounds %struct.arm_2d_size_t, ptr %196, i32 0, i32 0
  store i16 %194, ptr %197, align 2, !tbaa !9
  %198 = getelementptr inbounds %struct.arm_2d_location_t, ptr %16, i32 0, i32 1
  %199 = load i16, ptr %198, align 2, !tbaa !15
  %200 = sext i16 %199 to i32
  %201 = getelementptr inbounds %struct.arm_2d_location_t, ptr %15, i32 0, i32 1
  %202 = load i16, ptr %201, align 2, !tbaa !15
  %203 = sext i16 %202 to i32
  %204 = sub nsw i32 %200, %203
  %205 = add nsw i32 %204, 1
  %206 = trunc i32 %205 to i16
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.arm_2d_region_t, ptr %207, i32 0, i32 1
  %209 = getelementptr inbounds %struct.arm_2d_size_t, ptr %208, i32 0, i32 1
  store i16 %206, ptr %209, align 2, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #5
  br label %210

210:                                              ; preds = %181, %63, %46
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  ret ptr %211
}

attributes #0 = { noreturn 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { noreturn nounwind }
attributes #5 = { 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 = !{!7, !7, i64 0}
!10 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"arm_2d_location_t", !12, i64 0, !12, i64 2}
!15 = !{!14, !12, i64 2}
!16 = !{i64 0, i64 2, !11, i64 2, i64 2, !11}


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

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local noundef nonnull ptr @arm_2d_region_get_minimal_enclosure(ptr nocapture noundef nonnull readonly %0, ptr nocapture noundef nonnull readonly %1, ptr noundef nonnull returned writeonly %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 4
  %5 = load i16, ptr %4, align 2, !tbaa !5
  %6 = icmp slt i16 %5, 1
  br i1 %6, label %11, label %7

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %0, i64 6
  %9 = load i16, ptr %8, align 2, !tbaa !5
  %10 = icmp slt i16 %9, 1
  br i1 %10, label %11, label %13

11:                                               ; preds = %7, %3
  %12 = load i64, ptr %1, align 2
  store i64 %12, ptr %2, align 2
  br label %39

13:                                               ; preds = %7
  %14 = getelementptr inbounds i8, ptr %1, i64 4
  %15 = load i16, ptr %14, align 2, !tbaa !5
  %16 = icmp slt i16 %15, 1
  br i1 %16, label %21, label %17

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %1, i64 6
  %19 = load i16, ptr %18, align 2, !tbaa !5
  %20 = icmp slt i16 %19, 1
  br i1 %20, label %21, label %23

21:                                               ; preds = %17, %13
  %22 = load i64, ptr %0, align 2
  store i64 %22, ptr %2, align 2
  br label %39

23:                                               ; preds = %17
  %24 = insertelement <2 x i16> poison, i16 %5, i64 0
  %25 = insertelement <2 x i16> %24, i16 %9, i64 1
  %26 = add nsw <2 x i16> %25, <i16 -1, i16 -1>
  %27 = insertelement <2 x i16> poison, i16 %15, i64 0
  %28 = insertelement <2 x i16> %27, i16 %19, i64 1
  %29 = add nsw <2 x i16> %28, <i16 -1, i16 -1>
  %30 = getelementptr inbounds i8, ptr %2, i64 4
  %31 = load <2 x i16>, ptr %0, align 2, !tbaa !5
  %32 = load <2 x i16>, ptr %1, align 2, !tbaa !5
  %33 = tail call <2 x i16> @llvm.smin.v2i16(<2 x i16> %31, <2 x i16> %32)
  %34 = add <2 x i16> %26, %31
  %35 = add <2 x i16> %29, %32
  %36 = tail call <2 x i16> @llvm.smax.v2i16(<2 x i16> %34, <2 x i16> %35)
  store <2 x i16> %33, ptr %2, align 2, !tbaa !8
  %37 = sub <2 x i16> %36, %33
  %38 = add <2 x i16> %37, <i16 1, i16 1>
  store <2 x i16> %38, ptr %30, align 2, !tbaa !5
  br label %39

39:                                               ; preds = %23, %21, %11
  ret ptr %2
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i16> @llvm.smax.v2i16(<2 x i16>, <2 x i16>) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i16> @llvm.smin.v2i16(<2 x i16>, <2 x i16>) #1

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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 speculatable willreturn memory(none) }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"short", !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass