; LLVM IR from buzz-lang/Buzz :: src/buzz (buzzoutmsg)

; 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.buzzvm_s = type { ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, ptr, ptr, ptr, ptr, i32, i32, ptr, i16, ptr, i32 }
%struct.buzzoutmsg_queue_s = type { [6 x ptr], ptr }
%struct.buzzdarray_s = type { ptr, i64, i32, i32, ptr }
%struct.buzzoutmsg_swarm_s = type { i32, ptr, i16 }

; 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: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @buzzoutmsg_queue_append_swarm_joinleave(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i16, align 2
  %7 = alloca ptr, align 8
  %8 = alloca i16, align 2
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i16 %2, ptr %6, align 2, !tbaa !11
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.buzzvm_s, ptr %9, i32 0, i32 17
  %11 = load ptr, ptr %10, align 8, !tbaa !13
  %12 = getelementptr inbounds %struct.buzzoutmsg_queue_s, ptr %11, i32 0, i32 0
  %13 = getelementptr inbounds [6 x ptr], ptr %12, i64 0, i64 1
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.buzzdarray_s, ptr %14, i32 0, i32 1
  %16 = load i64, ptr %15, align 8, !tbaa !15
  %17 = icmp eq i64 %16, 0
  br i1 %17, label %127, label %18

18:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.buzzvm_s, ptr %19, i32 0, i32 17
  %21 = load ptr, ptr %20, align 8, !tbaa !13
  %22 = getelementptr inbounds %struct.buzzoutmsg_queue_s, ptr %21, i32 0, i32 0
  %23 = getelementptr inbounds [6 x ptr], ptr %22, i64 0, i64 1
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.buzzdarray_s, ptr %24, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !18
  %27 = getelementptr inbounds ptr, ptr %26, i64 0
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %28, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #4
  store i16 0, ptr %8, align 2, !tbaa !11
  br label %29

29:                                               ; preds = %51, %18
  %30 = load i16, ptr %8, align 2, !tbaa !11
  %31 = zext i16 %30 to i32
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %32, i32 0, i32 2
  %34 = load i16, ptr %33, align 8, !tbaa !19
  %35 = zext i16 %34 to i32
  %36 = icmp slt i32 %31, %35
  br i1 %36, label %37, label %49

37:                                               ; preds = %29
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %38, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !19
  %41 = load i16, ptr %8, align 2, !tbaa !11
  %42 = zext i16 %41 to i64
  %43 = getelementptr inbounds i16, ptr %40, i64 %42
  %44 = load i16, ptr %43, align 2, !tbaa !11
  %45 = zext i16 %44 to i32
  %46 = load i16, ptr %6, align 2, !tbaa !11
  %47 = zext i16 %46 to i32
  %48 = icmp ne i32 %45, %47
  br label %49

49:                                               ; preds = %37, %29
  %50 = phi i1 [ false, %29 ], [ %48, %37 ]
  br i1 %50, label %51, label %54

51:                                               ; preds = %49
  %52 = load i16, ptr %8, align 2, !tbaa !11
  %53 = add i16 %52, 1
  store i16 %53, ptr %8, align 2, !tbaa !11
  br label %29, !llvm.loop !20

54:                                               ; preds = %49
  %55 = load i16, ptr %8, align 2, !tbaa !11
  %56 = zext i16 %55 to i32
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %57, i32 0, i32 2
  %59 = load i16, ptr %58, align 8, !tbaa !19
  %60 = zext i16 %59 to i32
  %61 = icmp slt i32 %56, %60
  br i1 %61, label %62, label %95

62:                                               ; preds = %54
  %63 = load i32, ptr %5, align 4, !tbaa !9
  %64 = icmp eq i32 %63, 5
  br i1 %64, label %65, label %94

65:                                               ; preds = %62
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %66, i32 0, i32 2
  %68 = load i16, ptr %67, align 8, !tbaa !19
  %69 = add i16 %68, -1
  store i16 %69, ptr %67, align 8, !tbaa !19
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %70, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8, !tbaa !19
  %73 = load i16, ptr %8, align 2, !tbaa !11
  %74 = zext i16 %73 to i32
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds i16, ptr %72, i64 %75
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %77, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8, !tbaa !19
  %80 = load i16, ptr %8, align 2, !tbaa !11
  %81 = zext i16 %80 to i32
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds i16, ptr %79, i64 %82
  %84 = getelementptr inbounds i16, ptr %83, i64 1
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %85, i32 0, i32 2
  %87 = load i16, ptr %86, align 8, !tbaa !19
  %88 = zext i16 %87 to i32
  %89 = load i16, ptr %8, align 2, !tbaa !11
  %90 = zext i16 %89 to i32
  %91 = sub nsw i32 %88, %90
  %92 = sext i32 %91 to i64
  %93 = mul i64 %92, 2
  call void @llvm.memmove.p0.p0.i64(ptr align 2 %76, ptr align 2 %84, i64 %93, i1 false)
  br label %94

94:                                               ; preds = %65, %62
  br label %126

95:                                               ; preds = %54
  %96 = load i32, ptr %5, align 4, !tbaa !9
  %97 = icmp eq i32 %96, 4
  br i1 %97, label %98, label %125

98:                                               ; preds = %95
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %99, i32 0, i32 2
  %101 = load i16, ptr %100, align 8, !tbaa !19
  %102 = add i16 %101, 1
  store i16 %102, ptr %100, align 8, !tbaa !19
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %103, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8, !tbaa !19
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %106, i32 0, i32 2
  %108 = load i16, ptr %107, align 8, !tbaa !19
  %109 = zext i16 %108 to i64
  %110 = mul i64 %109, 2
  %111 = call ptr @realloc(ptr noundef %105, i64 noundef %110) #5
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %112, i32 0, i32 1
  store ptr %111, ptr %113, align 8, !tbaa !19
  %114 = load i16, ptr %6, align 2, !tbaa !11
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %115, i32 0, i32 1
  %117 = load ptr, ptr %116, align 8, !tbaa !19
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.buzzoutmsg_swarm_s, ptr %118, i32 0, i32 2
  %120 = load i16, ptr %119, align 8, !tbaa !19
  %121 = zext i16 %120 to i32
  %122 = sub nsw i32 %121, 1
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds i16, ptr %117, i64 %123
  store i16 %114, ptr %124, align 2, !tbaa !11
  br label %125

125:                                              ; preds = %98, %95
  br label %126

126:                                              ; preds = %125, %94
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %165

127:                                              ; preds = %3
  %128 = load i32, ptr %5, align 4, !tbaa !9
  %129 = icmp eq i32 %128, 4
  br i1 %129, label %130, label %145

130:                                              ; preds = %127
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.buzzvm_s, ptr %131, i32 0, i32 17
  %133 = load ptr, ptr %132, align 8, !tbaa !13
  %134 = getelementptr inbounds %struct.buzzoutmsg_queue_s, ptr %133, i32 0, i32 0
  %135 = getelementptr inbounds [6 x ptr], ptr %134, i64 0, i64 4
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  %137 = load i16, ptr %6, align 2, !tbaa !11
  call void @append_to_swarm_queue(ptr noundef %136, i16 noundef zeroext %137, i32 noundef 4)
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.buzzvm_s, ptr %138, i32 0, i32 17
  %140 = load ptr, ptr %139, align 8, !tbaa !13
  %141 = getelementptr inbounds %struct.buzzoutmsg_queue_s, ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds [6 x ptr], ptr %141, i64 0, i64 5
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = load i16, ptr %6, align 2, !tbaa !11
  call void @remove_from_swarm_queue(ptr noundef %143, i16 noundef zeroext %144)
  br label %164

145:                                              ; preds = %127
  %146 = load i32, ptr %5, align 4, !tbaa !9
  %147 = icmp eq i32 %146, 5
  br i1 %147, label %148, label %163

148:                                              ; preds = %145
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.buzzvm_s, ptr %149, i32 0, i32 17
  %151 = load ptr, ptr %150, align 8, !tbaa !13
  %152 = getelementptr inbounds %struct.buzzoutmsg_queue_s, ptr %151, i32 0, i32 0
  %153 = getelementptr inbounds [6 x ptr], ptr %152, i64 0, i64 4
  %154 = load ptr, ptr %153, align 8, !tbaa !5
  %155 = load i16, ptr %6, align 2, !tbaa !11
  call void @remove_from_swarm_queue(ptr noundef %154, i16 noundef zeroext %155)
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.buzzvm_s, ptr %156, i32 0, i32 17
  %158 = load ptr, ptr %157, align 8, !tbaa !13
  %159 = getelementptr inbounds %struct.buzzoutmsg_queue_s, ptr %158, i32 0, i32 0
  %160 = getelementptr inbounds [6 x ptr], ptr %159, i64 0, i64 5
  %161 = load ptr, ptr %160, align 8, !tbaa !5
  %162 = load i16, ptr %6, align 2, !tbaa !11
  call void @append_to_swarm_queue(ptr noundef %161, i16 noundef zeroext %162, i32 noundef 5)
  br label %163

163:                                              ; preds = %148, %145
  br label %164

164:                                              ; preds = %163, %130
  br label %165

165:                                              ; preds = %164, %126
  ret void
}

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

; Function Attrs: nounwind uwtable
declare hidden void @append_to_swarm_queue(ptr noundef, i16 noundef zeroext, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @remove_from_swarm_queue(ptr noundef, i16 noundef zeroext) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(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 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
attributes #5 = { nounwind allocsize(1) }

!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, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !6, i64 128}
!14 = !{!"buzzvm_s", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !12, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !10, i64 152, !10, i64 156, !6, i64 160, !12, i64 168, !6, i64 176, !10, i64 184}
!15 = !{!16, !17, i64 8}
!16 = !{!"buzzdarray_s", !6, i64 0, !17, i64 8, !10, i64 16, !10, i64 20, !6, i64 24}
!17 = !{!"long", !7, i64 0}
!18 = !{!16, !6, i64 0}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; 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 nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @buzzoutmsg_queue_append_swarm_joinleave(ptr nocapture noundef readonly %0, i32 noundef %1, i16 noundef zeroext %2) local_unnamed_addr #1 {
  %4 = getelementptr inbounds i8, ptr %0, i64 128
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !12
  %8 = getelementptr inbounds i8, ptr %7, i64 8
  %9 = load i64, ptr %8, align 8, !tbaa !13
  %10 = icmp eq i64 %9, 0
  br i1 %10, label %43, label %11

11:                                               ; preds = %3
  %12 = load ptr, ptr %7, align 8, !tbaa !16
  %13 = load ptr, ptr %12, align 8, !tbaa !12
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  %15 = load i16, ptr %14, align 8, !tbaa !17
  %.not43 = icmp eq i16 %15, 0
  br i1 %.not43, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %11
  %16 = getelementptr inbounds i8, ptr %13, i64 8
  %17 = load ptr, ptr %16, align 8, !tbaa !17
  %wide.trip.count = zext i16 %15 to i64
  br label %19

18:                                               ; preds = %19
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.critedge, label %19, !llvm.loop !18

19:                                               ; preds = %.lr.ph, %18
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %18 ]
  %20 = getelementptr inbounds i16, ptr %17, i64 %indvars.iv
  %21 = load i16, ptr %20, align 2, !tbaa !20
  %.not = icmp eq i16 %21, %2
  br i1 %.not, label %22, label %18

22:                                               ; preds = %19
  %23 = icmp eq i32 %1, 5
  br i1 %23, label %24, label %56

24:                                               ; preds = %22
  %25 = getelementptr inbounds i16, ptr %17, i64 %indvars.iv
  %26 = add i16 %15, -1
  store i16 %26, ptr %14, align 8, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %25, i64 2
  %28 = zext i16 %26 to i64
  %29 = sub nsw i64 %28, %indvars.iv
  %30 = shl nsw i64 %29, 1
  tail call void @llvm.memmove.p0.p0.i64(ptr nonnull align 2 %25, ptr nonnull align 2 %27, i64 %30, i1 false)
  br label %56

.critedge:                                        ; preds = %18, %11
  %31 = icmp eq i32 %1, 4
  br i1 %31, label %32, label %56

32:                                               ; preds = %.critedge
  %33 = add i16 %15, 1
  store i16 %33, ptr %14, align 8, !tbaa !17
  %34 = getelementptr inbounds i8, ptr %13, i64 8
  %35 = load ptr, ptr %34, align 8, !tbaa !17
  %36 = zext i16 %33 to i64
  %37 = shl nuw nsw i64 %36, 1
  %38 = tail call ptr @realloc(ptr noundef %35, i64 noundef %37) #3
  store ptr %38, ptr %34, align 8, !tbaa !17
  %39 = load i16, ptr %14, align 8, !tbaa !17
  %40 = zext i16 %39 to i64
  %41 = getelementptr i16, ptr %38, i64 %40
  %42 = getelementptr i8, ptr %41, i64 -2
  store i16 %2, ptr %42, align 2, !tbaa !20
  br label %56

43:                                               ; preds = %3
  switch i32 %1, label %56 [
    i32 4, label %44
    i32 5, label %50
  ]

44:                                               ; preds = %43
  %45 = getelementptr inbounds i8, ptr %5, i64 32
  %46 = load ptr, ptr %45, align 8, !tbaa !12
  tail call void @append_to_swarm_queue(ptr noundef %46, i16 noundef zeroext %2, i32 noundef 4)
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 40
  %49 = load ptr, ptr %48, align 8, !tbaa !12
  tail call void @remove_from_swarm_queue(ptr noundef %49, i16 noundef zeroext %2)
  br label %56

50:                                               ; preds = %43
  %51 = getelementptr inbounds i8, ptr %5, i64 32
  %52 = load ptr, ptr %51, align 8, !tbaa !12
  tail call void @remove_from_swarm_queue(ptr noundef %52, i16 noundef zeroext %2)
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %53, i64 40
  %55 = load ptr, ptr %54, align 8, !tbaa !12
  tail call void @append_to_swarm_queue(ptr noundef %55, i16 noundef zeroext %2, i32 noundef 5)
  br label %56

56:                                               ; preds = %43, %24, %22, %32, %.critedge, %44, %50
  ret void
}

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

; Function Attrs: nounwind uwtable
declare hidden void @append_to_swarm_queue(ptr noundef, i16 noundef zeroext, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @remove_from_swarm_queue(ptr noundef, i16 noundef zeroext) local_unnamed_addr #1

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

!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 128}
!6 = !{!"buzzvm_s", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !11, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !10, i64 152, !10, i64 156, !7, i64 160, !11, i64 168, !7, i64 176, !10, i64 184}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"buzzdarray_s", !7, i64 0, !15, i64 8, !10, i64 16, !10, i64 20, !7, i64 24}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !7, i64 0}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!11, !11, i64 0}


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