; LLVM IR from tangjz/acm-icpc :: codeforces/gym (101955E)

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

%"struct.std::pair" = type { i32, i32 }

@t = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global [100001 x i32], align 16
@a = external dso_local global [4 x [100001 x i64]], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8seg_initii(i32 noundef, i32 noundef) #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: mustprogress uwtable
declare dso_local void @_Z7seg_updiii(i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %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
  %11 = alloca [4 x %"struct.std::pair"], align 16
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  store i64 -1000000000000000, ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 3), align 8, !tbaa !5
  store i64 -1000000000000000, ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 2), align 16, !tbaa !5
  store i64 -1000000000000000, ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 1), align 8, !tbaa !5
  store i64 -1000000000000000, ptr @a, align 16, !tbaa !5
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @t)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %17

17:                                               ; preds = %207, %0
  %18 = load i32, ptr %2, align 4, !tbaa !9
  %19 = load i32, ptr @t, align 4, !tbaa !9
  %20 = icmp sle i32 %18, %19
  br i1 %20, label %22, label %21

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

22:                                               ; preds = %17
  %23 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @n, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %24

24:                                               ; preds = %64, %22
  %25 = load i32, ptr %4, align 4, !tbaa !9
  %26 = load i32, ptr @n, align 4, !tbaa !9
  %27 = icmp sle i32 %25, %26
  br i1 %27, label %29, label %28

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

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %30 = load i32, ptr %4, align 4, !tbaa !9
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds i32, ptr @p, i64 %31
  %33 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %5, ptr noundef %6, ptr noundef %32)
  %34 = load i32, ptr %5, align 4, !tbaa !9
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = add nsw i32 %34, %35
  %37 = sext i32 %36 to i64
  %38 = load i32, ptr %4, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [100001 x i64], ptr @a, i64 0, i64 %39
  store i64 %37, ptr %40, align 8, !tbaa !5
  %41 = load i32, ptr %5, align 4, !tbaa !9
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = sub nsw i32 %41, %42
  %44 = sext i32 %43 to i64
  %45 = load i32, ptr %4, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 1), i64 0, i64 %46
  store i64 %44, ptr %47, align 8, !tbaa !5
  %48 = load i32, ptr %5, align 4, !tbaa !9
  %49 = sub nsw i32 0, %48
  %50 = load i32, ptr %6, align 4, !tbaa !9
  %51 = add nsw i32 %49, %50
  %52 = sext i32 %51 to i64
  %53 = load i32, ptr %4, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 2), i64 0, i64 %54
  store i64 %52, ptr %55, align 8, !tbaa !5
  %56 = load i32, ptr %5, align 4, !tbaa !9
  %57 = sub nsw i32 0, %56
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = sub nsw i32 %57, %58
  %60 = sext i32 %59 to i64
  %61 = load i32, ptr %4, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 3), i64 0, i64 %62
  store i64 %60, ptr %63, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %64

64:                                               ; preds = %29
  %65 = load i32, ptr %4, align 4, !tbaa !9
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %4, align 4, !tbaa !9
  br label %24, !llvm.loop !11

67:                                               ; preds = %28
  %68 = load i32, ptr @n, align 4, !tbaa !9
  call void @_Z8seg_initii(i32 noundef 1, i32 noundef %68)
  %69 = load i32, ptr %2, align 4, !tbaa !9
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %69)
  br label %71

71:                                               ; preds = %205, %67
  %72 = load i32, ptr @m, align 4, !tbaa !9
  %73 = add nsw i32 %72, -1
  store i32 %73, ptr @m, align 4, !tbaa !9
  %74 = icmp ne i32 %72, 0
  br i1 %74, label %75, label %206

75:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %76 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %7, ptr noundef %8, ptr noundef %9)
  %77 = load i32, ptr %7, align 4, !tbaa !9
  %78 = icmp eq i32 %77, 1
  br i1 %78, label %79, label %119

79:                                               ; preds = %75
  %80 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %10)
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = load i32, ptr %10, align 4, !tbaa !9
  %83 = add nsw i32 %81, %82
  %84 = sext i32 %83 to i64
  %85 = load i32, ptr %8, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [100001 x i64], ptr @a, i64 0, i64 %86
  %88 = load i64, ptr %87, align 8, !tbaa !5
  %89 = add nsw i64 %88, %84
  store i64 %89, ptr %87, align 8, !tbaa !5
  %90 = load i32, ptr %9, align 4, !tbaa !9
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = sub nsw i32 %90, %91
  %93 = sext i32 %92 to i64
  %94 = load i32, ptr %8, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 1), i64 0, i64 %95
  %97 = load i64, ptr %96, align 8, !tbaa !5
  %98 = add nsw i64 %97, %93
  store i64 %98, ptr %96, align 8, !tbaa !5
  %99 = load i32, ptr %9, align 4, !tbaa !9
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = sub nsw i32 %99, %100
  %102 = sext i32 %101 to i64
  %103 = load i32, ptr %8, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 2), i64 0, i64 %104
  %106 = load i64, ptr %105, align 8, !tbaa !5
  %107 = sub nsw i64 %106, %102
  store i64 %107, ptr %105, align 8, !tbaa !5
  %108 = load i32, ptr %9, align 4, !tbaa !9
  %109 = load i32, ptr %10, align 4, !tbaa !9
  %110 = add nsw i32 %108, %109
  %111 = sext i32 %110 to i64
  %112 = load i32, ptr %8, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 3), i64 0, i64 %113
  %115 = load i64, ptr %114, align 8, !tbaa !5
  %116 = sub nsw i64 %115, %111
  store i64 %116, ptr %114, align 8, !tbaa !5
  %117 = load i32, ptr @n, align 4, !tbaa !9
  %118 = load i32, ptr %8, align 4, !tbaa !9
  call void @_Z7seg_updiii(i32 noundef 1, i32 noundef %117, i32 noundef %118)
  br label %205

119:                                              ; preds = %75
  %120 = load i32, ptr %7, align 4, !tbaa !9
  %121 = icmp eq i32 %120, 2
  br i1 %121, label %122, label %129

122:                                              ; preds = %119
  %123 = load i32, ptr %9, align 4, !tbaa !9
  %124 = load i32, ptr %8, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %125
  store i32 %123, ptr %126, align 4, !tbaa !9
  %127 = load i32, ptr @n, align 4, !tbaa !9
  %128 = load i32, ptr %8, align 4, !tbaa !9
  call void @_Z7seg_updiii(i32 noundef 1, i32 noundef %127, i32 noundef %128)
  br label %204

129:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  %130 = getelementptr inbounds %"struct.std::pair", ptr %11, i64 4
  br label %131

131:                                              ; preds = %131, %129
  %132 = phi ptr [ %11, %129 ], [ %133, %131 ]
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %132)
  %133 = getelementptr inbounds %"struct.std::pair", ptr %132, i64 1
  %134 = icmp eq ptr %133, %130
  br i1 %134, label %135, label %131

135:                                              ; preds = %131
  %136 = load i32, ptr @n, align 4, !tbaa !9
  %137 = load i32, ptr %8, align 4, !tbaa !9
  %138 = load i32, ptr %9, align 4, !tbaa !9
  %139 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %11, i64 0, i64 0
  call void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef 1, i32 noundef %136, i32 noundef %137, i32 noundef %138, ptr noundef %139)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 3, ptr %14, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %196, %135
  %141 = load i32, ptr %13, align 4, !tbaa !9
  %142 = icmp slt i32 %141, 4
  br i1 %142, label %144, label %143

143:                                              ; preds = %140
  store i32 10, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %201

144:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %145 = load i32, ptr %13, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 %146
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %11, i64 0, i64 %149
  %151 = getelementptr inbounds %"struct.std::pair", ptr %150, i32 0, i32 0
  %152 = load i32, ptr %151, align 8, !tbaa !13
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [100001 x i64], ptr %147, i64 0, i64 %153
  %155 = load i64, ptr %154, align 8, !tbaa !5
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 %157
  %159 = load i32, ptr %13, align 4, !tbaa !9
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %11, i64 0, i64 %160
  %162 = getelementptr inbounds %"struct.std::pair", ptr %161, i32 0, i32 0
  %163 = load i32, ptr %162, align 8, !tbaa !13
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %164
  %166 = load i32, ptr %165, align 4, !tbaa !9
  %167 = load i32, ptr %14, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %11, i64 0, i64 %168
  %170 = getelementptr inbounds %"struct.std::pair", ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 8, !tbaa !13
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !9
  %175 = icmp ne i32 %166, %174
  br i1 %175, label %176, label %182

176:                                              ; preds = %144
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %11, i64 0, i64 %178
  %180 = getelementptr inbounds %"struct.std::pair", ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 8, !tbaa !13
  br label %188

182:                                              ; preds = %144
  %183 = load i32, ptr %14, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %11, i64 0, i64 %184
  %186 = getelementptr inbounds %"struct.std::pair", ptr %185, i32 0, i32 1
  %187 = load i32, ptr %186, align 4, !tbaa !15
  br label %188

188:                                              ; preds = %182, %176
  %189 = phi i32 [ %181, %176 ], [ %187, %182 ]
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [100001 x i64], ptr %158, i64 0, i64 %190
  %192 = load i64, ptr %191, align 8, !tbaa !5
  %193 = add nsw i64 %155, %192
  store i64 %193, ptr %15, align 8, !tbaa !5
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %195 = load i64, ptr %194, align 8, !tbaa !5
  store i64 %195, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %196

196:                                              ; preds = %188
  %197 = load i32, ptr %13, align 4, !tbaa !9
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %13, align 4, !tbaa !9
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = add nsw i32 %199, -1
  store i32 %200, ptr %14, align 4, !tbaa !9
  br label %140, !llvm.loop !16

201:                                              ; preds = %143
  %202 = load i64, ptr %12, align 8, !tbaa !5
  %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %202)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  br label %204

204:                                              ; preds = %201, %122
  br label %205

205:                                              ; preds = %204, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %71, !llvm.loop !17

206:                                              ; preds = %71
  br label %207

207:                                              ; preds = %206
  %208 = load i32, ptr %2, align 4, !tbaa !9
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %2, align 4, !tbaa !9
  br label %17, !llvm.loop !18

210:                                              ; preds = %21
  ret i32 0
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

declare i32 @printf(ptr noundef, ...) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #4 align 2

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

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

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

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

%"struct.std::pair" = type { i32, i32 }

@t = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global [100001 x i32], align 16
@a = external dso_local local_unnamed_addr global [4 x [100001 x i64]], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8seg_initii(i32 noundef, i32 noundef) 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 uwtable
declare dso_local void @_Z7seg_updiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %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 [4 x %"struct.std::pair"], align 16
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  store i64 -1000000000000000, ptr getelementptr inbounds (i8, ptr @a, i64 2400024), align 8, !tbaa !5
  store i64 -1000000000000000, ptr getelementptr inbounds (i8, ptr @a, i64 1600016), align 16, !tbaa !5
  store i64 -1000000000000000, ptr getelementptr inbounds (i8, ptr @a, i64 800008), align 8, !tbaa !5
  store i64 -1000000000000000, ptr @a, align 16, !tbaa !5
  %10 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @t)
  %11 = load i32, ptr @t, align 4, !tbaa !9
  %.not37 = icmp slt i32 %11, 1
  br i1 %.not37, label %._crit_edge41, label %.lr.ph40.preheader

.lr.ph40.preheader:                               ; preds = %0
  %.ptr.1 = getelementptr inbounds i8, ptr %7, i64 8
  %.ptr.2 = getelementptr inbounds i8, ptr %7, i64 16
  %.ptr.3 = getelementptr inbounds i8, ptr %7, i64 24
  %12 = getelementptr inbounds i8, ptr %7, i64 28
  %13 = getelementptr inbounds i8, ptr %7, i64 20
  %14 = getelementptr inbounds i8, ptr %7, i64 12
  %15 = getelementptr inbounds i8, ptr %7, i64 4
  br label %.lr.ph40

._crit_edge41:                                    ; preds = %._crit_edge36, %0
  ret i32 0

.lr.ph40:                                         ; preds = %.lr.ph40.preheader, %._crit_edge36
  %.02238 = phi i32 [ %142, %._crit_edge36 ], [ 1, %.lr.ph40.preheader ]
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %17 = load i32, ptr @n, align 4, !tbaa !9
  %.not2529 = icmp slt i32 %17, 1
  br i1 %.not2529, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph40
  %.lcssa = phi i32 [ %17, %.lr.ph40 ], [ %37, %.lr.ph ]
  call void @_Z8seg_initii(i32 noundef 1, i32 noundef %.lcssa)
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %.02238)
  %19 = load i32, ptr @m, align 4, !tbaa !9
  %20 = add nsw i32 %19, -1
  store i32 %20, ptr @m, align 4, !tbaa !9
  %.not2633 = icmp eq i32 %19, 0
  br i1 %.not2633, label %._crit_edge36, label %.lr.ph35

.lr.ph:                                           ; preds = %.lr.ph40, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %.lr.ph40 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %21 = getelementptr inbounds i32, ptr @p, i64 %indvars.iv
  %22 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %21)
  %23 = load i32, ptr %1, align 4, !tbaa !9
  %24 = load i32, ptr %2, align 4, !tbaa !9
  %25 = add i32 %24, %23
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [100001 x i64], ptr @a, i64 0, i64 %indvars.iv
  store i64 %26, ptr %27, align 8, !tbaa !5
  %28 = sub nsw i32 %23, %24
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds (i8, ptr @a, i64 800008), i64 0, i64 %indvars.iv
  store i64 %29, ptr %30, align 8, !tbaa !5
  %31 = sub i32 %24, %23
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds (i8, ptr @a, i64 1600016), i64 0, i64 %indvars.iv
  store i64 %32, ptr %33, align 8, !tbaa !5
  %34 = sub i32 0, %25
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds (i8, ptr @a, i64 2400024), i64 0, i64 %indvars.iv
  store i64 %35, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %37 = load i32, ptr @n, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %.not25.not = icmp slt i64 %indvars.iv, %38
  br i1 %.not25.not, label %.lr.ph, label %._crit_edge, !llvm.loop !11

.lr.ph35:                                         ; preds = %._crit_edge, %139
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %39 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %40 = load i32, ptr %3, align 4, !tbaa !9
  switch i32 %40, label %70 [
    i32 1, label %41
    i32 2, label %64
  ]

41:                                               ; preds = %.lr.ph35
  %42 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %6)
  %43 = load i32, ptr %5, align 4, !tbaa !9
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = add nsw i32 %44, %43
  %46 = sext i32 %45 to i64
  %47 = load i32, ptr %4, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [100001 x i64], ptr @a, i64 0, i64 %48
  %50 = load i64, ptr %49, align 8, !tbaa !5
  %51 = add nsw i64 %50, %46
  store i64 %51, ptr %49, align 8, !tbaa !5
  %52 = sub nsw i32 %43, %44
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds (i8, ptr @a, i64 800008), i64 0, i64 %48
  %55 = load i64, ptr %54, align 8, !tbaa !5
  %56 = add nsw i64 %55, %53
  store i64 %56, ptr %54, align 8, !tbaa !5
  %57 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds (i8, ptr @a, i64 1600016), i64 0, i64 %48
  %58 = load i64, ptr %57, align 8, !tbaa !5
  %59 = sub nsw i64 %58, %53
  store i64 %59, ptr %57, align 8, !tbaa !5
  %60 = getelementptr inbounds [100001 x i64], ptr getelementptr inbounds (i8, ptr @a, i64 2400024), i64 0, i64 %48
  %61 = load i64, ptr %60, align 8, !tbaa !5
  %62 = sub nsw i64 %61, %46
  store i64 %62, ptr %60, align 8, !tbaa !5
  %63 = load i32, ptr @n, align 4, !tbaa !9
  call void @_Z7seg_updiii(i32 noundef 1, i32 noundef %63, i32 noundef %47)
  br label %139

64:                                               ; preds = %.lr.ph35
  %65 = load i32, ptr %5, align 4, !tbaa !9
  %66 = load i32, ptr %4, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %67
  store i32 %65, ptr %68, align 4, !tbaa !9
  %69 = load i32, ptr @n, align 4, !tbaa !9
  call void @_Z7seg_updiii(i32 noundef 1, i32 noundef %69, i32 noundef %66)
  br label %139

70:                                               ; preds = %.lr.ph35
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1)
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2)
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.3)
  %71 = load i32, ptr @n, align 4, !tbaa !9
  %72 = load i32, ptr %4, align 4, !tbaa !9
  %73 = load i32, ptr %5, align 4, !tbaa !9
  call void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef 1, i32 noundef %71, i32 noundef %72, i32 noundef %73, ptr noundef nonnull %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  store i64 0, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %74 = load i32, ptr %7, align 16, !tbaa !13
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 0, i64 %75
  %77 = load i64, ptr %76, align 8, !tbaa !5
  %78 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %75
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = load i32, ptr %.ptr.3, align 8, !tbaa !13
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %.not28 = icmp eq i32 %79, %83
  %84 = load i32, ptr %12, align 4
  %.pre = sext i32 %84 to i64
  %.pre-phi = select i1 %.not28, i64 %.pre, i64 %81
  %85 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 3, i64 %.pre-phi
  %86 = load i64, ptr %85, align 8, !tbaa !5
  %87 = add nsw i64 %86, %77
  store i64 %87, ptr %9, align 8, !tbaa !5
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %89 = load i64, ptr %88, align 8, !tbaa !5
  store i64 %89, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %90 = load i32, ptr %.ptr.1, align 8, !tbaa !13
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 1, i64 %91
  %93 = load i64, ptr %92, align 8, !tbaa !5
  %94 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %91
  %95 = load i32, ptr %94, align 4, !tbaa !9
  %96 = load i32, ptr %.ptr.2, align 16, !tbaa !13
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %.not28.1 = icmp eq i32 %95, %99
  %100 = load i32, ptr %13, align 4
  %.pre51 = sext i32 %100 to i64
  %.pre-phi52 = select i1 %.not28.1, i64 %.pre51, i64 %97
  %101 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 2, i64 %.pre-phi52
  %102 = load i64, ptr %101, align 8, !tbaa !5
  %103 = add nsw i64 %102, %93
  store i64 %103, ptr %9, align 8, !tbaa !5
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %105 = load i64, ptr %104, align 8, !tbaa !5
  store i64 %105, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %106 = load i32, ptr %.ptr.2, align 16, !tbaa !13
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 2, i64 %107
  %109 = load i64, ptr %108, align 8, !tbaa !5
  %110 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %107
  %111 = load i32, ptr %110, align 4, !tbaa !9
  %112 = load i32, ptr %.ptr.1, align 8, !tbaa !13
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %.not28.2 = icmp eq i32 %111, %115
  %116 = load i32, ptr %14, align 4
  %.pre53 = sext i32 %116 to i64
  %.pre-phi54 = select i1 %.not28.2, i64 %.pre53, i64 %113
  %117 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 1, i64 %.pre-phi54
  %118 = load i64, ptr %117, align 8, !tbaa !5
  %119 = add nsw i64 %118, %109
  store i64 %119, ptr %9, align 8, !tbaa !5
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %121 = load i64, ptr %120, align 8, !tbaa !5
  store i64 %121, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %122 = load i32, ptr %.ptr.3, align 8, !tbaa !13
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 3, i64 %123
  %125 = load i64, ptr %124, align 8, !tbaa !5
  %126 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %123
  %127 = load i32, ptr %126, align 4, !tbaa !9
  %128 = load i32, ptr %7, align 16, !tbaa !13
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [100001 x i32], ptr @p, i64 0, i64 %129
  %131 = load i32, ptr %130, align 4, !tbaa !9
  %.not28.3 = icmp eq i32 %127, %131
  %132 = load i32, ptr %15, align 4
  %.pre55 = sext i32 %132 to i64
  %.pre-phi56 = select i1 %.not28.3, i64 %.pre55, i64 %129
  %133 = getelementptr inbounds [4 x [100001 x i64]], ptr @a, i64 0, i64 0, i64 %.pre-phi56
  %134 = load i64, ptr %133, align 8, !tbaa !5
  %135 = add nsw i64 %134, %125
  store i64 %135, ptr %9, align 8, !tbaa !5
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %137 = load i64, ptr %136, align 8, !tbaa !5
  store i64 %137, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %137)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %139

139:                                              ; preds = %64, %70, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  %140 = load i32, ptr @m, align 4, !tbaa !9
  %141 = add nsw i32 %140, -1
  store i32 %141, ptr @m, align 4, !tbaa !9
  %.not26 = icmp eq i32 %140, 0
  br i1 %.not26, label %._crit_edge36, label %.lr.ph35, !llvm.loop !15

._crit_edge36:                                    ; preds = %139, %._crit_edge
  %142 = add nuw nsw i32 %.02238, 1
  %143 = load i32, ptr @t, align 4, !tbaa !9
  %.not.not = icmp slt i32 %.02238, %143
  br i1 %.not.not, label %.lr.ph40, label %._crit_edge41, !llvm.loop !16
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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 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 #3 = { nofree nounwind "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 = { 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 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 = { nounwind }

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

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


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