; LLVM IR from DionysiosB/CodeForces :: 0800-0899/868D-HugeStrings.ll (Z5solvev)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@_Z1sB5cxx11 = external dso_local global [2000 x %"class.std::__cxx11::basic_string"], align 16
@n = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_Z5solvev() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  store i64 1, ptr %2, align 8, !tbaa !5
  br label %9

9:                                                ; preds = %69, %0
  %10 = load i64, ptr %2, align 8, !tbaa !5
  %11 = icmp sle i64 %10, 10
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  store i32 2, ptr %3, align 4
  br label %72

13:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  store i64 0, ptr %4, align 8, !tbaa !5
  br label %14

14:                                               ; preds = %63, %13
  %15 = load i64, ptr %4, align 8, !tbaa !5
  %16 = load i64, ptr %2, align 8, !tbaa !5
  %17 = trunc i64 %16 to i32
  %18 = shl i32 1, %17
  %19 = sext i32 %18 to i64
  %20 = icmp slt i64 %15, %19
  br i1 %20, label %22, label %21

21:                                               ; preds = %14
  store i32 5, ptr %3, align 4
  br label %66

22:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %43, %22
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = sext i32 %24 to i64
  %26 = load i64, ptr %2, align 8, !tbaa !5
  %27 = icmp slt i64 %25, %26
  br i1 %27, label %29, label %28

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

29:                                               ; preds = %23
  %30 = load i64, ptr %4, align 8, !tbaa !5
  %31 = load i32, ptr %6, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = ashr i64 %30, %32
  %34 = and i64 %33, 1
  %35 = icmp ne i64 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %29
  br label %38

37:                                               ; preds = %29
  br label %38

38:                                               ; preds = %37, %36
  %39 = phi ptr [ @.str, %36 ], [ @.str.2, %37 ]
  %40 = getelementptr inbounds [2 x i8], ptr %39, i64 0, i64 0
  %41 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %40)
          to label %42 unwind label %46

42:                                               ; preds = %38
  br label %43

43:                                               ; preds = %42
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %6, align 4, !tbaa !9
  br label %23, !llvm.loop !11

46:                                               ; preds = %38
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %7, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  br label %77

50:                                               ; preds = %28
  %51 = load i32, ptr @n, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %52
  %54 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 0) #3
  %55 = icmp eq i64 %54, -1
  br i1 %55, label %56, label %59

56:                                               ; preds = %50
  %57 = load i64, ptr %2, align 8, !tbaa !5
  %58 = sub nsw i64 %57, 1
  store i64 %58, ptr %1, align 8
  store i32 1, ptr %3, align 4
  br label %60

59:                                               ; preds = %50
  store i32 0, ptr %3, align 4
  br label %60

60:                                               ; preds = %59, %56
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #3
  %61 = load i32, ptr %3, align 4
  switch i32 %61, label %66 [
    i32 0, label %62
  ]

62:                                               ; preds = %60
  br label %63

63:                                               ; preds = %62
  %64 = load i64, ptr %4, align 8, !tbaa !5
  %65 = add nsw i64 %64, 1
  store i64 %65, ptr %4, align 8, !tbaa !5
  br label %14, !llvm.loop !13

66:                                               ; preds = %60, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %67 = load i32, ptr %3, align 4
  switch i32 %67, label %72 [
    i32 5, label %68
  ]

68:                                               ; preds = %66
  br label %69

69:                                               ; preds = %68
  %70 = load i64, ptr %2, align 8, !tbaa !5
  %71 = add nsw i64 %70, 1
  store i64 %71, ptr %2, align 8, !tbaa !5
  br label %9, !llvm.loop !14

72:                                               ; preds = %66, %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  %73 = load i32, ptr %3, align 4
  switch i32 %73, label %82 [
    i32 2, label %74
    i32 1, label %75
  ]

74:                                               ; preds = %72
  store i64 0, ptr %1, align 8
  br label %75

75:                                               ; preds = %74, %72
  %76 = load i64, ptr %1, align 8
  ret i64 %76

77:                                               ; preds = %46
  %78 = load ptr, ptr %7, align 8
  %79 = load i32, ptr %8, align 4
  %80 = insertvalue { ptr, i32 } poison, ptr %78, 0
  %81 = insertvalue { ptr, i32 } %80, i32 %79, 1
  resume { ptr, i32 } %81

82:                                               ; preds = %72
  unreachable
}

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

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

declare i32 @__gxx_personality_v0(...)

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

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

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@_Z1sB5cxx11 = external dso_local global [2000 x %"class.std::__cxx11::basic_string"], align 16
@n = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_Z5solvev() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
.preheader:
  %0 = alloca %"class.std::__cxx11::basic_string", align 8
  br label %3

1:                                                ; preds = %4
  %2 = add nuw nsw i64 %.01929, 1
  %exitcond36.not = icmp eq i64 %2, 2
  br i1 %exitcond36.not, label %.thread, label %3, !llvm.loop !5

3:                                                ; preds = %.preheader, %1
  %.01929 = phi i64 [ 0, %.preheader ], [ %2, %1 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %9

4:                                                ; preds = %13
  %5 = load i32, ptr @n, align 4, !tbaa !7
  %6 = sext i32 %5 to i64
  %7 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %6
  %8 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not = icmp eq i64 %8, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not, label %.split.loop.exit, label %1

9:                                                ; preds = %3, %13
  %indvars.iv = phi i64 [ 0, %3 ], [ %indvars.iv.next, %13 ]
  %10 = shl nuw i64 1, %indvars.iv
  %11 = and i64 %10, %.01929
  %.not24 = icmp eq i64 %11, 0
  %.str..str.2 = select i1 %.not24, ptr @.str.2, ptr @.str
  %12 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2)
          to label %13 unwind label %.loopexit

13:                                               ; preds = %9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv, 0
  br i1 %exitcond.not, label %4, label %9, !llvm.loop !11

.loopexit:                                        ; preds = %9
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %14
  %lpad.loopexit44 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %26
  %lpad.loopexit49 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %38
  %lpad.loopexit53 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %50
  %lpad.loopexit58 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %62
  %lpad.loopexit62 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %74
  %lpad.loopexit67 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %86
  %lpad.loopexit71 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %98
  %lpad.loopexit76 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %110
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit44, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit49, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit53, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit58, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit62, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit67, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit71, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit76, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  resume { ptr, i32 } %lpad.phi

.thread:                                          ; preds = %1, %24
  %.01929.1 = phi i64 [ %25, %24 ], [ 0, %1 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %14

14:                                               ; preds = %18, %.thread
  %indvars.iv.1 = phi i64 [ 0, %.thread ], [ %indvars.iv.next.1, %18 ]
  %15 = shl nuw i64 1, %indvars.iv.1
  %16 = and i64 %15, %.01929.1
  %.not24.1 = icmp eq i64 %16, 0
  %.str..str.2.1 = select i1 %.not24.1, ptr @.str.2, ptr @.str
  %17 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.1)
          to label %18 unwind label %.loopexit.split-lp.loopexit

18:                                               ; preds = %14
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 2
  br i1 %exitcond.not.1, label %19, label %14, !llvm.loop !11

19:                                               ; preds = %18
  %20 = load i32, ptr @n, align 4, !tbaa !7
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %21
  %23 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.1 = icmp eq i64 %23, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.1, label %.split.loop.exit, label %24

24:                                               ; preds = %19
  %25 = add nuw nsw i64 %.01929.1, 1
  %exitcond36.not.1 = icmp eq i64 %25, 4
  br i1 %exitcond36.not.1, label %.thread.1, label %.thread, !llvm.loop !5

.thread.1:                                        ; preds = %24, %36
  %.01929.2 = phi i64 [ %37, %36 ], [ 0, %24 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %26

26:                                               ; preds = %30, %.thread.1
  %indvars.iv.2 = phi i64 [ 0, %.thread.1 ], [ %indvars.iv.next.2, %30 ]
  %27 = shl nuw i64 1, %indvars.iv.2
  %28 = and i64 %27, %.01929.2
  %.not24.2 = icmp eq i64 %28, 0
  %.str..str.2.2 = select i1 %.not24.2, ptr @.str.2, ptr @.str
  %29 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.2)
          to label %30 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

30:                                               ; preds = %26
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %exitcond.not.2 = icmp eq i64 %indvars.iv.next.2, 3
  br i1 %exitcond.not.2, label %31, label %26, !llvm.loop !11

31:                                               ; preds = %30
  %32 = load i32, ptr @n, align 4, !tbaa !7
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %33
  %35 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.2 = icmp eq i64 %35, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.2, label %.split.loop.exit, label %36

36:                                               ; preds = %31
  %37 = add nuw nsw i64 %.01929.2, 1
  %exitcond36.not.2 = icmp eq i64 %37, 8
  br i1 %exitcond36.not.2, label %.thread.2, label %.thread.1, !llvm.loop !5

.thread.2:                                        ; preds = %36, %48
  %.01929.3 = phi i64 [ %49, %48 ], [ 0, %36 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %38

38:                                               ; preds = %42, %.thread.2
  %indvars.iv.3 = phi i64 [ 0, %.thread.2 ], [ %indvars.iv.next.3, %42 ]
  %39 = shl nuw i64 1, %indvars.iv.3
  %40 = and i64 %39, %.01929.3
  %.not24.3 = icmp eq i64 %40, 0
  %.str..str.2.3 = select i1 %.not24.3, ptr @.str.2, ptr @.str
  %41 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.3)
          to label %42 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

42:                                               ; preds = %38
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, 4
  br i1 %exitcond.not.3, label %43, label %38, !llvm.loop !11

43:                                               ; preds = %42
  %44 = load i32, ptr @n, align 4, !tbaa !7
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %45
  %47 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.3 = icmp eq i64 %47, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.3, label %.split.loop.exit, label %48

48:                                               ; preds = %43
  %49 = add nuw nsw i64 %.01929.3, 1
  %exitcond36.not.3 = icmp eq i64 %49, 16
  br i1 %exitcond36.not.3, label %.thread.3, label %.thread.2, !llvm.loop !5

.thread.3:                                        ; preds = %48, %60
  %.01929.4 = phi i64 [ %61, %60 ], [ 0, %48 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %50

50:                                               ; preds = %54, %.thread.3
  %indvars.iv.4 = phi i64 [ 0, %.thread.3 ], [ %indvars.iv.next.4, %54 ]
  %51 = shl nuw i64 1, %indvars.iv.4
  %52 = and i64 %51, %.01929.4
  %.not24.4 = icmp eq i64 %52, 0
  %.str..str.2.4 = select i1 %.not24.4, ptr @.str.2, ptr @.str
  %53 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.4)
          to label %54 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

54:                                               ; preds = %50
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  %exitcond.not.4 = icmp eq i64 %indvars.iv.next.4, 5
  br i1 %exitcond.not.4, label %55, label %50, !llvm.loop !11

55:                                               ; preds = %54
  %56 = load i32, ptr @n, align 4, !tbaa !7
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %57
  %59 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.4 = icmp eq i64 %59, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.4, label %.split.loop.exit, label %60

60:                                               ; preds = %55
  %61 = add nuw nsw i64 %.01929.4, 1
  %exitcond36.not.4 = icmp eq i64 %61, 32
  br i1 %exitcond36.not.4, label %.thread.4, label %.thread.3, !llvm.loop !5

.thread.4:                                        ; preds = %60, %72
  %.01929.5 = phi i64 [ %73, %72 ], [ 0, %60 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %62

62:                                               ; preds = %66, %.thread.4
  %indvars.iv.5 = phi i64 [ 0, %.thread.4 ], [ %indvars.iv.next.5, %66 ]
  %63 = shl nuw i64 1, %indvars.iv.5
  %64 = and i64 %63, %.01929.5
  %.not24.5 = icmp eq i64 %64, 0
  %.str..str.2.5 = select i1 %.not24.5, ptr @.str.2, ptr @.str
  %65 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.5)
          to label %66 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

66:                                               ; preds = %62
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  %exitcond.not.5 = icmp eq i64 %indvars.iv.next.5, 6
  br i1 %exitcond.not.5, label %67, label %62, !llvm.loop !11

67:                                               ; preds = %66
  %68 = load i32, ptr @n, align 4, !tbaa !7
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %69
  %71 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.5 = icmp eq i64 %71, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.5, label %.split.loop.exit, label %72

72:                                               ; preds = %67
  %73 = add nuw nsw i64 %.01929.5, 1
  %exitcond36.not.5 = icmp eq i64 %73, 64
  br i1 %exitcond36.not.5, label %.thread.5, label %.thread.4, !llvm.loop !5

.thread.5:                                        ; preds = %72, %84
  %.01929.6 = phi i64 [ %85, %84 ], [ 0, %72 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %74

74:                                               ; preds = %78, %.thread.5
  %indvars.iv.6 = phi i64 [ 0, %.thread.5 ], [ %indvars.iv.next.6, %78 ]
  %75 = shl nuw i64 1, %indvars.iv.6
  %76 = and i64 %75, %.01929.6
  %.not24.6 = icmp eq i64 %76, 0
  %.str..str.2.6 = select i1 %.not24.6, ptr @.str.2, ptr @.str
  %77 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.6)
          to label %78 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

78:                                               ; preds = %74
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  %exitcond.not.6 = icmp eq i64 %indvars.iv.next.6, 7
  br i1 %exitcond.not.6, label %79, label %74, !llvm.loop !11

79:                                               ; preds = %78
  %80 = load i32, ptr @n, align 4, !tbaa !7
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %81
  %83 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.6 = icmp eq i64 %83, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.6, label %.split.loop.exit, label %84

84:                                               ; preds = %79
  %85 = add nuw nsw i64 %.01929.6, 1
  %exitcond36.not.6 = icmp eq i64 %85, 128
  br i1 %exitcond36.not.6, label %.thread.6, label %.thread.5, !llvm.loop !5

.thread.6:                                        ; preds = %84, %96
  %.01929.7 = phi i64 [ %97, %96 ], [ 0, %84 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %86

86:                                               ; preds = %90, %.thread.6
  %indvars.iv.7 = phi i64 [ 0, %.thread.6 ], [ %indvars.iv.next.7, %90 ]
  %87 = shl nuw i64 1, %indvars.iv.7
  %88 = and i64 %87, %.01929.7
  %.not24.7 = icmp eq i64 %88, 0
  %.str..str.2.7 = select i1 %.not24.7, ptr @.str.2, ptr @.str
  %89 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.7)
          to label %90 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

90:                                               ; preds = %86
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  %exitcond.not.7 = icmp eq i64 %indvars.iv.next.7, 8
  br i1 %exitcond.not.7, label %91, label %86, !llvm.loop !11

91:                                               ; preds = %90
  %92 = load i32, ptr @n, align 4, !tbaa !7
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %93
  %95 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %94, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.7 = icmp eq i64 %95, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.7, label %.split.loop.exit, label %96

96:                                               ; preds = %91
  %97 = add nuw nsw i64 %.01929.7, 1
  %exitcond36.not.7 = icmp eq i64 %97, 256
  br i1 %exitcond36.not.7, label %.thread.7, label %.thread.6, !llvm.loop !5

.thread.7:                                        ; preds = %96, %108
  %.01929.8 = phi i64 [ %109, %108 ], [ 0, %96 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %98

98:                                               ; preds = %102, %.thread.7
  %indvars.iv.8 = phi i64 [ 0, %.thread.7 ], [ %indvars.iv.next.8, %102 ]
  %99 = shl nuw i64 1, %indvars.iv.8
  %100 = and i64 %99, %.01929.8
  %.not24.8 = icmp eq i64 %100, 0
  %.str..str.2.8 = select i1 %.not24.8, ptr @.str.2, ptr @.str
  %101 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.8)
          to label %102 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

102:                                              ; preds = %98
  %indvars.iv.next.8 = add nuw nsw i64 %indvars.iv.8, 1
  %exitcond.not.8 = icmp eq i64 %indvars.iv.next.8, 9
  br i1 %exitcond.not.8, label %103, label %98, !llvm.loop !11

103:                                              ; preds = %102
  %104 = load i32, ptr @n, align 4, !tbaa !7
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %105
  %107 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %106, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.8 = icmp eq i64 %107, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.8, label %.split.loop.exit, label %108

108:                                              ; preds = %103
  %109 = add nuw nsw i64 %.01929.8, 1
  %exitcond36.not.8 = icmp eq i64 %109, 512
  br i1 %exitcond36.not.8, label %.thread.8, label %.thread.7, !llvm.loop !5

.thread.8:                                        ; preds = %108, %120
  %.01929.9 = phi i64 [ %121, %120 ], [ 0, %108 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %0) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %110

110:                                              ; preds = %114, %.thread.8
  %indvars.iv.9 = phi i64 [ 0, %.thread.8 ], [ %indvars.iv.next.9, %114 ]
  %111 = shl nuw i64 1, %indvars.iv.9
  %112 = and i64 %111, %.01929.9
  %.not24.9 = icmp eq i64 %112, 0
  %.str..str.2.9 = select i1 %.not24.9, ptr @.str.2, ptr @.str
  %113 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %.str..str.2.9)
          to label %114 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

114:                                              ; preds = %110
  %indvars.iv.next.9 = add nuw nsw i64 %indvars.iv.9, 1
  %exitcond.not.9 = icmp eq i64 %indvars.iv.next.9, 10
  br i1 %exitcond.not.9, label %115, label %110, !llvm.loop !11

115:                                              ; preds = %114
  %116 = load i32, ptr @n, align 4, !tbaa !7
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [2000 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %117
  %119 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) %118, ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0) #3
  %.not.9 = icmp eq i64 %119, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %0) #3
  br i1 %.not.9, label %.split.loop.exit, label %120

120:                                              ; preds = %115
  %121 = add nuw nsw i64 %.01929.9, 1
  %exitcond36.not.9 = icmp eq i64 %121, 1024
  br i1 %exitcond36.not.9, label %.split.loop.exit, label %.thread.8, !llvm.loop !5

.split.loop.exit:                                 ; preds = %4, %19, %31, %43, %55, %67, %79, %91, %103, %115, %120
  %spec.select = phi i64 [ 0, %120 ], [ 0, %4 ], [ 1, %19 ], [ 2, %31 ], [ 3, %43 ], [ 4, %55 ], [ 5, %67 ], [ 6, %79 ], [ 7, %91 ], [ 8, %103 ], [ 9, %115 ]
  ret i64 %spec.select
}

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

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

declare i32 @__gxx_personality_v0(...)

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

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

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass