; LLVM IR from Yinxiaoli/iros2015_folding :: src/folding_planner/src (Registration)

; 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.Eigen::CwiseBinaryOp.121" = type <{ ptr, %"class.Eigen::CwiseUnaryOp.128", [8 x i8] }>
%"class.Eigen::CwiseUnaryOp.128" = type { ptr, %"struct.Eigen::internal::scalar_multiple_op" }
%"struct.Eigen::internal::scalar_multiple_op" = type { double }
%"class.Eigen::GeneralProduct" = type { %"class.Eigen::ProductBase" }
%"class.Eigen::ProductBase" = type { %"class.Eigen::Transpose", ptr, %"class.Eigen::Matrix.71" }
%"class.Eigen::Transpose" = type { ptr }
%"class.Eigen::Matrix.71" = type { %"class.Eigen::PlainObjectBase.72" }
%"class.Eigen::PlainObjectBase.72" = type { %"class.Eigen::DenseStorage.80" }
%"class.Eigen::DenseStorage.80" = type { ptr, i64, i64 }
%"struct.Eigen::internal::solve_retval" = type { %"struct.Eigen::internal::solve_retval_base" }
%"struct.Eigen::internal::solve_retval_base" = type { ptr, %"class.Eigen::CwiseUnaryOp.154" }
%"class.Eigen::CwiseUnaryOp.154" = type <{ ptr, [8 x i8] }>
%"class.Eigen::LDLT" = type <{ %"class.Eigen::Matrix.71", %"class.Eigen::Transpositions", %"class.Eigen::Matrix.27", i32, i8, [3 x i8] }>
%"class.Eigen::Transpositions" = type { %"class.Eigen::Matrix.37" }
%"class.Eigen::Matrix.37" = type { %"class.Eigen::PlainObjectBase.38" }
%"class.Eigen::PlainObjectBase.38" = type { %"class.Eigen::DenseStorage.46" }
%"class.Eigen::DenseStorage.46" = type { ptr, i64 }
%"class.Eigen::Matrix.27" = type { %"class.Eigen::PlainObjectBase.28" }
%"class.Eigen::PlainObjectBase.28" = type { %"class.Eigen::DenseStorage.36" }
%"class.Eigen::DenseStorage.36" = type { ptr, i64 }
%"class.Eigen::GeneralProduct.161" = type { %"class.Eigen::ProductBase.162" }
%"class.Eigen::ProductBase.162" = type { %"class.Eigen::Transpose", ptr, %"class.Eigen::Matrix.27" }
%"class.Eigen::GeneralProduct.168" = type { %"class.Eigen::ProductBase.169" }
%"class.Eigen::ProductBase.169" = type { ptr, ptr, %"class.Eigen::Matrix.27" }
%struct.SSolverVars = type { i32, double, %struct.SVar, %struct.SVar, i32, i32, i32, %"class.Eigen::Matrix.71", double, %"class.Eigen::Matrix.27", %"class.Eigen::Matrix.27", %"class.Eigen::Matrix.71", %"class.Eigen::Matrix.27", double, %"class.Eigen::Matrix.71", i8, i32 }
%struct.SVar = type { %"class.Eigen::Matrix.53", %"class.Eigen::Matrix.27" }
%"class.Eigen::Matrix.53" = type { %"class.Eigen::PlainObjectBase.54" }
%"class.Eigen::PlainObjectBase.54" = type { %"class.Eigen::DenseStorage.62" }
%"class.Eigen::DenseStorage.62" = type { ptr, i64 }
%struct.SParameters = type { double, double, double, double, %"struct._BlueTail::_Image::SImage", %struct.SRegion, i32, double, double, double, double, i32, double }
%"struct._BlueTail::_Image::SImage" = type { i32, i32, ptr }
%struct.SRegion = type { double, double, double, double }

@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

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

; 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)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z13ComputeEnergyPK11SParametersPK6SCurveRK4SVar(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9Compute_fPK11SParametersPK6SCurveRK4SVarRN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z26ComputeNumericalDerivativePK11SParametersPK6SCurveRK4SVardRN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEE(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32), double noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z26SecantLMMethodSingleUpdatePK11SParametersPK6SCurveRK4SVarR11SSolverVarsRS5_(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(240) %3, ptr noundef nonnull align 8 dereferenceable(32) %4) #3 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.Eigen::CwiseBinaryOp.121", align 8
  %13 = alloca %"class.Eigen::GeneralProduct", align 8
  %14 = alloca %"class.Eigen::Transpose", align 8
  %15 = alloca %"class.Eigen::CwiseUnaryOp.128", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"struct.Eigen::internal::solve_retval", align 8
  %19 = alloca %"class.Eigen::LDLT", align 8
  %20 = alloca %"class.Eigen::CwiseUnaryOp.154", align 8
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.Eigen::GeneralProduct.161", align 8
  %26 = alloca %"class.Eigen::Transpose", align 8
  %27 = alloca %"class.Eigen::GeneralProduct.168", align 8
  %28 = alloca %"class.Eigen::GeneralProduct", align 8
  %29 = alloca %"class.Eigen::Transpose", align 8
  %30 = alloca double, align 8
  %31 = alloca %"class.Eigen::GeneralProduct.161", align 8
  %32 = alloca %"class.Eigen::Transpose", align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.SSolverVars, ptr %35, i32 0, i32 15
  %37 = load i8, ptr %36, align 8, !tbaa !9, !range !25, !noundef !26
  %38 = trunc i8 %37 to i1
  br i1 %38, label %47, label %39

39:                                               ; preds = %5
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.SSolverVars, ptr %40, i32 0, i32 0
  %42 = load i32, ptr %41, align 8, !tbaa !27
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.SParameters, ptr %43, i32 0, i32 6
  %45 = load i32, ptr %44, align 8, !tbaa !28
  %46 = icmp sgt i32 %42, %45
  br i1 %46, label %47, label %48

47:                                               ; preds = %39, %5
  store i1 true, ptr %6, align 1
  br label %347

48:                                               ; preds = %39
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.SSolverVars, ptr %49, i32 0, i32 0
  %51 = load i32, ptr %50, align 8, !tbaa !27
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %50, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.SSolverVars, ptr %53, i32 0, i32 7
  %55 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %54)
  %56 = getelementptr inbounds %"class.Eigen::Transpose", ptr %14, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.SSolverVars, ptr %57, i32 0, i32 7
  call void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlIS3_EEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S8_EE5valueEE4TypeERKNS0_IS8_EE(ptr dead_on_unwind writable sret(%"class.Eigen::GeneralProduct") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %58)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.SSolverVars, ptr %59, i32 0, i32 13
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.SSolverVars, ptr %61, i32 0, i32 14
  invoke void @_ZN5EigenmlERKdRKNS_10MatrixBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseUnaryOp.128") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %63 unwind label %98

63:                                               ; preds = %48
  invoke void @_ZNK5Eigen10MatrixBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEEEplINS_12CwiseUnaryOpINS_8internal18scalar_multiple_opIdEEKS4_EEEEKNS_13CwiseBinaryOpINSA_13scalar_sum_opIdEEKS6_KT_EERKNS0_ISJ_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.121") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) %13, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %64 unwind label %98

64:                                               ; preds = %63
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.SSolverVars, ptr %65, i32 0, i32 11
  %67 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKNS_14GeneralProductINS_9TransposeIS1_EES1_Li5EEEKNS_12CwiseUnaryOpINS4_18scalar_multiple_opIdEEKS1_EEEEEERS1_RKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %68 unwind label %98

68:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #6
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.SSolverVars, ptr %69, i32 0, i32 11
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4ldltEv(ptr dead_on_unwind writable sret(%"class.Eigen::LDLT") align 8 %19, ptr noundef nonnull align 1 dereferenceable(1) %70)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.SSolverVars, ptr %71, i32 0, i32 9
  invoke void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEngEv(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseUnaryOp.154") align 8 %20, ptr noundef nonnull align 1 dereferenceable(1) %72)
          to label %73 unwind label %102

73:                                               ; preds = %68
  invoke void @_ZNK5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EE5solveINS_12CwiseUnaryOpINS_8internal18scalar_opposite_opIdEEKNS1_IdLin1ELi1ELi0ELin1ELi1EEEEEEEKNS6_12solve_retvalIS3_T_EERKNS_10MatrixBaseISD_EE(ptr dead_on_unwind writable sret(%"struct.Eigen::internal::solve_retval") align 8 %18, ptr noundef nonnull align 8 dereferenceable(61) %19, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %74 unwind label %102

74:                                               ; preds = %73
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.SSolverVars, ptr %75, i32 0, i32 12
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEaSINS_8internal17solve_retval_baseINS_4LDLTINS0_IdLin1ELin1ELi0ELin1ELin1EEELi1EEENS_12CwiseUnaryOpINS3_18scalar_opposite_opIdEEKS1_EEEEEERS1_RKNS_13ReturnByValueIT_EE(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %78 unwind label %102

78:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @_ZN5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(61) %19) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.SSolverVars, ptr %79, i32 0, i32 12
  %81 = call noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %80)
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.SParameters, ptr %82, i32 0, i32 8
  %84 = load double, ptr %83, align 8, !tbaa !32
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.SSolverVars, ptr %85, i32 0, i32 2
  %87 = getelementptr inbounds %struct.SVar, ptr %86, i32 0, i32 0
  %88 = call noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %87)
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SParameters, ptr %89, i32 0, i32 8
  %91 = load double, ptr %90, align 8, !tbaa !32
  %92 = fadd double %88, %91
  %93 = fmul double %84, %92
  %94 = fcmp ole double %81, %93
  br i1 %94, label %95, label %106

95:                                               ; preds = %78
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.SSolverVars, ptr %96, i32 0, i32 15
  store i8 1, ptr %97, align 8, !tbaa !9
  br label %163

98:                                               ; preds = %64, %63, %48
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %16, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  br label %349

102:                                              ; preds = %74, %73, %68
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %16, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @_ZN5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(61) %19) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  br label %349

106:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !33
  br label %107

107:                                              ; preds = %159, %106
  %108 = load i32, ptr %21, align 4, !tbaa !33
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.SSolverVars, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %110, align 8, !tbaa !34
  %112 = icmp slt i32 %108, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %162

114:                                              ; preds = %107
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.SSolverVars, ptr %115, i32 0, i32 2
  %117 = getelementptr inbounds %struct.SVar, ptr %116, i32 0, i32 0
  %118 = load i32, ptr %21, align 4, !tbaa !33
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %117, i64 noundef 0, i64 noundef %119)
  %121 = load double, ptr %120, align 8, !tbaa !35
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.SSolverVars, ptr %122, i32 0, i32 12
  %124 = load i32, ptr %21, align 4, !tbaa !33
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %123, i64 noundef %125)
  %127 = load double, ptr %126, align 8, !tbaa !35
  %128 = fadd double %121, %127
  %129 = load ptr, ptr %10, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.SSolverVars, ptr %129, i32 0, i32 3
  %131 = getelementptr inbounds %struct.SVar, ptr %130, i32 0, i32 0
  %132 = load i32, ptr %21, align 4, !tbaa !33
  %133 = sext i32 %132 to i64
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %131, i64 noundef 0, i64 noundef %133)
  store double %128, ptr %134, align 8, !tbaa !35
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.SSolverVars, ptr %135, i32 0, i32 2
  %137 = getelementptr inbounds %struct.SVar, ptr %136, i32 0, i32 0
  %138 = load i32, ptr %21, align 4, !tbaa !33
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %137, i64 noundef 1, i64 noundef %139)
  %141 = load double, ptr %140, align 8, !tbaa !35
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.SSolverVars, ptr %142, i32 0, i32 12
  %144 = load i32, ptr %21, align 4, !tbaa !33
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.SSolverVars, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %146, align 8, !tbaa !34
  %148 = add nsw i32 %144, %147
  %149 = sext i32 %148 to i64
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %143, i64 noundef %149)
  %151 = load double, ptr %150, align 8, !tbaa !35
  %152 = fadd double %141, %151
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.SSolverVars, ptr %153, i32 0, i32 3
  %155 = getelementptr inbounds %struct.SVar, ptr %154, i32 0, i32 0
  %156 = load i32, ptr %21, align 4, !tbaa !33
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %155, i64 noundef 1, i64 noundef %157)
  store double %152, ptr %158, align 8, !tbaa !35
  br label %159

159:                                              ; preds = %114
  %160 = load i32, ptr %21, align 4, !tbaa !33
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %21, align 4, !tbaa !33
  br label %107, !llvm.loop !36

162:                                              ; preds = %113
  br label %163

163:                                              ; preds = %162, %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = load ptr, ptr %10, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.SSolverVars, ptr %166, i32 0, i32 3
  %168 = call noundef double @_Z13ComputeEnergyPK11SParametersPK6SCurveRK4SVar(ptr noundef %164, ptr noundef %165, ptr noundef nonnull align 8 dereferenceable(32) %167)
  %169 = fmul double 5.000000e-01, %168
  store double %169, ptr %22, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = load ptr, ptr %10, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.SSolverVars, ptr %172, i32 0, i32 2
  %174 = call noundef double @_Z13ComputeEnergyPK11SParametersPK6SCurveRK4SVar(ptr noundef %170, ptr noundef %171, ptr noundef nonnull align 8 dereferenceable(32) %173)
  %175 = fmul double 5.000000e-01, %174
  store double %175, ptr %23, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %176 = load ptr, ptr %10, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.SSolverVars, ptr %176, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.SSolverVars, ptr %178, i32 0, i32 7
  %180 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %179)
  %181 = getelementptr inbounds %"class.Eigen::Transpose", ptr %26, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  %182 = load ptr, ptr %10, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.SSolverVars, ptr %182, i32 0, i32 10
  call void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlINS2_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S9_EE5valueEE4TypeERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::GeneralProduct.161") align 8 %25, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %183)
  %184 = invoke noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE3dotINS_14GeneralProductINS_9TransposeINS1_IdLin1ELin1ELi0ELin1ELin1EEEEES2_Li4EEEEENS_8internal21scalar_product_traitsIdNSA_6traitsIT_E6ScalarEE10ReturnTypeERKNS0_ISD_EE(ptr noundef nonnull align 1 dereferenceable(1) %177, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %185 unwind label %278

185:                                              ; preds = %163
  %186 = fneg double %184
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.SSolverVars, ptr %187, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %189 = load ptr, ptr %10, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.SSolverVars, ptr %189, i32 0, i32 7
  %191 = invoke ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %190)
          to label %192 unwind label %282

192:                                              ; preds = %185
  %193 = getelementptr inbounds %"class.Eigen::Transpose", ptr %29, i32 0, i32 0
  store ptr %191, ptr %193, align 8
  %194 = load ptr, ptr %10, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.SSolverVars, ptr %194, i32 0, i32 7
  invoke void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlIS3_EEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S8_EE5valueEE4TypeERKNS0_IS8_EE(ptr dead_on_unwind writable sret(%"class.Eigen::GeneralProduct") align 8 %28, ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef nonnull align 1 dereferenceable(1) %195)
          to label %196 unwind label %282

196:                                              ; preds = %192
  %197 = load ptr, ptr %10, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.SSolverVars, ptr %197, i32 0, i32 12
  invoke void @_ZNK5Eigen10MatrixBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEEEmlINS3_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS6_T_Xsr8internal12product_typeIS6_SB_EE5valueEE4TypeERKNS0_ISB_EE(ptr dead_on_unwind writable sret(%"class.Eigen::GeneralProduct.168") align 8 %27, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %198)
          to label %199 unwind label %286

199:                                              ; preds = %196
  %200 = invoke noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE3dotINS_14GeneralProductINS5_INS_9TransposeINS1_IdLin1ELin1ELi0ELin1ELin1EEEEES7_Li5EEES2_Li4EEEEENS_8internal21scalar_product_traitsIdNSB_6traitsIT_E6ScalarEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1) %188, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %201 unwind label %290

201:                                              ; preds = %199
  %202 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %200, double %186)
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS1_INS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES6_S7_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  store double %202, ptr %24, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %203 = load double, ptr %23, align 8, !tbaa !35
  %204 = load double, ptr %22, align 8, !tbaa !35
  %205 = fsub double %203, %204
  %206 = load double, ptr %24, align 8, !tbaa !35
  %207 = fdiv double %205, %206
  store double %207, ptr %30, align 8, !tbaa !35
  %208 = load double, ptr %30, align 8, !tbaa !35
  %209 = fcmp ogt double %208, 0.000000e+00
  br i1 %209, label %210, label %301

210:                                              ; preds = %201
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.SSolverVars, ptr %211, i32 0, i32 3
  %213 = load ptr, ptr %10, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.SSolverVars, ptr %213, i32 0, i32 2
  %215 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN4SVaraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %214, ptr noundef nonnull align 8 dereferenceable(32) %212)
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = load ptr, ptr %8, align 8, !tbaa !5
  %218 = load ptr, ptr %10, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.SSolverVars, ptr %218, i32 0, i32 2
  %220 = load ptr, ptr %10, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.SSolverVars, ptr %220, i32 0, i32 10
  call void @_Z9Compute_fPK11SParametersPK6SCurveRK4SVarRN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE(ptr noundef %216, ptr noundef %217, ptr noundef nonnull align 8 dereferenceable(32) %219, ptr noundef nonnull align 8 dereferenceable(16) %221)
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = load ptr, ptr %8, align 8, !tbaa !5
  %224 = load ptr, ptr %10, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.SSolverVars, ptr %224, i32 0, i32 2
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.SSolverVars, ptr %226, i32 0, i32 8
  %228 = load double, ptr %227, align 8, !tbaa !38
  %229 = load ptr, ptr %10, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.SSolverVars, ptr %229, i32 0, i32 7
  call void @_Z26ComputeNumericalDerivativePK11SParametersPK6SCurveRK4SVardRN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEE(ptr noundef %222, ptr noundef %223, ptr noundef nonnull align 8 dereferenceable(32) %225, double noundef %228, ptr noundef nonnull align 8 dereferenceable(24) %230)
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %231 = load ptr, ptr %10, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.SSolverVars, ptr %231, i32 0, i32 7
  %233 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %232)
  %234 = getelementptr inbounds %"class.Eigen::Transpose", ptr %32, i32 0, i32 0
  store ptr %233, ptr %234, align 8
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.SSolverVars, ptr %235, i32 0, i32 10
  call void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlINS2_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S9_EE5valueEE4TypeERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::GeneralProduct.161") align 8 %31, ptr noundef nonnull align 1 dereferenceable(1) %32, ptr noundef nonnull align 1 dereferenceable(1) %236)
  %237 = load ptr, ptr %10, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.SSolverVars, ptr %237, i32 0, i32 9
  %239 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEaSINS_14GeneralProductINS_9TransposeINS0_IdLin1ELin1ELi0ELin1ELin1EEEEES1_Li4EEEEERS1_RKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(16) %238, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %240 unwind label %297

240:                                              ; preds = %210
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.SSolverVars, ptr %241, i32 0, i32 9
  %243 = call noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE6lpNormILin1EEEdv(ptr noundef nonnull align 1 dereferenceable(1) %242)
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.SParameters, ptr %244, i32 0, i32 7
  %246 = load double, ptr %245, align 8, !tbaa !39
  %247 = fcmp ole double %243, %246
  %248 = load ptr, ptr %10, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.SSolverVars, ptr %248, i32 0, i32 15
  %250 = zext i1 %247 to i8
  store i8 %250, ptr %249, align 8, !tbaa !9
  %251 = load ptr, ptr %10, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.SSolverVars, ptr %251, i32 0, i32 0
  %253 = load i32, ptr %252, align 8, !tbaa !27
  %254 = load double, ptr %30, align 8, !tbaa !35
  %255 = load ptr, ptr %10, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.SSolverVars, ptr %255, i32 0, i32 9
  %257 = call noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE6lpNormILin1EEEdv(ptr noundef nonnull align 1 dereferenceable(1) %256)
  %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %253, double noundef %254, double noundef %257)
  %259 = load ptr, ptr %10, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.SSolverVars, ptr %259, i32 0, i32 13
  %261 = load double, ptr %260, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  store double 0x3FD5555555555555, ptr %33, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %262 = load double, ptr %30, align 8, !tbaa !35
  %263 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %262, double -1.000000e+00)
  %264 = load double, ptr %30, align 8, !tbaa !35
  %265 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %264, double -1.000000e+00)
  %266 = fmul double %263, %265
  %267 = load double, ptr %30, align 8, !tbaa !35
  %268 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %267, double -1.000000e+00)
  %269 = fneg double %266
  %270 = call double @llvm.fmuladd.f64(double %269, double %268, double 1.000000e+00)
  store double %270, ptr %34, align 8, !tbaa !35
  %271 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34)
  %272 = load double, ptr %271, align 8, !tbaa !35
  %273 = fmul double %261, %272
  %274 = load ptr, ptr %10, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.SSolverVars, ptr %274, i32 0, i32 13
  store double %273, ptr %275, align 8, !tbaa !40
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  %276 = load ptr, ptr %10, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.SSolverVars, ptr %276, i32 0, i32 1
  store double 2.000000e+00, ptr %277, align 8, !tbaa !41
  br label %317

278:                                              ; preds = %163
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %16, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %17, align 4
  br label %296

282:                                              ; preds = %192, %185
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %16, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %17, align 4
  br label %295

286:                                              ; preds = %196
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %16, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %17, align 4
  br label %294

290:                                              ; preds = %199
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %16, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %17, align 4
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS1_INS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES6_S7_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %294

294:                                              ; preds = %290, %286
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #6
  br label %295

295:                                              ; preds = %294, %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  br label %296

296:                                              ; preds = %295, %278
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  br label %346

297:                                              ; preds = %210
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %16, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %17, align 4
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %346

301:                                              ; preds = %201
  %302 = load ptr, ptr %10, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.SSolverVars, ptr %302, i32 0, i32 13
  %304 = load double, ptr %303, align 8, !tbaa !40
  %305 = load ptr, ptr %10, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.SSolverVars, ptr %305, i32 0, i32 1
  %307 = load double, ptr %306, align 8, !tbaa !41
  %308 = fmul double %304, %307
  %309 = load ptr, ptr %10, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.SSolverVars, ptr %309, i32 0, i32 13
  store double %308, ptr %310, align 8, !tbaa !40
  %311 = load ptr, ptr %10, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.SSolverVars, ptr %311, i32 0, i32 1
  %313 = load double, ptr %312, align 8, !tbaa !41
  %314 = fmul double %313, 2.000000e+00
  %315 = load ptr, ptr %10, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.SSolverVars, ptr %315, i32 0, i32 1
  store double %314, ptr %316, align 8, !tbaa !41
  br label %317

317:                                              ; preds = %301, %240
  %318 = load ptr, ptr %10, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.SSolverVars, ptr %318, i32 0, i32 15
  %320 = load i8, ptr %319, align 8, !tbaa !9, !range !25, !noundef !26
  %321 = trunc i8 %320 to i1
  br i1 %321, label %322, label %327

322:                                              ; preds = %317
  %323 = load ptr, ptr %10, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.SSolverVars, ptr %323, i32 0, i32 0
  %325 = load i32, ptr %324, align 8, !tbaa !27
  %326 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %325)
  br label %327

327:                                              ; preds = %322, %317
  %328 = load ptr, ptr %10, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.SSolverVars, ptr %328, i32 0, i32 2
  %330 = load ptr, ptr %11, align 8, !tbaa !5
  %331 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN4SVaraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %330, ptr noundef nonnull align 8 dereferenceable(32) %329)
  %332 = load ptr, ptr %10, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.SSolverVars, ptr %332, i32 0, i32 15
  %334 = load i8, ptr %333, align 8, !tbaa !9, !range !25, !noundef !26
  %335 = trunc i8 %334 to i1
  br i1 %335, label %344, label %336

336:                                              ; preds = %327
  %337 = load ptr, ptr %10, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.SSolverVars, ptr %337, i32 0, i32 0
  %339 = load i32, ptr %338, align 8, !tbaa !27
  %340 = load ptr, ptr %7, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.SParameters, ptr %340, i32 0, i32 6
  %342 = load i32, ptr %341, align 8, !tbaa !28
  %343 = icmp sgt i32 %339, %342
  br label %344

344:                                              ; preds = %336, %327
  %345 = phi i1 [ true, %327 ], [ %343, %336 ]
  store i1 %345, ptr %6, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #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
  br label %347

346:                                              ; preds = %297, %296
  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
  br label %349

347:                                              ; preds = %344, %47
  %348 = load i1, ptr %6, align 1
  ret i1 %348

349:                                              ; preds = %346, %102, %98
  %350 = load ptr, ptr %16, align 8
  %351 = load i32, ptr %17, align 4
  %352 = insertvalue { ptr, i32 } poison, ptr %350, 0
  %353 = insertvalue { ptr, i32 } %352, i32 %351, 1
  resume { ptr, i32 } %353
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlIS3_EEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S8_EE5valueEE4TypeERKNS0_IS8_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::GeneralProduct") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEEEplINS_12CwiseUnaryOpINS_8internal18scalar_multiple_opIdEEKS4_EEEEKNS_13CwiseBinaryOpINSA_13scalar_sum_opIdEEKS6_KT_EERKNS0_ISJ_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.121") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5EigenmlERKdRKNS_10MatrixBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseUnaryOp.128") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKNS_14GeneralProductINS_9TransposeIS1_EES1_Li5EEEKNS_12CwiseUnaryOpINS4_18scalar_multiple_opIdEEKS1_EEEEEERS1_RKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4ldltEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::LDLT") align 8, ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EE5solveINS_12CwiseUnaryOpINS_8internal18scalar_opposite_opIdEEKNS1_IdLin1ELi1ELi0ELin1ELi1EEEEEEEKNS6_12solve_retvalIS3_T_EERKNS_10MatrixBaseISD_EE(ptr dead_on_unwind noalias writable sret(%"struct.Eigen::internal::solve_retval") align 8, ptr noundef nonnull align 8 dereferenceable(61), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEngEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseUnaryOp.154") align 8, ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEaSINS_8internal17solve_retval_baseINS_4LDLTINS0_IdLin1ELin1ELi0ELin1ELin1EEELi1EEENS_12CwiseUnaryOpINS3_18scalar_opposite_opIdEEKS1_EEEEEERS1_RKNS_13ReturnByValueIT_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(61)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE3dotINS_14GeneralProductINS_9TransposeINS1_IdLin1ELin1ELi0ELin1ELin1EEEEES2_Li4EEEEENS_8internal21scalar_product_traitsIdNSA_6traitsIT_E6ScalarEE10ReturnTypeERKNS0_ISD_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlINS2_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S9_EE5valueEE4TypeERKNS0_IS9_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::GeneralProduct.161") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE3dotINS_14GeneralProductINS5_INS_9TransposeINS1_IdLin1ELin1ELi0ELin1ELin1EEEEES7_Li5EEES2_Li4EEEEENS_8internal21scalar_product_traitsIdNSB_6traitsIT_E6ScalarEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEEEmlINS3_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS6_T_Xsr8internal12product_typeIS6_SB_EE5valueEE4TypeERKNS0_ISB_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::GeneralProduct.168") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS1_INS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES6_S7_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEaSINS_14GeneralProductINS_9TransposeINS0_IdLin1ELin1ELi0ELin1ELin1EEEEES1_Li4EEEEERS1_RKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE6lpNormILin1EEEdv(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

declare i32 @printf(ptr noundef, ...) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { 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 #4 = { inlinehint 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 #5 = { "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 #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, !24, i64 232}
!10 = !{!"_ZTS11SSolverVars", !11, i64 0, !12, i64 8, !13, i64 16, !13, i64 48, !11, i64 80, !11, i64 84, !11, i64 88, !21, i64 96, !12, i64 120, !18, i64 128, !18, i64 144, !21, i64 160, !18, i64 184, !12, i64 200, !21, i64 208, !24, i64 232, !11, i64 236}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"_ZTS4SVar", !14, i64 0, !18, i64 16}
!14 = !{!"_ZTSN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEE", !15, i64 0}
!15 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEEE", !16, i64 0}
!16 = !{!"_ZTSN5Eigen12DenseStorageIdLin1ELi2ELin1ELi0EEE", !6, i64 0, !17, i64 8}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE", !19, i64 0}
!19 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEE", !20, i64 0}
!20 = !{!"_ZTSN5Eigen12DenseStorageIdLin1ELin1ELi1ELi0EEE", !6, i64 0, !17, i64 8}
!21 = !{!"_ZTSN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEE", !22, i64 0}
!22 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEE", !23, i64 0}
!23 = !{!"_ZTSN5Eigen12DenseStorageIdLin1ELin1ELin1ELi0EEE", !6, i64 0, !17, i64 8, !17, i64 16}
!24 = !{!"bool", !7, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!10, !11, i64 0}
!28 = !{!29, !11, i64 80}
!29 = !{!"_ZTS11SParameters", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !30, i64 32, !31, i64 48, !11, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !11, i64 120, !12, i64 128}
!30 = !{!"_ZTSN9_BlueTail6_Image6SImageIdLi1EEE", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS7SRegion", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!32 = !{!29, !12, i64 96}
!33 = !{!11, !11, i64 0}
!34 = !{!10, !11, i64 88}
!35 = !{!12, !12, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!10, !12, i64 120}
!39 = !{!29, !12, i64 88}
!40 = !{!10, !12, i64 200}
!41 = !{!10, !12, i64 8}


; 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.Eigen::CwiseBinaryOp.121" = type <{ ptr, %"class.Eigen::CwiseUnaryOp.128", [8 x i8] }>
%"class.Eigen::CwiseUnaryOp.128" = type { ptr, %"struct.Eigen::internal::scalar_multiple_op" }
%"struct.Eigen::internal::scalar_multiple_op" = type { double }
%"class.Eigen::GeneralProduct" = type { %"class.Eigen::ProductBase" }
%"class.Eigen::ProductBase" = type { %"class.Eigen::Transpose", ptr, %"class.Eigen::Matrix.71" }
%"class.Eigen::Transpose" = type { ptr }
%"class.Eigen::Matrix.71" = type { %"class.Eigen::PlainObjectBase.72" }
%"class.Eigen::PlainObjectBase.72" = type { %"class.Eigen::DenseStorage.80" }
%"class.Eigen::DenseStorage.80" = type { ptr, i64, i64 }
%"struct.Eigen::internal::solve_retval" = type { %"struct.Eigen::internal::solve_retval_base" }
%"struct.Eigen::internal::solve_retval_base" = type { ptr, %"class.Eigen::CwiseUnaryOp.154" }
%"class.Eigen::CwiseUnaryOp.154" = type <{ ptr, [8 x i8] }>
%"class.Eigen::LDLT" = type <{ %"class.Eigen::Matrix.71", %"class.Eigen::Transpositions", %"class.Eigen::Matrix.27", i32, i8, [3 x i8] }>
%"class.Eigen::Transpositions" = type { %"class.Eigen::Matrix.37" }
%"class.Eigen::Matrix.37" = type { %"class.Eigen::PlainObjectBase.38" }
%"class.Eigen::PlainObjectBase.38" = type { %"class.Eigen::DenseStorage.46" }
%"class.Eigen::DenseStorage.46" = type { ptr, i64 }
%"class.Eigen::Matrix.27" = type { %"class.Eigen::PlainObjectBase.28" }
%"class.Eigen::PlainObjectBase.28" = type { %"class.Eigen::DenseStorage.36" }
%"class.Eigen::DenseStorage.36" = type { ptr, i64 }
%"class.Eigen::GeneralProduct.161" = type { %"class.Eigen::ProductBase.162" }
%"class.Eigen::ProductBase.162" = type { %"class.Eigen::Transpose", ptr, %"class.Eigen::Matrix.27" }
%"class.Eigen::GeneralProduct.168" = type { %"class.Eigen::ProductBase.169" }
%"class.Eigen::ProductBase.169" = type { ptr, ptr, %"class.Eigen::Matrix.27" }

@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

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

; 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 #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z13ComputeEnergyPK11SParametersPK6SCurveRK4SVar(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9Compute_fPK11SParametersPK6SCurveRK4SVarRN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z26ComputeNumericalDerivativePK11SParametersPK6SCurveRK4SVardRN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEE(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32), double noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z26SecantLMMethodSingleUpdatePK11SParametersPK6SCurveRK4SVarR11SSolverVarsRS5_(ptr noundef %0, ptr noundef %1, ptr nocapture noundef nonnull readnone align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(240) %3, ptr noundef nonnull align 8 dereferenceable(32) %4) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.Eigen::CwiseBinaryOp.121", align 8
  %7 = alloca %"class.Eigen::GeneralProduct", align 8
  %8 = alloca %"class.Eigen::Transpose", align 8
  %9 = alloca %"class.Eigen::CwiseUnaryOp.128", align 8
  %10 = alloca %"struct.Eigen::internal::solve_retval", align 8
  %11 = alloca %"class.Eigen::LDLT", align 8
  %12 = alloca %"class.Eigen::CwiseUnaryOp.154", align 8
  %13 = alloca %"class.Eigen::GeneralProduct.161", align 8
  %14 = alloca %"class.Eigen::Transpose", align 8
  %15 = alloca %"class.Eigen::GeneralProduct.168", align 8
  %16 = alloca %"class.Eigen::GeneralProduct", align 8
  %17 = alloca %"class.Eigen::Transpose", align 8
  %18 = alloca %"class.Eigen::GeneralProduct.161", align 8
  %19 = alloca %"class.Eigen::Transpose", align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = getelementptr inbounds i8, ptr %3, i64 232
  %23 = load i8, ptr %22, align 8, !tbaa !5, !range !24, !noundef !25
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %162, label %25

25:                                               ; preds = %5
  %26 = load i32, ptr %3, align 8, !tbaa !26
  %27 = getelementptr inbounds i8, ptr %0, i64 80
  %28 = load i32, ptr %27, align 8, !tbaa !27
  %29 = icmp sgt i32 %26, %28
  br i1 %29, label %162, label %30

30:                                               ; preds = %25
  %31 = add nsw i32 %26, 1
  store i32 %31, ptr %3, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %32 = getelementptr inbounds i8, ptr %3, i64 96
  %33 = tail call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %32)
  store ptr %33, ptr %8, align 8
  call void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlIS3_EEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S8_EE5valueEE4TypeERKNS0_IS8_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::GeneralProduct") align 8 %7, ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 1 dereferenceable(1) %32)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %34 = getelementptr inbounds i8, ptr %3, i64 200
  %35 = getelementptr inbounds i8, ptr %3, i64 208
  invoke void @_ZN5EigenmlERKdRKNS_10MatrixBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseUnaryOp.128") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %36 unwind label %61

36:                                               ; preds = %30
  invoke void @_ZNK5Eigen10MatrixBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEEEplINS_12CwiseUnaryOpINS_8internal18scalar_multiple_opIdEEKS4_EEEEKNS_13CwiseBinaryOpINSA_13scalar_sum_opIdEEKS6_KT_EERKNS0_ISJ_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.121") align 8 %6, ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %37 unwind label %61

37:                                               ; preds = %36
  %38 = getelementptr inbounds i8, ptr %3, i64 160
  %39 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKNS_14GeneralProductINS_9TransposeIS1_EES1_Li5EEEKNS_12CwiseUnaryOpINS4_18scalar_multiple_opIdEEKS1_EEEEEERS1_RKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %40 unwind label %61

40:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4ldltEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::LDLT") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %38)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %41 = getelementptr inbounds i8, ptr %3, i64 128
  invoke void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEngEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseUnaryOp.154") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %42 unwind label %63

42:                                               ; preds = %40
  invoke void @_ZNK5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EE5solveINS_12CwiseUnaryOpINS_8internal18scalar_opposite_opIdEEKNS1_IdLin1ELi1ELi0ELin1ELi1EEEEEEEKNS6_12solve_retvalIS3_T_EERKNS_10MatrixBaseISD_EE(ptr dead_on_unwind nonnull writable sret(%"struct.Eigen::internal::solve_retval") align 8 %10, ptr noundef nonnull align 8 dereferenceable(61) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %43 unwind label %63

43:                                               ; preds = %42
  %44 = getelementptr inbounds i8, ptr %3, i64 184
  %45 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEaSINS_8internal17solve_retval_baseINS_4LDLTINS0_IdLin1ELin1ELi0ELin1ELin1EEELi1EEENS_12CwiseUnaryOpINS3_18scalar_opposite_opIdEEKS1_EEEEEERS1_RKNS_13ReturnByValueIT_EE(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %46 unwind label %63

46:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(61) %11) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %47 = call noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %44)
  %48 = getelementptr inbounds i8, ptr %0, i64 96
  %49 = load double, ptr %48, align 8, !tbaa !31
  %50 = getelementptr inbounds i8, ptr %3, i64 16
  %51 = call noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %50)
  %52 = load double, ptr %48, align 8, !tbaa !31
  %53 = fadd double %51, %52
  %54 = fmul double %49, %53
  %55 = fcmp ugt double %47, %54
  br i1 %55, label %.preheader, label %60

.preheader:                                       ; preds = %46
  %56 = getelementptr inbounds i8, ptr %3, i64 88
  %57 = load i32, ptr %56, align 8, !tbaa !32
  %58 = icmp sgt i32 %57, 0
  br i1 %58, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader
  %59 = getelementptr inbounds i8, ptr %3, i64 48
  br label %65

60:                                               ; preds = %46
  store i8 1, ptr %22, align 8, !tbaa !5
  br label %.loopexit

61:                                               ; preds = %37, %36, %30
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %163

63:                                               ; preds = %43, %42, %40
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(61) %11) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %163

65:                                               ; preds = %.lr.ph, %65
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %65 ]
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %50, i64 noundef 0, i64 noundef %indvars.iv)
  %67 = load double, ptr %66, align 8, !tbaa !33
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %44, i64 noundef %indvars.iv)
  %69 = load double, ptr %68, align 8, !tbaa !33
  %70 = fadd double %67, %69
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %59, i64 noundef 0, i64 noundef %indvars.iv)
  store double %70, ptr %71, align 8, !tbaa !33
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %50, i64 noundef 1, i64 noundef %indvars.iv)
  %73 = load double, ptr %72, align 8, !tbaa !33
  %74 = load i32, ptr %56, align 8, !tbaa !32
  %75 = trunc nuw nsw i64 %indvars.iv to i32
  %76 = add nsw i32 %74, %75
  %77 = sext i32 %76 to i64
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %44, i64 noundef %77)
  %79 = load double, ptr %78, align 8, !tbaa !33
  %80 = fadd double %73, %79
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %59, i64 noundef 1, i64 noundef %indvars.iv)
  store double %80, ptr %81, align 8, !tbaa !33
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %82 = load i32, ptr %56, align 8, !tbaa !32
  %83 = sext i32 %82 to i64
  %84 = icmp slt i64 %indvars.iv.next, %83
  br i1 %84, label %65, label %.loopexit, !llvm.loop !34

.loopexit:                                        ; preds = %65, %.preheader, %60
  %85 = getelementptr inbounds i8, ptr %3, i64 48
  %86 = call noundef double @_Z13ComputeEnergyPK11SParametersPK6SCurveRK4SVar(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %85)
  %87 = fmul double %86, 5.000000e-01
  %88 = call noundef double @_Z13ComputeEnergyPK11SParametersPK6SCurveRK4SVar(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %50)
  %89 = fmul double %88, 5.000000e-01
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %90 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %32)
  store ptr %90, ptr %14, align 8
  %91 = getelementptr inbounds i8, ptr %3, i64 144
  call void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlINS2_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S9_EE5valueEE4TypeERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::GeneralProduct.161") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %91)
  %92 = invoke noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE3dotINS_14GeneralProductINS_9TransposeINS1_IdLin1ELin1ELi0ELin1ELin1EEEEES2_Li4EEEEENS_8internal21scalar_product_traitsIdNSA_6traitsIT_E6ScalarEE10ReturnTypeERKNS0_ISD_EE(ptr noundef nonnull align 1 dereferenceable(1) %44, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %93 unwind label %129

93:                                               ; preds = %.loopexit
  %94 = fneg double %92
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %95 = invoke ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %96 unwind label %131

96:                                               ; preds = %93
  store ptr %95, ptr %17, align 8
  invoke void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlIS3_EEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S8_EE5valueEE4TypeERKNS0_IS8_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::GeneralProduct") align 8 %16, ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %97 unwind label %131

97:                                               ; preds = %96
  invoke void @_ZNK5Eigen10MatrixBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEEEmlINS3_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS6_T_Xsr8internal12product_typeIS6_SB_EE5valueEE4TypeERKNS0_ISB_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::GeneralProduct.168") align 8 %15, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %98 unwind label %133

98:                                               ; preds = %97
  %99 = invoke noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE3dotINS_14GeneralProductINS5_INS_9TransposeINS1_IdLin1ELin1ELi0ELin1ELin1EEEEES7_Li5EEES2_Li4EEEEENS_8internal21scalar_product_traitsIdNSB_6traitsIT_E6ScalarEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1) %44, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %100 unwind label %135

100:                                              ; preds = %98
  %101 = call double @llvm.fmuladd.f64(double %99, double -5.000000e-01, double %94)
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS1_INS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES6_S7_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  %102 = fsub double %89, %87
  %103 = fdiv double %102, %101
  %104 = fcmp ogt double %103, 0.000000e+00
  br i1 %104, label %105, label %142

105:                                              ; preds = %100
  %106 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN4SVaraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(32) %85)
  call void @_Z9Compute_fPK11SParametersPK6SCurveRK4SVarRN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(16) %91)
  %107 = getelementptr inbounds i8, ptr %3, i64 120
  %108 = load double, ptr %107, align 8, !tbaa !36
  call void @_Z26ComputeNumericalDerivativePK11SParametersPK6SCurveRK4SVardRN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEE(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %50, double noundef %108, ptr noundef nonnull align 8 dereferenceable(24) %32)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %109 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %32)
  store ptr %109, ptr %19, align 8
  call void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlINS2_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S9_EE5valueEE4TypeERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::GeneralProduct.161") align 8 %18, ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 1 dereferenceable(1) %91)
  %110 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEaSINS_14GeneralProductINS_9TransposeINS0_IdLin1ELin1ELi0ELin1ELin1EEEEES1_Li4EEEEERS1_RKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %111 unwind label %140

111:                                              ; preds = %105
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #6
  %112 = call noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE6lpNormILin1EEEdv(ptr noundef nonnull align 1 dereferenceable(1) %41)
  %113 = getelementptr inbounds i8, ptr %0, i64 88
  %114 = load double, ptr %113, align 8, !tbaa !37
  %115 = fcmp ole double %112, %114
  %116 = zext i1 %115 to i8
  store i8 %116, ptr %22, align 8, !tbaa !5
  %117 = load i32, ptr %3, align 8, !tbaa !26
  %118 = call noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE6lpNormILin1EEEdv(ptr noundef nonnull align 1 dereferenceable(1) %41)
  %119 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %117, double noundef %103, double noundef %118)
  %120 = load double, ptr %34, align 8, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  store double 0x3FD5555555555555, ptr %20, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %121 = call double @llvm.fmuladd.f64(double %103, double 2.000000e+00, double -1.000000e+00)
  %122 = fneg double %121
  %123 = fmul double %121, %122
  %124 = call double @llvm.fmuladd.f64(double %123, double %121, double 1.000000e+00)
  store double %124, ptr %21, align 8, !tbaa !33
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %126 = load double, ptr %125, align 8, !tbaa !33
  %127 = fmul double %120, %126
  store double %127, ptr %34, align 8, !tbaa !38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  %128 = getelementptr inbounds i8, ptr %3, i64 8
  store double 2.000000e+00, ptr %128, align 8, !tbaa !39
  br label %148

129:                                              ; preds = %.loopexit
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %139

131:                                              ; preds = %96, %93
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %138

133:                                              ; preds = %97
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %137

135:                                              ; preds = %98
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS1_INS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES6_S7_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %137

137:                                              ; preds = %135, %133
  %.pn = phi { ptr, i32 } [ %136, %135 ], [ %134, %133 ]
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #6
  br label %138

138:                                              ; preds = %137, %131
  %.pn.pn = phi { ptr, i32 } [ %.pn, %137 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  br label %139

139:                                              ; preds = %138, %129
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %138 ], [ %130, %129 ]
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  br label %163

140:                                              ; preds = %105
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #6
  br label %163

142:                                              ; preds = %100
  %143 = load double, ptr %34, align 8, !tbaa !38
  %144 = getelementptr inbounds i8, ptr %3, i64 8
  %145 = load double, ptr %144, align 8, !tbaa !39
  %146 = fmul double %143, %145
  store double %146, ptr %34, align 8, !tbaa !38
  %147 = fmul double %145, 2.000000e+00
  store double %147, ptr %144, align 8, !tbaa !39
  br label %148

148:                                              ; preds = %142, %111
  %149 = load i8, ptr %22, align 8, !tbaa !5, !range !24, !noundef !25
  %150 = trunc nuw i8 %149 to i1
  br i1 %150, label %151, label %154

151:                                              ; preds = %148
  %152 = load i32, ptr %3, align 8, !tbaa !26
  %153 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %152)
  br label %154

154:                                              ; preds = %151, %148
  %155 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN4SVaraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %50)
  %156 = load i8, ptr %22, align 8, !tbaa !5, !range !24, !noundef !25
  %157 = trunc nuw i8 %156 to i1
  br i1 %157, label %162, label %158

158:                                              ; preds = %154
  %159 = load i32, ptr %3, align 8, !tbaa !26
  %160 = load i32, ptr %27, align 8, !tbaa !27
  %161 = icmp sgt i32 %159, %160
  br label %162

162:                                              ; preds = %154, %158, %5, %25
  %.0 = phi i1 [ true, %25 ], [ true, %5 ], [ true, %154 ], [ %161, %158 ]
  ret i1 %.0

163:                                              ; preds = %139, %140, %63, %61
  %.pn102.pn = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ], [ %141, %140 ], [ %.pn.pn.pn, %139 ]
  resume { ptr, i32 } %.pn102.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5Eigen9DenseBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlIS3_EEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S8_EE5valueEE4TypeERKNS0_IS8_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::GeneralProduct") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEEEplINS_12CwiseUnaryOpINS_8internal18scalar_multiple_opIdEEKS4_EEEEKNS_13CwiseBinaryOpINSA_13scalar_sum_opIdEEKS6_KT_EERKNS0_ISJ_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.121") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5EigenmlERKdRKNS_10MatrixBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseUnaryOp.128") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKNS_14GeneralProductINS_9TransposeIS1_EES1_Li5EEEKNS_12CwiseUnaryOpINS4_18scalar_multiple_opIdEEKS1_EEEEEERS1_RKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEES5_S4_ED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4ldltEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::LDLT") align 8, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EE5solveINS_12CwiseUnaryOpINS_8internal18scalar_opposite_opIdEEKNS1_IdLin1ELi1ELi0ELin1ELi1EEEEEEEKNS6_12solve_retvalIS3_T_EERKNS_10MatrixBaseISD_EE(ptr dead_on_unwind noalias writable sret(%"struct.Eigen::internal::solve_retval") align 8, ptr noundef nonnull align 8 dereferenceable(61), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEngEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseUnaryOp.154") align 8, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEaSINS_8internal17solve_retval_baseINS_4LDLTINS0_IdLin1ELin1ELi0ELin1ELin1EEELi1EEENS_12CwiseUnaryOpINS3_18scalar_opposite_opIdEEKS1_EEEEEERS1_RKNS_13ReturnByValueIT_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen4LDLTINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(61)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE3dotINS_14GeneralProductINS_9TransposeINS1_IdLin1ELin1ELi0ELin1ELin1EEEEES2_Li4EEEEENS_8internal21scalar_product_traitsIdNSA_6traitsIT_E6ScalarEE10ReturnTypeERKNS0_ISD_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEEmlINS2_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS4_T_Xsr8internal12product_typeIS4_S9_EE5valueEE4TypeERKNS0_IS9_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::GeneralProduct.161") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE3dotINS_14GeneralProductINS5_INS_9TransposeINS1_IdLin1ELin1ELi0ELin1ELin1EEEEES7_Li5EEES2_Li4EEEEENS_8internal21scalar_product_traitsIdNSB_6traitsIT_E6ScalarEE10ReturnTypeERKNS0_ISE_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEEEmlINS3_IdLin1ELi1ELi0ELin1ELi1EEEEEKNS_17ProductReturnTypeIS6_T_Xsr8internal12product_typeIS6_SB_EE5valueEE4TypeERKNS0_ISB_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::GeneralProduct.168") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS1_INS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEES4_Li5EEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES6_S7_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen11ProductBaseINS_14GeneralProductINS_9TransposeINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEENS3_IdLin1ELi1ELi0ELin1ELi1EEELi4EEES5_S6_ED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEaSINS_14GeneralProductINS_9TransposeINS0_IdLin1ELin1ELi0ELin1ELin1EEEEES1_Li4EEEEERS1_RKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE6lpNormILin1EEEdv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { 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 #4 = { inlinehint 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 #5 = { nofree 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 #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, !23, i64 232}
!6 = !{!"_ZTS11SSolverVars", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 48, !7, i64 80, !7, i64 84, !7, i64 88, !20, i64 96, !10, i64 120, !17, i64 128, !17, i64 144, !20, i64 160, !17, i64 184, !10, i64 200, !20, i64 208, !23, i64 232, !7, i64 236}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"_ZTS4SVar", !12, i64 0, !17, i64 16}
!12 = !{!"_ZTSN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEE", !13, i64 0}
!13 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEEE", !14, i64 0}
!14 = !{!"_ZTSN5Eigen12DenseStorageIdLin1ELi2ELin1ELi0EEE", !15, i64 0, !16, i64 8}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!"_ZTSN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE", !18, i64 0}
!18 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEE", !19, i64 0}
!19 = !{!"_ZTSN5Eigen12DenseStorageIdLin1ELin1ELi1ELi0EEE", !15, i64 0, !16, i64 8}
!20 = !{!"_ZTSN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEE", !21, i64 0}
!21 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEE", !22, i64 0}
!22 = !{!"_ZTSN5Eigen12DenseStorageIdLin1ELin1ELin1ELi0EEE", !15, i64 0, !16, i64 8, !16, i64 16}
!23 = !{!"bool", !8, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!6, !7, i64 0}
!27 = !{!28, !7, i64 80}
!28 = !{!"_ZTS11SParameters", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !29, i64 32, !30, i64 48, !7, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !7, i64 120, !10, i64 128}
!29 = !{!"_ZTSN9_BlueTail6_Image6SImageIdLi1EEE", !7, i64 0, !7, i64 4, !15, i64 8}
!30 = !{!"_ZTS7SRegion", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!31 = !{!28, !10, i64 96}
!32 = !{!6, !7, i64 88}
!33 = !{!10, !10, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!6, !10, i64 120}
!37 = !{!28, !10, i64 88}
!38 = !{!6, !10, i64 200}
!39 = !{!6, !10, i64 8}


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