; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (fdm_gauss_seidel_solver2)

; 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.jet::FdmGaussSeidelSolver2" = type { %"class.jet::FdmLinearSystemSolver2", i32, i32, i32, double, double, double, i8, %"class.jet::Array", %"class.jet::VectorN" }
%"class.jet::FdmLinearSystemSolver2" = type { ptr }
%"class.jet::Array" = type { %"class.jet::Size2", %"class.std::vector" }
%"class.jet::Size2" = type { i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::VectorN" = type { %"class.std::vector" }
%"struct.jet::FdmCompressedLinearSystem2" = type { %"class.jet::MatrixCsr", %"class.jet::VectorN", %"class.jet::VectorN" }
%"class.jet::MatrixCsr" = type { %"class.jet::Size2", %"class.std::vector", %"class.std::vector.6", %"class.std::vector.6" }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; 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 uwtable
define dso_local noundef zeroext i1 @_ZN3jet21FdmGaussSeidelSolver215solveCompressedEPNS_26FdmCompressedLinearSystem2E(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef %1) unnamed_addr #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  call void @_ZN3jet21FdmGaussSeidelSolver224clearUncompressedVectorsEv(ptr noundef nonnull align 8 dereferenceable(120) %8)
  %9 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 9
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %10, i32 0, i32 1
  %12 = call noundef i64 @_ZNK3jet7VectorNIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  call void @_ZN3jet7VectorNIdE6resizeEmRKd(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %12, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %13 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 2
  store i32 %14, ptr %15, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !25
  br label %16

16:                                               ; preds = %58, %2
  %17 = load i32, ptr %6, align 4, !tbaa !25
  %18 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 1
  %19 = load i32, ptr %18, align 8, !tbaa !11
  %20 = icmp ult i32 %17, %19
  br i1 %20, label %22, label %21

21:                                               ; preds = %16
  store i32 2, ptr %7, align 4
  br label %61

22:                                               ; preds = %16
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %23, i32 0, i32 0
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %25, i32 0, i32 2
  %27 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 6
  %28 = load double, ptr %27, align 8, !tbaa !26
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %29, i32 0, i32 1
  call void @_ZN3jet21FdmGaussSeidelSolver25relaxERKNS_9MatrixCsrIdEERKNS_7VectorNIdEEdPS6_(ptr noundef nonnull align 8 dereferenceable(88) %24, ptr noundef nonnull align 8 dereferenceable(24) %26, double noundef %28, ptr noundef %30)
  %31 = load i32, ptr %6, align 4, !tbaa !25
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %57

33:                                               ; preds = %22
  %34 = load i32, ptr %6, align 4, !tbaa !25
  %35 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 3
  %36 = load i32, ptr %35, align 8, !tbaa !27
  %37 = urem i32 %34, %36
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %57

39:                                               ; preds = %33
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %40, i32 0, i32 0
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %44, i32 0, i32 2
  %46 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 9
  call void @_ZN3jet18FdmCompressedBlas28residualERKNS_9MatrixCsrIdEERKNS_7VectorNIdEES8_PS6_(ptr noundef nonnull align 8 dereferenceable(88) %41, ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef %46)
  %47 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 9
  %48 = call noundef double @_ZN3jet18FdmCompressedBlas26l2NormERKNS_7VectorNIdEE(ptr noundef nonnull align 8 dereferenceable(24) %47)
  %49 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 4
  %50 = load double, ptr %49, align 8, !tbaa !28
  %51 = fcmp olt double %48, %50
  br i1 %51, label %52, label %56

52:                                               ; preds = %39
  %53 = load i32, ptr %6, align 4, !tbaa !25
  %54 = add i32 %53, 1
  %55 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 2
  store i32 %54, ptr %55, align 4, !tbaa !24
  store i32 2, ptr %7, align 4
  br label %61

56:                                               ; preds = %39
  br label %57

57:                                               ; preds = %56, %33, %22
  br label %58

58:                                               ; preds = %57
  %59 = load i32, ptr %6, align 4, !tbaa !25
  %60 = add i32 %59, 1
  store i32 %60, ptr %6, align 4, !tbaa !25
  br label %16, !llvm.loop !29

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

62:                                               ; preds = %61
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %63, i32 0, i32 0
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %65, i32 0, i32 1
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.jet::FdmCompressedLinearSystem2", ptr %67, i32 0, i32 2
  %69 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 9
  call void @_ZN3jet18FdmCompressedBlas28residualERKNS_9MatrixCsrIdEERKNS_7VectorNIdEES8_PS6_(ptr noundef nonnull align 8 dereferenceable(88) %64, ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef %69)
  %70 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 9
  %71 = call noundef double @_ZN3jet18FdmCompressedBlas26l2NormERKNS_7VectorNIdEE(ptr noundef nonnull align 8 dereferenceable(24) %70)
  %72 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 5
  store double %71, ptr %72, align 8, !tbaa !31
  %73 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 5
  %74 = load double, ptr %73, align 8, !tbaa !31
  %75 = getelementptr inbounds %"class.jet::FdmGaussSeidelSolver2", ptr %8, i32 0, i32 4
  %76 = load double, ptr %75, align 8, !tbaa !28
  %77 = fcmp olt double %74, %76
  ret i1 %77
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet21FdmGaussSeidelSolver224clearUncompressedVectorsEv(ptr noundef nonnull align 8 dereferenceable(120)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet21FdmGaussSeidelSolver25relaxERKNS_9MatrixCsrIdEERKNS_7VectorNIdEEdPS6_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(24), double noundef, ptr noundef) #1 align 2

declare void @_ZN3jet18FdmCompressedBlas28residualERKNS_9MatrixCsrIdEERKNS_7VectorNIdEES8_PS6_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #3

declare noundef double @_ZN3jet18FdmCompressedBlas26l2NormERKNS_7VectorNIdEE(ptr noundef nonnull align 8 dereferenceable(24)) #3

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


; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3jet21FdmGaussSeidelSolver215solveCompressedEPNS_26FdmCompressedLinearSystem2E(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef %1) unnamed_addr #1 align 2 {
  %3 = alloca double, align 8
  tail call void @_ZN3jet21FdmGaussSeidelSolver224clearUncompressedVectorsEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %4 = getelementptr inbounds i8, ptr %0, i64 96
  %5 = getelementptr inbounds i8, ptr %1, i64 88
  %6 = tail call noundef i64 @_ZNK3jet7VectorNIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  call void @_ZN3jet7VectorNIdE6resizeEmRKd(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %6, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i32, ptr %7, align 8, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %8, ptr %9, align 4, !tbaa !23
  %.not17 = icmp eq i32 %8, 0
  br i1 %.not17, label %.loopexit, label %10

10:                                               ; preds = %2
  %11 = getelementptr inbounds i8, ptr %1, i64 112
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = load double, ptr %12, align 8, !tbaa !24
  call void @_ZN3jet21FdmGaussSeidelSolver25relaxERKNS_9MatrixCsrIdEERKNS_7VectorNIdEEdPS6_(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(24) %11, double noundef %15, ptr noundef nonnull %5)
  %16 = load i32, ptr %7, align 8, !tbaa !9
  %17 = icmp ugt i32 %16, 1
  br i1 %17, label %.peel.next, label %.loopexit

.peel.next:                                       ; preds = %10, %27
  %.016 = phi i32 [ %28, %27 ], [ 1, %10 ]
  %18 = load double, ptr %12, align 8, !tbaa !24
  call void @_ZN3jet21FdmGaussSeidelSolver25relaxERKNS_9MatrixCsrIdEERKNS_7VectorNIdEEdPS6_(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(24) %11, double noundef %18, ptr noundef nonnull %5)
  %19 = load i32, ptr %13, align 8, !tbaa !25
  %20 = urem i32 %.016, %19
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %27

22:                                               ; preds = %.peel.next
  call void @_ZN3jet18FdmCompressedBlas28residualERKNS_9MatrixCsrIdEERKNS_7VectorNIdEES8_PS6_(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull %4)
  %23 = call noundef double @_ZN3jet18FdmCompressedBlas26l2NormERKNS_7VectorNIdEE(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %24 = load double, ptr %14, align 8, !tbaa !26
  %25 = fcmp olt double %23, %24
  br i1 %25, label %.loopexit20, label %27

.loopexit20:                                      ; preds = %22
  %26 = add nuw i32 %.016, 1
  store i32 %26, ptr %9, align 4, !tbaa !23
  br label %.loopexit

27:                                               ; preds = %.peel.next, %22
  %28 = add nuw i32 %.016, 1
  %29 = load i32, ptr %7, align 8, !tbaa !9
  %30 = icmp ult i32 %28, %29
  br i1 %30, label %.peel.next, label %.loopexit, !llvm.loop !27

.loopexit:                                        ; preds = %27, %10, %2, %.loopexit20
  %31 = getelementptr inbounds i8, ptr %1, i64 112
  call void @_ZN3jet18FdmCompressedBlas28residualERKNS_9MatrixCsrIdEERKNS_7VectorNIdEES8_PS6_(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull %4)
  %32 = call noundef double @_ZN3jet18FdmCompressedBlas26l2NormERKNS_7VectorNIdEE(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  store double %32, ptr %33, align 8, !tbaa !30
  %34 = getelementptr inbounds i8, ptr %0, i64 24
  %35 = load double, ptr %34, align 8, !tbaa !26
  %36 = fcmp olt double %32, %35
  ret i1 %36
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet21FdmGaussSeidelSolver224clearUncompressedVectorsEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet21FdmGaussSeidelSolver25relaxERKNS_9MatrixCsrIdEERKNS_7VectorNIdEEdPS6_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(24), double noundef, ptr noundef) local_unnamed_addr #1 align 2

declare void @_ZN3jet18FdmCompressedBlas28residualERKNS_9MatrixCsrIdEERKNS_7VectorNIdEES8_PS6_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #3

declare noundef double @_ZN3jet18FdmCompressedBlas26l2NormERKNS_7VectorNIdEE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"_ZTSN3jet21FdmGaussSeidelSolver2E", !11, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !14, i64 56, !22, i64 96}
!11 = !{!"_ZTSN3jet22FdmLinearSystemSolver2E"}
!12 = !{!"int", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN3jet5ArrayIdLm2EEE", !15, i64 0, !17, i64 16}
!15 = !{!"_ZTSN3jet5Size2E", !16, i64 0, !16, i64 8}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSSt6vectorIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!21 = !{!"any pointer", !7, i64 0}
!22 = !{!"_ZTSN3jet7VectorNIdEE", !17, i64 0}
!23 = !{!10, !12, i64 12}
!24 = !{!10, !6, i64 40}
!25 = !{!10, !12, i64 16}
!26 = !{!10, !6, i64 24}
!27 = distinct !{!27, !28, !29}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!"llvm.loop.peeled.count", i32 1}
!30 = !{!10, !6, i64 32}


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