; LLVM IR from artvns/SimpleFvm :: simplefvm/src/MeshLoader/DomainDecomposition (DomainDecomposer)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"class.meshloader::DomainDecomposer" = type { ptr, ptr, ptr, ptr, %"class.meshloader::PartsCellsNumsExtractor", %"class.meshloader::PartsNamesExtractor" }
%"class.meshloader::PartsCellsNumsExtractor" = type { %"class.std::vector", %"class.std::vector.0", %"class.meshloader::HorizontalFaceNums", %"class.meshloader::VerticalFaceNums", %"class.meshloader::PureInteriorNums" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.meshloader::HorizontalFaceNums" = type { ptr, ptr, ptr, ptr, %"class.std::vector", %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0" }
%"class.meshloader::VerticalFaceNums" = type { ptr, ptr, ptr, ptr, %"class.std::vector", %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0" }
%"class.meshloader::PureInteriorNums" = type { ptr, ptr, ptr, %"class.std::vector" }
%"class.meshloader::PartsNamesExtractor" = type { %"class.meshloader::DomainPartsChecker" }
%"class.meshloader::DomainPartsChecker" = type { i64 }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10meshloader16DomainDecomposer15decomposeDomainEv(ptr noundef nonnull align 8 dereferenceable(392) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i8, align 1
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i8, align 1
  %9 = alloca %"class.std::vector", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8
  %11 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 4
  call void @_ZN10meshloader23PartsCellsNumsExtractor14extractNumbersEv(ptr noundef nonnull align 8 dereferenceable(352) %11)
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #4
  store i8 122, ptr %3, align 1, !tbaa !9
  %12 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 0
  %13 = load ptr, ptr %12, align 8, !tbaa !10
  %14 = load i8, ptr %3, align 1, !tbaa !9
  %15 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 4
  %16 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor15getInteriorNumsEv(ptr noundef nonnull align 8 dereferenceable(352) %15)
  call void @_ZNSt6vectorImSaImEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %16)
  invoke void @_ZN10meshloader8NumsSets10addNumsSetEcSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(80) %13, i8 noundef signext %14, ptr noundef %4)
          to label %17 unwind label %24

17:                                               ; preds = %1
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !27
  br label %18

18:                                               ; preds = %45, %17
  %19 = load i64, ptr %7, align 8, !tbaa !27
  %20 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 4
  %21 = call noundef i64 @_ZNK10meshloader23PartsCellsNumsExtractor16getNumberOfFacesEv(ptr noundef nonnull align 8 dereferenceable(352) %20)
  %22 = icmp ult i64 %19, %21
  br i1 %22, label %28, label %23

23:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %52

24:                                               ; preds = %1
  %25 = landingpad { ptr, i32 }
          cleanup
  %26 = extractvalue { ptr, i32 } %25, 0
  store ptr %26, ptr %5, align 8
  %27 = extractvalue { ptr, i32 } %25, 1
  store i32 %27, ptr %6, align 4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  br label %53

28:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  %29 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 5
  %30 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 4
  %31 = load i64, ptr %7, align 8, !tbaa !27
  %32 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor19getFaceCellsNumsSetEm(ptr noundef nonnull align 8 dereferenceable(352) %30, i64 noundef %31)
  %33 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !28
  %35 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 3
  %36 = load ptr, ptr %35, align 8, !tbaa !29
  %37 = call noundef signext i8 @_ZN10meshloader19PartsNamesExtractor11extractNameERSt6vectorImSaImEERKNS_10BaseMatrixERKNS_10NumsMatrixE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef nonnull align 8 dereferenceable(40) %36)
  store i8 %37, ptr %8, align 1, !tbaa !9
  %38 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !10
  %40 = load i8, ptr %8, align 1, !tbaa !9
  %41 = getelementptr inbounds %"class.meshloader::DomainDecomposer", ptr %10, i32 0, i32 4
  %42 = load i64, ptr %7, align 8, !tbaa !27
  %43 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor19getFaceCellsNumsSetEm(ptr noundef nonnull align 8 dereferenceable(352) %41, i64 noundef %42)
  call void @_ZNSt6vectorImSaImEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %43)
  invoke void @_ZN10meshloader8NumsSets10addNumsSetEcSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(80) %39, i8 noundef signext %40, ptr noundef %9)
          to label %44 unwind label %48

44:                                               ; preds = %28
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  br label %45

45:                                               ; preds = %44
  %46 = load i64, ptr %7, align 8, !tbaa !27
  %47 = add i64 %46, 1
  store i64 %47, ptr %7, align 8, !tbaa !27
  br label %18, !llvm.loop !30

48:                                               ; preds = %28
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %5, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %6, align 4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %53

52:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #4
  ret void

53:                                               ; preds = %48, %24
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #4
  br label %54

54:                                               ; preds = %53
  %55 = load ptr, ptr %5, align 8
  %56 = load i32, ptr %6, align 4
  %57 = insertvalue { ptr, i32 } poison, ptr %55, 0
  %58 = insertvalue { ptr, i32 } %57, i32 %56, 1
  resume { ptr, i32 } %58
}

declare void @_ZN10meshloader23PartsCellsNumsExtractor14extractNumbersEv(ptr noundef nonnull align 8 dereferenceable(352)) #1

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

declare void @_ZN10meshloader8NumsSets10addNumsSetEcSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(80), i8 noundef signext, ptr noundef) #1

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor15getInteriorNumsEv(ptr noundef nonnull align 8 dereferenceable(352)) #1

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

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

declare noundef i64 @_ZNK10meshloader23PartsCellsNumsExtractor16getNumberOfFacesEv(ptr noundef nonnull align 8 dereferenceable(352)) #1

declare noundef signext i8 @_ZN10meshloader19PartsNamesExtractor11extractNameERSt6vectorImSaImEERKNS_10BaseMatrixERKNS_10NumsMatrixE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #1

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor19getFaceCellsNumsSetEm(ptr noundef nonnull align 8 dereferenceable(352), i64 noundef) #1

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

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 = { "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 willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 0}
!11 = !{!"_ZTSN10meshloader16DomainDecomposerE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !24, i64 384}
!12 = !{!"_ZTSN10meshloader23PartsCellsNumsExtractorE", !13, i64 0, !17, i64 24, !21, i64 48, !22, i64 176, !23, i64 304}
!13 = !{!"_ZTSSt6vectorImSaImEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseImSaImEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIS_ImSaImEESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseISt6vectorImSaImEESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSN10meshloader18HorizontalFaceNumsE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 56, !17, i64 80, !17, i64 104}
!22 = !{!"_ZTSN10meshloader16VerticalFaceNumsE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 56, !17, i64 80, !17, i64 104}
!23 = !{!"_ZTSN10meshloader16PureInteriorNumsE", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24}
!24 = !{!"_ZTSN10meshloader19PartsNamesExtractorE", !25, i64 0}
!25 = !{!"_ZTSN10meshloader18DomainPartsCheckerE", !26, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!26, !26, i64 0}
!28 = !{!11, !6, i64 8}
!29 = !{!11, !6, i64 24}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10meshloader16DomainDecomposer15decomposeDomainEv(ptr noundef nonnull align 8 dereferenceable(392) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector", align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZN10meshloader23PartsCellsNumsExtractor14extractNumbersEv(ptr noundef nonnull align 8 dereferenceable(352) %4)
  %5 = load ptr, ptr %0, align 8, !tbaa !5
  %6 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor15getInteriorNumsEv(ptr noundef nonnull align 8 dereferenceable(352) %4)
  call void @_ZNSt6vectorImSaImEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %6)
  invoke void @_ZN10meshloader8NumsSets10addNumsSetEcSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(80) %5, i8 noundef signext 122, ptr noundef nonnull %2)
          to label %7 unwind label %12

7:                                                ; preds = %1
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %8 = call noundef i64 @_ZNK10meshloader23PartsCellsNumsExtractor16getNumberOfFacesEv(ptr noundef nonnull align 8 dereferenceable(352) %4)
  %.not = icmp eq i64 %8, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %7
  %9 = getelementptr inbounds i8, ptr %0, i64 384
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  br label %14

._crit_edge:                                      ; preds = %21, %7
  ret void

12:                                               ; preds = %1
  %13 = landingpad { ptr, i32 }
          cleanup
  br label %27

14:                                               ; preds = %.lr.ph, %21
  %.0811 = phi i64 [ 0, %.lr.ph ], [ %22, %21 ]
  %15 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor19getFaceCellsNumsSetEm(ptr noundef nonnull align 8 dereferenceable(352) %4, i64 noundef %.0811)
  %16 = load ptr, ptr %10, align 8, !tbaa !25
  %17 = load ptr, ptr %11, align 8, !tbaa !26
  %18 = call noundef signext i8 @_ZN10meshloader19PartsNamesExtractor11extractNameERSt6vectorImSaImEERKNS_10BaseMatrixERKNS_10NumsMatrixE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef nonnull align 8 dereferenceable(40) %17)
  %19 = load ptr, ptr %0, align 8, !tbaa !5
  %20 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor19getFaceCellsNumsSetEm(ptr noundef nonnull align 8 dereferenceable(352) %4, i64 noundef %.0811)
  call void @_ZNSt6vectorImSaImEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %20)
  invoke void @_ZN10meshloader8NumsSets10addNumsSetEcSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(80) %19, i8 noundef signext %18, ptr noundef nonnull %3)
          to label %21 unwind label %25

21:                                               ; preds = %14
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %22 = add nuw i64 %.0811, 1
  %23 = call noundef i64 @_ZNK10meshloader23PartsCellsNumsExtractor16getNumberOfFacesEv(ptr noundef nonnull align 8 dereferenceable(352) %4)
  %24 = icmp ult i64 %22, %23
  br i1 %24, label %14, label %._crit_edge, !llvm.loop !27

25:                                               ; preds = %14
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %27

27:                                               ; preds = %25, %12
  %.sink = phi ptr [ %3, %25 ], [ %2, %12 ]
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %13, %12 ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %.sink) #3
  resume { ptr, i32 } %.pn
}

declare void @_ZN10meshloader23PartsCellsNumsExtractor14extractNumbersEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #1

declare void @_ZN10meshloader8NumsSets10addNumsSetEcSt6vectorImSaImEE(ptr noundef nonnull align 8 dereferenceable(80), i8 noundef signext, ptr noundef) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor15getInteriorNumsEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #1

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

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

declare noundef i64 @_ZNK10meshloader23PartsCellsNumsExtractor16getNumberOfFacesEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #1

declare noundef signext i8 @_ZN10meshloader19PartsNamesExtractor11extractNameERSt6vectorImSaImEERKNS_10BaseMatrixERKNS_10NumsMatrixE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN10meshloader23PartsCellsNumsExtractor19getFaceCellsNumsSetEm(ptr noundef nonnull align 8 dereferenceable(352), i64 noundef) local_unnamed_addr #1

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 = { "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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN10meshloader16DomainDecomposerE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !22, i64 384}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN10meshloader23PartsCellsNumsExtractorE", !11, i64 0, !15, i64 24, !19, i64 48, !20, i64 176, !21, i64 304}
!11 = !{!"_ZTSSt6vectorImSaImEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseImSaImEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!15 = !{!"_ZTSSt6vectorIS_ImSaImEESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseISt6vectorImSaImEESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!"_ZTSN10meshloader18HorizontalFaceNumsE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !11, i64 56, !15, i64 80, !15, i64 104}
!20 = !{!"_ZTSN10meshloader16VerticalFaceNumsE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !11, i64 56, !15, i64 80, !15, i64 104}
!21 = !{!"_ZTSN10meshloader16PureInteriorNumsE", !7, i64 0, !7, i64 8, !7, i64 16, !11, i64 24}
!22 = !{!"_ZTSN10meshloader19PartsNamesExtractorE", !23, i64 0}
!23 = !{!"_ZTSN10meshloader18DomainPartsCheckerE", !24, i64 0}
!24 = !{!"long", !8, i64 0}
!25 = !{!6, !7, i64 8}
!26 = !{!6, !7, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass