; LLVM IR from cfd-rg-solver/FVM-RG-Solver :: src/riemannsolver.ll (ZN10HLLCSolver11computeFluxEP16SystemOfEquation)

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

%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%struct.SystemOfEquation = type { ptr, i64, i64, i64, i64, i64, i64, %struct.Mixture, ptr, ptr, ptr, ptr, %struct.solverParams, i32, %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0" }
%struct.Mixture = type <{ %"class.std::vector", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<MixtureComponent, std::allocator<MixtureComponent>>::_Vector_impl" }
%"struct.std::_Vector_base<MixtureComponent, std::allocator<MixtureComponent>>::_Vector_impl" = type { %"struct.std::_Vector_base<MixtureComponent, std::allocator<MixtureComponent>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MixtureComponent, std::allocator<MixtureComponent>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.solverParams = type { i32, double, double, double, double, double, i32, i32, i32, i32, i32, i32 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Matrix, std::allocator<Matrix>>::_Vector_impl" }
%"struct.std::_Vector_base<Matrix, std::allocator<Matrix>>::_Vector_impl" = type { %"struct.std::_Vector_base<Matrix, std::allocator<Matrix>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Matrix, std::allocator<Matrix>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.RiemannSolver = type { ptr, double, %struct.solverParams }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10HLLCSolver11computeFluxEP16SystemOfEquation(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca %"class.std::vector.5", align 8
  %30 = alloca %"class.std::allocator.7", align 1
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca %"class.std::vector.5", align 8
  %34 = alloca %"class.std::allocator.7", align 1
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca i64, align 8
  %47 = alloca i64, align 8
  %48 = alloca i64, align 8
  %49 = alloca i64, align 8
  %50 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %51 = load ptr, ptr %3, align 8
  call void @_ZN13RiemannSolver13toMaxVelocityEd(ptr noundef nonnull align 8 dereferenceable(88) %51, double noundef -1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %602, %2
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.SystemOfEquation, ptr %55, i32 0, i32 1
  %57 = load i64, ptr %56, align 8, !tbaa !11
  %58 = sub i64 %57, 1
  %59 = icmp ult i64 %54, %58
  br i1 %59, label %61, label %60

60:                                               ; preds = %52
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %609

61:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #6
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.SystemOfEquation, ptr %62, i32 0, i32 6
  %64 = load i64, ptr %63, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %64, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %65 unwind label %327

65:                                               ; preds = %61
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #6
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.SystemOfEquation, ptr %66, i32 0, i32 6
  %68 = load i64, ptr %67, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %68, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %69 unwind label %331

69:                                               ; preds = %65
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = load i32, ptr %5, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = load ptr, ptr %70, align 8, !tbaa !27
  %74 = getelementptr inbounds ptr, ptr %73, i64 5
  %75 = load ptr, ptr %74, align 8
  %76 = invoke noundef double %75(ptr noundef nonnull align 8 dereferenceable(296) %70, i64 noundef %72)
          to label %77 unwind label %335

77:                                               ; preds = %69
  store double %76, ptr %7, align 8, !tbaa !29
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = load i32, ptr %5, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  %81 = sext i32 %80 to i64
  %82 = load ptr, ptr %78, align 8, !tbaa !27
  %83 = getelementptr inbounds ptr, ptr %82, i64 5
  %84 = load ptr, ptr %83, align 8
  %85 = invoke noundef double %84(ptr noundef nonnull align 8 dereferenceable(296) %78, i64 noundef %81)
          to label %86 unwind label %335

86:                                               ; preds = %77
  store double %85, ptr %8, align 8, !tbaa !29
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = load i32, ptr %5, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = load ptr, ptr %87, align 8, !tbaa !27
  %91 = getelementptr inbounds ptr, ptr %90, i64 4
  %92 = load ptr, ptr %91, align 8
  %93 = invoke noundef double %92(ptr noundef nonnull align 8 dereferenceable(296) %87, i64 noundef %89)
          to label %94 unwind label %335

94:                                               ; preds = %86
  store double %93, ptr %9, align 8, !tbaa !29
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = load i32, ptr %5, align 4, !tbaa !9
  %97 = add nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = load ptr, ptr %95, align 8, !tbaa !27
  %100 = getelementptr inbounds ptr, ptr %99, i64 4
  %101 = load ptr, ptr %100, align 8
  %102 = invoke noundef double %101(ptr noundef nonnull align 8 dereferenceable(296) %95, i64 noundef %98)
          to label %103 unwind label %335

103:                                              ; preds = %94
  store double %102, ptr %10, align 8, !tbaa !29
  %104 = load double, ptr %7, align 8, !tbaa !29
  %105 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %104, i32 noundef 2)
          to label %106 unwind label %335

106:                                              ; preds = %103
  %107 = load double, ptr %9, align 8, !tbaa !29
  %108 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %107, i32 noundef 2)
          to label %109 unwind label %335

109:                                              ; preds = %106
  %110 = fadd double %105, %108
  %111 = call double @sqrt(double noundef %110) #6
  store double %111, ptr %27, align 8, !tbaa !29
  %112 = load double, ptr %8, align 8, !tbaa !29
  %113 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %112, i32 noundef 2)
          to label %114 unwind label %335

114:                                              ; preds = %109
  %115 = load double, ptr %10, align 8, !tbaa !29
  %116 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %115, i32 noundef 2)
          to label %117 unwind label %335

117:                                              ; preds = %114
  %118 = fadd double %113, %116
  %119 = call double @sqrt(double noundef %118) #6
  store double %119, ptr %28, align 8, !tbaa !29
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = load i32, ptr %5, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = load ptr, ptr %120, align 8, !tbaa !27
  %124 = getelementptr inbounds ptr, ptr %123, i64 1
  %125 = load ptr, ptr %124, align 8
  %126 = invoke noundef double %125(ptr noundef nonnull align 8 dereferenceable(296) %120, i64 noundef %122)
          to label %127 unwind label %335

127:                                              ; preds = %117
  store double %126, ptr %13, align 8, !tbaa !29
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = load i32, ptr %5, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  %131 = sext i32 %130 to i64
  %132 = load ptr, ptr %128, align 8, !tbaa !27
  %133 = getelementptr inbounds ptr, ptr %132, i64 1
  %134 = load ptr, ptr %133, align 8
  %135 = invoke noundef double %134(ptr noundef nonnull align 8 dereferenceable(296) %128, i64 noundef %131)
          to label %136 unwind label %335

136:                                              ; preds = %127
  store double %135, ptr %14, align 8, !tbaa !29
  %137 = load double, ptr %13, align 8, !tbaa !29
  %138 = call double @sqrt(double noundef %137) #6
  %139 = load double, ptr %7, align 8, !tbaa !29
  %140 = load double, ptr %14, align 8, !tbaa !29
  %141 = call double @sqrt(double noundef %140) #6
  %142 = load double, ptr %8, align 8, !tbaa !29
  %143 = fmul double %141, %142
  %144 = call double @llvm.fmuladd.f64(double %138, double %139, double %143)
  %145 = load double, ptr %13, align 8, !tbaa !29
  %146 = call double @sqrt(double noundef %145) #6
  %147 = load double, ptr %14, align 8, !tbaa !29
  %148 = call double @sqrt(double noundef %147) #6
  %149 = fadd double %146, %148
  %150 = fdiv double %144, %149
  store double %150, ptr %36, align 8, !tbaa !29
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = load i32, ptr %5, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = load ptr, ptr %151, align 8, !tbaa !27
  %155 = getelementptr inbounds ptr, ptr %154, i64 6
  %156 = load ptr, ptr %155, align 8
  %157 = invoke noundef double %156(ptr noundef nonnull align 8 dereferenceable(296) %151, i64 noundef %153)
          to label %158 unwind label %335

158:                                              ; preds = %136
  store double %157, ptr %17, align 8, !tbaa !29
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = load i32, ptr %5, align 4, !tbaa !9
  %161 = add nsw i32 %160, 1
  %162 = sext i32 %161 to i64
  %163 = load ptr, ptr %159, align 8, !tbaa !27
  %164 = getelementptr inbounds ptr, ptr %163, i64 6
  %165 = load ptr, ptr %164, align 8
  %166 = invoke noundef double %165(ptr noundef nonnull align 8 dereferenceable(296) %159, i64 noundef %162)
          to label %167 unwind label %335

167:                                              ; preds = %158
  store double %166, ptr %18, align 8, !tbaa !29
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = load i32, ptr %5, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = load ptr, ptr %168, align 8, !tbaa !27
  %172 = getelementptr inbounds ptr, ptr %171, i64 0
  %173 = load ptr, ptr %172, align 8
  %174 = invoke noundef double %173(ptr noundef nonnull align 8 dereferenceable(296) %168, i64 noundef %170)
          to label %175 unwind label %335

175:                                              ; preds = %167
  store double %174, ptr %15, align 8, !tbaa !29
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = load i32, ptr %5, align 4, !tbaa !9
  %178 = add nsw i32 %177, 1
  %179 = sext i32 %178 to i64
  %180 = load ptr, ptr %176, align 8, !tbaa !27
  %181 = getelementptr inbounds ptr, ptr %180, i64 0
  %182 = load ptr, ptr %181, align 8
  %183 = invoke noundef double %182(ptr noundef nonnull align 8 dereferenceable(296) %176, i64 noundef %179)
          to label %184 unwind label %335

184:                                              ; preds = %175
  store double %183, ptr %16, align 8, !tbaa !29
  %185 = load double, ptr %17, align 8, !tbaa !29
  %186 = load double, ptr %27, align 8, !tbaa !29
  %187 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %186, i32 noundef 2)
          to label %188 unwind label %335

188:                                              ; preds = %184
  %189 = fsub double %185, %187
  %190 = load double, ptr %15, align 8, !tbaa !29
  %191 = load double, ptr %13, align 8, !tbaa !29
  %192 = fdiv double %190, %191
  %193 = fadd double %189, %192
  store double %193, ptr %19, align 8, !tbaa !29
  %194 = load double, ptr %18, align 8, !tbaa !29
  %195 = load double, ptr %28, align 8, !tbaa !29
  %196 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %195, i32 noundef 2)
          to label %197 unwind label %335

197:                                              ; preds = %188
  %198 = fsub double %194, %196
  %199 = load double, ptr %16, align 8, !tbaa !29
  %200 = load double, ptr %14, align 8, !tbaa !29
  %201 = fdiv double %199, %200
  %202 = fadd double %198, %201
  store double %202, ptr %20, align 8, !tbaa !29
  %203 = load double, ptr %13, align 8, !tbaa !29
  %204 = call double @sqrt(double noundef %203) #6
  %205 = load double, ptr %19, align 8, !tbaa !29
  %206 = load double, ptr %14, align 8, !tbaa !29
  %207 = call double @sqrt(double noundef %206) #6
  %208 = load double, ptr %20, align 8, !tbaa !29
  %209 = fmul double %207, %208
  %210 = call double @llvm.fmuladd.f64(double %204, double %205, double %209)
  %211 = load double, ptr %13, align 8, !tbaa !29
  %212 = call double @sqrt(double noundef %211) #6
  %213 = load double, ptr %14, align 8, !tbaa !29
  %214 = call double @sqrt(double noundef %213) #6
  %215 = fadd double %212, %214
  %216 = fdiv double %210, %215
  store double %216, ptr %21, align 8, !tbaa !29
  %217 = getelementptr inbounds %struct.RiemannSolver, ptr %51, i32 0, i32 2
  %218 = getelementptr inbounds %struct.solverParams, ptr %217, i32 0, i32 3
  %219 = load double, ptr %218, align 8, !tbaa !30
  %220 = fsub double %219, 1.000000e+00
  %221 = load double, ptr %19, align 8, !tbaa !29
  %222 = load double, ptr %7, align 8, !tbaa !29
  %223 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %222, i32 noundef 2)
          to label %224 unwind label %335

224:                                              ; preds = %197
  %225 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %223, double %221)
  %226 = fmul double %220, %225
  %227 = call double @sqrt(double noundef %226) #6
  store double %227, ptr %11, align 8, !tbaa !29
  %228 = getelementptr inbounds %struct.RiemannSolver, ptr %51, i32 0, i32 2
  %229 = getelementptr inbounds %struct.solverParams, ptr %228, i32 0, i32 3
  %230 = load double, ptr %229, align 8, !tbaa !30
  %231 = fsub double %230, 1.000000e+00
  %232 = load double, ptr %20, align 8, !tbaa !29
  %233 = load double, ptr %8, align 8, !tbaa !29
  %234 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %233, i32 noundef 2)
          to label %235 unwind label %335

235:                                              ; preds = %224
  %236 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %234, double %232)
  %237 = fmul double %231, %236
  %238 = call double @sqrt(double noundef %237) #6
  store double %238, ptr %12, align 8, !tbaa !29
  %239 = getelementptr inbounds %struct.RiemannSolver, ptr %51, i32 0, i32 2
  %240 = getelementptr inbounds %struct.solverParams, ptr %239, i32 0, i32 3
  %241 = load double, ptr %240, align 8, !tbaa !30
  %242 = fsub double %241, 1.000000e+00
  %243 = load double, ptr %21, align 8, !tbaa !29
  %244 = load double, ptr %36, align 8, !tbaa !29
  %245 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %244, i32 noundef 2)
          to label %246 unwind label %335

246:                                              ; preds = %235
  %247 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %245, double %243)
  %248 = fmul double %242, %247
  %249 = call double @sqrt(double noundef %248) #6
  store double %249, ptr %35, align 8, !tbaa !29
  %250 = load double, ptr %36, align 8, !tbaa !29
  %251 = load double, ptr %35, align 8, !tbaa !29
  %252 = fsub double %250, %251
  store double %252, ptr %22, align 8, !tbaa !29
  %253 = load double, ptr %36, align 8, !tbaa !29
  %254 = load double, ptr %35, align 8, !tbaa !29
  %255 = fadd double %253, %254
  store double %255, ptr %23, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  %256 = load double, ptr %22, align 8, !tbaa !29
  %257 = call double @llvm.fabs.f64(double %256)
  store double %257, ptr %42, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %258 = load double, ptr %23, align 8, !tbaa !29
  %259 = call double @llvm.fabs.f64(double %258)
  store double %259, ptr %43, align 8, !tbaa !29
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %261 unwind label %339

261:                                              ; preds = %246
  %262 = load double, ptr %260, align 8, !tbaa !29
  invoke void @_ZN13RiemannSolver13toMaxVelocityEd(ptr noundef nonnull align 8 dereferenceable(88) %51, double noundef %262)
          to label %263 unwind label %339

263:                                              ; preds = %261
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  %264 = load double, ptr %16, align 8, !tbaa !29
  %265 = load double, ptr %15, align 8, !tbaa !29
  %266 = fsub double %264, %265
  %267 = load double, ptr %13, align 8, !tbaa !29
  %268 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %267, i32 noundef 2)
          to label %269 unwind label %335

269:                                              ; preds = %263
  %270 = load double, ptr %7, align 8, !tbaa !29
  %271 = fmul double %268, %270
  %272 = load double, ptr %22, align 8, !tbaa !29
  %273 = load double, ptr %7, align 8, !tbaa !29
  %274 = fsub double %272, %273
  %275 = call double @llvm.fmuladd.f64(double %271, double %274, double %266)
  %276 = load double, ptr %14, align 8, !tbaa !29
  %277 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %276, i32 noundef 2)
          to label %278 unwind label %335

278:                                              ; preds = %269
  %279 = load double, ptr %8, align 8, !tbaa !29
  %280 = fmul double %277, %279
  %281 = load double, ptr %23, align 8, !tbaa !29
  %282 = load double, ptr %8, align 8, !tbaa !29
  %283 = fsub double %281, %282
  %284 = fneg double %280
  %285 = call double @llvm.fmuladd.f64(double %284, double %283, double %275)
  %286 = load double, ptr %13, align 8, !tbaa !29
  %287 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %286, i32 noundef 2)
          to label %288 unwind label %335

288:                                              ; preds = %278
  %289 = load double, ptr %22, align 8, !tbaa !29
  %290 = load double, ptr %7, align 8, !tbaa !29
  %291 = fsub double %289, %290
  %292 = load double, ptr %14, align 8, !tbaa !29
  %293 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %292, i32 noundef 2)
          to label %294 unwind label %335

294:                                              ; preds = %288
  %295 = load double, ptr %23, align 8, !tbaa !29
  %296 = load double, ptr %8, align 8, !tbaa !29
  %297 = fsub double %295, %296
  %298 = fmul double %293, %297
  %299 = fneg double %298
  %300 = call double @llvm.fmuladd.f64(double %287, double %291, double %299)
  %301 = fdiv double %285, %300
  store double %301, ptr %24, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  %302 = load double, ptr %13, align 8, !tbaa !29
  %303 = load double, ptr %22, align 8, !tbaa !29
  %304 = load double, ptr %7, align 8, !tbaa !29
  %305 = fsub double %303, %304
  %306 = load double, ptr %22, align 8, !tbaa !29
  %307 = load double, ptr %24, align 8, !tbaa !29
  %308 = fsub double %306, %307
  %309 = fdiv double %305, %308
  %310 = fmul double %302, %309
  store double %310, ptr %44, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %311 = load double, ptr %14, align 8, !tbaa !29
  %312 = load double, ptr %23, align 8, !tbaa !29
  %313 = load double, ptr %8, align 8, !tbaa !29
  %314 = fsub double %312, %313
  %315 = load double, ptr %23, align 8, !tbaa !29
  %316 = load double, ptr %24, align 8, !tbaa !29
  %317 = fsub double %315, %316
  %318 = fdiv double %314, %317
  %319 = fmul double %311, %318
  store double %319, ptr %45, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  store i64 0, ptr %46, align 8, !tbaa !32
  br label %320

320:                                              ; preds = %350, %294
  %321 = load i64, ptr %46, align 8, !tbaa !32
  %322 = load ptr, ptr %4, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.SystemOfEquation, ptr %322, i32 0, i32 2
  %324 = load i64, ptr %323, align 8, !tbaa !33
  %325 = icmp ult i64 %321, %324
  br i1 %325, label %343, label %326

326:                                              ; preds = %320
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  br label %353

327:                                              ; preds = %61
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %31, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %32, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  br label %608

331:                                              ; preds = %65
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %31, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %32, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  br label %607

335:                                              ; preds = %288, %278, %269, %263, %235, %224, %197, %188, %184, %175, %167, %158, %136, %127, %117, %114, %109, %106, %103, %94, %86, %77, %69
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %31, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %32, align 4
  br label %606

339:                                              ; preds = %261, %246
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %31, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %606

343:                                              ; preds = %320
  %344 = load double, ptr %44, align 8, !tbaa !29
  %345 = load i64, ptr %46, align 8, !tbaa !32
  %346 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %345) #6
  store double %344, ptr %346, align 8, !tbaa !29
  %347 = load double, ptr %45, align 8, !tbaa !29
  %348 = load i64, ptr %46, align 8, !tbaa !32
  %349 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %348) #6
  store double %347, ptr %349, align 8, !tbaa !29
  br label %350

350:                                              ; preds = %343
  %351 = load i64, ptr %46, align 8, !tbaa !32
  %352 = add i64 %351, 1
  store i64 %352, ptr %46, align 8, !tbaa !32
  br label %320, !llvm.loop !34

353:                                              ; preds = %326
  %354 = load double, ptr %44, align 8, !tbaa !29
  %355 = load double, ptr %9, align 8, !tbaa !29
  %356 = fmul double %354, %355
  %357 = load ptr, ptr %4, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.SystemOfEquation, ptr %357, i32 0, i32 3
  %359 = load i64, ptr %358, align 8, !tbaa !36
  %360 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %359) #6
  store double %356, ptr %360, align 8, !tbaa !29
  %361 = load double, ptr %45, align 8, !tbaa !29
  %362 = load double, ptr %10, align 8, !tbaa !29
  %363 = fmul double %361, %362
  %364 = load ptr, ptr %4, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.SystemOfEquation, ptr %364, i32 0, i32 3
  %366 = load i64, ptr %365, align 8, !tbaa !36
  %367 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %366) #6
  store double %363, ptr %367, align 8, !tbaa !29
  %368 = load double, ptr %44, align 8, !tbaa !29
  %369 = load double, ptr %24, align 8, !tbaa !29
  %370 = fmul double %368, %369
  %371 = load ptr, ptr %4, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.SystemOfEquation, ptr %371, i32 0, i32 4
  %373 = load i64, ptr %372, align 8, !tbaa !37
  %374 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %373) #6
  store double %370, ptr %374, align 8, !tbaa !29
  %375 = load double, ptr %45, align 8, !tbaa !29
  %376 = load double, ptr %24, align 8, !tbaa !29
  %377 = fmul double %375, %376
  %378 = load ptr, ptr %4, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.SystemOfEquation, ptr %378, i32 0, i32 4
  %380 = load i64, ptr %379, align 8, !tbaa !37
  %381 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %380) #6
  store double %377, ptr %381, align 8, !tbaa !29
  %382 = load double, ptr %44, align 8, !tbaa !29
  %383 = load double, ptr %17, align 8, !tbaa !29
  %384 = load double, ptr %24, align 8, !tbaa !29
  %385 = load double, ptr %7, align 8, !tbaa !29
  %386 = fsub double %384, %385
  %387 = load double, ptr %24, align 8, !tbaa !29
  %388 = load double, ptr %15, align 8, !tbaa !29
  %389 = load double, ptr %13, align 8, !tbaa !29
  %390 = load double, ptr %22, align 8, !tbaa !29
  %391 = load double, ptr %7, align 8, !tbaa !29
  %392 = fsub double %390, %391
  %393 = fmul double %389, %392
  %394 = fdiv double %388, %393
  %395 = fadd double %387, %394
  %396 = call double @llvm.fmuladd.f64(double %386, double %395, double %383)
  %397 = fmul double %382, %396
  %398 = load ptr, ptr %4, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.SystemOfEquation, ptr %398, i32 0, i32 5
  %400 = load i64, ptr %399, align 8, !tbaa !38
  %401 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %400) #6
  store double %397, ptr %401, align 8, !tbaa !29
  %402 = load double, ptr %45, align 8, !tbaa !29
  %403 = load double, ptr %18, align 8, !tbaa !29
  %404 = load double, ptr %24, align 8, !tbaa !29
  %405 = load double, ptr %8, align 8, !tbaa !29
  %406 = fsub double %404, %405
  %407 = load double, ptr %24, align 8, !tbaa !29
  %408 = load double, ptr %16, align 8, !tbaa !29
  %409 = load double, ptr %14, align 8, !tbaa !29
  %410 = load double, ptr %23, align 8, !tbaa !29
  %411 = load double, ptr %8, align 8, !tbaa !29
  %412 = fsub double %410, %411
  %413 = fmul double %409, %412
  %414 = fdiv double %408, %413
  %415 = fadd double %407, %414
  %416 = call double @llvm.fmuladd.f64(double %406, double %415, double %403)
  %417 = fmul double %402, %416
  %418 = load ptr, ptr %4, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.SystemOfEquation, ptr %418, i32 0, i32 5
  %420 = load i64, ptr %419, align 8, !tbaa !38
  %421 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %420) #6
  store double %417, ptr %421, align 8, !tbaa !29
  %422 = load double, ptr %22, align 8, !tbaa !29
  %423 = fcmp oge double %422, 0.000000e+00
  br i1 %423, label %424, label %456

424:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  store i64 0, ptr %47, align 8, !tbaa !32
  br label %425

425:                                              ; preds = %448, %424
  %426 = load i64, ptr %47, align 8, !tbaa !32
  %427 = load ptr, ptr %4, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.SystemOfEquation, ptr %427, i32 0, i32 6
  %429 = load i64, ptr %428, align 8, !tbaa !26
  %430 = icmp ult i64 %426, %429
  br i1 %430, label %432, label %431

431:                                              ; preds = %425
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  br label %455

432:                                              ; preds = %425
  %433 = load ptr, ptr %4, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.SystemOfEquation, ptr %433, i32 0, i32 16
  %435 = load i64, ptr %47, align 8, !tbaa !32
  %436 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %434, i64 noundef %435) #6
  %437 = load i32, ptr %5, align 4, !tbaa !9
  %438 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %436, i32 noundef %437)
          to label %439 unwind label %451

439:                                              ; preds = %432
  %440 = load double, ptr %438, align 8, !tbaa !29
  %441 = load ptr, ptr %4, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.SystemOfEquation, ptr %441, i32 0, i32 17
  %443 = load i64, ptr %47, align 8, !tbaa !32
  %444 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %442, i64 noundef %443) #6
  %445 = load i32, ptr %5, align 4, !tbaa !9
  %446 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %444, i32 noundef %445)
          to label %447 unwind label %451

447:                                              ; preds = %439
  store double %440, ptr %446, align 8, !tbaa !29
  br label %448

448:                                              ; preds = %447
  %449 = load i64, ptr %47, align 8, !tbaa !32
  %450 = add i64 %449, 1
  store i64 %450, ptr %47, align 8, !tbaa !32
  br label %425, !llvm.loop !39

451:                                              ; preds = %439, %432
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %31, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  br label %605

455:                                              ; preds = %431
  br label %601

456:                                              ; preds = %353
  %457 = load double, ptr %23, align 8, !tbaa !29
  %458 = fcmp ole double %457, 0.000000e+00
  br i1 %458, label %459, label %492

459:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #6
  store i64 0, ptr %48, align 8, !tbaa !32
  br label %460

460:                                              ; preds = %484, %459
  %461 = load i64, ptr %48, align 8, !tbaa !32
  %462 = load ptr, ptr %4, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.SystemOfEquation, ptr %462, i32 0, i32 6
  %464 = load i64, ptr %463, align 8, !tbaa !26
  %465 = icmp ult i64 %461, %464
  br i1 %465, label %467, label %466

466:                                              ; preds = %460
  store i32 11, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  br label %491

467:                                              ; preds = %460
  %468 = load ptr, ptr %4, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.SystemOfEquation, ptr %468, i32 0, i32 16
  %470 = load i64, ptr %48, align 8, !tbaa !32
  %471 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %469, i64 noundef %470) #6
  %472 = load i32, ptr %5, align 4, !tbaa !9
  %473 = add nsw i32 %472, 1
  %474 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %471, i32 noundef %473)
          to label %475 unwind label %487

475:                                              ; preds = %467
  %476 = load double, ptr %474, align 8, !tbaa !29
  %477 = load ptr, ptr %4, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.SystemOfEquation, ptr %477, i32 0, i32 17
  %479 = load i64, ptr %48, align 8, !tbaa !32
  %480 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %478, i64 noundef %479) #6
  %481 = load i32, ptr %5, align 4, !tbaa !9
  %482 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %480, i32 noundef %481)
          to label %483 unwind label %487

483:                                              ; preds = %475
  store double %476, ptr %482, align 8, !tbaa !29
  br label %484

484:                                              ; preds = %483
  %485 = load i64, ptr %48, align 8, !tbaa !32
  %486 = add i64 %485, 1
  store i64 %486, ptr %48, align 8, !tbaa !32
  br label %460, !llvm.loop !40

487:                                              ; preds = %475, %467
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %31, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  br label %605

491:                                              ; preds = %466
  br label %600

492:                                              ; preds = %456
  %493 = load double, ptr %22, align 8, !tbaa !29
  %494 = fcmp ole double %493, 0.000000e+00
  br i1 %494, label %495, label %544

495:                                              ; preds = %492
  %496 = load double, ptr %24, align 8, !tbaa !29
  %497 = fcmp oge double %496, 0.000000e+00
  br i1 %497, label %498, label %544

498:                                              ; preds = %495
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #6
  store i64 0, ptr %49, align 8, !tbaa !32
  br label %499

499:                                              ; preds = %536, %498
  %500 = load i64, ptr %49, align 8, !tbaa !32
  %501 = load ptr, ptr %4, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.SystemOfEquation, ptr %501, i32 0, i32 6
  %503 = load i64, ptr %502, align 8, !tbaa !26
  %504 = icmp ult i64 %500, %503
  br i1 %504, label %506, label %505

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

506:                                              ; preds = %499
  %507 = load ptr, ptr %4, align 8, !tbaa !5
  %508 = getelementptr inbounds %struct.SystemOfEquation, ptr %507, i32 0, i32 16
  %509 = load i64, ptr %49, align 8, !tbaa !32
  %510 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %508, i64 noundef %509) #6
  %511 = load i32, ptr %5, align 4, !tbaa !9
  %512 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %510, i32 noundef %511)
          to label %513 unwind label %539

513:                                              ; preds = %506
  %514 = load double, ptr %512, align 8, !tbaa !29
  %515 = load double, ptr %24, align 8, !tbaa !29
  %516 = load i64, ptr %49, align 8, !tbaa !32
  %517 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %516) #6
  %518 = load double, ptr %517, align 8, !tbaa !29
  %519 = load ptr, ptr %4, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.SystemOfEquation, ptr %519, i32 0, i32 14
  %521 = load i64, ptr %49, align 8, !tbaa !32
  %522 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %520, i64 noundef %521) #6
  %523 = load i32, ptr %5, align 4, !tbaa !9
  %524 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %522, i32 noundef %523)
          to label %525 unwind label %539

525:                                              ; preds = %513
  %526 = load double, ptr %524, align 8, !tbaa !29
  %527 = fsub double %518, %526
  %528 = call double @llvm.fmuladd.f64(double %515, double %527, double %514)
  %529 = load ptr, ptr %4, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.SystemOfEquation, ptr %529, i32 0, i32 17
  %531 = load i64, ptr %49, align 8, !tbaa !32
  %532 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %530, i64 noundef %531) #6
  %533 = load i32, ptr %5, align 4, !tbaa !9
  %534 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %532, i32 noundef %533)
          to label %535 unwind label %539

535:                                              ; preds = %525
  store double %528, ptr %534, align 8, !tbaa !29
  br label %536

536:                                              ; preds = %535
  %537 = load i64, ptr %49, align 8, !tbaa !32
  %538 = add i64 %537, 1
  store i64 %538, ptr %49, align 8, !tbaa !32
  br label %499, !llvm.loop !41

539:                                              ; preds = %525, %513, %506
  %540 = landingpad { ptr, i32 }
          cleanup
  %541 = extractvalue { ptr, i32 } %540, 0
  store ptr %541, ptr %31, align 8
  %542 = extractvalue { ptr, i32 } %540, 1
  store i32 %542, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  br label %605

543:                                              ; preds = %505
  br label %599

544:                                              ; preds = %495, %492
  %545 = load double, ptr %24, align 8, !tbaa !29
  %546 = fcmp ole double %545, 0.000000e+00
  br i1 %546, label %547, label %598

547:                                              ; preds = %544
  %548 = load double, ptr %23, align 8, !tbaa !29
  %549 = fcmp oge double %548, 0.000000e+00
  br i1 %549, label %550, label %598

550:                                              ; preds = %547
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #6
  store i64 0, ptr %50, align 8, !tbaa !32
  br label %551

551:                                              ; preds = %590, %550
  %552 = load i64, ptr %50, align 8, !tbaa !32
  %553 = load ptr, ptr %4, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.SystemOfEquation, ptr %553, i32 0, i32 6
  %555 = load i64, ptr %554, align 8, !tbaa !26
  %556 = icmp ult i64 %552, %555
  br i1 %556, label %558, label %557

557:                                              ; preds = %551
  store i32 17, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  br label %597

558:                                              ; preds = %551
  %559 = load ptr, ptr %4, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct.SystemOfEquation, ptr %559, i32 0, i32 16
  %561 = load i64, ptr %50, align 8, !tbaa !32
  %562 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %560, i64 noundef %561) #6
  %563 = load i32, ptr %5, align 4, !tbaa !9
  %564 = add nsw i32 %563, 1
  %565 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %562, i32 noundef %564)
          to label %566 unwind label %593

566:                                              ; preds = %558
  %567 = load double, ptr %565, align 8, !tbaa !29
  %568 = load double, ptr %24, align 8, !tbaa !29
  %569 = load i64, ptr %50, align 8, !tbaa !32
  %570 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %569) #6
  %571 = load double, ptr %570, align 8, !tbaa !29
  %572 = load ptr, ptr %4, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.SystemOfEquation, ptr %572, i32 0, i32 14
  %574 = load i64, ptr %50, align 8, !tbaa !32
  %575 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %573, i64 noundef %574) #6
  %576 = load i32, ptr %5, align 4, !tbaa !9
  %577 = add nsw i32 %576, 1
  %578 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %575, i32 noundef %577)
          to label %579 unwind label %593

579:                                              ; preds = %566
  %580 = load double, ptr %578, align 8, !tbaa !29
  %581 = fsub double %571, %580
  %582 = call double @llvm.fmuladd.f64(double %568, double %581, double %567)
  %583 = load ptr, ptr %4, align 8, !tbaa !5
  %584 = getelementptr inbounds %struct.SystemOfEquation, ptr %583, i32 0, i32 17
  %585 = load i64, ptr %50, align 8, !tbaa !32
  %586 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %584, i64 noundef %585) #6
  %587 = load i32, ptr %5, align 4, !tbaa !9
  %588 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %586, i32 noundef %587)
          to label %589 unwind label %593

589:                                              ; preds = %579
  store double %582, ptr %588, align 8, !tbaa !29
  br label %590

590:                                              ; preds = %589
  %591 = load i64, ptr %50, align 8, !tbaa !32
  %592 = add i64 %591, 1
  store i64 %592, ptr %50, align 8, !tbaa !32
  br label %551, !llvm.loop !42

593:                                              ; preds = %579, %566, %558
  %594 = landingpad { ptr, i32 }
          cleanup
  %595 = extractvalue { ptr, i32 } %594, 0
  store ptr %595, ptr %31, align 8
  %596 = extractvalue { ptr, i32 } %594, 1
  store i32 %596, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  br label %605

597:                                              ; preds = %557
  br label %598

598:                                              ; preds = %597, %547, %544
  br label %599

599:                                              ; preds = %598, %543
  br label %600

600:                                              ; preds = %599, %491
  br label %601

601:                                              ; preds = %600, %455
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %602

602:                                              ; preds = %601
  %603 = load i32, ptr %5, align 4, !tbaa !9
  %604 = add nsw i32 %603, 1
  store i32 %604, ptr %5, align 4, !tbaa !9
  br label %52, !llvm.loop !43

605:                                              ; preds = %593, %539, %487, %451
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  br label %606

606:                                              ; preds = %605, %339, %335
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  br label %607

607:                                              ; preds = %606, %331
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  br label %608

608:                                              ; preds = %607, %327
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %610

609:                                              ; preds = %60
  ret void

610:                                              ; preds = %608
  %611 = load ptr, ptr %31, align 8
  %612 = load i32, ptr %32, align 4
  %613 = insertvalue { ptr, i32 } poison, ptr %611, 0
  %614 = insertvalue { ptr, i32 } %613, i32 %612, 1
  resume { ptr, i32 } %614
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13RiemannSolver13toMaxVelocityEd(ptr noundef nonnull align 8 dereferenceable(88), double 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 void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"_ZTS16SystemOfEquation", !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !19, i64 120, !21, i64 192, !22, i64 200, !22, i64 224, !22, i64 248, !22, i64 272}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTS7Mixture", !15, i64 0, !10, i64 24}
!15 = !{!"_ZTSSt6vectorI16MixtureComponentSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseI16MixtureComponentSaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI16MixtureComponentSaIS0_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI16MixtureComponentSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTS12solverParams", !10, i64 0, !20, i64 8, !20, i64 16, !20, i64 24, !20, i64 32, !20, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTS20SystemOfEquationType", !7, i64 0}
!22 = !{!"_ZTSSt6vectorI6MatrixSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseI6MatrixSaIS0_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI6MatrixSaIS0_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseI6MatrixSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!12, !13, i64 48}
!27 = !{!28, !28, i64 0}
!28 = !{!"vtable pointer", !8, i64 0}
!29 = !{!20, !20, i64 0}
!30 = !{!31, !20, i64 40}
!31 = !{!"_ZTS13RiemannSolver", !20, i64 8, !19, i64 16}
!32 = !{!13, !13, i64 0}
!33 = !{!12, !13, i64 16}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!12, !13, i64 24}
!37 = !{!12, !13, i64 32}
!38 = !{!12, !13, i64 40}
!39 = distinct !{!39, !35}
!40 = distinct !{!40, !35}
!41 = distinct !{!41, !35}
!42 = distinct !{!42, !35}
!43 = distinct !{!43, !35}


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

%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10HLLCSolver11computeFluxEP16SystemOfEquation(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.5", align 8
  %4 = alloca %"class.std::allocator.7", align 1
  %5 = alloca %"class.std::vector.5", align 8
  %6 = alloca %"class.std::allocator.7", align 1
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  tail call void @_ZN13RiemannSolver13toMaxVelocityEd(ptr noundef nonnull align 8 dereferenceable(88) %0, double noundef -1.000000e+00)
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !5
  %.not = icmp eq i64 %10, 1
  br i1 %.not, label %._crit_edge218, label %.lr.ph217

.lr.ph217:                                        ; preds = %2
  %11 = getelementptr inbounds i8, ptr %1, i64 48
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = getelementptr inbounds i8, ptr %1, i64 16
  %14 = getelementptr inbounds i8, ptr %1, i64 24
  %15 = getelementptr inbounds i8, ptr %1, i64 32
  %16 = getelementptr inbounds i8, ptr %1, i64 40
  %17 = getelementptr inbounds i8, ptr %1, i64 248
  %18 = getelementptr inbounds i8, ptr %1, i64 272
  %19 = getelementptr inbounds i8, ptr %1, i64 200
  br label %20

._crit_edge218:                                   ; preds = %.loopexit, %2
  ret void

20:                                               ; preds = %.lr.ph217, %.loopexit
  %indvars.iv = phi i64 [ 0, %.lr.ph217 ], [ %indvars.iv.next, %.loopexit ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %21 = load i64, ptr %11, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %21, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %22 unwind label %185

22:                                               ; preds = %20
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  %23 = load i64, ptr %11, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %23, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %24 unwind label %187

24:                                               ; preds = %22
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  %25 = load ptr, ptr %1, align 8, !tbaa !25
  %26 = getelementptr inbounds i8, ptr %25, i64 40
  %27 = load ptr, ptr %26, align 8
  %28 = invoke noundef double %27(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv)
          to label %29 unwind label %189

29:                                               ; preds = %24
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %30 = load ptr, ptr %1, align 8, !tbaa !25
  %31 = getelementptr inbounds i8, ptr %30, i64 40
  %32 = load ptr, ptr %31, align 8
  %33 = invoke noundef double %32(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv.next)
          to label %34 unwind label %189

34:                                               ; preds = %29
  %35 = load ptr, ptr %1, align 8, !tbaa !25
  %36 = getelementptr inbounds i8, ptr %35, i64 32
  %37 = load ptr, ptr %36, align 8
  %38 = invoke noundef double %37(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv)
          to label %39 unwind label %189

39:                                               ; preds = %34
  %40 = load ptr, ptr %1, align 8, !tbaa !25
  %41 = getelementptr inbounds i8, ptr %40, i64 32
  %42 = load ptr, ptr %41, align 8
  %43 = invoke noundef double %42(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv.next)
          to label %44 unwind label %189

44:                                               ; preds = %39
  %45 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %28, i32 noundef 2)
  %46 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %38, i32 noundef 2)
  %47 = fadd double %45, %46
  %48 = call double @sqrt(double noundef %47) #6
  %49 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %33, i32 noundef 2)
  %50 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %43, i32 noundef 2)
  %51 = fadd double %49, %50
  %52 = call double @sqrt(double noundef %51) #6
  %53 = load ptr, ptr %1, align 8, !tbaa !25
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = load ptr, ptr %54, align 8
  %56 = invoke noundef double %55(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv)
          to label %57 unwind label %189

57:                                               ; preds = %44
  %58 = load ptr, ptr %1, align 8, !tbaa !25
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load ptr, ptr %59, align 8
  %61 = invoke noundef double %60(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv.next)
          to label %62 unwind label %189

62:                                               ; preds = %57
  %63 = call double @sqrt(double noundef %56) #6
  %64 = call double @sqrt(double noundef %61) #6
  %65 = fmul double %33, %64
  %66 = call double @llvm.fmuladd.f64(double %63, double %28, double %65)
  %67 = call double @sqrt(double noundef %56) #6
  %68 = call double @sqrt(double noundef %61) #6
  %69 = fadd double %67, %68
  %70 = fdiv double %66, %69
  %71 = load ptr, ptr %1, align 8, !tbaa !25
  %72 = getelementptr inbounds i8, ptr %71, i64 48
  %73 = load ptr, ptr %72, align 8
  %74 = invoke noundef double %73(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv)
          to label %75 unwind label %189

75:                                               ; preds = %62
  %76 = load ptr, ptr %1, align 8, !tbaa !25
  %77 = getelementptr inbounds i8, ptr %76, i64 48
  %78 = load ptr, ptr %77, align 8
  %79 = invoke noundef double %78(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv.next)
          to label %80 unwind label %189

80:                                               ; preds = %75
  %81 = load ptr, ptr %1, align 8, !tbaa !25
  %82 = load ptr, ptr %81, align 8
  %83 = invoke noundef double %82(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv)
          to label %84 unwind label %189

84:                                               ; preds = %80
  %85 = load ptr, ptr %1, align 8, !tbaa !25
  %86 = load ptr, ptr %85, align 8
  %87 = invoke noundef double %86(ptr noundef nonnull align 8 dereferenceable(296) %1, i64 noundef %indvars.iv.next)
          to label %88 unwind label %189

88:                                               ; preds = %84
  %89 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %48, i32 noundef 2)
  %90 = fsub double %74, %89
  %91 = fdiv double %83, %56
  %92 = fadd double %91, %90
  %93 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %52, i32 noundef 2)
  %94 = fsub double %79, %93
  %95 = fdiv double %87, %61
  %96 = fadd double %95, %94
  %97 = call double @sqrt(double noundef %56) #6
  %98 = call double @sqrt(double noundef %61) #6
  %99 = fmul double %98, %96
  %100 = call double @llvm.fmuladd.f64(double %97, double %92, double %99)
  %101 = call double @sqrt(double noundef %56) #6
  %102 = call double @sqrt(double noundef %61) #6
  %103 = fadd double %101, %102
  %104 = fdiv double %100, %103
  %105 = load double, ptr %12, align 8, !tbaa !27
  %106 = fadd double %105, -1.000000e+00
  %107 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %28, i32 noundef 2)
  %108 = call double @llvm.fmuladd.f64(double %107, double -5.000000e-01, double %92)
  %109 = fmul double %106, %108
  %110 = fcmp olt double %109, 0.000000e+00
  br i1 %110, label %cdce.call, label %cdce.end, !prof !29

cdce.call:                                        ; preds = %88
  %111 = call double @sqrt(double noundef %109) #6
  br label %cdce.end

cdce.end:                                         ; preds = %88, %cdce.call
  %112 = load double, ptr %12, align 8, !tbaa !27
  %113 = fadd double %112, -1.000000e+00
  %114 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %33, i32 noundef 2)
  %115 = call double @llvm.fmuladd.f64(double %114, double -5.000000e-01, double %96)
  %116 = fmul double %113, %115
  %117 = fcmp olt double %116, 0.000000e+00
  br i1 %117, label %cdce.call198, label %cdce.end199, !prof !29

cdce.call198:                                     ; preds = %cdce.end
  %118 = call double @sqrt(double noundef %116) #6
  br label %cdce.end199

cdce.end199:                                      ; preds = %cdce.end, %cdce.call198
  %119 = load double, ptr %12, align 8, !tbaa !27
  %120 = fadd double %119, -1.000000e+00
  %121 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %70, i32 noundef 2)
  %122 = call double @llvm.fmuladd.f64(double %121, double -5.000000e-01, double %104)
  %123 = fmul double %120, %122
  %124 = call double @sqrt(double noundef %123) #6
  %125 = fsub double %70, %124
  %126 = fadd double %70, %124
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %127 = call double @llvm.fabs.f64(double %125)
  store double %127, ptr %7, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %128 = call double @llvm.fabs.f64(double %126)
  store double %128, ptr %8, align 8, !tbaa !30
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %130 = load double, ptr %129, align 8, !tbaa !30
  call void @_ZN13RiemannSolver13toMaxVelocityEd(ptr noundef nonnull align 8 dereferenceable(88) %0, double noundef %130)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %131 = fsub double %87, %83
  %132 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %56, i32 noundef 2)
  %133 = fmul double %28, %132
  %134 = fsub double %125, %28
  %135 = call double @llvm.fmuladd.f64(double %133, double %134, double %131)
  %136 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %61, i32 noundef 2)
  %137 = fsub double %126, %33
  %138 = fneg double %136
  %139 = fmul double %33, %138
  %140 = call double @llvm.fmuladd.f64(double %139, double %137, double %135)
  %141 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %56, i32 noundef 2)
  %142 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %61, i32 noundef 2)
  %143 = fneg double %142
  %144 = fmul double %137, %143
  %145 = call double @llvm.fmuladd.f64(double %141, double %134, double %144)
  %146 = fdiv double %140, %145
  %147 = fsub double %125, %146
  %148 = fdiv double %134, %147
  %149 = fmul double %56, %148
  %150 = fsub double %126, %146
  %151 = fdiv double %137, %150
  %152 = fmul double %61, %151
  %153 = load i64, ptr %13, align 8, !tbaa !31
  %.not219 = icmp eq i64 %153, 0
  br i1 %.not219, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %cdce.end199
  %154 = fmul double %38, %149
  %155 = load i64, ptr %14, align 8, !tbaa !32
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %155) #6
  store double %154, ptr %156, align 8, !tbaa !30
  %157 = fmul double %43, %152
  %158 = load i64, ptr %14, align 8, !tbaa !32
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %158) #6
  store double %157, ptr %159, align 8, !tbaa !30
  %160 = fmul double %146, %149
  %161 = load i64, ptr %15, align 8, !tbaa !33
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %161) #6
  store double %160, ptr %162, align 8, !tbaa !30
  %163 = fmul double %146, %152
  %164 = load i64, ptr %15, align 8, !tbaa !33
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %164) #6
  store double %163, ptr %165, align 8, !tbaa !30
  %166 = fsub double %146, %28
  %167 = fmul double %56, %134
  %168 = fdiv double %83, %167
  %169 = fadd double %168, %146
  %170 = call double @llvm.fmuladd.f64(double %166, double %169, double %74)
  %171 = fmul double %170, %149
  %172 = load i64, ptr %16, align 8, !tbaa !34
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %172) #6
  store double %171, ptr %173, align 8, !tbaa !30
  %174 = fsub double %146, %33
  %175 = fmul double %61, %137
  %176 = fdiv double %87, %175
  %177 = fadd double %176, %146
  %178 = call double @llvm.fmuladd.f64(double %174, double %177, double %79)
  %179 = fmul double %178, %152
  %180 = load i64, ptr %16, align 8, !tbaa !34
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %180) #6
  store double %179, ptr %181, align 8, !tbaa !30
  %182 = fcmp ult double %125, 0.000000e+00
  br i1 %182, label %204, label %.preheader204

.preheader204:                                    ; preds = %._crit_edge
  %183 = load i64, ptr %11, align 8, !tbaa !24
  %.not220 = icmp eq i64 %183, 0
  br i1 %.not220, label %.loopexit, label %.lr.ph208.preheader

.lr.ph208.preheader:                              ; preds = %.preheader204
  %184 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.lr.ph208

185:                                              ; preds = %20
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  br label %262

187:                                              ; preds = %22
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  br label %261

189:                                              ; preds = %84, %80, %75, %62, %57, %44, %39, %34, %29, %24
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %261

.lr.ph:                                           ; preds = %cdce.end199, %.lr.ph
  %.0186206 = phi i64 [ %193, %.lr.ph ], [ 0, %cdce.end199 ]
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.0186206) #6
  store double %149, ptr %191, align 8, !tbaa !30
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0186206) #6
  store double %152, ptr %192, align 8, !tbaa !30
  %193 = add nuw i64 %.0186206, 1
  %194 = load i64, ptr %13, align 8, !tbaa !31
  %195 = icmp ult i64 %193, %194
  br i1 %195, label %.lr.ph, label %._crit_edge, !llvm.loop !35

.lr.ph208:                                        ; preds = %.lr.ph208.preheader, %.lr.ph208
  %.0185207 = phi i64 [ %201, %.lr.ph208 ], [ 0, %.lr.ph208.preheader ]
  %196 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %.0185207) #6
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %196, i32 noundef %184)
  %198 = load double, ptr %197, align 8, !tbaa !30
  %199 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %.0185207) #6
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %199, i32 noundef %184)
  store double %198, ptr %200, align 8, !tbaa !30
  %201 = add nuw i64 %.0185207, 1
  %202 = load i64, ptr %11, align 8, !tbaa !24
  %203 = icmp ult i64 %201, %202
  br i1 %203, label %.lr.ph208, label %.loopexit, !llvm.loop !37

204:                                              ; preds = %._crit_edge
  %205 = fcmp ugt double %126, 0.000000e+00
  br i1 %205, label %217, label %.preheader202

.preheader202:                                    ; preds = %204
  %206 = load i64, ptr %11, align 8, !tbaa !24
  %.not221 = icmp eq i64 %206, 0
  br i1 %.not221, label %.loopexit, label %.lr.ph210.preheader

.lr.ph210.preheader:                              ; preds = %.preheader202
  %207 = trunc nuw i64 %indvars.iv.next to i32
  %208 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.lr.ph210

.lr.ph210:                                        ; preds = %.lr.ph210.preheader, %.lr.ph210
  %.0184209 = phi i64 [ %214, %.lr.ph210 ], [ 0, %.lr.ph210.preheader ]
  %209 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %.0184209) #6
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %209, i32 noundef %207)
  %211 = load double, ptr %210, align 8, !tbaa !30
  %212 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %.0184209) #6
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %212, i32 noundef %208)
  store double %211, ptr %213, align 8, !tbaa !30
  %214 = add nuw i64 %.0184209, 1
  %215 = load i64, ptr %11, align 8, !tbaa !24
  %216 = icmp ult i64 %214, %215
  br i1 %216, label %.lr.ph210, label %.loopexit, !llvm.loop !38

217:                                              ; preds = %204
  %218 = fcmp ole double %125, 0.000000e+00
  %219 = fcmp oge double %146, 0.000000e+00
  %or.cond = select i1 %218, i1 %219, i1 false
  br i1 %or.cond, label %.preheader, label %237

.preheader:                                       ; preds = %217
  %220 = load i64, ptr %11, align 8, !tbaa !24
  %.not223 = icmp eq i64 %220, 0
  br i1 %.not223, label %.loopexit, label %.lr.ph214.preheader

.lr.ph214.preheader:                              ; preds = %.preheader
  %221 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.lr.ph214

.lr.ph214:                                        ; preds = %.lr.ph214.preheader, %.lr.ph214
  %.0183213 = phi i64 [ %234, %.lr.ph214 ], [ 0, %.lr.ph214.preheader ]
  %222 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %.0183213) #6
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %222, i32 noundef %221)
  %224 = load double, ptr %223, align 8, !tbaa !30
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.0183213) #6
  %226 = load double, ptr %225, align 8, !tbaa !30
  %227 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0183213) #6
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %227, i32 noundef %221)
  %229 = load double, ptr %228, align 8, !tbaa !30
  %230 = fsub double %226, %229
  %231 = call double @llvm.fmuladd.f64(double %146, double %230, double %224)
  %232 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %.0183213) #6
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %232, i32 noundef %221)
  store double %231, ptr %233, align 8, !tbaa !30
  %234 = add nuw i64 %.0183213, 1
  %235 = load i64, ptr %11, align 8, !tbaa !24
  %236 = icmp ult i64 %234, %235
  br i1 %236, label %.lr.ph214, label %.loopexit, !llvm.loop !39

237:                                              ; preds = %217
  %238 = fcmp ole double %146, 0.000000e+00
  %239 = fcmp oge double %126, 0.000000e+00
  %or.cond3 = select i1 %238, i1 %239, i1 false
  br i1 %or.cond3, label %.preheader200, label %.loopexit

.preheader200:                                    ; preds = %237
  %240 = load i64, ptr %11, align 8, !tbaa !24
  %.not222 = icmp eq i64 %240, 0
  br i1 %.not222, label %.loopexit, label %.lr.ph212.preheader

.lr.ph212.preheader:                              ; preds = %.preheader200
  %241 = trunc nuw i64 %indvars.iv.next to i32
  %242 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.lr.ph212

.lr.ph212:                                        ; preds = %.lr.ph212.preheader, %.lr.ph212
  %.0211 = phi i64 [ %255, %.lr.ph212 ], [ 0, %.lr.ph212.preheader ]
  %243 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %.0211) #6
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %243, i32 noundef %241)
  %245 = load double, ptr %244, align 8, !tbaa !30
  %246 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0211) #6
  %247 = load double, ptr %246, align 8, !tbaa !30
  %248 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.0211) #6
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %248, i32 noundef %241)
  %250 = load double, ptr %249, align 8, !tbaa !30
  %251 = fsub double %247, %250
  %252 = call double @llvm.fmuladd.f64(double %146, double %251, double %245)
  %253 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %.0211) #6
  %254 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24) %253, i32 noundef %242)
  store double %252, ptr %254, align 8, !tbaa !30
  %255 = add nuw i64 %.0211, 1
  %256 = load i64, ptr %11, align 8, !tbaa !24
  %257 = icmp ult i64 %255, %256
  br i1 %257, label %.lr.ph212, label %.loopexit, !llvm.loop !40

.loopexit:                                        ; preds = %.lr.ph208, %.lr.ph210, %.lr.ph212, %.lr.ph214, %.preheader204, %.preheader202, %.preheader200, %.preheader, %237
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  %258 = load i64, ptr %9, align 8, !tbaa !5
  %259 = add i64 %258, -1
  %260 = icmp ugt i64 %259, %indvars.iv.next
  br i1 %260, label %20, label %._crit_edge218, !llvm.loop !41

261:                                              ; preds = %189, %187
  %.pn = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %262

262:                                              ; preds = %261, %185
  %.pn.pn = phi { ptr, i32 } [ %.pn, %261 ], [ %186, %185 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13RiemannSolver13toMaxVelocityEd(ptr noundef nonnull align 8 dereferenceable(88), double noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress 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 void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(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 8 dereferenceable(24) ptr @_ZNSt6vectorI6MatrixSaIS0_EEixEm(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 8 dereferenceable(8) ptr @_ZN6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 8}
!6 = !{!"_ZTS16SystemOfEquation", !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !17, i64 120, !19, i64 192, !20, i64 200, !20, i64 224, !20, i64 248, !20, i64 272}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS7Mixture", !11, i64 0, !16, i64 24}
!11 = !{!"_ZTSSt6vectorI16MixtureComponentSaIS0_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseI16MixtureComponentSaIS0_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseI16MixtureComponentSaIS0_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseI16MixtureComponentSaIS0_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!"_ZTS12solverParams", !16, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !16, i64 48, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !16, i64 68}
!18 = !{!"double", !8, i64 0}
!19 = !{!"_ZTS20SystemOfEquationType", !8, i64 0}
!20 = !{!"_ZTSSt6vectorI6MatrixSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseI6MatrixSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI6MatrixSaIS0_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI6MatrixSaIS0_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!24 = !{!6, !7, i64 48}
!25 = !{!26, !26, i64 0}
!26 = !{!"vtable pointer", !9, i64 0}
!27 = !{!28, !18, i64 40}
!28 = !{!"_ZTS13RiemannSolver", !18, i64 8, !17, i64 16}
!29 = !{!"branch_weights", i32 1, i32 1048575}
!30 = !{!18, !18, i64 0}
!31 = !{!6, !7, i64 16}
!32 = !{!6, !7, i64 24}
!33 = !{!6, !7, i64 32}
!34 = !{!6, !7, i64 40}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = distinct !{!37, !36}
!38 = distinct !{!38, !36}
!39 = distinct !{!39, !36}
!40 = distinct !{!40, !36}
!41 = distinct !{!41, !36}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LibCallsShrinkWrapPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass