; LLVM IR from smv1999/CompetitiveProgrammingQuestionBank :: Strings (super_ascii_checker)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@__const.main.str = external hidden unnamed_addr constant [200 x i8], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef 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 [200 x i8], align 16
  %7 = alloca i32, align 4
  %8 = alloca [26 x i32], align 16
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = 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 200, ptr %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.str, i64 200, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %14 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
  %15 = call i64 @strlen(ptr noundef %14) #6
  %16 = trunc i64 %15 to i32
  store i32 %16, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 104, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %25, %2
  %18 = load i32, ptr %9, align 4, !tbaa !5
  %19 = icmp slt i32 %18, 26
  br i1 %19, label %21, label %20

20:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %28

21:                                               ; preds = %17
  %22 = load i32, ptr %9, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %23
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %21
  %26 = load i32, ptr %9, align 4, !tbaa !5
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %9, align 4, !tbaa !5
  br label %17, !llvm.loop !11

28:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %45, %28
  %30 = load i32, ptr %11, align 4, !tbaa !5
  %31 = load i32, ptr %7, align 4, !tbaa !5
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %48

34:                                               ; preds = %29
  %35 = load i32, ptr %11, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 %36
  %38 = load i8, ptr %37, align 1, !tbaa !13
  %39 = sext i8 %38 to i32
  %40 = sub nsw i32 %39, 97
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %42, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %34
  %46 = load i32, ptr %11, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %11, align 4, !tbaa !5
  br label %29, !llvm.loop !14

48:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %69, %48
  %50 = load i32, ptr %12, align 4, !tbaa !5
  %51 = icmp slt i32 %50, 26
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 8, ptr %13, align 4
  br label %72

53:                                               ; preds = %49
  %54 = load i32, ptr %12, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %68

59:                                               ; preds = %53
  %60 = load i32, ptr %12, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %61
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = load i32, ptr %12, align 4, !tbaa !5
  %65 = add nsw i32 %64, 1
  %66 = icmp ne i32 %63, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %59
  store i32 0, ptr %10, align 4, !tbaa !5
  store i32 8, ptr %13, align 4
  br label %72

68:                                               ; preds = %59, %53
  br label %69

69:                                               ; preds = %68
  %70 = load i32, ptr %12, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %12, align 4, !tbaa !5
  br label %49, !llvm.loop !15

72:                                               ; preds = %67, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %10, align 4, !tbaa !5
  %75 = icmp eq i32 %74, 1
  br i1 %75, label %76, label %78

76:                                               ; preds = %73
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  br label %80

78:                                               ; preds = %73
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  br label %80

80:                                               ; preds = %78, %76
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 104, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr %6) #5
  %81 = load i32, ptr %3, align 4
  ret i32 %81
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

attributes #0 = { mustprogress norecurse 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind willreturn memory(read) "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 = { inlinehint 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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@__const.main.str = external hidden unnamed_addr constant [200 x i8], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
.preheader19:
  %2 = alloca [26 x i32], align 16
  %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @__const.main.str) #5
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %2) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(104) %2, i8 0, i64 104, i1 false), !tbaa !5
  %4 = trunc i64 %3 to i32
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph.preheader, label %.preheader.thread

.lr.ph.preheader:                                 ; preds = %.preheader19
  %wide.trip.count = and i64 %3, 2147483647
  %xtraiter = and i64 %3, 1
  %6 = icmp eq i64 %wide.trip.count, 1
  br i1 %6, label %.preheader.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = sub nsw i64 %wide.trip.count, %xtraiter
  br label %.lr.ph

.preheader.unr-lcssa:                             ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader.unr-lcssa
  %7 = getelementptr inbounds [200 x i8], ptr @__const.main.str, i64 0, i64 %indvars.iv.unr
  %8 = load i8, ptr %7, align 1, !tbaa !9
  %9 = sext i8 %8 to i64
  %10 = add nsw i64 %9, -97
  %11 = getelementptr inbounds [26 x i32], ptr %2, i64 0, i64 %10
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = add nsw i32 %12, 1
  store i32 %13, ptr %11, align 4, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader.unr-lcssa, %.lr.ph.epil
  %.pre = load i32, ptr %2, align 16, !tbaa !5
  %14 = icmp ult i32 %.pre, 2
  br i1 %14, label %.preheader.thread, label %108, !llvm.loop !10

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %.lr.ph ]
  %15 = getelementptr inbounds [200 x i8], ptr @__const.main.str, i64 0, i64 %indvars.iv
  %16 = load i8, ptr %15, align 2, !tbaa !9
  %17 = sext i8 %16 to i64
  %18 = add nsw i64 %17, -97
  %19 = getelementptr inbounds [26 x i32], ptr %2, i64 0, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !5
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr %19, align 4, !tbaa !5
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %22 = getelementptr inbounds [200 x i8], ptr @__const.main.str, i64 0, i64 %indvars.iv.next
  %23 = load i8, ptr %22, align 1, !tbaa !9
  %24 = sext i8 %23 to i64
  %25 = add nsw i64 %24, -97
  %26 = getelementptr inbounds [26 x i32], ptr %2, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %26, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader.unr-lcssa, label %.lr.ph, !llvm.loop !12

.preheader.thread:                                ; preds = %.preheader19, %.preheader
  %29 = getelementptr inbounds i8, ptr %2, i64 4
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = and i32 %30, -3
  %or.cond.1 = icmp eq i32 %31, 0
  br i1 %or.cond.1, label %32, label %108, !llvm.loop !10

32:                                               ; preds = %.preheader.thread
  %33 = getelementptr inbounds i8, ptr %2, i64 8
  %34 = load i32, ptr %33, align 8, !tbaa !5
  switch i32 %34, label %108 [
    i32 3, label %35
    i32 0, label %35
  ]

35:                                               ; preds = %32, %32
  %36 = getelementptr inbounds i8, ptr %2, i64 12
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = and i32 %37, -5
  %or.cond.3 = icmp eq i32 %38, 0
  br i1 %or.cond.3, label %39, label %108, !llvm.loop !10

39:                                               ; preds = %35
  %40 = getelementptr inbounds i8, ptr %2, i64 16
  %41 = load i32, ptr %40, align 16, !tbaa !5
  switch i32 %41, label %108 [
    i32 5, label %42
    i32 0, label %42
  ]

42:                                               ; preds = %39, %39
  %43 = getelementptr inbounds i8, ptr %2, i64 20
  %44 = load i32, ptr %43, align 4, !tbaa !5
  switch i32 %44, label %108 [
    i32 6, label %45
    i32 0, label %45
  ]

45:                                               ; preds = %42, %42
  %46 = getelementptr inbounds i8, ptr %2, i64 24
  %47 = load i32, ptr %46, align 8, !tbaa !5
  switch i32 %47, label %108 [
    i32 7, label %48
    i32 0, label %48
  ]

48:                                               ; preds = %45, %45
  %49 = getelementptr inbounds i8, ptr %2, i64 28
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = and i32 %50, -9
  %or.cond.7 = icmp eq i32 %51, 0
  br i1 %or.cond.7, label %52, label %108, !llvm.loop !10

52:                                               ; preds = %48
  %53 = getelementptr inbounds i8, ptr %2, i64 32
  %54 = load i32, ptr %53, align 16, !tbaa !5
  switch i32 %54, label %108 [
    i32 9, label %55
    i32 0, label %55
  ]

55:                                               ; preds = %52, %52
  %56 = getelementptr inbounds i8, ptr %2, i64 36
  %57 = load i32, ptr %56, align 4, !tbaa !5
  switch i32 %57, label %108 [
    i32 10, label %58
    i32 0, label %58
  ]

58:                                               ; preds = %55, %55
  %59 = getelementptr inbounds i8, ptr %2, i64 40
  %60 = load i32, ptr %59, align 8, !tbaa !5
  switch i32 %60, label %108 [
    i32 11, label %61
    i32 0, label %61
  ]

61:                                               ; preds = %58, %58
  %62 = getelementptr inbounds i8, ptr %2, i64 44
  %63 = load i32, ptr %62, align 4, !tbaa !5
  switch i32 %63, label %108 [
    i32 12, label %64
    i32 0, label %64
  ]

64:                                               ; preds = %61, %61
  %65 = getelementptr inbounds i8, ptr %2, i64 48
  %66 = load i32, ptr %65, align 16, !tbaa !5
  switch i32 %66, label %108 [
    i32 13, label %67
    i32 0, label %67
  ]

67:                                               ; preds = %64, %64
  %68 = getelementptr inbounds i8, ptr %2, i64 52
  %69 = load i32, ptr %68, align 4, !tbaa !5
  switch i32 %69, label %108 [
    i32 14, label %70
    i32 0, label %70
  ]

70:                                               ; preds = %67, %67
  %71 = getelementptr inbounds i8, ptr %2, i64 56
  %72 = load i32, ptr %71, align 8, !tbaa !5
  switch i32 %72, label %108 [
    i32 15, label %73
    i32 0, label %73
  ]

73:                                               ; preds = %70, %70
  %74 = getelementptr inbounds i8, ptr %2, i64 60
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = and i32 %75, -17
  %or.cond.15 = icmp eq i32 %76, 0
  br i1 %or.cond.15, label %77, label %108, !llvm.loop !10

77:                                               ; preds = %73
  %78 = getelementptr inbounds i8, ptr %2, i64 64
  %79 = load i32, ptr %78, align 16, !tbaa !5
  switch i32 %79, label %108 [
    i32 17, label %80
    i32 0, label %80
  ]

80:                                               ; preds = %77, %77
  %81 = getelementptr inbounds i8, ptr %2, i64 68
  %82 = load i32, ptr %81, align 4, !tbaa !5
  switch i32 %82, label %108 [
    i32 18, label %83
    i32 0, label %83
  ]

83:                                               ; preds = %80, %80
  %84 = getelementptr inbounds i8, ptr %2, i64 72
  %85 = load i32, ptr %84, align 8, !tbaa !5
  switch i32 %85, label %108 [
    i32 19, label %86
    i32 0, label %86
  ]

86:                                               ; preds = %83, %83
  %87 = getelementptr inbounds i8, ptr %2, i64 76
  %88 = load i32, ptr %87, align 4, !tbaa !5
  switch i32 %88, label %108 [
    i32 20, label %89
    i32 0, label %89
  ]

89:                                               ; preds = %86, %86
  %90 = getelementptr inbounds i8, ptr %2, i64 80
  %91 = load i32, ptr %90, align 16, !tbaa !5
  switch i32 %91, label %108 [
    i32 21, label %92
    i32 0, label %92
  ]

92:                                               ; preds = %89, %89
  %93 = getelementptr inbounds i8, ptr %2, i64 84
  %94 = load i32, ptr %93, align 4, !tbaa !5
  switch i32 %94, label %108 [
    i32 22, label %95
    i32 0, label %95
  ]

95:                                               ; preds = %92, %92
  %96 = getelementptr inbounds i8, ptr %2, i64 88
  %97 = load i32, ptr %96, align 8, !tbaa !5
  switch i32 %97, label %108 [
    i32 23, label %98
    i32 0, label %98
  ]

98:                                               ; preds = %95, %95
  %99 = getelementptr inbounds i8, ptr %2, i64 92
  %100 = load i32, ptr %99, align 4, !tbaa !5
  switch i32 %100, label %108 [
    i32 24, label %101
    i32 0, label %101
  ]

101:                                              ; preds = %98, %98
  %102 = getelementptr inbounds i8, ptr %2, i64 96
  %103 = load i32, ptr %102, align 16, !tbaa !5
  switch i32 %103, label %108 [
    i32 25, label %104
    i32 0, label %104
  ]

104:                                              ; preds = %101, %101
  %105 = getelementptr inbounds i8, ptr %2, i64 100
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %switch.selectcmp.case1 = icmp eq i32 %106, 26
  %switch.selectcmp.case2 = icmp eq i32 %106, 0
  %switch.selectcmp = or i1 %switch.selectcmp.case1, %switch.selectcmp.case2
  %107 = select i1 %switch.selectcmp, ptr @.str, ptr @.str.1
  br label %108

108:                                              ; preds = %.preheader, %.preheader.thread, %35, %48, %73, %32, %39, %42, %45, %52, %55, %58, %61, %64, %67, %70, %77, %80, %83, %86, %89, %92, %95, %98, %101, %104
  %.str.1.sink = phi ptr [ %107, %104 ], [ @.str.1, %101 ], [ @.str.1, %98 ], [ @.str.1, %95 ], [ @.str.1, %92 ], [ @.str.1, %89 ], [ @.str.1, %86 ], [ @.str.1, %83 ], [ @.str.1, %80 ], [ @.str.1, %77 ], [ @.str.1, %70 ], [ @.str.1, %67 ], [ @.str.1, %64 ], [ @.str.1, %61 ], [ @.str.1, %58 ], [ @.str.1, %55 ], [ @.str.1, %52 ], [ @.str.1, %45 ], [ @.str.1, %42 ], [ @.str.1, %39 ], [ @.str.1, %32 ], [ @.str.1, %73 ], [ @.str.1, %48 ], [ @.str.1, %35 ], [ @.str.1, %.preheader.thread ], [ @.str.1, %.preheader ]
  %109 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %.str.1.sink)
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %2) #6
  ret i32 0
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

attributes #0 = { mustprogress norecurse 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind willreturn memory(read) }
attributes #6 = { nounwind }

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

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


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