; LLVM IR from Gottox/sqsh-tools :: tools/src (ls)

; 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.option = type { ptr, i32, ptr, i32 }

@stdout = external global ptr, align 8
@print_segment = external hidden global ptr, align 8
@opts = external hidden constant [10 x i8], align 1
@long_opts = external hidden constant [9 x %struct.option], align 16
@optarg = external global ptr, align 8
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@recursive = external hidden global i8, align 1
@print_item = external hidden global ptr, align 8
@utc = external hidden global i8, align 1
@optind = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  store i8 0, ptr %6, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store i64 0, ptr %11, align 8, !tbaa !13
  %13 = load ptr, ptr @stdout, align 8, !tbaa !9
  %14 = call i32 @fileno(ptr noundef %13) #4
  %15 = call i32 @isatty(i32 noundef %14) #4
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %18

17:                                               ; preds = %2
  store ptr @print_escaped, ptr @print_segment, align 8, !tbaa !9
  br label %18

18:                                               ; preds = %17, %2
  br label %19

19:                                               ; preds = %41, %18
  %20 = load i32, ptr %4, align 4, !tbaa !5
  %21 = load ptr, ptr %5, align 8, !tbaa !9
  %22 = call i32 @getopt_long(i32 noundef %20, ptr noundef %21, ptr noundef @opts, ptr noundef @long_opts, ptr noundef null) #4
  store i32 %22, ptr %8, align 4, !tbaa !5
  %23 = icmp ne i32 %22, -1
  br i1 %23, label %24, label %42

24:                                               ; preds = %19
  %25 = load i32, ptr %8, align 4, !tbaa !5
  switch i32 %25, label %36 [
    i32 111, label %26
    i32 118, label %29
    i32 114, label %31
    i32 108, label %32
    i32 117, label %33
    i32 82, label %34
    i32 101, label %35
  ]

26:                                               ; preds = %24
  %27 = load ptr, ptr @optarg, align 8, !tbaa !9
  %28 = call i64 @strtoull(ptr noundef %27, ptr noundef null, i32 noundef 0) #4
  store i64 %28, ptr %11, align 8, !tbaa !13
  br label %41

29:                                               ; preds = %24
  %30 = call i32 @puts(ptr noundef @.str)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %109

31:                                               ; preds = %24
  store i8 1, ptr @recursive, align 1, !tbaa !11
  br label %41

32:                                               ; preds = %24
  store ptr @print_detail, ptr @print_item, align 8, !tbaa !9
  br label %41

33:                                               ; preds = %24
  store i8 1, ptr @utc, align 1, !tbaa !11
  br label %41

34:                                               ; preds = %24
  store ptr @print_raw, ptr @print_segment, align 8, !tbaa !9
  br label %41

35:                                               ; preds = %24
  store ptr @print_escaped, ptr @print_segment, align 8, !tbaa !9
  br label %41

36:                                               ; preds = %24
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  %38 = getelementptr inbounds ptr, ptr %37, i64 0
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = call i32 @usage(ptr noundef %39)
  store i32 %40, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %109

41:                                               ; preds = %35, %34, %33, %32, %31, %26
  br label %19, !llvm.loop !15

42:                                               ; preds = %19
  %43 = load i32, ptr @optind, align 4, !tbaa !5
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = icmp sge i32 %43, %44
  br i1 %45, label %46, label %51

46:                                               ; preds = %42
  %47 = load ptr, ptr %5, align 8, !tbaa !9
  %48 = getelementptr inbounds ptr, ptr %47, i64 0
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = call i32 @usage(ptr noundef %49)
  store i32 %50, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %109

51:                                               ; preds = %42
  %52 = load ptr, ptr %5, align 8, !tbaa !9
  %53 = load i32, ptr @optind, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds ptr, ptr %52, i64 %54
  %56 = load ptr, ptr %55, align 8, !tbaa !9
  store ptr %56, ptr %9, align 8, !tbaa !9
  %57 = load i32, ptr @optind, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr @optind, align 4, !tbaa !5
  %59 = call i32 @setenv(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 0) #4
  %60 = load ptr, ptr %9, align 8, !tbaa !9
  %61 = load i64, ptr %11, align 8, !tbaa !13
  %62 = call ptr @open_archive(ptr noundef %60, i64 noundef %61, ptr noundef %7)
  store ptr %62, ptr %10, align 8, !tbaa !9
  %63 = load i32, ptr %7, align 4, !tbaa !5
  %64 = icmp slt i32 %63, 0
  br i1 %64, label %65, label %68

65:                                               ; preds = %51
  %66 = load i32, ptr %7, align 4, !tbaa !5
  %67 = load ptr, ptr %9, align 8, !tbaa !9
  call void @sqsh_perror(i32 noundef %66, ptr noundef %67)
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %101

68:                                               ; preds = %51
  br label %69

69:                                               ; preds = %85, %68
  %70 = load i32, ptr @optind, align 4, !tbaa !5
  %71 = load i32, ptr %4, align 4, !tbaa !5
  %72 = icmp slt i32 %70, %71
  br i1 %72, label %73, label %88

73:                                               ; preds = %69
  store i8 1, ptr %6, align 1, !tbaa !11
  %74 = load ptr, ptr %10, align 8, !tbaa !9
  %75 = load ptr, ptr %5, align 8, !tbaa !9
  %76 = load i32, ptr @optind, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds ptr, ptr %75, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = call i32 @ls_path(ptr noundef %74, ptr noundef %79)
  store i32 %80, ptr %7, align 4, !tbaa !5
  %81 = load i32, ptr %7, align 4, !tbaa !5
  %82 = icmp slt i32 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %73
  br label %101

84:                                               ; preds = %73
  br label %85

85:                                               ; preds = %84
  %86 = load i32, ptr @optind, align 4, !tbaa !5
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr @optind, align 4, !tbaa !5
  br label %69, !llvm.loop !17

88:                                               ; preds = %69
  %89 = load i8, ptr %6, align 1, !tbaa !11, !range !18, !noundef !19
  %90 = trunc i8 %89 to i1
  %91 = zext i1 %90 to i32
  %92 = icmp eq i32 %91, 0
  br i1 %92, label %93, label %100

93:                                               ; preds = %88
  %94 = load ptr, ptr %10, align 8, !tbaa !9
  %95 = call i32 @ls_path(ptr noundef %94, ptr noundef @.str.3)
  store i32 %95, ptr %7, align 4, !tbaa !5
  %96 = load i32, ptr %7, align 4, !tbaa !5
  %97 = icmp slt i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %93
  br label %101

99:                                               ; preds = %93
  br label %100

100:                                              ; preds = %99, %88
  br label %101

101:                                              ; preds = %100, %98, %83, %65
  %102 = load i32, ptr %7, align 4, !tbaa !5
  %103 = icmp slt i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %101
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %104, %101
  %106 = load ptr, ptr %10, align 8, !tbaa !9
  %107 = call i32 @sqsh_archive_close(ptr noundef %106)
  %108 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %108, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %109

109:                                              ; preds = %105, %46, %36, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  %110 = load i32, ptr %3, align 4
  ret i32 %110
}

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

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) #2

; Function Attrs: nounwind
declare i32 @fileno(ptr noundef) #2

declare void @print_escaped(ptr noundef, i64 noundef) #3

; Function Attrs: nounwind
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i64 @strtoull(ptr noundef, ptr noundef, i32 noundef) #2

declare i32 @puts(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @print_detail(ptr noundef, ptr noundef) #0

declare void @print_raw(ptr noundef, i64 noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @usage(ptr noundef) #0

; Function Attrs: nounwind
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #2

declare ptr @open_archive(ptr noundef, i64 noundef, ptr noundef) #3

declare void @sqsh_perror(i32 noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @ls_path(ptr noundef, ptr noundef) #0

declare i32 @sqsh_archive_close(ptr noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{i8 0, i8 2}
!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"

%struct.option = type { ptr, i32, ptr, i32 }

@stdout = external local_unnamed_addr global ptr, align 8
@print_segment = external hidden local_unnamed_addr global ptr, align 8
@opts = external hidden constant [10 x i8], align 1
@long_opts = external hidden constant [9 x %struct.option], align 16
@optarg = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@recursive = external hidden local_unnamed_addr global i8, align 1
@print_item = external hidden local_unnamed_addr global ptr, align 8
@utc = external hidden local_unnamed_addr global i8, align 1
@optind = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  %4 = load ptr, ptr @stdout, align 8, !tbaa !9
  %5 = tail call i32 @fileno(ptr noundef %4) #6
  %6 = tail call i32 @isatty(i32 noundef %5) #6
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %.preheader35, label %7

7:                                                ; preds = %2
  store ptr @print_escaped, ptr @print_segment, align 8, !tbaa !9
  br label %.preheader35

.preheader35:                                     ; preds = %7, %2
  br label %.outer

.outer:                                           ; preds = %.preheader35, %10
  %.0.ph = phi i64 [ 0, %.preheader35 ], [ %12, %10 ]
  br label %8

8:                                                ; preds = %.backedge, %.outer
  %9 = tail call i32 @getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @opts, ptr noundef nonnull @long_opts, ptr noundef null) #6
  switch i32 %9, label %20 [
    i32 -1, label %23
    i32 111, label %10
    i32 118, label %13
    i32 114, label %15
    i32 108, label %16
    i32 117, label %17
    i32 82, label %18
    i32 101, label %19
  ]

10:                                               ; preds = %8
  %11 = load ptr, ptr @optarg, align 8, !tbaa !9
  %12 = tail call i64 @strtoull(ptr nocapture noundef %11, ptr noundef null, i32 noundef 0) #6
  br label %.outer, !llvm.loop !11

13:                                               ; preds = %8
  %14 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str)
  br label %53

15:                                               ; preds = %8
  store i8 1, ptr @recursive, align 1, !tbaa !13
  br label %.backedge

16:                                               ; preds = %8
  store ptr @print_detail, ptr @print_item, align 8, !tbaa !9
  br label %.backedge

17:                                               ; preds = %8
  store i8 1, ptr @utc, align 1, !tbaa !13
  br label %.backedge

18:                                               ; preds = %8
  store ptr @print_raw, ptr @print_segment, align 8, !tbaa !9
  br label %.backedge

19:                                               ; preds = %8
  store ptr @print_escaped, ptr @print_segment, align 8, !tbaa !9
  br label %.backedge

.backedge:                                        ; preds = %19, %18, %17, %16, %15
  br label %8, !llvm.loop !11

20:                                               ; preds = %8
  %21 = load ptr, ptr %1, align 8, !tbaa !9
  %22 = tail call i32 @usage(ptr noundef %21)
  br label %53

23:                                               ; preds = %8
  %24 = load i32, ptr @optind, align 4, !tbaa !5
  %.not24 = icmp slt i32 %24, %0
  br i1 %.not24, label %28, label %25

25:                                               ; preds = %23
  %26 = load ptr, ptr %1, align 8, !tbaa !9
  %27 = tail call i32 @usage(ptr noundef %26)
  br label %53

28:                                               ; preds = %23
  %29 = sext i32 %24 to i64
  %30 = getelementptr inbounds ptr, ptr %1, i64 %29
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = add nsw i32 %24, 1
  store i32 %32, ptr @optind, align 4, !tbaa !5
  %33 = tail call i32 @setenv(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 0) #6
  %34 = call ptr @open_archive(ptr noundef %31, i64 noundef %.0.ph, ptr noundef nonnull %3) #6
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = icmp slt i32 %35, 0
  br i1 %36, label %.thread25, label %.preheader

.preheader:                                       ; preds = %28
  %37 = load i32, ptr @optind, align 4, !tbaa !5
  %38 = icmp slt i32 %37, %0
  br i1 %38, label %.lr.ph, label %thread-pre-split

.thread25:                                        ; preds = %28
  call void @sqsh_perror(i32 noundef %35, ptr noundef %31) #6
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %thread-pre-split.thread

.lr.ph:                                           ; preds = %.preheader, %45
  %39 = phi i32 [ %47, %45 ], [ %37, %.preheader ]
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds ptr, ptr %1, i64 %40
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = call i32 @ls_path(ptr noundef %34, ptr noundef %42)
  store i32 %43, ptr %3, align 4, !tbaa !5
  %44 = icmp slt i32 %43, 0
  br i1 %44, label %.thread, label %45

45:                                               ; preds = %.lr.ph
  %46 = load i32, ptr @optind, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr @optind, align 4, !tbaa !5
  %48 = icmp slt i32 %47, %0
  br i1 %48, label %.lr.ph, label %thread-pre-split.thread, !llvm.loop !15

thread-pre-split:                                 ; preds = %.preheader
  %49 = call i32 @ls_path(ptr noundef %34, ptr noundef nonnull @.str.3)
  store i32 %49, ptr %3, align 4, !tbaa !5
  %50 = icmp slt i32 %49, 0
  br i1 %50, label %.thread, label %thread-pre-split.thread

.thread:                                          ; preds = %.lr.ph, %thread-pre-split
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %thread-pre-split.thread

thread-pre-split.thread:                          ; preds = %45, %.thread25, %.thread, %thread-pre-split
  %51 = call i32 @sqsh_archive_close(ptr noundef %34) #6
  %52 = load i32, ptr %3, align 4, !tbaa !5
  br label %53

53:                                               ; preds = %thread-pre-split.thread, %25, %20, %13
  %.016 = phi i32 [ %22, %20 ], [ 0, %13 ], [ %27, %25 ], [ %52, %thread-pre-split.thread ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  ret i32 %.016
}

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

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fileno(ptr nocapture noundef) local_unnamed_addr #3

declare void @print_escaped(ptr noundef, i64 noundef) #4

; Function Attrs: nounwind
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtoull(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @print_detail(ptr noundef, ptr noundef) #0

declare void @print_raw(ptr noundef, i64 noundef) #4

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

; Function Attrs: nounwind
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare ptr @open_archive(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #4

declare void @sqsh_perror(i32 noundef, ptr noundef) local_unnamed_addr #4

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

declare i32 @sqsh_archive_close(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 "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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"_Bool", !7, i64 0}
!15 = distinct !{!15, !12}


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