; LLVM IR from Water-Melon/Melon :: src (mln_lang_ast)

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

@.str.77 = external hidden unnamed_addr constant [6 x i8], align 1
@mln_lang_env = external hidden global { ptr, i64, i8, i8, i8, i8 }, align 8

; 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 uwtable
define dso_local i32 @mln_lang_ast_file_open(ptr noundef %0) #1 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca [1024 x i8], align 16
  %8 = alloca ptr, align 8
  %9 = alloca [1024 x i8], align 16
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.mln_string_t, ptr %13, i32 0, i32 1
  %15 = load i64, ptr %14, align 8, !tbaa !9
  %16 = icmp uge i64 %15, 1024
  br i1 %16, label %17, label %18

17:                                               ; preds = %1
  br label %22

18:                                               ; preds = %1
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.mln_string_t, ptr %19, i32 0, i32 1
  %21 = load i64, ptr %20, align 8, !tbaa !9
  br label %22

22:                                               ; preds = %18, %17
  %23 = phi i64 [ 1023, %17 ], [ %21, %18 ]
  store i64 %23, ptr %6, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1024, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %9) #6
  %24 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.mln_string_t, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !13
  %28 = load i64, ptr %6, align 8, !tbaa !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 1 %27, i64 %28, i1 false)
  %29 = load i64, ptr %6, align 8, !tbaa !12
  %30 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %29
  store i8 0, ptr %30, align 1, !tbaa !14
  %31 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %32 = load i8, ptr %31, align 16, !tbaa !14
  %33 = sext i8 %32 to i32
  %34 = icmp eq i32 %33, 47
  br i1 %34, label %35, label %38

35:                                               ; preds = %22
  %36 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %37 = call i32 (ptr, i32, ...) @open(ptr noundef %36, i32 noundef 0)
  store i32 %37, ptr %4, align 4, !tbaa !15
  br label %111

38:                                               ; preds = %22
  %39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %40 = call i32 @access(ptr noundef %39, i32 noundef 0) #6
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %45, label %42

42:                                               ; preds = %38
  %43 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %44 = call i32 (ptr, i32, ...) @open(ptr noundef %43, i32 noundef 0)
  store i32 %44, ptr %4, align 4, !tbaa !15
  br label %110

45:                                               ; preds = %38
  %46 = load ptr, ptr @mln_lang_env, align 8, !tbaa !13
  %47 = call ptr @getenv(ptr noundef %46) #6
  store ptr %47, ptr %8, align 8, !tbaa !5
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %98

49:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = call ptr @strchr(ptr noundef %50, i32 noundef 59) #7
  store ptr %51, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !15
  br label %52

52:                                               ; preds = %70, %49
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %75

55:                                               ; preds = %52
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  store i8 0, ptr %56, align 1, !tbaa !14
  %57 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %60 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %57, i64 noundef 1023, ptr noundef @.str.77, ptr noundef %58, ptr noundef %59) #6
  store i32 %60, ptr %5, align 4, !tbaa !15
  %61 = load i32, ptr %5, align 4, !tbaa !15
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %62
  store i8 0, ptr %63, align 1, !tbaa !14
  %64 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %65 = call i32 @access(ptr noundef %64, i32 noundef 0) #6
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %70, label %67

67:                                               ; preds = %55
  %68 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %69 = call i32 (ptr, i32, ...) @open(ptr noundef %68, i32 noundef 0)
  store i32 %69, ptr %4, align 4, !tbaa !15
  store i32 1, ptr %11, align 4, !tbaa !15
  br label %75

70:                                               ; preds = %55
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 1
  store ptr %72, ptr %8, align 8, !tbaa !5
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = call ptr @strchr(ptr noundef %73, i32 noundef 59) #7
  store ptr %74, ptr %10, align 8, !tbaa !5
  br label %52, !llvm.loop !17

75:                                               ; preds = %67, %52
  %76 = load i32, ptr %11, align 4, !tbaa !15
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %94, label %78

78:                                               ; preds = %75
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = load i8, ptr %79, align 1, !tbaa !14
  %81 = icmp ne i8 %80, 0
  br i1 %81, label %82, label %92

82:                                               ; preds = %78
  %83 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %86 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %83, i64 noundef 1023, ptr noundef @.str.77, ptr noundef %84, ptr noundef %85) #6
  store i32 %86, ptr %5, align 4, !tbaa !15
  %87 = load i32, ptr %5, align 4, !tbaa !15
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %88
  store i8 0, ptr %89, align 1, !tbaa !14
  %90 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %91 = call i32 (ptr, i32, ...) @open(ptr noundef %90, i32 noundef 0)
  store i32 %91, ptr %4, align 4, !tbaa !15
  br label %93

92:                                               ; preds = %78
  store i32 4, ptr %12, align 4
  br label %95

93:                                               ; preds = %82
  br label %94

94:                                               ; preds = %93, %75
  store i32 0, ptr %12, align 4
  br label %95

95:                                               ; preds = %94, %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %96 = load i32, ptr %12, align 4
  switch i32 %96, label %113 [
    i32 0, label %97
    i32 4, label %99
  ]

97:                                               ; preds = %95
  br label %109

98:                                               ; preds = %45
  br label %99

99:                                               ; preds = %98, %95
  %100 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %101 = call ptr @mln_path_melang_lib()
  %102 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %103 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %100, i64 noundef 1023, ptr noundef @.str.77, ptr noundef %101, ptr noundef %102) #6
  store i32 %103, ptr %5, align 4, !tbaa !15
  %104 = load i32, ptr %5, align 4, !tbaa !15
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %105
  store i8 0, ptr %106, align 1, !tbaa !14
  %107 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %108 = call i32 (ptr, i32, ...) @open(ptr noundef %107, i32 noundef 0)
  store i32 %108, ptr %4, align 4, !tbaa !15
  br label %109

109:                                              ; preds = %99, %97
  br label %110

110:                                              ; preds = %109, %42
  br label %111

111:                                              ; preds = %110, %35
  %112 = load i32, ptr %4, align 4, !tbaa !15
  store i32 %112, ptr %2, align 4
  store i32 1, ptr %12, align 4
  br label %113

113:                                              ; preds = %111, %95
  call void @llvm.lifetime.end.p0(i64 1024, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  %114 = load i32, ptr %2, align 4
  ret i32 %114
}

; 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

declare i32 @open(ptr noundef, i32 noundef, ...) #3

; Function Attrs: nounwind
declare i32 @access(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind
declare ptr @getenv(ptr noundef) #4

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strchr(ptr noundef, i32 noundef) #5

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #4

declare ptr @mln_path_melang_lib() #3

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

!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, !11, i64 8}
!10 = !{!"", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 16, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !6, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"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"

@.str.77 = external hidden unnamed_addr constant [6 x i8], align 1
@mln_lang_env = external hidden local_unnamed_addr global { ptr, i64, i8, i8, i8, i8 }, align 8

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @mln_lang_ast_file_open(ptr nocapture noundef readonly %0) local_unnamed_addr #1 {
  %2 = alloca [1024 x i8], align 16
  %3 = alloca [1024 x i8], align 16
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load i64, ptr %4, align 8, !tbaa !5
  %spec.select = tail call i64 @llvm.umin.i64(i64 %5, i64 1023)
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %3) #9
  %6 = load ptr, ptr %0, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %2, ptr align 1 %6, i64 %spec.select, i1 false)
  %7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %spec.select
  store i8 0, ptr %7, align 1, !tbaa !12
  %8 = load i8, ptr %2, align 16, !tbaa !12
  %9 = icmp eq i8 %8, 47
  br i1 %9, label %.thread34, label %10

10:                                               ; preds = %1
  %11 = call i32 @access(ptr noundef nonnull %2, i32 noundef 0) #9
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %.thread34, label %12

12:                                               ; preds = %10
  %13 = load ptr, ptr @mln_lang_env, align 8, !tbaa !11
  %14 = tail call ptr @getenv(ptr noundef %13) #9
  %.not26 = icmp eq ptr %14, null
  br i1 %.not26, label %27, label %15

15:                                               ; preds = %12
  %16 = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %14, i32 noundef 59) #10
  %.not2739 = icmp eq ptr %16, null
  br i1 %.not2739, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %15, %21
  %.02041 = phi ptr [ %23, %21 ], [ %16, %15 ]
  %.02140 = phi ptr [ %22, %21 ], [ %14, %15 ]
  store i8 0, ptr %.02041, align 1, !tbaa !12
  %17 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 1023, ptr noundef nonnull @.str.77, ptr noundef nonnull %.02140, ptr noundef nonnull %2) #9
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %18
  store i8 0, ptr %19, align 1, !tbaa !12
  %20 = call i32 @access(ptr noundef nonnull %3, i32 noundef 0) #9
  %.not28 = icmp eq i32 %20, 0
  br i1 %.not28, label %.thread34, label %21

21:                                               ; preds = %.lr.ph
  %22 = getelementptr inbounds i8, ptr %.02041, i64 1
  %23 = call ptr @strchr(ptr noundef nonnull dereferenceable(1) %22, i32 noundef 59) #10
  %.not27 = icmp eq ptr %23, null
  br i1 %.not27, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %21, %15
  %.021.lcssa = phi ptr [ %14, %15 ], [ %22, %21 ]
  %24 = load i8, ptr %.021.lcssa, align 1, !tbaa !12
  %.not30 = icmp eq i8 %24, 0
  br i1 %.not30, label %27, label %25

25:                                               ; preds = %._crit_edge
  %26 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 1023, ptr noundef nonnull @.str.77, ptr noundef nonnull %.021.lcssa, ptr noundef nonnull %2) #9
  br label %.thread34.sink.split

27:                                               ; preds = %._crit_edge, %12
  %28 = call ptr @mln_path_melang_lib() #9
  %29 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 1023, ptr noundef nonnull @.str.77, ptr noundef %28, ptr noundef nonnull %2) #9
  br label %.thread34.sink.split

.thread34.sink.split:                             ; preds = %27, %25
  %.sink44 = phi i32 [ %26, %25 ], [ %29, %27 ]
  %30 = sext i32 %.sink44 to i64
  %31 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %30
  store i8 0, ptr %31, align 1, !tbaa !12
  br label %.thread34

.thread34:                                        ; preds = %.lr.ph, %.thread34.sink.split, %10, %1
  %.sink = phi ptr [ %2, %1 ], [ %2, %10 ], [ %3, %.thread34.sink.split ], [ %3, %.lr.ph ]
  %32 = call i32 (ptr, i32, ...) @open(ptr noundef nonnull %.sink, i32 noundef 0) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #9
  ret i32 %32
}

; 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: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @access(ptr nocapture noundef readonly, i32 noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

declare ptr @mln_path_melang_lib() local_unnamed_addr #7

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nofree "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 = { nofree 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 #5 = { nofree nounwind memory(read) "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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #7 = { "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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }

!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 8}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 16, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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