; LLVM IR from moveit/moveit :: moveit_planners/sbpl/core/sbpl_interface/src/bfs3d (BFS_3D)

; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.sbpl_interface::BFS_3D" = type <{ i32, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, %"class.std::shared_ptr", i8, [7 x i8] }>

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN14sbpl_interface6BFS_3D7getNodeEiii(ptr noundef nonnull align 8 dereferenceable(65), i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14sbpl_interface6BFS_3D3runEiii(ptr noundef nonnull align 8 dereferenceable(65) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::shared_ptr", align 8
  %11 = alloca { i64, i64 }, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  %13 = load ptr, ptr %5, align 8
  %14 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 11
  %15 = load volatile i8, ptr %14, align 8, !tbaa !11, !range !17, !noundef !18
  %16 = trunc i8 %15 to i1
  br i1 %16, label %17, label %18

17:                                               ; preds = %4
  br label %71

18:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %40, %18
  %20 = load i32, ptr %9, align 4, !tbaa !9
  %21 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 4
  %22 = load i32, ptr %21, align 8, !tbaa !19
  %23 = icmp slt i32 %20, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %43

25:                                               ; preds = %19
  %26 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 6
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %28 = load i32, ptr %9, align 4, !tbaa !9
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds i32, ptr %27, i64 %29
  %31 = load volatile i32, ptr %30, align 4, !tbaa !9
  %32 = icmp ne i32 %31, 2147483647
  br i1 %32, label %33, label %39

33:                                               ; preds = %25
  %34 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 6
  %35 = load ptr, ptr %34, align 8, !tbaa !20
  %36 = load i32, ptr %9, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds i32, ptr %35, i64 %37
  store volatile i32 -1, ptr %38, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %33, %25
  br label %40

40:                                               ; preds = %39
  %41 = load i32, ptr %9, align 4, !tbaa !9
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %9, align 4, !tbaa !9
  br label %19, !llvm.loop !21

43:                                               ; preds = %24
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = load i32, ptr %7, align 4, !tbaa !9
  %46 = load i32, ptr %8, align 4, !tbaa !9
  %47 = call noundef i32 @_ZN14sbpl_interface6BFS_3D7getNodeEiii(ptr noundef nonnull align 8 dereferenceable(65) %13, i32 noundef %44, i32 noundef %45, i32 noundef %46)
  %48 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 5
  store i32 %47, ptr %48, align 4, !tbaa !23
  %49 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 8
  store i32 0, ptr %49, align 8, !tbaa !24
  %50 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 9
  store i32 1, ptr %50, align 4, !tbaa !25
  %51 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 5
  %52 = load i32, ptr %51, align 4, !tbaa !23
  %53 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 7
  %54 = load ptr, ptr %53, align 8, !tbaa !26
  %55 = getelementptr inbounds i32, ptr %54, i64 0
  store i32 %52, ptr %55, align 4, !tbaa !9
  %56 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 6
  %57 = load ptr, ptr %56, align 8, !tbaa !20
  %58 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 5
  %59 = load i32, ptr %58, align 4, !tbaa !23
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds i32, ptr %57, i64 %60
  store volatile i32 0, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN14sbpl_interface6BFS_3D6searchEiiPViPiRiS4_ to i64), i64 0 }, ptr %11, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store ptr %13, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 0
  %63 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 3
  %64 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 6
  %65 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 7
  %66 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 8
  %67 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 9
  call void @_ZSt11make_sharedIN5boost6threadEJMN14sbpl_interface6BFS_3DEFviiPViPiRiS7_EPS3_S7_S7_RS5_RS6_S7_S7_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESF_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %63, ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %67)
  %68 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 10
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN5boost6threadEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @_ZNSt12__shared_ptrIN5boost6threadELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  %70 = getelementptr inbounds %"class.sbpl_interface::BFS_3D", ptr %13, i32 0, i32 11
  store volatile i8 1, ptr %70, align 8, !tbaa !11
  br label %71

71:                                               ; preds = %43, %17
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN5boost6threadEJMN14sbpl_interface6BFS_3DEFviiPViPiRiS7_EPS3_S7_S7_RS5_RS6_S7_S7_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESF_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

declare void @_ZN14sbpl_interface6BFS_3D6searchEiiPViPiRiS4_(ptr noundef nonnull align 8 dereferenceable(65), i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint 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 #4 = { "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 = { 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 #6 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !16, i64 64}
!12 = !{!"_ZTSN14sbpl_interface6BFS_3DE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !13, i64 48, !16, i64 64}
!13 = !{!"_ZTSSt10shared_ptrIN5boost6threadEE", !14, i64 0}
!14 = !{!"_ZTSSt12__shared_ptrIN5boost6threadELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !15, i64 8}
!15 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!12, !10, i64 16}
!20 = !{!12, !6, i64 24}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!12, !10, i64 20}
!24 = !{!12, !10, i64 40}
!25 = !{!12, !10, i64 44}
!26 = !{!12, !6, i64 32}
!27 = !{!7, !7, i64 0}


; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN14sbpl_interface6BFS_3D7getNodeEiii(ptr noundef nonnull align 8 dereferenceable(65), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14sbpl_interface6BFS_3D3runEiii(ptr noundef nonnull align 8 dereferenceable(65) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 align 2 {
  %5 = alloca %"class.std::shared_ptr", align 8
  %6 = alloca { i64, i64 }, align 8
  %7 = alloca ptr, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 64
  %9 = load volatile i8, ptr %8, align 8, !tbaa !5, !range !15, !noundef !16
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %39, label %.preheader

.preheader:                                       ; preds = %4
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = load i32, ptr %11, align 8, !tbaa !17
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = load ptr, ptr %14, align 8, !tbaa !18
  br label %30

._crit_edge:                                      ; preds = %35, %.preheader
  %16 = tail call noundef i32 @_ZN14sbpl_interface6BFS_3D7getNodeEiii(ptr noundef nonnull align 8 dereferenceable(65) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3)
  %17 = getelementptr inbounds i8, ptr %0, i64 20
  store i32 %16, ptr %17, align 4, !tbaa !19
  %18 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 0, ptr %18, align 8, !tbaa !20
  %19 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 1, ptr %19, align 4, !tbaa !21
  %20 = getelementptr inbounds i8, ptr %0, i64 32
  %21 = load ptr, ptr %20, align 8, !tbaa !22
  store i32 %16, ptr %21, align 4, !tbaa !23
  %22 = getelementptr inbounds i8, ptr %0, i64 24
  %23 = load ptr, ptr %22, align 8, !tbaa !18
  %24 = load i32, ptr %17, align 4, !tbaa !19
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds i32, ptr %23, i64 %25
  store volatile i32 0, ptr %26, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  store i64 ptrtoint (ptr @_ZN14sbpl_interface6BFS_3D6searchEiiPViPiRiS4_ to i64), ptr %6, align 8, !tbaa !24
  %.fca.1.gep = getelementptr inbounds i8, ptr %6, i64 8
  store i64 0, ptr %.fca.1.gep, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store ptr %0, ptr %7, align 8, !tbaa !25
  %27 = getelementptr inbounds i8, ptr %0, i64 12
  call void @_ZSt11make_sharedIN5boost6threadEJMN14sbpl_interface6BFS_3DEFviiPViPiRiS7_EPS3_S7_S7_RS5_RS6_S7_S7_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESF_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %28 = getelementptr inbounds i8, ptr %0, i64 48
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN5boost6threadEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @_ZNSt12__shared_ptrIN5boost6threadELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  store volatile i8 1, ptr %8, align 8, !tbaa !5
  br label %39

30:                                               ; preds = %.lr.ph, %35
  %31 = phi i32 [ %12, %.lr.ph ], [ %36, %35 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %35 ]
  %32 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv
  %33 = load volatile i32, ptr %32, align 4, !tbaa !23
  %.not = icmp eq i32 %33, 2147483647
  br i1 %.not, label %35, label %34

34:                                               ; preds = %30
  store volatile i32 -1, ptr %32, align 4, !tbaa !23
  %.pre = load i32, ptr %11, align 8, !tbaa !17
  br label %35

35:                                               ; preds = %30, %34
  %36 = phi i32 [ %31, %30 ], [ %.pre, %34 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %37 = sext i32 %36 to i64
  %38 = icmp slt i64 %indvars.iv.next, %37
  br i1 %38, label %30, label %._crit_edge, !llvm.loop !26

39:                                               ; preds = %4, %._crit_edge
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN5boost6threadEJMN14sbpl_interface6BFS_3DEFviiPViPiRiS7_EPS3_S7_S7_RS5_RS6_S7_S7_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESF_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

declare void @_ZN14sbpl_interface6BFS_3D6searchEiiPViPiRiS4_(ptr noundef nonnull align 8 dereferenceable(65), i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint 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 #4 = { "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 = { 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 #6 = { 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, !14, i64 64}
!6 = !{!"_ZTSN14sbpl_interface6BFS_3DE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 44, !11, i64 48, !14, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTSSt10shared_ptrIN5boost6threadEE", !12, i64 0}
!12 = !{!"_ZTSSt12__shared_ptrIN5boost6threadELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!13 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0}
!14 = !{!"bool", !8, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!6, !7, i64 16}
!18 = !{!6, !10, i64 24}
!19 = !{!6, !7, i64 20}
!20 = !{!6, !7, i64 40}
!21 = !{!6, !7, i64 44}
!22 = !{!6, !10, i64 32}
!23 = !{!7, !7, i64 0}
!24 = !{!8, !8, i64 0}
!25 = !{!10, !10, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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