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

; 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::Matrix.0" = 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.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] }

@cI = external dso_local global %"class.cda::math::containers::Matrix", align 8
@cId = external dso_local global %"class.cda::math::containers::Matrix", align 8
@sinu = external dso_local global %"class.cda::math::containers::Matrix", align 8
@fixedPoints = external dso_local global %"class.cda::math::containers::Matrix.0", 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
@sPosX = external dso_local global i32, align 4
@sPosY = external dso_local global i32, align 4
@sRangeX = external dso_local global i32, align 4
@sRangeY = external dso_local global i32, align 4
@Ten = external dso_local global double, align 8
@P = external dso_local global double, align 8
@Lx = external dso_local global double, align 8
@Ly = external dso_local global double, align 8
@dt = external dso_local global double, align 8
@freqSignal = external dso_local global double, align 8
@sForce = external dso_local global double, align 8
@BConditions = external dso_local global i8, align 1
@membrane = external dso_local global %"class.cda::math::differential_equations::EDP", align 8
@_ZN3cda8graphics8ColorMap8colormapE = external global 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 nounwind uwtable
declare dso_local void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_Z25single_slit_circular_wavev() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca double, align 8
  %2 = alloca double, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.cda::math::containers::Vector", align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.cda::math::containers::Vector", align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.cda::math::containers::Matrix", align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %"class.cda::math::containers::Matrix", align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"class.cda::math::containers::Matrix.0", align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i32, align 4
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca %"class.cda::math::containers::Matrix", align 8
  %40 = alloca i64, align 8
  %41 = alloca i64, align 8
  store double 5.000000e-04, ptr @dt, align 8, !tbaa !5
  %42 = load double, ptr @dt, align 8, !tbaa !5
  store double %42, ptr getelementptr inbounds (%"class.cda::math::differential_equations::EDP", ptr @membrane, i32 0, i32 18), align 8, !tbaa !9
  store double 1.000000e-01, ptr @Ten, align 8, !tbaa !5
  store double 1.000000e-01, ptr @P, align 8, !tbaa !5
  store double 1.000000e+00, ptr @Lx, align 8, !tbaa !5
  store double 1.000000e+00, ptr @Ly, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #3
  store double 5.000000e-03, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  store double 5.000000e-03, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  %43 = load double, ptr @Ly, align 8, !tbaa !5
  %44 = load double, ptr %2, align 8, !tbaa !5
  %45 = fdiv double %43, %44
  %46 = fadd double %45, 1.000000e+00
  %47 = fptosi double %46 to i32
  store i32 %47, ptr %3, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %48 = load double, ptr @Lx, align 8, !tbaa !5
  %49 = load double, ptr %1, align 8, !tbaa !5
  %50 = fdiv double %48, %49
  %51 = fadd double %50, 1.000000e+00
  %52 = fptosi double %51 to i32
  store i32 %52, ptr %4, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %53 = load i32, ptr %4, align 4, !tbaa !18
  %54 = sext i32 %53 to i64
  store i64 %54, ptr %6, align 8, !tbaa !20
  call void @_ZN3cda4math10containers6VectorIdE4zeroERKm(ptr dead_on_unwind writable sret(%"class.cda::math::containers::Vector") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %55 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cda4math10containers6VectorIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) @vX, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %56 unwind label %84

56:                                               ; preds = %0
  call void @_ZN3cda4math10containers6VectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %57 = load i32, ptr %3, align 4, !tbaa !18
  %58 = sext i32 %57 to i64
  store i64 %58, ptr %10, align 8, !tbaa !20
  call void @_ZN3cda4math10containers6VectorIdE4zeroERKm(ptr dead_on_unwind writable sret(%"class.cda::math::containers::Vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %59 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cda4math10containers6VectorIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) @vY, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %60 unwind label %88

60:                                               ; preds = %56
  call void @_ZN3cda4math10containers6VectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %61 = load i32, ptr %3, align 4, !tbaa !18
  %62 = sext i32 %61 to i64
  store i64 %62, ptr %12, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %63 = load i32, ptr %4, align 4, !tbaa !18
  %64 = sext i32 %63 to i64
  store i64 %64, ptr %13, align 8, !tbaa !20
  call void @_ZN3cda4math10containers6MatrixIdE4zeroERKmS5_(ptr dead_on_unwind writable sret(%"class.cda::math::containers::Matrix") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %65 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %66 unwind label %92

66:                                               ; preds = %60
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %67 = load i32, ptr %3, align 4, !tbaa !18
  %68 = sext i32 %67 to i64
  store i64 %68, ptr %15, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %69 = load i32, ptr %4, align 4, !tbaa !18
  %70 = sext i32 %69 to i64
  store i64 %70, ptr %16, align 8, !tbaa !20
  call void @_ZN3cda4math10containers6MatrixIdE4zeroERKmS5_(ptr dead_on_unwind writable sret(%"class.cda::math::containers::Matrix") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %71 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40) @cId, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %72 unwind label %96

72:                                               ; preds = %66
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %73 = load i32, ptr %3, align 4, !tbaa !18
  %74 = sext i32 %73 to i64
  store i64 %74, ptr %18, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %75 = load i32, ptr %4, align 4, !tbaa !18
  %76 = sext i32 %75 to i64
  store i64 %76, ptr %19, align 8, !tbaa !20
  call void @_ZN3cda4math10containers6MatrixIbE4zeroERKmS5_(ptr dead_on_unwind writable sret(%"class.cda::math::containers::Matrix.0") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %77 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIbEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %78 unwind label %100

78:                                               ; preds = %72
  call void @_ZN3cda4math10containers6MatrixIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 0, ptr %20, align 4, !tbaa !18
  br label %79

79:                                               ; preds = %112, %78
  %80 = load i32, ptr %20, align 4, !tbaa !18
  %81 = load i32, ptr %3, align 4, !tbaa !18
  %82 = icmp slt i32 %80, %81
  br i1 %82, label %104, label %83

83:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %115

84:                                               ; preds = %0
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  call void @_ZN3cda4math10containers6VectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #3
  br label %251

88:                                               ; preds = %56
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  call void @_ZN3cda4math10containers6VectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #3
  br label %251

92:                                               ; preds = %60
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #3
  br label %251

96:                                               ; preds = %66
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #3
  br label %251

100:                                              ; preds = %72
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  call void @_ZN3cda4math10containers6MatrixIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #3
  br label %251

104:                                              ; preds = %79
  %105 = load i32, ptr %20, align 4, !tbaa !18
  %106 = sitofp i32 %105 to double
  %107 = load double, ptr %2, align 8, !tbaa !5
  %108 = fmul double %106, %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %109 = load i32, ptr %20, align 4, !tbaa !18
  %110 = sext i32 %109 to i64
  store i64 %110, ptr %21, align 8, !tbaa !20
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3cda4math10containers6VectorIdEixERKm(ptr noundef nonnull align 8 dereferenceable(24) @vY, ptr noundef nonnull align 8 dereferenceable(8) %21)
  store double %108, ptr %111, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  br label %112

112:                                              ; preds = %104
  %113 = load i32, ptr %20, align 4, !tbaa !18
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %20, align 4, !tbaa !18
  br label %79, !llvm.loop !21

115:                                              ; preds = %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !18
  br label %116

116:                                              ; preds = %129, %115
  %117 = load i32, ptr %22, align 4, !tbaa !18
  %118 = load i32, ptr %4, align 4, !tbaa !18
  %119 = icmp slt i32 %117, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %132

121:                                              ; preds = %116
  %122 = load i32, ptr %22, align 4, !tbaa !18
  %123 = sitofp i32 %122 to double
  %124 = load double, ptr %1, align 8, !tbaa !5
  %125 = fmul double %123, %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %126 = load i32, ptr %22, align 4, !tbaa !18
  %127 = sext i32 %126 to i64
  store i64 %127, ptr %23, align 8, !tbaa !20
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3cda4math10containers6VectorIdEixERKm(ptr noundef nonnull align 8 dereferenceable(24) @vX, ptr noundef nonnull align 8 dereferenceable(8) %23)
  store double %125, ptr %128, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  br label %129

129:                                              ; preds = %121
  %130 = load i32, ptr %22, align 4, !tbaa !18
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %22, align 4, !tbaa !18
  br label %116, !llvm.loop !23

132:                                              ; preds = %120
  store i8 -16, ptr @BConditions, align 1, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  %133 = load i32, ptr %4, align 4, !tbaa !18
  %134 = sdiv i32 %133, 3
  store i32 %134, ptr %24, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %135 = load i32, ptr %3, align 4, !tbaa !18
  %136 = sdiv i32 %135, 2
  store i32 %136, ptr %25, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  %137 = load i32, ptr %3, align 4, !tbaa !18
  %138 = sitofp i32 %137 to double
  %139 = fmul double %138, 1.000000e-02
  %140 = fptosi double %139 to i32
  store i32 %140, ptr %26, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  store i32 0, ptr %27, align 4, !tbaa !18
  br label %141

141:                                              ; preds = %173, %132
  %142 = load i32, ptr %27, align 4, !tbaa !18
  %143 = load i32, ptr %3, align 4, !tbaa !18
  %144 = icmp slt i32 %142, %143
  br i1 %144, label %146, label %145

145:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  br label %176

146:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %147 = load i32, ptr %27, align 4, !tbaa !18
  %148 = sext i32 %147 to i64
  store i64 %148, ptr %28, align 8, !tbaa !20
  %149 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %28)
  %150 = load i32, ptr %24, align 4, !tbaa !18
  %151 = sub nsw i32 %150, 1
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds i8, ptr %149, i64 %152
  store i8 1, ptr %153, align 1, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  %154 = load i32, ptr %27, align 4, !tbaa !18
  %155 = sext i32 %154 to i64
  store i64 %155, ptr %29, align 8, !tbaa !20
  %156 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %29)
  %157 = load i32, ptr %24, align 4, !tbaa !18
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds i8, ptr %156, i64 %158
  store i8 1, ptr %159, align 1, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  %160 = load i32, ptr %27, align 4, !tbaa !18
  %161 = sext i32 %160 to i64
  store i64 %161, ptr %30, align 8, !tbaa !20
  %162 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %30)
  %163 = load i32, ptr %24, align 4, !tbaa !18
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds double, ptr %162, i64 %164
  store double 5.000000e-01, ptr %165, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  %166 = load i32, ptr %27, align 4, !tbaa !18
  %167 = sext i32 %166 to i64
  store i64 %167, ptr %31, align 8, !tbaa !20
  %168 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %169 = load i32, ptr %24, align 4, !tbaa !18
  %170 = add nsw i32 %169, 1
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds i8, ptr %168, i64 %171
  store i8 1, ptr %172, align 1, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  br label %173

173:                                              ; preds = %146
  %174 = load i32, ptr %27, align 4, !tbaa !18
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %27, align 4, !tbaa !18
  br label %141, !llvm.loop !27

176:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #3
  %177 = load i32, ptr %25, align 4, !tbaa !18
  %178 = load i32, ptr %26, align 4, !tbaa !18
  %179 = sub nsw i32 %177, %178
  store i32 %179, ptr %32, align 4, !tbaa !18
  br label %180

180:                                              ; preds = %215, %176
  %181 = load i32, ptr %32, align 4, !tbaa !18
  %182 = load i32, ptr %25, align 4, !tbaa !18
  %183 = load i32, ptr %26, align 4, !tbaa !18
  %184 = add nsw i32 %182, %183
  %185 = icmp sle i32 %181, %184
  br i1 %185, label %187, label %186

186:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #3
  br label %218

187:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  %188 = load i32, ptr %32, align 4, !tbaa !18
  %189 = sext i32 %188 to i64
  store i64 %189, ptr %33, align 8, !tbaa !20
  %190 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %33)
  %191 = load i32, ptr %24, align 4, !tbaa !18
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds i8, ptr %190, i64 %192
  store i8 0, ptr %193, align 1, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #3
  %194 = load i32, ptr %32, align 4, !tbaa !18
  %195 = sext i32 %194 to i64
  store i64 %195, ptr %34, align 8, !tbaa !20
  %196 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %34)
  %197 = load i32, ptr %24, align 4, !tbaa !18
  %198 = sub nsw i32 %197, 1
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds i8, ptr %196, i64 %199
  store i8 0, ptr %200, align 1, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #3
  %201 = load i32, ptr %32, align 4, !tbaa !18
  %202 = sext i32 %201 to i64
  store i64 %202, ptr %35, align 8, !tbaa !20
  %203 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %35)
  %204 = load i32, ptr %24, align 4, !tbaa !18
  %205 = add nsw i32 %204, 1
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds i8, ptr %203, i64 %206
  store i8 0, ptr %207, align 1, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #3
  %208 = load i32, ptr %32, align 4, !tbaa !18
  %209 = sext i32 %208 to i64
  store i64 %209, ptr %36, align 8, !tbaa !20
  %210 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %36)
  %211 = load i32, ptr %4, align 4, !tbaa !18
  %212 = sdiv i32 %211, 3
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds double, ptr %210, i64 %213
  store double 0.000000e+00, ptr %214, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  br label %215

215:                                              ; preds = %187
  %216 = load i32, ptr %32, align 4, !tbaa !18
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %32, align 4, !tbaa !18
  br label %180, !llvm.loop !28

218:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #3
  %219 = load i32, ptr %25, align 4, !tbaa !18
  %220 = load i32, ptr %26, align 4, !tbaa !18
  %221 = add nsw i32 %220, 1
  %222 = sub nsw i32 %219, %221
  %223 = sext i32 %222 to i64
  store i64 %223, ptr %37, align 8, !tbaa !20
  %224 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %37)
  %225 = load i32, ptr %24, align 4, !tbaa !18
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds double, ptr %224, i64 %226
  store double 0.000000e+00, ptr %227, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #3
  %228 = load i32, ptr %25, align 4, !tbaa !18
  %229 = load i32, ptr %26, align 4, !tbaa !18
  %230 = add nsw i32 %229, 1
  %231 = add nsw i32 %228, %230
  %232 = sext i32 %231 to i64
  store i64 %232, ptr %38, align 8, !tbaa !20
  %233 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %38)
  %234 = load i32, ptr %24, align 4, !tbaa !18
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds double, ptr %233, i64 %235
  store double 0.000000e+00, ptr %236, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #3
  %237 = load i32, ptr %4, align 4, !tbaa !18
  %238 = sdiv i32 %237, 6
  store i32 %238, ptr @sPosX, align 4, !tbaa !18
  %239 = load i32, ptr %3, align 4, !tbaa !18
  %240 = sdiv i32 %239, 2
  store i32 %240, ptr @sPosY, align 4, !tbaa !18
  store i32 2, ptr @sRangeX, align 4, !tbaa !18
  store i32 2, ptr @sRangeY, align 4, !tbaa !18
  store double 3.000000e-01, ptr @sForce, align 8, !tbaa !5
  store double 1.000000e+02, ptr @freqSignal, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %39) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #3
  %241 = load i32, ptr %3, align 4, !tbaa !18
  %242 = sext i32 %241 to i64
  store i64 %242, ptr %40, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #3
  %243 = load i32, ptr %4, align 4, !tbaa !18
  %244 = sext i32 %243 to i64
  store i64 %244, ptr %41, align 8, !tbaa !20
  call void @_ZN3cda4math10containers6MatrixIdE4zeroERKmS5_(ptr dead_on_unwind writable sret(%"class.cda::math::containers::Matrix") align 8 %39, ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41)
  %245 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40) @sinu, ptr noundef nonnull align 8 dereferenceable(40) %39)
          to label %246 unwind label %247

246:                                              ; preds = %218
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %39) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #3
  store i8 64, ptr @_ZN3cda8graphics8ColorMap8colormapE, align 1, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #3
  ret void

247:                                              ; preds = %218
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %7, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %8, align 4
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %39) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  br label %251

251:                                              ; preds = %247, %100, %96, %92, %88, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #3
  br label %252

252:                                              ; preds = %251
  %253 = load ptr, ptr %7, align 8
  %254 = load i32, ptr %8, align 4
  %255 = insertvalue { ptr, i32 } poison, ptr %253, 0
  %256 = insertvalue { ptr, i32 } %255, i32 %254, 1
  resume { ptr, i32 } %256
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cda4math10containers6VectorIdE4zeroERKm(ptr dead_on_unwind noalias writable sret(%"class.cda::math::containers::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cda4math10containers6MatrixIdE4zeroERKmS5_(ptr dead_on_unwind noalias writable sret(%"class.cda::math::containers::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cda4math10containers6MatrixIbE4zeroERKmS5_(ptr dead_on_unwind noalias writable sret(%"class.cda::math::containers::Matrix.0") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { 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, !6, i64 248}
!10 = !{!"_ZTSN3cda4math22differential_equations3EDPE", !11, i64 0, !14, i64 24, !15, i64 64, !16, i64 104, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !6, i64 240, !6, i64 248, !13, i64 256, !13, i64 264, !6, i64 272}
!11 = !{!"_ZTSN3cda4math10containers6VectorIdEE", !12, i64 0, !13, i64 8, !13, i64 16}
!12 = !{!"long", !7, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"_ZTSN3cda4math10containers6MatrixIdEE", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 32}
!15 = !{!"_ZTSN3cda4math10containers6MatrixIbEE", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 32}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !12, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!12, !12, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!7, !7, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = distinct !{!27, !22}
!28 = distinct !{!28, !22}


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

%"class.cda::math::containers::Matrix" = type { i64, i64, i64, ptr, ptr }
%"class.cda::math::containers::Matrix.0" = 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.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] }

@cI = external dso_local global %"class.cda::math::containers::Matrix", align 8
@cId = external dso_local global %"class.cda::math::containers::Matrix", align 8
@sinu = external dso_local global %"class.cda::math::containers::Matrix", align 8
@fixedPoints = external dso_local global %"class.cda::math::containers::Matrix.0", 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
@sPosX = external dso_local local_unnamed_addr global i32, align 4
@sPosY = external dso_local local_unnamed_addr global i32, align 4
@sRangeX = external dso_local local_unnamed_addr global i32, align 4
@sRangeY = external dso_local local_unnamed_addr global i32, align 4
@Ten = external dso_local local_unnamed_addr global double, align 8
@P = external dso_local local_unnamed_addr global double, align 8
@Lx = external dso_local local_unnamed_addr global double, align 8
@Ly = external dso_local local_unnamed_addr global double, align 8
@dt = external dso_local local_unnamed_addr global double, align 8
@freqSignal = external dso_local local_unnamed_addr global double, align 8
@sForce = external dso_local local_unnamed_addr global double, align 8
@BConditions = external dso_local local_unnamed_addr global i8, align 1
@membrane = external dso_local local_unnamed_addr global %"class.cda::math::differential_equations::EDP", align 8
@_ZN3cda8graphics8ColorMap8colormapE = external local_unnamed_addr global 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 nounwind uwtable
declare dso_local void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_Z25single_slit_circular_wavev() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.cda::math::containers::Vector", align 8
  %2 = alloca i64, align 8
  %3 = alloca %"class.cda::math::containers::Vector", align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.cda::math::containers::Matrix", align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.cda::math::containers::Matrix", align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.cda::math::containers::Matrix.0", align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca %"class.cda::math::containers::Matrix", align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  store double 5.000000e-04, ptr @dt, align 8, !tbaa !5
  store double 5.000000e-04, ptr getelementptr inbounds (i8, ptr @membrane, i64 248), align 8, !tbaa !9
  store double 1.000000e-01, ptr @Ten, align 8, !tbaa !5
  store double 1.000000e-01, ptr @P, align 8, !tbaa !5
  store double 1.000000e+00, ptr @Lx, align 8, !tbaa !5
  store double 1.000000e+00, ptr @Ly, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  store i64 201, ptr %2, align 8, !tbaa !18
  call void @_ZN3cda4math10containers6VectorIdE4zeroERKm(ptr dead_on_unwind nonnull writable sret(%"class.cda::math::containers::Vector") align 8 %1, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %29 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cda4math10containers6VectorIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) @vX, ptr noundef nonnull align 8 dereferenceable(24) %1)
  call void @_ZN3cda4math10containers6VectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  store i64 201, ptr %4, align 8, !tbaa !18
  call void @_ZN3cda4math10containers6VectorIdE4zeroERKm(ptr dead_on_unwind nonnull writable sret(%"class.cda::math::containers::Vector") align 8 %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %30 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cda4math10containers6VectorIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) @vY, ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @_ZN3cda4math10containers6VectorIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  store i64 201, ptr %6, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  store i64 201, ptr %7, align 8, !tbaa !18
  call void @_ZN3cda4math10containers6MatrixIdE4zeroERKmS5_(ptr dead_on_unwind nonnull writable sret(%"class.cda::math::containers::Matrix") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %31 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(40) %5)
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  store i64 201, ptr %9, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  store i64 201, ptr %10, align 8, !tbaa !18
  call void @_ZN3cda4math10containers6MatrixIdE4zeroERKmS5_(ptr dead_on_unwind nonnull writable sret(%"class.cda::math::containers::Matrix") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %32 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40) @cId, ptr noundef nonnull align 8 dereferenceable(40) %8)
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  store i64 201, ptr %12, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
  store i64 201, ptr %13, align 8, !tbaa !18
  call void @_ZN3cda4math10containers6MatrixIbE4zeroERKmS5_(ptr dead_on_unwind nonnull writable sret(%"class.cda::math::containers::Matrix.0") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %33 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIbEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(40) %11)
  call void @_ZN3cda4math10containers6MatrixIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #3
  br label %34

34:                                               ; preds = %0, %34
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %34 ]
  %35 = trunc nuw nsw i64 %indvars.iv to i32
  %36 = uitofp nneg i32 %35 to double
  %37 = fmul double %36, 5.000000e-03
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  store i64 %indvars.iv, ptr %14, align 8, !tbaa !18
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3cda4math10containers6VectorIdEixERKm(ptr noundef nonnull align 8 dereferenceable(24) @vY, ptr noundef nonnull align 8 dereferenceable(8) %14)
  store double %37, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 201
  br i1 %exitcond.not, label %.preheader63, label %34, !llvm.loop !19

39:                                               ; preds = %.preheader63
  store i8 -16, ptr @BConditions, align 1, !tbaa !21
  br label %44

.preheader63:                                     ; preds = %34, %.preheader63
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %.preheader63 ], [ 0, %34 ]
  %40 = trunc nuw nsw i64 %indvars.iv69 to i32
  %41 = uitofp nneg i32 %40 to double
  %42 = fmul double %41, 5.000000e-03
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
  store i64 %indvars.iv69, ptr %15, align 8, !tbaa !18
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3cda4math10containers6VectorIdEixERKm(ptr noundef nonnull align 8 dereferenceable(24) @vX, ptr noundef nonnull align 8 dereferenceable(8) %15)
  store double %42, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %exitcond72.not = icmp eq i64 %indvars.iv.next70, 201
  br i1 %exitcond72.not, label %39, label %.preheader63, !llvm.loop !22

44:                                               ; preds = %39, %44
  %indvars.iv73 = phi i64 [ 0, %39 ], [ %indvars.iv.next74, %44 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  store i64 %indvars.iv73, ptr %16, align 8, !tbaa !18
  %45 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %46 = getelementptr inbounds i8, ptr %45, i64 66
  store i8 1, ptr %46, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
  store i64 %indvars.iv73, ptr %17, align 8, !tbaa !18
  %47 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %48 = getelementptr inbounds i8, ptr %47, i64 67
  store i8 1, ptr %48, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #3
  store i64 %indvars.iv73, ptr %18, align 8, !tbaa !18
  %49 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %50 = getelementptr inbounds i8, ptr %49, i64 536
  store double 5.000000e-01, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
  store i64 %indvars.iv73, ptr %19, align 8, !tbaa !18
  %51 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %52 = getelementptr inbounds i8, ptr %51, i64 68
  store i8 1, ptr %52, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
  %indvars.iv.next74 = add nuw nsw i64 %indvars.iv73, 1
  %exitcond76.not = icmp eq i64 %indvars.iv.next74, 201
  br i1 %exitcond76.not, label %.preheader.preheader, label %44, !llvm.loop !25

.preheader.preheader:                             ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  store i64 98, ptr %20, align 8, !tbaa !18
  %53 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %54 = getelementptr inbounds i8, ptr %53, i64 67
  store i8 0, ptr %54, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  store i64 98, ptr %21, align 8, !tbaa !18
  %55 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %56 = getelementptr inbounds i8, ptr %55, i64 66
  store i8 0, ptr %56, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #3
  store i64 98, ptr %22, align 8, !tbaa !18
  %57 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %58 = getelementptr inbounds i8, ptr %57, i64 68
  store i8 0, ptr %58, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #3
  store i64 98, ptr %23, align 8, !tbaa !18
  %59 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %60 = getelementptr inbounds i8, ptr %59, i64 536
  store double 0.000000e+00, ptr %60, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  store i64 99, ptr %20, align 8, !tbaa !18
  %61 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %62 = getelementptr inbounds i8, ptr %61, i64 67
  store i8 0, ptr %62, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  store i64 99, ptr %21, align 8, !tbaa !18
  %63 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %64 = getelementptr inbounds i8, ptr %63, i64 66
  store i8 0, ptr %64, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #3
  store i64 99, ptr %22, align 8, !tbaa !18
  %65 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %66 = getelementptr inbounds i8, ptr %65, i64 68
  store i8 0, ptr %66, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #3
  store i64 99, ptr %23, align 8, !tbaa !18
  %67 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %68 = getelementptr inbounds i8, ptr %67, i64 536
  store double 0.000000e+00, ptr %68, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  store i64 100, ptr %20, align 8, !tbaa !18
  %69 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %70 = getelementptr inbounds i8, ptr %69, i64 67
  store i8 0, ptr %70, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  store i64 100, ptr %21, align 8, !tbaa !18
  %71 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %72 = getelementptr inbounds i8, ptr %71, i64 66
  store i8 0, ptr %72, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #3
  store i64 100, ptr %22, align 8, !tbaa !18
  %73 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %74 = getelementptr inbounds i8, ptr %73, i64 68
  store i8 0, ptr %74, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #3
  store i64 100, ptr %23, align 8, !tbaa !18
  %75 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %76 = getelementptr inbounds i8, ptr %75, i64 536
  store double 0.000000e+00, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  store i64 101, ptr %20, align 8, !tbaa !18
  %77 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %78 = getelementptr inbounds i8, ptr %77, i64 67
  store i8 0, ptr %78, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  store i64 101, ptr %21, align 8, !tbaa !18
  %79 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %80 = getelementptr inbounds i8, ptr %79, i64 66
  store i8 0, ptr %80, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #3
  store i64 101, ptr %22, align 8, !tbaa !18
  %81 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %82 = getelementptr inbounds i8, ptr %81, i64 68
  store i8 0, ptr %82, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #3
  store i64 101, ptr %23, align 8, !tbaa !18
  %83 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %84 = getelementptr inbounds i8, ptr %83, i64 536
  store double 0.000000e+00, ptr %84, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  store i64 102, ptr %20, align 8, !tbaa !18
  %85 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %86 = getelementptr inbounds i8, ptr %85, i64 67
  store i8 0, ptr %86, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  store i64 102, ptr %21, align 8, !tbaa !18
  %87 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %88 = getelementptr inbounds i8, ptr %87, i64 66
  store i8 0, ptr %88, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #3
  store i64 102, ptr %22, align 8, !tbaa !18
  %89 = call noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @fixedPoints, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %90 = getelementptr inbounds i8, ptr %89, i64 68
  store i8 0, ptr %90, align 1, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #3
  store i64 102, ptr %23, align 8, !tbaa !18
  %91 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %92 = getelementptr inbounds i8, ptr %91, i64 536
  store double 0.000000e+00, ptr %92, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #3
  store i64 97, ptr %24, align 8, !tbaa !18
  %93 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %94 = getelementptr inbounds i8, ptr %93, i64 536
  store double 0.000000e+00, ptr %94, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #3
  store i64 103, ptr %25, align 8, !tbaa !18
  %95 = call noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40) @cI, ptr noundef nonnull align 8 dereferenceable(8) %25)
  %96 = getelementptr inbounds i8, ptr %95, i64 536
  store double 0.000000e+00, ptr %96, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #3
  store i32 33, ptr @sPosX, align 4, !tbaa !26
  store i32 100, ptr @sPosY, align 4, !tbaa !26
  store i32 2, ptr @sRangeX, align 4, !tbaa !26
  store i32 2, ptr @sRangeY, align 4, !tbaa !26
  store double 3.000000e-01, ptr @sForce, align 8, !tbaa !5
  store double 1.000000e+02, ptr @freqSignal, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #3
  store i64 201, ptr %27, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #3
  store i64 201, ptr %28, align 8, !tbaa !18
  call void @_ZN3cda4math10containers6MatrixIdE4zeroERKmS5_(ptr dead_on_unwind nonnull writable sret(%"class.cda::math::containers::Matrix") align 8 %26, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28)
  %97 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40) @sinu, ptr noundef nonnull align 8 dereferenceable(40) %26)
  call void @_ZN3cda4math10containers6MatrixIdED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #3
  store i8 64, ptr @_ZN3cda8graphics8ColorMap8colormapE, align 1, !tbaa !21
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cda4math10containers6VectorIdE4zeroERKm(ptr dead_on_unwind noalias writable sret(%"class.cda::math::containers::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cda4math10containers6MatrixIdE4zeroERKmS5_(ptr dead_on_unwind noalias writable sret(%"class.cda::math::containers::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIdEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cda4math10containers6MatrixIbE4zeroERKmS5_(ptr dead_on_unwind noalias writable sret(%"class.cda::math::containers::Matrix.0") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN3cda4math10containers6MatrixIbEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3cda4math10containers6MatrixIbEixERKm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3cda4math10containers6MatrixIdEixERKm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { 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, !6, i64 248}
!10 = !{!"_ZTSN3cda4math22differential_equations3EDPE", !11, i64 0, !14, i64 24, !15, i64 64, !16, i64 104, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !6, i64 240, !6, i64 248, !13, i64 256, !13, i64 264, !6, i64 272}
!11 = !{!"_ZTSN3cda4math10containers6VectorIdEE", !12, i64 0, !13, i64 8, !13, i64 16}
!12 = !{!"long", !7, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"_ZTSN3cda4math10containers6MatrixIdEE", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 32}
!15 = !{!"_ZTSN3cda4math10containers6MatrixIbEE", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 32}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !12, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!18 = !{!12, !12, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !20}
!23 = !{!24, !24, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = distinct !{!25, !20}
!26 = !{!27, !27, i64 0}
!27 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass