; LLVM IR from yangfengzzz/DigitalVox3 :: vox.geometry/fdm_solvers (fdm_iccg_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.vox::geometry::Matrix" = type { i64, i64 }
%"class.vox::geometry::Logger" = type { i8, %"class.std::__cxx11::basic_stringstream" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.vox::geometry::FdmLinearSystem2" = type { %"class.vox::geometry::Array", %"class.vox::geometry::Array.1", %"class.vox::geometry::Array.1" }
%"class.vox::geometry::Array" = type { %"class.vox::geometry::ArrayBase", %"class.std::vector" }
%"class.vox::geometry::ArrayBase" = type { ptr, ptr, %"class.vox::geometry::Matrix" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vox::geometry::FdmMatrixRow2, std::allocator<vox::geometry::FdmMatrixRow2>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::geometry::FdmMatrixRow2, std::allocator<vox::geometry::FdmMatrixRow2>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::geometry::FdmMatrixRow2, std::allocator<vox::geometry::FdmMatrixRow2>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::geometry::FdmMatrixRow2, std::allocator<vox::geometry::FdmMatrixRow2>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.vox::geometry::Array.1" = type { %"class.vox::geometry::ArrayBase.2", %"class.std::vector.3" }
%"class.vox::geometry::ArrayBase.2" = type { ptr, ptr, %"class.vox::geometry::Matrix" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.vox::geometry::FdmIccgSolver2" = type { %"class.vox::geometry::FdmLinearSystemSolver2", i32, i32, double, double, %"class.vox::geometry::Array.1", %"class.vox::geometry::Array.1", %"class.vox::geometry::Array.1", %"class.vox::geometry::Array.1", %"struct.vox::geometry::FdmIccgSolver2::Preconditioner", %"class.vox::geometry::Matrix.15", %"class.vox::geometry::Matrix.15", %"class.vox::geometry::Matrix.15", %"class.vox::geometry::Matrix.15", %"struct.vox::geometry::FdmIccgSolver2::PreconditionerCompressed" }
%"class.vox::geometry::FdmLinearSystemSolver2" = type { ptr }
%"struct.vox::geometry::FdmIccgSolver2::Preconditioner" = type { %"class.vox::geometry::ArrayView", %"class.vox::geometry::Array.1", %"class.vox::geometry::Array.1" }
%"class.vox::geometry::ArrayView" = type { %"class.vox::geometry::ArrayBase.0" }
%"class.vox::geometry::ArrayBase.0" = type { ptr, ptr, %"class.vox::geometry::Matrix" }
%"class.vox::geometry::Matrix.15" = type { %"class.std::vector.3" }
%"struct.vox::geometry::FdmIccgSolver2::PreconditionerCompressed" = type { ptr, %"class.vox::geometry::Matrix.15", %"class.vox::geometry::Matrix.15" }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZN3vox8geometry14FdmIccgSolver25solveEPNS0_16FdmLinearSystem2E = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometry14FdmIccgSolver214Preconditioner5buildERKNS0_5ArrayINS0_13FdmMatrixRow2ELm2EEE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(56)) #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3vox8geometry14FdmIccgSolver25solveEPNS0_16FdmLinearSystem2E(ptr noundef nonnull align 8 dereferenceable(552) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.vox::geometry::Matrix", align 8
  %9 = alloca %"class.vox::geometry::Matrix", align 8
  %10 = alloca double, align 8
  %11 = alloca %"class.vox::geometry::Matrix", align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.vox::geometry::Matrix", align 8
  %14 = alloca double, align 8
  %15 = alloca %"class.vox::geometry::Matrix", align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.vox::geometry::Logger", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %27 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.vox::geometry::FdmLinearSystem2", ptr %28, i32 0, i32 0
  store ptr %29, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.vox::geometry::FdmLinearSystem2", ptr %30, i32 0, i32 1
  store ptr %31, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.vox::geometry::FdmLinearSystem2", ptr %32, i32 0, i32 2
  store ptr %33, ptr %7, align 8, !tbaa !5
  call void @_ZN3vox8geometry14FdmIccgSolver222clearCompressedVectorsEv(ptr noundef nonnull align 8 dereferenceable(552) %27)
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox8geometry9ArrayBaseINS0_13FdmMatrixRow2ELm2ENS0_5ArrayIS2_Lm2EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %34)
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %35)
  %36 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 5
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store double 0.000000e+00, ptr %10, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE6resizeENS0_6MatrixImLm2ELm1EEERKd(ptr noundef nonnull align 8 dereferenceable(56) %36, ptr noundef %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %37 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 6
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store double 0.000000e+00, ptr %12, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE6resizeENS0_6MatrixImLm2ELm1EEERKd(ptr noundef nonnull align 8 dereferenceable(56) %37, ptr noundef %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %38 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 7
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE6resizeENS0_6MatrixImLm2ELm1EEERKd(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %39 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 8
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store double 0.000000e+00, ptr %16, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE6resizeENS0_6MatrixImLm2ELm1EEERKd(ptr noundef nonnull align 8 dereferenceable(56) %39, ptr noundef %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.vox::geometry::FdmLinearSystem2", ptr %40, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %42 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store double 0.000000e+00, ptr %18, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef nonnull align 8 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %43 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store double 0.000000e+00, ptr %19, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %43, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  %44 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  %45 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  store double 0.000000e+00, ptr %21, align 8, !tbaa !9
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  %46 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 9
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox8geometry14FdmIccgSolver214Preconditioner5buildERKNS0_5ArrayINS0_13FdmMatrixRow2ELm2EEE(ptr noundef nonnull align 8 dereferenceable(144) %46, ptr noundef nonnull align 8 dereferenceable(56) %47)
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 1
  %51 = load i32, ptr %50, align 8, !tbaa !11
  %52 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 3
  %53 = load double, ptr %52, align 8, !tbaa !28
  %54 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 9
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 5
  %57 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 6
  %58 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 7
  %59 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 8
  %60 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 2
  %61 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 4
  call void @_ZN3vox8geometry3pcgINS0_8FdmBlas2ENS0_14FdmIccgSolver214PreconditionerEEEvRKNT_10MatrixTypeERKNS5_10VectorTypeEjdPT0_PS9_SE_SE_SE_SE_PjPd(ptr noundef nonnull align 8 dereferenceable(56) %48, ptr noundef nonnull align 8 dereferenceable(56) %49, i32 noundef %51, double noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61)
  call void @llvm.lifetime.start.p0(i64 400, ptr %22) #5
  call void @_ZN3vox8geometry6LoggerC1ENS0_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %22, i8 noundef zeroext 2)
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #5
  invoke void @_ZN3vox8geometry7Logging9getHeaderB5cxx11ENS0_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %23, i8 noundef zeroext 2)
          to label %62 unwind label %102

62:                                               ; preds = %2
  %63 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %22, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %64 unwind label %106

64:                                               ; preds = %62
  %65 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA2_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %63, ptr noundef nonnull align 1 dereferenceable(2) @.str)
          to label %66 unwind label %106

66:                                               ; preds = %64
  %67 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA103_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %65, ptr noundef nonnull align 1 dereferenceable(103) @.str.1)
          to label %68 unwind label %106

68:                                               ; preds = %66
  %69 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA2_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %67, ptr noundef nonnull align 1 dereferenceable(2) @.str.2)
          to label %70 unwind label %106

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 163, ptr %26, align 4, !tbaa !29
  %71 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIiEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %69, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %72 unwind label %110

72:                                               ; preds = %70
  %73 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA3_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %71, ptr noundef nonnull align 1 dereferenceable(3) @.str.3)
          to label %74 unwind label %110

74:                                               ; preds = %72
  %75 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA6_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %73, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3vox8geometry14FdmIccgSolver25solveEPNS0_16FdmLinearSystem2E)
          to label %76 unwind label %110

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA4_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %75, ptr noundef nonnull align 1 dereferenceable(4) @.str.4)
          to label %78 unwind label %110

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA30_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %77, ptr noundef nonnull align 1 dereferenceable(30) @.str.5)
          to label %80 unwind label %110

80:                                               ; preds = %78
  %81 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 4
  %82 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIdEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %79, ptr noundef nonnull align 8 dereferenceable(8) %81)
          to label %83 unwind label %110

83:                                               ; preds = %80
  %84 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA29_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %82, ptr noundef nonnull align 1 dereferenceable(29) @.str.6)
          to label %85 unwind label %110

85:                                               ; preds = %83
  %86 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 2
  %87 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIjEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %84, ptr noundef nonnull align 4 dereferenceable(4) %86)
          to label %88 unwind label %110

88:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  call void @_ZN3vox8geometry6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %22) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr %22) #5
  %89 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 4
  %90 = load double, ptr %89, align 8, !tbaa !30
  %91 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 3
  %92 = load double, ptr %91, align 8, !tbaa !28
  %93 = fcmp ole double %90, %92
  br i1 %93, label %100, label %94

94:                                               ; preds = %88
  %95 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 2
  %96 = load i32, ptr %95, align 4, !tbaa !31
  %97 = getelementptr inbounds %"class.vox::geometry::FdmIccgSolver2", ptr %27, i32 0, i32 1
  %98 = load i32, ptr %97, align 8, !tbaa !11
  %99 = icmp ult i32 %96, %98
  br label %100

100:                                              ; preds = %94, %88
  %101 = phi i1 [ true, %88 ], [ %99, %94 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret i1 %101

102:                                              ; preds = %2
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %24, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %25, align 4
  br label %115

106:                                              ; preds = %68, %66, %64, %62
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %24, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %25, align 4
  br label %114

110:                                              ; preds = %85, %83, %80, %78, %76, %74, %72, %70
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %24, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %114

114:                                              ; preds = %110, %106
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %115

115:                                              ; preds = %114, %102
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  call void @_ZN3vox8geometry6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %22) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %116

116:                                              ; preds = %115
  %117 = load ptr, ptr %24, align 8
  %118 = load i32, ptr %25, align 4
  %119 = insertvalue { ptr, i32 } poison, ptr %117, 0
  %120 = insertvalue { ptr, i32 } %119, i32 %118, 1
  resume { ptr, i32 } %120
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometry3pcgINS0_8FdmBlas2ENS0_14FdmIccgSolver214PreconditionerEEEvRKNT_10MatrixTypeERKNS5_10VectorTypeEjdPT0_PS9_SE_SE_SE_SE_PjPd(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare void @_ZN3vox8geometry6LoggerC1ENS0_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400), i8 noundef zeroext) unnamed_addr #3

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

declare void @_ZN3vox8geometry7Logging9getHeaderB5cxx11ENS0_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i8 noundef zeroext) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA103_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(103)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA3_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(3)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA6_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(6)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA4_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA30_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(30)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA29_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(29)) #0 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN3vox8geometry6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400)) unnamed_addr #4

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

!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 = !{!"_ZTSN3vox8geometry14FdmIccgSolver2E", !13, i64 0, !14, i64 8, !14, i64 12, !10, i64 16, !10, i64 24, !15, i64 32, !15, i64 88, !15, i64 144, !15, i64 200, !23, i64 256, !26, i64 400, !26, i64 424, !26, i64 448, !26, i64 472, !27, i64 496}
!13 = !{!"_ZTSN3vox8geometry22FdmLinearSystemSolver2E"}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN3vox8geometry5ArrayIdLm2EEE", !16, i64 0, !19, i64 32}
!16 = !{!"_ZTSN3vox8geometry9ArrayBaseIdLm2ENS0_5ArrayIdLm2EEEEE", !6, i64 8, !17, i64 16}
!17 = !{!"_ZTSN3vox8geometry6MatrixImLm2ELm1EEE", !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 = !{!"_ZTSN3vox8geometry14FdmIccgSolver214PreconditionerE", !24, i64 0, !15, i64 32, !15, i64 88}
!24 = !{!"_ZTSN3vox8geometry9ArrayViewIKNS0_13FdmMatrixRow2ELm2EEE", !25, i64 0}
!25 = !{!"_ZTSN3vox8geometry9ArrayBaseIKNS0_13FdmMatrixRow2ELm2ENS0_9ArrayViewIS3_Lm2EEEEE", !6, i64 8, !17, i64 16}
!26 = !{!"_ZTSN3vox8geometry6MatrixIdLm0ELm1EEE", !19, i64 0}
!27 = !{!"_ZTSN3vox8geometry14FdmIccgSolver224PreconditionerCompressedE", !6, i64 0, !26, i64 8, !26, i64 32}
!28 = !{!12, !10, i64 16}
!29 = !{!14, !14, i64 0}
!30 = !{!12, !10, i64 24}
!31 = !{!12, !14, i64 12}


; 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.vox::geometry::Matrix" = type { i64, i64 }
%"class.vox::geometry::Logger" = type { i8, %"class.std::__cxx11::basic_stringstream" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZN3vox8geometry14FdmIccgSolver25solveEPNS0_16FdmLinearSystem2E = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometry14FdmIccgSolver214Preconditioner5buildERKNS0_5ArrayINS0_13FdmMatrixRow2ELm2EEE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3vox8geometry14FdmIccgSolver25solveEPNS0_16FdmLinearSystem2E(ptr noundef nonnull align 8 dereferenceable(552) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.vox::geometry::Matrix", align 8
  %4 = alloca %"class.vox::geometry::Matrix", align 8
  %5 = alloca double, align 8
  %6 = alloca %"class.vox::geometry::Matrix", align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.vox::geometry::Matrix", align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.vox::geometry::Matrix", align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca %"class.vox::geometry::Logger", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca i32, align 4
  %20 = getelementptr inbounds i8, ptr %1, i64 56
  %21 = getelementptr inbounds i8, ptr %1, i64 112
  tail call void @_ZN3vox8geometry14FdmIccgSolver222clearCompressedVectorsEv(ptr noundef nonnull align 8 dereferenceable(552) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  %22 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox8geometry9ArrayBaseINS0_13FdmMatrixRow2ELm2ENS0_5ArrayIS2_Lm2EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %22)
  %23 = getelementptr inbounds i8, ptr %0, i64 32
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store double 0.000000e+00, ptr %5, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE6resizeENS0_6MatrixImLm2ELm1EEERKd(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %24 = getelementptr inbounds i8, ptr %0, i64 88
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store double 0.000000e+00, ptr %7, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE6resizeENS0_6MatrixImLm2ELm1EEERKd(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  %25 = getelementptr inbounds i8, ptr %0, i64 144
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  store double 0.000000e+00, ptr %9, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE6resizeENS0_6MatrixImLm2ELm1EEERKd(ptr noundef nonnull align 8 dereferenceable(56) %25, ptr noundef nonnull %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %26 = getelementptr inbounds i8, ptr %0, i64 200
  call void @_ZN3vox8geometry6MatrixImLm2ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  store double 0.000000e+00, ptr %11, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE6resizeENS0_6MatrixImLm2ELm1EEERKd(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store double 0.000000e+00, ptr %12, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %20, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  store double 0.000000e+00, ptr %13, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  store double 0.000000e+00, ptr %14, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  store double 0.000000e+00, ptr %15, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %25, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  store double 0.000000e+00, ptr %16, align 8, !tbaa !5
  call void @_ZN3vox8geometry5ArrayIdLm2EE4fillERKd(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  %27 = getelementptr inbounds i8, ptr %0, i64 256
  call void @_ZN3vox8geometry14FdmIccgSolver214Preconditioner5buildERKNS0_5ArrayINS0_13FdmMatrixRow2ELm2EEE(ptr noundef nonnull align 8 dereferenceable(144) %27, ptr noundef nonnull align 8 dereferenceable(56) %1)
  %28 = getelementptr inbounds i8, ptr %0, i64 8
  %29 = load i32, ptr %28, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  %31 = load double, ptr %30, align 8, !tbaa !27
  %32 = getelementptr inbounds i8, ptr %0, i64 12
  %33 = getelementptr inbounds i8, ptr %0, i64 24
  call void @_ZN3vox8geometry3pcgINS0_8FdmBlas2ENS0_14FdmIccgSolver214PreconditionerEEEvRKNT_10MatrixTypeERKNS5_10VectorTypeEjdPT0_PS9_SE_SE_SE_SE_PjPd(ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(56) %21, i32 noundef %29, double noundef %31, ptr noundef nonnull %27, ptr noundef nonnull %20, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull %32, ptr noundef nonnull %33)
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %17) #5
  call void @_ZN3vox8geometry6LoggerC1ENS0_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %17, i8 noundef zeroext 2)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #5
  invoke void @_ZN3vox8geometry7Logging9getHeaderB5cxx11ENS0_12LoggingLevelE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %18, i8 noundef zeroext 2)
          to label %34 unwind label %66

34:                                               ; preds = %2
  %35 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %17, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %36 unwind label %68

36:                                               ; preds = %34
  %37 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA2_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %35, ptr noundef nonnull align 1 dereferenceable(2) @.str)
          to label %38 unwind label %68

38:                                               ; preds = %36
  %39 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA103_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %37, ptr noundef nonnull align 1 dereferenceable(103) @.str.1)
          to label %40 unwind label %68

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA2_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %39, ptr noundef nonnull align 1 dereferenceable(2) @.str.2)
          to label %42 unwind label %68

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #5
  store i32 163, ptr %19, align 4, !tbaa !28
  %43 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIiEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %41, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %44 unwind label %70

44:                                               ; preds = %42
  %45 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA3_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %43, ptr noundef nonnull align 1 dereferenceable(3) @.str.3)
          to label %46 unwind label %70

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA6_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %45, ptr noundef nonnull align 1 dereferenceable(6) @__func__._ZN3vox8geometry14FdmIccgSolver25solveEPNS0_16FdmLinearSystem2E)
          to label %48 unwind label %70

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA4_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %47, ptr noundef nonnull align 1 dereferenceable(4) @.str.4)
          to label %50 unwind label %70

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA30_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %49, ptr noundef nonnull align 1 dereferenceable(30) @.str.5)
          to label %52 unwind label %70

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIdEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %51, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %54 unwind label %70

54:                                               ; preds = %52
  %55 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA29_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %53, ptr noundef nonnull align 1 dereferenceable(29) @.str.6)
          to label %56 unwind label %70

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIjEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %55, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %58 unwind label %70

58:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #5
  call void @_ZN3vox8geometry6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %17) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %17) #5
  %59 = load double, ptr %33, align 8, !tbaa !29
  %60 = load double, ptr %30, align 8, !tbaa !27
  %61 = fcmp ole double %59, %60
  %62 = load i32, ptr %32, align 4
  %63 = load i32, ptr %28, align 8
  %64 = icmp ult i32 %62, %63
  %65 = select i1 %61, i1 true, i1 %64
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  ret i1 %65

66:                                               ; preds = %2
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %73

68:                                               ; preds = %40, %38, %36, %34
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %72

70:                                               ; preds = %56, %54, %52, %50, %48, %46, %44, %42
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  br label %72

72:                                               ; preds = %70, %68
  %.pn = phi { ptr, i32 } [ %71, %70 ], [ %69, %68 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  br label %73

73:                                               ; preds = %72, %66
  %.pn.pn = phi { ptr, i32 } [ %.pn, %72 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #5
  call void @_ZN3vox8geometry6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %17) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometry3pcgINS0_8FdmBlas2ENS0_14FdmIccgSolver214PreconditionerEEEvRKNT_10MatrixTypeERKNS5_10VectorTypeEjdPT0_PS9_SE_SE_SE_SE_PjPd(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN3vox8geometry6LoggerC1ENS0_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400), i8 noundef zeroext) unnamed_addr #3

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

declare void @_ZN3vox8geometry7Logging9getHeaderB5cxx11ENS0_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i8 noundef zeroext) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA103_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(103)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA3_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA6_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(6)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA4_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA30_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(30)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3vox8geometry6LoggerlsIA29_cEERKS1_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(29)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN3vox8geometry6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400)) unnamed_addr #4

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

!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 = !{!"_ZTSN3vox8geometry14FdmIccgSolver2E", !11, i64 0, !12, i64 8, !12, i64 12, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 88, !13, i64 144, !13, i64 200, !22, i64 256, !25, i64 400, !25, i64 424, !25, i64 448, !25, i64 472, !26, i64 496}
!11 = !{!"_ZTSN3vox8geometry22FdmLinearSystemSolver2E"}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSN3vox8geometry5ArrayIdLm2EEE", !14, i64 0, !18, i64 32}
!14 = !{!"_ZTSN3vox8geometry9ArrayBaseIdLm2ENS0_5ArrayIdLm2EEEEE", !15, i64 8, !16, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSN3vox8geometry6MatrixImLm2ELm1EEE", !17, i64 0, !17, i64 8}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!22 = !{!"_ZTSN3vox8geometry14FdmIccgSolver214PreconditionerE", !23, i64 0, !13, i64 32, !13, i64 88}
!23 = !{!"_ZTSN3vox8geometry9ArrayViewIKNS0_13FdmMatrixRow2ELm2EEE", !24, i64 0}
!24 = !{!"_ZTSN3vox8geometry9ArrayBaseIKNS0_13FdmMatrixRow2ELm2ENS0_9ArrayViewIS3_Lm2EEEEE", !15, i64 8, !16, i64 16}
!25 = !{!"_ZTSN3vox8geometry6MatrixIdLm0ELm1EEE", !18, i64 0}
!26 = !{!"_ZTSN3vox8geometry14FdmIccgSolver224PreconditionerCompressedE", !15, i64 0, !25, i64 8, !25, i64 32}
!27 = !{!10, !6, i64 16}
!28 = !{!12, !12, i64 0}
!29 = !{!10, !6, i64 24}


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