; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/SRC (zpteqr)

; 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.doublecomplex = type { double, double }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@c_b1 = external hidden global %struct.doublecomplex, align 8
@c_b2 = external hidden global %struct.doublecomplex, align 8
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@c__0 = external hidden global i32, align 4
@c__1 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @zpteqr_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca [1 x %struct.doublecomplex], align 16
  %21 = alloca i32, align 4
  %22 = alloca [1 x %struct.doublecomplex], align 16
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  %27 = getelementptr inbounds double, ptr %26, i32 -1
  store ptr %27, ptr %11, align 8, !tbaa !5
  %28 = load ptr, ptr %12, align 8, !tbaa !5
  %29 = getelementptr inbounds double, ptr %28, i32 -1
  store ptr %29, ptr %12, align 8, !tbaa !5
  %30 = load ptr, ptr %14, align 8, !tbaa !5
  %31 = load i32, ptr %30, align 4, !tbaa !9
  store i32 %31, ptr %17, align 4, !tbaa !9
  %32 = load i32, ptr %17, align 4, !tbaa !9
  %33 = mul nsw i32 %32, 1
  %34 = add nsw i32 1, %33
  store i32 %34, ptr %18, align 4, !tbaa !9
  %35 = load i32, ptr %18, align 4, !tbaa !9
  %36 = load ptr, ptr %13, align 8, !tbaa !5
  %37 = sext i32 %35 to i64
  %38 = sub i64 0, %37
  %39 = getelementptr inbounds %struct.doublecomplex, ptr %36, i64 %38
  store ptr %39, ptr %13, align 8, !tbaa !5
  %40 = load ptr, ptr %15, align 8, !tbaa !5
  %41 = getelementptr inbounds double, ptr %40, i32 -1
  store ptr %41, ptr %15, align 8, !tbaa !5
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 0, ptr %42, align 4, !tbaa !9
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = call i32 @lsame_(ptr noundef %43, ptr noundef @.str)
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %8
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %60

47:                                               ; preds = %8
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = call i32 @lsame_(ptr noundef %48, ptr noundef @.str.1)
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %47
  store i32 1, ptr %23, align 4, !tbaa !9
  br label %59

52:                                               ; preds = %47
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = call i32 @lsame_(ptr noundef %53, ptr noundef @.str.2)
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %57

56:                                               ; preds = %52
  store i32 2, ptr %23, align 4, !tbaa !9
  br label %58

57:                                               ; preds = %52
  store i32 -1, ptr %23, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %57, %56
  br label %59

59:                                               ; preds = %58, %51
  br label %60

60:                                               ; preds = %59, %46
  %61 = load i32, ptr %23, align 4, !tbaa !9
  %62 = icmp slt i32 %61, 0
  br i1 %62, label %63, label %65

63:                                               ; preds = %60
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 -1, ptr %64, align 4, !tbaa !9
  br label %95

65:                                               ; preds = %60
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = icmp slt i32 %67, 0
  br i1 %68, label %69, label %71

69:                                               ; preds = %65
  %70 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 -2, ptr %70, align 4, !tbaa !9
  br label %94

71:                                               ; preds = %65
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = load i32, ptr %72, align 4, !tbaa !9
  %74 = icmp slt i32 %73, 1
  br i1 %74, label %91, label %75

75:                                               ; preds = %71
  %76 = load i32, ptr %23, align 4, !tbaa !9
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %78, label %93

78:                                               ; preds = %75
  %79 = load ptr, ptr %14, align 8, !tbaa !5
  %80 = load i32, ptr %79, align 4, !tbaa !9
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = load i32, ptr %81, align 4, !tbaa !9
  %83 = icmp sge i32 1, %82
  br i1 %83, label %84, label %85

84:                                               ; preds = %78
  br label %88

85:                                               ; preds = %78
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = load i32, ptr %86, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %85, %84
  %89 = phi i32 [ 1, %84 ], [ %87, %85 ]
  %90 = icmp slt i32 %80, %89
  br i1 %90, label %91, label %93

91:                                               ; preds = %88, %71
  %92 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 -6, ptr %92, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %91, %88, %75
  br label %94

94:                                               ; preds = %93, %69
  br label %95

95:                                               ; preds = %94, %63
  %96 = load ptr, ptr %16, align 8, !tbaa !5
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %104

99:                                               ; preds = %95
  %100 = load ptr, ptr %16, align 8, !tbaa !5
  %101 = load i32, ptr %100, align 4, !tbaa !9
  %102 = sub nsw i32 0, %101
  store i32 %102, ptr %19, align 4, !tbaa !9
  %103 = call i32 @xerbla_(ptr noundef @.str.3, ptr noundef %19, i32 noundef 6)
  store i32 1, ptr %25, align 4
  br label %253

104:                                              ; preds = %95
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %104
  store i32 1, ptr %25, align 4
  br label %253

109:                                              ; preds = %104
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  %111 = load i32, ptr %110, align 4, !tbaa !9
  %112 = icmp eq i32 %111, 1
  br i1 %112, label %113, label %130

113:                                              ; preds = %109
  %114 = load i32, ptr %23, align 4, !tbaa !9
  %115 = icmp sgt i32 %114, 0
  br i1 %115, label %116, label %129

116:                                              ; preds = %113
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %19, align 4, !tbaa !9
  %119 = load ptr, ptr %13, align 8, !tbaa !5
  %120 = load i32, ptr %19, align 4, !tbaa !9
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds %struct.doublecomplex, ptr %119, i64 %121
  %123 = getelementptr inbounds %struct.doublecomplex, ptr %122, i32 0, i32 0
  store double 1.000000e+00, ptr %123, align 8, !tbaa !11
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  %125 = load i32, ptr %19, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds %struct.doublecomplex, ptr %124, i64 %126
  %128 = getelementptr inbounds %struct.doublecomplex, ptr %127, i32 0, i32 1
  store double 0.000000e+00, ptr %128, align 8, !tbaa !14
  br label %129

129:                                              ; preds = %116, %113
  store i32 1, ptr %25, align 4
  br label %253

130:                                              ; preds = %109
  %131 = load i32, ptr %23, align 4, !tbaa !9
  %132 = icmp eq i32 %131, 2
  br i1 %132, label %133, label %141

133:                                              ; preds = %130
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  %137 = load i32, ptr %18, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds %struct.doublecomplex, ptr %136, i64 %138
  %140 = load ptr, ptr %14, align 8, !tbaa !5
  call void @zlaset_(ptr noundef @.str.4, ptr noundef %134, ptr noundef %135, ptr noundef @c_b1, ptr noundef @c_b2, ptr noundef %139, ptr noundef %140)
  br label %141

141:                                              ; preds = %133, %130
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds double, ptr %143, i64 1
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = getelementptr inbounds double, ptr %145, i64 1
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  call void @dpttrf_(ptr noundef %142, ptr noundef %144, ptr noundef %146, ptr noundef %147)
  %148 = load ptr, ptr %16, align 8, !tbaa !5
  %149 = load i32, ptr %148, align 4, !tbaa !9
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %151, label %152

151:                                              ; preds = %141
  store i32 1, ptr %25, align 4
  br label %253

152:                                              ; preds = %141
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = load i32, ptr %153, align 4, !tbaa !9
  store i32 %154, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %170, %152
  %156 = load i32, ptr %21, align 4, !tbaa !9
  %157 = load i32, ptr %19, align 4, !tbaa !9
  %158 = icmp sle i32 %156, %157
  br i1 %158, label %159, label %173

159:                                              ; preds = %155
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = load i32, ptr %21, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds double, ptr %160, i64 %162
  %164 = load double, ptr %163, align 8, !tbaa !15
  %165 = call double @sqrt(double noundef %164) #4
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = load i32, ptr %21, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds double, ptr %166, i64 %168
  store double %165, ptr %169, align 8, !tbaa !15
  br label %170

170:                                              ; preds = %159
  %171 = load i32, ptr %21, align 4, !tbaa !9
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %21, align 4, !tbaa !9
  br label %155, !llvm.loop !16

173:                                              ; preds = %155
  %174 = load ptr, ptr %10, align 8, !tbaa !5
  %175 = load i32, ptr %174, align 4, !tbaa !9
  %176 = sub nsw i32 %175, 1
  store i32 %176, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  br label %177

177:                                              ; preds = %193, %173
  %178 = load i32, ptr %21, align 4, !tbaa !9
  %179 = load i32, ptr %19, align 4, !tbaa !9
  %180 = icmp sle i32 %178, %179
  br i1 %180, label %181, label %196

181:                                              ; preds = %177
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = load i32, ptr %21, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds double, ptr %182, i64 %184
  %186 = load double, ptr %185, align 8, !tbaa !15
  %187 = load ptr, ptr %12, align 8, !tbaa !5
  %188 = load i32, ptr %21, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds double, ptr %187, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !15
  %192 = fmul double %191, %186
  store double %192, ptr %190, align 8, !tbaa !15
  br label %193

193:                                              ; preds = %181
  %194 = load i32, ptr %21, align 4, !tbaa !9
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %21, align 4, !tbaa !9
  br label %177, !llvm.loop !18

196:                                              ; preds = %177
  %197 = load i32, ptr %23, align 4, !tbaa !9
  %198 = icmp sgt i32 %197, 0
  br i1 %198, label %199, label %202

199:                                              ; preds = %196
  %200 = load ptr, ptr %10, align 8, !tbaa !5
  %201 = load i32, ptr %200, align 4, !tbaa !9
  store i32 %201, ptr %24, align 4, !tbaa !9
  br label %203

202:                                              ; preds = %196
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %203

203:                                              ; preds = %202, %199
  %204 = load ptr, ptr %10, align 8, !tbaa !5
  %205 = load ptr, ptr %11, align 8, !tbaa !5
  %206 = getelementptr inbounds double, ptr %205, i64 1
  %207 = load ptr, ptr %12, align 8, !tbaa !5
  %208 = getelementptr inbounds double, ptr %207, i64 1
  %209 = getelementptr inbounds [1 x %struct.doublecomplex], ptr %22, i64 0, i64 0
  %210 = load ptr, ptr %13, align 8, !tbaa !5
  %211 = load i32, ptr %18, align 4, !tbaa !9
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds %struct.doublecomplex, ptr %210, i64 %212
  %214 = load ptr, ptr %14, align 8, !tbaa !5
  %215 = getelementptr inbounds [1 x %struct.doublecomplex], ptr %20, i64 0, i64 0
  %216 = load ptr, ptr %15, align 8, !tbaa !5
  %217 = getelementptr inbounds double, ptr %216, i64 1
  %218 = load ptr, ptr %16, align 8, !tbaa !5
  call void @zbdsqr_(ptr noundef @.str.5, ptr noundef %204, ptr noundef @c__0, ptr noundef %24, ptr noundef @c__0, ptr noundef %206, ptr noundef %208, ptr noundef %209, ptr noundef @c__1, ptr noundef %213, ptr noundef %214, ptr noundef %215, ptr noundef @c__1, ptr noundef %217, ptr noundef %218)
  %219 = load ptr, ptr %16, align 8, !tbaa !5
  %220 = load i32, ptr %219, align 4, !tbaa !9
  %221 = icmp eq i32 %220, 0
  br i1 %221, label %222, label %245

222:                                              ; preds = %203
  %223 = load ptr, ptr %10, align 8, !tbaa !5
  %224 = load i32, ptr %223, align 4, !tbaa !9
  store i32 %224, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  br label %225

225:                                              ; preds = %241, %222
  %226 = load i32, ptr %21, align 4, !tbaa !9
  %227 = load i32, ptr %19, align 4, !tbaa !9
  %228 = icmp sle i32 %226, %227
  br i1 %228, label %229, label %244

229:                                              ; preds = %225
  %230 = load ptr, ptr %11, align 8, !tbaa !5
  %231 = load i32, ptr %21, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds double, ptr %230, i64 %232
  %234 = load double, ptr %233, align 8, !tbaa !15
  %235 = load ptr, ptr %11, align 8, !tbaa !5
  %236 = load i32, ptr %21, align 4, !tbaa !9
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds double, ptr %235, i64 %237
  %239 = load double, ptr %238, align 8, !tbaa !15
  %240 = fmul double %239, %234
  store double %240, ptr %238, align 8, !tbaa !15
  br label %241

241:                                              ; preds = %229
  %242 = load i32, ptr %21, align 4, !tbaa !9
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %21, align 4, !tbaa !9
  br label %225, !llvm.loop !19

244:                                              ; preds = %225
  br label %252

245:                                              ; preds = %203
  %246 = load ptr, ptr %10, align 8, !tbaa !5
  %247 = load i32, ptr %246, align 4, !tbaa !9
  %248 = load ptr, ptr %16, align 8, !tbaa !5
  %249 = load i32, ptr %248, align 4, !tbaa !9
  %250 = add nsw i32 %247, %249
  %251 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 %250, ptr %251, align 4, !tbaa !9
  br label %252

252:                                              ; preds = %245, %244
  store i32 1, ptr %25, align 4
  br label %253

253:                                              ; preds = %252, %151, %129, %108, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  ret void
}

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

declare i32 @lsame_(ptr noundef, ptr noundef) #2

declare i32 @xerbla_(ptr noundef, ptr noundef, i32 noundef) #2

declare void @zlaset_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @dpttrf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

declare void @zbdsqr_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 8}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}


; 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.doublecomplex = type { double, double }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@c_b1 = external hidden global %struct.doublecomplex, align 8
@c_b2 = external hidden global %struct.doublecomplex, align 8
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@c__0 = external hidden global i32, align 4
@c__1 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @zpteqr_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
  %9 = alloca i32, align 4
  %10 = alloca [1 x %struct.doublecomplex], align 16
  %11 = alloca [1 x %struct.doublecomplex], align 16
  %12 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %13 = getelementptr inbounds i8, ptr %2, i64 -8
  %14 = getelementptr inbounds i8, ptr %3, i64 -8
  %15 = load i32, ptr %5, align 4, !tbaa !5
  %16 = add nsw i32 %15, 1
  %narrow = xor i32 %15, -1
  %17 = sext i32 %narrow to i64
  %18 = getelementptr inbounds %struct.doublecomplex, ptr %4, i64 %17
  store i32 0, ptr %7, align 4, !tbaa !5
  %19 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #4
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %20, label %.thread

20:                                               ; preds = %8
  %21 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #4
  %.not80 = icmp eq i32 %21, 0
  br i1 %.not80, label %22, label %.thread

22:                                               ; preds = %20
  %23 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #4
  %.not81 = icmp eq i32 %23, 0
  br i1 %.not81, label %.thread92.sink.split, label %.thread

.thread:                                          ; preds = %20, %8, %22
  %24 = phi i1 [ true, %22 ], [ false, %8 ], [ false, %20 ]
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = icmp slt i32 %25, 0
  br i1 %26, label %.thread92.sink.split, label %27

27:                                               ; preds = %.thread
  %28 = load i32, ptr %5, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 1
  %30 = icmp ugt i32 %25, %28
  %or.cond = and i1 %.not, %30
  %or.cond118 = or i1 %29, %or.cond
  br i1 %or.cond118, label %.thread92.sink.split, label %31

31:                                               ; preds = %27
  %.pr = load i32, ptr %7, align 4, !tbaa !5
  %.not82 = icmp eq i32 %.pr, 0
  br i1 %.not82, label %35, label %.thread92

.thread92.sink.split:                             ; preds = %27, %.thread, %22
  %.sink = phi i32 [ -1, %22 ], [ -2, %.thread ], [ -6, %27 ]
  store i32 %.sink, ptr %7, align 4, !tbaa !5
  br label %.thread92

.thread92:                                        ; preds = %.thread92.sink.split, %31
  %32 = phi i32 [ %.pr, %31 ], [ %.sink, %.thread92.sink.split ]
  %33 = sub nsw i32 0, %32
  store i32 %33, ptr %9, align 4, !tbaa !5
  %34 = call i32 @xerbla_(ptr noundef nonnull @.str.3, ptr noundef nonnull %9, i32 noundef 6) #4
  br label %.loopexit

35:                                               ; preds = %31
  switch i32 %25, label %40 [
    i32 0, label %.loopexit
    i32 1, label %36
  ]

36:                                               ; preds = %35
  br i1 %.not, label %37, label %.loopexit

37:                                               ; preds = %36
  store double 1.000000e+00, ptr %4, align 8, !tbaa !9
  %38 = sext i32 %16 to i64
  %39 = getelementptr inbounds %struct.doublecomplex, ptr %18, i64 %38, i32 1
  store double 0.000000e+00, ptr %39, align 8, !tbaa !12
  br label %.loopexit

40:                                               ; preds = %35
  br i1 %24, label %41, label %42

41:                                               ; preds = %40
  tail call void @zlaset_(ptr noundef nonnull @.str.4, ptr noundef nonnull %1, ptr noundef nonnull %1, ptr noundef nonnull @c_b1, ptr noundef nonnull @c_b2, ptr noundef %4, ptr noundef nonnull %5) #4
  br label %42

42:                                               ; preds = %41, %40
  tail call void @dpttrf_(ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %7) #4
  %43 = load i32, ptr %7, align 4, !tbaa !5
  %.not83 = icmp eq i32 %43, 0
  br i1 %.not83, label %44, label %.loopexit

44:                                               ; preds = %42
  %45 = load i32, ptr %1, align 4, !tbaa !5
  %.not8495 = icmp slt i32 %45, 1
  br i1 %.not8495, label %._crit_edge101, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %44
  %46 = zext nneg i32 %45 to i64
  %xtraiter = and i64 %46, 3
  %47 = icmp ult i32 %45, 4
  br i1 %47, label %._crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %46, 2147483644
  %invariant.gep = getelementptr inbounds i8, ptr %13, i64 16
  %invariant.gep142 = getelementptr inbounds i8, ptr %13, i64 24
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader.new ], [ %indvars.iv.next.3, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %48 = getelementptr inbounds double, ptr %13, i64 %indvars.iv
  %49 = load double, ptr %48, align 8, !tbaa !13
  %50 = tail call double @sqrt(double noundef %49) #4
  store double %50, ptr %48, align 8, !tbaa !13
  %51 = getelementptr double, ptr %2, i64 %indvars.iv
  %52 = load double, ptr %51, align 8, !tbaa !13
  %53 = tail call double @sqrt(double noundef %52) #4
  store double %53, ptr %51, align 8, !tbaa !13
  %gep = getelementptr inbounds double, ptr %invariant.gep, i64 %indvars.iv
  %54 = load double, ptr %gep, align 8, !tbaa !13
  %55 = tail call double @sqrt(double noundef %54) #4
  store double %55, ptr %gep, align 8, !tbaa !13
  %gep143 = getelementptr inbounds double, ptr %invariant.gep142, i64 %indvars.iv
  %56 = load double, ptr %gep143, align 8, !tbaa !13
  %57 = tail call double @sqrt(double noundef %56) #4
  store double %57, ptr %gep143, align 8, !tbaa !13
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %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.ph, !llvm.loop !14

._crit_edge.unr-lcssa:                            ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next.3, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa, %.lr.ph.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.lr.ph.epil ], [ %indvars.iv.unr, %._crit_edge.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.unr-lcssa ]
  %58 = getelementptr inbounds double, ptr %13, i64 %indvars.iv.epil
  %59 = load double, ptr %58, align 8, !tbaa !13
  %60 = tail call double @sqrt(double noundef %59) #4
  store double %60, ptr %58, align 8, !tbaa !13
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %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.ph.epil, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.unr-lcssa
  %.pre = load i32, ptr %1, align 4, !tbaa !5
  %.not85.not97 = icmp sgt i32 %.pre, 1
  br i1 %.not85.not97, label %.lr.ph100.preheader, label %._crit_edge101

.lr.ph100.preheader:                              ; preds = %._crit_edge
  %wide.trip.count110 = zext nneg i32 %.pre to i64
  %61 = add nsw i64 %wide.trip.count110, -1
  %min.iters.check = icmp ult i32 %.pre, 9
  br i1 %min.iters.check, label %.lr.ph100.preheader139, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph100.preheader
  %62 = shl nuw nsw i64 %wide.trip.count110, 3
  %63 = add nsw i64 %62, -8
  %scevgep = getelementptr i8, ptr %3, i64 %63
  %scevgep119 = getelementptr i8, ptr %2, i64 %63
  %bound0 = icmp ugt ptr %scevgep119, %3
  %bound1 = icmp ugt ptr %scevgep, %2
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph100.preheader139, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %61, -4
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %64 = getelementptr double, ptr %2, i64 %index
  %65 = getelementptr inbounds i8, ptr %64, i64 16
  %wide.load = load <2 x double>, ptr %64, align 8, !tbaa !13, !alias.scope !18
  %wide.load120 = load <2 x double>, ptr %65, align 8, !tbaa !13, !alias.scope !18
  %66 = getelementptr double, ptr %3, i64 %index
  %67 = getelementptr inbounds i8, ptr %66, i64 16
  %wide.load121 = load <2 x double>, ptr %66, align 8, !tbaa !13, !alias.scope !21, !noalias !18
  %wide.load122 = load <2 x double>, ptr %67, align 8, !tbaa !13, !alias.scope !21, !noalias !18
  %68 = fmul <2 x double> %wide.load, %wide.load121
  %69 = fmul <2 x double> %wide.load120, %wide.load122
  store <2 x double> %68, ptr %66, align 8, !tbaa !13, !alias.scope !21, !noalias !18
  store <2 x double> %69, ptr %67, align 8, !tbaa !13, !alias.scope !21, !noalias !18
  %index.next = add nuw i64 %index, 4
  %70 = icmp eq i64 %index.next, %n.vec
  br i1 %70, label %middle.block, label %vector.body, !llvm.loop !23

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %61, %n.vec
  br i1 %cmp.n, label %._crit_edge101, label %.lr.ph100.preheader139

.lr.ph100.preheader139:                           ; preds = %middle.block, %vector.memcheck, %.lr.ph100.preheader
  %indvars.iv107.ph = phi i64 [ 1, %vector.memcheck ], [ 1, %.lr.ph100.preheader ], [ %ind.end, %middle.block ]
  %71 = sub nsw i64 %wide.trip.count110, %indvars.iv107.ph
  %xtraiter140 = and i64 %71, 3
  %lcmp.mod141.not = icmp eq i64 %xtraiter140, 0
  br i1 %lcmp.mod141.not, label %.lr.ph100.prol.loopexit, label %.lr.ph100.prol

.lr.ph100.prol:                                   ; preds = %.lr.ph100.preheader139, %.lr.ph100.prol
  %indvars.iv107.prol = phi i64 [ %indvars.iv.next108.prol, %.lr.ph100.prol ], [ %indvars.iv107.ph, %.lr.ph100.preheader139 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph100.prol ], [ 0, %.lr.ph100.preheader139 ]
  %72 = getelementptr inbounds double, ptr %13, i64 %indvars.iv107.prol
  %73 = load double, ptr %72, align 8, !tbaa !13
  %74 = getelementptr inbounds double, ptr %14, i64 %indvars.iv107.prol
  %75 = load double, ptr %74, align 8, !tbaa !13
  %76 = fmul double %73, %75
  store double %76, ptr %74, align 8, !tbaa !13
  %indvars.iv.next108.prol = add nuw nsw i64 %indvars.iv107.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter140
  br i1 %prol.iter.cmp.not, label %.lr.ph100.prol.loopexit, label %.lr.ph100.prol, !llvm.loop !26

.lr.ph100.prol.loopexit:                          ; preds = %.lr.ph100.prol, %.lr.ph100.preheader139
  %indvars.iv107.unr = phi i64 [ %indvars.iv107.ph, %.lr.ph100.preheader139 ], [ %indvars.iv.next108.prol, %.lr.ph100.prol ]
  %77 = sub nsw i64 %indvars.iv107.ph, %wide.trip.count110
  %78 = icmp ugt i64 %77, -4
  br i1 %78, label %._crit_edge101, label %.lr.ph100

.lr.ph100:                                        ; preds = %.lr.ph100.prol.loopexit, %.lr.ph100
  %indvars.iv107 = phi i64 [ %indvars.iv.next108.3, %.lr.ph100 ], [ %indvars.iv107.unr, %.lr.ph100.prol.loopexit ]
  %79 = getelementptr inbounds double, ptr %13, i64 %indvars.iv107
  %80 = load double, ptr %79, align 8, !tbaa !13
  %81 = getelementptr inbounds double, ptr %14, i64 %indvars.iv107
  %82 = load double, ptr %81, align 8, !tbaa !13
  %83 = fmul double %80, %82
  store double %83, ptr %81, align 8, !tbaa !13
  %84 = getelementptr double, ptr %2, i64 %indvars.iv107
  %85 = load double, ptr %84, align 8, !tbaa !13
  %86 = getelementptr double, ptr %3, i64 %indvars.iv107
  %87 = load double, ptr %86, align 8, !tbaa !13
  %88 = fmul double %85, %87
  store double %88, ptr %86, align 8, !tbaa !13
  %indvars.iv.next108.1 = add nuw nsw i64 %indvars.iv107, 2
  %89 = getelementptr inbounds double, ptr %13, i64 %indvars.iv.next108.1
  %90 = load double, ptr %89, align 8, !tbaa !13
  %91 = getelementptr inbounds double, ptr %14, i64 %indvars.iv.next108.1
  %92 = load double, ptr %91, align 8, !tbaa !13
  %93 = fmul double %90, %92
  store double %93, ptr %91, align 8, !tbaa !13
  %indvars.iv.next108.2 = add nuw nsw i64 %indvars.iv107, 3
  %94 = getelementptr inbounds double, ptr %13, i64 %indvars.iv.next108.2
  %95 = load double, ptr %94, align 8, !tbaa !13
  %96 = getelementptr inbounds double, ptr %14, i64 %indvars.iv.next108.2
  %97 = load double, ptr %96, align 8, !tbaa !13
  %98 = fmul double %95, %97
  store double %98, ptr %96, align 8, !tbaa !13
  %indvars.iv.next108.3 = add nuw nsw i64 %indvars.iv107, 4
  %exitcond111.not.3 = icmp eq i64 %indvars.iv.next108.3, %wide.trip.count110
  br i1 %exitcond111.not.3, label %._crit_edge101, label %.lr.ph100, !llvm.loop !27

._crit_edge101:                                   ; preds = %.lr.ph100.prol.loopexit, %.lr.ph100, %middle.block, %44, %._crit_edge
  %99 = phi i32 [ %.pre, %._crit_edge ], [ %45, %44 ], [ %.pre, %middle.block ], [ %.pre, %.lr.ph100 ], [ %.pre, %.lr.ph100.prol.loopexit ]
  %spec.select94 = select i1 %.not, i32 %99, i32 0
  store i32 %spec.select94, ptr %12, align 4, !tbaa !5
  call void @zbdsqr_(ptr noundef nonnull @.str.5, ptr noundef nonnull %1, ptr noundef nonnull @c__0, ptr noundef nonnull %12, ptr noundef nonnull @c__0, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %11, ptr noundef nonnull @c__1, ptr noundef %4, ptr noundef nonnull %5, ptr noundef nonnull %10, ptr noundef nonnull @c__1, ptr noundef %6, ptr noundef nonnull %7) #4
  %100 = load i32, ptr %7, align 4, !tbaa !5
  %101 = icmp eq i32 %100, 0
  %102 = load i32, ptr %1, align 4, !tbaa !5
  br i1 %101, label %103, label %114

103:                                              ; preds = %._crit_edge101
  %.not86102 = icmp slt i32 %102, 1
  br i1 %.not86102, label %.loopexit, label %.lr.ph105.preheader

.lr.ph105.preheader:                              ; preds = %103
  %104 = add nuw i32 %102, 1
  %wide.trip.count115 = zext i32 %104 to i64
  %105 = zext nneg i32 %102 to i64
  %min.iters.check125 = icmp ult i32 %102, 4
  br i1 %min.iters.check125, label %.lr.ph105.preheader138, label %vector.ph126

vector.ph126:                                     ; preds = %.lr.ph105.preheader
  %n.vec128 = and i64 %105, 2147483644
  %ind.end129 = or disjoint i64 %n.vec128, 1
  br label %vector.body131

vector.body131:                                   ; preds = %vector.body131, %vector.ph126
  %index132 = phi i64 [ 0, %vector.ph126 ], [ %index.next136, %vector.body131 ]
  %106 = getelementptr double, ptr %2, i64 %index132
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %wide.load134 = load <2 x double>, ptr %106, align 8, !tbaa !13
  %wide.load135 = load <2 x double>, ptr %107, align 8, !tbaa !13
  %108 = fmul <2 x double> %wide.load134, %wide.load134
  %109 = fmul <2 x double> %wide.load135, %wide.load135
  store <2 x double> %108, ptr %106, align 8, !tbaa !13
  store <2 x double> %109, ptr %107, align 8, !tbaa !13
  %index.next136 = add nuw i64 %index132, 4
  %110 = icmp eq i64 %index.next136, %n.vec128
  br i1 %110, label %middle.block123, label %vector.body131, !llvm.loop !28

middle.block123:                                  ; preds = %vector.body131
  %cmp.n137 = icmp eq i64 %n.vec128, %105
  br i1 %cmp.n137, label %.loopexit, label %.lr.ph105.preheader138

.lr.ph105.preheader138:                           ; preds = %middle.block123, %.lr.ph105.preheader
  %indvars.iv112.ph = phi i64 [ 1, %.lr.ph105.preheader ], [ %ind.end129, %middle.block123 ]
  br label %.lr.ph105

.lr.ph105:                                        ; preds = %.lr.ph105.preheader138, %.lr.ph105
  %indvars.iv112 = phi i64 [ %indvars.iv.next113, %.lr.ph105 ], [ %indvars.iv112.ph, %.lr.ph105.preheader138 ]
  %111 = getelementptr inbounds double, ptr %13, i64 %indvars.iv112
  %112 = load double, ptr %111, align 8, !tbaa !13
  %113 = fmul double %112, %112
  store double %113, ptr %111, align 8, !tbaa !13
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %exitcond116.not = icmp eq i64 %indvars.iv.next113, %wide.trip.count115
  br i1 %exitcond116.not, label %.loopexit, label %.lr.ph105, !llvm.loop !29

114:                                              ; preds = %._crit_edge101
  %115 = add nsw i32 %102, %100
  store i32 %115, ptr %7, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph105, %middle.block123, %103, %114, %42, %36, %37, %35, %.thread92
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  ret void
}

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

declare i32 @lsame_(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @xerbla_(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @zlaset_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @dpttrf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

declare void @zbdsqr_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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


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