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

; 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.buzzparser_s = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.buzztok_s = type { i32, ptr, i64, i64, ptr }
%struct.sym_s = type { i64, i32, i32 }

@PARSE_ERROR = external hidden global i32, align 4
@PARSE_OK = external hidden global i32, align 4
@SCOPE_LOCAL = external hidden global i32, align 4

; 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
declare dso_local ptr @sym_lookup(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @sym_add(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @match(ptr noundef, i32 noundef) #1

declare ptr @buzzlex_nexttok(ptr noundef) #2

declare void @buzzlex_destroytok(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @parse_idlist(ptr noundef %0) #1 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.buzzparser_s, ptr %7, i32 0, i32 4
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = getelementptr inbounds %struct.buzztok_s, ptr %9, i32 0, i32 0
  %11 = load i32, ptr %10, align 8, !tbaa !12
  %12 = icmp eq i32 %11, 23
  br i1 %12, label %13, label %15

13:                                               ; preds = %1
  %14 = load i32, ptr @PARSE_OK, align 4, !tbaa !15
  store i32 %14, ptr %2, align 4
  br label %167

15:                                               ; preds = %1
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = call i32 @match(ptr noundef %16, i32 noundef 0)
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %21, label %19

19:                                               ; preds = %15
  %20 = load i32, ptr @PARSE_ERROR, align 4, !tbaa !15
  store i32 %20, ptr %2, align 4
  br label %167

21:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.buzzparser_s, ptr %22, i32 0, i32 4
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.buzztok_s, ptr %24, i32 0, i32 1
  %26 = load ptr, ptr %25, align 8, !tbaa !16
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.buzzparser_s, ptr %27, i32 0, i32 7
  %29 = load ptr, ptr %28, align 8, !tbaa !17
  %30 = call ptr @sym_lookup(ptr noundef %26, ptr noundef %29)
  store ptr %30, ptr %4, align 8, !tbaa !5
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %38

33:                                               ; preds = %21
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.sym_s, ptr %34, i32 0, i32 2
  %36 = load i32, ptr %35, align 4, !tbaa !18
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %46

38:                                               ; preds = %33, %21
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.buzzparser_s, ptr %40, i32 0, i32 4
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds %struct.buzztok_s, ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !16
  %45 = load i32, ptr @SCOPE_LOCAL, align 4, !tbaa !15
  call void @sym_add(ptr noundef %39, ptr noundef %44, i32 noundef %45)
  br label %46

46:                                               ; preds = %38, %33
  br label %47

47:                                               ; preds = %70, %46
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.buzzparser_s, ptr %48, i32 0, i32 4
  call void @buzzlex_destroytok(ptr noundef %49)
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.buzzparser_s, ptr %50, i32 0, i32 3
  %52 = load ptr, ptr %51, align 8, !tbaa !20
  %53 = call ptr @buzzlex_nexttok(ptr noundef %52)
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.buzzparser_s, ptr %54, i32 0, i32 4
  store ptr %53, ptr %55, align 8, !tbaa !9
  br label %56

56:                                               ; preds = %47
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.buzzparser_s, ptr %57, i32 0, i32 4
  %59 = load ptr, ptr %58, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.buzztok_s, ptr %59, i32 0, i32 0
  %61 = load i32, ptr %60, align 8, !tbaa !12
  %62 = icmp ne i32 %61, 31
  br i1 %62, label %63, label %70

63:                                               ; preds = %56
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.buzzparser_s, ptr %64, i32 0, i32 4
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.buzztok_s, ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !12
  %69 = icmp eq i32 %68, 26
  br label %70

70:                                               ; preds = %63, %56
  %71 = phi i1 [ false, %56 ], [ %69, %63 ]
  br i1 %71, label %47, label %72, !llvm.loop !21

72:                                               ; preds = %70
  br label %73

73:                                               ; preds = %163, %72
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.buzzparser_s, ptr %74, i32 0, i32 4
  %76 = load ptr, ptr %75, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.buzztok_s, ptr %76, i32 0, i32 0
  %78 = load i32, ptr %77, align 8, !tbaa !12
  %79 = icmp eq i32 %78, 27
  br i1 %79, label %80, label %164

80:                                               ; preds = %73
  br label %81

81:                                               ; preds = %104, %80
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.buzzparser_s, ptr %82, i32 0, i32 4
  call void @buzzlex_destroytok(ptr noundef %83)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.buzzparser_s, ptr %84, i32 0, i32 3
  %86 = load ptr, ptr %85, align 8, !tbaa !20
  %87 = call ptr @buzzlex_nexttok(ptr noundef %86)
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.buzzparser_s, ptr %88, i32 0, i32 4
  store ptr %87, ptr %89, align 8, !tbaa !9
  br label %90

90:                                               ; preds = %81
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.buzzparser_s, ptr %91, i32 0, i32 4
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.buzztok_s, ptr %93, i32 0, i32 0
  %95 = load i32, ptr %94, align 8, !tbaa !12
  %96 = icmp ne i32 %95, 31
  br i1 %96, label %97, label %104

97:                                               ; preds = %90
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.buzzparser_s, ptr %98, i32 0, i32 4
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct.buzztok_s, ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 8, !tbaa !12
  %103 = icmp eq i32 %102, 26
  br label %104

104:                                              ; preds = %97, %90
  %105 = phi i1 [ false, %90 ], [ %103, %97 ]
  br i1 %105, label %81, label %106, !llvm.loop !23

106:                                              ; preds = %104
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = call i32 @match(ptr noundef %107, i32 noundef 0)
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %112, label %110

110:                                              ; preds = %106
  %111 = load i32, ptr @PARSE_ERROR, align 4, !tbaa !15
  store i32 %111, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %166

112:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.buzzparser_s, ptr %113, i32 0, i32 4
  %115 = load ptr, ptr %114, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.buzztok_s, ptr %115, i32 0, i32 1
  %117 = load ptr, ptr %116, align 8, !tbaa !16
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.buzzparser_s, ptr %118, i32 0, i32 7
  %120 = load ptr, ptr %119, align 8, !tbaa !17
  %121 = call ptr @sym_lookup(ptr noundef %117, ptr noundef %120)
  store ptr %121, ptr %6, align 8, !tbaa !5
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %129

124:                                              ; preds = %112
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.sym_s, ptr %125, i32 0, i32 2
  %127 = load i32, ptr %126, align 4, !tbaa !18
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %137

129:                                              ; preds = %124, %112
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.buzzparser_s, ptr %131, i32 0, i32 4
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = getelementptr inbounds %struct.buzztok_s, ptr %133, i32 0, i32 1
  %135 = load ptr, ptr %134, align 8, !tbaa !16
  %136 = load i32, ptr @SCOPE_LOCAL, align 4, !tbaa !15
  call void @sym_add(ptr noundef %130, ptr noundef %135, i32 noundef %136)
  br label %137

137:                                              ; preds = %129, %124
  br label %138

138:                                              ; preds = %161, %137
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.buzzparser_s, ptr %139, i32 0, i32 4
  call void @buzzlex_destroytok(ptr noundef %140)
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.buzzparser_s, ptr %141, i32 0, i32 3
  %143 = load ptr, ptr %142, align 8, !tbaa !20
  %144 = call ptr @buzzlex_nexttok(ptr noundef %143)
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.buzzparser_s, ptr %145, i32 0, i32 4
  store ptr %144, ptr %146, align 8, !tbaa !9
  br label %147

147:                                              ; preds = %138
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.buzzparser_s, ptr %148, i32 0, i32 4
  %150 = load ptr, ptr %149, align 8, !tbaa !9
  %151 = getelementptr inbounds %struct.buzztok_s, ptr %150, i32 0, i32 0
  %152 = load i32, ptr %151, align 8, !tbaa !12
  %153 = icmp ne i32 %152, 31
  br i1 %153, label %154, label %161

154:                                              ; preds = %147
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.buzzparser_s, ptr %155, i32 0, i32 4
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  %158 = getelementptr inbounds %struct.buzztok_s, ptr %157, i32 0, i32 0
  %159 = load i32, ptr %158, align 8, !tbaa !12
  %160 = icmp eq i32 %159, 26
  br label %161

161:                                              ; preds = %154, %147
  %162 = phi i1 [ false, %147 ], [ %160, %154 ]
  br i1 %162, label %138, label %163, !llvm.loop !24

163:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %73, !llvm.loop !25

164:                                              ; preds = %73
  %165 = load i32, ptr @PARSE_OK, align 4, !tbaa !15
  store i32 %165, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %166

166:                                              ; preds = %164, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  br label %167

167:                                              ; preds = %166, %19, %13
  %168 = load i32, ptr %2, align 4
  ret i32 %168
}

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 = { "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, !6, i64 32}
!10 = !{!"buzzparser_s", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !11, i64 80}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"buzztok_s", !11, i64 0, !6, i64 8, !14, i64 16, !14, i64 24, !6, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!13, !6, i64 8}
!17 = !{!10, !6, i64 56}
!18 = !{!19, !11, i64 12}
!19 = !{!"sym_s", !14, i64 0, !11, i64 8, !11, i64 12}
!20 = !{!10, !6, i64 24}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}


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

@PARSE_ERROR = external hidden local_unnamed_addr global i32, align 4
@PARSE_OK = external hidden local_unnamed_addr global i32, align 4
@SCOPE_LOCAL = external hidden local_unnamed_addr global i32, align 4

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

; Function Attrs: nounwind uwtable
declare dso_local void @sym_add(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @match(ptr noundef, i32 noundef) local_unnamed_addr #0

declare ptr @buzzlex_nexttok(ptr noundef) local_unnamed_addr #1

declare void @buzzlex_destroytok(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @parse_idlist(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 32
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = load i32, ptr %3, align 8, !tbaa !11
  %5 = icmp eq i32 %4, 23
  br i1 %5, label %.loopexit, label %6

6:                                                ; preds = %1
  %7 = tail call i32 @match(ptr noundef nonnull %0, i32 noundef 0)
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %.loopexit, label %8

8:                                                ; preds = %6
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %12 = getelementptr inbounds i8, ptr %0, i64 56
  %13 = load ptr, ptr %12, align 8, !tbaa !15
  %14 = tail call ptr @sym_lookup(ptr noundef %11, ptr noundef %13)
  %.not40 = icmp eq ptr %14, null
  br i1 %.not40, label %18, label %15

15:                                               ; preds = %8
  %16 = getelementptr inbounds i8, ptr %14, i64 12
  %17 = load i32, ptr %16, align 4, !tbaa !16
  %.not41 = icmp eq i32 %17, 0
  br i1 %.not41, label %23, label %18

18:                                               ; preds = %15, %8
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 8
  %21 = load ptr, ptr %20, align 8, !tbaa !14
  %22 = load i32, ptr @SCOPE_LOCAL, align 4, !tbaa !18
  tail call void @sym_add(ptr noundef nonnull %0, ptr noundef %21, i32 noundef %22)
  br label %23

23:                                               ; preds = %18, %15
  %24 = getelementptr inbounds i8, ptr %0, i64 24
  br label %25

25:                                               ; preds = %25, %23
  tail call void @buzzlex_destroytok(ptr noundef nonnull %2) #2
  %26 = load ptr, ptr %24, align 8, !tbaa !19
  %27 = tail call ptr @buzzlex_nexttok(ptr noundef %26) #2
  store ptr %27, ptr %2, align 8, !tbaa !5
  %28 = load i32, ptr %27, align 8, !tbaa !11
  switch i32 %28, label %.loopexit [
    i32 26, label %25
    i32 27, label %.preheader
  ]

.preheader:                                       ; preds = %25, %.preheader.backedge
  tail call void @buzzlex_destroytok(ptr noundef nonnull %2) #2
  %29 = load ptr, ptr %24, align 8, !tbaa !19
  %30 = tail call ptr @buzzlex_nexttok(ptr noundef %29) #2
  store ptr %30, ptr %2, align 8, !tbaa !5
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %cond48 = icmp eq i32 %31, 26
  br i1 %cond48, label %.preheader.backedge, label %.critedge2

.preheader.backedge:                              ; preds = %47, %.preheader
  br label %.preheader

.critedge2:                                       ; preds = %.preheader
  %32 = tail call i32 @match(ptr noundef nonnull %0, i32 noundef 0)
  %.not44 = icmp eq i32 %32, 0
  br i1 %.not44, label %.loopexit, label %33

33:                                               ; preds = %.critedge2
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = load ptr, ptr %35, align 8, !tbaa !14
  %37 = load ptr, ptr %12, align 8, !tbaa !15
  %38 = tail call ptr @sym_lookup(ptr noundef %36, ptr noundef %37)
  %.not45 = icmp eq ptr %38, null
  br i1 %.not45, label %42, label %39

39:                                               ; preds = %33
  %40 = getelementptr inbounds i8, ptr %38, i64 12
  %41 = load i32, ptr %40, align 4, !tbaa !16
  %.not46 = icmp eq i32 %41, 0
  br i1 %.not46, label %.preheader53, label %42

42:                                               ; preds = %39, %33
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 8
  %45 = load ptr, ptr %44, align 8, !tbaa !14
  %46 = load i32, ptr @SCOPE_LOCAL, align 4, !tbaa !18
  tail call void @sym_add(ptr noundef nonnull %0, ptr noundef %45, i32 noundef %46)
  br label %.preheader53

.preheader53:                                     ; preds = %42, %39
  br label %47

47:                                               ; preds = %.preheader53, %47
  tail call void @buzzlex_destroytok(ptr noundef nonnull %2) #2
  %48 = load ptr, ptr %24, align 8, !tbaa !19
  %49 = tail call ptr @buzzlex_nexttok(ptr noundef %48) #2
  store ptr %49, ptr %2, align 8, !tbaa !5
  %50 = load i32, ptr %49, align 8, !tbaa !11
  switch i32 %50, label %.loopexit [
    i32 26, label %47
    i32 27, label %.preheader.backedge
  ]

.loopexit:                                        ; preds = %25, %.critedge2, %47, %6, %1
  %.1.in = phi ptr [ @PARSE_OK, %1 ], [ @PARSE_ERROR, %6 ], [ @PARSE_OK, %47 ], [ @PARSE_ERROR, %.critedge2 ], [ @PARSE_OK, %25 ]
  %.1 = load i32, ptr %.1.in, align 4, !tbaa !18
  ret i32 %.1
}

attributes #0 = { 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 #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 }

!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 32}
!6 = !{!"buzzparser_s", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !10, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"buzztok_s", !10, i64 0, !7, i64 8, !13, i64 16, !13, i64 24, !7, i64 32}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !7, i64 8}
!15 = !{!6, !7, i64 56}
!16 = !{!17, !10, i64 12}
!17 = !{!"sym_s", !13, i64 0, !10, i64 8, !10, i64 12}
!18 = !{!10, !10, i64 0}
!19 = !{!6, !7, i64 24}


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