; LLVM IR from alexzheng42/sDMD :: src (Initialization)

; 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.FlowStr = type { i32, %struct.ConstVStr, %struct.ForceStr, %struct.ChargeStr }
%struct.ConstVStr = type { [4 x double] }
%struct.ForceStr = type { [4 x double], ptr, ptr }
%struct.ChargeStr = type { i32, i32, ptr, ptr, ptr, ptr }
%struct.AtomStr = type { ptr, ptr }
%struct.PropertyStr = type { [8 x i8], [2 x [16 x i8]], [8 x i8], i32, i32, i32, double, double, [3 x double], %struct.AtomSeqStr, ptr, ptr }
%struct.AtomSeqStr = type { i32, i32, i32 }
%struct.DynamicStr = type { [4 x i32], [4 x double], [4 x double], %struct.HBStr, %struct.HBNeighborStr, %struct.InteractionEventStr }
%struct.HBStr = type { i32, i32, i8, i32 }
%struct.HBNeighborStr = type { [5 x i32], i32, i32 }
%struct.InteractionEventStr = type { i32, i64, i64, double, double, i32, i32 }

@flow = external global %struct.FlowStr, align 8
@atomnum = external global i32, align 4
@numofprotein = external global i32, align 4
@atom = external global ptr, align 8

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @GenerateVelocity() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca [4 x double], align 16
  %3 = alloca double, align 8
  %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
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #7
  call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  %10 = load i32, ptr @atomnum, align 4, !tbaa !9
  %11 = add nsw i32 %10, 1
  %12 = sext i32 %11 to i64
  %13 = call noalias ptr @calloc(i64 noundef %12, i64 noundef 8) #8
  store ptr %13, ptr %1, align 8, !tbaa !11
  %14 = load i32, ptr @atomnum, align 4, !tbaa !9
  %15 = add nsw i32 %14, 1
  %16 = mul nsw i32 %15, 4
  %17 = sext i32 %16 to i64
  %18 = call noalias ptr @calloc(i64 noundef %17, i64 noundef 8) #8
  %19 = load ptr, ptr %1, align 8, !tbaa !11
  %20 = getelementptr inbounds ptr, ptr %19, i64 0
  store ptr %18, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %21

21:                                               ; preds = %39, %0
  %22 = load i32, ptr %4, align 4, !tbaa !9
  %23 = load i32, ptr @atomnum, align 4, !tbaa !9
  %24 = add nsw i32 %23, 1
  %25 = icmp slt i32 %22, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %42

27:                                               ; preds = %21
  %28 = load ptr, ptr %1, align 8, !tbaa !11
  %29 = getelementptr inbounds ptr, ptr %28, i64 0
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = load i32, ptr %4, align 4, !tbaa !9
  %32 = mul nsw i32 %31, 4
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds double, ptr %30, i64 %33
  %35 = load ptr, ptr %1, align 8, !tbaa !11
  %36 = load i32, ptr %4, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds ptr, ptr %35, i64 %37
  store ptr %34, ptr %38, align 8, !tbaa !11
  br label %39

39:                                               ; preds = %27
  %40 = load i32, ptr %4, align 4, !tbaa !9
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %4, align 4, !tbaa !9
  br label %21, !llvm.loop !13

42:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 1, ptr %5, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %132, %42
  %44 = load i32, ptr %5, align 4, !tbaa !9
  %45 = load i32, ptr @atomnum, align 4, !tbaa !9
  %46 = icmp sle i32 %44, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %43
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %135

48:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 1, ptr %7, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %118, %48
  %50 = load i32, ptr %7, align 4, !tbaa !9
  %51 = icmp sle i32 %50, 3
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %121

53:                                               ; preds = %49
  %54 = load ptr, ptr @atom, align 8, !tbaa !11
  %55 = load i32, ptr %5, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds %struct.AtomStr, ptr %54, i64 %56
  %58 = getelementptr inbounds %struct.AtomStr, ptr %57, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8, !tbaa !15
  %60 = getelementptr inbounds %struct.PropertyStr, ptr %59, i32 0, i32 7
  %61 = load double, ptr %60, align 8, !tbaa !17
  %62 = call double @RandomVelocity(double noundef %61)
  %63 = load i32, ptr %7, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %64
  store double %62, ptr %65, align 8, !tbaa !5
  %66 = load i32, ptr %7, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %67
  %69 = load double, ptr %68, align 8, !tbaa !5
  %70 = load i32, ptr %7, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [4 x double], ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 1), i64 0, i64 %71
  %73 = load double, ptr %72, align 8, !tbaa !5
  %74 = fadd double %69, %73
  %75 = load ptr, ptr getelementptr inbounds (%struct.ForceStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 2), i32 0, i32 2), align 8, !tbaa !20
  %76 = load i32, ptr %5, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds ptr, ptr %75, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  %80 = load i32, ptr %7, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds double, ptr %79, i64 %81
  %83 = load double, ptr %82, align 8, !tbaa !5
  %84 = fadd double %74, %83
  %85 = load ptr, ptr %1, align 8, !tbaa !11
  %86 = load i32, ptr %5, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds ptr, ptr %85, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !11
  %90 = load i32, ptr %7, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds double, ptr %89, i64 %91
  store double %84, ptr %92, align 8, !tbaa !5
  %93 = load ptr, ptr %1, align 8, !tbaa !11
  %94 = load i32, ptr %5, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds ptr, ptr %93, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !11
  %98 = load i32, ptr %7, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %97, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !5
  %102 = load ptr, ptr @atom, align 8, !tbaa !11
  %103 = load i32, ptr %5, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds %struct.AtomStr, ptr %102, i64 %104
  %106 = getelementptr inbounds %struct.AtomStr, ptr %105, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !15
  %108 = getelementptr inbounds %struct.PropertyStr, ptr %107, i32 0, i32 7
  %109 = load double, ptr %108, align 8, !tbaa !17
  %110 = load ptr, ptr %1, align 8, !tbaa !11
  %111 = getelementptr inbounds ptr, ptr %110, i64 0
  %112 = load ptr, ptr %111, align 8, !tbaa !11
  %113 = load i32, ptr %7, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds double, ptr %112, i64 %114
  %116 = load double, ptr %115, align 8, !tbaa !5
  %117 = call double @llvm.fmuladd.f64(double %101, double %109, double %116)
  store double %117, ptr %115, align 8, !tbaa !5
  br label %118

118:                                              ; preds = %53
  %119 = load i32, ptr %7, align 4, !tbaa !9
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %7, align 4, !tbaa !9
  br label %49, !llvm.loop !25

121:                                              ; preds = %52
  %122 = load ptr, ptr @atom, align 8, !tbaa !11
  %123 = load i32, ptr %5, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds %struct.AtomStr, ptr %122, i64 %124
  %126 = getelementptr inbounds %struct.AtomStr, ptr %125, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8, !tbaa !15
  %128 = getelementptr inbounds %struct.PropertyStr, ptr %127, i32 0, i32 7
  %129 = load double, ptr %128, align 8, !tbaa !17
  %130 = load double, ptr %3, align 8, !tbaa !5
  %131 = fadd double %130, %129
  store double %131, ptr %3, align 8, !tbaa !5
  br label %132

132:                                              ; preds = %121
  %133 = load i32, ptr %5, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %5, align 4, !tbaa !9
  br label %43, !llvm.loop !26

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

136:                                              ; preds = %150, %135
  %137 = load i32, ptr %8, align 4, !tbaa !9
  %138 = icmp sle i32 %137, 3
  br i1 %138, label %140, label %139

139:                                              ; preds = %136
  store i32 11, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %153

140:                                              ; preds = %136
  %141 = load double, ptr %3, align 8, !tbaa !5
  %142 = load ptr, ptr %1, align 8, !tbaa !11
  %143 = getelementptr inbounds ptr, ptr %142, i64 0
  %144 = load ptr, ptr %143, align 8, !tbaa !11
  %145 = load i32, ptr %8, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds double, ptr %144, i64 %146
  %148 = load double, ptr %147, align 8, !tbaa !5
  %149 = fdiv double %148, %141
  store double %149, ptr %147, align 8, !tbaa !5
  br label %150

150:                                              ; preds = %140
  %151 = load i32, ptr %8, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %8, align 4, !tbaa !9
  br label %136, !llvm.loop !27

153:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %154

154:                                              ; preds = %266, %153
  %155 = load i32, ptr %9, align 4, !tbaa !9
  %156 = load i32, ptr @atomnum, align 4, !tbaa !9
  %157 = icmp sle i32 %155, %156
  br i1 %157, label %159, label %158

158:                                              ; preds = %154
  store i32 14, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %269

159:                                              ; preds = %154
  %160 = load i32, ptr @numofprotein, align 4, !tbaa !9
  %161 = icmp eq i32 %160, 1
  br i1 %161, label %162, label %220

162:                                              ; preds = %159
  %163 = load ptr, ptr %1, align 8, !tbaa !11
  %164 = load i32, ptr %9, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds ptr, ptr %163, i64 %165
  %167 = load ptr, ptr %166, align 8, !tbaa !11
  %168 = getelementptr inbounds double, ptr %167, i64 1
  %169 = load double, ptr %168, align 8, !tbaa !5
  %170 = load ptr, ptr %1, align 8, !tbaa !11
  %171 = getelementptr inbounds ptr, ptr %170, i64 0
  %172 = load ptr, ptr %171, align 8, !tbaa !11
  %173 = getelementptr inbounds double, ptr %172, i64 1
  %174 = load double, ptr %173, align 8, !tbaa !5
  %175 = fsub double %169, %174
  %176 = load ptr, ptr %1, align 8, !tbaa !11
  %177 = load i32, ptr %9, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds ptr, ptr %176, i64 %178
  %180 = load ptr, ptr %179, align 8, !tbaa !11
  %181 = getelementptr inbounds double, ptr %180, i64 1
  store double %175, ptr %181, align 8, !tbaa !5
  %182 = load ptr, ptr %1, align 8, !tbaa !11
  %183 = load i32, ptr %9, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds ptr, ptr %182, i64 %184
  %186 = load ptr, ptr %185, align 8, !tbaa !11
  %187 = getelementptr inbounds double, ptr %186, i64 2
  %188 = load double, ptr %187, align 8, !tbaa !5
  %189 = load ptr, ptr %1, align 8, !tbaa !11
  %190 = getelementptr inbounds ptr, ptr %189, i64 0
  %191 = load ptr, ptr %190, align 8, !tbaa !11
  %192 = getelementptr inbounds double, ptr %191, i64 2
  %193 = load double, ptr %192, align 8, !tbaa !5
  %194 = fsub double %188, %193
  %195 = load ptr, ptr %1, align 8, !tbaa !11
  %196 = load i32, ptr %9, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds ptr, ptr %195, i64 %197
  %199 = load ptr, ptr %198, align 8, !tbaa !11
  %200 = getelementptr inbounds double, ptr %199, i64 2
  store double %194, ptr %200, align 8, !tbaa !5
  %201 = load ptr, ptr %1, align 8, !tbaa !11
  %202 = load i32, ptr %9, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds ptr, ptr %201, i64 %203
  %205 = load ptr, ptr %204, align 8, !tbaa !11
  %206 = getelementptr inbounds double, ptr %205, i64 3
  %207 = load double, ptr %206, align 8, !tbaa !5
  %208 = load ptr, ptr %1, align 8, !tbaa !11
  %209 = getelementptr inbounds ptr, ptr %208, i64 0
  %210 = load ptr, ptr %209, align 8, !tbaa !11
  %211 = getelementptr inbounds double, ptr %210, i64 3
  %212 = load double, ptr %211, align 8, !tbaa !5
  %213 = fsub double %207, %212
  %214 = load ptr, ptr %1, align 8, !tbaa !11
  %215 = load i32, ptr %9, align 4, !tbaa !9
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds ptr, ptr %214, i64 %216
  %218 = load ptr, ptr %217, align 8, !tbaa !11
  %219 = getelementptr inbounds double, ptr %218, i64 3
  store double %213, ptr %219, align 8, !tbaa !5
  br label %220

220:                                              ; preds = %162, %159
  %221 = load ptr, ptr %1, align 8, !tbaa !11
  %222 = load i32, ptr %9, align 4, !tbaa !9
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds ptr, ptr %221, i64 %223
  %225 = load ptr, ptr %224, align 8, !tbaa !11
  %226 = getelementptr inbounds double, ptr %225, i64 1
  %227 = load double, ptr %226, align 8, !tbaa !5
  %228 = load ptr, ptr @atom, align 8, !tbaa !11
  %229 = load i32, ptr %9, align 4, !tbaa !9
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds %struct.AtomStr, ptr %228, i64 %230
  %232 = getelementptr inbounds %struct.AtomStr, ptr %231, i32 0, i32 1
  %233 = load ptr, ptr %232, align 8, !tbaa !28
  %234 = getelementptr inbounds %struct.DynamicStr, ptr %233, i32 0, i32 2
  %235 = getelementptr inbounds [4 x double], ptr %234, i64 0, i64 1
  store double %227, ptr %235, align 8, !tbaa !5
  %236 = load ptr, ptr %1, align 8, !tbaa !11
  %237 = load i32, ptr %9, align 4, !tbaa !9
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds ptr, ptr %236, i64 %238
  %240 = load ptr, ptr %239, align 8, !tbaa !11
  %241 = getelementptr inbounds double, ptr %240, i64 2
  %242 = load double, ptr %241, align 8, !tbaa !5
  %243 = load ptr, ptr @atom, align 8, !tbaa !11
  %244 = load i32, ptr %9, align 4, !tbaa !9
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds %struct.AtomStr, ptr %243, i64 %245
  %247 = getelementptr inbounds %struct.AtomStr, ptr %246, i32 0, i32 1
  %248 = load ptr, ptr %247, align 8, !tbaa !28
  %249 = getelementptr inbounds %struct.DynamicStr, ptr %248, i32 0, i32 2
  %250 = getelementptr inbounds [4 x double], ptr %249, i64 0, i64 2
  store double %242, ptr %250, align 8, !tbaa !5
  %251 = load ptr, ptr %1, align 8, !tbaa !11
  %252 = load i32, ptr %9, align 4, !tbaa !9
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds ptr, ptr %251, i64 %253
  %255 = load ptr, ptr %254, align 8, !tbaa !11
  %256 = getelementptr inbounds double, ptr %255, i64 3
  %257 = load double, ptr %256, align 8, !tbaa !5
  %258 = load ptr, ptr @atom, align 8, !tbaa !11
  %259 = load i32, ptr %9, align 4, !tbaa !9
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds %struct.AtomStr, ptr %258, i64 %260
  %262 = getelementptr inbounds %struct.AtomStr, ptr %261, i32 0, i32 1
  %263 = load ptr, ptr %262, align 8, !tbaa !28
  %264 = getelementptr inbounds %struct.DynamicStr, ptr %263, i32 0, i32 2
  %265 = getelementptr inbounds [4 x double], ptr %264, i64 0, i64 3
  store double %257, ptr %265, align 8, !tbaa !5
  br label %266

266:                                              ; preds = %220
  %267 = load i32, ptr %9, align 4, !tbaa !9
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %9, align 4, !tbaa !9
  br label %154, !llvm.loop !29

269:                                              ; preds = %158
  %270 = load ptr, ptr %1, align 8, !tbaa !11
  %271 = getelementptr inbounds ptr, ptr %270, i64 0
  %272 = load ptr, ptr %271, align 8, !tbaa !11
  call void @free(ptr noundef %272) #7
  %273 = load ptr, ptr %1, align 8, !tbaa !11
  call void @free(ptr noundef %273) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  ret void
}

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

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

declare double @RandomVelocity(double noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: nounwind
declare void @free(ptr noundef) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(0,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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { nounwind allocsize(0,1) }

!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 = !{!"double", !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, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !12, i64 0}
!16 = !{!"AtomStr", !12, i64 0, !12, i64 8}
!17 = !{!18, !6, i64 72}
!18 = !{!"PropertyStr", !7, i64 0, !7, i64 8, !7, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !6, i64 64, !6, i64 72, !7, i64 80, !19, i64 104, !12, i64 120, !12, i64 128}
!19 = !{!"AtomSeqStr", !10, i64 0, !10, i64 4, !10, i64 8}
!20 = !{!21, !12, i64 80}
!21 = !{!"FlowStr", !10, i64 0, !22, i64 8, !23, i64 40, !24, i64 88}
!22 = !{!"ConstVStr", !7, i64 0}
!23 = !{!"ForceStr", !7, i64 0, !12, i64 32, !12, i64 40}
!24 = !{!"ChargeStr", !10, i64 0, !10, i64 4, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = !{!16, !12, i64 8}
!29 = distinct !{!29, !14}


; 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.FlowStr = type { i32, %struct.ConstVStr, %struct.ForceStr, %struct.ChargeStr }
%struct.ConstVStr = type { [4 x double] }
%struct.ForceStr = type { [4 x double], ptr, ptr }
%struct.ChargeStr = type { i32, i32, ptr, ptr, ptr, ptr }
%struct.AtomStr = type { ptr, ptr }

@flow = external local_unnamed_addr global %struct.FlowStr, align 8
@atomnum = external local_unnamed_addr global i32, align 4
@numofprotein = external local_unnamed_addr global i32, align 4
@atom = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @GenerateVelocity() local_unnamed_addr #1 {
  %1 = load i32, ptr @atomnum, align 4, !tbaa !5
  %2 = add i32 %1, 1
  %3 = sext i32 %2 to i64
  %4 = tail call noalias ptr @calloc(i64 noundef %3, i64 noundef 8) #5
  %5 = shl i32 %1, 2
  %6 = add i32 %5, 4
  %7 = sext i32 %6 to i64
  %8 = tail call noalias ptr @calloc(i64 noundef %7, i64 noundef 8) #5
  %.not70 = icmp slt i32 %1, 1
  br i1 %.not70, label %.preheader67, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %0
  %wide.trip.count = zext i32 %2 to i64
  %9 = add nsw i64 %wide.trip.count, -1
  %min.iters.check = icmp ult i32 %2, 5
  br i1 %min.iters.check, label %.lr.ph.preheader124, label %vector.ph

.lr.ph.preheader124:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 1, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %9, -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 ]
  %vec.ind = phi <2 x i64> [ <i64 1, i64 2>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %10 = shl nsw <2 x i64> %vec.ind, <i64 5, i64 5>
  %step.add = shl <2 x i64> %vec.ind, <i64 5, i64 5>
  %11 = add <2 x i64> %step.add, <i64 64, i64 64>
  %12 = getelementptr inbounds i8, ptr %8, <2 x i64> %10
  %13 = getelementptr inbounds i8, ptr %8, <2 x i64> %11
  %14 = getelementptr inbounds ptr, ptr %4, i64 %offset.idx
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  store <2 x ptr> %12, ptr %14, align 8, !tbaa !9
  store <2 x ptr> %13, ptr %15, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <2 x i64> %vec.ind, <i64 4, i64 4>
  %16 = icmp eq i64 %index.next, %n.vec
  br i1 %16, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %9, %n.vec
  br i1 %cmp.n, label %.preheader69, label %.lr.ph.preheader124

.preheader69:                                     ; preds = %.lr.ph, %middle.block
  br i1 %.not70, label %.preheader67, label %.preheader68.preheader

.preheader68.preheader:                           ; preds = %.preheader69
  %.pre = load ptr, ptr @atom, align 8, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %8, i64 8
  %18 = getelementptr inbounds i8, ptr %8, i64 16
  %19 = getelementptr inbounds i8, ptr %8, i64 24
  br label %.preheader68

.lr.ph:                                           ; preds = %.lr.ph.preheader124, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader124 ]
  %.idx = shl nsw i64 %indvars.iv, 5
  %20 = getelementptr inbounds i8, ptr %8, i64 %.idx
  %21 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv
  store ptr %20, ptr %21, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader69, label %.lr.ph, !llvm.loop !15

.preheader68:                                     ; preds = %.preheader68.preheader, %.preheader68
  %22 = phi ptr [ %.pre, %.preheader68.preheader ], [ %75, %.preheader68 ]
  %indvars.iv89 = phi i64 [ 1, %.preheader68.preheader ], [ %indvars.iv.next90, %.preheader68 ]
  %.06474 = phi double [ 0.000000e+00, %.preheader68.preheader ], [ %83, %.preheader68 ]
  %23 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv89
  %24 = getelementptr inbounds %struct.AtomStr, ptr %22, i64 %indvars.iv89
  %25 = load ptr, ptr %24, align 8, !tbaa !16
  %26 = getelementptr inbounds i8, ptr %25, i64 72
  %27 = load double, ptr %26, align 8, !tbaa !18
  %28 = tail call double @RandomVelocity(double noundef %27) #6
  %29 = load double, ptr getelementptr inbounds (i8, ptr @flow, i64 16), align 8, !tbaa !22
  %30 = fadd double %28, %29
  %31 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 80), align 8, !tbaa !23
  %32 = getelementptr inbounds ptr, ptr %31, i64 %indvars.iv89
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %33, i64 8
  %35 = load double, ptr %34, align 8, !tbaa !22
  %36 = fadd double %30, %35
  %37 = load ptr, ptr %23, align 8, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %37, i64 8
  store double %36, ptr %38, align 8, !tbaa !22
  %39 = load ptr, ptr @atom, align 8, !tbaa !9
  %40 = getelementptr inbounds %struct.AtomStr, ptr %39, i64 %indvars.iv89
  %41 = load ptr, ptr %40, align 8, !tbaa !16
  %42 = getelementptr inbounds i8, ptr %41, i64 72
  %43 = load double, ptr %42, align 8, !tbaa !18
  %44 = load double, ptr %17, align 8, !tbaa !22
  %45 = tail call double @llvm.fmuladd.f64(double %36, double %43, double %44)
  store double %45, ptr %17, align 8, !tbaa !22
  %46 = load double, ptr %42, align 8, !tbaa !18
  %47 = tail call double @RandomVelocity(double noundef %46) #6
  %48 = load double, ptr getelementptr inbounds (i8, ptr @flow, i64 24), align 8, !tbaa !22
  %49 = fadd double %47, %48
  %50 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 80), align 8, !tbaa !23
  %51 = getelementptr inbounds ptr, ptr %50, i64 %indvars.iv89
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  %54 = load double, ptr %53, align 8, !tbaa !22
  %55 = fadd double %49, %54
  %56 = getelementptr inbounds i8, ptr %37, i64 16
  store double %55, ptr %56, align 8, !tbaa !22
  %57 = load ptr, ptr @atom, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct.AtomStr, ptr %57, i64 %indvars.iv89
  %59 = load ptr, ptr %58, align 8, !tbaa !16
  %60 = getelementptr inbounds i8, ptr %59, i64 72
  %61 = load double, ptr %60, align 8, !tbaa !18
  %62 = load double, ptr %18, align 8, !tbaa !22
  %63 = tail call double @llvm.fmuladd.f64(double %55, double %61, double %62)
  store double %63, ptr %18, align 8, !tbaa !22
  %64 = load double, ptr %60, align 8, !tbaa !18
  %65 = tail call double @RandomVelocity(double noundef %64) #6
  %66 = load double, ptr getelementptr inbounds (i8, ptr @flow, i64 32), align 8, !tbaa !22
  %67 = fadd double %65, %66
  %68 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 80), align 8, !tbaa !23
  %69 = getelementptr inbounds ptr, ptr %68, i64 %indvars.iv89
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = getelementptr inbounds i8, ptr %70, i64 24
  %72 = load double, ptr %71, align 8, !tbaa !22
  %73 = fadd double %67, %72
  %74 = getelementptr inbounds i8, ptr %37, i64 24
  store double %73, ptr %74, align 8, !tbaa !22
  %75 = load ptr, ptr @atom, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.AtomStr, ptr %75, i64 %indvars.iv89
  %77 = load ptr, ptr %76, align 8, !tbaa !16
  %78 = getelementptr inbounds i8, ptr %77, i64 72
  %79 = load double, ptr %78, align 8, !tbaa !18
  %80 = load double, ptr %19, align 8, !tbaa !22
  %81 = tail call double @llvm.fmuladd.f64(double %73, double %79, double %80)
  store double %81, ptr %19, align 8, !tbaa !22
  %82 = load double, ptr %78, align 8, !tbaa !18
  %83 = fadd double %.06474, %82
  %indvars.iv.next90 = add nuw nsw i64 %indvars.iv89, 1
  %84 = load i32, ptr @atomnum, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %.not65.not = icmp slt i64 %indvars.iv89, %85
  br i1 %.not65.not, label %.preheader68, label %.preheader67.loopexit, !llvm.loop !28

.preheader67.loopexit:                            ; preds = %.preheader68
  %86 = getelementptr inbounds i8, ptr %8, i64 8
  %87 = load <2 x double>, ptr %86, align 8, !tbaa !22
  br label %.preheader67

.preheader67:                                     ; preds = %0, %.preheader67.loopexit, %.preheader69
  %88 = phi double [ 0.000000e+00, %.preheader69 ], [ %81, %.preheader67.loopexit ], [ 0.000000e+00, %0 ]
  %.064.lcssa = phi double [ 0.000000e+00, %.preheader69 ], [ %83, %.preheader67.loopexit ], [ 0.000000e+00, %0 ]
  %.lcssa = phi i32 [ %1, %.preheader69 ], [ %84, %.preheader67.loopexit ], [ %1, %0 ]
  %89 = phi <2 x double> [ zeroinitializer, %.preheader69 ], [ %87, %.preheader67.loopexit ], [ zeroinitializer, %0 ]
  %90 = getelementptr inbounds i8, ptr %8, i64 8
  %91 = insertelement <2 x double> poison, double %.064.lcssa, i64 0
  %92 = shufflevector <2 x double> %91, <2 x double> poison, <2 x i32> zeroinitializer
  %93 = fdiv <2 x double> %89, %92
  %94 = getelementptr inbounds i8, ptr %8, i64 16
  store <2 x double> %93, ptr %90, align 8, !tbaa !22
  %95 = getelementptr inbounds i8, ptr %8, i64 24
  %96 = fdiv double %88, %.064.lcssa
  store double %96, ptr %95, align 8, !tbaa !22
  %.not6678 = icmp slt i32 %.lcssa, 1
  br i1 %.not6678, label %._crit_edge, label %.lr.ph80

.lr.ph80:                                         ; preds = %.preheader67
  %97 = load i32, ptr @numofprotein, align 4, !tbaa !5
  %98 = icmp eq i32 %97, 1
  %99 = load ptr, ptr @atom, align 8, !tbaa !9
  %100 = add nuw i32 %.lcssa, 1
  %wide.trip.count104 = zext i32 %100 to i64
  br i1 %98, label %.lr.ph80.split.us, label %.lr.ph80.split.preheader

.lr.ph80.split.preheader:                         ; preds = %.lr.ph80
  %101 = zext nneg i32 %.lcssa to i64
  %xtraiter = and i64 %101, 1
  %102 = icmp eq i32 %100, 2
  br i1 %102, label %._crit_edge.loopexit120.unr-lcssa, label %.lr.ph80.split.preheader.new

.lr.ph80.split.preheader.new:                     ; preds = %.lr.ph80.split.preheader
  %unroll_iter = and i64 %101, 2147483646
  br label %.lr.ph80.split

.lr.ph80.split.us:                                ; preds = %.lr.ph80, %.lr.ph80.split.us
  %indvars.iv101 = phi i64 [ %indvars.iv.next102, %.lr.ph80.split.us ], [ 1, %.lr.ph80 ]
  %103 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv101
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = getelementptr inbounds i8, ptr %104, i64 8
  %106 = load double, ptr %105, align 8, !tbaa !22
  %107 = load double, ptr %90, align 8, !tbaa !22
  %108 = fsub double %106, %107
  store double %108, ptr %105, align 8, !tbaa !22
  %109 = getelementptr inbounds i8, ptr %104, i64 16
  %110 = load double, ptr %109, align 8, !tbaa !22
  %111 = load double, ptr %94, align 8, !tbaa !22
  %112 = fsub double %110, %111
  store double %112, ptr %109, align 8, !tbaa !22
  %113 = getelementptr inbounds i8, ptr %104, i64 24
  %114 = load double, ptr %113, align 8, !tbaa !22
  %115 = load double, ptr %95, align 8, !tbaa !22
  %116 = fsub double %114, %115
  store double %116, ptr %113, align 8, !tbaa !22
  %117 = getelementptr inbounds %struct.AtomStr, ptr %99, i64 %indvars.iv101, i32 1
  %118 = load ptr, ptr %117, align 8, !tbaa !29
  %119 = getelementptr inbounds i8, ptr %118, i64 56
  store double %108, ptr %119, align 8, !tbaa !22
  %120 = load double, ptr %109, align 8, !tbaa !22
  %121 = getelementptr inbounds i8, ptr %118, i64 64
  store double %120, ptr %121, align 8, !tbaa !22
  %122 = load double, ptr %113, align 8, !tbaa !22
  %123 = getelementptr inbounds i8, ptr %118, i64 72
  store double %122, ptr %123, align 8, !tbaa !22
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %exitcond105.not = icmp eq i64 %indvars.iv.next102, %wide.trip.count104
  br i1 %exitcond105.not, label %._crit_edge, label %.lr.ph80.split.us, !llvm.loop !30

._crit_edge.loopexit120.unr-lcssa:                ; preds = %.lr.ph80.split, %.lr.ph80.split.preheader
  %indvars.iv96.unr = phi i64 [ 1, %.lr.ph80.split.preheader ], [ %indvars.iv.next97.1, %.lr.ph80.split ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph80.split.epil

.lr.ph80.split.epil:                              ; preds = %._crit_edge.loopexit120.unr-lcssa
  %124 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv96.unr
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds i8, ptr %125, i64 8
  %127 = load double, ptr %126, align 8, !tbaa !22
  %128 = getelementptr inbounds %struct.AtomStr, ptr %99, i64 %indvars.iv96.unr, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !29
  %130 = getelementptr inbounds i8, ptr %129, i64 56
  store double %127, ptr %130, align 8, !tbaa !22
  %131 = getelementptr inbounds i8, ptr %125, i64 16
  %132 = load double, ptr %131, align 8, !tbaa !22
  %133 = getelementptr inbounds i8, ptr %129, i64 64
  store double %132, ptr %133, align 8, !tbaa !22
  %134 = getelementptr inbounds i8, ptr %125, i64 24
  %135 = load double, ptr %134, align 8, !tbaa !22
  %136 = getelementptr inbounds i8, ptr %129, i64 72
  store double %135, ptr %136, align 8, !tbaa !22
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph80.split.epil, %._crit_edge.loopexit120.unr-lcssa, %.lr.ph80.split.us, %.preheader67
  tail call void @free(ptr noundef %8) #6
  tail call void @free(ptr noundef nonnull %4) #6
  ret void

.lr.ph80.split:                                   ; preds = %.lr.ph80.split, %.lr.ph80.split.preheader.new
  %indvars.iv96 = phi i64 [ 1, %.lr.ph80.split.preheader.new ], [ %indvars.iv.next97.1, %.lr.ph80.split ]
  %niter = phi i64 [ 0, %.lr.ph80.split.preheader.new ], [ %niter.next.1, %.lr.ph80.split ]
  %137 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv96
  %138 = load ptr, ptr %137, align 8, !tbaa !9
  %139 = getelementptr inbounds i8, ptr %138, i64 8
  %140 = load double, ptr %139, align 8, !tbaa !22
  %141 = getelementptr inbounds %struct.AtomStr, ptr %99, i64 %indvars.iv96, i32 1
  %142 = load ptr, ptr %141, align 8, !tbaa !29
  %143 = getelementptr inbounds i8, ptr %142, i64 56
  store double %140, ptr %143, align 8, !tbaa !22
  %144 = getelementptr inbounds i8, ptr %138, i64 16
  %145 = load double, ptr %144, align 8, !tbaa !22
  %146 = getelementptr inbounds i8, ptr %142, i64 64
  store double %145, ptr %146, align 8, !tbaa !22
  %147 = getelementptr inbounds i8, ptr %138, i64 24
  %148 = load double, ptr %147, align 8, !tbaa !22
  %149 = getelementptr inbounds i8, ptr %142, i64 72
  store double %148, ptr %149, align 8, !tbaa !22
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %150 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv.next97
  %151 = load ptr, ptr %150, align 8, !tbaa !9
  %152 = getelementptr inbounds i8, ptr %151, i64 8
  %153 = load double, ptr %152, align 8, !tbaa !22
  %154 = getelementptr inbounds %struct.AtomStr, ptr %99, i64 %indvars.iv.next97, i32 1
  %155 = load ptr, ptr %154, align 8, !tbaa !29
  %156 = getelementptr inbounds i8, ptr %155, i64 56
  store double %153, ptr %156, align 8, !tbaa !22
  %157 = getelementptr inbounds i8, ptr %151, i64 16
  %158 = load double, ptr %157, align 8, !tbaa !22
  %159 = getelementptr inbounds i8, ptr %155, i64 64
  store double %158, ptr %159, align 8, !tbaa !22
  %160 = getelementptr inbounds i8, ptr %151, i64 24
  %161 = load double, ptr %160, align 8, !tbaa !22
  %162 = getelementptr inbounds i8, ptr %155, i64 72
  store double %161, ptr %162, align 8, !tbaa !22
  %indvars.iv.next97.1 = add nuw nsw i64 %indvars.iv96, 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.loopexit120.unr-lcssa, label %.lr.ph80.split, !llvm.loop !30
}

declare double @RandomVelocity(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind allocsize(0,1) }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !14, !13}
!16 = !{!17, !10, i64 0}
!17 = !{!"AtomStr", !10, i64 0, !10, i64 8}
!18 = !{!19, !20, i64 72}
!19 = !{!"PropertyStr", !7, i64 0, !7, i64 8, !7, i64 40, !6, i64 48, !6, i64 52, !6, i64 56, !20, i64 64, !20, i64 72, !7, i64 80, !21, i64 104, !10, i64 120, !10, i64 128}
!20 = !{!"double", !7, i64 0}
!21 = !{!"AtomSeqStr", !6, i64 0, !6, i64 4, !6, i64 8}
!22 = !{!20, !20, i64 0}
!23 = !{!24, !10, i64 80}
!24 = !{!"FlowStr", !6, i64 0, !25, i64 8, !26, i64 40, !27, i64 88}
!25 = !{!"ConstVStr", !7, i64 0}
!26 = !{!"ForceStr", !7, i64 0, !10, i64 32, !10, i64 40}
!27 = !{!"ChargeStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!28 = distinct !{!28, !12}
!29 = !{!17, !10, i64 8}
!30 = distinct !{!30, !12}


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