; LLVM IR from atlantis13579/Riemann :: Src/Solver/NumericalODESolver.ll (ZN18NumericalODESolver11RungeKutta49IntegrateEfiPf)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.NumericalODESolver::RungeKutta4" = type <{ %"class.std::function", %"class.std::vector", float, [4 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, float noundef, ptr noundef) #1 align 2

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN18NumericalODESolver11RungeKutta49IntegrateEfiPf(ptr noundef nonnull align 8 dereferenceable(60) %0, float noundef %1, i32 noundef %2, ptr noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store float %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !11
  store ptr %3, ptr %8, align 8, !tbaa !5
  %16 = load ptr, ptr %5, align 8
  %17 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 1
  %18 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  %19 = load i32, ptr %7, align 4, !tbaa !11
  %20 = mul nsw i32 3, %19
  %21 = sext i32 %20 to i64
  %22 = icmp ult i64 %18, %21
  br i1 %22, label %23, label %28

23:                                               ; preds = %4
  %24 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 1
  %25 = load i32, ptr %7, align 4, !tbaa !11
  %26 = mul nsw i32 3, %25
  %27 = sext i32 %26 to i64
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %27)
  br label %28

28:                                               ; preds = %23, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %29 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 1
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #5
  store ptr %30, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = load i32, ptr %7, align 4, !tbaa !11
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds float, ptr %31, i64 %33
  store ptr %34, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load i32, ptr %7, align 4, !tbaa !11
  %37 = mul nsw i32 2, %36
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds float, ptr %35, i64 %38
  store ptr %39, ptr %11, align 8, !tbaa !5
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = load i32, ptr %7, align 4, !tbaa !11
  %43 = sext i32 %42 to i64
  %44 = mul i64 4, %43
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %41, i64 %44, i1 false)
  %45 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 0
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = load i32, ptr %7, align 4, !tbaa !11
  %48 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 2
  %49 = load float, ptr %48, align 8, !tbaa !13
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds float, ptr %50, i64 0
  call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef %46, i32 noundef %47, float noundef %49, ptr noundef %51)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %93, %28
  %53 = load i32, ptr %12, align 4, !tbaa !11
  %54 = load i32, ptr %7, align 4, !tbaa !11
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %96

57:                                               ; preds = %52
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = load i32, ptr %12, align 4, !tbaa !11
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds float, ptr %58, i64 %60
  %62 = load float, ptr %61, align 4, !tbaa !9
  %63 = load float, ptr %6, align 4, !tbaa !9
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = load i32, ptr %12, align 4, !tbaa !11
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds float, ptr %64, i64 %66
  %68 = load float, ptr %67, align 4, !tbaa !9
  %69 = fmul float %63, %68
  %70 = fdiv float %69, 6.000000e+00
  %71 = fadd float %62, %70
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load i32, ptr %12, align 4, !tbaa !11
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %72, i64 %74
  store float %71, ptr %75, align 4, !tbaa !9
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = load i32, ptr %12, align 4, !tbaa !11
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds float, ptr %76, i64 %78
  %80 = load float, ptr %79, align 4, !tbaa !9
  %81 = load float, ptr %6, align 4, !tbaa !9
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load i32, ptr %12, align 4, !tbaa !11
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds float, ptr %82, i64 %84
  %86 = load float, ptr %85, align 4, !tbaa !9
  %87 = fmul float %81, %86
  %88 = call float @llvm.fmuladd.f32(float %87, float 5.000000e-01, float %80)
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = load i32, ptr %12, align 4, !tbaa !11
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds float, ptr %89, i64 %91
  store float %88, ptr %92, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %57
  %94 = load i32, ptr %12, align 4, !tbaa !11
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %12, align 4, !tbaa !11
  br label %52, !llvm.loop !21

96:                                               ; preds = %56
  %97 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 0
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = load i32, ptr %7, align 4, !tbaa !11
  %100 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 2
  %101 = load float, ptr %100, align 8, !tbaa !13
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds float, ptr %102, i64 0
  call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %97, ptr noundef %98, i32 noundef %99, float noundef %101, ptr noundef %103)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %104

104:                                              ; preds = %145, %96
  %105 = load i32, ptr %13, align 4, !tbaa !11
  %106 = load i32, ptr %7, align 4, !tbaa !11
  %107 = icmp slt i32 %105, %106
  br i1 %107, label %109, label %108

108:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %148

109:                                              ; preds = %104
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load i32, ptr %13, align 4, !tbaa !11
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds float, ptr %110, i64 %112
  %114 = load float, ptr %113, align 4, !tbaa !9
  %115 = load float, ptr %6, align 4, !tbaa !9
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = load i32, ptr %13, align 4, !tbaa !11
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds float, ptr %116, i64 %118
  %120 = load float, ptr %119, align 4, !tbaa !9
  %121 = fmul float %115, %120
  %122 = fdiv float %121, 3.000000e+00
  %123 = fadd float %114, %122
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = load i32, ptr %13, align 4, !tbaa !11
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds float, ptr %124, i64 %126
  store float %123, ptr %127, align 4, !tbaa !9
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = load i32, ptr %13, align 4, !tbaa !11
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds float, ptr %128, i64 %130
  %132 = load float, ptr %131, align 4, !tbaa !9
  %133 = load float, ptr %6, align 4, !tbaa !9
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = load i32, ptr %13, align 4, !tbaa !11
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds float, ptr %134, i64 %136
  %138 = load float, ptr %137, align 4, !tbaa !9
  %139 = fmul float %133, %138
  %140 = call float @llvm.fmuladd.f32(float %139, float 5.000000e-01, float %132)
  %141 = load ptr, ptr %11, align 8, !tbaa !5
  %142 = load i32, ptr %13, align 4, !tbaa !11
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds float, ptr %141, i64 %143
  store float %140, ptr %144, align 4, !tbaa !9
  br label %145

145:                                              ; preds = %109
  %146 = load i32, ptr %13, align 4, !tbaa !11
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %13, align 4, !tbaa !11
  br label %104, !llvm.loop !23

148:                                              ; preds = %108
  %149 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 0
  %150 = load ptr, ptr %11, align 8, !tbaa !5
  %151 = load i32, ptr %7, align 4, !tbaa !11
  %152 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 2
  %153 = load float, ptr %152, align 8, !tbaa !13
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds float, ptr %154, i64 0
  call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %149, ptr noundef %150, i32 noundef %151, float noundef %153, ptr noundef %155)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %156

156:                                              ; preds = %196, %148
  %157 = load i32, ptr %14, align 4, !tbaa !11
  %158 = load i32, ptr %7, align 4, !tbaa !11
  %159 = icmp slt i32 %157, %158
  br i1 %159, label %161, label %160

160:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %199

161:                                              ; preds = %156
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = load i32, ptr %14, align 4, !tbaa !11
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds float, ptr %162, i64 %164
  %166 = load float, ptr %165, align 4, !tbaa !9
  %167 = load float, ptr %6, align 4, !tbaa !9
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = load i32, ptr %14, align 4, !tbaa !11
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds float, ptr %168, i64 %170
  %172 = load float, ptr %171, align 4, !tbaa !9
  %173 = fmul float %167, %172
  %174 = fdiv float %173, 3.000000e+00
  %175 = fadd float %166, %174
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = load i32, ptr %14, align 4, !tbaa !11
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds float, ptr %176, i64 %178
  store float %175, ptr %179, align 4, !tbaa !9
  %180 = load ptr, ptr %10, align 8, !tbaa !5
  %181 = load i32, ptr %14, align 4, !tbaa !11
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds float, ptr %180, i64 %182
  %184 = load float, ptr %183, align 4, !tbaa !9
  %185 = load float, ptr %6, align 4, !tbaa !9
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = load i32, ptr %14, align 4, !tbaa !11
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds float, ptr %186, i64 %188
  %190 = load float, ptr %189, align 4, !tbaa !9
  %191 = call float @llvm.fmuladd.f32(float %185, float %190, float %184)
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = load i32, ptr %14, align 4, !tbaa !11
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds float, ptr %192, i64 %194
  store float %191, ptr %195, align 4, !tbaa !9
  br label %196

196:                                              ; preds = %161
  %197 = load i32, ptr %14, align 4, !tbaa !11
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %14, align 4, !tbaa !11
  br label %156, !llvm.loop !24

199:                                              ; preds = %160
  %200 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 0
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = load i32, ptr %7, align 4, !tbaa !11
  %203 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 2
  %204 = load float, ptr %203, align 8, !tbaa !13
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = getelementptr inbounds float, ptr %205, i64 0
  call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %200, ptr noundef %201, i32 noundef %202, float noundef %204, ptr noundef %206)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %207

207:                                              ; preds = %231, %199
  %208 = load i32, ptr %15, align 4, !tbaa !11
  %209 = load i32, ptr %7, align 4, !tbaa !11
  %210 = icmp slt i32 %208, %209
  br i1 %210, label %212, label %211

211:                                              ; preds = %207
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %234

212:                                              ; preds = %207
  %213 = load ptr, ptr %8, align 8, !tbaa !5
  %214 = load i32, ptr %15, align 4, !tbaa !11
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds float, ptr %213, i64 %215
  %217 = load float, ptr %216, align 4, !tbaa !9
  %218 = load float, ptr %6, align 4, !tbaa !9
  %219 = load ptr, ptr %9, align 8, !tbaa !5
  %220 = load i32, ptr %15, align 4, !tbaa !11
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds float, ptr %219, i64 %221
  %223 = load float, ptr %222, align 4, !tbaa !9
  %224 = fmul float %218, %223
  %225 = fdiv float %224, 6.000000e+00
  %226 = fadd float %217, %225
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = load i32, ptr %15, align 4, !tbaa !11
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds float, ptr %227, i64 %229
  store float %226, ptr %230, align 4, !tbaa !9
  br label %231

231:                                              ; preds = %212
  %232 = load i32, ptr %15, align 4, !tbaa !11
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %15, align 4, !tbaa !11
  br label %207, !llvm.loop !25

234:                                              ; preds = %211
  %235 = load float, ptr %6, align 4, !tbaa !9
  %236 = getelementptr inbounds %"class.NumericalODESolver::RungeKutta4", ptr %16, i32 0, i32 2
  %237 = load float, ptr %236, align 8, !tbaa !13
  %238 = fadd float %237, %235
  store float %238, ptr %236, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void
}

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


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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, float noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN18NumericalODESolver11RungeKutta49IntegrateEfiPf(ptr noundef nonnull align 8 dereferenceable(60) %0, float noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #1 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 32
  %6 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %7 = mul nsw i32 %2, 3
  %8 = sext i32 %7 to i64
  %9 = icmp ult i64 %6, %8
  br i1 %9, label %10, label %11

10:                                               ; preds = %4
  tail call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %8)
  br label %11

11:                                               ; preds = %10, %4
  %12 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #5
  %13 = sext i32 %2 to i64
  %14 = getelementptr float, ptr %12, i64 %13
  %15 = shl i32 %2, 1
  %16 = sext i32 %15 to i64
  %17 = getelementptr float, ptr %12, i64 %16
  %18 = shl nsw i64 %13, 2
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %14, ptr align 4 %3, i64 %18, i1 false)
  %19 = getelementptr inbounds i8, ptr %0, i64 56
  %20 = load float, ptr %19, align 8, !tbaa !5
  tail call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %3, i32 noundef %2, float noundef %20, ptr noundef nonnull %12)
  %21 = icmp sgt i32 %2, 0
  br i1 %21, label %.lr.ph.preheader, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %11
  %22 = load float, ptr %19, align 8, !tbaa !5
  tail call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %17, i32 noundef %2, float noundef %22, ptr noundef nonnull %12)
  br label %._crit_edge92.thread

.lr.ph.preheader:                                 ; preds = %11
  %wide.trip.count = zext nneg i32 %2 to i64
  %min.iters.check = icmp ult i32 %2, 8
  br i1 %min.iters.check, label %.lr.ph.preheader244, label %vector.memcheck

.lr.ph.preheader244:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %23 = shl nuw nsw i64 %wide.trip.count, 2
  %scevgep = getelementptr i8, ptr %3, i64 %23
  %24 = add nsw i64 %16, %wide.trip.count
  %25 = shl nsw i64 %24, 2
  %scevgep117 = getelementptr i8, ptr %12, i64 %25
  %scevgep118 = getelementptr i8, ptr %12, i64 %23
  %26 = add nuw nsw i64 %13, %wide.trip.count
  %27 = shl nuw nsw i64 %26, 2
  %scevgep119 = getelementptr i8, ptr %12, i64 %27
  %bound0 = icmp ugt ptr %scevgep117, %3
  %bound1 = icmp ult ptr %17, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound0120 = icmp ugt ptr %scevgep118, %3
  %bound1121 = icmp ult ptr %12, %scevgep
  %found.conflict122 = and i1 %bound0120, %bound1121
  %conflict.rdx = or i1 %found.conflict, %found.conflict122
  %bound0123 = icmp ugt ptr %scevgep119, %3
  %bound1124 = icmp ult ptr %14, %scevgep
  %found.conflict125 = and i1 %bound0123, %bound1124
  %conflict.rdx126 = or i1 %conflict.rdx, %found.conflict125
  %bound0127 = icmp ult ptr %17, %scevgep118
  %bound1128 = icmp ult ptr %12, %scevgep117
  %found.conflict129 = and i1 %bound0127, %bound1128
  %conflict.rdx130 = or i1 %conflict.rdx126, %found.conflict129
  %bound0131 = icmp ult ptr %17, %scevgep119
  %bound1132 = icmp ult ptr %14, %scevgep117
  %found.conflict133 = and i1 %bound0131, %bound1132
  %conflict.rdx134 = or i1 %conflict.rdx130, %found.conflict133
  br i1 %conflict.rdx134, label %.lr.ph.preheader244, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483644
  %broadcast.splatinsert = insertelement <4 x float> poison, float %1, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %28 = getelementptr inbounds float, ptr %3, i64 %index
  %wide.load = load <4 x float>, ptr %28, align 4, !tbaa !17, !alias.scope !18, !noalias !21
  %29 = getelementptr inbounds float, ptr %12, i64 %index
  %wide.load135 = load <4 x float>, ptr %29, align 4, !tbaa !17, !alias.scope !25
  %30 = fmul <4 x float> %wide.load135, %broadcast.splat
  %31 = fdiv <4 x float> %30, <float 6.000000e+00, float 6.000000e+00, float 6.000000e+00, float 6.000000e+00>
  %32 = fadd <4 x float> %wide.load, %31
  store <4 x float> %32, ptr %28, align 4, !tbaa !17, !alias.scope !18, !noalias !21
  %33 = getelementptr inbounds float, ptr %14, i64 %index
  %wide.load136 = load <4 x float>, ptr %33, align 4, !tbaa !17, !alias.scope !26
  %wide.load137 = load <4 x float>, ptr %29, align 4, !tbaa !17, !alias.scope !25
  %34 = fmul <4 x float> %wide.load137, %broadcast.splat
  %35 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %34, <4 x float> <float 5.000000e-01, float 5.000000e-01, float 5.000000e-01, float 5.000000e-01>, <4 x float> %wide.load136)
  %36 = getelementptr inbounds float, ptr %17, i64 %index
  store <4 x float> %35, ptr %36, align 4, !tbaa !17, !alias.scope !27, !noalias !28
  %index.next = add nuw i64 %index, 4
  %37 = icmp eq i64 %index.next, %n.vec
  br i1 %37, label %middle.block, label %vector.body, !llvm.loop !29

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader244

._crit_edge:                                      ; preds = %.lr.ph, %middle.block
  %38 = load float, ptr %19, align 8, !tbaa !5
  tail call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %17, i32 noundef %2, float noundef %38, ptr noundef nonnull %12)
  br i1 %21, label %.lr.ph91.preheader, label %._crit_edge92.thread

.lr.ph91.preheader:                               ; preds = %._crit_edge
  %wide.trip.count105 = zext nneg i32 %2 to i64
  %min.iters.check164 = icmp ult i32 %2, 8
  br i1 %min.iters.check164, label %.lr.ph91.preheader243, label %vector.memcheck138

.lr.ph91.preheader243:                            ; preds = %middle.block162, %vector.memcheck138, %.lr.ph91.preheader
  %indvars.iv102.ph = phi i64 [ 0, %vector.memcheck138 ], [ 0, %.lr.ph91.preheader ], [ %n.vec167, %middle.block162 ]
  br label %.lr.ph91

vector.memcheck138:                               ; preds = %.lr.ph91.preheader
  %39 = shl nuw nsw i64 %wide.trip.count, 2
  %scevgep139 = getelementptr i8, ptr %3, i64 %39
  %40 = add nsw i64 %16, %wide.trip.count
  %41 = shl nsw i64 %40, 2
  %scevgep140 = getelementptr i8, ptr %12, i64 %41
  %scevgep141 = getelementptr i8, ptr %12, i64 %39
  %42 = add nuw nsw i64 %13, %wide.trip.count
  %43 = shl nuw nsw i64 %42, 2
  %scevgep142 = getelementptr i8, ptr %12, i64 %43
  %bound0143 = icmp ugt ptr %scevgep140, %3
  %bound1144 = icmp ult ptr %17, %scevgep139
  %found.conflict145 = and i1 %bound0143, %bound1144
  %bound0146 = icmp ugt ptr %scevgep141, %3
  %bound1147 = icmp ult ptr %12, %scevgep139
  %found.conflict148 = and i1 %bound0146, %bound1147
  %conflict.rdx149 = or i1 %found.conflict145, %found.conflict148
  %bound0150 = icmp ugt ptr %scevgep142, %3
  %bound1151 = icmp ult ptr %14, %scevgep139
  %found.conflict152 = and i1 %bound0150, %bound1151
  %conflict.rdx153 = or i1 %conflict.rdx149, %found.conflict152
  %bound0154 = icmp ult ptr %17, %scevgep141
  %bound1155 = icmp ult ptr %12, %scevgep140
  %found.conflict156 = and i1 %bound0154, %bound1155
  %conflict.rdx157 = or i1 %conflict.rdx153, %found.conflict156
  %bound0158 = icmp ult ptr %17, %scevgep142
  %bound1159 = icmp ult ptr %14, %scevgep140
  %found.conflict160 = and i1 %bound0158, %bound1159
  %conflict.rdx161 = or i1 %conflict.rdx157, %found.conflict160
  br i1 %conflict.rdx161, label %.lr.ph91.preheader243, label %vector.ph165

vector.ph165:                                     ; preds = %vector.memcheck138
  %n.vec167 = and i64 %wide.trip.count, 2147483644
  %broadcast.splatinsert173 = insertelement <4 x float> poison, float %1, i64 0
  %broadcast.splat174 = shufflevector <4 x float> %broadcast.splatinsert173, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body169

vector.body169:                                   ; preds = %vector.body169, %vector.ph165
  %index170 = phi i64 [ 0, %vector.ph165 ], [ %index.next177, %vector.body169 ]
  %44 = getelementptr inbounds float, ptr %3, i64 %index170
  %wide.load171 = load <4 x float>, ptr %44, align 4, !tbaa !17, !alias.scope !33, !noalias !36
  %45 = getelementptr inbounds float, ptr %12, i64 %index170
  %wide.load172 = load <4 x float>, ptr %45, align 4, !tbaa !17, !alias.scope !40
  %46 = fmul <4 x float> %wide.load172, %broadcast.splat174
  %47 = fdiv <4 x float> %46, <float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00>
  %48 = fadd <4 x float> %wide.load171, %47
  store <4 x float> %48, ptr %44, align 4, !tbaa !17, !alias.scope !33, !noalias !36
  %49 = getelementptr inbounds float, ptr %14, i64 %index170
  %wide.load175 = load <4 x float>, ptr %49, align 4, !tbaa !17, !alias.scope !41
  %wide.load176 = load <4 x float>, ptr %45, align 4, !tbaa !17, !alias.scope !40
  %50 = fmul <4 x float> %wide.load176, %broadcast.splat174
  %51 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %50, <4 x float> <float 5.000000e-01, float 5.000000e-01, float 5.000000e-01, float 5.000000e-01>, <4 x float> %wide.load175)
  %52 = getelementptr inbounds float, ptr %17, i64 %index170
  store <4 x float> %51, ptr %52, align 4, !tbaa !17, !alias.scope !42, !noalias !43
  %index.next177 = add nuw i64 %index170, 4
  %53 = icmp eq i64 %index.next177, %n.vec167
  br i1 %53, label %middle.block162, label %vector.body169, !llvm.loop !44

middle.block162:                                  ; preds = %vector.body169
  %cmp.n178 = icmp eq i64 %n.vec167, %wide.trip.count
  br i1 %cmp.n178, label %._crit_edge92, label %.lr.ph91.preheader243

.lr.ph:                                           ; preds = %.lr.ph.preheader244, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader244 ]
  %54 = getelementptr inbounds float, ptr %3, i64 %indvars.iv
  %55 = load float, ptr %54, align 4, !tbaa !17
  %56 = getelementptr inbounds float, ptr %12, i64 %indvars.iv
  %57 = load float, ptr %56, align 4, !tbaa !17
  %58 = fmul float %57, %1
  %59 = fdiv float %58, 6.000000e+00
  %60 = fadd float %55, %59
  store float %60, ptr %54, align 4, !tbaa !17
  %61 = getelementptr inbounds float, ptr %14, i64 %indvars.iv
  %62 = load float, ptr %61, align 4, !tbaa !17
  %63 = load float, ptr %56, align 4, !tbaa !17
  %64 = fmul float %63, %1
  %65 = tail call float @llvm.fmuladd.f32(float %64, float 5.000000e-01, float %62)
  %66 = getelementptr inbounds float, ptr %17, i64 %indvars.iv
  store float %65, ptr %66, align 4, !tbaa !17
  %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 %._crit_edge, label %.lr.ph, !llvm.loop !45

._crit_edge92.thread:                             ; preds = %._crit_edge.thread, %._crit_edge
  %67 = load float, ptr %19, align 8, !tbaa !5
  tail call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %17, i32 noundef %2, float noundef %67, ptr noundef nonnull %12)
  br label %._crit_edge96.thread

._crit_edge92:                                    ; preds = %.lr.ph91, %middle.block162
  %68 = load float, ptr %19, align 8, !tbaa !5
  tail call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %17, i32 noundef %2, float noundef %68, ptr noundef nonnull %12)
  br i1 %21, label %.lr.ph95.preheader, label %._crit_edge96.thread

.lr.ph95.preheader:                               ; preds = %._crit_edge92
  %wide.trip.count110 = zext nneg i32 %2 to i64
  %min.iters.check205 = icmp ult i32 %2, 8
  br i1 %min.iters.check205, label %.lr.ph95.preheader242, label %vector.memcheck179

.lr.ph95.preheader242:                            ; preds = %middle.block203, %vector.memcheck179, %.lr.ph95.preheader
  %indvars.iv107.ph = phi i64 [ 0, %vector.memcheck179 ], [ 0, %.lr.ph95.preheader ], [ %n.vec208, %middle.block203 ]
  br label %.lr.ph95

vector.memcheck179:                               ; preds = %.lr.ph95.preheader
  %69 = shl nuw nsw i64 %wide.trip.count, 2
  %scevgep180 = getelementptr i8, ptr %3, i64 %69
  %70 = add nsw i64 %16, %wide.trip.count
  %71 = shl nsw i64 %70, 2
  %scevgep181 = getelementptr i8, ptr %12, i64 %71
  %scevgep182 = getelementptr i8, ptr %12, i64 %69
  %72 = add nuw nsw i64 %13, %wide.trip.count
  %73 = shl nuw nsw i64 %72, 2
  %scevgep183 = getelementptr i8, ptr %12, i64 %73
  %bound0184 = icmp ugt ptr %scevgep181, %3
  %bound1185 = icmp ult ptr %17, %scevgep180
  %found.conflict186 = and i1 %bound0184, %bound1185
  %bound0187 = icmp ugt ptr %scevgep182, %3
  %bound1188 = icmp ult ptr %12, %scevgep180
  %found.conflict189 = and i1 %bound0187, %bound1188
  %conflict.rdx190 = or i1 %found.conflict186, %found.conflict189
  %bound0191 = icmp ugt ptr %scevgep183, %3
  %bound1192 = icmp ult ptr %14, %scevgep180
  %found.conflict193 = and i1 %bound0191, %bound1192
  %conflict.rdx194 = or i1 %conflict.rdx190, %found.conflict193
  %bound0195 = icmp ult ptr %17, %scevgep182
  %bound1196 = icmp ult ptr %12, %scevgep181
  %found.conflict197 = and i1 %bound0195, %bound1196
  %conflict.rdx198 = or i1 %conflict.rdx194, %found.conflict197
  %bound0199 = icmp ult ptr %17, %scevgep183
  %bound1200 = icmp ult ptr %14, %scevgep181
  %found.conflict201 = and i1 %bound0199, %bound1200
  %conflict.rdx202 = or i1 %conflict.rdx198, %found.conflict201
  br i1 %conflict.rdx202, label %.lr.ph95.preheader242, label %vector.ph206

vector.ph206:                                     ; preds = %vector.memcheck179
  %n.vec208 = and i64 %wide.trip.count, 2147483644
  %broadcast.splatinsert214 = insertelement <4 x float> poison, float %1, i64 0
  %broadcast.splat215 = shufflevector <4 x float> %broadcast.splatinsert214, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body210

vector.body210:                                   ; preds = %vector.body210, %vector.ph206
  %index211 = phi i64 [ 0, %vector.ph206 ], [ %index.next218, %vector.body210 ]
  %74 = getelementptr inbounds float, ptr %3, i64 %index211
  %wide.load212 = load <4 x float>, ptr %74, align 4, !tbaa !17, !alias.scope !46, !noalias !49
  %75 = getelementptr inbounds float, ptr %12, i64 %index211
  %wide.load213 = load <4 x float>, ptr %75, align 4, !tbaa !17, !alias.scope !53
  %76 = fmul <4 x float> %wide.load213, %broadcast.splat215
  %77 = fdiv <4 x float> %76, <float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00>
  %78 = fadd <4 x float> %wide.load212, %77
  store <4 x float> %78, ptr %74, align 4, !tbaa !17, !alias.scope !46, !noalias !49
  %79 = getelementptr inbounds float, ptr %14, i64 %index211
  %wide.load216 = load <4 x float>, ptr %79, align 4, !tbaa !17, !alias.scope !54
  %wide.load217 = load <4 x float>, ptr %75, align 4, !tbaa !17, !alias.scope !53
  %80 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat215, <4 x float> %wide.load217, <4 x float> %wide.load216)
  %81 = getelementptr inbounds float, ptr %17, i64 %index211
  store <4 x float> %80, ptr %81, align 4, !tbaa !17, !alias.scope !55, !noalias !56
  %index.next218 = add nuw i64 %index211, 4
  %82 = icmp eq i64 %index.next218, %n.vec208
  br i1 %82, label %middle.block203, label %vector.body210, !llvm.loop !57

middle.block203:                                  ; preds = %vector.body210
  %cmp.n219 = icmp eq i64 %n.vec208, %wide.trip.count
  br i1 %cmp.n219, label %._crit_edge96, label %.lr.ph95.preheader242

.lr.ph91:                                         ; preds = %.lr.ph91.preheader243, %.lr.ph91
  %indvars.iv102 = phi i64 [ %indvars.iv.next103, %.lr.ph91 ], [ %indvars.iv102.ph, %.lr.ph91.preheader243 ]
  %83 = getelementptr inbounds float, ptr %3, i64 %indvars.iv102
  %84 = load float, ptr %83, align 4, !tbaa !17
  %85 = getelementptr inbounds float, ptr %12, i64 %indvars.iv102
  %86 = load float, ptr %85, align 4, !tbaa !17
  %87 = fmul float %86, %1
  %88 = fdiv float %87, 3.000000e+00
  %89 = fadd float %84, %88
  store float %89, ptr %83, align 4, !tbaa !17
  %90 = getelementptr inbounds float, ptr %14, i64 %indvars.iv102
  %91 = load float, ptr %90, align 4, !tbaa !17
  %92 = load float, ptr %85, align 4, !tbaa !17
  %93 = fmul float %92, %1
  %94 = tail call float @llvm.fmuladd.f32(float %93, float 5.000000e-01, float %91)
  %95 = getelementptr inbounds float, ptr %17, i64 %indvars.iv102
  store float %94, ptr %95, align 4, !tbaa !17
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %exitcond106.not = icmp eq i64 %indvars.iv.next103, %wide.trip.count105
  br i1 %exitcond106.not, label %._crit_edge92, label %.lr.ph91, !llvm.loop !58

._crit_edge96.thread:                             ; preds = %._crit_edge92.thread, %._crit_edge92
  %96 = load float, ptr %19, align 8, !tbaa !5
  tail call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %17, i32 noundef %2, float noundef %96, ptr noundef nonnull %12)
  br label %._crit_edge100

._crit_edge96:                                    ; preds = %.lr.ph95, %middle.block203
  %97 = load float, ptr %19, align 8, !tbaa !5
  tail call void @_ZNKSt8functionIFvPKfifPfEEclES1_ifS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %17, i32 noundef %2, float noundef %97, ptr noundef nonnull %12)
  br i1 %21, label %.lr.ph99.preheader, label %._crit_edge100

.lr.ph99.preheader:                               ; preds = %._crit_edge96
  %wide.trip.count115 = zext nneg i32 %2 to i64
  %min.iters.check228 = icmp ult i32 %2, 4
  br i1 %min.iters.check228, label %.lr.ph99.preheader241, label %vector.memcheck220

.lr.ph99.preheader241:                            ; preds = %middle.block226, %vector.memcheck220, %.lr.ph99.preheader
  %indvars.iv112.ph = phi i64 [ 0, %vector.memcheck220 ], [ 0, %.lr.ph99.preheader ], [ %n.vec231, %middle.block226 ]
  %xtraiter = and i64 %wide.trip.count, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph99.prol.loopexit, label %.lr.ph99.prol

.lr.ph99.prol:                                    ; preds = %.lr.ph99.preheader241
  %98 = getelementptr inbounds float, ptr %3, i64 %indvars.iv112.ph
  %99 = load float, ptr %98, align 4, !tbaa !17
  %100 = getelementptr inbounds float, ptr %12, i64 %indvars.iv112.ph
  %101 = load float, ptr %100, align 4, !tbaa !17
  %102 = fmul float %101, %1
  %103 = fdiv float %102, 6.000000e+00
  %104 = fadd float %99, %103
  store float %104, ptr %98, align 4, !tbaa !17
  %indvars.iv.next113.prol = or disjoint i64 %indvars.iv112.ph, 1
  br label %.lr.ph99.prol.loopexit

.lr.ph99.prol.loopexit:                           ; preds = %.lr.ph99.prol, %.lr.ph99.preheader241
  %indvars.iv112.unr = phi i64 [ %indvars.iv112.ph, %.lr.ph99.preheader241 ], [ %indvars.iv.next113.prol, %.lr.ph99.prol ]
  %105 = add nsw i64 %wide.trip.count, -1
  %106 = icmp eq i64 %indvars.iv112.ph, %105
  br i1 %106, label %._crit_edge100, label %.lr.ph99

vector.memcheck220:                               ; preds = %.lr.ph99.preheader
  %107 = shl nuw nsw i64 %wide.trip.count, 2
  %scevgep221 = getelementptr i8, ptr %3, i64 %107
  %scevgep222 = getelementptr i8, ptr %12, i64 %107
  %bound0223 = icmp ugt ptr %scevgep222, %3
  %bound1224 = icmp ult ptr %12, %scevgep221
  %found.conflict225 = and i1 %bound0223, %bound1224
  br i1 %found.conflict225, label %.lr.ph99.preheader241, label %vector.ph229

vector.ph229:                                     ; preds = %vector.memcheck220
  %n.vec231 = and i64 %wide.trip.count, 2147483644
  %broadcast.splatinsert237 = insertelement <4 x float> poison, float %1, i64 0
  %broadcast.splat238 = shufflevector <4 x float> %broadcast.splatinsert237, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body233

vector.body233:                                   ; preds = %vector.body233, %vector.ph229
  %index234 = phi i64 [ 0, %vector.ph229 ], [ %index.next239, %vector.body233 ]
  %108 = getelementptr inbounds float, ptr %3, i64 %index234
  %wide.load235 = load <4 x float>, ptr %108, align 4, !tbaa !17, !alias.scope !59, !noalias !62
  %109 = getelementptr inbounds float, ptr %12, i64 %index234
  %wide.load236 = load <4 x float>, ptr %109, align 4, !tbaa !17, !alias.scope !62
  %110 = fmul <4 x float> %wide.load236, %broadcast.splat238
  %111 = fdiv <4 x float> %110, <float 6.000000e+00, float 6.000000e+00, float 6.000000e+00, float 6.000000e+00>
  %112 = fadd <4 x float> %wide.load235, %111
  store <4 x float> %112, ptr %108, align 4, !tbaa !17, !alias.scope !59, !noalias !62
  %index.next239 = add nuw i64 %index234, 4
  %113 = icmp eq i64 %index.next239, %n.vec231
  br i1 %113, label %middle.block226, label %vector.body233, !llvm.loop !64

middle.block226:                                  ; preds = %vector.body233
  %cmp.n240 = icmp eq i64 %n.vec231, %wide.trip.count
  br i1 %cmp.n240, label %._crit_edge100, label %.lr.ph99.preheader241

.lr.ph95:                                         ; preds = %.lr.ph95.preheader242, %.lr.ph95
  %indvars.iv107 = phi i64 [ %indvars.iv.next108, %.lr.ph95 ], [ %indvars.iv107.ph, %.lr.ph95.preheader242 ]
  %114 = getelementptr inbounds float, ptr %3, i64 %indvars.iv107
  %115 = load float, ptr %114, align 4, !tbaa !17
  %116 = getelementptr inbounds float, ptr %12, i64 %indvars.iv107
  %117 = load float, ptr %116, align 4, !tbaa !17
  %118 = fmul float %117, %1
  %119 = fdiv float %118, 3.000000e+00
  %120 = fadd float %115, %119
  store float %120, ptr %114, align 4, !tbaa !17
  %121 = getelementptr inbounds float, ptr %14, i64 %indvars.iv107
  %122 = load float, ptr %121, align 4, !tbaa !17
  %123 = load float, ptr %116, align 4, !tbaa !17
  %124 = tail call float @llvm.fmuladd.f32(float %1, float %123, float %122)
  %125 = getelementptr inbounds float, ptr %17, i64 %indvars.iv107
  store float %124, ptr %125, align 4, !tbaa !17
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %exitcond111.not = icmp eq i64 %indvars.iv.next108, %wide.trip.count110
  br i1 %exitcond111.not, label %._crit_edge96, label %.lr.ph95, !llvm.loop !65

._crit_edge100:                                   ; preds = %.lr.ph99.prol.loopexit, %.lr.ph99, %middle.block226, %._crit_edge96.thread, %._crit_edge96
  %126 = load float, ptr %19, align 8, !tbaa !5
  %127 = fadd float %126, %1
  store float %127, ptr %19, align 8, !tbaa !5
  ret void

.lr.ph99:                                         ; preds = %.lr.ph99.prol.loopexit, %.lr.ph99
  %indvars.iv112 = phi i64 [ %indvars.iv.next113.1, %.lr.ph99 ], [ %indvars.iv112.unr, %.lr.ph99.prol.loopexit ]
  %128 = getelementptr inbounds float, ptr %3, i64 %indvars.iv112
  %129 = load float, ptr %128, align 4, !tbaa !17
  %130 = getelementptr inbounds float, ptr %12, i64 %indvars.iv112
  %131 = load float, ptr %130, align 4, !tbaa !17
  %132 = fmul float %131, %1
  %133 = fdiv float %132, 6.000000e+00
  %134 = fadd float %129, %133
  store float %134, ptr %128, align 4, !tbaa !17
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %135 = getelementptr inbounds float, ptr %3, i64 %indvars.iv.next113
  %136 = load float, ptr %135, align 4, !tbaa !17
  %137 = getelementptr inbounds float, ptr %12, i64 %indvars.iv.next113
  %138 = load float, ptr %137, align 4, !tbaa !17
  %139 = fmul float %138, %1
  %140 = fdiv float %139, 6.000000e+00
  %141 = fadd float %136, %140
  store float %141, ptr %135, align 4, !tbaa !17
  %indvars.iv.next113.1 = add nuw nsw i64 %indvars.iv112, 2
  %exitcond116.not.1 = icmp eq i64 %indvars.iv.next113.1, %wide.trip.count115
  br i1 %exitcond116.not.1, label %._crit_edge100, label %.lr.ph99, !llvm.loop !66
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #4

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !16, i64 56}
!6 = !{!"_ZTSN18NumericalODESolver11RungeKutta4E", !7, i64 0, !12, i64 32, !16, i64 56}
!7 = !{!"_ZTSSt8functionIFvPKfifPfEE", !8, i64 0, !11, i64 24}
!8 = !{!"_ZTSSt14_Function_base", !9, i64 0, !11, i64 16}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTSSt6vectorIfSaIfEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!16 = !{!"float", !9, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!19}
!19 = distinct !{!19, !20}
!20 = distinct !{!20, !"LVerDomain"}
!21 = !{!22, !23, !24}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = !{!23}
!26 = !{!24}
!27 = !{!22}
!28 = !{!23, !24}
!29 = distinct !{!29, !30, !31, !32}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!"llvm.loop.isvectorized", i32 1}
!32 = !{!"llvm.loop.unroll.runtime.disable"}
!33 = !{!34}
!34 = distinct !{!34, !35}
!35 = distinct !{!35, !"LVerDomain"}
!36 = !{!37, !38, !39}
!37 = distinct !{!37, !35}
!38 = distinct !{!38, !35}
!39 = distinct !{!39, !35}
!40 = !{!38}
!41 = !{!39}
!42 = !{!37}
!43 = !{!38, !39}
!44 = distinct !{!44, !30, !31, !32}
!45 = distinct !{!45, !30, !31}
!46 = !{!47}
!47 = distinct !{!47, !48}
!48 = distinct !{!48, !"LVerDomain"}
!49 = !{!50, !51, !52}
!50 = distinct !{!50, !48}
!51 = distinct !{!51, !48}
!52 = distinct !{!52, !48}
!53 = !{!51}
!54 = !{!52}
!55 = !{!50}
!56 = !{!51, !52}
!57 = distinct !{!57, !30, !31, !32}
!58 = distinct !{!58, !30, !31}
!59 = !{!60}
!60 = distinct !{!60, !61}
!61 = distinct !{!61, !"LVerDomain"}
!62 = !{!63}
!63 = distinct !{!63, !61}
!64 = distinct !{!64, !30, !31, !32}
!65 = distinct !{!65, !30, !31}
!66 = distinct !{!66, !30, !31}


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