; LLVM IR from eyangch/competitive-programming :: IOI/2021/dna.ll/Z4initNSt7 (cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_)

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

@pfx = external dso_local global [3 x [3 x [100000 x i32]]], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4initNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %11

11:                                               ; preds = %105, %2
  %12 = load i32, ptr %5, align 4, !tbaa !9
  %13 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  %14 = trunc i64 %13 to i32
  %15 = icmp slt i32 %12, %14
  br i1 %15, label %17, label %16

16:                                               ; preds = %11
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %108

17:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  %18 = load i32, ptr %5, align 4, !tbaa !9
  %19 = sext i32 %18 to i64
  %20 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %19)
  %21 = load i8, ptr %20, align 1, !tbaa !11
  %22 = sext i8 %21 to i32
  %23 = icmp eq i32 %22, 84
  br i1 %23, label %24, label %25

24:                                               ; preds = %17
  store i32 1, ptr %7, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %24, %17
  %26 = load i32, ptr %5, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %27)
  %29 = load i8, ptr %28, align 1, !tbaa !11
  %30 = sext i8 %29 to i32
  %31 = icmp eq i32 %30, 67
  br i1 %31, label %32, label %33

32:                                               ; preds = %25
  store i32 2, ptr %7, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %32, %25
  %34 = load i32, ptr %5, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  %36 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %35)
  %37 = load i8, ptr %36, align 1, !tbaa !11
  %38 = sext i8 %37 to i32
  %39 = icmp eq i32 %38, 84
  br i1 %39, label %40, label %41

40:                                               ; preds = %33
  store i32 1, ptr %8, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %40, %33
  %42 = load i32, ptr %5, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %43)
  %45 = load i8, ptr %44, align 1, !tbaa !11
  %46 = sext i8 %45 to i32
  %47 = icmp eq i32 %46, 67
  br i1 %47, label %48, label %49

48:                                               ; preds = %41
  store i32 2, ptr %8, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %48, %41
  %50 = load i32, ptr %7, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 %51
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [3 x [100000 x i32]], ptr %52, i64 0, i64 %54
  %56 = load i32, ptr %5, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [100000 x i32], ptr %55, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !9
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %58, align 4, !tbaa !9
  %61 = load i32, ptr %5, align 4, !tbaa !9
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %63, label %104

63:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %100, %63
  %65 = load i32, ptr %9, align 4, !tbaa !9
  %66 = icmp slt i32 %65, 3
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %103

68:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %96, %68
  %70 = load i32, ptr %10, align 4, !tbaa !9
  %71 = icmp slt i32 %70, 3
  br i1 %71, label %73, label %72

72:                                               ; preds = %69
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %99

73:                                               ; preds = %69
  %74 = load i32, ptr %9, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 %75
  %77 = load i32, ptr %10, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [3 x [100000 x i32]], ptr %76, i64 0, i64 %78
  %80 = load i32, ptr %5, align 4, !tbaa !9
  %81 = sub nsw i32 %80, 1
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [100000 x i32], ptr %79, i64 0, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = load i32, ptr %9, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 %86
  %88 = load i32, ptr %10, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [3 x [100000 x i32]], ptr %87, i64 0, i64 %89
  %91 = load i32, ptr %5, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [100000 x i32], ptr %90, i64 0, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = add nsw i32 %94, %84
  store i32 %95, ptr %93, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %73
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %10, align 4, !tbaa !9
  br label %69, !llvm.loop !12

99:                                               ; preds = %72
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %9, align 4, !tbaa !9
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %9, align 4, !tbaa !9
  br label %64, !llvm.loop !14

103:                                              ; preds = %67
  br label %104

104:                                              ; preds = %103, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %105

105:                                              ; preds = %104
  %106 = load i32, ptr %5, align 4, !tbaa !9
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %5, align 4, !tbaa !9
  br label %11, !llvm.loop !15

108:                                              ; preds = %16
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #0 align 2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}


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

@pfx = external dso_local local_unnamed_addr global [3 x [3 x [100000 x i32]]], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4initNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_(ptr noundef nonnull %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  %4 = trunc i64 %3 to i32
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.loopexit.peel, label %._crit_edge

.loopexit.peel:                                   ; preds = %2
  %6 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %7 = load i8, ptr %6, align 1, !tbaa !5
  %8 = icmp eq i8 %7, 84
  %spec.select.peel = zext i1 %8 to i64
  %9 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %10 = load i8, ptr %9, align 1, !tbaa !5
  %11 = icmp eq i8 %10, 67
  %.123.peel = select i1 %11, i64 2, i64 %spec.select.peel
  %12 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %14 = icmp eq i8 %13, 84
  %.021.peel = zext i1 %14 to i64
  %15 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %16 = load i8, ptr %15, align 1, !tbaa !5
  %17 = icmp eq i8 %16, 67
  %.1.peel = select i1 %17, i64 2, i64 %.021.peel
  %18 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 %.123.peel, i64 %.1.peel, i64 0
  %19 = load i32, ptr %18, align 16, !tbaa !8
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr %18, align 16, !tbaa !8
  %21 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  %22 = trunc i64 %21 to i32
  %23 = icmp sgt i32 %22, 1
  br i1 %23, label %.loopexit, label %._crit_edge

._crit_edge:                                      ; preds = %.loopexit, %.loopexit.peel, %2
  ret void

.loopexit:                                        ; preds = %.loopexit.peel, %.loopexit
  %indvars.iv = phi i64 [ %indvars.iv.next, %.loopexit ], [ 1, %.loopexit.peel ]
  %24 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %indvars.iv)
  %25 = load i8, ptr %24, align 1, !tbaa !5
  %26 = icmp eq i8 %25, 84
  %spec.select = zext i1 %26 to i64
  %27 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %indvars.iv)
  %28 = load i8, ptr %27, align 1, !tbaa !5
  %29 = icmp eq i8 %28, 67
  %.123 = select i1 %29, i64 2, i64 %spec.select
  %30 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv)
  %31 = load i8, ptr %30, align 1, !tbaa !5
  %32 = icmp eq i8 %31, 84
  %.021 = zext i1 %32 to i64
  %33 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv)
  %34 = load i8, ptr %33, align 1, !tbaa !5
  %35 = icmp eq i8 %34, 67
  %.1 = select i1 %35, i64 2, i64 %.021
  %36 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 %.123, i64 %.1, i64 %indvars.iv
  %37 = load i32, ptr %36, align 4, !tbaa !8
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %36, align 4, !tbaa !8
  %39 = add nsw i64 %indvars.iv, -1
  %40 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 0, i64 0, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !8
  %42 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 0, i64 0, i64 %indvars.iv
  %43 = load i32, ptr %42, align 4, !tbaa !8
  %44 = add nsw i32 %43, %41
  store i32 %44, ptr %42, align 4, !tbaa !8
  %45 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 0, i64 1, i64 %39
  %46 = load i32, ptr %45, align 4, !tbaa !8
  %47 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 0, i64 1, i64 %indvars.iv
  %48 = load i32, ptr %47, align 4, !tbaa !8
  %49 = add nsw i32 %48, %46
  store i32 %49, ptr %47, align 4, !tbaa !8
  %50 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 0, i64 2, i64 %39
  %51 = load i32, ptr %50, align 4, !tbaa !8
  %52 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 0, i64 2, i64 %indvars.iv
  %53 = load i32, ptr %52, align 4, !tbaa !8
  %54 = add nsw i32 %53, %51
  store i32 %54, ptr %52, align 4, !tbaa !8
  %55 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 1, i64 0, i64 %39
  %56 = load i32, ptr %55, align 4, !tbaa !8
  %57 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 1, i64 0, i64 %indvars.iv
  %58 = load i32, ptr %57, align 4, !tbaa !8
  %59 = add nsw i32 %58, %56
  store i32 %59, ptr %57, align 4, !tbaa !8
  %60 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 1, i64 1, i64 %39
  %61 = load i32, ptr %60, align 4, !tbaa !8
  %62 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 1, i64 1, i64 %indvars.iv
  %63 = load i32, ptr %62, align 4, !tbaa !8
  %64 = add nsw i32 %63, %61
  store i32 %64, ptr %62, align 4, !tbaa !8
  %65 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 1, i64 2, i64 %39
  %66 = load i32, ptr %65, align 4, !tbaa !8
  %67 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 1, i64 2, i64 %indvars.iv
  %68 = load i32, ptr %67, align 4, !tbaa !8
  %69 = add nsw i32 %68, %66
  store i32 %69, ptr %67, align 4, !tbaa !8
  %70 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 2, i64 0, i64 %39
  %71 = load i32, ptr %70, align 4, !tbaa !8
  %72 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 2, i64 0, i64 %indvars.iv
  %73 = load i32, ptr %72, align 4, !tbaa !8
  %74 = add nsw i32 %73, %71
  store i32 %74, ptr %72, align 4, !tbaa !8
  %75 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 2, i64 1, i64 %39
  %76 = load i32, ptr %75, align 4, !tbaa !8
  %77 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 2, i64 1, i64 %indvars.iv
  %78 = load i32, ptr %77, align 4, !tbaa !8
  %79 = add nsw i32 %78, %76
  store i32 %79, ptr %77, align 4, !tbaa !8
  %80 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 2, i64 2, i64 %39
  %81 = load i32, ptr %80, align 4, !tbaa !8
  %82 = getelementptr inbounds [3 x [3 x [100000 x i32]]], ptr @pfx, i64 0, i64 2, i64 2, i64 %indvars.iv
  %83 = load i32, ptr %82, align 4, !tbaa !8
  %84 = add nsw i32 %83, %81
  store i32 %84, ptr %82, align 4, !tbaa !8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %85 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  %sext = shl i64 %85, 32
  %86 = ashr exact i64 %sext, 32
  %87 = icmp slt i64 %indvars.iv.next, %86
  br i1 %87, label %.loopexit, label %._crit_edge, !llvm.loop !10
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11, !12}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass