; LLVM IR from intel/qpl :: tools/utils/generators/deflate_generator (grammar)

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

%class.token_c = type { i8, i32 }
%"class.gz_generator::grammar_c" = type { %class.token_parser_c, ptr }
%class.token_parser_c = type { ptr, %class.token_c, i8, i32 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7token_cC2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 noundef zeroext %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca %class.token_c, align 4
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i8 %1, ptr %4, align 1, !tbaa !9
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @_ZN7token_cC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %11 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 0
  %12 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef %5)
  store i8 %12, ptr %7, align 1, !tbaa !13
  %13 = load i8, ptr %7, align 1, !tbaa !13
  %14 = zext i8 %13 to i32
  %15 = icmp eq i32 %14, 14
  br i1 %15, label %16, label %24

16:                                               ; preds = %2
  %17 = load i8, ptr %4, align 1, !tbaa !9
  %18 = zext i8 %17 to i32
  %19 = icmp ne i32 %18, 2
  br i1 %19, label %20, label %21

20:                                               ; preds = %16
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  br label %21

21:                                               ; preds = %20, %16
  store i8 3, ptr %4, align 1, !tbaa !9
  %22 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 0
  %23 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef %5)
  store i8 %23, ptr %7, align 1, !tbaa !13
  br label %24

24:                                               ; preds = %21, %2
  %25 = load i8, ptr %7, align 1, !tbaa !13
  %26 = zext i8 %25 to i32
  %27 = icmp eq i32 %26, 15
  br i1 %27, label %28, label %38

28:                                               ; preds = %24
  %29 = load i8, ptr %4, align 1, !tbaa !9
  %30 = zext i8 %29 to i32
  switch i32 %30, label %34 [
    i32 0, label %31
    i32 1, label %32
    i32 2, label %33
  ]

31:                                               ; preds = %28
  store i8 4, ptr %4, align 1, !tbaa !9
  br label %35

32:                                               ; preds = %28
  store i8 5, ptr %4, align 1, !tbaa !9
  br label %35

33:                                               ; preds = %28
  store i8 6, ptr %4, align 1, !tbaa !9
  br label %35

34:                                               ; preds = %28
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  br label %35

35:                                               ; preds = %34, %33, %32, %31
  %36 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 0
  %37 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef %5)
  store i8 %37, ptr %7, align 1, !tbaa !13
  br label %38

38:                                               ; preds = %35, %24
  br label %39

39:                                               ; preds = %107, %65, %38
  br label %40

40:                                               ; preds = %39
  %41 = load i8, ptr %7, align 1, !tbaa !13
  %42 = zext i8 %41 to i32
  %43 = icmp ne i32 %42, 1
  br i1 %43, label %44, label %45

44:                                               ; preds = %40
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  br label %45

45:                                               ; preds = %44, %40
  %46 = call noundef i32 @_ZNK7token_c11get_m_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %5)
  store i32 %46, ptr %6, align 4, !tbaa !11
  %47 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 0
  %48 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef %5)
  store i8 %48, ptr %7, align 1, !tbaa !13
  %49 = load i8, ptr %7, align 1, !tbaa !13
  %50 = zext i8 %49 to i32
  %51 = icmp eq i32 %50, 2
  br i1 %51, label %56, label %52

52:                                               ; preds = %45
  %53 = load i8, ptr %7, align 1, !tbaa !13
  %54 = zext i8 %53 to i32
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %61

56:                                               ; preds = %52, %45
  %57 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = load i8, ptr %4, align 1, !tbaa !9
  %60 = load i32, ptr %6, align 4, !tbaa !11
  call void @_ZN12gz_generator5gen_c9proc_lensENS_10len_type_tEj(ptr noundef nonnull align 8 dereferenceable(178336) %58, i8 noundef zeroext %59, i32 noundef %60)
  store i32 1, ptr %8, align 4
  br label %108

61:                                               ; preds = %52
  %62 = load i8, ptr %7, align 1, !tbaa !13
  %63 = zext i8 %62 to i32
  %64 = icmp eq i32 %63, 1
  br i1 %64, label %65, label %70

65:                                               ; preds = %61
  %66 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 1
  %67 = load ptr, ptr %66, align 8, !tbaa !15
  %68 = load i8, ptr %4, align 1, !tbaa !9
  %69 = load i32, ptr %6, align 4, !tbaa !11
  call void @_ZN12gz_generator5gen_c9proc_lensENS_10len_type_tEj(ptr noundef nonnull align 8 dereferenceable(178336) %67, i8 noundef zeroext %68, i32 noundef %69)
  br label %39, !llvm.loop !20

70:                                               ; preds = %61
  %71 = load i8, ptr %7, align 1, !tbaa !13
  %72 = zext i8 %71 to i32
  %73 = icmp ne i32 %72, 24
  br i1 %73, label %74, label %75

74:                                               ; preds = %70
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  br label %75

75:                                               ; preds = %74, %70
  %76 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 0
  %77 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef %5)
  store i8 %77, ptr %7, align 1, !tbaa !13
  %78 = load i8, ptr %7, align 1, !tbaa !13
  %79 = zext i8 %78 to i32
  %80 = icmp ne i32 %79, 1
  br i1 %80, label %81, label %82

81:                                               ; preds = %75
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  br label %82

82:                                               ; preds = %81, %75
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %83

83:                                               ; preds = %93, %82
  %84 = load i32, ptr %9, align 4, !tbaa !11
  %85 = call noundef i32 @_ZNK7token_c11get_m_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %5)
  %86 = icmp ult i32 %84, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %83
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %96

88:                                               ; preds = %83
  %89 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !15
  %91 = load i8, ptr %4, align 1, !tbaa !9
  %92 = load i32, ptr %6, align 4, !tbaa !11
  call void @_ZN12gz_generator5gen_c9proc_lensENS_10len_type_tEj(ptr noundef nonnull align 8 dereferenceable(178336) %90, i8 noundef zeroext %91, i32 noundef %92)
  br label %93

93:                                               ; preds = %88
  %94 = load i32, ptr %9, align 4, !tbaa !11
  %95 = add i32 %94, 1
  store i32 %95, ptr %9, align 4, !tbaa !11
  br label %83, !llvm.loop !22

96:                                               ; preds = %87
  %97 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %10, i32 0, i32 0
  %98 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %97, ptr noundef %5)
  store i8 %98, ptr %7, align 1, !tbaa !13
  %99 = load i8, ptr %7, align 1, !tbaa !13
  %100 = zext i8 %99 to i32
  %101 = icmp eq i32 %100, 2
  br i1 %101, label %106, label %102

102:                                              ; preds = %96
  %103 = load i8, ptr %7, align 1, !tbaa !13
  %104 = zext i8 %103 to i32
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %106, label %107

106:                                              ; preds = %102, %96
  store i32 1, ptr %8, align 4
  br label %108

107:                                              ; preds = %102
  br label %39, !llvm.loop !20

108:                                              ; preds = %106, %56
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7token_c11get_m_valueEv(ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

declare void @_ZN12gz_generator5gen_c9proc_lensENS_10len_type_tEj(ptr noundef nonnull align 8 dereferenceable(178336), i8 noundef zeroext, i32 noundef) #3

attributes #0 = { mustprogress 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN12gz_generator10len_type_tE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTS12token_type_t", !7, i64 0}
!15 = !{!16, !6, i64 24}
!16 = !{!"_ZTSN12gz_generator9grammar_cE", !17, i64 0, !6, i64 24}
!17 = !{!"_ZTS14token_parser_c", !6, i64 0, !18, i64 8, !19, i64 16, !12, i64 20}
!18 = !{!"_ZTS7token_c", !14, i64 0, !12, i64 4}
!19 = !{!"bool", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


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

%class.token_c = type { i8, i32 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7token_cC2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 noundef zeroext %1) local_unnamed_addr #0 align 2 {
  %3 = alloca %class.token_c, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @_ZN7token_cC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %4 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %3)
  %5 = icmp eq i8 %4, 14
  br i1 %5, label %6, label %10

6:                                                ; preds = %2
  %.not = icmp eq i8 %1, 2
  br i1 %.not, label %8, label %7

7:                                                ; preds = %6
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %8

8:                                                ; preds = %7, %6
  %9 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %3)
  br label %10

10:                                               ; preds = %8, %2
  %.026 = phi i8 [ 3, %8 ], [ %1, %2 ]
  %.025 = phi i8 [ %9, %8 ], [ %4, %2 ]
  %11 = icmp eq i8 %.025, 15
  br i1 %11, label %12, label %17

12:                                               ; preds = %10
  %13 = icmp ult i8 %.026, 3
  br i1 %13, label %switch.lookup, label %14

14:                                               ; preds = %12
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %15

switch.lookup:                                    ; preds = %12
  %switch.offset = or disjoint i8 %.026, 4
  br label %15

15:                                               ; preds = %switch.lookup, %14
  %.127 = phi i8 [ %.026, %14 ], [ %switch.offset, %switch.lookup ]
  %16 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %3)
  br label %17

17:                                               ; preds = %15, %10
  %.228 = phi i8 [ %.127, %15 ], [ %.026, %10 ]
  %.1 = phi i8 [ %16, %15 ], [ %.025, %10 ]
  %18 = getelementptr inbounds i8, ptr %0, i64 24
  br label %.backedge

.backedge:                                        ; preds = %.backedge.backedge, %17
  %.2 = phi i8 [ %.1, %17 ], [ %.2.be, %.backedge.backedge ]
  %.not30 = icmp eq i8 %.2, 1
  br i1 %.not30, label %20, label %19

19:                                               ; preds = %.backedge
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %20

20:                                               ; preds = %19, %.backedge
  %21 = call noundef i32 @_ZNK7token_c11get_m_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %22 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %3)
  %23 = and i8 %22, -3
  %or.cond = icmp eq i8 %23, 0
  br i1 %or.cond, label %24, label %26

24:                                               ; preds = %20
  %25 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN12gz_generator5gen_c9proc_lensENS_10len_type_tEj(ptr noundef nonnull align 8 dereferenceable(178336) %25, i8 noundef zeroext %.228, i32 noundef %21)
  br label %.loopexit

26:                                               ; preds = %20
  switch i8 %22, label %29 [
    i8 1, label %27
    i8 24, label %30
  ]

27:                                               ; preds = %26
  %28 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN12gz_generator5gen_c9proc_lensENS_10len_type_tEj(ptr noundef nonnull align 8 dereferenceable(178336) %28, i8 noundef zeroext %.228, i32 noundef %21)
  br label %.backedge.backedge

.backedge.backedge:                               ; preds = %27, %._crit_edge
  %.2.be = phi i8 [ 1, %27 ], [ %35, %._crit_edge ]
  br label %.backedge, !llvm.loop !15

29:                                               ; preds = %26
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %30

30:                                               ; preds = %26, %29
  %31 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %3)
  %.not32 = icmp eq i8 %31, 1
  br i1 %.not32, label %33, label %32

32:                                               ; preds = %30
  call void @_ZN12gz_generator9grammar_c12syntax_errorEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %33

33:                                               ; preds = %32, %30
  %34 = call noundef i32 @_ZNK7token_c11get_m_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %.not35 = icmp eq i32 %34, 0
  br i1 %.not35, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %33
  %35 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %3)
  %36 = and i8 %35, -3
  %or.cond5 = icmp eq i8 %36, 0
  br i1 %or.cond5, label %.loopexit, label %.backedge.backedge

.lr.ph:                                           ; preds = %33, %.lr.ph
  %.034 = phi i32 [ %38, %.lr.ph ], [ 0, %33 ]
  %37 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN12gz_generator5gen_c9proc_lensENS_10len_type_tEj(ptr noundef nonnull align 8 dereferenceable(178336) %37, i8 noundef zeroext %.228, i32 noundef %21)
  %38 = add nuw i32 %.034, 1
  %39 = call noundef i32 @_ZNK7token_c11get_m_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %40 = icmp ult i32 %38, %39
  br i1 %40, label %.lr.ph, label %._crit_edge, !llvm.loop !17

.loopexit:                                        ; preds = %._crit_edge, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7token_c11get_m_valueEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

declare void @_ZN12gz_generator5gen_c9proc_lensENS_10len_type_tEj(ptr noundef nonnull align 8 dereferenceable(178336), i8 noundef zeroext, i32 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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, !8, i64 24}
!6 = !{!"_ZTSN12gz_generator9grammar_cE", !7, i64 0, !8, i64 24}
!7 = !{!"_ZTS14token_parser_c", !8, i64 0, !11, i64 8, !14, i64 16, !13, i64 20}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTS7token_c", !12, i64 0, !13, i64 4}
!12 = !{!"_ZTS12token_type_t", !9, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!"bool", !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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