; LLVM IR from siconos/siconos :: externals/SOL/lumod-c (lumod_sparse)

; 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"

%struct._sparseMatrix = type { i32, i32, i32, i32, ptr }

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

; Function Attrs: nounwind uwtable
define dso_local void @LUback(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #1 {
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  store i32 %0, ptr %10, align 4, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !9
  store i32 %2, ptr %12, align 4, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !5
  store double %4, ptr %14, align 8, !tbaa !11
  store ptr %5, ptr %15, align 8, !tbaa !9
  store ptr %6, ptr %16, align 8, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !9
  store ptr %8, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  store double 0.000000e+00, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %26 = load ptr, ptr %11, align 8, !tbaa !9
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %29, label %53

29:                                               ; preds = %9
  %30 = load ptr, ptr %11, align 8, !tbaa !9
  %31 = load i32, ptr %30, align 4, !tbaa !5
  store i32 %31, ptr %19, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %47, %29
  %33 = load i32, ptr %19, align 4, !tbaa !5
  %34 = load i32, ptr %10, align 4, !tbaa !5
  %35 = icmp sgt i32 %33, %34
  br i1 %35, label %36, label %50

36:                                               ; preds = %32
  %37 = load ptr, ptr %18, align 8, !tbaa !9
  %38 = load i32, ptr %19, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds double, ptr %37, i64 %39
  %41 = load double, ptr %40, align 8, !tbaa !11
  %42 = call double @llvm.fabs.f64(double %41)
  %43 = load double, ptr %14, align 8, !tbaa !11
  %44 = fcmp ogt double %42, %43
  br i1 %44, label %45, label %46

45:                                               ; preds = %36
  br label %50

46:                                               ; preds = %36
  br label %47

47:                                               ; preds = %46
  %48 = load i32, ptr %19, align 4, !tbaa !5
  %49 = add nsw i32 %48, -1
  store i32 %49, ptr %19, align 4, !tbaa !5
  br label %32, !llvm.loop !13

50:                                               ; preds = %45, %32
  %51 = load i32, ptr %19, align 4, !tbaa !5
  %52 = load ptr, ptr %11, align 8, !tbaa !9
  store i32 %51, ptr %52, align 4, !tbaa !5
  br label %58

53:                                               ; preds = %9
  %54 = load ptr, ptr %11, align 8, !tbaa !9
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = call i32 @llvm.abs.i32(i32 %55, i1 true)
  %57 = load ptr, ptr %11, align 8, !tbaa !9
  store i32 %56, ptr %57, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %53, %50
  %59 = load ptr, ptr %18, align 8, !tbaa !9
  %60 = load ptr, ptr %11, align 8, !tbaa !9
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds double, ptr %59, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !11
  store double %64, ptr %23, align 8, !tbaa !11
  %65 = load i32, ptr %13, align 4, !tbaa !5
  %66 = add nsw i32 %65, 1
  %67 = load ptr, ptr %11, align 8, !tbaa !9
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = sub nsw i32 %66, %68
  store i32 %69, ptr %21, align 4, !tbaa !5
  %70 = load i32, ptr %21, align 4, !tbaa !5
  %71 = icmp sgt i32 %70, 0
  br i1 %71, label %72, label %87

72:                                               ; preds = %58
  %73 = load ptr, ptr %16, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct._sparseMatrix, ptr %73, i32 0, i32 4
  %75 = load ptr, ptr %74, align 8, !tbaa !15
  %76 = load ptr, ptr %11, align 8, !tbaa !9
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = sub nsw i32 %77, 1
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %75, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = load ptr, ptr %17, align 8, !tbaa !9
  %83 = load ptr, ptr %11, align 8, !tbaa !9
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = load i32, ptr %13, align 4, !tbaa !5
  %86 = call i32 @getVector(ptr noundef %81, ptr noundef %82, i32 noundef %84, i32 noundef %85, i8 noundef zeroext 0)
  br label %87

87:                                               ; preds = %72, %58
  %88 = load ptr, ptr %11, align 8, !tbaa !9
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = sub nsw i32 %89, 1
  store i32 %90, ptr %20, align 4, !tbaa !5
  br label %91

91:                                               ; preds = %156, %87
  %92 = load i32, ptr %20, align 4, !tbaa !5
  %93 = load i32, ptr %10, align 4, !tbaa !5
  %94 = icmp sge i32 %92, %93
  br i1 %94, label %95, label %159

95:                                               ; preds = %91
  %96 = load double, ptr %22, align 8, !tbaa !11
  %97 = load ptr, ptr %17, align 8, !tbaa !9
  %98 = load i32, ptr %20, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %97, i64 %99
  store double %96, ptr %100, align 8, !tbaa !11
  %101 = load ptr, ptr %18, align 8, !tbaa !9
  %102 = load i32, ptr %20, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds double, ptr %101, i64 %103
  %105 = load double, ptr %104, align 8, !tbaa !11
  %106 = call double @llvm.fabs.f64(double %105)
  %107 = load double, ptr %14, align 8, !tbaa !11
  %108 = load double, ptr %23, align 8, !tbaa !11
  %109 = call double @llvm.fabs.f64(double %108)
  %110 = fmul double %107, %109
  %111 = fcmp ole double %106, %110
  br i1 %111, label %112, label %113

112:                                              ; preds = %95
  br label %156

113:                                              ; preds = %95
  %114 = load i32, ptr %13, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  %116 = load i32, ptr %20, align 4, !tbaa !5
  %117 = sub nsw i32 %115, %116
  store i32 %117, ptr %21, align 4, !tbaa !5
  %118 = load ptr, ptr %18, align 8, !tbaa !9
  %119 = load i32, ptr %20, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds double, ptr %118, i64 %120
  %122 = load double, ptr %14, align 8, !tbaa !11
  call void @elmgen(ptr noundef %23, ptr noundef %121, double noundef %122, ptr noundef %24, ptr noundef %25)
  %123 = load i32, ptr %20, align 4, !tbaa !5
  %124 = load i32, ptr %13, align 4, !tbaa !5
  %125 = load ptr, ptr %17, align 8, !tbaa !9
  %126 = load ptr, ptr %16, align 8, !tbaa !9
  %127 = getelementptr inbounds %struct._sparseMatrix, ptr %126, i32 0, i32 4
  %128 = load ptr, ptr %127, align 8, !tbaa !15
  %129 = load i32, ptr %20, align 4, !tbaa !5
  %130 = sub nsw i32 %129, 1
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds ptr, ptr %128, i64 %131
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = load double, ptr %24, align 8, !tbaa !11
  %135 = load double, ptr %25, align 8, !tbaa !11
  call void @elm2(i32 noundef %123, i32 noundef %124, ptr noundef %125, ptr noundef %133, double noundef %134, double noundef %135)
  %136 = load i32, ptr %12, align 4, !tbaa !5
  %137 = load ptr, ptr %15, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct._sparseMatrix, ptr %137, i32 0, i32 4
  %139 = load ptr, ptr %138, align 8, !tbaa !15
  %140 = load ptr, ptr %11, align 8, !tbaa !9
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = sub nsw i32 %141, 1
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds ptr, ptr %139, i64 %143
  %145 = load ptr, ptr %144, align 8, !tbaa !9
  %146 = load ptr, ptr %15, align 8, !tbaa !9
  %147 = getelementptr inbounds %struct._sparseMatrix, ptr %146, i32 0, i32 4
  %148 = load ptr, ptr %147, align 8, !tbaa !15
  %149 = load i32, ptr %20, align 4, !tbaa !5
  %150 = sub nsw i32 %149, 1
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds ptr, ptr %148, i64 %151
  %153 = load ptr, ptr %152, align 8, !tbaa !9
  %154 = load double, ptr %24, align 8, !tbaa !11
  %155 = load double, ptr %25, align 8, !tbaa !11
  call void @elm3(i32 noundef 1, i32 noundef %136, ptr noundef %145, ptr noundef %153, double noundef %154, double noundef %155)
  br label %156

156:                                              ; preds = %113, %112
  %157 = load i32, ptr %20, align 4, !tbaa !5
  %158 = add nsw i32 %157, -1
  store i32 %158, ptr %20, align 4, !tbaa !5
  br label %91, !llvm.loop !17

159:                                              ; preds = %91
  %160 = load double, ptr %23, align 8, !tbaa !11
  %161 = load ptr, ptr %18, align 8, !tbaa !9
  %162 = load ptr, ptr %11, align 8, !tbaa !9
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds double, ptr %161, i64 %164
  store double %160, ptr %165, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @elm2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, double noundef, double noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @elm3(i32 noundef, i32 noundef, ptr noundef, ptr noundef, double noundef, double noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @elmgen(ptr noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2

declare i32 @getVector(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !10, i64 16}
!16 = !{!"_sparseMatrix", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16}
!17 = distinct !{!17, !14}


; 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"

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

; Function Attrs: nounwind uwtable
define dso_local void @LUback(i32 noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #1 {
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.preheader, label %24

.preheader:                                       ; preds = %9
  %15 = icmp sgt i32 %13, %0
  br i1 %15, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %.preheader
  %16 = zext nneg i32 %13 to i64
  %17 = sext i32 %0 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %22
  %indvars.iv = phi i64 [ %16, %.lr.ph.preheader ], [ %indvars.iv.next, %22 ]
  %18 = getelementptr inbounds double, ptr %8, i64 %indvars.iv
  %19 = load double, ptr %18, align 8, !tbaa !9
  %20 = tail call double @llvm.fabs.f64(double %19)
  %21 = fcmp ogt double %20, %4
  br i1 %21, label %.loopexit.loopexit.split.loop.exit65, label %22

22:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %23 = icmp sgt i64 %indvars.iv.next, %17
  br i1 %23, label %.lr.ph, label %.loopexit, !llvm.loop !11

24:                                               ; preds = %9
  %25 = sub nsw i32 0, %13
  br label %.loopexit

.loopexit.loopexit.split.loop.exit65:             ; preds = %.lr.ph
  %26 = trunc nsw i64 %indvars.iv to i32
  br label %.loopexit

.loopexit:                                        ; preds = %22, %.loopexit.loopexit.split.loop.exit65, %.preheader, %24
  %storemerge = phi i32 [ %25, %24 ], [ %13, %.preheader ], [ %26, %.loopexit.loopexit.split.loop.exit65 ], [ %0, %22 ]
  store i32 %storemerge, ptr %1, align 4, !tbaa !5
  %27 = sext i32 %storemerge to i64
  %28 = getelementptr inbounds double, ptr %8, i64 %27
  %29 = load double, ptr %28, align 8, !tbaa !9
  store double %29, ptr %10, align 8, !tbaa !9
  %.not = icmp sgt i32 %storemerge, %3
  br i1 %.not, label %37, label %30

30:                                               ; preds = %.loopexit
  %31 = getelementptr inbounds i8, ptr %6, i64 16
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %33 = getelementptr ptr, ptr %32, i64 %27
  %34 = getelementptr i8, ptr %33, i64 -8
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  %36 = tail call i32 @getVector(ptr noundef %35, ptr noundef %7, i32 noundef %storemerge, i32 noundef %3, i8 noundef zeroext 0) #4
  %.pre = load i32, ptr %1, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %30, %.loopexit
  %38 = phi i32 [ %.pre, %30 ], [ %storemerge, %.loopexit ]
  %.not50.not55 = icmp sgt i32 %38, %0
  br i1 %.not50.not55, label %.lr.ph58, label %._crit_edge

.lr.ph58:                                         ; preds = %37
  %39 = getelementptr inbounds i8, ptr %6, i64 16
  %40 = getelementptr inbounds i8, ptr %5, i64 16
  %41 = sext i32 %38 to i64
  %42 = sext i32 %0 to i64
  br label %43

43:                                               ; preds = %.lr.ph58, %70
  %indvars.iv60 = phi i64 [ %41, %.lr.ph58 ], [ %indvars.iv.next61, %70 ]
  %indvars.iv.next61 = add nsw i64 %indvars.iv60, -1
  %44 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.next61
  store double 0.000000e+00, ptr %44, align 8, !tbaa !9
  %45 = getelementptr inbounds double, ptr %8, i64 %indvars.iv.next61
  %46 = load double, ptr %45, align 8, !tbaa !9
  %47 = call double @llvm.fabs.f64(double %46)
  %48 = load double, ptr %10, align 8, !tbaa !9
  %49 = call double @llvm.fabs.f64(double %48)
  %50 = fmul double %49, %4
  %51 = fcmp ugt double %47, %50
  br i1 %51, label %52, label %70

52:                                               ; preds = %43
  call void @elmgen(ptr noundef nonnull %10, ptr noundef nonnull %45, double noundef %4, ptr noundef nonnull %11, ptr noundef nonnull %12)
  %53 = load ptr, ptr %39, align 8, !tbaa !13
  %54 = add nsw i64 %indvars.iv60, -2
  %55 = getelementptr inbounds ptr, ptr %53, i64 %54
  %56 = load ptr, ptr %55, align 8, !tbaa !16
  %57 = load double, ptr %11, align 8, !tbaa !9
  %58 = load double, ptr %12, align 8, !tbaa !9
  %59 = trunc nsw i64 %indvars.iv.next61 to i32
  call void @elm2(i32 noundef %59, i32 noundef %3, ptr noundef nonnull %7, ptr noundef %56, double noundef %57, double noundef %58)
  %60 = load ptr, ptr %40, align 8, !tbaa !13
  %61 = load i32, ptr %1, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr ptr, ptr %60, i64 %62
  %64 = getelementptr i8, ptr %63, i64 -8
  %65 = load ptr, ptr %64, align 8, !tbaa !16
  %66 = getelementptr inbounds ptr, ptr %60, i64 %54
  %67 = load ptr, ptr %66, align 8, !tbaa !16
  %68 = load double, ptr %11, align 8, !tbaa !9
  %69 = load double, ptr %12, align 8, !tbaa !9
  call void @elm3(i32 noundef 1, i32 noundef %2, ptr noundef %65, ptr noundef %67, double noundef %68, double noundef %69)
  br label %70

70:                                               ; preds = %43, %52
  %.not50.not = icmp sgt i64 %indvars.iv.next61, %42
  br i1 %.not50.not, label %43, label %._crit_edge.loopexit, !llvm.loop !17

._crit_edge.loopexit:                             ; preds = %70
  %.pre63 = load double, ptr %10, align 8, !tbaa !9
  %.pre64 = load i32, ptr %1, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %37
  %71 = phi i32 [ %.pre64, %._crit_edge.loopexit ], [ %38, %37 ]
  %72 = phi double [ %.pre63, %._crit_edge.loopexit ], [ %29, %37 ]
  %73 = sext i32 %71 to i64
  %74 = getelementptr inbounds double, ptr %8, i64 %73
  store double %72, ptr %74, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @elm2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @elm3(i32 noundef, i32 noundef, ptr noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @elmgen(ptr noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @getVector(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !15, i64 16}
!14 = !{!"_sparseMatrix", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !15, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = distinct !{!17, !12}


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