; LLVM IR from kazunetakahashi/atcoder :: 201610_12/1218_ARC066 (E)

; 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
@A = external dso_local global [100010 x i64], align 16
@op = external dso_local global [100010 x i8], align 16
@dp = external dso_local global [100010 x [2 x i64]], align 16
@minusnum = external dso_local global [100010 x i32], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", 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 i8, align 1
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %13 = 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)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %52, %0
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = load i32, ptr @N, align 4, !tbaa !5
  %17 = icmp slt i32 %15, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %55

19:                                               ; preds = %14
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %21
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = load i32, ptr @N, align 4, !tbaa !5
  %26 = sub nsw i32 %25, 1
  %27 = icmp slt i32 %24, %26
  br i1 %27, label %28, label %51

28:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #6
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %3)
  %30 = load i8, ptr %3, align 1, !tbaa !9
  %31 = sext i8 %30 to i32
  %32 = icmp eq i32 %31, 43
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [100010 x i8], ptr @op, i64 0, i64 %34
  %36 = zext i1 %32 to i8
  store i8 %36, ptr %35, align 1, !tbaa !10
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [100010 x i8], ptr @op, i64 0, i64 %38
  %40 = load i8, ptr %39, align 1, !tbaa !10, !range !12, !noundef !13
  %41 = trunc i8 %40 to i1
  br i1 %41, label %42, label %46

42:                                               ; preds = %28
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %44
  store i32 0, ptr %45, align 4, !tbaa !5
  br label %50

46:                                               ; preds = %28
  %47 = load i32, ptr %2, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %48
  store i32 1, ptr %49, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %46, %42
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  br label %51

51:                                               ; preds = %50, %19
  br label %52

52:                                               ; preds = %51
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %2, align 4, !tbaa !5
  br label %14, !llvm.loop !14

55:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %72, %55
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = load i32, ptr @N, align 4, !tbaa !5
  %59 = icmp slt i32 %57, %58
  br i1 %59, label %61, label %60

60:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %75

61:                                               ; preds = %56
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = load i32, ptr %4, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = add nsw i32 %70, %65
  store i32 %71, ptr %69, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %61
  %73 = load i32, ptr %4, align 4, !tbaa !5
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %4, align 4, !tbaa !5
  br label %56, !llvm.loop !16

75:                                               ; preds = %60
  %76 = load i64, ptr @A, align 16, !tbaa !17
  store i64 %76, ptr @dp, align 16, !tbaa !17
  store i64 -1000000000000000, ptr getelementptr inbounds ([2 x i64], ptr @dp, i64 0, i64 1), align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %77

77:                                               ; preds = %220, %75
  %78 = load i32, ptr %5, align 4, !tbaa !5
  %79 = load i32, ptr @N, align 4, !tbaa !5
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %223

82:                                               ; preds = %77
  %83 = load i32, ptr %5, align 4, !tbaa !5
  %84 = sub nsw i32 %83, 1
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [100010 x i8], ptr @op, i64 0, i64 %85
  %87 = load i8, ptr %86, align 1, !tbaa !10, !range !12, !noundef !13
  %88 = trunc i8 %87 to i1
  br i1 %88, label %89, label %162

89:                                               ; preds = %82
  %90 = load i32, ptr %5, align 4, !tbaa !5
  %91 = sub nsw i32 %90, 1
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %92
  %94 = getelementptr inbounds [2 x i64], ptr %93, i64 0, i64 1
  %95 = load i64, ptr %94, align 8, !tbaa !17
  %96 = load i32, ptr %5, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %97
  %99 = load i64, ptr %98, align 8, !tbaa !17
  %100 = sub nsw i64 %95, %99
  %101 = load i32, ptr %5, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %102
  %104 = getelementptr inbounds [2 x i64], ptr %103, i64 0, i64 1
  store i64 %100, ptr %104, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %105 = load i32, ptr %5, align 4, !tbaa !5
  %106 = sub nsw i32 %105, 1
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %107
  %109 = getelementptr inbounds [2 x i64], ptr %108, i64 0, i64 0
  %110 = load i64, ptr %109, align 16, !tbaa !17
  %111 = load i32, ptr %5, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %112
  %114 = load i64, ptr %113, align 8, !tbaa !17
  %115 = add nsw i64 %110, %114
  store i64 %115, ptr %6, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = sub nsw i32 %116, 1
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %118
  %120 = getelementptr inbounds [2 x i64], ptr %119, i64 0, i64 1
  %121 = load i64, ptr %120, align 8, !tbaa !17
  %122 = load i32, ptr %5, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %123
  %125 = load i64, ptr %124, align 8, !tbaa !17
  %126 = sub nsw i64 %121, %125
  store i64 %126, ptr %7, align 8, !tbaa !17
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %128 = load i64, ptr %127, align 8, !tbaa !17
  %129 = load i32, ptr %5, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %130
  %132 = getelementptr inbounds [2 x i64], ptr %131, i64 0, i64 0
  store i64 %128, ptr %132, align 16, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %133 = load i32, ptr %5, align 4, !tbaa !5
  %134 = sub nsw i32 %133, 1
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = icmp sge i32 %137, 2
  br i1 %138, label %139, label %161

139:                                              ; preds = %89
  %140 = load i32, ptr %5, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %141
  %143 = getelementptr inbounds [2 x i64], ptr %142, i64 0, i64 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %144 = load i32, ptr %5, align 4, !tbaa !5
  %145 = sub nsw i32 %144, 1
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %146
  %148 = getelementptr inbounds [2 x i64], ptr %147, i64 0, i64 1
  %149 = load i64, ptr %148, align 8, !tbaa !17
  %150 = load i32, ptr %5, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %151
  %153 = load i64, ptr %152, align 8, !tbaa !17
  %154 = add nsw i64 %149, %153
  store i64 %154, ptr %8, align 8, !tbaa !17
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %156 = load i64, ptr %155, align 8, !tbaa !17
  %157 = load i32, ptr %5, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %158
  %160 = getelementptr inbounds [2 x i64], ptr %159, i64 0, i64 1
  store i64 %156, ptr %160, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %161

161:                                              ; preds = %139, %89
  br label %219

162:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %163 = load i32, ptr %5, align 4, !tbaa !5
  %164 = sub nsw i32 %163, 1
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %165
  %167 = getelementptr inbounds [2 x i64], ptr %166, i64 0, i64 1
  %168 = load i64, ptr %167, align 8, !tbaa !17
  %169 = load i32, ptr %5, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %170
  %172 = load i64, ptr %171, align 8, !tbaa !17
  %173 = add nsw i64 %168, %172
  store i64 %173, ptr %9, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %174 = load i32, ptr %5, align 4, !tbaa !5
  %175 = sub nsw i32 %174, 1
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %176
  %178 = getelementptr inbounds [2 x i64], ptr %177, i64 0, i64 0
  %179 = load i64, ptr %178, align 16, !tbaa !17
  %180 = load i32, ptr %5, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %181
  %183 = load i64, ptr %182, align 8, !tbaa !17
  %184 = sub nsw i64 %179, %183
  store i64 %184, ptr %10, align 8, !tbaa !17
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %186 = load i64, ptr %185, align 8, !tbaa !17
  %187 = load i32, ptr %5, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %188
  %190 = getelementptr inbounds [2 x i64], ptr %189, i64 0, i64 1
  store i64 %186, ptr %190, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %191 = load i32, ptr %5, align 4, !tbaa !5
  %192 = sub nsw i32 %191, 1
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %193
  %195 = getelementptr inbounds [2 x i64], ptr %194, i64 0, i64 1
  %196 = load i64, ptr %195, align 8, !tbaa !17
  %197 = load i32, ptr %5, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %198
  %200 = load i64, ptr %199, align 8, !tbaa !17
  %201 = add nsw i64 %196, %200
  store i64 %201, ptr %11, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %202 = load i32, ptr %5, align 4, !tbaa !5
  %203 = sub nsw i32 %202, 1
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %204
  %206 = getelementptr inbounds [2 x i64], ptr %205, i64 0, i64 0
  %207 = load i64, ptr %206, align 16, !tbaa !17
  %208 = load i32, ptr %5, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %209
  %211 = load i64, ptr %210, align 8, !tbaa !17
  %212 = sub nsw i64 %207, %211
  store i64 %212, ptr %12, align 8, !tbaa !17
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %214 = load i64, ptr %213, align 8, !tbaa !17
  %215 = load i32, ptr %5, align 4, !tbaa !5
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %216
  %218 = getelementptr inbounds [2 x i64], ptr %217, i64 0, i64 0
  store i64 %214, ptr %218, align 16, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %219

219:                                              ; preds = %162, %161
  br label %220

220:                                              ; preds = %219
  %221 = load i32, ptr %5, align 4, !tbaa !5
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %5, align 4, !tbaa !5
  br label %77, !llvm.loop !19

223:                                              ; preds = %81
  %224 = load i32, ptr @N, align 4, !tbaa !5
  %225 = sub nsw i32 %224, 1
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %226
  %228 = getelementptr inbounds [2 x i64], ptr %227, i64 0, i64 0
  %229 = load i32, ptr @N, align 4, !tbaa !5
  %230 = sub nsw i32 %229, 1
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %231
  %233 = getelementptr inbounds [2 x i64], ptr %232, i64 0, i64 1
  %234 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %228, ptr noundef nonnull align 8 dereferenceable(8) %233)
  %235 = load i64, ptr %234, align 8, !tbaa !17
  %236 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %235)
  %237 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %236, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %238 = load i32, ptr %1, align 4
  ret i32 %238
}

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #6 = { nounwind }

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

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


; 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
@A = external dso_local global [100010 x i64], align 16
@op = external dso_local local_unnamed_addr global [100010 x i8], align 16
@dp = external dso_local global [100010 x [2 x i64]], align 16
@minusnum = external dso_local local_unnamed_addr global [100010 x i32], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i8, align 1
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = 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)
  %10 = load i32, ptr @N, align 4, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge.thread

.preheader:                                       ; preds = %27
  %12 = icmp sgt i32 %28, 0
  br i1 %12, label %.lr.ph45.preheader, label %._crit_edge.thread

.lr.ph45.preheader:                               ; preds = %.preheader
  %wide.trip.count = zext nneg i32 %28 to i64
  %.pre60 = load i32, ptr @minusnum, align 16, !tbaa !5
  %xtraiter = and i64 %wide.trip.count, 3
  %13 = icmp ult i32 %28, 4
  br i1 %13, label %._crit_edge.unr-lcssa, label %.lr.ph45.preheader.new

.lr.ph45.preheader.new:                           ; preds = %.lr.ph45.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %.lr.ph45

.lr.ph:                                           ; preds = %0, %27
  %indvars.iv = phi i64 [ %indvars.iv.next, %27 ], [ 0, %0 ]
  %14 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %indvars.iv
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %16 = load i32, ptr @N, align 4, !tbaa !5
  %17 = add nsw i32 %16, -1
  %18 = sext i32 %17 to i64
  %19 = icmp slt i64 %indvars.iv, %18
  br i1 %19, label %20, label %27

20:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #6
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %1)
  %22 = load i8, ptr %1, align 1, !tbaa !9
  %23 = icmp eq i8 %22, 43
  %24 = getelementptr inbounds [100010 x i8], ptr @op, i64 0, i64 %indvars.iv
  %25 = zext i1 %23 to i8
  store i8 %25, ptr %24, align 1, !tbaa !10
  %not. = xor i1 %23, true
  %spec.select = zext i1 %not. to i32
  %26 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %indvars.iv
  store i32 %spec.select, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #6
  %.pre = load i32, ptr @N, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %.lr.ph, %20
  %28 = phi i32 [ %16, %.lr.ph ], [ %.pre, %20 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = sext i32 %28 to i64
  %30 = icmp slt i64 %indvars.iv.next, %29
  br i1 %30, label %.lr.ph, label %.preheader, !llvm.loop !12

._crit_edge.thread:                               ; preds = %.preheader, %0
  %.ph = phi i32 [ %28, %.preheader ], [ %10, %0 ]
  %31 = load i64, ptr @A, align 16, !tbaa !14
  store i64 %31, ptr @dp, align 16, !tbaa !14
  store i64 -1000000000000000, ptr getelementptr inbounds (i8, ptr @dp, i64 8), align 8, !tbaa !14
  br label %._crit_edge49

._crit_edge.unr-lcssa:                            ; preds = %.lr.ph45, %.lr.ph45.preheader
  %.unr = phi i32 [ %.pre60, %.lr.ph45.preheader ], [ %49, %.lr.ph45 ]
  %indvars.iv54.unr = phi i64 [ 0, %.lr.ph45.preheader ], [ %indvars.iv.next55.3, %.lr.ph45 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph45.epil

.lr.ph45.epil:                                    ; preds = %._crit_edge.unr-lcssa, %.lr.ph45.epil
  %32 = phi i32 [ %35, %.lr.ph45.epil ], [ %.unr, %._crit_edge.unr-lcssa ]
  %indvars.iv54.epil = phi i64 [ %indvars.iv.next55.epil, %.lr.ph45.epil ], [ %indvars.iv54.unr, %._crit_edge.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph45.epil ], [ 0, %._crit_edge.unr-lcssa ]
  %indvars.iv.next55.epil = add nuw nsw i64 %indvars.iv54.epil, 1
  %33 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %indvars.iv.next55.epil
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = add nsw i32 %34, %32
  store i32 %35, ptr %33, align 4, !tbaa !5
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph45.epil, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph45.epil, %._crit_edge.unr-lcssa
  %36 = load i64, ptr @A, align 16, !tbaa !14
  store i64 %36, ptr @dp, align 16, !tbaa !14
  store i64 -1000000000000000, ptr getelementptr inbounds (i8, ptr @dp, i64 8), align 8, !tbaa !14
  %.not = icmp eq i32 %28, 1
  br i1 %.not, label %._crit_edge49, label %.lr.ph48

.lr.ph45:                                         ; preds = %.lr.ph45, %.lr.ph45.preheader.new
  %37 = phi i32 [ %.pre60, %.lr.ph45.preheader.new ], [ %49, %.lr.ph45 ]
  %indvars.iv54 = phi i64 [ 0, %.lr.ph45.preheader.new ], [ %indvars.iv.next55.3, %.lr.ph45 ]
  %niter = phi i64 [ 0, %.lr.ph45.preheader.new ], [ %niter.next.3, %.lr.ph45 ]
  %indvars.iv.next55 = or disjoint i64 %indvars.iv54, 1
  %38 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %indvars.iv.next55
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = add nsw i32 %39, %37
  store i32 %40, ptr %38, align 4, !tbaa !5
  %indvars.iv.next55.1 = or disjoint i64 %indvars.iv54, 2
  %41 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %indvars.iv.next55.1
  %42 = load i32, ptr %41, align 8, !tbaa !5
  %43 = add nsw i32 %42, %40
  store i32 %43, ptr %41, align 8, !tbaa !5
  %indvars.iv.next55.2 = or disjoint i64 %indvars.iv54, 3
  %44 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %indvars.iv.next55.2
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = add nsw i32 %45, %43
  store i32 %46, ptr %44, align 4, !tbaa !5
  %indvars.iv.next55.3 = add nuw nsw i64 %indvars.iv54, 4
  %47 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %indvars.iv.next55.3
  %48 = load i32, ptr %47, align 16, !tbaa !5
  %49 = add nsw i32 %48, %46
  store i32 %49, ptr %47, align 16, !tbaa !5
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.unr-lcssa, label %.lr.ph45, !llvm.loop !18

._crit_edge49:                                    ; preds = %104, %._crit_edge.thread, %._crit_edge
  %.lcssa = phi i32 [ %28, %._crit_edge ], [ %.ph, %._crit_edge.thread ], [ %105, %104 ]
  %50 = add nsw i32 %.lcssa, -1
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %51
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %53)
  %55 = load i64, ptr %54, align 8, !tbaa !14
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %55)
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0

.lr.ph48:                                         ; preds = %._crit_edge, %104
  %indvars.iv57 = phi i64 [ %indvars.iv.next58, %104 ], [ 1, %._crit_edge ]
  %58 = add nsw i64 %indvars.iv57, -1
  %59 = getelementptr inbounds [100010 x i8], ptr @op, i64 0, i64 %58
  %60 = load i8, ptr %59, align 1, !tbaa !10, !range !19, !noundef !20
  %61 = trunc nuw i8 %60 to i1
  br i1 %61, label %62, label %84

62:                                               ; preds = %.lr.ph48
  %63 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %58
  %64 = getelementptr inbounds i8, ptr %63, i64 8
  %65 = load i64, ptr %64, align 8, !tbaa !14
  %66 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %indvars.iv57
  %67 = load i64, ptr %66, align 8, !tbaa !14
  %68 = sub nsw i64 %65, %67
  %69 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %indvars.iv57
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  store i64 %68, ptr %70, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %71 = load i64, ptr %63, align 16, !tbaa !14
  %72 = add nsw i64 %71, %67
  store i64 %72, ptr %2, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store i64 %68, ptr %3, align 8, !tbaa !14
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %74 = load i64, ptr %73, align 8, !tbaa !14
  store i64 %74, ptr %69, align 16, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %75 = getelementptr inbounds [100010 x i32], ptr @minusnum, i64 0, i64 %58
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = icmp sgt i32 %76, 1
  br i1 %77, label %78, label %104

78:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %79 = load i64, ptr %64, align 8, !tbaa !14
  %80 = load i64, ptr %66, align 8, !tbaa !14
  %81 = add nsw i64 %80, %79
  store i64 %81, ptr %4, align 8, !tbaa !14
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %83 = load i64, ptr %82, align 8, !tbaa !14
  store i64 %83, ptr %70, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %104

84:                                               ; preds = %.lr.ph48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %85 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %58
  %86 = getelementptr inbounds i8, ptr %85, i64 8
  %87 = load i64, ptr %86, align 8, !tbaa !14
  %88 = getelementptr inbounds [100010 x i64], ptr @A, i64 0, i64 %indvars.iv57
  %89 = load i64, ptr %88, align 8, !tbaa !14
  %90 = add nsw i64 %89, %87
  store i64 %90, ptr %5, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %91 = load i64, ptr %85, align 16, !tbaa !14
  %92 = sub nsw i64 %91, %89
  store i64 %92, ptr %6, align 8, !tbaa !14
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %94 = load i64, ptr %93, align 8, !tbaa !14
  %95 = getelementptr inbounds [100010 x [2 x i64]], ptr @dp, i64 0, i64 %indvars.iv57
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  store i64 %94, ptr %96, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %97 = load i64, ptr %86, align 8, !tbaa !14
  %98 = load i64, ptr %88, align 8, !tbaa !14
  %99 = add nsw i64 %98, %97
  store i64 %99, ptr %7, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %100 = load i64, ptr %85, align 16, !tbaa !14
  %101 = sub nsw i64 %100, %98
  store i64 %101, ptr %8, align 8, !tbaa !14
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %103 = load i64, ptr %102, align 8, !tbaa !14
  store i64 %103, ptr %95, align 16, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %104

104:                                              ; preds = %84, %78, %62
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %105 = load i32, ptr @N, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = icmp slt i64 %indvars.iv.next58, %106
  br i1 %107, label %.lr.ph48, label %._crit_edge49, !llvm.loop !21
}

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #6 = { nounwind }

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

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


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