; LLVM IR from askforalfred/alfred :: gen/ff_planner (parse)

; 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._PlNode = type { i32, ptr, ptr, i32, i32, ptr, ptr, ptr, ptr }
%struct._TypedList = type { ptr, ptr, i32, ptr }
%struct._TokenList = type { ptr, ptr }

@lnum_types = external dso_local global i32, align 4
@ltype_names = external dso_local global [50 x ptr], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @copy_Token(ptr noundef) #0

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

declare ptr @new_Token(i32 noundef) #2

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

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

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

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @collect_type_names_in_pl(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = icmp ne ptr %9, null
  br i1 %10, label %12, label %11

11:                                               ; preds = %1
  store i32 1, ptr %8, align 4
  br label %118

12:                                               ; preds = %1
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct._PlNode, ptr %13, i32 0, i32 0
  %15 = load i32, ptr %14, align 8, !tbaa !9
  switch i32 %15, label %116 [
    i32 2008, label %16
    i32 2009, label %16
    i32 2006, label %88
    i32 2007, label %88
    i32 2005, label %102
    i32 2002, label %106
    i32 2000, label %106
    i32 2001, label %106
    i32 2010, label %107
  ]

16:                                               ; preds = %12, %12
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._PlNode, ptr %17, i32 0, i32 1
  %19 = load ptr, ptr %18, align 8, !tbaa !12
  store ptr %19, ptr %4, align 8, !tbaa !5
  br label %20

20:                                               ; preds = %80, %16
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %84

23:                                               ; preds = %20
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._TypedList, ptr %24, i32 0, i32 1
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  %27 = getelementptr inbounds %struct._TokenList, ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !15
  %29 = icmp ne ptr %28, null
  br i1 %29, label %30, label %53

30:                                               ; preds = %23
  %31 = call ptr @new_Token(i32 noundef 256)
  store ptr %31, ptr %6, align 8, !tbaa !5
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call ptr @strcpy(ptr noundef %32, ptr noundef @.str) #4
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._TypedList, ptr %34, i32 0, i32 1
  %36 = load ptr, ptr %35, align 8, !tbaa !13
  store ptr %36, ptr %5, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %48, %30
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = icmp ne ptr %38, null
  br i1 %39, label %40, label %52

40:                                               ; preds = %37
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = call ptr @strcat(ptr noundef %41, ptr noundef @.str.1) #4
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._TokenList, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !17
  %47 = call ptr @strcat(ptr noundef %43, ptr noundef %46) #4
  br label %48

48:                                               ; preds = %40
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._TokenList, ptr %49, i32 0, i32 1
  %51 = load ptr, ptr %50, align 8, !tbaa !15
  store ptr %51, ptr %5, align 8, !tbaa !5
  br label %37, !llvm.loop !18

52:                                               ; preds = %37
  br label %60

53:                                               ; preds = %23
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._TypedList, ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  %57 = getelementptr inbounds %struct._TokenList, ptr %56, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !17
  %59 = call ptr @copy_Token(ptr noundef %58)
  store ptr %59, ptr %6, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %53, %52
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = call i32 @get_type(ptr noundef %61)
  store i32 %62, ptr %7, align 4, !tbaa !20
  %63 = icmp eq i32 %62, -1
  br i1 %63, label %64, label %74

64:                                               ; preds = %60
  %65 = load i32, ptr @lnum_types, align 4, !tbaa !20
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct._TypedList, ptr %66, i32 0, i32 2
  store i32 %65, ptr %67, align 8, !tbaa !21
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = call ptr @copy_Token(ptr noundef %68)
  %70 = load i32, ptr @lnum_types, align 4, !tbaa !20
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr @lnum_types, align 4, !tbaa !20
  %72 = sext i32 %70 to i64
  %73 = getelementptr inbounds [50 x ptr], ptr @ltype_names, i64 0, i64 %72
  store ptr %69, ptr %73, align 8, !tbaa !5
  br label %78

74:                                               ; preds = %60
  %75 = load i32, ptr %7, align 4, !tbaa !20
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._TypedList, ptr %76, i32 0, i32 2
  store i32 %75, ptr %77, align 8, !tbaa !21
  br label %78

78:                                               ; preds = %74, %64
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %79) #4
  store ptr null, ptr %6, align 8, !tbaa !5
  br label %80

80:                                               ; preds = %78
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._TypedList, ptr %81, i32 0, i32 3
  %83 = load ptr, ptr %82, align 8, !tbaa !22
  store ptr %83, ptr %4, align 8, !tbaa !5
  br label %20, !llvm.loop !23

84:                                               ; preds = %20
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._PlNode, ptr %85, i32 0, i32 7
  %87 = load ptr, ptr %86, align 8, !tbaa !24
  call void @collect_type_names_in_pl(ptr noundef %87)
  br label %117

88:                                               ; preds = %12, %12
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct._PlNode, ptr %89, i32 0, i32 7
  %91 = load ptr, ptr %90, align 8, !tbaa !24
  store ptr %91, ptr %3, align 8, !tbaa !5
  br label %92

92:                                               ; preds = %97, %88
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %101

95:                                               ; preds = %92
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  call void @collect_type_names_in_pl(ptr noundef %96)
  br label %97

97:                                               ; preds = %95
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._PlNode, ptr %98, i32 0, i32 8
  %100 = load ptr, ptr %99, align 8, !tbaa !25
  store ptr %100, ptr %3, align 8, !tbaa !5
  br label %92, !llvm.loop !26

101:                                              ; preds = %92
  br label %117

102:                                              ; preds = %12
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct._PlNode, ptr %103, i32 0, i32 7
  %105 = load ptr, ptr %104, align 8, !tbaa !24
  call void @collect_type_names_in_pl(ptr noundef %105)
  br label %117

106:                                              ; preds = %12, %12, %12
  br label %117

107:                                              ; preds = %12
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct._PlNode, ptr %108, i32 0, i32 7
  %110 = load ptr, ptr %109, align 8, !tbaa !24
  call void @collect_type_names_in_pl(ptr noundef %110)
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct._PlNode, ptr %111, i32 0, i32 7
  %113 = load ptr, ptr %112, align 8, !tbaa !24
  %114 = getelementptr inbounds %struct._PlNode, ptr %113, i32 0, i32 8
  %115 = load ptr, ptr %114, align 8, !tbaa !25
  call void @collect_type_names_in_pl(ptr noundef %115)
  br label %117

116:                                              ; preds = %12
  br label %117

117:                                              ; preds = %116, %107, %106, %102, %101, %84
  store i32 0, ptr %8, align 4
  br label %118

118:                                              ; preds = %117, %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %119 = load i32, ptr %8, align 4
  switch i32 %119, label %121 [
    i32 0, label %120
    i32 1, label %120
  ]

120:                                              ; preds = %118, %118
  ret void

121:                                              ; preds = %118
  unreachable
}

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 "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, !11, i64 0}
!10 = !{!"_PlNode", !11, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 28, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !6, i64 8}
!14 = !{!"_TypedList", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24}
!15 = !{!16, !6, i64 8}
!16 = !{!"_TokenList", !6, i64 0, !6, i64 8}
!17 = !{!16, !6, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!11, !11, i64 0}
!21 = !{!14, !11, i64 16}
!22 = !{!14, !6, i64 24}
!23 = distinct !{!23, !19}
!24 = !{!10, !6, i64 48}
!25 = !{!10, !6, i64 56}
!26 = distinct !{!26, !19}


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

@lnum_types = external dso_local local_unnamed_addr global i32, align 4
@ltype_names = external dso_local local_unnamed_addr global [50 x ptr], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

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

declare ptr @new_Token(i32 noundef) local_unnamed_addr #1

; 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 #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @collect_type_names_in_pl(ptr noundef readonly %0) local_unnamed_addr #0 {
  %.not46 = icmp eq ptr %0, null
  br i1 %.not46, label %.loopexit, label %.lr.ph49

.lr.ph49:                                         ; preds = %1, %tailrecurse.backedge
  %.tr47 = phi ptr [ %.tr.be, %tailrecurse.backedge ], [ %0, %1 ]
  %2 = load i32, ptr %.tr47, align 8, !tbaa !5
  switch i32 %2, label %.loopexit [
    i32 2008, label %3
    i32 2009, label %3
    i32 2006, label %34
    i32 2007, label %34
    i32 2005, label %37
    i32 2010, label %39
  ]

3:                                                ; preds = %.lr.ph49, %.lr.ph49
  %4 = getelementptr inbounds i8, ptr %.tr47, i64 8
  %.02942 = load ptr, ptr %4, align 8, !tbaa !11
  %.not3343 = icmp eq ptr %.02942, null
  br i1 %.not3343, label %._crit_edge, label %.lr.ph45

.lr.ph45:                                         ; preds = %3, %31
  %.02944 = phi ptr [ %.029, %31 ], [ %.02942, %3 ]
  %5 = getelementptr inbounds i8, ptr %.02944, i64 8
  %6 = load ptr, ptr %5, align 8, !tbaa !12
  %7 = getelementptr inbounds i8, ptr %6, i64 8
  %8 = load ptr, ptr %7, align 8, !tbaa !14
  %.not34 = icmp eq ptr %8, null
  br i1 %.not34, label %16, label %9

9:                                                ; preds = %.lr.ph45
  %10 = tail call ptr @new_Token(i32 noundef 256) #4
  %11 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str) #4
  %.02839 = load ptr, ptr %5, align 8, !tbaa !11
  %.not3540 = icmp eq ptr %.02839, null
  br i1 %.not3540, label %.loopexit36, label %.lr.ph

.lr.ph:                                           ; preds = %9, %.lr.ph
  %.02841 = phi ptr [ %.028, %.lr.ph ], [ %.02839, %9 ]
  %12 = tail call ptr @strcat(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) @.str.1) #4
  %13 = load ptr, ptr %.02841, align 8, !tbaa !16
  %14 = tail call ptr @strcat(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) %13) #4
  %15 = getelementptr inbounds i8, ptr %.02841, i64 8
  %.028 = load ptr, ptr %15, align 8, !tbaa !11
  %.not35 = icmp eq ptr %.028, null
  br i1 %.not35, label %.loopexit36, label %.lr.ph, !llvm.loop !17

16:                                               ; preds = %.lr.ph45
  %17 = load ptr, ptr %6, align 8, !tbaa !16
  %18 = tail call ptr @copy_Token(ptr noundef %17)
  br label %.loopexit36

.loopexit36:                                      ; preds = %.lr.ph, %9, %16
  %.027 = phi ptr [ %18, %16 ], [ %10, %9 ], [ %10, %.lr.ph ]
  %19 = tail call i32 @get_type(ptr noundef %.027)
  %20 = icmp eq i32 %19, -1
  br i1 %20, label %21, label %29

21:                                               ; preds = %.loopexit36
  %22 = load i32, ptr @lnum_types, align 4, !tbaa !19
  %23 = getelementptr inbounds i8, ptr %.02944, i64 16
  store i32 %22, ptr %23, align 8, !tbaa !20
  %24 = tail call ptr @copy_Token(ptr noundef %.027)
  %25 = load i32, ptr @lnum_types, align 4, !tbaa !19
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr @lnum_types, align 4, !tbaa !19
  %27 = sext i32 %25 to i64
  %28 = getelementptr inbounds [50 x ptr], ptr @ltype_names, i64 0, i64 %27
  store ptr %24, ptr %28, align 8, !tbaa !11
  br label %31

29:                                               ; preds = %.loopexit36
  %30 = getelementptr inbounds i8, ptr %.02944, i64 16
  store i32 %19, ptr %30, align 8, !tbaa !20
  br label %31

31:                                               ; preds = %29, %21
  tail call void @free(ptr noundef %.027) #4
  %32 = getelementptr inbounds i8, ptr %.02944, i64 24
  %.029 = load ptr, ptr %32, align 8, !tbaa !11
  %.not33 = icmp eq ptr %.029, null
  br i1 %.not33, label %._crit_edge, label %.lr.ph45, !llvm.loop !21

._crit_edge:                                      ; preds = %31, %3
  %33 = getelementptr inbounds i8, ptr %.tr47, i64 48
  br label %tailrecurse.backedge

tailrecurse.backedge:                             ; preds = %._crit_edge, %37, %39
  %.tr.be.in = phi ptr [ %33, %._crit_edge ], [ %38, %37 ], [ %43, %39 ]
  %.tr.be = load ptr, ptr %.tr.be.in, align 8, !tbaa !11
  %.not = icmp eq ptr %.tr.be, null
  br i1 %.not, label %.loopexit, label %.lr.ph49

34:                                               ; preds = %.lr.ph49, %.lr.ph49
  %35 = getelementptr inbounds i8, ptr %.tr47, i64 48
  %.050 = load ptr, ptr %35, align 8, !tbaa !11
  %.not3251 = icmp eq ptr %.050, null
  br i1 %.not3251, label %.loopexit, label %.lr.ph54

.lr.ph54:                                         ; preds = %34, %.lr.ph54
  %.052 = phi ptr [ %.0, %.lr.ph54 ], [ %.050, %34 ]
  tail call void @collect_type_names_in_pl(ptr noundef nonnull %.052)
  %36 = getelementptr inbounds i8, ptr %.052, i64 56
  %.0 = load ptr, ptr %36, align 8, !tbaa !11
  %.not32 = icmp eq ptr %.0, null
  br i1 %.not32, label %.loopexit, label %.lr.ph54, !llvm.loop !22

37:                                               ; preds = %.lr.ph49
  %38 = getelementptr inbounds i8, ptr %.tr47, i64 48
  br label %tailrecurse.backedge

39:                                               ; preds = %.lr.ph49
  %40 = getelementptr inbounds i8, ptr %.tr47, i64 48
  %41 = load ptr, ptr %40, align 8, !tbaa !23
  tail call void @collect_type_names_in_pl(ptr noundef %41)
  %42 = load ptr, ptr %40, align 8, !tbaa !23
  %43 = getelementptr inbounds i8, ptr %42, i64 56
  br label %tailrecurse.backedge

.loopexit:                                        ; preds = %tailrecurse.backedge, %.lr.ph49, %.lr.ph54, %1, %34
  ret void
}

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


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