; LLVM IR from clausecker/24puzzle :: test (indexbench)

; 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.timespec = type { i64, i64 }
%struct.puzzle = type { [25 x i8], [7 x i8], [25 x i8], [7 x i8] }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@optind = external global i32, align 4
@bench_ts = external hidden global [16 x i32], align 16
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 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 %struct.timespec, align 8
  %7 = alloca %struct.timespec, align 8
  %8 = alloca [16 x ptr], align 16
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = 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 16, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 128, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 10, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %37, %2
  %20 = load i32, ptr %4, align 4, !tbaa !5
  %21 = load ptr, ptr %5, align 8, !tbaa !9
  %22 = call i32 @__posix_getopt(i32 noundef %20, ptr noundef %21, ptr noundef @.str) #6
  store i32 %22, ptr %16, align 4, !tbaa !5
  %23 = load i32, ptr %16, align 4, !tbaa !5
  %24 = icmp ne i32 %23, -1
  br i1 %24, label %25, label %38

25:                                               ; preds = %19
  %26 = load i32, ptr %16, align 4, !tbaa !5
  switch i32 %26, label %33 [
    i32 122, label %27
    i32 108, label %30
  ]

27:                                               ; preds = %25
  %28 = load i32, ptr %17, align 4, !tbaa !5
  %29 = or i32 %28, 2
  store i32 %29, ptr %17, align 4, !tbaa !5
  br label %37

30:                                               ; preds = %25
  %31 = load i32, ptr %17, align 4, !tbaa !5
  %32 = or i32 %31, 1
  store i32 %32, ptr %17, align 4, !tbaa !5
  br label %37

33:                                               ; preds = %25
  %34 = load ptr, ptr %5, align 8, !tbaa !9
  %35 = getelementptr inbounds ptr, ptr %34, i64 0
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  call void @usage(ptr noundef %36)
  br label %37

37:                                               ; preds = %33, %30, %27
  br label %19, !llvm.loop !13

38:                                               ; preds = %19
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = load i32, ptr @optind, align 4, !tbaa !5
  %41 = sub nsw i32 %39, %40
  switch i32 %41, label %49 [
    i32 0, label %53
    i32 1, label %42
  ]

42:                                               ; preds = %38
  %43 = load ptr, ptr %5, align 8, !tbaa !9
  %44 = load i32, ptr @optind, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds ptr, ptr %43, i64 %45
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  %48 = call i64 @atol(ptr noundef %47) #7
  store i64 %48, ptr %14, align 8, !tbaa !11
  br label %53

49:                                               ; preds = %38
  %50 = load ptr, ptr %5, align 8, !tbaa !9
  %51 = getelementptr inbounds ptr, ptr %50, i64 0
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  call void @usage(ptr noundef %52)
  br label %53

53:                                               ; preds = %49, %42, %38
  %54 = load i32, ptr %17, align 4, !tbaa !5
  %55 = and i32 %54, 2
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %70

57:                                               ; preds = %53
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %58

58:                                               ; preds = %66, %57
  %59 = load i64, ptr %15, align 8, !tbaa !11
  %60 = icmp ult i64 %59, 16
  br i1 %60, label %61, label %69

61:                                               ; preds = %58
  %62 = load i64, ptr %15, align 8, !tbaa !11
  %63 = getelementptr inbounds [16 x i32], ptr @bench_ts, i64 0, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = or i32 %64, 1
  store i32 %65, ptr %63, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %61
  %67 = load i64, ptr %15, align 8, !tbaa !11
  %68 = add i64 %67, 1
  store i64 %68, ptr %15, align 8, !tbaa !11
  br label %58, !llvm.loop !15

69:                                               ; preds = %58
  br label %70

70:                                               ; preds = %69, %53
  %71 = load i32, ptr %17, align 4, !tbaa !5
  %72 = and i32 %71, 1
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %98

74:                                               ; preds = %70
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %75

75:                                               ; preds = %94, %74
  %76 = load i64, ptr %15, align 8, !tbaa !11
  %77 = icmp ult i64 %76, 16
  br i1 %77, label %78, label %97

78:                                               ; preds = %75
  %79 = load i64, ptr %15, align 8, !tbaa !11
  %80 = getelementptr inbounds [16 x i32], ptr @bench_ts, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = call ptr @pdb_allocate(i32 noundef %81)
  %83 = load i64, ptr %15, align 8, !tbaa !11
  %84 = getelementptr inbounds [16 x ptr], ptr %8, i64 0, i64 %83
  store ptr %82, ptr %84, align 8, !tbaa !9
  %85 = load i64, ptr %15, align 8, !tbaa !11
  %86 = getelementptr inbounds [16 x ptr], ptr %8, i64 0, i64 %85
  %87 = load ptr, ptr %86, align 8, !tbaa !9
  %88 = icmp eq ptr %87, null
  br i1 %88, label %89, label %90

89:                                               ; preds = %78
  call void @perror(ptr noundef @.str.1)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %180

90:                                               ; preds = %78
  %91 = load i64, ptr %15, align 8, !tbaa !11
  %92 = getelementptr inbounds [16 x ptr], ptr %8, i64 0, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  call void @randomize(ptr noundef %93)
  br label %94

94:                                               ; preds = %90
  %95 = load i64, ptr %15, align 8, !tbaa !11
  %96 = add i64 %95, 1
  store i64 %96, ptr %15, align 8, !tbaa !11
  br label %75, !llvm.loop !16

97:                                               ; preds = %75
  br label %119

98:                                               ; preds = %70
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %99

99:                                               ; preds = %115, %98
  %100 = load i64, ptr %15, align 8, !tbaa !11
  %101 = icmp ult i64 %100, 16
  br i1 %101, label %102, label %118

102:                                              ; preds = %99
  %103 = load i64, ptr %15, align 8, !tbaa !11
  %104 = getelementptr inbounds [16 x i32], ptr @bench_ts, i64 0, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = call ptr @pdb_dummy(i32 noundef %105)
  %107 = load i64, ptr %15, align 8, !tbaa !11
  %108 = getelementptr inbounds [16 x ptr], ptr %8, i64 0, i64 %107
  store ptr %106, ptr %108, align 8, !tbaa !9
  %109 = load i64, ptr %15, align 8, !tbaa !11
  %110 = getelementptr inbounds [16 x ptr], ptr %8, i64 0, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = icmp eq ptr %111, null
  br i1 %112, label %113, label %114

113:                                              ; preds = %102
  call void @perror(ptr noundef @.str.2)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %180

114:                                              ; preds = %102
  br label %115

115:                                              ; preds = %114
  %116 = load i64, ptr %15, align 8, !tbaa !11
  %117 = add i64 %116, 1
  store i64 %117, ptr %15, align 8, !tbaa !11
  br label %99, !llvm.loop !17

118:                                              ; preds = %99
  br label %119

119:                                              ; preds = %118, %97
  %120 = call noalias ptr @malloc(i64 noundef 64000000) #8
  store ptr %120, ptr %9, align 8, !tbaa !9
  %121 = load ptr, ptr %9, align 8, !tbaa !9
  %122 = icmp eq ptr %121, null
  br i1 %122, label %123, label %124

123:                                              ; preds = %119
  call void @perror(ptr noundef @.str.3)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %180

124:                                              ; preds = %119
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %125

125:                                              ; preds = %132, %124
  %126 = load i64, ptr %15, align 8, !tbaa !11
  %127 = icmp ult i64 %126, 1000000
  br i1 %127, label %128, label %135

128:                                              ; preds = %125
  %129 = load ptr, ptr %9, align 8, !tbaa !9
  %130 = load i64, ptr %15, align 8, !tbaa !11
  %131 = getelementptr inbounds %struct.puzzle, ptr %129, i64 %130
  call void @random_puzzle(ptr noundef %131)
  br label %132

132:                                              ; preds = %128
  %133 = load i64, ptr %15, align 8, !tbaa !11
  %134 = add i64 %133, 1
  store i64 %134, ptr %15, align 8, !tbaa !11
  br label %125, !llvm.loop !18

135:                                              ; preds = %125
  %136 = getelementptr inbounds [16 x ptr], ptr %8, i64 0, i64 0
  %137 = load ptr, ptr %9, align 8, !tbaa !9
  %138 = load i32, ptr %17, align 4, !tbaa !5
  call void @dobench(ptr noundef %136, ptr noundef @bench_ts, i64 noundef 16, ptr noundef %137, i64 noundef 1000000, i32 noundef %138)
  %139 = call i32 @clock_gettime(i32 noundef 0, ptr noundef %6) #6
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %140

140:                                              ; preds = %148, %135
  %141 = load i64, ptr %13, align 8, !tbaa !11
  %142 = load i64, ptr %14, align 8, !tbaa !11
  %143 = icmp slt i64 %141, %142
  br i1 %143, label %144, label %151

144:                                              ; preds = %140
  %145 = getelementptr inbounds [16 x ptr], ptr %8, i64 0, i64 0
  %146 = load ptr, ptr %9, align 8, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !5
  call void @dobench(ptr noundef %145, ptr noundef @bench_ts, i64 noundef 16, ptr noundef %146, i64 noundef 1000000, i32 noundef %147)
  br label %148

148:                                              ; preds = %144
  %149 = load i64, ptr %13, align 8, !tbaa !11
  %150 = add nsw i64 %149, 1
  store i64 %150, ptr %13, align 8, !tbaa !11
  br label %140, !llvm.loop !19

151:                                              ; preds = %140
  %152 = call i32 @clock_gettime(i32 noundef 0, ptr noundef %7) #6
  %153 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
  %154 = load i64, ptr %153, align 8, !tbaa !20
  %155 = sitofp i64 %154 to double
  %156 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
  %157 = load i64, ptr %156, align 8, !tbaa !22
  %158 = sitofp i64 %157 to double
  %159 = fdiv double %158, 1.000000e+09
  %160 = fadd double %155, %159
  store double %160, ptr %10, align 8, !tbaa !23
  %161 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
  %162 = load i64, ptr %161, align 8, !tbaa !20
  %163 = sitofp i64 %162 to double
  %164 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
  %165 = load i64, ptr %164, align 8, !tbaa !22
  %166 = sitofp i64 %165 to double
  %167 = fdiv double %166, 1.000000e+09
  %168 = fadd double %163, %167
  store double %168, ptr %11, align 8, !tbaa !23
  %169 = load double, ptr %11, align 8, !tbaa !23
  %170 = load double, ptr %10, align 8, !tbaa !23
  %171 = fsub double %169, %170
  store double %171, ptr %12, align 8, !tbaa !23
  %172 = load double, ptr %12, align 8, !tbaa !23
  %173 = load double, ptr %12, align 8, !tbaa !23
  %174 = fdiv double %173, 1.000000e+06
  %175 = fdiv double %174, 1.600000e+01
  %176 = load i64, ptr %14, align 8, !tbaa !11
  %177 = sitofp i64 %176 to double
  %178 = fdiv double %175, %177
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %172, double noundef %178)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %180

180:                                              ; preds = %151, %123, %113, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  %181 = load i32, ptr %3, align 4
  ret i32 %181
}

; 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 @__posix_getopt(i32 noundef, ptr noundef, ptr noundef) #2

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i64 @atol(ptr noundef nonnull) #3

declare ptr @pdb_allocate(i32 noundef) #4

declare void @perror(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden void @randomize(ptr noundef) #0

declare ptr @pdb_dummy(i32 noundef) #4

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #5

declare void @random_puzzle(ptr noundef) #4

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

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

declare i32 @printf(ptr noundef, ...) #4

; 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 = { inlinehint nounwind willreturn memory(read) 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 = { "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 allocsize(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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind allocsize(0) }

!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 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = !{!21, !12, i64 0}
!21 = !{!"timespec", !12, i64 0, !12, i64 8}
!22 = !{!21, !12, i64 8}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !7, i64 0}


; 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.timespec = type { i64, i64 }
%struct.puzzle = type { [25 x i8], [7 x i8], [25 x i8], [7 x i8] }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@optind = external local_unnamed_addr global i32, align 4
@bench_ts = external hidden global [16 x i32], align 16
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct.timespec, align 8
  %4 = alloca %struct.timespec, align 8
  %5 = alloca [16 x ptr], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %5) #7
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %2
  %.0.ph = phi i32 [ 0, %2 ], [ %.0.ph.be, %.outer.backedge ]
  br label %6

6:                                                ; preds = %.outer, %12
  %7 = tail call i32 @__posix_getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #7
  switch i32 %7, label %12 [
    i32 -1, label %14
    i32 122, label %8
    i32 108, label %10
  ]

8:                                                ; preds = %6
  %9 = or i32 %.0.ph, 2
  br label %.outer.backedge

10:                                               ; preds = %6
  %11 = or i32 %.0.ph, 1
  br label %.outer.backedge

.outer.backedge:                                  ; preds = %10, %8
  %.0.ph.be = phi i32 [ %9, %8 ], [ %11, %10 ]
  br label %.outer, !llvm.loop !5

12:                                               ; preds = %6
  %13 = load ptr, ptr %1, align 8, !tbaa !7
  tail call void @usage(ptr noundef %13)
  br label %6, !llvm.loop !5

14:                                               ; preds = %6
  %15 = load i32, ptr @optind, align 4, !tbaa !11
  %16 = sub nsw i32 %0, %15
  switch i32 %16, label %22 [
    i32 0, label %24
    i32 1, label %17
  ]

17:                                               ; preds = %14
  %18 = sext i32 %15 to i64
  %19 = getelementptr inbounds ptr, ptr %1, i64 %18
  %20 = load ptr, ptr %19, align 8, !tbaa !7
  %21 = tail call i64 @atol(ptr nocapture noundef %20) #8
  br label %24

22:                                               ; preds = %14
  %23 = load ptr, ptr %1, align 8, !tbaa !7
  tail call void @usage(ptr noundef %23)
  br label %24

24:                                               ; preds = %22, %17, %14
  %.046 = phi i64 [ 10, %22 ], [ %21, %17 ], [ 10, %14 ]
  %25 = and i32 %.0.ph, 2
  %.not51 = icmp eq i32 %25, 0
  br i1 %.not51, label %.loopexit57, label %.preheader56.preheader

.preheader56.preheader:                           ; preds = %24
  %26 = load <4 x i32>, ptr @bench_ts, align 16, !tbaa !11
  %27 = or <4 x i32> %26, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %27, ptr @bench_ts, align 16, !tbaa !11
  %28 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 16), align 16, !tbaa !11
  %29 = or <4 x i32> %28, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %29, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 16), align 16, !tbaa !11
  %30 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 32), align 16, !tbaa !11
  %31 = or <4 x i32> %30, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %31, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 32), align 16, !tbaa !11
  %32 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 48), align 16, !tbaa !11
  %33 = or <4 x i32> %32, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %33, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 48), align 16, !tbaa !11
  br label %.loopexit57

.loopexit57:                                      ; preds = %.preheader56.preheader, %24
  %34 = and i32 %.0.ph, 1
  %.not52 = icmp eq i32 %34, 0
  %35 = load i32, ptr @bench_ts, align 16, !tbaa !11
  br i1 %.not52, label %.preheader53.preheader, label %.preheader54.preheader

.preheader54.preheader:                           ; preds = %.loopexit57
  %36 = tail call ptr @pdb_allocate(i32 noundef %35) #7
  store ptr %36, ptr %5, align 16, !tbaa !7
  %37 = icmp eq ptr %36, null
  br i1 %37, label %40, label %.preheader54.1

.preheader53.preheader:                           ; preds = %.loopexit57
  %38 = tail call ptr @pdb_dummy(i32 noundef %35) #7
  store ptr %38, ptr %5, align 16, !tbaa !7
  %39 = icmp eq ptr %38, null
  br i1 %39, label %161, label %.preheader53.1

40:                                               ; preds = %.preheader54.15, %.preheader54.14, %.preheader54.13, %.preheader54.12, %.preheader54.11, %.preheader54.10, %.preheader54.9, %.preheader54.8, %.preheader54.7, %.preheader54.6, %.preheader54.5, %.preheader54.4, %.preheader54.3, %.preheader54.2, %.preheader54.1, %.preheader54.preheader
  tail call void @perror(ptr noundef nonnull @.str.1) #9
  br label %192

.preheader54.1:                                   ; preds = %.preheader54.preheader
  tail call void @randomize(ptr noundef nonnull %36)
  %41 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 4), align 4, !tbaa !11
  %42 = tail call ptr @pdb_allocate(i32 noundef %41) #7
  %43 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr %42, ptr %43, align 8, !tbaa !7
  %44 = icmp eq ptr %42, null
  br i1 %44, label %40, label %.preheader54.2

.preheader54.2:                                   ; preds = %.preheader54.1
  tail call void @randomize(ptr noundef nonnull %42)
  %45 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 8), align 8, !tbaa !11
  %46 = tail call ptr @pdb_allocate(i32 noundef %45) #7
  %47 = getelementptr inbounds i8, ptr %5, i64 16
  store ptr %46, ptr %47, align 16, !tbaa !7
  %48 = icmp eq ptr %46, null
  br i1 %48, label %40, label %.preheader54.3

.preheader54.3:                                   ; preds = %.preheader54.2
  tail call void @randomize(ptr noundef nonnull %46)
  %49 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 12), align 4, !tbaa !11
  %50 = tail call ptr @pdb_allocate(i32 noundef %49) #7
  %51 = getelementptr inbounds i8, ptr %5, i64 24
  store ptr %50, ptr %51, align 8, !tbaa !7
  %52 = icmp eq ptr %50, null
  br i1 %52, label %40, label %.preheader54.4

.preheader54.4:                                   ; preds = %.preheader54.3
  tail call void @randomize(ptr noundef nonnull %50)
  %53 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 16), align 16, !tbaa !11
  %54 = tail call ptr @pdb_allocate(i32 noundef %53) #7
  %55 = getelementptr inbounds i8, ptr %5, i64 32
  store ptr %54, ptr %55, align 16, !tbaa !7
  %56 = icmp eq ptr %54, null
  br i1 %56, label %40, label %.preheader54.5

.preheader54.5:                                   ; preds = %.preheader54.4
  tail call void @randomize(ptr noundef nonnull %54)
  %57 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 20), align 4, !tbaa !11
  %58 = tail call ptr @pdb_allocate(i32 noundef %57) #7
  %59 = getelementptr inbounds i8, ptr %5, i64 40
  store ptr %58, ptr %59, align 8, !tbaa !7
  %60 = icmp eq ptr %58, null
  br i1 %60, label %40, label %.preheader54.6

.preheader54.6:                                   ; preds = %.preheader54.5
  tail call void @randomize(ptr noundef nonnull %58)
  %61 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 24), align 8, !tbaa !11
  %62 = tail call ptr @pdb_allocate(i32 noundef %61) #7
  %63 = getelementptr inbounds i8, ptr %5, i64 48
  store ptr %62, ptr %63, align 16, !tbaa !7
  %64 = icmp eq ptr %62, null
  br i1 %64, label %40, label %.preheader54.7

.preheader54.7:                                   ; preds = %.preheader54.6
  tail call void @randomize(ptr noundef nonnull %62)
  %65 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 28), align 4, !tbaa !11
  %66 = tail call ptr @pdb_allocate(i32 noundef %65) #7
  %67 = getelementptr inbounds i8, ptr %5, i64 56
  store ptr %66, ptr %67, align 8, !tbaa !7
  %68 = icmp eq ptr %66, null
  br i1 %68, label %40, label %.preheader54.8

.preheader54.8:                                   ; preds = %.preheader54.7
  tail call void @randomize(ptr noundef nonnull %66)
  %69 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 32), align 16, !tbaa !11
  %70 = tail call ptr @pdb_allocate(i32 noundef %69) #7
  %71 = getelementptr inbounds i8, ptr %5, i64 64
  store ptr %70, ptr %71, align 16, !tbaa !7
  %72 = icmp eq ptr %70, null
  br i1 %72, label %40, label %.preheader54.9

.preheader54.9:                                   ; preds = %.preheader54.8
  tail call void @randomize(ptr noundef nonnull %70)
  %73 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 36), align 4, !tbaa !11
  %74 = tail call ptr @pdb_allocate(i32 noundef %73) #7
  %75 = getelementptr inbounds i8, ptr %5, i64 72
  store ptr %74, ptr %75, align 8, !tbaa !7
  %76 = icmp eq ptr %74, null
  br i1 %76, label %40, label %.preheader54.10

.preheader54.10:                                  ; preds = %.preheader54.9
  tail call void @randomize(ptr noundef nonnull %74)
  %77 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 40), align 8, !tbaa !11
  %78 = tail call ptr @pdb_allocate(i32 noundef %77) #7
  %79 = getelementptr inbounds i8, ptr %5, i64 80
  store ptr %78, ptr %79, align 16, !tbaa !7
  %80 = icmp eq ptr %78, null
  br i1 %80, label %40, label %.preheader54.11

.preheader54.11:                                  ; preds = %.preheader54.10
  tail call void @randomize(ptr noundef nonnull %78)
  %81 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 44), align 4, !tbaa !11
  %82 = tail call ptr @pdb_allocate(i32 noundef %81) #7
  %83 = getelementptr inbounds i8, ptr %5, i64 88
  store ptr %82, ptr %83, align 8, !tbaa !7
  %84 = icmp eq ptr %82, null
  br i1 %84, label %40, label %.preheader54.12

.preheader54.12:                                  ; preds = %.preheader54.11
  tail call void @randomize(ptr noundef nonnull %82)
  %85 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 48), align 16, !tbaa !11
  %86 = tail call ptr @pdb_allocate(i32 noundef %85) #7
  %87 = getelementptr inbounds i8, ptr %5, i64 96
  store ptr %86, ptr %87, align 16, !tbaa !7
  %88 = icmp eq ptr %86, null
  br i1 %88, label %40, label %.preheader54.13

.preheader54.13:                                  ; preds = %.preheader54.12
  tail call void @randomize(ptr noundef nonnull %86)
  %89 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 52), align 4, !tbaa !11
  %90 = tail call ptr @pdb_allocate(i32 noundef %89) #7
  %91 = getelementptr inbounds i8, ptr %5, i64 104
  store ptr %90, ptr %91, align 8, !tbaa !7
  %92 = icmp eq ptr %90, null
  br i1 %92, label %40, label %.preheader54.14

.preheader54.14:                                  ; preds = %.preheader54.13
  tail call void @randomize(ptr noundef nonnull %90)
  %93 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 56), align 8, !tbaa !11
  %94 = tail call ptr @pdb_allocate(i32 noundef %93) #7
  %95 = getelementptr inbounds i8, ptr %5, i64 112
  store ptr %94, ptr %95, align 16, !tbaa !7
  %96 = icmp eq ptr %94, null
  br i1 %96, label %40, label %.preheader54.15

.preheader54.15:                                  ; preds = %.preheader54.14
  tail call void @randomize(ptr noundef nonnull %94)
  %97 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 60), align 4, !tbaa !11
  %98 = tail call ptr @pdb_allocate(i32 noundef %97) #7
  %99 = getelementptr inbounds i8, ptr %5, i64 120
  store ptr %98, ptr %99, align 8, !tbaa !7
  %100 = icmp eq ptr %98, null
  br i1 %100, label %40, label %.loopexit.loopexit63

.loopexit.loopexit63:                             ; preds = %.preheader54.15
  tail call void @randomize(ptr noundef nonnull %98)
  br label %.loopexit

.preheader53.1:                                   ; preds = %.preheader53.preheader
  %101 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 4), align 4, !tbaa !11
  %102 = tail call ptr @pdb_dummy(i32 noundef %101) #7
  %103 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr %102, ptr %103, align 8, !tbaa !7
  %104 = icmp eq ptr %102, null
  br i1 %104, label %161, label %.preheader53.2

.preheader53.2:                                   ; preds = %.preheader53.1
  %105 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 8), align 8, !tbaa !11
  %106 = tail call ptr @pdb_dummy(i32 noundef %105) #7
  %107 = getelementptr inbounds i8, ptr %5, i64 16
  store ptr %106, ptr %107, align 16, !tbaa !7
  %108 = icmp eq ptr %106, null
  br i1 %108, label %161, label %.preheader53.3

.preheader53.3:                                   ; preds = %.preheader53.2
  %109 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 12), align 4, !tbaa !11
  %110 = tail call ptr @pdb_dummy(i32 noundef %109) #7
  %111 = getelementptr inbounds i8, ptr %5, i64 24
  store ptr %110, ptr %111, align 8, !tbaa !7
  %112 = icmp eq ptr %110, null
  br i1 %112, label %161, label %.preheader53.4

.preheader53.4:                                   ; preds = %.preheader53.3
  %113 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 16), align 16, !tbaa !11
  %114 = tail call ptr @pdb_dummy(i32 noundef %113) #7
  %115 = getelementptr inbounds i8, ptr %5, i64 32
  store ptr %114, ptr %115, align 16, !tbaa !7
  %116 = icmp eq ptr %114, null
  br i1 %116, label %161, label %.preheader53.5

.preheader53.5:                                   ; preds = %.preheader53.4
  %117 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 20), align 4, !tbaa !11
  %118 = tail call ptr @pdb_dummy(i32 noundef %117) #7
  %119 = getelementptr inbounds i8, ptr %5, i64 40
  store ptr %118, ptr %119, align 8, !tbaa !7
  %120 = icmp eq ptr %118, null
  br i1 %120, label %161, label %.preheader53.6

.preheader53.6:                                   ; preds = %.preheader53.5
  %121 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 24), align 8, !tbaa !11
  %122 = tail call ptr @pdb_dummy(i32 noundef %121) #7
  %123 = getelementptr inbounds i8, ptr %5, i64 48
  store ptr %122, ptr %123, align 16, !tbaa !7
  %124 = icmp eq ptr %122, null
  br i1 %124, label %161, label %.preheader53.7

.preheader53.7:                                   ; preds = %.preheader53.6
  %125 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 28), align 4, !tbaa !11
  %126 = tail call ptr @pdb_dummy(i32 noundef %125) #7
  %127 = getelementptr inbounds i8, ptr %5, i64 56
  store ptr %126, ptr %127, align 8, !tbaa !7
  %128 = icmp eq ptr %126, null
  br i1 %128, label %161, label %.preheader53.8

.preheader53.8:                                   ; preds = %.preheader53.7
  %129 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 32), align 16, !tbaa !11
  %130 = tail call ptr @pdb_dummy(i32 noundef %129) #7
  %131 = getelementptr inbounds i8, ptr %5, i64 64
  store ptr %130, ptr %131, align 16, !tbaa !7
  %132 = icmp eq ptr %130, null
  br i1 %132, label %161, label %.preheader53.9

.preheader53.9:                                   ; preds = %.preheader53.8
  %133 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 36), align 4, !tbaa !11
  %134 = tail call ptr @pdb_dummy(i32 noundef %133) #7
  %135 = getelementptr inbounds i8, ptr %5, i64 72
  store ptr %134, ptr %135, align 8, !tbaa !7
  %136 = icmp eq ptr %134, null
  br i1 %136, label %161, label %.preheader53.10

.preheader53.10:                                  ; preds = %.preheader53.9
  %137 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 40), align 8, !tbaa !11
  %138 = tail call ptr @pdb_dummy(i32 noundef %137) #7
  %139 = getelementptr inbounds i8, ptr %5, i64 80
  store ptr %138, ptr %139, align 16, !tbaa !7
  %140 = icmp eq ptr %138, null
  br i1 %140, label %161, label %.preheader53.11

.preheader53.11:                                  ; preds = %.preheader53.10
  %141 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 44), align 4, !tbaa !11
  %142 = tail call ptr @pdb_dummy(i32 noundef %141) #7
  %143 = getelementptr inbounds i8, ptr %5, i64 88
  store ptr %142, ptr %143, align 8, !tbaa !7
  %144 = icmp eq ptr %142, null
  br i1 %144, label %161, label %.preheader53.12

.preheader53.12:                                  ; preds = %.preheader53.11
  %145 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 48), align 16, !tbaa !11
  %146 = tail call ptr @pdb_dummy(i32 noundef %145) #7
  %147 = getelementptr inbounds i8, ptr %5, i64 96
  store ptr %146, ptr %147, align 16, !tbaa !7
  %148 = icmp eq ptr %146, null
  br i1 %148, label %161, label %.preheader53.13

.preheader53.13:                                  ; preds = %.preheader53.12
  %149 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 52), align 4, !tbaa !11
  %150 = tail call ptr @pdb_dummy(i32 noundef %149) #7
  %151 = getelementptr inbounds i8, ptr %5, i64 104
  store ptr %150, ptr %151, align 8, !tbaa !7
  %152 = icmp eq ptr %150, null
  br i1 %152, label %161, label %.preheader53.14

.preheader53.14:                                  ; preds = %.preheader53.13
  %153 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 56), align 8, !tbaa !11
  %154 = tail call ptr @pdb_dummy(i32 noundef %153) #7
  %155 = getelementptr inbounds i8, ptr %5, i64 112
  store ptr %154, ptr %155, align 16, !tbaa !7
  %156 = icmp eq ptr %154, null
  br i1 %156, label %161, label %.preheader53.15

.preheader53.15:                                  ; preds = %.preheader53.14
  %157 = load i32, ptr getelementptr inbounds (i8, ptr @bench_ts, i64 60), align 4, !tbaa !11
  %158 = tail call ptr @pdb_dummy(i32 noundef %157) #7
  %159 = getelementptr inbounds i8, ptr %5, i64 120
  store ptr %158, ptr %159, align 8, !tbaa !7
  %160 = icmp eq ptr %158, null
  br i1 %160, label %161, label %.loopexit

161:                                              ; preds = %.preheader53.15, %.preheader53.14, %.preheader53.13, %.preheader53.12, %.preheader53.11, %.preheader53.10, %.preheader53.9, %.preheader53.8, %.preheader53.7, %.preheader53.6, %.preheader53.5, %.preheader53.4, %.preheader53.3, %.preheader53.2, %.preheader53.1, %.preheader53.preheader
  tail call void @perror(ptr noundef nonnull @.str.2) #9
  br label %192

.loopexit:                                        ; preds = %.preheader53.15, %.loopexit.loopexit63
  %162 = tail call noalias dereferenceable_or_null(64000000) ptr @malloc(i64 noundef 64000000) #10
  %163 = icmp eq ptr %162, null
  br i1 %163, label %164, label %.preheader

164:                                              ; preds = %.loopexit
  tail call void @perror(ptr noundef nonnull @.str.3) #9
  br label %192

.preheader:                                       ; preds = %.loopexit, %.preheader
  %.361 = phi i64 [ %166, %.preheader ], [ 0, %.loopexit ]
  %165 = getelementptr inbounds %struct.puzzle, ptr %162, i64 %.361
  tail call void @random_puzzle(ptr noundef nonnull %165) #7
  %166 = add nuw nsw i64 %.361, 1
  %exitcond.not = icmp eq i64 %166, 1000000
  br i1 %exitcond.not, label %167, label %.preheader, !llvm.loop !13

167:                                              ; preds = %.preheader
  call void @dobench(ptr noundef nonnull %5, ptr noundef nonnull @bench_ts, i64 noundef 16, ptr noundef nonnull %162, i64 noundef 1000000, i32 noundef %.0.ph)
  %168 = call i32 @clock_gettime(i32 noundef 0, ptr noundef nonnull %3) #7
  %169 = icmp sgt i64 %.046, 0
  br i1 %169, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %167, %.lr.ph
  %.04762 = phi i64 [ %170, %.lr.ph ], [ 0, %167 ]
  call void @dobench(ptr noundef nonnull %5, ptr noundef nonnull @bench_ts, i64 noundef 16, ptr noundef nonnull %162, i64 noundef 1000000, i32 noundef %.0.ph)
  %170 = add nuw nsw i64 %.04762, 1
  %exitcond64.not = icmp eq i64 %170, %.046
  br i1 %exitcond64.not, label %._crit_edge, label %.lr.ph, !llvm.loop !14

._crit_edge:                                      ; preds = %.lr.ph, %167
  %171 = call i32 @clock_gettime(i32 noundef 0, ptr noundef nonnull %4) #7
  %172 = load i64, ptr %3, align 8, !tbaa !15
  %173 = sitofp i64 %172 to double
  %174 = getelementptr inbounds i8, ptr %3, i64 8
  %175 = load i64, ptr %174, align 8, !tbaa !18
  %176 = sitofp i64 %175 to double
  %177 = fdiv double %176, 1.000000e+09
  %178 = fadd double %177, %173
  %179 = load i64, ptr %4, align 8, !tbaa !15
  %180 = sitofp i64 %179 to double
  %181 = getelementptr inbounds i8, ptr %4, i64 8
  %182 = load i64, ptr %181, align 8, !tbaa !18
  %183 = sitofp i64 %182 to double
  %184 = fdiv double %183, 1.000000e+09
  %185 = fadd double %184, %180
  %186 = fsub double %185, %178
  %187 = fdiv double %186, 1.000000e+06
  %188 = fmul double %187, 6.250000e-02
  %189 = sitofp i64 %.046 to double
  %190 = fdiv double %188, %189
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %186, double noundef %190)
  br label %192

192:                                              ; preds = %._crit_edge, %164, %161, %40
  %.043 = phi i32 [ 1, %40 ], [ 1, %164 ], [ 0, %._crit_edge ], [ 1, %161 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  ret i32 %.043
}

; 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 @__posix_getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i64 @atol(ptr nocapture noundef nonnull) local_unnamed_addr #3

declare ptr @pdb_allocate(i32 noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare void @perror(ptr nocapture noundef readonly) local_unnamed_addr #5

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

declare ptr @pdb_dummy(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #6

declare void @random_puzzle(ptr noundef) local_unnamed_addr #4

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

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

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

; 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 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 = { "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 = { 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 #6 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { cold }
attributes #10 = { nounwind allocsize(0) }

!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, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}
!15 = !{!16, !17, i64 0}
!16 = !{!"timespec", !17, i64 0, !17, i64 8}
!17 = !{!"long", !9, i64 0}
!18 = !{!16, !17, i64 8}


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