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

@stderr = external global ptr, align 8
@_ZTISt9exception = external constant ptr
@.str.1 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #0

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

declare ptr @__cxa_allocate_exception(i64)

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

; Function Attrs: nounwind
declare void @_ZNSt9exceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12gz_generator9grammar_c11parse_linesEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %class.token_c, align 4
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @_ZN7token_cC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %3)
  br label %7

7:                                                ; preds = %41, %1
  br label %8

8:                                                ; preds = %7
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  %9 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %6, i32 0, i32 0
  %10 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef %3)
  store i8 %10, ptr %4, align 1, !tbaa !9
  %11 = load i8, ptr %4, align 1, !tbaa !9
  %12 = zext i8 %11 to i32
  switch i32 %12, label %30 [
    i32 0, label %13
    i32 2, label %38
    i32 6, label %16
    i32 3, label %17
    i32 5, label %18
    i32 4, label %19
    i32 10, label %20
    i32 11, label %21
    i32 12, label %22
    i32 7, label %23
    i32 13, label %24
    i32 16, label %25
    i32 18, label %26
    i32 19, label %27
    i32 21, label %28
    i32 22, label %29
  ]

13:                                               ; preds = %8
  %14 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %6, i32 0, i32 1
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  call void @_ZN12gz_generator5gen_c4finiEv(ptr noundef nonnull align 8 dereferenceable(178336) %15)
  store i32 1, ptr %5, align 4
  br label %39

16:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c11parse_blockEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

17:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c7parse_lEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

18:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c7parse_mEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

19:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c7parse_rEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

20:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32) %6, i8 noundef zeroext 0)
  br label %38

21:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32) %6, i8 noundef zeroext 1)
  br label %38

22:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32) %6, i8 noundef zeroext 2)
  br label %38

23:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c12parse_bfinalEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

24:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c9parse_logEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

25:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c14parse_testmodeEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

26:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c11parse_noeobEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

27:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c10parse_boutEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

28:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c9parse_padEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

29:                                               ; preds = %8
  call void @_ZN12gz_generator9grammar_c9parse_setEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

30:                                               ; preds = %8
  %31 = load ptr, ptr @stderr, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.gz_generator::grammar_c", ptr %6, i32 0, i32 0
  %33 = call noundef i32 @_ZNK14token_parser_c8line_numEv(ptr noundef nonnull align 8 dereferenceable(24) %32)
  %34 = load i8, ptr %4, align 1, !tbaa !9
  %35 = zext i8 %34 to i32
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.1, i32 noundef %33, i32 noundef %35) #5
  %37 = call ptr @__cxa_allocate_exception(i64 8) #5
  call void @_ZNSt9exceptionC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #5
  call void @__cxa_throw(ptr %37, ptr @_ZTISt9exception, ptr @_ZNSt9exceptionD1Ev) #6
  unreachable

38:                                               ; preds = %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %8
  store i32 0, ptr %5, align 4
  br label %39

39:                                               ; preds = %38, %13
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  %40 = load i32, ptr %5, align 4
  switch i32 %40, label %42 [
    i32 0, label %41
  ]

41:                                               ; preds = %39
  br label %7, !llvm.loop !17

42:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7token_cC2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #1 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) #2 align 2

declare void @_ZN12gz_generator5gen_c4finiEv(ptr noundef nonnull align 8 dereferenceable(178336)) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef zeroext) #2 align 2

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

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

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

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

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

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

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

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

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

!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 = !{!"_ZTS12token_type_t", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"_ZTSN12gz_generator9grammar_cE", !13, i64 0, !6, i64 24}
!13 = !{!"_ZTS14token_parser_c", !6, i64 0, !14, i64 8, !16, i64 16, !15, i64 20}
!14 = !{!"_ZTS7token_c", !10, i64 0, !15, i64 4}
!15 = !{!"int", !7, i64 0}
!16 = !{!"bool", !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"

%class.token_c = type { i8, i32 }

@stderr = external local_unnamed_addr global ptr, align 8
@_ZTISt9exception = external constant ptr
@.str.1 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

; Function Attrs: nounwind
declare void @_ZNSt9exceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12gz_generator9grammar_c11parse_linesEv(ptr noundef nonnull align 8 dereferenceable(32) %0) local_unnamed_addr #3 align 2 {
  %2 = alloca %class.token_c, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  call void @_ZN7token_cC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %2)
  br label %3

3:                                                ; preds = %.backedge, %1
  %4 = call noundef zeroext i8 @_ZN14token_parser_c9get_tokenEP7token_c(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %2)
  switch i8 %4, label %21 [
    i8 0, label %.critedge
    i8 2, label %.backedge
    i8 6, label %7
    i8 3, label %8
    i8 5, label %9
    i8 4, label %10
    i8 10, label %11
    i8 11, label %12
    i8 12, label %13
    i8 7, label %14
    i8 13, label %15
    i8 16, label %16
    i8 18, label %17
    i8 19, label %18
    i8 21, label %19
    i8 22, label %20
  ]

.backedge:                                        ; preds = %3, %7, %8, %9, %10, %11, %12, %13, %14, %15, %16, %17, %18, %19, %20
  br label %3, !llvm.loop !5

.critedge:                                        ; preds = %3
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load ptr, ptr %5, align 8, !tbaa !7
  call void @_ZN12gz_generator5gen_c4finiEv(ptr noundef nonnull align 8 dereferenceable(178336) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  ret void

7:                                                ; preds = %3
  call void @_ZN12gz_generator9grammar_c11parse_blockEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %.backedge

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

9:                                                ; preds = %3
  call void @_ZN12gz_generator9grammar_c7parse_mEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %.backedge

10:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c7parse_rEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %.backedge

11:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 noundef zeroext 0)
  br label %.backedge

12:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 noundef zeroext 1)
  br label %.backedge

13:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 noundef zeroext 2)
  br label %.backedge

14:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c12parse_bfinalEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %.backedge

15:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c9parse_logEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %.backedge

16:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c14parse_testmodeEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %.backedge

17:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c11parse_noeobEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %.backedge

18:                                               ; preds = %3
  call void @_ZN12gz_generator9grammar_c10parse_boutEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %.backedge

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

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

21:                                               ; preds = %3
  %22 = zext i8 %4 to i32
  %23 = load ptr, ptr @stderr, align 8, !tbaa !17
  %24 = call noundef i32 @_ZNK14token_parser_c8line_numEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.1, i32 noundef %24, i32 noundef %22) #7
  %26 = call ptr @__cxa_allocate_exception(i64 8) #6
  call void @_ZNSt9exceptionC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  call void @__cxa_throw(ptr nonnull %26, ptr nonnull @_ZTISt9exception, ptr nonnull @_ZNSt9exceptionD1Ev) #8
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7token_cC2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #1 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 #3 align 2

declare void @_ZN12gz_generator5gen_c4finiEv(ptr noundef nonnull align 8 dereferenceable(178336)) local_unnamed_addr #5

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator9grammar_c10parse_lensENS_10len_type_tE(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef zeroext) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !10, i64 24}
!8 = !{!"_ZTSN12gz_generator9grammar_cE", !9, i64 0, !10, i64 24}
!9 = !{!"_ZTS14token_parser_c", !10, i64 0, !13, i64 8, !16, i64 16, !15, i64 20}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTS7token_c", !14, i64 0, !15, i64 4}
!14 = !{!"_ZTS12token_type_t", !11, i64 0}
!15 = !{!"int", !11, i64 0}
!16 = !{!"bool", !11, i64 0}
!17 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopUnrollPass,SROAPass,SimplifyCFGPass