; LLVM IR from ponylang/ponyc :: src/libponyc/ast (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.ast_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i8 }
%struct.symbol_t = type { ptr, ptr, i32, i64 }

@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__.ast_all_consumes_in_scope = external hidden unnamed_addr constant [26 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [36 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

declare i32 @token_get_id(ptr noundef) #1

declare void @ponyint_assert_fail(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @ast_get(ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @symtab_next(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @ast_within_scope(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @ast_all_consumes_in_scope(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  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
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %14, label %15

14:                                               ; preds = %3
  br label %16

15:                                               ; preds = %3
  call void @ponyint_assert_fail(ptr noundef @.str.20, ptr noundef @.str.1, i64 noundef 1327, ptr noundef @__func__.ast_all_consumes_in_scope)
  br label %16

16:                                               ; preds = %15, %14
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %16
  br label %21

20:                                               ; preds = %16
  call void @ponyint_assert_fail(ptr noundef @.str.21, ptr noundef @.str.1, i64 noundef 1328, ptr noundef @__func__.ast_all_consumes_in_scope)
  br label %21

21:                                               ; preds = %20, %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %22, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #3
  store i8 1, ptr %8, align 1, !tbaa !9
  br label %23

23:                                               ; preds = %95, %21
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ast_t, ptr %24, i32 0, i32 1
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %77

28:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store i64 -1, ptr %9, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  br label %29

29:                                               ; preds = %75, %28
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ast_t, ptr %30, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = call ptr @symtab_next(ptr noundef %32, ptr noundef %9)
  store ptr %33, ptr %10, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %76

35:                                               ; preds = %29
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.symbol_t, ptr %36, i32 0, i32 2
  %38 = load i32, ptr %37, align 8, !tbaa !16
  %39 = icmp eq i32 %38, 4
  br i1 %39, label %45, label %40

40:                                               ; preds = %35
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.symbol_t, ptr %41, i32 0, i32 2
  %43 = load i32, ptr %42, align 8, !tbaa !16
  %44 = icmp eq i32 %43, 5
  br i1 %44, label %45, label %75

45:                                               ; preds = %40, %35
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.symbol_t, ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !18
  %49 = icmp eq ptr %48, null
  br i1 %49, label %50, label %75

50:                                               ; preds = %45
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.symbol_t, ptr %53, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8, !tbaa !19
  %56 = call zeroext i1 @ast_within_scope(ptr noundef %51, ptr noundef %52, ptr noundef %55)
  br i1 %56, label %74, label %57

57:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.symbol_t, ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !19
  %62 = call ptr @ast_get(ptr noundef %58, ptr noundef %61, ptr noundef null)
  store ptr %62, ptr %11, align 8, !tbaa !5
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %73

65:                                               ; preds = %57
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.symbol_t, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !19
  call void (ptr, ptr, ptr, ...) @ast_error_frame(ptr noundef %66, ptr noundef %67, ptr noundef @.str.22, ptr noundef %70)
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = load ptr, ptr %11, align 8, !tbaa !5
  call void (ptr, ptr, ptr, ...) @ast_error_frame(ptr noundef %71, ptr noundef %72, ptr noundef @.str.23)
  br label %73

73:                                               ; preds = %65, %57
  store i8 0, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %74

74:                                               ; preds = %73, %50
  br label %75

75:                                               ; preds = %74, %45, %40
  br label %29, !llvm.loop !20

76:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %77

77:                                               ; preds = %76, %23
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = icmp eq ptr %78, %79
  br i1 %80, label %81, label %82

81:                                               ; preds = %77
  br label %97

82:                                               ; preds = %77
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ast_t, ptr %83, i32 0, i32 3
  %85 = load ptr, ptr %84, align 8, !tbaa !22
  store ptr %85, ptr %5, align 8, !tbaa !5
  br label %86

86:                                               ; preds = %82
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = icmp ne ptr %87, null
  br i1 %88, label %89, label %95

89:                                               ; preds = %86
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ast_t, ptr %90, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !23
  %93 = call i32 @token_get_id(ptr noundef %92)
  %94 = icmp ne i32 %93, 136
  br label %95

95:                                               ; preds = %89, %86
  %96 = phi i1 [ false, %86 ], [ %94, %89 ]
  br i1 %96, label %23, label %97, !llvm.loop !24

97:                                               ; preds = %95, %81
  %98 = load i8, ptr %8, align 1, !tbaa !9, !range !25, !noundef !26
  %99 = trunc i8 %98 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  ret i1 %99
}

; Function Attrs: nounwind uwtable
declare dso_local void @ast_error_frame(ptr noundef, ptr noundef, ptr noundef, ...) #2

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

!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 = !{!"_Bool", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"ast_t", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !13, i64 56, !10, i64 60}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !13, i64 16}
!17 = !{!"symbol_t", !6, i64 0, !6, i64 8, !13, i64 16, !15, i64 24}
!18 = !{!17, !6, i64 8}
!19 = !{!17, !6, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !6, i64 24}
!23 = !{!12, !6, i64 0}
!24 = distinct !{!24, !21}
!25 = !{i8 0, i8 2}
!26 = !{}


; 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 [71 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__.ast_all_consumes_in_scope = external hidden unnamed_addr constant [26 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [36 x i8], align 1

; 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

declare i32 @token_get_id(ptr noundef) local_unnamed_addr #1

declare void @ponyint_assert_fail(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @ast_get(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @symtab_next(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @ast_within_scope(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @ast_all_consumes_in_scope(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca i64, align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %5, label %6

5:                                                ; preds = %3
  tail call void @ponyint_assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.1, i64 noundef 1327, ptr noundef nonnull @__func__.ast_all_consumes_in_scope) #3
  br label %6

6:                                                ; preds = %3, %5
  %.not29 = icmp eq ptr %1, null
  br i1 %.not29, label %7, label %8

7:                                                ; preds = %6
  tail call void @ponyint_assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.1, i64 noundef 1328, ptr noundef nonnull @__func__.ast_all_consumes_in_scope) #3
  br label %8

8:                                                ; preds = %6, %7
  %.not34 = icmp eq ptr %2, null
  br i1 %.not34, label %.split.us, label %.split

.split.us:                                        ; preds = %8, %18
  %.024.us = phi i1 [ %.3.us, %18 ], [ true, %8 ]
  %.0.us = phi ptr [ %17, %18 ], [ %1, %8 ]
  %9 = getelementptr inbounds i8, ptr %.0.us, i64 8
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %.not30.us = icmp eq ptr %10, null
  br i1 %.not30.us, label %13, label %11

11:                                               ; preds = %.split.us
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  store i64 -1, ptr %4, align 8, !tbaa !12
  %12 = call ptr @symtab_next(ptr noundef nonnull %10, ptr noundef nonnull %4) #3
  %.not3135.us = icmp eq ptr %12, null
  br i1 %.not3135.us, label %._crit_edge.split.us.us, label %.lr.ph.us

._crit_edge.split.us.us:                          ; preds = %35, %11
  %.1.lcssa.us = phi i1 [ %.024.us, %11 ], [ %.2.us.us, %35 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  br label %13

13:                                               ; preds = %._crit_edge.split.us.us, %.split.us
  %.3.us = phi i1 [ %.1.lcssa.us, %._crit_edge.split.us.us ], [ %.024.us, %.split.us ]
  %14 = icmp eq ptr %.0.us, %0
  br i1 %14, label %.critedge, label %15

15:                                               ; preds = %13
  %16 = getelementptr inbounds i8, ptr %.0.us, i64 24
  %17 = load ptr, ptr %16, align 8, !tbaa !14
  %.not32.us = icmp eq ptr %17, null
  br i1 %.not32.us, label %.critedge, label %18

18:                                               ; preds = %15
  %19 = load ptr, ptr %17, align 8, !tbaa !15
  %20 = call i32 @token_get_id(ptr noundef %19) #3
  %.not33.us = icmp eq i32 %20, 136
  br i1 %.not33.us, label %.critedge, label %.split.us, !llvm.loop !16

.lr.ph.us:                                        ; preds = %11, %35
  %21 = phi ptr [ %37, %35 ], [ %12, %11 ]
  %.136.us.us = phi i1 [ %.2.us.us, %35 ], [ %.024.us, %11 ]
  %22 = getelementptr inbounds i8, ptr %21, i64 16
  %23 = load i32, ptr %22, align 8, !tbaa !18
  %24 = and i32 %23, -2
  %switch.us.us = icmp eq i32 %24, 4
  br i1 %switch.us.us, label %25, label %35

25:                                               ; preds = %.lr.ph.us
  %26 = getelementptr inbounds i8, ptr %21, i64 8
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %28 = icmp eq ptr %27, null
  br i1 %28, label %29, label %35

29:                                               ; preds = %25
  %30 = load ptr, ptr %21, align 8, !tbaa !21
  %31 = call zeroext i1 @ast_within_scope(ptr noundef %0, ptr noundef %.0.us, ptr noundef %30)
  br i1 %31, label %35, label %32

32:                                               ; preds = %29
  %33 = load ptr, ptr %21, align 8, !tbaa !21
  %34 = call ptr @ast_get(ptr noundef %.0.us, ptr noundef %33, ptr noundef null)
  br label %35

35:                                               ; preds = %32, %29, %25, %.lr.ph.us
  %.2.us.us = phi i1 [ %.136.us.us, %29 ], [ %.136.us.us, %25 ], [ %.136.us.us, %.lr.ph.us ], [ false, %32 ]
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = call ptr @symtab_next(ptr noundef %36, ptr noundef nonnull %4) #3
  %.not31.us.us = icmp eq ptr %37, null
  br i1 %.not31.us.us, label %._crit_edge.split.us.us, label %.lr.ph.us, !llvm.loop !22

.split:                                           ; preds = %8, %65
  %.024 = phi i1 [ %.3, %65 ], [ true, %8 ]
  %.0 = phi ptr [ %64, %65 ], [ %1, %8 ]
  %38 = getelementptr inbounds i8, ptr %.0, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %.not30 = icmp eq ptr %39, null
  br i1 %.not30, label %60, label %40

40:                                               ; preds = %.split
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  store i64 -1, ptr %4, align 8, !tbaa !12
  %41 = call ptr @symtab_next(ptr noundef nonnull %39, ptr noundef nonnull %4) #3
  %.not3135 = icmp eq ptr %41, null
  br i1 %.not3135, label %._crit_edge.split, label %.lr.ph

.lr.ph:                                           ; preds = %40, %57
  %42 = phi ptr [ %59, %57 ], [ %41, %40 ]
  %.136 = phi i1 [ %.2, %57 ], [ %.024, %40 ]
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %44 = load i32, ptr %43, align 8, !tbaa !18
  %45 = and i32 %44, -2
  %switch = icmp eq i32 %45, 4
  br i1 %switch, label %46, label %57

46:                                               ; preds = %.lr.ph
  %47 = getelementptr inbounds i8, ptr %42, i64 8
  %48 = load ptr, ptr %47, align 8, !tbaa !20
  %49 = icmp eq ptr %48, null
  br i1 %49, label %50, label %57

50:                                               ; preds = %46
  %51 = load ptr, ptr %42, align 8, !tbaa !21
  %52 = call zeroext i1 @ast_within_scope(ptr noundef %0, ptr noundef %.0, ptr noundef %51)
  br i1 %52, label %57, label %53

53:                                               ; preds = %50
  %54 = load ptr, ptr %42, align 8, !tbaa !21
  %55 = call ptr @ast_get(ptr noundef %.0, ptr noundef %54, ptr noundef null)
  %56 = load ptr, ptr %42, align 8, !tbaa !21
  call void (ptr, ptr, ptr, ...) @ast_error_frame(ptr noundef nonnull %2, ptr noundef %1, ptr noundef nonnull @.str.22, ptr noundef %56)
  call void (ptr, ptr, ptr, ...) @ast_error_frame(ptr noundef nonnull %2, ptr noundef %55, ptr noundef nonnull @.str.23)
  br label %57

57:                                               ; preds = %.lr.ph, %53, %50, %46
  %.2 = phi i1 [ %.136, %50 ], [ %.136, %46 ], [ %.136, %.lr.ph ], [ false, %53 ]
  %58 = load ptr, ptr %38, align 8, !tbaa !5
  %59 = call ptr @symtab_next(ptr noundef %58, ptr noundef nonnull %4) #3
  %.not31 = icmp eq ptr %59, null
  br i1 %.not31, label %._crit_edge.split, label %.lr.ph, !llvm.loop !22

._crit_edge.split:                                ; preds = %57, %40
  %.1.lcssa = phi i1 [ %.024, %40 ], [ %.2, %57 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  br label %60

60:                                               ; preds = %._crit_edge.split, %.split
  %.3 = phi i1 [ %.1.lcssa, %._crit_edge.split ], [ %.024, %.split ]
  %61 = icmp eq ptr %.0, %0
  br i1 %61, label %.critedge, label %62

62:                                               ; preds = %60
  %63 = getelementptr inbounds i8, ptr %.0, i64 24
  %64 = load ptr, ptr %63, align 8, !tbaa !14
  %.not32 = icmp eq ptr %64, null
  br i1 %.not32, label %.critedge, label %65

65:                                               ; preds = %62
  %66 = load ptr, ptr %64, align 8, !tbaa !15
  %67 = call i32 @token_get_id(ptr noundef %66) #3
  %.not33 = icmp eq i32 %67, 136
  br i1 %.not33, label %.critedge, label %.split, !llvm.loop !16

.critedge:                                        ; preds = %65, %60, %62, %13, %15, %18
  %.us-phi37 = phi i1 [ %.3.us, %18 ], [ %.3.us, %15 ], [ %.3.us, %13 ], [ %.3, %62 ], [ %.3, %60 ], [ %.3, %65 ]
  ret i1 %.us-phi37
}

; Function Attrs: nounwind uwtable
declare dso_local void @ast_error_frame(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2

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

!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 8}
!6 = !{!"ast_t", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56, !11, i64 60}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 24}
!15 = !{!6, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !10, i64 16}
!19 = !{!"symbol_t", !7, i64 0, !7, i64 8, !10, i64 16, !13, i64 24}
!20 = !{!19, !7, i64 8}
!21 = !{!19, !7, i64 0}
!22 = distinct !{!22, !17}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass