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

@PARSE_ERROR = external hidden global i32, align 4
@PARSE_OK = external hidden global i32, align 4
@.str.30 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 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: nounwind
declare void @free(ptr noundef) #1

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

; Function Attrs: nounwind
declare i32 @asprintf(ptr noundef, ptr noundef, ...) #1

declare ptr @buzzlex_nexttok(ptr noundef) #3

declare void @buzzlex_destroytok(ptr noundef) #3

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

14:                                               ; preds = %1
  br label %15

15:                                               ; preds = %38, %14
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.buzzparser_s, ptr %16, i32 0, i32 4
  call void @buzzlex_destroytok(ptr noundef %17)
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.buzzparser_s, ptr %18, i32 0, i32 3
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  %21 = call ptr @buzzlex_nexttok(ptr noundef %20)
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.buzzparser_s, ptr %22, i32 0, i32 4
  store ptr %21, ptr %23, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %15
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.buzzparser_s, ptr %25, i32 0, i32 4
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.buzztok_s, ptr %27, i32 0, i32 0
  %29 = load i32, ptr %28, align 8, !tbaa !12
  %30 = icmp ne i32 %29, 31
  br i1 %30, label %31, label %38

31:                                               ; preds = %24
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.buzzparser_s, ptr %32, i32 0, i32 4
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.buzztok_s, ptr %34, i32 0, i32 0
  %36 = load i32, ptr %35, align 8, !tbaa !12
  %37 = icmp eq i32 %36, 26
  br label %38

38:                                               ; preds = %31, %24
  %39 = phi i1 [ false, %24 ], [ %37, %31 ]
  br i1 %39, label %15, label %40, !llvm.loop !16

40:                                               ; preds = %38
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = call i32 @parse_condition(ptr noundef %41)
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %46, label %44

44:                                               ; preds = %40
  %45 = load i32, ptr @PARSE_ERROR, align 4, !tbaa !18
  store i32 %45, ptr %2, align 4
  br label %128

46:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %47 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %4, ptr noundef @.str.30) #4
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.buzzparser_s, ptr %48, i32 0, i32 6
  %50 = load ptr, ptr %49, align 8, !tbaa !19
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.buzzparser_s, ptr %52, i32 0, i32 4
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  call void @chunk_addcode(ptr noundef %50, ptr noundef %51, ptr noundef %54)
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  call void @free(ptr noundef %55) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  %56 = load i32, ptr @PARSE_OK, align 4, !tbaa !18
  store i32 %56, ptr %2, align 4
  br label %128

57:                                               ; preds = %1
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = call i32 @parse_comparison(ptr noundef %58)
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %63, label %61

61:                                               ; preds = %57
  %62 = load i32, ptr @PARSE_ERROR, align 4, !tbaa !18
  store i32 %62, ptr %2, align 4
  br label %128

63:                                               ; preds = %57
  br label %64

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

71:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 5, ptr %5) #4
  %72 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
  store i8 108, ptr %72, align 1, !tbaa !20
  %73 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
  %74 = getelementptr inbounds i8, ptr %73, i64 1
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.buzzparser_s, ptr %75, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !9
  %78 = getelementptr inbounds %struct.buzztok_s, ptr %77, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8, !tbaa !21
  %80 = call ptr @strcpy(ptr noundef %74, ptr noundef %79) #4
  br label %81

81:                                               ; preds = %104, %71
  %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 !15
  %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 !22

106:                                              ; preds = %104
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = call i32 @parse_comparison(ptr noundef %107)
  %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 !18
  store i32 %111, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %123

112:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %113 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
  %114 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %7, ptr noundef @.str.31, ptr noundef %113) #4
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.buzzparser_s, ptr %115, i32 0, i32 6
  %117 = load ptr, ptr %116, align 8, !tbaa !19
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.buzzparser_s, ptr %119, i32 0, i32 4
  %121 = load ptr, ptr %120, align 8, !tbaa !9
  call void @chunk_addcode(ptr noundef %117, ptr noundef %118, ptr noundef %121)
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %122) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  store i32 0, ptr %6, align 4
  br label %123

123:                                              ; preds = %112, %110
  call void @llvm.lifetime.end.p0(i64 5, ptr %5) #4
  %124 = load i32, ptr %6, align 4
  switch i32 %124, label %130 [
    i32 0, label %125
    i32 1, label %128
  ]

125:                                              ; preds = %123
  br label %64, !llvm.loop !23

126:                                              ; preds = %64
  %127 = load i32, ptr @PARSE_OK, align 4, !tbaa !18
  store i32 %127, ptr %2, align 4
  br label %128

128:                                              ; preds = %126, %123, %61, %46, %44
  %129 = load i32, ptr %2, align 4
  ret i32 %129

130:                                              ; preds = %123
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @parse_comparison(ptr noundef) #2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #1

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

!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 = !{!10, !6, i64 24}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!11, !11, i64 0}
!19 = !{!10, !6, i64 48}
!20 = !{!7, !7, i64 0}
!21 = !{!13, !6, i64 8}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}


; 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
@.str.30 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind
declare i32 @asprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #3

declare ptr @buzzlex_nexttok(ptr noundef) local_unnamed_addr #4

declare void @buzzlex_destroytok(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local i32 @parse_condition(ptr noundef %0) local_unnamed_addr #2 {
  %2 = alloca ptr, align 8
  %3 = alloca [5 x i8], align 1
  %4 = alloca ptr, align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 32
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = load i32, ptr %6, align 8, !tbaa !11
  %8 = icmp eq i32 %7, 12
  br i1 %8, label %.preheader, label %25

.preheader:                                       ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  br label %10

10:                                               ; preds = %.preheader, %10
  tail call void @buzzlex_destroytok(ptr noundef nonnull %5) #6
  %11 = load ptr, ptr %9, align 8, !tbaa !14
  %12 = tail call ptr @buzzlex_nexttok(ptr noundef %11) #6
  store ptr %12, ptr %5, align 8, !tbaa !5
  %13 = load i32, ptr %12, align 8, !tbaa !11
  %cond = icmp eq i32 %13, 26
  br i1 %cond, label %10, label %.critedge

.critedge:                                        ; preds = %10
  %14 = tail call i32 @parse_condition(ptr noundef nonnull %0)
  %.not29 = icmp eq i32 %14, 0
  br i1 %.not29, label %15, label %17

15:                                               ; preds = %.critedge
  %16 = load i32, ptr @PARSE_ERROR, align 4, !tbaa !15
  br label %56

17:                                               ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %18 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.30) #6
  %19 = getelementptr inbounds i8, ptr %0, i64 48
  %20 = load ptr, ptr %19, align 8, !tbaa !16
  %21 = load ptr, ptr %2, align 8, !tbaa !17
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  call void @chunk_addcode(ptr noundef %20, ptr noundef %21, ptr noundef %22)
  %23 = load ptr, ptr %2, align 8, !tbaa !17
  call void @free(ptr noundef %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %24 = load i32, ptr @PARSE_OK, align 4, !tbaa !15
  br label %56

25:                                               ; preds = %1
  %26 = tail call i32 @parse_comparison(ptr noundef nonnull %0)
  %.not = icmp eq i32 %26, 0
  br i1 %.not, label %33, label %.preheader33

.preheader33:                                     ; preds = %25
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = load i32, ptr %27, align 8, !tbaa !11
  %29 = icmp eq i32 %28, 11
  br i1 %29, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader33
  %30 = getelementptr inbounds i8, ptr %3, i64 1
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = getelementptr inbounds i8, ptr %0, i64 48
  br label %35

33:                                               ; preds = %25
  %34 = load i32, ptr @PARSE_ERROR, align 4, !tbaa !15
  br label %56

35:                                               ; preds = %.lr.ph, %46
  %36 = phi ptr [ %27, %.lr.ph ], [ %52, %46 ]
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %3) #6
  store i8 108, ptr %3, align 1, !tbaa !18
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  %38 = load ptr, ptr %37, align 8, !tbaa !19
  %39 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) %38) #6
  br label %40

40:                                               ; preds = %40, %35
  call void @buzzlex_destroytok(ptr noundef nonnull %5) #6
  %41 = load ptr, ptr %31, align 8, !tbaa !14
  %42 = call ptr @buzzlex_nexttok(ptr noundef %41) #6
  store ptr %42, ptr %5, align 8, !tbaa !5
  %43 = load i32, ptr %42, align 8, !tbaa !11
  %cond30 = icmp eq i32 %43, 26
  br i1 %cond30, label %40, label %.critedge2

.critedge2:                                       ; preds = %40
  %44 = call i32 @parse_comparison(ptr noundef nonnull %0)
  %.not27 = icmp eq i32 %44, 0
  br i1 %.not27, label %.thread, label %46

.thread:                                          ; preds = %.critedge2
  %45 = load i32, ptr @PARSE_ERROR, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %3) #6
  br label %56

46:                                               ; preds = %.critedge2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %47 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.31, ptr noundef nonnull %3) #6
  %48 = load ptr, ptr %32, align 8, !tbaa !16
  %49 = load ptr, ptr %4, align 8, !tbaa !17
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  call void @chunk_addcode(ptr noundef %48, ptr noundef %49, ptr noundef %50)
  %51 = load ptr, ptr %4, align 8, !tbaa !17
  call void @free(ptr noundef %51) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %3) #6
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = load i32, ptr %52, align 8, !tbaa !11
  %54 = icmp eq i32 %53, 11
  br i1 %54, label %35, label %._crit_edge

._crit_edge:                                      ; preds = %46, %.preheader33
  %55 = load i32, ptr @PARSE_OK, align 4, !tbaa !15
  br label %56

56:                                               ; preds = %.thread, %._crit_edge, %33, %17, %15
  %.2 = phi i32 [ %24, %17 ], [ %16, %15 ], [ %55, %._crit_edge ], [ %34, %33 ], [ %45, %.thread ]
  ret i32 %.2
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #5

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

!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 = !{!6, !7, i64 24}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !7, i64 48}
!17 = !{!7, !7, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!12, !7, i64 8}


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