; LLVM IR from ahr9n/psolving-paradigms :: 4.dynamic-programming/02.max-2d-range-sum (UVA 108 - Maximum Sum)

; 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_istream" = type { ptr, i64, %"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@n = external dso_local global i32, align 4
@sum = external dso_local global [102 x [102 x i32]], align 16
@now = external dso_local global i32, align 4
@maxSum = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %11 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %12 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %14
  %16 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %15, ptr noundef null)
  %17 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %18 = getelementptr i8, ptr %17, i64 -24
  %19 = load i64, ptr %18, align 8
  %20 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %19
  %21 = call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %20, i64 noundef 9)
  %22 = load ptr, ptr @stdin, align 8, !tbaa !8
  %23 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %22)
  br label %24

24:                                               ; preds = %202, %0
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = getelementptr i8, ptr %26, i64 -24
  %28 = load i64, ptr %27, align 8
  %29 = getelementptr inbounds i8, ptr %25, i64 %28
  %30 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %29)
  br i1 %30, label %31, label %206

31:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 1, ptr %2, align 4, !tbaa !11
  br label %32

32:                                               ; preds = %55, %31
  %33 = load i32, ptr %2, align 4, !tbaa !11
  %34 = load i32, ptr @n, align 4, !tbaa !11
  %35 = icmp sle i32 %33, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  store i32 4, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %58

37:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 1, ptr %4, align 4, !tbaa !11
  br label %38

38:                                               ; preds = %51, %37
  %39 = load i32, ptr %4, align 4, !tbaa !11
  %40 = load i32, ptr @n, align 4, !tbaa !11
  %41 = icmp sle i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  store i32 7, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %54

43:                                               ; preds = %38
  %44 = load i32, ptr %2, align 4, !tbaa !11
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %45
  %47 = load i32, ptr %4, align 4, !tbaa !11
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [102 x i32], ptr %46, i64 0, i64 %48
  %50 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %49)
  br label %51

51:                                               ; preds = %43
  %52 = load i32, ptr %4, align 4, !tbaa !11
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %4, align 4, !tbaa !11
  br label %38, !llvm.loop !13

54:                                               ; preds = %42
  br label %55

55:                                               ; preds = %54
  %56 = load i32, ptr %2, align 4, !tbaa !11
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %2, align 4, !tbaa !11
  br label %32, !llvm.loop !15

58:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 1, ptr %5, align 4, !tbaa !11
  br label %59

59:                                               ; preds = %117, %58
  %60 = load i32, ptr %5, align 4, !tbaa !11
  %61 = load i32, ptr @n, align 4, !tbaa !11
  %62 = icmp sle i32 %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  store i32 10, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %120

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 1, ptr %6, align 4, !tbaa !11
  br label %65

65:                                               ; preds = %113, %64
  %66 = load i32, ptr %6, align 4, !tbaa !11
  %67 = load i32, ptr @n, align 4, !tbaa !11
  %68 = icmp sle i32 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  store i32 13, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %116

70:                                               ; preds = %65
  %71 = load i32, ptr %5, align 4, !tbaa !11
  %72 = sub nsw i32 %71, 1
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %73
  %75 = load i32, ptr %6, align 4, !tbaa !11
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [102 x i32], ptr %74, i64 0, i64 %76
  %78 = load i32, ptr %77, align 4, !tbaa !11
  %79 = load i32, ptr %5, align 4, !tbaa !11
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %80
  %82 = load i32, ptr %6, align 4, !tbaa !11
  %83 = sub nsw i32 %82, 1
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [102 x i32], ptr %81, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !11
  %87 = add nsw i32 %78, %86
  %88 = load i32, ptr %5, align 4, !tbaa !11
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %89
  %91 = load i32, ptr %6, align 4, !tbaa !11
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [102 x i32], ptr %90, i64 0, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !11
  %95 = add nsw i32 %94, %87
  store i32 %95, ptr %93, align 4, !tbaa !11
  %96 = load i32, ptr %5, align 4, !tbaa !11
  %97 = sub nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %98
  %100 = load i32, ptr %6, align 4, !tbaa !11
  %101 = sub nsw i32 %100, 1
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [102 x i32], ptr %99, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !11
  %105 = load i32, ptr %5, align 4, !tbaa !11
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %106
  %108 = load i32, ptr %6, align 4, !tbaa !11
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [102 x i32], ptr %107, i64 0, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !11
  %112 = sub nsw i32 %111, %104
  store i32 %112, ptr %110, align 4, !tbaa !11
  br label %113

113:                                              ; preds = %70
  %114 = load i32, ptr %6, align 4, !tbaa !11
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %6, align 4, !tbaa !11
  br label %65, !llvm.loop !16

116:                                              ; preds = %69
  br label %117

117:                                              ; preds = %116
  %118 = load i32, ptr %5, align 4, !tbaa !11
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %5, align 4, !tbaa !11
  br label %59, !llvm.loop !17

120:                                              ; preds = %63
  store i32 -1270000, ptr @maxSum, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 1, ptr %7, align 4, !tbaa !11
  br label %121

121:                                              ; preds = %199, %120
  %122 = load i32, ptr %7, align 4, !tbaa !11
  %123 = load i32, ptr @n, align 4, !tbaa !11
  %124 = icmp sle i32 %122, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %121
  store i32 16, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %202

126:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 1, ptr %8, align 4, !tbaa !11
  br label %127

127:                                              ; preds = %195, %126
  %128 = load i32, ptr %8, align 4, !tbaa !11
  %129 = load i32, ptr @n, align 4, !tbaa !11
  %130 = icmp sle i32 %128, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  store i32 19, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %198

132:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %133 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %133, ptr %9, align 4, !tbaa !11
  br label %134

134:                                              ; preds = %191, %132
  %135 = load i32, ptr %9, align 4, !tbaa !11
  %136 = load i32, ptr @n, align 4, !tbaa !11
  %137 = icmp sle i32 %135, %136
  br i1 %137, label %139, label %138

138:                                              ; preds = %134
  store i32 22, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %194

139:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %140 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %140, ptr %10, align 4, !tbaa !11
  br label %141

141:                                              ; preds = %187, %139
  %142 = load i32, ptr %10, align 4, !tbaa !11
  %143 = load i32, ptr @n, align 4, !tbaa !11
  %144 = icmp sle i32 %142, %143
  br i1 %144, label %146, label %145

145:                                              ; preds = %141
  store i32 25, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %190

146:                                              ; preds = %141
  %147 = load i32, ptr %9, align 4, !tbaa !11
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %148
  %150 = load i32, ptr %10, align 4, !tbaa !11
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [102 x i32], ptr %149, i64 0, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !11
  store i32 %153, ptr @now, align 4, !tbaa !11
  %154 = load i32, ptr %7, align 4, !tbaa !11
  %155 = sub nsw i32 %154, 1
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %156
  %158 = load i32, ptr %10, align 4, !tbaa !11
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [102 x i32], ptr %157, i64 0, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !11
  %162 = load i32, ptr @now, align 4, !tbaa !11
  %163 = sub nsw i32 %162, %161
  store i32 %163, ptr @now, align 4, !tbaa !11
  %164 = load i32, ptr %9, align 4, !tbaa !11
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %165
  %167 = load i32, ptr %8, align 4, !tbaa !11
  %168 = sub nsw i32 %167, 1
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [102 x i32], ptr %166, i64 0, i64 %169
  %171 = load i32, ptr %170, align 4, !tbaa !11
  %172 = load i32, ptr @now, align 4, !tbaa !11
  %173 = sub nsw i32 %172, %171
  store i32 %173, ptr @now, align 4, !tbaa !11
  %174 = load i32, ptr %7, align 4, !tbaa !11
  %175 = sub nsw i32 %174, 1
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %176
  %178 = load i32, ptr %8, align 4, !tbaa !11
  %179 = sub nsw i32 %178, 1
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [102 x i32], ptr %177, i64 0, i64 %180
  %182 = load i32, ptr %181, align 4, !tbaa !11
  %183 = load i32, ptr @now, align 4, !tbaa !11
  %184 = add nsw i32 %183, %182
  store i32 %184, ptr @now, align 4, !tbaa !11
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @maxSum, ptr noundef nonnull align 4 dereferenceable(4) @now)
  %186 = load i32, ptr %185, align 4, !tbaa !11
  store i32 %186, ptr @maxSum, align 4, !tbaa !11
  br label %187

187:                                              ; preds = %146
  %188 = load i32, ptr %10, align 4, !tbaa !11
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %10, align 4, !tbaa !11
  br label %141, !llvm.loop !18

190:                                              ; preds = %145
  br label %191

191:                                              ; preds = %190
  %192 = load i32, ptr %9, align 4, !tbaa !11
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %9, align 4, !tbaa !11
  br label %134, !llvm.loop !19

194:                                              ; preds = %138
  br label %195

195:                                              ; preds = %194
  %196 = load i32, ptr %8, align 4, !tbaa !11
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %8, align 4, !tbaa !11
  br label %127, !llvm.loop !20

198:                                              ; preds = %131
  br label %199

199:                                              ; preds = %198
  %200 = load i32, ptr %7, align 4, !tbaa !11
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %7, align 4, !tbaa !11
  br label %121, !llvm.loop !21

202:                                              ; preds = %125
  %203 = load i32, ptr @maxSum, align 4, !tbaa !11
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %203)
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %204, i8 noundef signext 10)
  br label %24, !llvm.loop !22

206:                                              ; preds = %24
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) #2 align 2

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #3 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1

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 = { "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 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 = { 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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 #7 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !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::basic_istream" = type { ptr, i64, %"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@n = external dso_local global i32, align 4
@sum = external dso_local global [102 x [102 x i32]], align 16
@now = external dso_local global i32, align 4
@maxSum = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %2 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %3 = getelementptr i8, ptr %2, i64 -24
  %4 = load i64, ptr %3, align 8
  %5 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %4
  %6 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %5, ptr noundef null)
  %7 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %8 = getelementptr i8, ptr %7, i64 -24
  %9 = load i64, ptr %8, align 8
  %10 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %9
  %11 = tail call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %10, i64 noundef 9)
  %12 = load ptr, ptr @stdin, align 8, !tbaa !8
  %13 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %12)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = getelementptr i8, ptr %15, i64 -24
  %17 = load i64, ptr %16, align 8
  %18 = getelementptr inbounds i8, ptr %14, i64 %17
  %19 = tail call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %18)
  br i1 %19, label %.preheader57, label %._crit_edge84

.preheader57:                                     ; preds = %0, %._crit_edge83
  %20 = load i32, ptr @n, align 4, !tbaa !11
  %.not60 = icmp slt i32 %20, 1
  br i1 %.not60, label %._crit_edge68.split.thread, label %.preheader55

.preheader56:                                     ; preds = %._crit_edge
  %.not4566 = icmp slt i32 %25, 1
  br i1 %.not4566, label %._crit_edge68.split.thread, label %.preheader54.preheader

.preheader54.preheader:                           ; preds = %.preheader56
  %21 = add nuw i32 %25, 1
  %wide.trip.count100 = zext i32 %21 to i64
  %.pre115.pre = load i32, ptr @sum, align 16, !tbaa !11
  %22 = zext nneg i32 %25 to i64
  %xtraiter = and i64 %22, 1
  %23 = icmp eq i32 %21, 2
  %unroll_iter = and i64 %22, 2147483646
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader54

.preheader55:                                     ; preds = %.preheader57, %._crit_edge
  %24 = phi i32 [ %25, %._crit_edge ], [ %20, %.preheader57 ]
  %indvars.iv91 = phi i64 [ %indvars.iv.next92, %._crit_edge ], [ 1, %.preheader57 ]
  %.not5158 = icmp slt i32 %24, 1
  br i1 %.not5158, label %.preheader55.._crit_edge_crit_edge, label %.lr.ph

.preheader55.._crit_edge_crit_edge:               ; preds = %.preheader55
  %.pre119 = sext i32 %24 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.preheader55.._crit_edge_crit_edge
  %.pre-phi120 = phi i64 [ %.pre119, %.preheader55.._crit_edge_crit_edge ], [ %29, %.lr.ph ]
  %25 = phi i32 [ %24, %.preheader55.._crit_edge_crit_edge ], [ %28, %.lr.ph ]
  %indvars.iv.next92 = add nuw nsw i64 %indvars.iv91, 1
  %.not.not = icmp slt i64 %indvars.iv91, %.pre-phi120
  br i1 %.not.not, label %.preheader55, label %.preheader56, !llvm.loop !13

.lr.ph:                                           ; preds = %.preheader55, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %.preheader55 ]
  %26 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %indvars.iv91, i64 %indvars.iv
  %27 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %26)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %28 = load i32, ptr @n, align 4, !tbaa !11
  %29 = sext i32 %28 to i64
  %.not51.not = icmp slt i64 %indvars.iv, %29
  br i1 %.not51.not, label %.lr.ph, label %._crit_edge, !llvm.loop !16

.preheader54:                                     ; preds = %.preheader54.preheader, %._crit_edge65
  %.pre115 = phi i32 [ %.pre115.pre, %.preheader54.preheader ], [ %.pre, %._crit_edge65 ]
  %indvars.iv97 = phi i64 [ 1, %.preheader54.preheader ], [ %indvars.iv.next98, %._crit_edge65 ]
  %30 = add nsw i64 %indvars.iv97, -1
  %.phi.trans.insert = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %indvars.iv97, i64 0
  %.pre = load i32, ptr %.phi.trans.insert, align 8, !tbaa !11
  br i1 %23, label %._crit_edge65.unr-lcssa, label %.preheader54.new

._crit_edge68.split.thread:                       ; preds = %.preheader56, %.preheader57
  store i32 -1270000, ptr @maxSum, align 4, !tbaa !11
  br label %._crit_edge83

._crit_edge68.split:                              ; preds = %._crit_edge65
  store i32 -1270000, ptr @maxSum, align 4, !tbaa !11
  br label %.preheader53

._crit_edge65.unr-lcssa:                          ; preds = %.preheader54.new, %.preheader54
  %.unr = phi i32 [ %.pre115, %.preheader54 ], [ %48, %.preheader54.new ]
  %.unr159 = phi i32 [ %.pre, %.preheader54 ], [ %53, %.preheader54.new ]
  %indvars.iv94.unr = phi i64 [ 1, %.preheader54 ], [ %indvars.iv.next95.1, %.preheader54.new ]
  br i1 %lcmp.mod.not, label %._crit_edge65, label %._crit_edge65.epilog-lcssa

._crit_edge65.epilog-lcssa:                       ; preds = %._crit_edge65.unr-lcssa
  %31 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %30, i64 %indvars.iv94.unr
  %32 = load i32, ptr %31, align 4, !tbaa !11
  %33 = add nsw i32 %.unr159, %32
  %34 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %indvars.iv97, i64 %indvars.iv94.unr
  %35 = load i32, ptr %34, align 4, !tbaa !11
  %36 = add nsw i32 %33, %35
  %37 = sub nsw i32 %36, %.unr
  store i32 %37, ptr %34, align 4, !tbaa !11
  br label %._crit_edge65

._crit_edge65:                                    ; preds = %._crit_edge65.unr-lcssa, %._crit_edge65.epilog-lcssa
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %exitcond101.not = icmp eq i64 %indvars.iv.next98, %wide.trip.count100
  br i1 %exitcond101.not, label %._crit_edge68.split, label %.preheader54, !llvm.loop !17

.preheader54.new:                                 ; preds = %.preheader54, %.preheader54.new
  %38 = phi i32 [ %48, %.preheader54.new ], [ %.pre115, %.preheader54 ]
  %39 = phi i32 [ %53, %.preheader54.new ], [ %.pre, %.preheader54 ]
  %indvars.iv94 = phi i64 [ %indvars.iv.next95.1, %.preheader54.new ], [ 1, %.preheader54 ]
  %niter = phi i64 [ %niter.next.1, %.preheader54.new ], [ 0, %.preheader54 ]
  %40 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %30, i64 %indvars.iv94
  %41 = load i32, ptr %40, align 4, !tbaa !11
  %42 = add nsw i32 %39, %41
  %43 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %indvars.iv97, i64 %indvars.iv94
  %44 = load i32, ptr %43, align 4, !tbaa !11
  %45 = add nsw i32 %42, %44
  %46 = sub nsw i32 %45, %38
  store i32 %46, ptr %43, align 4, !tbaa !11
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %47 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %30, i64 %indvars.iv.next95
  %48 = load i32, ptr %47, align 4, !tbaa !11
  %49 = add nsw i32 %46, %48
  %50 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %indvars.iv97, i64 %indvars.iv.next95
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = add nsw i32 %49, %51
  %53 = sub nsw i32 %52, %41
  store i32 %53, ptr %50, align 4, !tbaa !11
  %indvars.iv.next95.1 = add nuw nsw i64 %indvars.iv94, 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 %._crit_edge65.unr-lcssa, label %.preheader54.new, !llvm.loop !18

.preheader53:                                     ; preds = %._crit_edge68.split, %._crit_edge79
  %54 = phi i32 [ %75, %._crit_edge79 ], [ -1270000, %._crit_edge68.split ]
  %55 = phi i32 [ %76, %._crit_edge79 ], [ %25, %._crit_edge68.split ]
  %indvars.iv107 = phi i64 [ %indvars.iv.next108, %._crit_edge79 ], [ 1, %._crit_edge68.split ]
  %.not4776 = icmp slt i32 %55, 1
  br i1 %.not4776, label %._crit_edge79, label %.preheader52.lr.ph

.preheader52.lr.ph:                               ; preds = %.preheader53
  %56 = add nsw i64 %indvars.iv107, -1
  %57 = zext nneg i32 %55 to i64
  %58 = icmp ugt i64 %indvars.iv107, %57
  br i1 %58, label %._crit_edge79, label %.preheader52

._crit_edge83:                                    ; preds = %._crit_edge79, %._crit_edge68.split.thread
  %59 = phi i32 [ -1270000, %._crit_edge68.split.thread ], [ %75, %._crit_edge79 ]
  %60 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %59)
  %61 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %60, i8 noundef signext 10)
  %62 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = getelementptr i8, ptr %63, i64 -24
  %65 = load i64, ptr %64, align 8
  %66 = getelementptr inbounds i8, ptr %62, i64 %65
  %67 = tail call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %66)
  br i1 %67, label %.preheader57, label %._crit_edge84, !llvm.loop !19

.preheader52:                                     ; preds = %.preheader52.lr.ph, %._crit_edge75
  %68 = phi i32 [ %84, %._crit_edge75 ], [ %54, %.preheader52.lr.ph ]
  %69 = phi i32 [ %85, %._crit_edge75 ], [ %55, %.preheader52.lr.ph ]
  %70 = phi i32 [ %86, %._crit_edge75 ], [ %55, %.preheader52.lr.ph ]
  %indvars.iv102 = phi i64 [ %indvars.iv.next103, %._crit_edge75 ], [ 1, %.preheader52.lr.ph ]
  %71 = sext i32 %70 to i64
  %.not4873 = icmp sgt i64 %indvars.iv107, %71
  br i1 %.not4873, label %._crit_edge75, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader52
  %72 = add nsw i64 %indvars.iv102, -1
  %73 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %56, i64 %72
  %74 = icmp sgt i64 %indvars.iv102, %71
  br i1 %74, label %._crit_edge75, label %.preheader

._crit_edge79:                                    ; preds = %._crit_edge75, %.preheader52.lr.ph, %.preheader53
  %75 = phi i32 [ %54, %.preheader53 ], [ %54, %.preheader52.lr.ph ], [ %84, %._crit_edge75 ]
  %76 = phi i32 [ %55, %.preheader53 ], [ %55, %.preheader52.lr.ph ], [ %85, %._crit_edge75 ]
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %77 = sext i32 %76 to i64
  %.not46.not = icmp slt i64 %indvars.iv107, %77
  br i1 %.not46.not, label %.preheader53, label %._crit_edge83, !llvm.loop !20

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge72
  %78 = phi i32 [ %87, %._crit_edge72 ], [ %68, %.preheader.lr.ph ]
  %79 = phi i32 [ %88, %._crit_edge72 ], [ %69, %.preheader.lr.ph ]
  %80 = phi i32 [ %89, %._crit_edge72 ], [ %70, %.preheader.lr.ph ]
  %81 = phi i32 [ %90, %._crit_edge72 ], [ %70, %.preheader.lr.ph ]
  %indvars.iv109 = phi i64 [ %indvars.iv.next110, %._crit_edge72 ], [ %indvars.iv107, %.preheader.lr.ph ]
  %82 = sext i32 %81 to i64
  %.not4969 = icmp sgt i64 %indvars.iv102, %82
  br i1 %.not4969, label %._crit_edge72, label %.lr.ph71

.lr.ph71:                                         ; preds = %.preheader
  %83 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %indvars.iv109, i64 %72
  br label %91

._crit_edge75.loopexit85:                         ; preds = %._crit_edge72
  %.pre117 = sext i32 %89 to i64
  br label %._crit_edge75

._crit_edge75:                                    ; preds = %.preheader.lr.ph, %._crit_edge75.loopexit85, %.preheader52
  %.pre-phi = phi i64 [ %.pre117, %._crit_edge75.loopexit85 ], [ %71, %.preheader52 ], [ %71, %.preheader.lr.ph ]
  %84 = phi i32 [ %87, %._crit_edge75.loopexit85 ], [ %68, %.preheader52 ], [ %68, %.preheader.lr.ph ]
  %85 = phi i32 [ %88, %._crit_edge75.loopexit85 ], [ %69, %.preheader52 ], [ %69, %.preheader.lr.ph ]
  %86 = phi i32 [ %89, %._crit_edge75.loopexit85 ], [ %70, %.preheader52 ], [ %70, %.preheader.lr.ph ]
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %.not47.not = icmp slt i64 %indvars.iv102, %.pre-phi
  br i1 %.not47.not, label %.preheader52, label %._crit_edge79, !llvm.loop !21

._crit_edge72:                                    ; preds = %91, %.preheader
  %.pre-phi118 = phi i64 [ %82, %.preheader ], [ %104, %91 ]
  %87 = phi i32 [ %78, %.preheader ], [ %102, %91 ]
  %88 = phi i32 [ %79, %.preheader ], [ %103, %91 ]
  %89 = phi i32 [ %80, %.preheader ], [ %103, %91 ]
  %90 = phi i32 [ %81, %.preheader ], [ %103, %91 ]
  %indvars.iv.next110 = add nuw nsw i64 %indvars.iv109, 1
  %.not48.not = icmp slt i64 %indvars.iv109, %.pre-phi118
  br i1 %.not48.not, label %.preheader, label %._crit_edge75.loopexit85, !llvm.loop !22

91:                                               ; preds = %.lr.ph71, %91
  %indvars.iv104 = phi i64 [ %indvars.iv102, %.lr.ph71 ], [ %indvars.iv.next105, %91 ]
  %92 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %indvars.iv109, i64 %indvars.iv104
  %93 = load i32, ptr %92, align 4, !tbaa !11
  %94 = getelementptr inbounds [102 x [102 x i32]], ptr @sum, i64 0, i64 %56, i64 %indvars.iv104
  %95 = load i32, ptr %94, align 4, !tbaa !11
  %96 = load i32, ptr %83, align 4, !tbaa !11
  %97 = add i32 %95, %96
  %98 = sub i32 %93, %97
  %99 = load i32, ptr %73, align 4, !tbaa !11
  %100 = add nsw i32 %99, %98
  store i32 %100, ptr @now, align 4, !tbaa !11
  %101 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @maxSum, ptr noundef nonnull align 4 dereferenceable(4) @now)
  %102 = load i32, ptr %101, align 4, !tbaa !11
  store i32 %102, ptr @maxSum, align 4, !tbaa !11
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %103 = load i32, ptr @n, align 4, !tbaa !11
  %104 = sext i32 %103 to i64
  %.not49.not = icmp slt i64 %indvars.iv104, %104
  br i1 %.not49.not, label %91, label %._crit_edge72, !llvm.loop !23

._crit_edge84:                                    ; preds = %._crit_edge83, %0
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) local_unnamed_addr #2 align 2

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #3 align 2

; 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 #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1

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 = { "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 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 = { 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 = { 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 = { 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" }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14, !15}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.unswitch.partial.disable"}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14, !15}
!21 = distinct !{!21, !14, !15}
!22 = distinct !{!22, !14, !15}
!23 = distinct !{!23, !14}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass