; LLVM IR from cdalvaro/computational-physics :: computational-physics (main)

; 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.cda::math::containers::Matrix" = type { i64, i64, i64, ptr, ptr }
%"class.cda::math::containers::Vector" = type { i64, ptr, ptr }
%"class.cda::math::differential_equations::EDP" = type { %"class.cda::math::containers::Vector", %"class.cda::math::containers::Matrix", %"class.cda::math::containers::Matrix.0", %"class.std::__cxx11::basic_string", ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, ptr, ptr, double }
%"class.cda::math::containers::Matrix.0" = type { i64, i64, i64, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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.std::allocator" = type { i8 }

@model = external dso_local global i32, align 4
@cI = external dso_local global %"class.cda::math::containers::Matrix", align 8
@vX = external dso_local global %"class.cda::math::containers::Vector", align 8
@vY = external dso_local global %"class.cda::math::containers::Vector", align 8
@membrane = external dso_local global %"class.cda::math::differential_equations::EDP", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [23 x i8], align 1
@stderr = external global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
  store double 0.000000e+00, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 17), align 8, !tbaa !11
  store ptr @_Z2QQdd, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 20), align 8, !tbaa !20
  store ptr @_Z2BCdd, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 10), align 8, !tbaa !21
  store ptr @_Z2BCdd, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 8), align 8, !tbaa !22
  store ptr @_Z2BCdd, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 7), align 8, !tbaa !23
  store ptr @_Z2BCdd, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 9), align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #7
  %22 = call ptr @getenv(ptr noundef @.str.11) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef %22, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %23 unwind label %27

23:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #7
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str.12)
          to label %24 unwind label %31

24:                                               ; preds = %23
  %25 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 3), ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 1, ptr @model, align 4, !tbaa !5
  store i32 1, ptr %11, align 4, !tbaa !5
  %26 = load i32, ptr @model, align 4, !tbaa !5
  switch i32 %26, label %141 [
    i32 1, label %35
    i32 2, label %73
    i32 3, label %103
  ]

27:                                               ; preds = %2
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %8, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br label %148

31:                                               ; preds = %23
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %8, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  br label %147

35:                                               ; preds = %24
  %36 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %36, label %51 [
    i32 1, label %37
    i32 2, label %43
    i32 3, label %45
    i32 4, label %47
    i32 5, label %49
  ]

37:                                               ; preds = %35
  invoke void @_Z17vibration_modes_Av()
          to label %38 unwind label %39

38:                                               ; preds = %37
  br label %54

39:                                               ; preds = %128, %127, %124, %117, %115, %113, %111, %109, %107, %105, %90, %89, %86, %79, %77, %75, %60, %59, %56, %49, %47, %45, %43, %37
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %8, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %9, align 4
  br label %146

43:                                               ; preds = %35
  invoke void @_Z17vibration_modes_Bv()
          to label %44 unwind label %39

44:                                               ; preds = %43
  br label %54

45:                                               ; preds = %35
  invoke void @_Z17vibration_modes_Cv()
          to label %46 unwind label %39

46:                                               ; preds = %45
  br label %54

47:                                               ; preds = %35
  invoke void @_Z17vibration_modes_Dv()
          to label %48 unwind label %39

48:                                               ; preds = %47
  br label %54

49:                                               ; preds = %35
  invoke void @_Z5pulsev()
          to label %50 unwind label %39

50:                                               ; preds = %49
  br label %54

51:                                               ; preds = %35
  %52 = load ptr, ptr @stderr, align 8, !tbaa !9
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.13) #7
  br label %54

54:                                               ; preds = %51, %50, %48, %46, %44, %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %55 unwind label %64

55:                                               ; preds = %54
  invoke void @_ZN3cda8graphics6OpenGL13setWindowNameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %12)
          to label %56 unwind label %68

56:                                               ; preds = %55
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  %57 = load double, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 18), align 8, !tbaa !25
  %58 = fptrunc double %57 to float
  invoke void @_ZN3cda8graphics6OpenGL11setStepTimeEf(float noundef %58)
          to label %59 unwind label %39

59:                                               ; preds = %56
  invoke void @_ZN3cda8graphics6OpenGL13setUpdateDataEPFvvE(ptr noundef @_Z7calcSolv)
          to label %60 unwind label %39

60:                                               ; preds = %59
  %61 = load i32, ptr %4, align 4, !tbaa !5
  %62 = load ptr, ptr %5, align 8, !tbaa !9
  invoke void @_ZN3cda8graphics4plotERKNS_4math10containers6VectorIdEES6_RKNS2_6MatrixIdEEhiPPKc(ptr noundef nonnull align 8 dereferenceable(24) @vX, ptr noundef nonnull align 8 dereferenceable(24) @vY, ptr noundef nonnull align 8 dereferenceable(40) @cI, i8 noundef zeroext 12, i32 noundef %61, ptr noundef %62)
          to label %63 unwind label %39

63:                                               ; preds = %60
  br label %144

64:                                               ; preds = %54
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %8, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %9, align 4
  br label %72

68:                                               ; preds = %55
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %8, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %72

72:                                               ; preds = %68, %64
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  br label %146

73:                                               ; preds = %24
  %74 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %74, label %81 [
    i32 1, label %75
    i32 2, label %77
    i32 3, label %79
  ]

75:                                               ; preds = %73
  invoke void @_Z18chladni_patterns_Av()
          to label %76 unwind label %39

76:                                               ; preds = %75
  br label %84

77:                                               ; preds = %73
  invoke void @_Z18chladni_patterns_Bv()
          to label %78 unwind label %39

78:                                               ; preds = %77
  br label %84

79:                                               ; preds = %73
  invoke void @_Z18chladni_patterns_Cv()
          to label %80 unwind label %39

80:                                               ; preds = %79
  br label %84

81:                                               ; preds = %73
  %82 = load ptr, ptr @stderr, align 8, !tbaa !9
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.13) #7
  br label %84

84:                                               ; preds = %81, %80, %78, %76
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %85 unwind label %94

85:                                               ; preds = %84
  invoke void @_ZN3cda8graphics6OpenGL13setWindowNameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %14)
          to label %86 unwind label %98

86:                                               ; preds = %85
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  %87 = load double, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 18), align 8, !tbaa !25
  %88 = fptrunc double %87 to float
  invoke void @_ZN3cda8graphics6OpenGL11setStepTimeEf(float noundef %88)
          to label %89 unwind label %39

89:                                               ; preds = %86
  invoke void @_ZN3cda8graphics6OpenGL13setUpdateDataEPFvvE(ptr noundef @_Z7calcSolv)
          to label %90 unwind label %39

90:                                               ; preds = %89
  %91 = load i32, ptr %4, align 4, !tbaa !5
  %92 = load ptr, ptr %5, align 8, !tbaa !9
  invoke void @_ZN3cda8graphics4plotERKNS_4math10containers6VectorIdEES6_RKNS2_6MatrixIdEEhiPPKc(ptr noundef nonnull align 8 dereferenceable(24) @vX, ptr noundef nonnull align 8 dereferenceable(24) @vY, ptr noundef nonnull align 8 dereferenceable(40) @cI, i8 noundef zeroext 4, i32 noundef %91, ptr noundef %92)
          to label %93 unwind label %39

93:                                               ; preds = %90
  br label %144

94:                                               ; preds = %84
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %8, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %9, align 4
  br label %102

98:                                               ; preds = %85
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %8, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %102

102:                                              ; preds = %98, %94
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %146

103:                                              ; preds = %24
  %104 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %104, label %119 [
    i32 1, label %105
    i32 2, label %107
    i32 3, label %109
    i32 4, label %111
    i32 5, label %113
    i32 6, label %115
    i32 7, label %117
  ]

105:                                              ; preds = %103
  invoke void @_Z13single_slit_Av()
          to label %106 unwind label %39

106:                                              ; preds = %105
  br label %122

107:                                              ; preds = %103
  invoke void @_Z13single_slit_Bv()
          to label %108 unwind label %39

108:                                              ; preds = %107
  br label %122

109:                                              ; preds = %103
  invoke void @_Z11double_slitv()
          to label %110 unwind label %39

110:                                              ; preds = %109
  br label %122

111:                                              ; preds = %103
  invoke void @_Z8cylinderv()
          to label %112 unwind label %39

112:                                              ; preds = %111
  br label %122

113:                                              ; preds = %103
  invoke void @_Z25single_slit_circular_wavev()
          to label %114 unwind label %39

114:                                              ; preds = %113
  br label %122

115:                                              ; preds = %103
  invoke void @_Z25double_slit_circular_wavev()
          to label %116 unwind label %39

116:                                              ; preds = %115
  br label %122

117:                                              ; preds = %103
  invoke void @_Z22cylinder_circular_wavev()
          to label %118 unwind label %39

118:                                              ; preds = %117
  br label %122

119:                                              ; preds = %103
  %120 = load ptr, ptr @stderr, align 8, !tbaa !9
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.13) #7
  br label %122

122:                                              ; preds = %119, %118, %116, %114, %112, %110, %108, %106
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %123 unwind label %132

123:                                              ; preds = %122
  invoke void @_ZN3cda8graphics6OpenGL13setWindowNameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %16)
          to label %124 unwind label %136

124:                                              ; preds = %123
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  %125 = load double, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 18), align 8, !tbaa !25
  %126 = fptrunc double %125 to float
  invoke void @_ZN3cda8graphics6OpenGL11setStepTimeEf(float noundef %126)
          to label %127 unwind label %39

127:                                              ; preds = %124
  invoke void @_ZN3cda8graphics6OpenGL13setUpdateDataEPFvvE(ptr noundef @_Z7calcSolv)
          to label %128 unwind label %39

128:                                              ; preds = %127
  %129 = load i32, ptr %4, align 4, !tbaa !5
  %130 = load ptr, ptr %5, align 8, !tbaa !9
  invoke void @_ZN3cda8graphics4plotERKNS_4math10containers6VectorIdEES6_RKNS2_6MatrixIdEEhiPPKc(ptr noundef nonnull align 8 dereferenceable(24) @vX, ptr noundef nonnull align 8 dereferenceable(24) @vY, ptr noundef nonnull align 8 dereferenceable(40) @cI, i8 noundef zeroext 4, i32 noundef %129, ptr noundef %130)
          to label %131 unwind label %39

131:                                              ; preds = %128
  br label %144

132:                                              ; preds = %122
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %8, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %9, align 4
  br label %140

136:                                              ; preds = %123
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %8, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %140

140:                                              ; preds = %136, %132
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %146

141:                                              ; preds = %24
  %142 = load ptr, ptr @stderr, align 8, !tbaa !9
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %142, ptr noundef @.str.17) #7
  br label %144

144:                                              ; preds = %141, %131, %93, %63
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  %145 = load i32, ptr %3, align 4
  ret i32 %145

146:                                              ; preds = %140, %102, %72, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %147

147:                                              ; preds = %146, %31
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %148

148:                                              ; preds = %147, %27
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  br label %149

149:                                              ; preds = %148
  %150 = load ptr, ptr %8, align 8
  %151 = load i32, ptr %9, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153
}

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 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)) #3

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

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

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

; Function Attrs: nounwind
declare ptr @getenv(ptr noundef) #5

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17vibration_modes_Av() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17vibration_modes_Bv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17vibration_modes_Cv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17vibration_modes_Dv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5pulsev() #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #5

declare void @_ZN3cda8graphics6OpenGL13setWindowNameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) #6

declare void @_ZN3cda8graphics6OpenGL11setStepTimeEf(float noundef) #6

declare void @_ZN3cda8graphics6OpenGL13setUpdateDataEPFvvE(ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7calcSolv() #2

declare void @_ZN3cda8graphics4plotERKNS_4math10containers6VectorIdEES6_RKNS2_6MatrixIdEEhiPPKc(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40), i8 noundef zeroext, i32 noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18chladni_patterns_Av() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18chladni_patterns_Bv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18chladni_patterns_Cv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13single_slit_Av() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13single_slit_Bv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11double_slitv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8cylinderv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25single_slit_circular_wavev() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25double_slit_circular_wavev() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22cylinder_circular_wavev() #2

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

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

!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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !19, i64 240}
!12 = !{!"_ZTSN3cda4math22differential_equations3EDPE", !13, i64 0, !15, i64 24, !16, i64 64, !17, i64 104, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !19, i64 240, !19, i64 248, !10, i64 256, !10, i64 264, !19, i64 272}
!13 = !{!"_ZTSN3cda4math10containers6VectorIdEE", !14, i64 0, !10, i64 8, !10, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSN3cda4math10containers6MatrixIdEE", !14, i64 0, !14, i64 8, !14, i64 16, !10, i64 24, !10, i64 32}
!16 = !{!"_ZTSN3cda4math10containers6MatrixIbEE", !14, i64 0, !14, i64 8, !14, i64 16, !10, i64 24, !10, i64 32}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !14, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = !{!12, !10, i64 264}
!21 = !{!12, !10, i64 184}
!22 = !{!12, !10, i64 168}
!23 = !{!12, !10, i64 160}
!24 = !{!12, !10, i64 176}
!25 = !{!12, !19, i64 248}


; 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.cda::math::containers::Matrix" = type { i64, i64, i64, ptr, ptr }
%"class.cda::math::containers::Vector" = type { i64, ptr, ptr }
%"class.cda::math::differential_equations::EDP" = type { %"class.cda::math::containers::Vector", %"class.cda::math::containers::Matrix", %"class.cda::math::containers::Matrix.0", %"class.std::__cxx11::basic_string", ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, ptr, ptr, double }
%"class.cda::math::containers::Matrix.0" = type { i64, i64, i64, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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.std::allocator" = type { i8 }

@model = external dso_local local_unnamed_addr global i32, align 4
@cI = external dso_local global %"class.cda::math::containers::Matrix", align 8
@vX = external dso_local global %"class.cda::math::containers::Vector", align 8
@vY = external dso_local global %"class.cda::math::containers::Vector", align 8
@membrane = external dso_local global %"class.cda::math::differential_equations::EDP", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %9 = 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)
  %10 = 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.9)
  %11 = 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.10)
  store double 0.000000e+00, ptr getelementptr inbounds (i8, ptr @membrane, i64 240), align 8, !tbaa !5
  store ptr @_Z2QQdd, ptr getelementptr inbounds (i8, ptr @membrane, i64 264), align 8, !tbaa !17
  store ptr @_Z2BCdd, ptr getelementptr inbounds (i8, ptr @membrane, i64 184), align 8, !tbaa !18
  store ptr @_Z2BCdd, ptr getelementptr inbounds (i8, ptr @membrane, i64 168), align 8, !tbaa !19
  store ptr @_Z2BCdd, ptr getelementptr inbounds (i8, ptr @membrane, i64 160), align 8, !tbaa !20
  store ptr @_Z2BCdd, ptr getelementptr inbounds (i8, ptr @membrane, i64 176), align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  %12 = tail call ptr @getenv(ptr noundef nonnull @.str.11) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef %12, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %13 unwind label %16

13:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.12)
          to label %14 unwind label %18

14:                                               ; preds = %13
  %15 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @membrane, i64 104), ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  store i32 1, ptr @model, align 4, !tbaa !22
  invoke void @_Z17vibration_modes_Av()
          to label %22 unwind label %20

16:                                               ; preds = %2
  %17 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %36

18:                                               ; preds = %13
  %19 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %35

20:                                               ; preds = %28, %27, %24, %14
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %35

22:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %23 unwind label %29

23:                                               ; preds = %22
  invoke void @_ZN3cda8graphics6OpenGL13setWindowNameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %6)
          to label %24 unwind label %31

24:                                               ; preds = %23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  %25 = load double, ptr getelementptr inbounds (i8, ptr @membrane, i64 248), align 8, !tbaa !24
  %26 = fptrunc double %25 to float
  invoke void @_ZN3cda8graphics6OpenGL11setStepTimeEf(float noundef %26)
          to label %27 unwind label %20

27:                                               ; preds = %24
  invoke void @_ZN3cda8graphics6OpenGL13setUpdateDataEPFvvE(ptr noundef nonnull @_Z7calcSolv)
          to label %28 unwind label %20

28:                                               ; preds = %27
  invoke void @_ZN3cda8graphics4plotERKNS_4math10containers6VectorIdEES6_RKNS2_6MatrixIdEEhiPPKc(ptr noundef nonnull align 8 dereferenceable(24) @vX, ptr noundef nonnull align 8 dereferenceable(24) @vY, ptr noundef nonnull align 8 dereferenceable(40) @cI, i8 noundef zeroext 12, i32 noundef %0, ptr noundef %1)
          to label %34 unwind label %20

29:                                               ; preds = %22
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %33

31:                                               ; preds = %23
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %33

33:                                               ; preds = %31, %29
  %.pn = phi { ptr, i32 } [ %32, %31 ], [ %30, %29 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %35

34:                                               ; preds = %28
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  ret i32 0

35:                                               ; preds = %20, %33, %18
  %.pn18.pn = phi { ptr, i32 } [ %19, %18 ], [ %21, %20 ], [ %.pn, %33 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  br label %36

36:                                               ; preds = %35, %16
  %.pn18.pn.pn = phi { ptr, i32 } [ %.pn18.pn, %35 ], [ %17, %16 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn18.pn.pn
}

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

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

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

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

; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #5

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17vibration_modes_Av() local_unnamed_addr #2

declare void @_ZN3cda8graphics6OpenGL13setWindowNameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) local_unnamed_addr #6

declare void @_ZN3cda8graphics6OpenGL11setStepTimeEf(float noundef) local_unnamed_addr #6

declare void @_ZN3cda8graphics6OpenGL13setUpdateDataEPFvvE(ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7calcSolv() #2

declare void @_ZN3cda8graphics4plotERKNS_4math10containers6VectorIdEES6_RKNS2_6MatrixIdEEhiPPKc(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40), i8 noundef zeroext, i32 noundef, ptr noundef) local_unnamed_addr #6

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !16, i64 240}
!6 = !{!"_ZTSN3cda4math22differential_equations3EDPE", !7, i64 0, !12, i64 24, !13, i64 64, !14, i64 104, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !16, i64 240, !16, i64 248, !11, i64 256, !11, i64 264, !16, i64 272}
!7 = !{!"_ZTSN3cda4math10containers6VectorIdEE", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTSN3cda4math10containers6MatrixIdEE", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 32}
!13 = !{!"_ZTSN3cda4math10containers6MatrixIbEE", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 32}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !8, i64 8, !9, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!16 = !{!"double", !9, i64 0}
!17 = !{!6, !11, i64 264}
!18 = !{!6, !11, i64 184}
!19 = !{!6, !11, i64 168}
!20 = !{!6, !11, i64 160}
!21 = !{!6, !11, i64 176}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !9, i64 0}
!24 = !{!6, !16, i64 248}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PromotePass,SROAPass,SimplifyCFGPass,TailCallElimPass