; LLVM IR from theck01/offbrand_lib :: src/classes (obvector)

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

@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@__PRETTY_FUNCTION__.obvector_resize = external hidden unnamed_addr constant [43 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @obvector_resize(ptr noundef %0, i32 noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %9 = load i32, ptr %4, align 4, !tbaa !9
  %10 = icmp ult i32 %9, -1
  br i1 %10, label %11, label %12

11:                                               ; preds = %2
  br label %13

12:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 209, ptr noundef @__PRETTY_FUNCTION__.obvector_resize) #6
  unreachable

13:                                               ; preds = %11
  %14 = load i32, ptr %4, align 4, !tbaa !9
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.obvector_struct, ptr %15, i32 0, i32 3
  %17 = load i32, ptr %16, align 4, !tbaa !11
  %18 = icmp ult i32 %14, %17
  br i1 %18, label %19, label %20

19:                                               ; preds = %13
  store i32 1, ptr %8, align 4
  br label %96

20:                                               ; preds = %13
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.obvector_struct, ptr %21, i32 0, i32 3
  %23 = load i32, ptr %22, align 4, !tbaa !11
  %24 = zext i32 %23 to i64
  store i64 %24, ptr %6, align 8, !tbaa !13
  br label %25

25:                                               ; preds = %31, %20
  %26 = load i32, ptr %4, align 4, !tbaa !9
  %27 = add i32 %26, 1
  %28 = zext i32 %27 to i64
  %29 = load i64, ptr %6, align 8, !tbaa !13
  %30 = icmp ugt i64 %28, %29
  br i1 %30, label %31, label %34

31:                                               ; preds = %25
  %32 = load i64, ptr %6, align 8, !tbaa !13
  %33 = mul i64 %32, 2
  store i64 %33, ptr %6, align 8, !tbaa !13
  br label %25, !llvm.loop !15

34:                                               ; preds = %25
  %35 = load i64, ptr %6, align 8, !tbaa !13
  %36 = icmp ugt i64 %35, 4294967295
  br i1 %36, label %37, label %38

37:                                               ; preds = %34
  store i64 4294967295, ptr %6, align 8, !tbaa !13
  br label %38

38:                                               ; preds = %37, %34
  %39 = load i64, ptr %6, align 8, !tbaa !13
  %40 = mul i64 %39, 8
  %41 = call noalias ptr @malloc(i64 noundef %40) #7
  store ptr %41, ptr %7, align 8, !tbaa !5
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %45

44:                                               ; preds = %38
  br label %46

45:                                               ; preds = %38
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 220, ptr noundef @__PRETTY_FUNCTION__.obvector_resize) #6
  unreachable

46:                                               ; preds = %44
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %65, %46
  %48 = load i32, ptr %5, align 4, !tbaa !9
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.obvector_struct, ptr %49, i32 0, i32 3
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = icmp ult i32 %48, %51
  br i1 %52, label %53, label %68

53:                                               ; preds = %47
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.obvector_struct, ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !17
  %57 = load i32, ptr %5, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds ptr, ptr %56, i64 %58
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load i32, ptr %5, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds ptr, ptr %61, i64 %63
  store ptr %60, ptr %64, align 8, !tbaa !5
  br label %65

65:                                               ; preds = %53
  %66 = load i32, ptr %5, align 4, !tbaa !9
  %67 = add i32 %66, 1
  store i32 %67, ptr %5, align 4, !tbaa !9
  br label %47, !llvm.loop !18

68:                                               ; preds = %47
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.obvector_struct, ptr %69, i32 0, i32 3
  %71 = load i32, ptr %70, align 4, !tbaa !11
  store i32 %71, ptr %5, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %82, %68
  %73 = load i32, ptr %5, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = load i64, ptr %6, align 8, !tbaa !13
  %76 = icmp ult i64 %74, %75
  br i1 %76, label %77, label %85

77:                                               ; preds = %72
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = load i32, ptr %5, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = getelementptr inbounds ptr, ptr %78, i64 %80
  store ptr null, ptr %81, align 8, !tbaa !5
  br label %82

82:                                               ; preds = %77
  %83 = load i32, ptr %5, align 4, !tbaa !9
  %84 = add i32 %83, 1
  store i32 %84, ptr %5, align 4, !tbaa !9
  br label %72, !llvm.loop !19

85:                                               ; preds = %72
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.obvector_struct, ptr %86, i32 0, i32 1
  %88 = load ptr, ptr %87, align 8, !tbaa !17
  call void @free(ptr noundef %88) #5
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.obvector_struct, ptr %90, i32 0, i32 1
  store ptr %89, ptr %91, align 8, !tbaa !17
  %92 = load i64, ptr %6, align 8, !tbaa !13
  %93 = trunc i64 %92 to i32
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.obvector_struct, ptr %94, i32 0, i32 3
  store i32 %93, ptr %95, align 4, !tbaa !11
  store i32 1, ptr %8, align 4
  br label %96

96:                                               ; preds = %85, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"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, !10, i64 20}
!12 = !{!"obvector_struct", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!12, !6, i64 8}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}


; 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.1 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@__PRETTY_FUNCTION__.obvector_resize = external hidden unnamed_addr constant [43 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @obvector_resize(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %.not = icmp eq i32 %1, -1
  br i1 %.not, label %3, label %4

3:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 209, ptr noundef nonnull @__PRETTY_FUNCTION__.obvector_resize) #5
  unreachable

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 20
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = icmp ugt i32 %6, %1
  br i1 %7, label %58, label %8

8:                                                ; preds = %4
  %9 = zext i32 %6 to i64
  %10 = add nuw i32 %1, 1
  %11 = zext i32 %10 to i64
  br label %12

12:                                               ; preds = %12, %8
  %.027 = phi i64 [ %9, %8 ], [ %14, %12 ]
  %13 = icmp ult i64 %.027, %11
  %14 = shl nuw nsw i64 %.027, 1
  br i1 %13, label %12, label %15, !llvm.loop !11

15:                                               ; preds = %12
  %spec.store.select = tail call i64 @llvm.umin.i64(i64 %.027, i64 4294967295)
  %16 = shl nuw nsw i64 %spec.store.select, 3
  %17 = tail call noalias ptr @malloc(i64 noundef %16) #6
  %18 = ptrtoint ptr %17 to i64
  %.not33 = icmp eq ptr %17, null
  br i1 %.not33, label %33, label %.preheader34

.preheader34:                                     ; preds = %15
  %.not38 = icmp eq i32 %6, 0
  br i1 %.not38, label %.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader34
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  %20 = load ptr, ptr %19, align 8, !tbaa !13
  %min.iters.check = icmp ult i32 %6, 6
  %21 = ptrtoint ptr %20 to i64
  %22 = sub i64 %18, %21
  %diff.check = icmp ult i64 %22, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %9, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %23 = getelementptr inbounds ptr, ptr %20, i64 %indvars.iv.prol
  %24 = load ptr, ptr %23, align 8, !tbaa !14
  %25 = getelementptr inbounds ptr, ptr %17, i64 %indvars.iv.prol
  store ptr %24, ptr %25, align 8, !tbaa !14
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !15

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %26 = sub nsw i64 %indvars.iv.ph, %9
  %27 = icmp ugt i64 %26, -4
  br i1 %27, label %.preheader, label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %9, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %28 = getelementptr inbounds ptr, ptr %20, i64 %index
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  %wide.load = load <2 x ptr>, ptr %28, align 8, !tbaa !14
  %wide.load40 = load <2 x ptr>, ptr %29, align 8, !tbaa !14
  %30 = getelementptr inbounds ptr, ptr %17, i64 %index
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  store <2 x ptr> %wide.load, ptr %30, align 8, !tbaa !14
  store <2 x ptr> %wide.load40, ptr %31, align 8, !tbaa !14
  %index.next = add nuw i64 %index, 4
  %32 = icmp eq i64 %index.next, %n.vec
  br i1 %32, label %middle.block, label %vector.body, !llvm.loop !17

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %9
  br i1 %cmp.n, label %.preheader, label %scalar.ph.preheader

33:                                               ; preds = %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 220, ptr noundef nonnull @__PRETTY_FUNCTION__.obvector_resize) #5
  unreachable

.preheader:                                       ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %.preheader34
  %34 = icmp ugt i64 %spec.store.select, %9
  br i1 %34, label %.lr.ph37.preheader, label %._crit_edge

.lr.ph37.preheader:                               ; preds = %.preheader
  %35 = sub nsw i64 %spec.store.select, %9
  %min.iters.check43 = icmp ult i64 %35, 4
  br i1 %min.iters.check43, label %.lr.ph37.preheader55, label %vector.ph44

.lr.ph37.preheader55:                             ; preds = %middle.block41, %.lr.ph37.preheader
  %.ph = phi i64 [ %9, %.lr.ph37.preheader ], [ %ind.end, %middle.block41 ]
  %.136.ph = phi i32 [ %6, %.lr.ph37.preheader ], [ %ind.end48, %middle.block41 ]
  br label %.lr.ph37

vector.ph44:                                      ; preds = %.lr.ph37.preheader
  %n.vec46 = and i64 %35, -4
  %ind.end = add nsw i64 %n.vec46, %9
  %.cast = trunc i64 %n.vec46 to i32
  %ind.end48 = add i32 %6, %.cast
  %invariant.gep = getelementptr ptr, ptr %17, i64 %9
  br label %vector.body50

vector.body50:                                    ; preds = %vector.body50, %vector.ph44
  %index51 = phi i64 [ 0, %vector.ph44 ], [ %index.next52, %vector.body50 ]
  %gep = getelementptr ptr, ptr %invariant.gep, i64 %index51
  %36 = getelementptr inbounds i8, ptr %gep, i64 16
  store <2 x ptr> zeroinitializer, ptr %gep, align 8, !tbaa !14
  store <2 x ptr> zeroinitializer, ptr %36, align 8, !tbaa !14
  %index.next52 = add nuw i64 %index51, 4
  %37 = icmp eq i64 %index.next52, %n.vec46
  br i1 %37, label %middle.block41, label %vector.body50, !llvm.loop !20

middle.block41:                                   ; preds = %vector.body50
  %cmp.n53 = icmp eq i64 %35, %n.vec46
  br i1 %cmp.n53, label %._crit_edge, label %.lr.ph37.preheader55

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %38 = getelementptr inbounds ptr, ptr %20, i64 %indvars.iv
  %39 = load ptr, ptr %38, align 8, !tbaa !14
  %40 = getelementptr inbounds ptr, ptr %17, i64 %indvars.iv
  store ptr %39, ptr %40, align 8, !tbaa !14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %41 = getelementptr inbounds ptr, ptr %20, i64 %indvars.iv.next
  %42 = load ptr, ptr %41, align 8, !tbaa !14
  %43 = getelementptr inbounds ptr, ptr %17, i64 %indvars.iv.next
  store ptr %42, ptr %43, align 8, !tbaa !14
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %44 = getelementptr inbounds ptr, ptr %20, i64 %indvars.iv.next.1
  %45 = load ptr, ptr %44, align 8, !tbaa !14
  %46 = getelementptr inbounds ptr, ptr %17, i64 %indvars.iv.next.1
  store ptr %45, ptr %46, align 8, !tbaa !14
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %47 = getelementptr inbounds ptr, ptr %20, i64 %indvars.iv.next.2
  %48 = load ptr, ptr %47, align 8, !tbaa !14
  %49 = getelementptr inbounds ptr, ptr %17, i64 %indvars.iv.next.2
  store ptr %48, ptr %49, align 8, !tbaa !14
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %9
  br i1 %exitcond.not.3, label %.preheader, label %scalar.ph, !llvm.loop !21

.lr.ph37:                                         ; preds = %.lr.ph37.preheader55, %.lr.ph37
  %50 = phi i64 [ %53, %.lr.ph37 ], [ %.ph, %.lr.ph37.preheader55 ]
  %.136 = phi i32 [ %52, %.lr.ph37 ], [ %.136.ph, %.lr.ph37.preheader55 ]
  %51 = getelementptr inbounds ptr, ptr %17, i64 %50
  store ptr null, ptr %51, align 8, !tbaa !14
  %52 = add nuw i32 %.136, 1
  %53 = zext i32 %52 to i64
  %54 = icmp ugt i64 %spec.store.select, %53
  br i1 %54, label %.lr.ph37, label %._crit_edge, !llvm.loop !22

._crit_edge:                                      ; preds = %.lr.ph37, %middle.block41, %.preheader
  %55 = getelementptr inbounds i8, ptr %0, i64 8
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  tail call void @free(ptr noundef %56) #7
  store ptr %17, ptr %55, align 8, !tbaa !13
  %57 = trunc nuw i64 %spec.store.select to i32
  store i32 %57, ptr %5, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %4, %._crit_edge
  ret void
}

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #4

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 = { 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 #2 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn nounwind }
attributes #6 = { nounwind allocsize(0) }
attributes #7 = { 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 20}
!6 = !{!"obvector_struct", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!6, !7, i64 8}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}
!17 = distinct !{!17, !12, !18, !19}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !12, !18, !19}
!21 = distinct !{!21, !12, !18}
!22 = distinct !{!22, !12, !19, !18}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass