; LLVM IR from sourceryinstitute/MORFEUS-Source :: src/FV/src/mesh_optimize/OptMS (SMinit)

; 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.__SMoptimal = type { i32, i32, i32, i32, i32, i32, i32, double, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, [3 x double], double, double, ptr, ptr, ptr, ptr, [3 x i32], i32 }

@.str.1 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [23 x i8], align 1

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

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @SMinitOpt(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %10 = load ptr, ptr %5, align 8, !tbaa !9
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %14

12:                                               ; preds = %2
  %13 = call i32 @SMerror(i32 noundef 425, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 56, i32 noundef 0, ptr noundef null)
  store i32 %13, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %205

14:                                               ; preds = %2
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = icmp sgt i32 %15, 900
  br i1 %16, label %17, label %19

17:                                               ; preds = %14
  %18 = call i32 @SMerror(i32 noundef 427, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef @.str.26)
  store i32 %18, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %205

19:                                               ; preds = %14
  %20 = load i32, ptr %4, align 4, !tbaa !5
  %21 = load ptr, ptr %5, align 8, !tbaa !9
  %22 = getelementptr inbounds %struct.__SMoptimal, ptr %21, i32 0, i32 9
  store i32 %20, ptr %22, align 4, !tbaa !11
  %23 = load ptr, ptr %5, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.__SMoptimal, ptr %23, i32 0, i32 1
  store i32 0, ptr %24, align 4, !tbaa !14
  %25 = load ptr, ptr %5, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.__SMoptimal, ptr %25, i32 0, i32 2
  store i32 0, ptr %26, align 8, !tbaa !15
  %27 = load ptr, ptr %5, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.__SMoptimal, ptr %27, i32 0, i32 3
  store i32 0, ptr %28, align 4, !tbaa !16
  %29 = load ptr, ptr %5, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.__SMoptimal, ptr %29, i32 0, i32 4
  store i32 0, ptr %30, align 8, !tbaa !17
  %31 = load ptr, ptr %5, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.__SMoptimal, ptr %31, i32 0, i32 5
  store i32 0, ptr %32, align 4, !tbaa !18
  %33 = load ptr, ptr %5, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.__SMoptimal, ptr %33, i32 0, i32 6
  store i32 0, ptr %34, align 8, !tbaa !19
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.__SMoptimal, ptr %35, i32 0, i32 7
  store double 0.000000e+00, ptr %36, align 8, !tbaa !20
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  %38 = getelementptr inbounds %struct.__SMoptimal, ptr %37, i32 0, i32 8
  store i32 20, ptr %38, align 8, !tbaa !21
  %39 = load ptr, ptr %5, align 8, !tbaa !9
  %40 = getelementptr inbounds %struct.__SMoptimal, ptr %39, i32 0, i32 17
  store i32 0, ptr %40, align 8, !tbaa !22
  %41 = load ptr, ptr %5, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.__SMoptimal, ptr %41, i32 0, i32 19
  store double 0.000000e+00, ptr %42, align 8, !tbaa !23
  %43 = load ptr, ptr %5, align 8, !tbaa !9
  %44 = getelementptr inbounds %struct.__SMoptimal, ptr %43, i32 0, i32 20
  store double 0.000000e+00, ptr %44, align 8, !tbaa !24
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %77, %19
  %46 = load i32, ptr %7, align 4, !tbaa !5
  %47 = icmp slt i32 %46, 3
  br i1 %47, label %48, label %80

48:                                               ; preds = %45
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.__SMoptimal, ptr %49, i32 0, i32 18
  %51 = load i32, ptr %7, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [3 x double], ptr %50, i64 0, i64 %52
  store double 0.000000e+00, ptr %53, align 8, !tbaa !25
  %54 = load ptr, ptr %5, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.__SMoptimal, ptr %54, i32 0, i32 25
  %56 = load i32, ptr %7, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [3 x i32], ptr %55, i64 0, i64 %57
  store i32 -1, ptr %58, align 4, !tbaa !5
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %73, %48
  %60 = load i32, ptr %8, align 4, !tbaa !5
  %61 = icmp slt i32 %60, 3
  br i1 %61, label %62, label %76

62:                                               ; preds = %59
  %63 = load ptr, ptr %5, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.__SMoptimal, ptr %63, i32 0, i32 24
  %65 = load ptr, ptr %64, align 8, !tbaa !26
  %66 = load i32, ptr %7, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds ptr, ptr %65, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = load i32, ptr %8, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds double, ptr %69, i64 %71
  store double 0.000000e+00, ptr %72, align 8, !tbaa !25
  br label %73

73:                                               ; preds = %62
  %74 = load i32, ptr %8, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %8, align 4, !tbaa !5
  br label %59, !llvm.loop !27

76:                                               ; preds = %59
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %7, align 4, !tbaa !5
  br label %45, !llvm.loop !29

80:                                               ; preds = %45
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %128, %80
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = load i32, ptr %4, align 4, !tbaa !5
  %84 = icmp slt i32 %82, %83
  br i1 %84, label %85, label %131

85:                                               ; preds = %81
  %86 = load ptr, ptr %5, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.__SMoptimal, ptr %86, i32 0, i32 10
  %88 = load ptr, ptr %87, align 8, !tbaa !30
  %89 = load i32, ptr %7, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds double, ptr %88, i64 %90
  store double 0.000000e+00, ptr %91, align 8, !tbaa !25
  %92 = load ptr, ptr %5, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.__SMoptimal, ptr %92, i32 0, i32 12
  %94 = load ptr, ptr %93, align 8, !tbaa !31
  %95 = load i32, ptr %7, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds double, ptr %94, i64 %96
  store double 0.000000e+00, ptr %97, align 8, !tbaa !25
  %98 = load ptr, ptr %5, align 8, !tbaa !9
  %99 = getelementptr inbounds %struct.__SMoptimal, ptr %98, i32 0, i32 13
  %100 = load ptr, ptr %99, align 8, !tbaa !32
  %101 = load i32, ptr %7, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds double, ptr %100, i64 %102
  store double 0.000000e+00, ptr %103, align 8, !tbaa !25
  %104 = load ptr, ptr %5, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.__SMoptimal, ptr %104, i32 0, i32 21
  %106 = load ptr, ptr %105, align 8, !tbaa !33
  %107 = load i32, ptr %7, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds double, ptr %106, i64 %108
  store double 0.000000e+00, ptr %109, align 8, !tbaa !25
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %124, %85
  %111 = load i32, ptr %8, align 4, !tbaa !5
  %112 = icmp slt i32 %111, 3
  br i1 %112, label %113, label %127

113:                                              ; preds = %110
  %114 = load ptr, ptr %5, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.__SMoptimal, ptr %114, i32 0, i32 11
  %116 = load ptr, ptr %115, align 8, !tbaa !34
  %117 = load i32, ptr %7, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds ptr, ptr %116, i64 %118
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  %121 = load i32, ptr %8, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds double, ptr %120, i64 %122
  store double 0.000000e+00, ptr %123, align 8, !tbaa !25
  br label %124

124:                                              ; preds = %113
  %125 = load i32, ptr %8, align 4, !tbaa !5
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %8, align 4, !tbaa !5
  br label %110, !llvm.loop !35

127:                                              ; preds = %110
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %7, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %7, align 4, !tbaa !5
  br label %81, !llvm.loop !36

131:                                              ; preds = %81
  %132 = load i32, ptr %4, align 4, !tbaa !5
  %133 = icmp sgt i32 %132, 150
  br i1 %133, label %134, label %161

134:                                              ; preds = %131
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %157, %134
  %136 = load i32, ptr %7, align 4, !tbaa !5
  %137 = icmp slt i32 %136, 150
  br i1 %137, label %138, label %160

138:                                              ; preds = %135
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %139

139:                                              ; preds = %153, %138
  %140 = load i32, ptr %8, align 4, !tbaa !5
  %141 = icmp slt i32 %140, 150
  br i1 %141, label %142, label %156

142:                                              ; preds = %139
  %143 = load ptr, ptr %5, align 8, !tbaa !9
  %144 = getelementptr inbounds %struct.__SMoptimal, ptr %143, i32 0, i32 23
  %145 = load ptr, ptr %144, align 8, !tbaa !37
  %146 = load i32, ptr %7, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds ptr, ptr %145, i64 %147
  %149 = load ptr, ptr %148, align 8, !tbaa !9
  %150 = load i32, ptr %8, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds double, ptr %149, i64 %151
  store double -1.000000e+00, ptr %152, align 8, !tbaa !25
  br label %153

153:                                              ; preds = %142
  %154 = load i32, ptr %8, align 4, !tbaa !5
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %8, align 4, !tbaa !5
  br label %139, !llvm.loop !38

156:                                              ; preds = %139
  br label %157

157:                                              ; preds = %156
  %158 = load i32, ptr %7, align 4, !tbaa !5
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %7, align 4, !tbaa !5
  br label %135, !llvm.loop !39

160:                                              ; preds = %135
  br label %190

161:                                              ; preds = %131
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %162

162:                                              ; preds = %186, %161
  %163 = load i32, ptr %7, align 4, !tbaa !5
  %164 = load i32, ptr %4, align 4, !tbaa !5
  %165 = icmp slt i32 %163, %164
  br i1 %165, label %166, label %189

166:                                              ; preds = %162
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %167

167:                                              ; preds = %182, %166
  %168 = load i32, ptr %8, align 4, !tbaa !5
  %169 = load i32, ptr %4, align 4, !tbaa !5
  %170 = icmp slt i32 %168, %169
  br i1 %170, label %171, label %185

171:                                              ; preds = %167
  %172 = load ptr, ptr %5, align 8, !tbaa !9
  %173 = getelementptr inbounds %struct.__SMoptimal, ptr %172, i32 0, i32 23
  %174 = load ptr, ptr %173, align 8, !tbaa !37
  %175 = load i32, ptr %7, align 4, !tbaa !5
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds ptr, ptr %174, i64 %176
  %178 = load ptr, ptr %177, align 8, !tbaa !9
  %179 = load i32, ptr %8, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds double, ptr %178, i64 %180
  store double -1.000000e+00, ptr %181, align 8, !tbaa !25
  br label %182

182:                                              ; preds = %171
  %183 = load i32, ptr %8, align 4, !tbaa !5
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %8, align 4, !tbaa !5
  br label %167, !llvm.loop !40

185:                                              ; preds = %167
  br label %186

186:                                              ; preds = %185
  %187 = load i32, ptr %7, align 4, !tbaa !5
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %7, align 4, !tbaa !5
  br label %162, !llvm.loop !41

189:                                              ; preds = %162
  br label %190

190:                                              ; preds = %189, %160
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %191

191:                                              ; preds = %201, %190
  %192 = load i32, ptr %7, align 4, !tbaa !5
  %193 = icmp slt i32 %192, 20
  br i1 %193, label %194, label %204

194:                                              ; preds = %191
  %195 = load ptr, ptr %5, align 8, !tbaa !9
  %196 = getelementptr inbounds %struct.__SMoptimal, ptr %195, i32 0, i32 22
  %197 = load ptr, ptr %196, align 8, !tbaa !42
  %198 = load i32, ptr %7, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds double, ptr %197, i64 %199
  store double 0.000000e+00, ptr %200, align 8, !tbaa !25
  br label %201

201:                                              ; preds = %194
  %202 = load i32, ptr %7, align 4, !tbaa !5
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %7, align 4, !tbaa !5
  br label %191, !llvm.loop !43

204:                                              ; preds = %191
  store i32 0, ptr %6, align 4, !tbaa !5
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %205

205:                                              ; preds = %204, %17, %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %206 = load i32, ptr %3, align 4
  ret i32 %206
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 44}
!12 = !{!"__SMoptimal", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !13, i64 32, !6, i64 40, !6, i64 44, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !6, i64 104, !7, i64 112, !13, i64 136, !13, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !7, i64 184, !6, i64 196}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !6, i64 4}
!15 = !{!12, !6, i64 8}
!16 = !{!12, !6, i64 12}
!17 = !{!12, !6, i64 16}
!18 = !{!12, !6, i64 20}
!19 = !{!12, !6, i64 24}
!20 = !{!12, !13, i64 32}
!21 = !{!12, !6, i64 40}
!22 = !{!12, !6, i64 104}
!23 = !{!12, !13, i64 136}
!24 = !{!12, !13, i64 144}
!25 = !{!13, !13, i64 0}
!26 = !{!12, !10, i64 176}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = !{!12, !10, i64 48}
!31 = !{!12, !10, i64 64}
!32 = !{!12, !10, i64 72}
!33 = !{!12, !10, i64 152}
!34 = !{!12, !10, i64 56}
!35 = distinct !{!35, !28}
!36 = distinct !{!36, !28}
!37 = !{!12, !10, i64 168}
!38 = distinct !{!38, !28}
!39 = distinct !{!39, !28}
!40 = distinct !{!40, !28}
!41 = distinct !{!41, !28}
!42 = !{!12, !10, i64 160}
!43 = distinct !{!43, !28}


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

@.str.1 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [23 x i8], align 1

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @SMinitOpt(i32 noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = icmp eq ptr %1, null
  br i1 %3, label %4, label %6

4:                                                ; preds = %2
  %5 = tail call i32 @SMerror(i32 noundef 425, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 56, i32 noundef 0, ptr noundef null) #3
  br label %.loopexit

6:                                                ; preds = %2
  %7 = icmp sgt i32 %0, 900
  br i1 %7, label %8, label %.preheader75

8:                                                ; preds = %6
  %9 = tail call i32 @SMerror(i32 noundef 427, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef nonnull @.str.26) #3
  br label %.loopexit

.preheader75:                                     ; preds = %6
  %10 = getelementptr inbounds i8, ptr %1, i64 44
  store i32 %0, ptr %10, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %1, i64 4
  %12 = getelementptr inbounds i8, ptr %1, i64 32
  store double 0.000000e+00, ptr %12, align 8, !tbaa !12
  %13 = getelementptr inbounds i8, ptr %1, i64 40
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %11, i8 0, i64 24, i1 false)
  store i32 20, ptr %13, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %1, i64 104
  store i32 0, ptr %14, align 8, !tbaa !14
  %15 = getelementptr inbounds i8, ptr %1, i64 136
  %16 = getelementptr inbounds i8, ptr %1, i64 112
  %17 = getelementptr inbounds i8, ptr %1, i64 184
  %18 = getelementptr inbounds i8, ptr %1, i64 176
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, i8 0, i64 16, i1 false)
  %19 = load ptr, ptr %18, align 8, !tbaa !15
  store double 0.000000e+00, ptr %16, align 8, !tbaa !16
  store i32 -1, ptr %17, align 4, !tbaa !17
  %20 = load ptr, ptr %19, align 8, !tbaa !18
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %20, i8 0, i64 24, i1 false), !tbaa !16
  %21 = getelementptr inbounds i8, ptr %1, i64 120
  store double 0.000000e+00, ptr %21, align 8, !tbaa !16
  %22 = getelementptr inbounds i8, ptr %1, i64 188
  store i32 -1, ptr %22, align 4, !tbaa !17
  %23 = getelementptr inbounds i8, ptr %19, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %24, i8 0, i64 24, i1 false), !tbaa !16
  %25 = getelementptr inbounds i8, ptr %1, i64 128
  store double 0.000000e+00, ptr %25, align 8, !tbaa !16
  %26 = getelementptr inbounds i8, ptr %1, i64 192
  store i32 -1, ptr %26, align 4, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %19, i64 16
  %28 = load ptr, ptr %27, align 8, !tbaa !18
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %28, i8 0, i64 24, i1 false), !tbaa !16
  %29 = icmp sgt i32 %0, 0
  br i1 %29, label %.lr.ph, label %.loopexit71

.lr.ph:                                           ; preds = %.preheader75
  %30 = getelementptr inbounds i8, ptr %1, i64 48
  %31 = load ptr, ptr %30, align 8, !tbaa !19
  %32 = getelementptr inbounds i8, ptr %1, i64 64
  %33 = load ptr, ptr %32, align 8, !tbaa !20
  %34 = getelementptr inbounds i8, ptr %1, i64 72
  %35 = load ptr, ptr %34, align 8, !tbaa !21
  %36 = getelementptr inbounds i8, ptr %1, i64 152
  %37 = load ptr, ptr %36, align 8, !tbaa !22
  %38 = getelementptr inbounds i8, ptr %1, i64 56
  %39 = load ptr, ptr %38, align 8, !tbaa !23
  %wide.trip.count = zext nneg i32 %0 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %40 = icmp eq i32 %0, 1
  br i1 %40, label %._crit_edge.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %41

41:                                               ; preds = %41, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.1, %41 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %41 ]
  %42 = getelementptr inbounds double, ptr %31, i64 %indvars.iv
  store double 0.000000e+00, ptr %42, align 8, !tbaa !16
  %43 = getelementptr inbounds double, ptr %33, i64 %indvars.iv
  store double 0.000000e+00, ptr %43, align 8, !tbaa !16
  %44 = getelementptr inbounds double, ptr %35, i64 %indvars.iv
  store double 0.000000e+00, ptr %44, align 8, !tbaa !16
  %45 = getelementptr inbounds double, ptr %37, i64 %indvars.iv
  store double 0.000000e+00, ptr %45, align 8, !tbaa !16
  %46 = getelementptr inbounds ptr, ptr %39, i64 %indvars.iv
  %47 = load ptr, ptr %46, align 8, !tbaa !18
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %47, i8 0, i64 24, i1 false), !tbaa !16
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %48 = getelementptr inbounds double, ptr %31, i64 %indvars.iv.next
  store double 0.000000e+00, ptr %48, align 8, !tbaa !16
  %49 = getelementptr inbounds double, ptr %33, i64 %indvars.iv.next
  store double 0.000000e+00, ptr %49, align 8, !tbaa !16
  %50 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.next
  store double 0.000000e+00, ptr %50, align 8, !tbaa !16
  %51 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.next
  store double 0.000000e+00, ptr %51, align 8, !tbaa !16
  %52 = getelementptr inbounds ptr, ptr %39, i64 %indvars.iv.next
  %53 = load ptr, ptr %52, align 8, !tbaa !18
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %53, i8 0, i64 24, i1 false), !tbaa !16
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.unr-lcssa, label %41, !llvm.loop !24

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

._crit_edge.epilog-lcssa:                         ; preds = %._crit_edge.unr-lcssa
  %54 = getelementptr inbounds double, ptr %31, i64 %indvars.iv.unr
  store double 0.000000e+00, ptr %54, align 8, !tbaa !16
  %55 = getelementptr inbounds double, ptr %33, i64 %indvars.iv.unr
  store double 0.000000e+00, ptr %55, align 8, !tbaa !16
  %56 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.unr
  store double 0.000000e+00, ptr %56, align 8, !tbaa !16
  %57 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.unr
  store double 0.000000e+00, ptr %57, align 8, !tbaa !16
  %58 = getelementptr inbounds ptr, ptr %39, i64 %indvars.iv.unr
  %59 = load ptr, ptr %58, align 8, !tbaa !18
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %59, i8 0, i64 24, i1 false), !tbaa !16
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.unr-lcssa, %._crit_edge.epilog-lcssa
  %60 = icmp sgt i32 %0, 150
  br i1 %60, label %.preheader70, label %.preheader73

.preheader73:                                     ; preds = %._crit_edge
  br i1 %29, label %.preheader72.lr.ph, label %.loopexit71

.preheader72.lr.ph:                               ; preds = %.preheader73
  %61 = getelementptr inbounds i8, ptr %1, i64 168
  %62 = load ptr, ptr %61, align 8, !tbaa !26
  %wide.trip.count100 = zext nneg i32 %0 to i64
  %min.iters.check = icmp ult i32 %0, 4
  %n.vec = and i64 %wide.trip.count, 2147483644
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br label %.preheader72.us

.preheader72.us:                                  ; preds = %._crit_edge82.us, %.preheader72.lr.ph
  %indvars.iv97 = phi i64 [ %indvars.iv.next98, %._crit_edge82.us ], [ 0, %.preheader72.lr.ph ]
  %63 = getelementptr inbounds ptr, ptr %62, i64 %indvars.iv97
  %64 = load ptr, ptr %63, align 8, !tbaa !18
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.preheader72.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader72.us ]
  %65 = getelementptr inbounds double, ptr %64, i64 %index
  %66 = getelementptr inbounds i8, ptr %65, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %65, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %66, align 8, !tbaa !16
  %index.next = add nuw i64 %index, 4
  %67 = icmp eq i64 %index.next, %n.vec
  br i1 %67, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge82.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader72.us
  %indvars.iv92.ph = phi i64 [ 0, %.preheader72.us ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv92 = phi i64 [ %indvars.iv.next93, %scalar.ph ], [ %indvars.iv92.ph, %scalar.ph.preheader ]
  %68 = getelementptr inbounds double, ptr %64, i64 %indvars.iv92
  store double -1.000000e+00, ptr %68, align 8, !tbaa !16
  %indvars.iv.next93 = add nuw nsw i64 %indvars.iv92, 1
  %exitcond96.not = icmp eq i64 %indvars.iv.next93, %wide.trip.count100
  br i1 %exitcond96.not, label %._crit_edge82.us, label %scalar.ph, !llvm.loop !30

._crit_edge82.us:                                 ; preds = %scalar.ph, %middle.block
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %exitcond101.not = icmp eq i64 %indvars.iv.next98, %wide.trip.count100
  br i1 %exitcond101.not, label %.loopexit71, label %.preheader72.us, !llvm.loop !31

.preheader70:                                     ; preds = %._crit_edge
  %69 = getelementptr inbounds i8, ptr %1, i64 168
  %70 = load ptr, ptr %69, align 8, !tbaa !26
  br label %.preheader

.preheader:                                       ; preds = %.preheader70, %.preheader
  %indvars.iv106 = phi i64 [ 0, %.preheader70 ], [ %indvars.iv.next107, %.preheader ]
  %71 = getelementptr inbounds ptr, ptr %70, i64 %indvars.iv106
  %72 = load ptr, ptr %71, align 8, !tbaa !18
  %73 = getelementptr inbounds i8, ptr %72, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %72, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %73, align 8, !tbaa !16
  %74 = getelementptr inbounds i8, ptr %72, i64 32
  %75 = getelementptr inbounds i8, ptr %72, i64 48
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %74, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %75, align 8, !tbaa !16
  %76 = getelementptr inbounds i8, ptr %72, i64 64
  %77 = getelementptr inbounds i8, ptr %72, i64 80
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %76, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %77, align 8, !tbaa !16
  %78 = getelementptr inbounds i8, ptr %72, i64 96
  %79 = getelementptr inbounds i8, ptr %72, i64 112
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %78, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %79, align 8, !tbaa !16
  %80 = getelementptr inbounds i8, ptr %72, i64 128
  %81 = getelementptr inbounds i8, ptr %72, i64 144
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %80, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %81, align 8, !tbaa !16
  %82 = getelementptr inbounds i8, ptr %72, i64 160
  %83 = getelementptr inbounds i8, ptr %72, i64 176
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %82, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %83, align 8, !tbaa !16
  %84 = getelementptr inbounds i8, ptr %72, i64 192
  %85 = getelementptr inbounds i8, ptr %72, i64 208
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %84, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %85, align 8, !tbaa !16
  %86 = getelementptr inbounds i8, ptr %72, i64 224
  %87 = getelementptr inbounds i8, ptr %72, i64 240
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %86, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %87, align 8, !tbaa !16
  %88 = getelementptr inbounds i8, ptr %72, i64 256
  %89 = getelementptr inbounds i8, ptr %72, i64 272
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %88, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %89, align 8, !tbaa !16
  %90 = getelementptr inbounds i8, ptr %72, i64 288
  %91 = getelementptr inbounds i8, ptr %72, i64 304
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %90, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %91, align 8, !tbaa !16
  %92 = getelementptr inbounds i8, ptr %72, i64 320
  %93 = getelementptr inbounds i8, ptr %72, i64 336
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %92, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %93, align 8, !tbaa !16
  %94 = getelementptr inbounds i8, ptr %72, i64 352
  %95 = getelementptr inbounds i8, ptr %72, i64 368
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %94, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %95, align 8, !tbaa !16
  %96 = getelementptr inbounds i8, ptr %72, i64 384
  %97 = getelementptr inbounds i8, ptr %72, i64 400
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %96, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %97, align 8, !tbaa !16
  %98 = getelementptr inbounds i8, ptr %72, i64 416
  %99 = getelementptr inbounds i8, ptr %72, i64 432
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %98, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %99, align 8, !tbaa !16
  %100 = getelementptr inbounds i8, ptr %72, i64 448
  %101 = getelementptr inbounds i8, ptr %72, i64 464
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %100, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %101, align 8, !tbaa !16
  %102 = getelementptr inbounds i8, ptr %72, i64 480
  %103 = getelementptr inbounds i8, ptr %72, i64 496
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %102, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %103, align 8, !tbaa !16
  %104 = getelementptr inbounds i8, ptr %72, i64 512
  %105 = getelementptr inbounds i8, ptr %72, i64 528
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %104, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %105, align 8, !tbaa !16
  %106 = getelementptr inbounds i8, ptr %72, i64 544
  %107 = getelementptr inbounds i8, ptr %72, i64 560
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %106, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %107, align 8, !tbaa !16
  %108 = getelementptr inbounds i8, ptr %72, i64 576
  %109 = getelementptr inbounds i8, ptr %72, i64 592
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %108, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %109, align 8, !tbaa !16
  %110 = getelementptr inbounds i8, ptr %72, i64 608
  %111 = getelementptr inbounds i8, ptr %72, i64 624
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %110, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %111, align 8, !tbaa !16
  %112 = getelementptr inbounds i8, ptr %72, i64 640
  %113 = getelementptr inbounds i8, ptr %72, i64 656
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %112, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %113, align 8, !tbaa !16
  %114 = getelementptr inbounds i8, ptr %72, i64 672
  %115 = getelementptr inbounds i8, ptr %72, i64 688
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %114, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %115, align 8, !tbaa !16
  %116 = getelementptr inbounds i8, ptr %72, i64 704
  %117 = getelementptr inbounds i8, ptr %72, i64 720
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %116, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %117, align 8, !tbaa !16
  %118 = getelementptr inbounds i8, ptr %72, i64 736
  %119 = getelementptr inbounds i8, ptr %72, i64 752
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %118, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %119, align 8, !tbaa !16
  %120 = getelementptr inbounds i8, ptr %72, i64 768
  %121 = getelementptr inbounds i8, ptr %72, i64 784
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %120, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %121, align 8, !tbaa !16
  %122 = getelementptr inbounds i8, ptr %72, i64 800
  %123 = getelementptr inbounds i8, ptr %72, i64 816
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %122, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %123, align 8, !tbaa !16
  %124 = getelementptr inbounds i8, ptr %72, i64 832
  %125 = getelementptr inbounds i8, ptr %72, i64 848
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %124, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %125, align 8, !tbaa !16
  %126 = getelementptr inbounds i8, ptr %72, i64 864
  %127 = getelementptr inbounds i8, ptr %72, i64 880
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %126, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %127, align 8, !tbaa !16
  %128 = getelementptr inbounds i8, ptr %72, i64 896
  %129 = getelementptr inbounds i8, ptr %72, i64 912
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %128, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %129, align 8, !tbaa !16
  %130 = getelementptr inbounds i8, ptr %72, i64 928
  %131 = getelementptr inbounds i8, ptr %72, i64 944
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %130, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %131, align 8, !tbaa !16
  %132 = getelementptr inbounds i8, ptr %72, i64 960
  %133 = getelementptr inbounds i8, ptr %72, i64 976
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %132, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %133, align 8, !tbaa !16
  %134 = getelementptr inbounds i8, ptr %72, i64 992
  %135 = getelementptr inbounds i8, ptr %72, i64 1008
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %134, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %135, align 8, !tbaa !16
  %136 = getelementptr inbounds i8, ptr %72, i64 1024
  %137 = getelementptr inbounds i8, ptr %72, i64 1040
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %136, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %137, align 8, !tbaa !16
  %138 = getelementptr inbounds i8, ptr %72, i64 1056
  %139 = getelementptr inbounds i8, ptr %72, i64 1072
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %138, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %139, align 8, !tbaa !16
  %140 = getelementptr inbounds i8, ptr %72, i64 1088
  %141 = getelementptr inbounds i8, ptr %72, i64 1104
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %140, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %141, align 8, !tbaa !16
  %142 = getelementptr inbounds i8, ptr %72, i64 1120
  %143 = getelementptr inbounds i8, ptr %72, i64 1136
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %142, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %143, align 8, !tbaa !16
  %144 = getelementptr inbounds i8, ptr %72, i64 1152
  %145 = getelementptr inbounds i8, ptr %72, i64 1168
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %144, align 8, !tbaa !16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %145, align 8, !tbaa !16
  %146 = getelementptr inbounds i8, ptr %72, i64 1184
  store double -1.000000e+00, ptr %146, align 8, !tbaa !16
  %147 = getelementptr inbounds i8, ptr %72, i64 1192
  store double -1.000000e+00, ptr %147, align 8, !tbaa !16
  %indvars.iv.next107 = add nuw nsw i64 %indvars.iv106, 1
  %exitcond109.not = icmp eq i64 %indvars.iv.next107, 150
  br i1 %exitcond109.not, label %.loopexit71, label %.preheader, !llvm.loop !32

.loopexit71:                                      ; preds = %._crit_edge82.us, %.preheader, %.preheader75, %.preheader73
  %148 = getelementptr inbounds i8, ptr %1, i64 160
  %149 = load ptr, ptr %148, align 8, !tbaa !33
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(160) %149, i8 0, i64 160, i1 false), !tbaa !16
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit71, %8, %4
  %.067 = phi i32 [ %5, %4 ], [ %9, %8 ], [ 0, %.loopexit71 ]
  ret i32 %.067
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

attributes #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 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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, !7, i64 44}
!6 = !{!"__SMoptimal", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !7, i64 40, !7, i64 44, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !7, i64 104, !8, i64 112, !10, i64 136, !10, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !8, i64 184, !7, i64 196}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 32}
!13 = !{!6, !7, i64 40}
!14 = !{!6, !7, i64 104}
!15 = !{!6, !11, i64 176}
!16 = !{!10, !10, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!6, !11, i64 48}
!20 = !{!6, !11, i64 64}
!21 = !{!6, !11, i64 72}
!22 = !{!6, !11, i64 152}
!23 = !{!6, !11, i64 56}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!6, !11, i64 168}
!27 = distinct !{!27, !25, !28, !29}
!28 = !{!"llvm.loop.isvectorized", i32 1}
!29 = !{!"llvm.loop.unroll.runtime.disable"}
!30 = distinct !{!30, !25, !29, !28}
!31 = distinct !{!31, !25}
!32 = distinct !{!32, !25}
!33 = !{!6, !11, i64 160}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass