; LLVM IR from VastoLorde95/Competitive-Programming :: Timus/1887 (A)

; 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" }
%"struct.std::_Setprecision" = type { i32 }

@a = external dso_local global [30 x i32], align 16
@b = external dso_local global [30 x i32], align 16
@c = external dso_local global [30 x i32], align 16
@dp = external dso_local global [30 x [11 x double]], align 16
@p = external dso_local global [10 x double], align 16
@dp2 = external dso_local global [1024 x double], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z7computei(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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %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 i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::_Setprecision", align 4
  store i32 0, ptr %1, align 4
  %15 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %16 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %17 = getelementptr i8, ptr %16, i64 -24
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %18
  %20 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %19, ptr noundef null)
  %21 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %22 = getelementptr i8, ptr %21, i64 -24
  %23 = load i64, ptr %22, align 8
  %24 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %23
  %25 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %24, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 1, ptr %3, align 4, !tbaa !8
  br label %27

27:                                               ; preds = %37, %0
  %28 = load i32, ptr %3, align 4, !tbaa !8
  %29 = load i32, ptr %2, align 4, !tbaa !8
  %30 = icmp sle i32 %28, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %40

32:                                               ; preds = %27
  %33 = load i32, ptr %3, align 4, !tbaa !8
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [30 x i32], ptr @a, i64 0, i64 %34
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %35)
  br label %37

37:                                               ; preds = %32
  %38 = load i32, ptr %3, align 4, !tbaa !8
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %3, align 4, !tbaa !8
  br label %27, !llvm.loop !11

40:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  store i32 1, ptr %4, align 4, !tbaa !8
  br label %41

41:                                               ; preds = %51, %40
  %42 = load i32, ptr %4, align 4, !tbaa !8
  %43 = load i32, ptr %2, align 4, !tbaa !8
  %44 = icmp sle i32 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %54

46:                                               ; preds = %41
  %47 = load i32, ptr %4, align 4, !tbaa !8
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [30 x i32], ptr @b, 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 = %46
  %52 = load i32, ptr %4, align 4, !tbaa !8
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %4, align 4, !tbaa !8
  br label %41, !llvm.loop !13

54:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 1, ptr %5, align 4, !tbaa !8
  br label %55

55:                                               ; preds = %65, %54
  %56 = load i32, ptr %5, align 4, !tbaa !8
  %57 = load i32, ptr %2, align 4, !tbaa !8
  %58 = icmp sle i32 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %68

60:                                               ; preds = %55
  %61 = load i32, ptr %5, align 4, !tbaa !8
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [30 x i32], ptr @c, i64 0, i64 %62
  %64 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %63)
  br label %65

65:                                               ; preds = %60
  %66 = load i32, ptr %5, align 4, !tbaa !8
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %5, align 4, !tbaa !8
  br label %55, !llvm.loop !14

68:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 0, ptr %6, align 4, !tbaa !8
  br label %69

69:                                               ; preds = %90, %68
  %70 = load i32, ptr %6, align 4, !tbaa !8
  %71 = icmp slt i32 %70, 10
  br i1 %71, label %73, label %72

72:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %93

73:                                               ; preds = %69
  %74 = load i32, ptr getelementptr inbounds ([30 x i32], ptr @a, i64 0, i64 1), align 4, !tbaa !8
  %75 = load i32, ptr %6, align 4, !tbaa !8
  %76 = mul nsw i32 %74, %75
  %77 = load i32, ptr %6, align 4, !tbaa !8
  %78 = mul nsw i32 %76, %77
  %79 = load i32, ptr getelementptr inbounds ([30 x i32], ptr @b, i64 0, i64 1), align 4, !tbaa !8
  %80 = load i32, ptr %6, align 4, !tbaa !8
  %81 = mul nsw i32 %79, %80
  %82 = add nsw i32 %78, %81
  %83 = load i32, ptr getelementptr inbounds ([30 x i32], ptr @c, i64 0, i64 1), align 4, !tbaa !8
  %84 = add nsw i32 %82, %83
  %85 = srem i32 %84, 11
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [11 x double], ptr getelementptr inbounds ([30 x [11 x double]], ptr @dp, i64 0, i64 1), i64 0, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !15
  %89 = fadd double %88, 1.000000e-01
  store double %89, ptr %87, align 8, !tbaa !15
  br label %90

90:                                               ; preds = %73
  %91 = load i32, ptr %6, align 4, !tbaa !8
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %6, align 4, !tbaa !8
  br label %69, !llvm.loop !17

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

94:                                               ; preds = %159, %93
  %95 = load i32, ptr %7, align 4, !tbaa !8
  %96 = load i32, ptr %2, align 4, !tbaa !8
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %94
  store i32 14, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %162

99:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !8
  br label %100

100:                                              ; preds = %155, %99
  %101 = load i32, ptr %9, align 4, !tbaa !8
  %102 = icmp sle i32 %101, 10
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  store i32 17, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %158

104:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !8
  br label %105

105:                                              ; preds = %151, %104
  %106 = load i32, ptr %10, align 4, !tbaa !8
  %107 = icmp slt i32 %106, 10
  br i1 %107, label %109, label %108

108:                                              ; preds = %105
  store i32 20, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %154

109:                                              ; preds = %105
  %110 = load i32, ptr %7, align 4, !tbaa !8
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %111
  %113 = load i32, ptr %9, align 4, !tbaa !8
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [11 x double], ptr %112, i64 0, i64 %114
  %116 = load double, ptr %115, align 8, !tbaa !15
  %117 = load i32, ptr %7, align 4, !tbaa !8
  %118 = add nsw i32 %117, 1
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %119
  %121 = load i32, ptr %9, align 4, !tbaa !8
  %122 = load i32, ptr %7, align 4, !tbaa !8
  %123 = add nsw i32 %122, 1
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [30 x i32], ptr @a, i64 0, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !8
  %127 = load i32, ptr %10, align 4, !tbaa !8
  %128 = mul nsw i32 %126, %127
  %129 = load i32, ptr %10, align 4, !tbaa !8
  %130 = mul nsw i32 %128, %129
  %131 = load i32, ptr %7, align 4, !tbaa !8
  %132 = add nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [30 x i32], ptr @b, i64 0, i64 %133
  %135 = load i32, ptr %134, align 4, !tbaa !8
  %136 = load i32, ptr %10, align 4, !tbaa !8
  %137 = mul nsw i32 %135, %136
  %138 = add nsw i32 %130, %137
  %139 = load i32, ptr %7, align 4, !tbaa !8
  %140 = add nsw i32 %139, 1
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [30 x i32], ptr @c, i64 0, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !8
  %144 = add nsw i32 %138, %143
  %145 = mul nsw i32 %121, %144
  %146 = srem i32 %145, 11
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [11 x double], ptr %120, i64 0, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !15
  %150 = call double @llvm.fmuladd.f64(double %116, double 1.000000e-01, double %149)
  store double %150, ptr %148, align 8, !tbaa !15
  br label %151

151:                                              ; preds = %109
  %152 = load i32, ptr %10, align 4, !tbaa !8
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %10, align 4, !tbaa !8
  br label %105, !llvm.loop !18

154:                                              ; preds = %108
  br label %155

155:                                              ; preds = %154
  %156 = load i32, ptr %9, align 4, !tbaa !8
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %9, align 4, !tbaa !8
  br label %100, !llvm.loop !19

158:                                              ; preds = %103
  br label %159

159:                                              ; preds = %158
  %160 = load i32, ptr %7, align 4, !tbaa !8
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %7, align 4, !tbaa !8
  br label %94, !llvm.loop !20

162:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !8
  br label %163

163:                                              ; preds = %181, %162
  %164 = load i32, ptr %11, align 4, !tbaa !8
  %165 = icmp sle i32 %164, 10
  br i1 %165, label %167, label %166

166:                                              ; preds = %163
  store i32 23, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %184

167:                                              ; preds = %163
  %168 = load i32, ptr %2, align 4, !tbaa !8
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %169
  %171 = load i32, ptr %11, align 4, !tbaa !8
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [11 x double], ptr %170, i64 0, i64 %172
  %174 = load double, ptr %173, align 8, !tbaa !15
  %175 = load i32, ptr %11, align 4, !tbaa !8
  %176 = srem i32 %175, 10
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [10 x double], ptr @p, i64 0, i64 %177
  %179 = load double, ptr %178, align 8, !tbaa !15
  %180 = fadd double %179, %174
  store double %180, ptr %178, align 8, !tbaa !15
  br label %181

181:                                              ; preds = %167
  %182 = load i32, ptr %11, align 4, !tbaa !8
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %11, align 4, !tbaa !8
  br label %163, !llvm.loop !21

184:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !8
  br label %185

185:                                              ; preds = %199, %184
  %186 = load i32, ptr %12, align 4, !tbaa !8
  %187 = icmp slt i32 %186, 10
  br i1 %187, label %189, label %188

188:                                              ; preds = %185
  store i32 26, ptr %8, align 4
  br label %202

189:                                              ; preds = %185
  %190 = load i32, ptr %12, align 4, !tbaa !8
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [10 x double], ptr @p, i64 0, i64 %191
  %193 = load double, ptr %192, align 8, !tbaa !15
  %194 = fcmp oeq double %193, 0.000000e+00
  br i1 %194, label %195, label %198

195:                                              ; preds = %189
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %202

198:                                              ; preds = %189
  br label %199

199:                                              ; preds = %198
  %200 = load i32, ptr %12, align 4, !tbaa !8
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %12, align 4, !tbaa !8
  br label %185, !llvm.loop !22

202:                                              ; preds = %195, %188
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  %203 = load i32, ptr %8, align 4
  switch i32 %203, label %227 [
    i32 26, label %204
  ]

204:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !8
  br label %205

205:                                              ; preds = %213, %204
  %206 = load i32, ptr %13, align 4, !tbaa !8
  %207 = icmp slt i32 %206, 1024
  br i1 %207, label %209, label %208

208:                                              ; preds = %205
  store i32 29, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %216

209:                                              ; preds = %205
  %210 = load i32, ptr %13, align 4, !tbaa !8
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [1024 x double], ptr @dp2, i64 0, i64 %211
  store double -1.000000e+00, ptr %212, align 8, !tbaa !15
  br label %213

213:                                              ; preds = %209
  %214 = load i32, ptr %13, align 4, !tbaa !8
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %13, align 4, !tbaa !8
  br label %205, !llvm.loop !23

216:                                              ; preds = %208
  store double 0.000000e+00, ptr getelementptr inbounds ([1024 x double], ptr @dp2, i64 0, i64 1023), align 8, !tbaa !15
  %217 = call noundef double @_Z7computei(i32 noundef 0)
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
  %219 = call i32 @_ZSt12setprecisioni(i32 noundef 10)
  %220 = getelementptr inbounds %"struct.std::_Setprecision", ptr %14, i32 0, i32 0
  store i32 %219, ptr %220, align 4
  %221 = getelementptr inbounds %"struct.std::_Setprecision", ptr %14, i32 0, i32 0
  %222 = load i32, ptr %221, align 4
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %218, i32 %222)
  %224 = load double, ptr @dp2, align 16, !tbaa !15
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %223, double noundef %224)
  %226 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %225, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %227

227:                                              ; preds = %216, %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  %228 = load i32, ptr %1, align 4
  ret i32 %228
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 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)) #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { "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 = { 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 = { 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 #8 = { 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 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !10, i64 0}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_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" }

@a = external dso_local global [30 x i32], align 16
@b = external dso_local global [30 x i32], align 16
@c = external dso_local global [30 x i32], align 16
@dp = external dso_local local_unnamed_addr global [30 x [11 x double]], align 16
@p = external dso_local local_unnamed_addr global [10 x double], align 16
@dp2 = external dso_local local_unnamed_addr global [1024 x double], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z7computei(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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
  %1 = alloca i32, align 4
  %2 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %3 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %4 = getelementptr i8, ptr %3, i64 -24
  %5 = load i64, ptr %4, align 8
  %6 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %5
  %7 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %6, ptr noundef null)
  %8 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %9 = getelementptr i8, ptr %8, i64 -24
  %10 = load i64, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %10
  %12 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %11, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  %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) %1)
  %14 = load i32, ptr %1, align 4, !tbaa !8
  %.not62 = icmp slt i32 %14, 1
  br i1 %.not62, label %.preheader59, label %.lr.ph

.preheader61:                                     ; preds = %.lr.ph
  %.not5364 = icmp slt i32 %17, 1
  br i1 %.not5364, label %.preheader59, label %.lr.ph66

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %15 = getelementptr inbounds [30 x i32], ptr @a, i64 0, i64 %indvars.iv
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %17 = load i32, ptr %1, align 4, !tbaa !8
  %18 = sext i32 %17 to i64
  %.not.not = icmp slt i64 %indvars.iv, %18
  br i1 %.not.not, label %.lr.ph, label %.preheader61, !llvm.loop !11

.preheader60:                                     ; preds = %.lr.ph66
  %.not5467 = icmp slt i32 %21, 1
  br i1 %.not5467, label %.preheader59, label %.lr.ph69

.lr.ph66:                                         ; preds = %.preheader61, %.lr.ph66
  %indvars.iv79 = phi i64 [ %indvars.iv.next80, %.lr.ph66 ], [ 1, %.preheader61 ]
  %19 = getelementptr inbounds [30 x i32], ptr @b, i64 0, i64 %indvars.iv79
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %indvars.iv.next80 = add nuw nsw i64 %indvars.iv79, 1
  %21 = load i32, ptr %1, align 4, !tbaa !8
  %22 = sext i32 %21 to i64
  %.not53.not = icmp slt i64 %indvars.iv79, %22
  br i1 %.not53.not, label %.lr.ph66, label %.preheader60, !llvm.loop !13

.preheader59:                                     ; preds = %.lr.ph69, %0, %.preheader61, %.preheader60
  %.lcssa = phi i32 [ %21, %.preheader60 ], [ %17, %.preheader61 ], [ %14, %0 ], [ %113, %.lr.ph69 ]
  %23 = load i32, ptr getelementptr inbounds (i8, ptr @a, i64 4), align 4, !tbaa !8
  %24 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 4), align 4, !tbaa !8
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @c, i64 4), align 4, !tbaa !8
  %26 = srem i32 %25, 11
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %27
  %29 = load double, ptr %28, align 8, !tbaa !14
  %30 = fadd double %29, 1.000000e-01
  store double %30, ptr %28, align 8, !tbaa !14
  %31 = add i32 %23, %24
  %32 = add nsw i32 %31, %25
  %33 = srem i32 %32, 11
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %34
  %36 = load double, ptr %35, align 8, !tbaa !14
  %37 = fadd double %36, 1.000000e-01
  store double %37, ptr %35, align 8, !tbaa !14
  %38 = shl i32 %23, 2
  %39 = shl i32 %24, 1
  %40 = add i32 %38, %39
  %41 = add nsw i32 %40, %25
  %42 = srem i32 %41, 11
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %43
  %45 = load double, ptr %44, align 8, !tbaa !14
  %46 = fadd double %45, 1.000000e-01
  store double %46, ptr %44, align 8, !tbaa !14
  %47 = mul nsw i32 %23, 3
  %48 = add i32 %47, %24
  %49 = mul i32 %48, 3
  %50 = add nsw i32 %49, %25
  %51 = srem i32 %50, 11
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %52
  %54 = load double, ptr %53, align 8, !tbaa !14
  %55 = fadd double %54, 1.000000e-01
  store double %55, ptr %53, align 8, !tbaa !14
  %56 = shl i32 %23, 4
  %57 = shl i32 %24, 2
  %58 = add i32 %56, %57
  %59 = add nsw i32 %58, %25
  %60 = srem i32 %59, 11
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !14
  %64 = fadd double %63, 1.000000e-01
  store double %64, ptr %62, align 8, !tbaa !14
  %65 = mul nsw i32 %23, 5
  %66 = add i32 %65, %24
  %67 = mul i32 %66, 5
  %68 = add nsw i32 %67, %25
  %69 = srem i32 %68, 11
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %70
  %72 = load double, ptr %71, align 8, !tbaa !14
  %73 = fadd double %72, 1.000000e-01
  store double %73, ptr %71, align 8, !tbaa !14
  %74 = mul nsw i32 %23, 6
  %75 = add i32 %74, %24
  %76 = mul i32 %75, 6
  %77 = add nsw i32 %76, %25
  %78 = srem i32 %77, 11
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %79
  %81 = load double, ptr %80, align 8, !tbaa !14
  %82 = fadd double %81, 1.000000e-01
  store double %82, ptr %80, align 8, !tbaa !14
  %83 = mul nsw i32 %23, 7
  %84 = add i32 %83, %24
  %85 = mul i32 %84, 7
  %86 = add nsw i32 %85, %25
  %87 = srem i32 %86, 11
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %88
  %90 = load double, ptr %89, align 8, !tbaa !14
  %91 = fadd double %90, 1.000000e-01
  store double %91, ptr %89, align 8, !tbaa !14
  %92 = shl i32 %23, 6
  %93 = shl i32 %24, 3
  %94 = add i32 %92, %93
  %95 = add nsw i32 %94, %25
  %96 = srem i32 %95, 11
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %97
  %99 = load double, ptr %98, align 8, !tbaa !14
  %100 = fadd double %99, 1.000000e-01
  store double %100, ptr %98, align 8, !tbaa !14
  %101 = mul nsw i32 %23, 9
  %102 = add i32 %101, %24
  %103 = mul i32 %102, 9
  %104 = add nsw i32 %103, %25
  %105 = srem i32 %104, 11
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [11 x double], ptr getelementptr inbounds (i8, ptr @dp, i64 88), i64 0, i64 %106
  %108 = load double, ptr %107, align 8, !tbaa !14
  %109 = fadd double %108, 1.000000e-01
  store double %109, ptr %107, align 8, !tbaa !14
  %110 = icmp sgt i32 %.lcssa, 1
  br i1 %110, label %.preheader57.preheader, label %.preheader55

.lr.ph69:                                         ; preds = %.preheader60, %.lr.ph69
  %indvars.iv82 = phi i64 [ %indvars.iv.next83, %.lr.ph69 ], [ 1, %.preheader60 ]
  %111 = getelementptr inbounds [30 x i32], ptr @c, i64 0, i64 %indvars.iv82
  %112 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %111)
  %indvars.iv.next83 = add nuw nsw i64 %indvars.iv82, 1
  %113 = load i32, ptr %1, align 4, !tbaa !8
  %114 = sext i32 %113 to i64
  %.not54.not = icmp slt i64 %indvars.iv82, %114
  br i1 %.not54.not, label %.lr.ph69, label %.preheader59, !llvm.loop !16

.preheader57.preheader:                           ; preds = %.preheader59
  %wide.trip.count = zext nneg i32 %.lcssa to i64
  br label %.preheader57

.preheader57:                                     ; preds = %.preheader57.preheader, %288
  %indvars.iv88 = phi i64 [ 1, %.preheader57.preheader ], [ %indvars.iv.next89, %288 ]
  %indvars.iv.next89 = add nuw nsw i64 %indvars.iv88, 1
  %115 = getelementptr inbounds [30 x i32], ptr @a, i64 0, i64 %indvars.iv.next89
  %116 = load i32, ptr %115, align 4, !tbaa !8
  %117 = getelementptr inbounds [30 x i32], ptr @b, i64 0, i64 %indvars.iv.next89
  %118 = load i32, ptr %117, align 4, !tbaa !8
  %119 = getelementptr inbounds [30 x i32], ptr @c, i64 0, i64 %indvars.iv.next89
  %120 = load i32, ptr %119, align 4, !tbaa !8
  %121 = add i32 %116, %118
  %122 = add nsw i32 %121, %120
  %123 = shl i32 %116, 2
  %124 = shl i32 %118, 1
  %125 = add i32 %123, %124
  %126 = add nsw i32 %125, %120
  %127 = mul nsw i32 %116, 3
  %128 = add i32 %127, %118
  %129 = mul i32 %128, 3
  %130 = add nsw i32 %129, %120
  %131 = shl i32 %116, 4
  %132 = shl i32 %118, 2
  %133 = add i32 %131, %132
  %134 = add nsw i32 %133, %120
  %135 = mul nsw i32 %116, 5
  %136 = add i32 %135, %118
  %137 = mul i32 %136, 5
  %138 = add nsw i32 %137, %120
  %139 = mul nsw i32 %116, 6
  %140 = add i32 %139, %118
  %141 = mul i32 %140, 6
  %142 = add nsw i32 %141, %120
  %143 = mul nsw i32 %116, 7
  %144 = add i32 %143, %118
  %145 = mul i32 %144, 7
  %146 = add nsw i32 %145, %120
  %147 = shl i32 %116, 6
  %148 = shl i32 %118, 3
  %149 = add i32 %147, %148
  %150 = add nsw i32 %149, %120
  %151 = mul nsw i32 %116, 9
  %152 = add i32 %151, %118
  %153 = mul i32 %152, 9
  %154 = add nsw i32 %153, %120
  br label %.preheader56

.preheader55:                                     ; preds = %288, %.preheader59
  %155 = sext i32 %.lcssa to i64
  %156 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %155, i64 0
  %157 = load double, ptr %156, align 8, !tbaa !14
  %158 = load double, ptr @p, align 16, !tbaa !14
  %159 = fadd double %157, %158
  %160 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %155, i64 1
  %161 = load <2 x double>, ptr %160, align 8, !tbaa !14
  %162 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @p, i64 8), align 8, !tbaa !14
  %163 = fadd <2 x double> %161, %162
  store <2 x double> %163, ptr getelementptr inbounds (i8, ptr @p, i64 8), align 8, !tbaa !14
  %164 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %155, i64 3
  %165 = load <2 x double>, ptr %164, align 8, !tbaa !14
  %166 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @p, i64 24), align 8, !tbaa !14
  %167 = fadd <2 x double> %165, %166
  store <2 x double> %167, ptr getelementptr inbounds (i8, ptr @p, i64 24), align 8, !tbaa !14
  %168 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %155, i64 5
  %169 = load <2 x double>, ptr %168, align 8, !tbaa !14
  %170 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @p, i64 40), align 8, !tbaa !14
  %171 = fadd <2 x double> %169, %170
  store <2 x double> %171, ptr getelementptr inbounds (i8, ptr @p, i64 40), align 8, !tbaa !14
  %172 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %155, i64 7
  %173 = load <2 x double>, ptr %172, align 8, !tbaa !14
  %174 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @p, i64 56), align 8, !tbaa !14
  %175 = fadd <2 x double> %173, %174
  %.fr123 = freeze <2 x double> %175
  store <2 x double> %.fr123, ptr getelementptr inbounds (i8, ptr @p, i64 56), align 8, !tbaa !14
  %176 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %155, i64 9
  %177 = load double, ptr %176, align 8, !tbaa !14
  %178 = load double, ptr getelementptr inbounds (i8, ptr @p, i64 72), align 8, !tbaa !14
  %179 = fadd double %177, %178
  store double %179, ptr getelementptr inbounds (i8, ptr @p, i64 72), align 8, !tbaa !14
  %180 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %155, i64 10
  %181 = load double, ptr %180, align 8, !tbaa !14
  %182 = fadd double %181, %159
  store double %182, ptr @p, align 16, !tbaa !14
  %183 = shufflevector <2 x double> %163, <2 x double> %167, <2 x i32> <i32 1, i32 2>
  %184 = shufflevector <2 x double> %163, <2 x double> %183, <8 x i32> <i32 poison, i32 0, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %185 = shufflevector <2 x double> %167, <2 x double> %171, <2 x i32> <i32 1, i32 2>
  %186 = shufflevector <2 x double> %185, <2 x double> poison, <8 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
  %187 = shufflevector <8 x double> %184, <8 x double> %186, <8 x i32> <i32 poison, i32 1, i32 2, i32 3, i32 8, i32 9, i32 poison, i32 poison>
  %188 = shufflevector <2 x double> %171, <2 x double> %.fr123, <2 x i32> <i32 1, i32 2>
  %189 = shufflevector <2 x double> %188, <2 x double> poison, <8 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
  %190 = shufflevector <8 x double> %187, <8 x double> %189, <8 x i32> <i32 poison, i32 1, i32 2, i32 3, i32 4, i32 5, i32 8, i32 9>
  %191 = insertelement <8 x double> %190, double %182, i64 0
  %.fr = freeze <8 x double> %191
  %192 = fcmp oeq <8 x double> %.fr, zeroinitializer
  %193 = extractelement <2 x double> %.fr123, i64 1
  %194 = fcmp oeq double %193, 0.000000e+00
  %195 = fcmp oeq double %179, 0.000000e+00
  %196 = bitcast <8 x i1> %192 to i8
  %197 = icmp ne i8 %196, 0
  %op.rdx = or i1 %197, %194
  %op.rdx120 = select i1 %op.rdx, i1 true, i1 %195
  br i1 %op.rdx120, label %289, label %vector.body

vector.body:                                      ; preds = %.preheader55, %vector.body
  %index = phi i64 [ %index.next.3, %vector.body ], [ 0, %.preheader55 ]
  %198 = getelementptr inbounds [1024 x double], ptr @dp2, i64 0, i64 %index
  %199 = getelementptr inbounds i8, ptr %198, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %198, align 16, !tbaa !14
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %199, align 16, !tbaa !14
  %index.next = or disjoint i64 %index, 4
  %200 = getelementptr inbounds [1024 x double], ptr @dp2, i64 0, i64 %index.next
  %201 = getelementptr inbounds i8, ptr %200, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %200, align 16, !tbaa !14
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %201, align 16, !tbaa !14
  %index.next.1 = or disjoint i64 %index, 8
  %202 = getelementptr inbounds [1024 x double], ptr @dp2, i64 0, i64 %index.next.1
  %203 = getelementptr inbounds i8, ptr %202, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %202, align 16, !tbaa !14
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %203, align 16, !tbaa !14
  %index.next.2 = or disjoint i64 %index, 12
  %204 = getelementptr inbounds [1024 x double], ptr @dp2, i64 0, i64 %index.next.2
  %205 = getelementptr inbounds i8, ptr %204, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %204, align 16, !tbaa !14
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %205, align 16, !tbaa !14
  %index.next.3 = add nuw nsw i64 %index, 16
  %206 = icmp eq i64 %index.next.3, 1024
  br i1 %206, label %middle.block, label %vector.body, !llvm.loop !17

.preheader56:                                     ; preds = %.preheader57, %.preheader56
  %indvars.iv85 = phi i64 [ 0, %.preheader57 ], [ %indvars.iv.next86, %.preheader56 ]
  %207 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv88, i64 %indvars.iv85
  %208 = load double, ptr %207, align 8, !tbaa !14
  %209 = trunc i64 %indvars.iv85 to i32
  %210 = mul i32 %120, %209
  %211 = srem i32 %210, 11
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %212
  %214 = load double, ptr %213, align 8, !tbaa !14
  %215 = call double @llvm.fmuladd.f64(double %208, double 1.000000e-01, double %214)
  store double %215, ptr %213, align 8, !tbaa !14
  %216 = load double, ptr %207, align 8, !tbaa !14
  %217 = trunc i64 %indvars.iv85 to i32
  %218 = mul i32 %122, %217
  %219 = srem i32 %218, 11
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %220
  %222 = load double, ptr %221, align 8, !tbaa !14
  %223 = call double @llvm.fmuladd.f64(double %216, double 1.000000e-01, double %222)
  store double %223, ptr %221, align 8, !tbaa !14
  %224 = load double, ptr %207, align 8, !tbaa !14
  %225 = trunc i64 %indvars.iv85 to i32
  %226 = mul i32 %126, %225
  %227 = srem i32 %226, 11
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %228
  %230 = load double, ptr %229, align 8, !tbaa !14
  %231 = call double @llvm.fmuladd.f64(double %224, double 1.000000e-01, double %230)
  store double %231, ptr %229, align 8, !tbaa !14
  %232 = load double, ptr %207, align 8, !tbaa !14
  %233 = trunc i64 %indvars.iv85 to i32
  %234 = mul i32 %130, %233
  %235 = srem i32 %234, 11
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %236
  %238 = load double, ptr %237, align 8, !tbaa !14
  %239 = call double @llvm.fmuladd.f64(double %232, double 1.000000e-01, double %238)
  store double %239, ptr %237, align 8, !tbaa !14
  %240 = load double, ptr %207, align 8, !tbaa !14
  %241 = trunc i64 %indvars.iv85 to i32
  %242 = mul i32 %134, %241
  %243 = srem i32 %242, 11
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %244
  %246 = load double, ptr %245, align 8, !tbaa !14
  %247 = call double @llvm.fmuladd.f64(double %240, double 1.000000e-01, double %246)
  store double %247, ptr %245, align 8, !tbaa !14
  %248 = load double, ptr %207, align 8, !tbaa !14
  %249 = trunc i64 %indvars.iv85 to i32
  %250 = mul i32 %138, %249
  %251 = srem i32 %250, 11
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %252
  %254 = load double, ptr %253, align 8, !tbaa !14
  %255 = call double @llvm.fmuladd.f64(double %248, double 1.000000e-01, double %254)
  store double %255, ptr %253, align 8, !tbaa !14
  %256 = load double, ptr %207, align 8, !tbaa !14
  %257 = trunc i64 %indvars.iv85 to i32
  %258 = mul i32 %142, %257
  %259 = srem i32 %258, 11
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %260
  %262 = load double, ptr %261, align 8, !tbaa !14
  %263 = call double @llvm.fmuladd.f64(double %256, double 1.000000e-01, double %262)
  store double %263, ptr %261, align 8, !tbaa !14
  %264 = load double, ptr %207, align 8, !tbaa !14
  %265 = trunc i64 %indvars.iv85 to i32
  %266 = mul i32 %146, %265
  %267 = srem i32 %266, 11
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %268
  %270 = load double, ptr %269, align 8, !tbaa !14
  %271 = call double @llvm.fmuladd.f64(double %264, double 1.000000e-01, double %270)
  store double %271, ptr %269, align 8, !tbaa !14
  %272 = load double, ptr %207, align 8, !tbaa !14
  %273 = trunc i64 %indvars.iv85 to i32
  %274 = mul i32 %150, %273
  %275 = srem i32 %274, 11
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %276
  %278 = load double, ptr %277, align 8, !tbaa !14
  %279 = call double @llvm.fmuladd.f64(double %272, double 1.000000e-01, double %278)
  store double %279, ptr %277, align 8, !tbaa !14
  %280 = load double, ptr %207, align 8, !tbaa !14
  %281 = trunc i64 %indvars.iv85 to i32
  %282 = mul i32 %154, %281
  %283 = srem i32 %282, 11
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds [30 x [11 x double]], ptr @dp, i64 0, i64 %indvars.iv.next89, i64 %284
  %286 = load double, ptr %285, align 8, !tbaa !14
  %287 = call double @llvm.fmuladd.f64(double %280, double 1.000000e-01, double %286)
  store double %287, ptr %285, align 8, !tbaa !14
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next86, 11
  br i1 %exitcond.not, label %288, label %.preheader56, !llvm.loop !20

288:                                              ; preds = %.preheader56
  %exitcond91.not = icmp eq i64 %indvars.iv.next89, %wide.trip.count
  br i1 %exitcond91.not, label %.preheader55, label %.preheader57, !llvm.loop !21

289:                                              ; preds = %.preheader55
  %290 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
  br label %297

middle.block:                                     ; preds = %vector.body
  store double 0.000000e+00, ptr getelementptr inbounds (i8, ptr @dp2, i64 8184), align 8, !tbaa !14
  %291 = call noundef double @_Z7computei(i32 noundef 0)
  %292 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %293 = call i32 @_ZSt12setprecisioni(i32 noundef 10)
  %294 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %292, i32 %293)
  %295 = load double, ptr @dp2, align 16, !tbaa !14
  %296 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %294, double noundef %295)
  br label %297

297:                                              ; preds = %289, %middle.block
  %.sink = phi ptr [ %290, %289 ], [ %296, %middle.block ]
  %298 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %.sink, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  ret i32 0
}

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

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

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

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

; 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 #0 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)) #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #7

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

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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { "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 = { 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 = { 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 #8 = { 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 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !10, i64 0}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12, !18, !19}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}


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