; LLVM IR from brpapa/algorithms :: solutions/uva/10111.ll (Z7minimaxiSt5arrayIS_IcLm4EELm4EE)

; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::array<std::array<char, 4>, 4>, std::pair<const std::array<std::array<char, 4>, 4>, int>, std::_Select1st<std::pair<const std::array<std::array<char, 4>, 4>, int>>, std::less<std::array<std::array<char, 4>, 4>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::array<std::array<char, 4>, 4>, std::pair<const std::array<std::array<char, 4>, 4>, int>, std::_Select1st<std::pair<const std::array<std::array<char, 4>, 4>, int>>, std::less<std::array<std::array<char, 4>, 4>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::array" = type { [4 x %"struct.std::array.0"] }
%"struct.std::array.0" = type { [4 x i8] }

@memo = external dso_local global %"class.std::map", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z11checkWinnerSt5arrayIS_IcLm4EELm4EE(i64, i64) #0

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4), i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %0, i64 %1, i64 %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::array", align 1
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::array", align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"struct.std::array", align 1
  %14 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
  store i64 %1, ptr %14, align 1
  %15 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
  store i64 %2, ptr %15, align 1
  store i32 %0, ptr %6, align 4, !tbaa !5
  %16 = call noundef i64 @_ZNKSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEE5countERS6_(ptr noundef nonnull align 8 dereferenceable(48) @memo, ptr noundef nonnull align 1 dereferenceable(16) %5)
  %17 = icmp ne i64 %16, 0
  br i1 %17, label %18, label %21

18:                                               ; preds = %3
  %19 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) @memo, ptr noundef nonnull align 1 dereferenceable(16) %5)
  %20 = load i32, ptr %19, align 4, !tbaa !5
  store i32 %20, ptr %4, align 4
  br label %109

21:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %22 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) @memo, ptr noundef nonnull align 1 dereferenceable(16) %5)
  store ptr %22, ptr %7, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 %5, i64 16, i1 false), !tbaa.struct !11
  %23 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0
  %24 = load i64, ptr %23, align 1
  %25 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1
  %26 = load i64, ptr %25, align 1
  %27 = call noundef i32 @_Z11checkWinnerSt5arrayIS_IcLm4EELm4EE(i64 %24, i64 %26)
  %28 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 %27, ptr %28, align 4, !tbaa !5
  %29 = load ptr, ptr %7, align 8, !tbaa !9
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = icmp ne i32 %30, 1073741824
  br i1 %31, label %32, label %35

32:                                               ; preds = %21
  %33 = load ptr, ptr %7, align 8, !tbaa !9
  %34 = load i32, ptr %33, align 4, !tbaa !5
  store i32 %34, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %108

35:                                               ; preds = %21
  %36 = load i32, ptr %6, align 4, !tbaa !5
  %37 = mul nsw i32 %36, -1
  %38 = load ptr, ptr %7, align 8, !tbaa !9
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = mul nsw i32 %39, %37
  store i32 %40, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %102, %35
  %42 = load i32, ptr %10, align 4, !tbaa !5
  %43 = icmp slt i32 %42, 4
  br i1 %43, label %45, label %44

44:                                               ; preds = %41
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %105

45:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %98, %45
  %47 = load i32, ptr %11, align 4, !tbaa !5
  %48 = icmp slt i32 %47, 4
  br i1 %48, label %50, label %49

49:                                               ; preds = %46
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %101

50:                                               ; preds = %46
  %51 = load i32, ptr %10, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %5, i64 noundef %52) #5
  %54 = load i32, ptr %11, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %53, i64 noundef %55) #5
  %57 = load i8, ptr %56, align 1, !tbaa !12
  %58 = sext i8 %57 to i32
  %59 = icmp eq i32 %58, 46
  br i1 %59, label %60, label %97

60:                                               ; preds = %50
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = icmp eq i32 %61, -1
  %63 = zext i1 %62 to i64
  %64 = select i1 %62, i8 120, i8 111
  %65 = load i32, ptr %10, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %5, i64 noundef %66) #5
  %68 = load i32, ptr %11, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %67, i64 noundef %69) #5
  store i8 %64, ptr %70, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = mul nsw i32 %71, -1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %13, ptr align 1 %5, i64 16, i1 false), !tbaa.struct !11
  %73 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %74 = load i64, ptr %73, align 1
  %75 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %76 = load i64, ptr %75, align 1
  %77 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %72, i64 %74, i64 %76)
  store i32 %77, ptr %12, align 4, !tbaa !5
  %78 = load i32, ptr %10, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %5, i64 noundef %79) #5
  %81 = load i32, ptr %11, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %80, i64 noundef %82) #5
  store i8 46, ptr %83, align 1, !tbaa !12
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = icmp eq i32 %84, -1
  br i1 %85, label %86, label %91

86:                                               ; preds = %60
  %87 = load ptr, ptr %7, align 8, !tbaa !9
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %87, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 %89, ptr %90, align 4, !tbaa !5
  br label %96

91:                                               ; preds = %60
  %92 = load ptr, ptr %7, align 8, !tbaa !9
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %92, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 %94, ptr %95, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %91, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %97

97:                                               ; preds = %96, %50
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %11, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %11, align 4, !tbaa !5
  br label %46, !llvm.loop !13

101:                                              ; preds = %49
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %10, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %10, align 4, !tbaa !5
  br label %41, !llvm.loop !15

105:                                              ; preds = %44
  %106 = load ptr, ptr %7, align 8, !tbaa !9
  %107 = load i32, ptr %106, align 4, !tbaa !5
  store i32 %107, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %108

108:                                              ; preds = %105, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %109

109:                                              ; preds = %108, %18
  %110 = load i32, ptr %4, align 4
  ret i32 %110
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEE5countERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(16)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint 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 #5 = { 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::array<std::array<char, 4>, 4>, std::pair<const std::array<std::array<char, 4>, 4>, int>, std::_Select1st<std::pair<const std::array<std::array<char, 4>, 4>, int>>, std::less<std::array<std::array<char, 4>, 4>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::array<std::array<char, 4>, 4>, std::pair<const std::array<std::array<char, 4>, 4>, int>, std::_Select1st<std::pair<const std::array<std::array<char, 4>, 4>, int>>, std::less<std::array<std::array<char, 4>, 4>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::array" = type { [4 x %"struct.std::array.0"] }
%"struct.std::array.0" = type { [4 x i8] }

@memo = external dso_local global %"class.std::map", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z11checkWinnerSt5arrayIS_IcLm4EELm4EE(i64, i64) local_unnamed_addr #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %0, i64 %1, i64 %2) local_unnamed_addr #0 {
  %4 = alloca %"struct.std::array", align 8
  %5 = alloca i32, align 4
  store i64 %1, ptr %4, align 8
  %6 = getelementptr inbounds i8, ptr %4, i64 8
  store i64 %2, ptr %6, align 8
  %7 = call noundef i64 @_ZNKSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEE5countERS6_(ptr noundef nonnull align 8 dereferenceable(48) @memo, ptr noundef nonnull align 1 dereferenceable(16) %4)
  %.not = icmp eq i64 %7, 0
  %8 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) @memo, ptr noundef nonnull align 1 dereferenceable(16) %4)
  br i1 %.not, label %11, label %9

9:                                                ; preds = %3
  %10 = load i32, ptr %8, align 4, !tbaa !5
  br label %113

11:                                               ; preds = %3
  %.sroa.010.0.copyload = load i64, ptr %4, align 8
  %.sroa.211.0.copyload = load i64, ptr %6, align 8, !tbaa !9
  %12 = call noundef i32 @_Z11checkWinnerSt5arrayIS_IcLm4EELm4EE(i64 %.sroa.010.0.copyload, i64 %.sroa.211.0.copyload)
  store i32 %12, ptr %8, align 4, !tbaa !5
  %.not29 = icmp eq i32 %12, 1073741824
  br i1 %.not29, label %13, label %113

13:                                               ; preds = %11
  %14 = sub nsw i32 0, %0
  %15 = shl nsw i32 %14, 30
  store i32 %15, ptr %8, align 4, !tbaa !5
  %16 = icmp eq i32 %0, -1
  %17 = select i1 %16, i8 120, i8 111
  br i1 %16, label %.preheader.us, label %.preheader

.preheader.us:                                    ; preds = %13, %.split.us.us
  %indvars.iv42 = phi i64 [ %indvars.iv.next43, %.split.us.us ], [ 0, %13 ]
  %18 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %19 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %18, i64 noundef 0) #4
  %20 = load i8, ptr %19, align 1, !tbaa !9
  %21 = icmp eq i8 %20, 46
  br i1 %21, label %22, label %29

22:                                               ; preds = %.preheader.us
  %23 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %24 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %23, i64 noundef 0) #4
  store i8 %17, ptr %24, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %.sroa.0.0.copyload.us.us = load i64, ptr %4, align 8
  %.sroa.2.0.copyload.us.us = load i64, ptr %6, align 8, !tbaa !9
  %25 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %14, i64 %.sroa.0.0.copyload.us.us, i64 %.sroa.2.0.copyload.us.us)
  store i32 %25, ptr %5, align 4, !tbaa !5
  %26 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %27 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %26, i64 noundef 0) #4
  store i8 46, ptr %27, align 1, !tbaa !9
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %storemerge.us.us = load i32, ptr %28, align 4, !tbaa !5
  store i32 %storemerge.us.us, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %29

29:                                               ; preds = %22, %.preheader.us
  %30 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %31 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %30, i64 noundef 1) #4
  %32 = load i8, ptr %31, align 1, !tbaa !9
  %33 = icmp eq i8 %32, 46
  br i1 %33, label %34, label %41

34:                                               ; preds = %29
  %35 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %36 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %35, i64 noundef 1) #4
  store i8 %17, ptr %36, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %.sroa.0.0.copyload.us.us.1 = load i64, ptr %4, align 8
  %.sroa.2.0.copyload.us.us.1 = load i64, ptr %6, align 8, !tbaa !9
  %37 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %14, i64 %.sroa.0.0.copyload.us.us.1, i64 %.sroa.2.0.copyload.us.us.1)
  store i32 %37, ptr %5, align 4, !tbaa !5
  %38 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %39 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %38, i64 noundef 1) #4
  store i8 46, ptr %39, align 1, !tbaa !9
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %storemerge.us.us.1 = load i32, ptr %40, align 4, !tbaa !5
  store i32 %storemerge.us.us.1, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %41

41:                                               ; preds = %34, %29
  %42 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %43 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %42, i64 noundef 2) #4
  %44 = load i8, ptr %43, align 1, !tbaa !9
  %45 = icmp eq i8 %44, 46
  br i1 %45, label %46, label %53

46:                                               ; preds = %41
  %47 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %48 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %47, i64 noundef 2) #4
  store i8 %17, ptr %48, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %.sroa.0.0.copyload.us.us.2 = load i64, ptr %4, align 8
  %.sroa.2.0.copyload.us.us.2 = load i64, ptr %6, align 8, !tbaa !9
  %49 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %14, i64 %.sroa.0.0.copyload.us.us.2, i64 %.sroa.2.0.copyload.us.us.2)
  store i32 %49, ptr %5, align 4, !tbaa !5
  %50 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %51 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %50, i64 noundef 2) #4
  store i8 46, ptr %51, align 1, !tbaa !9
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %storemerge.us.us.2 = load i32, ptr %52, align 4, !tbaa !5
  store i32 %storemerge.us.us.2, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %53

53:                                               ; preds = %46, %41
  %54 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %55 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %54, i64 noundef 3) #4
  %56 = load i8, ptr %55, align 1, !tbaa !9
  %57 = icmp eq i8 %56, 46
  br i1 %57, label %58, label %.split.us.us

58:                                               ; preds = %53
  %59 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %60 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %59, i64 noundef 3) #4
  store i8 %17, ptr %60, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %.sroa.0.0.copyload.us.us.3 = load i64, ptr %4, align 8
  %.sroa.2.0.copyload.us.us.3 = load i64, ptr %6, align 8, !tbaa !9
  %61 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %14, i64 %.sroa.0.0.copyload.us.us.3, i64 %.sroa.2.0.copyload.us.us.3)
  store i32 %61, ptr %5, align 4, !tbaa !5
  %62 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv42) #4
  %63 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %62, i64 noundef 3) #4
  store i8 46, ptr %63, align 1, !tbaa !9
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %storemerge.us.us.3 = load i32, ptr %64, align 4, !tbaa !5
  store i32 %storemerge.us.us.3, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %.split.us.us

.split.us.us:                                     ; preds = %58, %53
  %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42, 1
  %exitcond45.not = icmp eq i64 %indvars.iv.next43, 4
  br i1 %exitcond45.not, label %.split34.us, label %.preheader.us, !llvm.loop !10

.preheader:                                       ; preds = %13, %.split
  %indvars.iv = phi i64 [ %indvars.iv.next, %.split ], [ 0, %13 ]
  %65 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %66 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %65, i64 noundef 0) #4
  %67 = load i8, ptr %66, align 1, !tbaa !9
  %68 = icmp eq i8 %67, 46
  br i1 %68, label %70, label %77

.split34.us:                                      ; preds = %.split, %.split.us.us
  %69 = load i32, ptr %8, align 4, !tbaa !5
  br label %113

70:                                               ; preds = %.preheader
  %71 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %72 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %71, i64 noundef 0) #4
  store i8 %17, ptr %72, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %.sroa.0.0.copyload = load i64, ptr %4, align 8
  %.sroa.2.0.copyload = load i64, ptr %6, align 8, !tbaa !9
  %73 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %14, i64 %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload)
  store i32 %73, ptr %5, align 4, !tbaa !5
  %74 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %75 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %74, i64 noundef 0) #4
  store i8 46, ptr %75, align 1, !tbaa !9
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %storemerge = load i32, ptr %76, align 4, !tbaa !5
  store i32 %storemerge, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %77

77:                                               ; preds = %.preheader, %70
  %78 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %79 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %78, i64 noundef 1) #4
  %80 = load i8, ptr %79, align 1, !tbaa !9
  %81 = icmp eq i8 %80, 46
  br i1 %81, label %82, label %89

82:                                               ; preds = %77
  %83 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %84 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %83, i64 noundef 1) #4
  store i8 %17, ptr %84, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %.sroa.0.0.copyload.1 = load i64, ptr %4, align 8
  %.sroa.2.0.copyload.1 = load i64, ptr %6, align 8, !tbaa !9
  %85 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %14, i64 %.sroa.0.0.copyload.1, i64 %.sroa.2.0.copyload.1)
  store i32 %85, ptr %5, align 4, !tbaa !5
  %86 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %87 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %86, i64 noundef 1) #4
  store i8 46, ptr %87, align 1, !tbaa !9
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %storemerge.1 = load i32, ptr %88, align 4, !tbaa !5
  store i32 %storemerge.1, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %89

89:                                               ; preds = %82, %77
  %90 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %91 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %90, i64 noundef 2) #4
  %92 = load i8, ptr %91, align 1, !tbaa !9
  %93 = icmp eq i8 %92, 46
  br i1 %93, label %94, label %101

94:                                               ; preds = %89
  %95 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %96 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %95, i64 noundef 2) #4
  store i8 %17, ptr %96, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %.sroa.0.0.copyload.2 = load i64, ptr %4, align 8
  %.sroa.2.0.copyload.2 = load i64, ptr %6, align 8, !tbaa !9
  %97 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %14, i64 %.sroa.0.0.copyload.2, i64 %.sroa.2.0.copyload.2)
  store i32 %97, ptr %5, align 4, !tbaa !5
  %98 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %99 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %98, i64 noundef 2) #4
  store i8 46, ptr %99, align 1, !tbaa !9
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %storemerge.2 = load i32, ptr %100, align 4, !tbaa !5
  store i32 %storemerge.2, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %101

101:                                              ; preds = %94, %89
  %102 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %103 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %102, i64 noundef 3) #4
  %104 = load i8, ptr %103, align 1, !tbaa !9
  %105 = icmp eq i8 %104, 46
  br i1 %105, label %106, label %.split

106:                                              ; preds = %101
  %107 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %108 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %107, i64 noundef 3) #4
  store i8 %17, ptr %108, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %.sroa.0.0.copyload.3 = load i64, ptr %4, align 8
  %.sroa.2.0.copyload.3 = load i64, ptr %6, align 8, !tbaa !9
  %109 = call noundef i32 @_Z7minimaxiSt5arrayIS_IcLm4EELm4EE(i32 noundef %14, i64 %.sroa.0.0.copyload.3, i64 %.sroa.2.0.copyload.3)
  store i32 %109, ptr %5, align 4, !tbaa !5
  %110 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZNSt5arrayIS_IcLm4EELm4EEixEm(ptr noundef nonnull align 1 dereferenceable(16) %4, i64 noundef %indvars.iv) #4
  %111 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm4EEixEm(ptr noundef nonnull align 1 dereferenceable(4) %110, i64 noundef 3) #4
  store i8 46, ptr %111, align 1, !tbaa !9
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %storemerge.3 = load i32, ptr %112, align 4, !tbaa !5
  store i32 %storemerge.3, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %.split

.split:                                           ; preds = %106, %101
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 4
  br i1 %exitcond.not, label %.split34.us, label %.preheader, !llvm.loop !10

113:                                              ; preds = %.split34.us, %11, %9
  %.1 = phi i32 [ %10, %9 ], [ %69, %.split34.us ], [ %12, %11 ]
  ret i32 %.1
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEE5countERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt5arrayIS0_IcLm4EELm4EEiSt4lessIS2_ESaISt4pairIKS2_iEEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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 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 = { inlinehint 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 #4 = { nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass