; LLVM IR from Gripnook/numerical-methods :: Assignment1/report/src/main.ll (Z9question3v)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.Numeric::Matrix.20" = type { i32, i32, %"class.std::vector.21" }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %"class.Numeric::Matrix.20", %"class.std::vector.26" }
%"class.std::tuple.31" = type { %"struct.std::_Tuple_impl.32" }
%"struct.std::_Tuple_impl.32" = type { %"struct.std::_Tuple_impl.33", %"struct.std::_Head_base.35" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.34" }
%"struct.std::_Head_base.34" = type { ptr }
%"struct.std::_Head_base.35" = type { ptr }
%"struct.std::pair.36" = type <{ %"class.Numeric::Matrix.20", i32, [4 x i8] }>
%"class.std::tuple.38" = type { %"struct.std::_Tuple_impl.39" }
%"struct.std::_Tuple_impl.39" = type { %"struct.std::_Tuple_impl.40", %"struct.std::_Head_base.35" }
%"struct.std::_Tuple_impl.40" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.FiniteDifferences::Node" = type { double, double, double }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [27 x i8], align 1
@constinit = external hidden constant [6 x double], align 8
@.str.25 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [57 x i8], align 1
@constinit.27 = external hidden constant [10 x double], align 8
@constinit.28 = external hidden constant [12 x double], align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9question3v() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca double, align 8
  %2 = alloca double, align 8
  %3 = alloca %"class.Numeric::Matrix.20", align 8
  %4 = alloca %"class.std::vector.26", align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::pair", align 8
  %9 = alloca %"class.std::tuple.31", align 8
  %10 = alloca %"struct.std::pair.36", align 8
  %11 = alloca %"class.Numeric::Matrix.20", align 8
  %12 = alloca %"class.std::tuple.38", align 8
  %13 = alloca %"struct.std::pair", align 8
  %14 = alloca %"class.std::tuple.31", align 8
  %15 = alloca %"struct.std::pair.36", align 8
  %16 = alloca %"class.Numeric::Matrix.20", align 8
  %17 = alloca %"class.std::tuple.38", align 8
  %18 = alloca %"struct.std::pair", align 8
  %19 = alloca %"class.std::tuple.31", align 8
  %20 = alloca %"struct.std::pair.36", align 8
  %21 = alloca %"class.Numeric::Matrix.20", align 8
  %22 = alloca double, align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca %"class.std::initializer_list", align 8
  %25 = alloca [6 x double], align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca ptr, align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca double, align 8
  %31 = alloca %"struct.std::pair", align 8
  %32 = alloca %"class.std::tuple.31", align 8
  %33 = alloca %"struct.std::pair.36", align 8
  %34 = alloca %"class.Numeric::Matrix.20", align 8
  %35 = alloca double, align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %39 = alloca double, align 8
  %40 = alloca %"struct.std::pair", align 8
  %41 = alloca %"class.std::tuple.31", align 8
  %42 = alloca %"struct.std::pair.36", align 8
  %43 = alloca %"class.Numeric::Matrix.20", align 8
  %44 = alloca double, align 8
  %45 = alloca %"class.std::vector", align 8
  %46 = alloca %"class.std::initializer_list", align 8
  %47 = alloca [10 x double], align 8
  %48 = alloca %"class.std::allocator", align 1
  %49 = alloca %"class.std::vector", align 8
  %50 = alloca %"class.std::initializer_list", align 8
  %51 = alloca [12 x double], align 8
  %52 = alloca %"class.std::allocator", align 1
  %53 = alloca %"struct.std::pair", align 8
  %54 = alloca %"class.std::vector", align 8
  %55 = alloca %"class.std::vector", align 8
  %56 = alloca %"class.std::tuple.31", align 8
  %57 = alloca %"struct.std::pair.36", align 8
  %58 = alloca %"class.Numeric::Matrix.20", align 8
  %59 = alloca %"class.std::tuple.38", align 8
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.17)
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  store double 2.000000e-02, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  store double 1.400000e+00, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
          to label %63 unwind label %147

63:                                               ; preds = %0
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %65 unwind label %147

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 56, ptr %8) #7
  %66 = load double, ptr %1, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %8, double noundef %66)
          to label %67 unwind label %151

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind writable sret(%"class.std::tuple.31") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %68 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(56) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %69 unwind label %155

69:                                               ; preds = %67
  %70 = load double, ptr %2, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8 %10, ptr noundef %11, ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef %70)
          to label %71 unwind label %159

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiEESt5tupleIJDpRT_EES8_(ptr dead_on_unwind writable sret(%"class.std::tuple.38") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 4 dereferenceable(4) %5) #7
  %72 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERiEEaSIS4_iEENSt9enable_ifIXcl12__assignableIT_T0_EEERS7_E4typeEOSt4pairISA_SB_E(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(36) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #7
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.19)
          to label %74 unwind label %147

74:                                               ; preds = %71
  %75 = load i32, ptr %5, align 4, !tbaa !9
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %73, i32 noundef %75)
          to label %77 unwind label %147

77:                                               ; preds = %74
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %79 unwind label %147

79:                                               ; preds = %77
  invoke void @_Z5printRKN7Numeric6MatrixIN17FiniteDifferences4NodeEEE(ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %80 unwind label %147

80:                                               ; preds = %79
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
          to label %82 unwind label %147

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %84 unwind label %147

84:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 56, ptr %13) #7
  %85 = load double, ptr %1, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %13, double noundef %85)
          to label %86 unwind label %164

86:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind writable sret(%"class.std::tuple.31") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(56) %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %15) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %88 unwind label %168

88:                                               ; preds = %86
  invoke void @_ZN17FiniteDifferences6jacobiEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EE(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8 %15, ptr noundef %16, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %89 unwind label %172

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiEESt5tupleIJDpRT_EES8_(ptr dead_on_unwind writable sret(%"class.std::tuple.38") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 4 dereferenceable(4) %5) #7
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERiEEaSIS4_iEENSt9enable_ifIXcl12__assignableIT_T0_EEERS7_E4typeEOSt4pairISA_SB_E(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(36) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #7
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.19)
          to label %92 unwind label %147

92:                                               ; preds = %89
  %93 = load i32, ptr %5, align 4, !tbaa !9
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %91, i32 noundef %93)
          to label %95 unwind label %147

95:                                               ; preds = %92
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %97 unwind label %147

97:                                               ; preds = %95
  invoke void @_Z5printRKN7Numeric6MatrixIN17FiniteDifferences4NodeEEE(ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %98 unwind label %147

98:                                               ; preds = %97
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.21)
          to label %100 unwind label %147

100:                                              ; preds = %98
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %102 unwind label %147

102:                                              ; preds = %100
  store double 2.000000e-02, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %18) #7
  %103 = load double, ptr %1, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %18, double noundef %103)
          to label %104 unwind label %177

104:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind writable sret(%"class.std::tuple.31") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %105 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(56) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %18) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #7
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.22)
          to label %107 unwind label %147

107:                                              ; preds = %104
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %109 unwind label %147

109:                                              ; preds = %107
  store double 1.000000e+00, ptr %2, align 8, !tbaa !5
  br label %110

110:                                              ; preds = %144, %109
  %111 = load double, ptr %2, align 8, !tbaa !5
  %112 = fcmp olt double %111, 2.000000e+00
  br i1 %112, label %113, label %194

113:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %114 unwind label %181

114:                                              ; preds = %113
  %115 = load double, ptr %2, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8 %20, ptr noundef %21, ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef %115)
          to label %116 unwind label %185

116:                                              ; preds = %114
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %117 = getelementptr inbounds %"struct.std::pair.36", ptr %20, i32 0, i32 0
  %118 = load double, ptr %1, align 8, !tbaa !5
  %119 = fdiv double 4.000000e-02, %118
  %120 = fptosi double %119 to i32
  %121 = load double, ptr %1, align 8, !tbaa !5
  %122 = fdiv double 6.000000e-02, %121
  %123 = fptosi double %122 to i32
  %124 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %117, i32 noundef %120, i32 noundef %123)
          to label %125 unwind label %189

125:                                              ; preds = %116
  %126 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %124, i32 0, i32 0
  %127 = load double, ptr %126, align 8, !tbaa !11
  store double %127, ptr %22, align 8, !tbaa !5
  %128 = load double, ptr %2, align 8, !tbaa !5
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %128)
          to label %130 unwind label %189

130:                                              ; preds = %125
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef @.str.15)
          to label %132 unwind label %189

132:                                              ; preds = %130
  %133 = getelementptr inbounds %"struct.std::pair.36", ptr %20, i32 0, i32 1
  %134 = load i32, ptr %133, align 8, !tbaa !13
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %131, i32 noundef %134)
          to label %136 unwind label %189

136:                                              ; preds = %132
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef @.str.15)
          to label %138 unwind label %189

138:                                              ; preds = %136
  %139 = load double, ptr %22, align 8, !tbaa !5
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %137, double noundef %139)
          to label %141 unwind label %189

141:                                              ; preds = %138
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %143 unwind label %189

143:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #7
  br label %144

144:                                              ; preds = %143
  %145 = load double, ptr %2, align 8, !tbaa !5
  %146 = fadd double %145, 1.000000e-01
  store double %146, ptr %2, align 8, !tbaa !5
  br label %110, !llvm.loop !21

147:                                              ; preds = %200, %198, %196, %194, %107, %104, %100, %98, %97, %95, %92, %89, %82, %80, %79, %77, %74, %71, %63, %0
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %6, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %7, align 4
  br label %431

151:                                              ; preds = %65
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %6, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #7
  br label %431

155:                                              ; preds = %67
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %6, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %7, align 4
  br label %163

159:                                              ; preds = %69
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %6, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %7, align 4
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %163

163:                                              ; preds = %159, %155
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #7
  br label %431

164:                                              ; preds = %84
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %6, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #7
  br label %431

168:                                              ; preds = %86
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %6, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %7, align 4
  br label %176

172:                                              ; preds = %88
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %6, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %7, align 4
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %176

176:                                              ; preds = %172, %168
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #7
  br label %431

177:                                              ; preds = %102
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %6, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #7
  br label %431

181:                                              ; preds = %113
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %6, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %7, align 4
  br label %193

185:                                              ; preds = %114
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %6, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %7, align 4
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %193

189:                                              ; preds = %141, %138, %136, %132, %130, %125, %116
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %6, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #7
  br label %193

193:                                              ; preds = %189, %185, %181
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #7
  br label %431

194:                                              ; preds = %110
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.23)
          to label %196 unwind label %147

196:                                              ; preds = %194
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %198 unwind label %147

198:                                              ; preds = %196
  store double 1.400000e+00, ptr %2, align 8, !tbaa !5
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.24)
          to label %200 unwind label %147

200:                                              ; preds = %198
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %202 unwind label %147

202:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 @constinit, i64 48, i1 false), !tbaa.struct !23
  %203 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 0
  store ptr %25, ptr %203, align 8, !tbaa !25
  %204 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 1
  store i64 6, ptr %204, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  %205 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %206 = load ptr, ptr %205, align 8
  %207 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %208 = load i64, ptr %207, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr %206, i64 %208, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %209 unwind label %219

209:                                              ; preds = %202
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  store ptr %23, ptr %27, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %210 = load ptr, ptr %27, align 8, !tbaa !29
  %211 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %210) #7
  %212 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %211, ptr %212, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %213 = load ptr, ptr %27, align 8, !tbaa !29
  %214 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #7
  %215 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %214, ptr %215, align 8
  br label %216

216:                                              ; preds = %259, %209
  %217 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPdSt6vectorIdSaIdEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  br i1 %217, label %223, label %218

218:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %279

219:                                              ; preds = %202
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %6, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #7
  br label %430

223:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %225 = load double, ptr %224, align 8, !tbaa !5
  store double %225, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %31) #7
  %226 = load double, ptr %30, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %31, double noundef %226)
          to label %227 unwind label %261

227:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind writable sret(%"class.std::tuple.31") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %228 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(56) %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %31) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %229 unwind label %265

229:                                              ; preds = %227
  %230 = load double, ptr %2, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8 %33, ptr noundef %34, ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef %230)
          to label %231 unwind label %269

231:                                              ; preds = %229
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %232 = getelementptr inbounds %"struct.std::pair.36", ptr %33, i32 0, i32 0
  %233 = load double, ptr %30, align 8, !tbaa !5
  %234 = fdiv double 4.000000e-02, %233
  %235 = fptosi double %234 to i32
  %236 = load double, ptr %30, align 8, !tbaa !5
  %237 = fdiv double 6.000000e-02, %236
  %238 = fptosi double %237 to i32
  %239 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %232, i32 noundef %235, i32 noundef %238)
          to label %240 unwind label %273

240:                                              ; preds = %231
  %241 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %239, i32 0, i32 0
  %242 = load double, ptr %241, align 8, !tbaa !11
  store double %242, ptr %35, align 8, !tbaa !5
  %243 = load double, ptr %30, align 8, !tbaa !5
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %243)
          to label %245 unwind label %273

245:                                              ; preds = %240
  %246 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %244, ptr noundef @.str.15)
          to label %247 unwind label %273

247:                                              ; preds = %245
  %248 = getelementptr inbounds %"struct.std::pair.36", ptr %33, i32 0, i32 1
  %249 = load i32, ptr %248, align 8, !tbaa !13
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %246, i32 noundef %249)
          to label %251 unwind label %273

251:                                              ; preds = %247
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %250, ptr noundef @.str.15)
          to label %253 unwind label %273

253:                                              ; preds = %251
  %254 = load double, ptr %35, align 8, !tbaa !5
  %255 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %252, double noundef %254)
          to label %256 unwind label %273

256:                                              ; preds = %253
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %255, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %258 unwind label %273

258:                                              ; preds = %256
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %259

259:                                              ; preds = %258
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br label %216

261:                                              ; preds = %223
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %6, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #7
  br label %278

265:                                              ; preds = %227
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %6, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %7, align 4
  br label %277

269:                                              ; preds = %229
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %6, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %7, align 4
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  br label %277

273:                                              ; preds = %256, %253, %251, %247, %245, %240, %231
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %6, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %33) #7
  br label %277

277:                                              ; preds = %273, %269, %265
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #7
  br label %278

278:                                              ; preds = %277, %261
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %429

279:                                              ; preds = %218
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.25)
          to label %281 unwind label %297

281:                                              ; preds = %279
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %280, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %283 unwind label %297

283:                                              ; preds = %281
  %284 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.24)
          to label %285 unwind label %297

285:                                              ; preds = %283
  %286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %284, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %287 unwind label %297

287:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  store ptr %23, ptr %36, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %288 = load ptr, ptr %36, align 8, !tbaa !29
  %289 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %288) #7
  %290 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  store ptr %289, ptr %290, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %291 = load ptr, ptr %36, align 8, !tbaa !29
  %292 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %291) #7
  %293 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %38, i32 0, i32 0
  store ptr %292, ptr %293, align 8
  br label %294

294:                                              ; preds = %336, %287
  %295 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPdSt6vectorIdSaIdEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  br i1 %295, label %301, label %296

296:                                              ; preds = %294
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %356

297:                                              ; preds = %358, %356, %285, %283, %281, %279
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %6, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %7, align 4
  br label %429

301:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %302 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  %303 = load double, ptr %302, align 8, !tbaa !5
  store double %303, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %40) #7
  %304 = load double, ptr %39, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %40, double noundef %304)
          to label %305 unwind label %338

305:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind writable sret(%"class.std::tuple.31") align 8 %41, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %306 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(56) %40) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %40) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %42) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %307 unwind label %342

307:                                              ; preds = %305
  invoke void @_ZN17FiniteDifferences6jacobiEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EE(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8 %42, ptr noundef %43, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %308 unwind label %346

308:                                              ; preds = %307
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %309 = getelementptr inbounds %"struct.std::pair.36", ptr %42, i32 0, i32 0
  %310 = load double, ptr %39, align 8, !tbaa !5
  %311 = fdiv double 4.000000e-02, %310
  %312 = fptosi double %311 to i32
  %313 = load double, ptr %39, align 8, !tbaa !5
  %314 = fdiv double 6.000000e-02, %313
  %315 = fptosi double %314 to i32
  %316 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %309, i32 noundef %312, i32 noundef %315)
          to label %317 unwind label %350

317:                                              ; preds = %308
  %318 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %316, i32 0, i32 0
  %319 = load double, ptr %318, align 8, !tbaa !11
  store double %319, ptr %44, align 8, !tbaa !5
  %320 = load double, ptr %39, align 8, !tbaa !5
  %321 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %320)
          to label %322 unwind label %350

322:                                              ; preds = %317
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %321, ptr noundef @.str.15)
          to label %324 unwind label %350

324:                                              ; preds = %322
  %325 = getelementptr inbounds %"struct.std::pair.36", ptr %42, i32 0, i32 1
  %326 = load i32, ptr %325, align 8, !tbaa !13
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %323, i32 noundef %326)
          to label %328 unwind label %350

328:                                              ; preds = %324
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %327, ptr noundef @.str.15)
          to label %330 unwind label %350

330:                                              ; preds = %328
  %331 = load double, ptr %44, align 8, !tbaa !5
  %332 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %329, double noundef %331)
          to label %333 unwind label %350

333:                                              ; preds = %330
  %334 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %332, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %335 unwind label %350

335:                                              ; preds = %333
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  br label %336

336:                                              ; preds = %335
  %337 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  br label %294

338:                                              ; preds = %301
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %6, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %40) #7
  br label %355

342:                                              ; preds = %305
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %6, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %7, align 4
  br label %354

346:                                              ; preds = %307
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %6, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %7, align 4
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  br label %354

350:                                              ; preds = %333, %330, %328, %324, %322, %317, %308
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %6, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #7
  br label %354

354:                                              ; preds = %350, %346, %342
  call void @llvm.lifetime.end.p0(i64 40, ptr %42) #7
  br label %355

355:                                              ; preds = %354, %338
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %429

356:                                              ; preds = %296
  %357 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.26)
          to label %358 unwind label %297

358:                                              ; preds = %356
  %359 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %357, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %360 unwind label %297

360:                                              ; preds = %358
  store double 1.400000e+00, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #7
  call void @llvm.lifetime.start.p0(i64 80, ptr %47) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 8 @constinit.27, i64 80, i1 false), !tbaa.struct !30
  %361 = getelementptr inbounds %"class.std::initializer_list", ptr %46, i32 0, i32 0
  store ptr %47, ptr %361, align 8, !tbaa !25
  %362 = getelementptr inbounds %"class.std::initializer_list", ptr %46, i32 0, i32 1
  store i64 10, ptr %362, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  %363 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 0
  %364 = load ptr, ptr %363, align 8
  %365 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 1
  %366 = load i64, ptr %365, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr %364, i64 %366, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %367 unwind label %391

367:                                              ; preds = %360
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr %51) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %51, ptr align 8 @constinit.28, i64 96, i1 false), !tbaa.struct !31
  %368 = getelementptr inbounds %"class.std::initializer_list", ptr %50, i32 0, i32 0
  store ptr %51, ptr %368, align 8, !tbaa !25
  %369 = getelementptr inbounds %"class.std::initializer_list", ptr %50, i32 0, i32 1
  store i64 12, ptr %369, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #7
  %370 = getelementptr inbounds { ptr, i64 }, ptr %50, i32 0, i32 0
  %371 = load ptr, ptr %370, align 8
  %372 = getelementptr inbounds { ptr, i64 }, ptr %50, i32 0, i32 1
  %373 = load i64, ptr %372, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr %371, i64 %373, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %374 unwind label %395

374:                                              ; preds = %367
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %51) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr %53) #7
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %375 unwind label %399

375:                                              ; preds = %374
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %376 unwind label %403

376:                                              ; preds = %375
  invoke void @_ZN17FiniteDifferences10createGridESt6vectorIdSaIdEES2_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %53, ptr noundef %54, ptr noundef %55)
          to label %377 unwind label %407

377:                                              ; preds = %376
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind writable sret(%"class.std::tuple.31") align 8 %56, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %378 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(56) %53) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %53) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %57) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %379 unwind label %413

379:                                              ; preds = %377
  %380 = load double, ptr %2, align 8, !tbaa !5
  invoke void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8 %57, ptr noundef %58, ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef %380)
          to label %381 unwind label %417

381:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiEESt5tupleIJDpRT_EES8_(ptr dead_on_unwind writable sret(%"class.std::tuple.38") align 8 %59, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 4 dereferenceable(4) %5) #7
  %382 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERiEEaSIS4_iEENSt9enable_ifIXcl12__assignableIT_T0_EEERS7_E4typeEOSt4pairISA_SB_E(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull align 8 dereferenceable(36) %57) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %57) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %57) #7
  %383 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.19)
          to label %384 unwind label %422

384:                                              ; preds = %381
  %385 = load i32, ptr %5, align 4, !tbaa !9
  %386 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %383, i32 noundef %385)
          to label %387 unwind label %422

387:                                              ; preds = %384
  %388 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %386, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %389 unwind label %422

389:                                              ; preds = %387
  invoke void @_Z5printRKN7Numeric6MatrixIN17FiniteDifferences4NodeEEE(ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %390 unwind label %422

390:                                              ; preds = %389
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  ret void

391:                                              ; preds = %360
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %6, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %47) #7
  br label %428

395:                                              ; preds = %367
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %6, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %51) #7
  br label %427

399:                                              ; preds = %374
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %6, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %7, align 4
  br label %412

403:                                              ; preds = %375
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %6, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %7, align 4
  br label %411

407:                                              ; preds = %376
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %6, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %7, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  br label %411

411:                                              ; preds = %407, %403
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  br label %412

412:                                              ; preds = %411, %399
  call void @llvm.lifetime.end.p0(i64 56, ptr %53) #7
  br label %426

413:                                              ; preds = %377
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %6, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %7, align 4
  br label %421

417:                                              ; preds = %379
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %6, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %7, align 4
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #7
  br label %421

421:                                              ; preds = %417, %413
  call void @llvm.lifetime.end.p0(i64 40, ptr %57) #7
  br label %426

422:                                              ; preds = %389, %387, %384, %381
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %6, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %7, align 4
  br label %426

426:                                              ; preds = %422, %421, %412
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  br label %427

427:                                              ; preds = %426, %395
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #7
  br label %428

428:                                              ; preds = %427, %391
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #7
  br label %429

429:                                              ; preds = %428, %355, %297, %278
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  br label %430

430:                                              ; preds = %429, %219
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  br label %431

431:                                              ; preds = %430, %193, %177, %176, %164, %163, %151, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  br label %432

432:                                              ; preds = %431
  %433 = load ptr, ptr %6, align 8
  %434 = load i32, ptr %7, align 4
  %435 = insertvalue { ptr, i32 } poison, ptr %433, 0
  %436 = insertvalue { ptr, i32 } %435, i32 %434, 1
  resume { ptr, i32 } %436
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

declare i32 @__gxx_personality_v0(...)

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #0 align 2

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

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

declare void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8, double noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.31") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(56)) #4 align 2

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

declare void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), double noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiEESt5tupleIJDpRT_EES8_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.38") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERiEEaSIS4_iEENSt9enable_ifIXcl12__assignableIT_T0_EEERS7_E4typeEOSt4pairISA_SB_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(36)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5printRKN7Numeric6MatrixIN17FiniteDifferences4NodeEEE(ptr noundef nonnull align 8 dereferenceable(32)) #0

declare void @_ZN17FiniteDifferences6jacobiEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EE(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) #0 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPdSt6vectorIdSaIdEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

declare void @_ZN17FiniteDifferences10createGridESt6vectorIdSaIdEES2_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8, ptr noundef, ptr noundef) #3

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN17FiniteDifferences4NodeE", !6, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!14, !10, i64 32}
!14 = !{!"_ZTSSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiE", !15, i64 0, !10, i64 32}
!15 = !{!"_ZTSN7Numeric6MatrixIN17FiniteDifferences4NodeEEE", !10, i64 0, !10, i64 4, !16, i64 8}
!16 = !{!"_ZTSSt6vectorIN17FiniteDifferences4NodeESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN17FiniteDifferences4NodeESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN17FiniteDifferences4NodeESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN17FiniteDifferences4NodeESaIS1_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!20 = !{!"any pointer", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{i64 0, i64 48, !24}
!24 = !{!7, !7, i64 0}
!25 = !{!26, !20, i64 0}
!26 = !{!"_ZTSSt16initializer_listIdE", !20, i64 0, !27, i64 8}
!27 = !{!"long", !7, i64 0}
!28 = !{!26, !27, i64 8}
!29 = !{!20, !20, i64 0}
!30 = !{i64 0, i64 80, !24}
!31 = !{i64 0, i64 96, !24}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.Numeric::Matrix.20" = type { i32, i32, %"class.std::vector.21" }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %"class.Numeric::Matrix.20", %"class.std::vector.26" }
%"class.std::tuple.31" = type { %"struct.std::_Tuple_impl.32" }
%"struct.std::_Tuple_impl.32" = type { %"struct.std::_Tuple_impl.33", %"struct.std::_Head_base.35" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.34" }
%"struct.std::_Head_base.34" = type { ptr }
%"struct.std::_Head_base.35" = type { ptr }
%"struct.std::pair.36" = type <{ %"class.Numeric::Matrix.20", i32, [4 x i8] }>
%"class.std::tuple.38" = type { %"struct.std::_Tuple_impl.39" }
%"struct.std::_Tuple_impl.39" = type { %"struct.std::_Tuple_impl.40", %"struct.std::_Head_base.35" }
%"struct.std::_Tuple_impl.40" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [27 x i8], align 1
@constinit = external hidden local_unnamed_addr constant [6 x double], align 8
@.str.25 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [57 x i8], align 1
@constinit.27 = external hidden local_unnamed_addr constant [10 x double], align 8
@constinit.28 = external hidden local_unnamed_addr constant [12 x double], align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9question3v() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.Numeric::Matrix.20", align 8
  %2 = alloca %"class.std::vector.26", align 8
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca %"class.std::tuple.31", align 8
  %6 = alloca %"struct.std::pair.36", align 8
  %7 = alloca %"class.Numeric::Matrix.20", align 8
  %8 = alloca %"class.std::tuple.38", align 8
  %9 = alloca %"struct.std::pair", align 8
  %10 = alloca %"class.std::tuple.31", align 8
  %11 = alloca %"struct.std::pair.36", align 8
  %12 = alloca %"class.Numeric::Matrix.20", align 8
  %13 = alloca %"class.std::tuple.38", align 8
  %14 = alloca %"struct.std::pair", align 8
  %15 = alloca %"class.std::tuple.31", align 8
  %16 = alloca %"struct.std::pair.36", align 8
  %17 = alloca %"class.Numeric::Matrix.20", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca [6 x double], align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"struct.std::pair", align 8
  %24 = alloca %"class.std::tuple.31", align 8
  %25 = alloca %"struct.std::pair.36", align 8
  %26 = alloca %"class.Numeric::Matrix.20", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"struct.std::pair", align 8
  %30 = alloca %"class.std::tuple.31", align 8
  %31 = alloca %"struct.std::pair.36", align 8
  %32 = alloca %"class.Numeric::Matrix.20", align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca [10 x double], align 8
  %35 = alloca %"class.std::allocator", align 1
  %36 = alloca %"class.std::vector", align 8
  %37 = alloca [12 x double], align 8
  %38 = alloca %"class.std::allocator", align 1
  %39 = alloca %"struct.std::pair", align 8
  %40 = alloca %"class.std::vector", align 8
  %41 = alloca %"class.std::vector", align 8
  %42 = alloca %"class.std::tuple.31", align 8
  %43 = alloca %"struct.std::pair.36", align 8
  %44 = alloca %"class.Numeric::Matrix.20", align 8
  %45 = alloca %"class.std::tuple.38", align 8
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.17)
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.18)
          to label %49 unwind label %113

49:                                               ; preds = %0
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %51 unwind label %113

51:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #7
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %4, double noundef 2.000000e-02)
          to label %52 unwind label %115

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.31") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(56) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %54 unwind label %117

54:                                               ; preds = %52
  invoke void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.36") align 8 %6, ptr noundef nonnull %7, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef 1.400000e+00)
          to label %55 unwind label %119

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiEESt5tupleIJDpRT_EES8_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.38") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 4 dereferenceable(4) %3) #7
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERiEEaSIS4_iEENSt9enable_ifIXcl12__assignableIT_T0_EEERS7_E4typeEOSt4pairISA_SB_E(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(36) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %6) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #7
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.19)
          to label %58 unwind label %113

58:                                               ; preds = %55
  %59 = load i32, ptr %3, align 4, !tbaa !5
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %57, i32 noundef %59)
          to label %61 unwind label %113

61:                                               ; preds = %58
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %63 unwind label %113

63:                                               ; preds = %61
  invoke void @_Z5printRKN7Numeric6MatrixIN17FiniteDifferences4NodeEEE(ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %64 unwind label %113

64:                                               ; preds = %63
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.20)
          to label %66 unwind label %113

66:                                               ; preds = %64
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %68 unwind label %113

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #7
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %9, double noundef 2.000000e-02)
          to label %69 unwind label %122

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.31") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(56) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %71 unwind label %124

71:                                               ; preds = %69
  invoke void @_ZN17FiniteDifferences6jacobiEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EE(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.36") align 8 %11, ptr noundef nonnull %12, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %72 unwind label %126

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiEESt5tupleIJDpRT_EES8_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.38") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 4 dereferenceable(4) %3) #7
  %73 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERiEEaSIS4_iEENSt9enable_ifIXcl12__assignableIT_T0_EEERS7_E4typeEOSt4pairISA_SB_E(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(36) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #7
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.19)
          to label %75 unwind label %113

75:                                               ; preds = %72
  %76 = load i32, ptr %3, align 4, !tbaa !5
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %74, i32 noundef %76)
          to label %78 unwind label %113

78:                                               ; preds = %75
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %80 unwind label %113

80:                                               ; preds = %78
  invoke void @_Z5printRKN7Numeric6MatrixIN17FiniteDifferences4NodeEEE(ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %81 unwind label %113

81:                                               ; preds = %80
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.21)
          to label %83 unwind label %113

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %85 unwind label %113

85:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %14) #7
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %14, double noundef 2.000000e-02)
          to label %86 unwind label %129

86:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.31") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(56) %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %14) #7
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.22)
          to label %89 unwind label %113

89:                                               ; preds = %86
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader unwind label %113

.preheader:                                       ; preds = %89
  %91 = getelementptr inbounds i8, ptr %16, i64 32
  br label %92

92:                                               ; preds = %.preheader, %110
  %.072 = phi double [ 1.000000e+00, %.preheader ], [ %111, %110 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %93 unwind label %131

93:                                               ; preds = %92
  invoke void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.36") align 8 %16, ptr noundef nonnull %17, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef %.072)
          to label %94 unwind label %133

94:                                               ; preds = %93
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  %95 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %16, i32 noundef 2, i32 noundef 3)
          to label %96 unwind label %135

96:                                               ; preds = %94
  %97 = load double, ptr %95, align 8, !tbaa !9
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %.072)
          to label %99 unwind label %135

99:                                               ; preds = %96
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @.str.15)
          to label %101 unwind label %135

101:                                              ; preds = %99
  %102 = load i32, ptr %91, align 8, !tbaa !12
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %100, i32 noundef %102)
          to label %104 unwind label %135

104:                                              ; preds = %101
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull @.str.15)
          to label %106 unwind label %135

106:                                              ; preds = %104
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %105, double noundef %97)
          to label %108 unwind label %135

108:                                              ; preds = %106
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %110 unwind label %135

110:                                              ; preds = %108
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #7
  %111 = fadd double %.072, 1.000000e-01
  %112 = fcmp olt double %111, 2.000000e+00
  br i1 %112, label %92, label %138, !llvm.loop !20

113:                                              ; preds = %144, %142, %140, %138, %89, %86, %83, %81, %80, %78, %75, %72, %66, %64, %63, %61, %58, %55, %49, %0
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %291

115:                                              ; preds = %51
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #7
  br label %291

117:                                              ; preds = %52
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %121

119:                                              ; preds = %54
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br label %121

121:                                              ; preds = %119, %117
  %.pn = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #7
  br label %291

122:                                              ; preds = %68
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #7
  br label %291

124:                                              ; preds = %69
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %71
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %128

128:                                              ; preds = %126, %124
  %.pn50 = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #7
  br label %291

129:                                              ; preds = %85
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %14) #7
  br label %291

131:                                              ; preds = %92
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %137

133:                                              ; preds = %93
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %137

135:                                              ; preds = %108, %106, %104, %101, %99, %96, %94
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #7
  br label %137

137:                                              ; preds = %135, %133, %131
  %.pn69 = phi { ptr, i32 } [ %136, %135 ], [ %134, %133 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #7
  br label %291

138:                                              ; preds = %110
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.23)
          to label %140 unwind label %113

140:                                              ; preds = %138
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %142 unwind label %113

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.24)
          to label %144 unwind label %113

144:                                              ; preds = %142
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %146 unwind label %113

146:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) @constinit, i64 48, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr nonnull %19, i64 6, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %147 unwind label %153

147:                                              ; preds = %146
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %148 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  store ptr %148, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %149 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  store ptr %149, ptr %22, align 8
  %150 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPdSt6vectorIdSaIdEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %150, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %147
  %151 = getelementptr inbounds i8, ptr %25, i64 32
  br label %155

._crit_edge:                                      ; preds = %181, %147
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.25)
          to label %194 unwind label %206

153:                                              ; preds = %146
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #7
  br label %290

155:                                              ; preds = %.lr.ph, %181
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %157 = load double, ptr %156, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %23) #7
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %23, double noundef %157)
          to label %158 unwind label %184

158:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.31") align 8 %24, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %159 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(56) %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %23) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %25) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %160 unwind label %186

160:                                              ; preds = %158
  invoke void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.36") align 8 %25, ptr noundef nonnull %26, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef 1.400000e+00)
          to label %161 unwind label %188

161:                                              ; preds = %160
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  %162 = fdiv double 4.000000e-02, %157
  %163 = fptosi double %162 to i32
  %164 = fdiv double 6.000000e-02, %157
  %165 = fptosi double %164 to i32
  %166 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %25, i32 noundef %163, i32 noundef %165)
          to label %167 unwind label %190

167:                                              ; preds = %161
  %168 = load double, ptr %166, align 8, !tbaa !9
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %157)
          to label %170 unwind label %190

170:                                              ; preds = %167
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %169, ptr noundef nonnull @.str.15)
          to label %172 unwind label %190

172:                                              ; preds = %170
  %173 = load i32, ptr %151, align 8, !tbaa !12
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %171, i32 noundef %173)
          to label %175 unwind label %190

175:                                              ; preds = %172
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef nonnull @.str.15)
          to label %177 unwind label %190

177:                                              ; preds = %175
  %178 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %176, double noundef %168)
          to label %179 unwind label %190

179:                                              ; preds = %177
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %181 unwind label %190

181:                                              ; preds = %179
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #7
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %183 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPdSt6vectorIdSaIdEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %183, label %155, label %._crit_edge

184:                                              ; preds = %155
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %23) #7
  br label %193

186:                                              ; preds = %158
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %192

188:                                              ; preds = %160
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %192

190:                                              ; preds = %179, %177, %175, %172, %170, %167, %161
  %191 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #7
  br label %192

192:                                              ; preds = %190, %188, %186
  %.pn64 = phi { ptr, i32 } [ %191, %190 ], [ %189, %188 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #7
  br label %193

193:                                              ; preds = %192, %184
  %.pn64.pn = phi { ptr, i32 } [ %.pn64, %192 ], [ %185, %184 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %289

194:                                              ; preds = %._crit_edge
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %152, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %196 unwind label %206

196:                                              ; preds = %194
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.24)
          to label %198 unwind label %206

198:                                              ; preds = %196
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %200 unwind label %206

200:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %201 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  store ptr %201, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  %202 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  store ptr %202, ptr %28, align 8
  %203 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPdSt6vectorIdSaIdEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %203, label %.lr.ph74, label %._crit_edge75

.lr.ph74:                                         ; preds = %200
  %204 = getelementptr inbounds i8, ptr %31, i64 32
  br label %208

._crit_edge75:                                    ; preds = %234, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  %205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.26)
          to label %247 unwind label %206

206:                                              ; preds = %247, %._crit_edge75, %198, %196, %194, %._crit_edge
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %289

208:                                              ; preds = %.lr.ph74, %234
  %209 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %210 = load double, ptr %209, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %29) #7
  invoke void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %29, double noundef %210)
          to label %211 unwind label %237

211:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.31") align 8 %30, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %212 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(56) %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %29) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %31) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %213 unwind label %239

213:                                              ; preds = %211
  invoke void @_ZN17FiniteDifferences6jacobiEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EE(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.36") align 8 %31, ptr noundef nonnull %32, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %214 unwind label %241

214:                                              ; preds = %213
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  %215 = fdiv double 4.000000e-02, %210
  %216 = fptosi double %215 to i32
  %217 = fdiv double 6.000000e-02, %210
  %218 = fptosi double %217 to i32
  %219 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef %216, i32 noundef %218)
          to label %220 unwind label %243

220:                                              ; preds = %214
  %221 = load double, ptr %219, align 8, !tbaa !9
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %210)
          to label %223 unwind label %243

223:                                              ; preds = %220
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %222, ptr noundef nonnull @.str.15)
          to label %225 unwind label %243

225:                                              ; preds = %223
  %226 = load i32, ptr %204, align 8, !tbaa !12
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %224, i32 noundef %226)
          to label %228 unwind label %243

228:                                              ; preds = %225
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %227, ptr noundef nonnull @.str.15)
          to label %230 unwind label %243

230:                                              ; preds = %228
  %231 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %229, double noundef %221)
          to label %232 unwind label %243

232:                                              ; preds = %230
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %234 unwind label %243

234:                                              ; preds = %232
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #7
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %236 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPdSt6vectorIdSaIdEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %236, label %208, label %._crit_edge75

237:                                              ; preds = %208
  %238 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %29) #7
  br label %246

239:                                              ; preds = %211
  %240 = landingpad { ptr, i32 }
          cleanup
  br label %245

241:                                              ; preds = %213
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  br label %245

243:                                              ; preds = %232, %230, %228, %225, %223, %220, %214
  %244 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #7
  br label %245

245:                                              ; preds = %243, %241, %239
  %.pn61 = phi { ptr, i32 } [ %244, %243 ], [ %242, %241 ], [ %240, %239 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #7
  br label %246

246:                                              ; preds = %245, %237
  %.pn61.pn = phi { ptr, i32 } [ %.pn61, %245 ], [ %238, %237 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %289

247:                                              ; preds = %._crit_edge75
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %249 unwind label %206

249:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %34) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %34, ptr noundef nonnull align 8 dereferenceable(80) @constinit.27, i64 80, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr nonnull %34, i64 10, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %250 unwind label %267

250:                                              ; preds = %249
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %34) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %37) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %37, ptr noundef nonnull align 8 dereferenceable(96) @constinit.28, i64 96, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr nonnull %37, i64 12, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %251 unwind label %269

251:                                              ; preds = %250
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %39) #7
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %252 unwind label %271

252:                                              ; preds = %251
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %253 unwind label %273

253:                                              ; preds = %252
  invoke void @_ZN17FiniteDifferences10createGridESt6vectorIdSaIdEES2_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %39, ptr noundef nonnull %40, ptr noundef nonnull %41)
          to label %254 unwind label %275

254:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.31") align 8 %42, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %255 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(56) %39) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorIS_IiiESaIS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %39) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %43) #7
  invoke void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %256 unwind label %279

256:                                              ; preds = %254
  invoke void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.36") align 8 %43, ptr noundef nonnull %44, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef 1.400000e+00)
          to label %257 unwind label %281

257:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %45) #7
  call void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiEESt5tupleIJDpRT_EES8_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.38") align 8 %45, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 4 dereferenceable(4) %3) #7
  %258 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERiEEaSIS4_iEENSt9enable_ifIXcl12__assignableIT_T0_EEERS7_E4typeEOSt4pairISA_SB_E(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(36) %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #7
  call void @_ZNSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %43) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %43) #7
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.19)
          to label %260 unwind label %284

260:                                              ; preds = %257
  %261 = load i32, ptr %3, align 4, !tbaa !5
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %259, i32 noundef %261)
          to label %263 unwind label %284

263:                                              ; preds = %260
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %262, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %265 unwind label %284

265:                                              ; preds = %263
  invoke void @_Z5printRKN7Numeric6MatrixIN17FiniteDifferences4NodeEEE(ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %266 unwind label %284

266:                                              ; preds = %265
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #7
  ret void

267:                                              ; preds = %249
  %268 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %34) #7
  br label %288

269:                                              ; preds = %250
  %270 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %37) #7
  br label %287

271:                                              ; preds = %251
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %278

273:                                              ; preds = %252
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %277

275:                                              ; preds = %253
  %276 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  br label %277

277:                                              ; preds = %275, %273
  %.pn52 = phi { ptr, i32 } [ %276, %275 ], [ %274, %273 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #7
  br label %278

278:                                              ; preds = %277, %271
  %.pn52.pn = phi { ptr, i32 } [ %.pn52, %277 ], [ %272, %271 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %39) #7
  br label %286

279:                                              ; preds = %254
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %283

281:                                              ; preds = %256
  %282 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #7
  br label %283

283:                                              ; preds = %281, %279
  %.pn55 = phi { ptr, i32 } [ %282, %281 ], [ %280, %279 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %43) #7
  br label %286

284:                                              ; preds = %265, %263, %260, %257
  %285 = landingpad { ptr, i32 }
          cleanup
  br label %286

286:                                              ; preds = %284, %283, %278
  %.pn57 = phi { ptr, i32 } [ %285, %284 ], [ %.pn55, %283 ], [ %.pn52.pn, %278 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  br label %287

287:                                              ; preds = %286, %269
  %.pn57.pn = phi { ptr, i32 } [ %.pn57, %286 ], [ %270, %269 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  br label %288

288:                                              ; preds = %287, %267
  %.pn57.pn.pn = phi { ptr, i32 } [ %.pn57.pn, %287 ], [ %268, %267 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #7
  br label %289

289:                                              ; preds = %288, %246, %206, %193
  %.pn64.pn.pn = phi { ptr, i32 } [ %.pn64.pn, %193 ], [ %.pn61.pn, %246 ], [ %.pn57.pn.pn, %288 ], [ %207, %206 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  br label %290

290:                                              ; preds = %289, %153
  %.pn64.pn.pn.pn = phi { ptr, i32 } [ %.pn64.pn.pn, %289 ], [ %154, %153 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %291

291:                                              ; preds = %290, %137, %129, %128, %122, %121, %115, %113
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %137 ], [ %.pn64.pn.pn.pn, %290 ], [ %114, %113 ], [ %130, %129 ], [ %.pn50, %128 ], [ %123, %122 ], [ %.pn, %121 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn69.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

declare i32 @__gxx_personality_v0(...)

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #0 align 2

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

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

declare void @_ZN17FiniteDifferences10createGridEd(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8, double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEESt6vectorISt4pairIiiESaIS7_EEEESt5tupleIJDpRT_EESD_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.31") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERSt6vectorISt4pairIiiESaIS8_EEEEaSIS4_SA_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSC_E4typeEOS7_ISF_SG_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #4 align 2

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

declare void @_ZN17FiniteDifferences3sorEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EEd(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiEESt5tupleIJDpRT_EES8_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.38") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN7Numeric6MatrixIN17FiniteDifferences4NodeEEERiEEaSIS4_iEENSt9enable_ifIXcl12__assignableIT_T0_EEERS7_E4typeEOSt4pairISA_SB_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5printRKN7Numeric6MatrixIN17FiniteDifferences4NodeEEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

declare void @_ZN17FiniteDifferences6jacobiEN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS6_EE(ptr dead_on_unwind writable sret(%"struct.std::pair.36") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPdSt6vectorIdSaIdEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

declare void @_ZN17FiniteDifferences10createGridESt6vectorIdSaIdEES2_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN17FiniteDifferences4NodeE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"double", !7, i64 0}
!12 = !{!13, !6, i64 32}
!13 = !{!"_ZTSSt4pairIN7Numeric6MatrixIN17FiniteDifferences4NodeEEEiE", !14, i64 0, !6, i64 32}
!14 = !{!"_ZTSN7Numeric6MatrixIN17FiniteDifferences4NodeEEE", !6, i64 0, !6, i64 4, !15, i64 8}
!15 = !{!"_ZTSSt6vectorIN17FiniteDifferences4NodeESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN17FiniteDifferences4NodeESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN17FiniteDifferences4NodeESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN17FiniteDifferences4NodeESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{i64 0, i64 48, !23}
!23 = !{!7, !7, i64 0}
!24 = !{!11, !11, i64 0}
!25 = !{i64 0, i64 80, !23}
!26 = !{i64 0, i64 96, !23}


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