; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/alc/backends (oss)

; 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<(anonymous namespace)::DevMap, std::allocator<(anonymous namespace)::DevMap>>::_Vector_impl" }
%"struct.std::_Vector_base<(anonymous namespace)::DevMap, std::allocator<(anonymous namespace)::DevMap>>::_Vector_impl" = type { %"struct.std::_Vector_base<(anonymous namespace)::DevMap, std::allocator<(anonymous namespace)::DevMap>>::_Vector_impl_data" }
%"struct.std::_Vector_base<(anonymous namespace)::DevMap, std::allocator<(anonymous namespace)::DevMap>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZN12_GLOBAL__N_115PlaybackDevicesE = external hidden global %"class.std::vector", align 8
@_ZN12_GLOBAL__N_114CaptureDevicesE = external hidden global %"class.std::vector", align 8

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17OSSBackendFactory9enumerateB5cxx11E11BackendType(ptr dead_on_unwind noalias writable sret(%"class.std::vector.5") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i1, align 1
  %8 = alloca %class.anon, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %class.anon, align 8
  %14 = alloca %class.anon, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %class.anon, align 8
  %18 = alloca %class.anon, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %19 = load ptr, ptr %5, align 8
  store i1 false, ptr %7, align 1
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %20 = getelementptr inbounds %class.anon, ptr %8, i32 0, i32 0
  store ptr %0, ptr %20, align 8, !tbaa !5
  %21 = load i32, ptr %6, align 4, !tbaa !9
  switch i32 %21, label %60 [
    i32 0, label %22
    i32 1, label %43
  ]

22:                                               ; preds = %3
  call void @_ZNSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_115PlaybackDevicesE) #4
  invoke void @_ZN12_GLOBAL__N_118ALCossListPopulateERSt6vectorINS_6DevMapESaIS1_EEi(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_115PlaybackDevicesE, i32 noundef 131072)
          to label %23 unwind label %39

23:                                               ; preds = %22
  %24 = call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_115PlaybackDevicesE) #4
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %24)
          to label %25 unwind label %39

25:                                               ; preds = %23
  %26 = call ptr @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_115PlaybackDevicesE) #4
  %27 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %26, ptr %27, align 8
  %28 = call ptr @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_115PlaybackDevicesE) #4
  %29 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %28, ptr %29, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !11
  %30 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8
  %32 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8
  %34 = getelementptr inbounds %class.anon, ptr %13, i32 0, i32 0
  %35 = load ptr, ptr %34, align 8
  %36 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPKN12_GLOBAL__N_16DevMapESt6vectorIS3_SaIS3_EEEEZN17OSSBackendFactory9enumerateB5cxx11E11BackendTypeE3$_0ET0_T_SE_SD_"(ptr %31, ptr %33, ptr %35)
          to label %37 unwind label %39

37:                                               ; preds = %25
  %38 = getelementptr inbounds %class.anon, ptr %14, i32 0, i32 0
  store ptr %36, ptr %38, align 8
  br label %60

39:                                               ; preds = %46, %44, %43, %25, %23, %22
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %9, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %64

43:                                               ; preds = %3
  call void @_ZNSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_114CaptureDevicesE) #4
  invoke void @_ZN12_GLOBAL__N_118ALCossListPopulateERSt6vectorINS_6DevMapESaIS1_EEi(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_114CaptureDevicesE, i32 noundef 65536)
          to label %44 unwind label %39

44:                                               ; preds = %43
  %45 = call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_114CaptureDevicesE) #4
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %45)
          to label %46 unwind label %39

46:                                               ; preds = %44
  %47 = call ptr @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_114CaptureDevicesE) #4
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  %49 = call ptr @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_114CaptureDevicesE) #4
  %50 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %49, ptr %50, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !11
  %51 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8
  %53 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8
  %55 = getelementptr inbounds %class.anon, ptr %17, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8
  %57 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPKN12_GLOBAL__N_16DevMapESt6vectorIS3_SaIS3_EEEEZN17OSSBackendFactory9enumerateB5cxx11E11BackendTypeE3$_0ET0_T_SE_SD_"(ptr %52, ptr %54, ptr %56)
          to label %58 unwind label %39

58:                                               ; preds = %46
  %59 = getelementptr inbounds %class.anon, ptr %18, i32 0, i32 0
  store ptr %57, ptr %59, align 8
  br label %60

60:                                               ; preds = %58, %37, %3
  store i1 true, ptr %7, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %61 = load i1, ptr %7, align 1
  br i1 %61, label %63, label %62

62:                                               ; preds = %60
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %63

63:                                               ; preds = %62, %60
  ret void

64:                                               ; preds = %39
  %65 = load ptr, ptr %9, align 8
  %66 = load i32, ptr %10, align 4
  %67 = insertvalue { ptr, i32 } poison, ptr %65, 0
  %68 = insertvalue { ptr, i32 } %67, i32 %66, 1
  resume { ptr, i32 } %68
}

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_118ALCossListPopulateERSt6vectorINS_6DevMapESaIS1_EEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPKN12_GLOBAL__N_16DevMapESt6vectorIS3_SaIS3_EEEEZN17OSSBackendFactory9enumerateB5cxx11E11BackendTypeE3$_0ET0_T_SE_SD_"(ptr, ptr, ptr) #1

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS11BackendType", !7, i64 0}
!11 = !{i64 0, i64 8, !5}


; 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<(anonymous namespace)::DevMap, std::allocator<(anonymous namespace)::DevMap>>::_Vector_impl" }
%"struct.std::_Vector_base<(anonymous namespace)::DevMap, std::allocator<(anonymous namespace)::DevMap>>::_Vector_impl" = type { %"struct.std::_Vector_base<(anonymous namespace)::DevMap, std::allocator<(anonymous namespace)::DevMap>>::_Vector_impl_data" }
%"struct.std::_Vector_base<(anonymous namespace)::DevMap, std::allocator<(anonymous namespace)::DevMap>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN12_GLOBAL__N_115PlaybackDevicesE = external hidden global %"class.std::vector", align 8
@_ZN12_GLOBAL__N_114CaptureDevicesE = external hidden global %"class.std::vector", align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17OSSBackendFactory9enumerateB5cxx11E11BackendType(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector.5") align 8 %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %1, i32 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #2
  switch i32 %2, label %15 [
    i32 0, label %4
    i32 1, label %9
  ]

4:                                                ; preds = %3
  tail call void @_ZNSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_115PlaybackDevicesE) #2
  invoke void @_ZN12_GLOBAL__N_118ALCossListPopulateERSt6vectorINS_6DevMapESaIS1_EEi(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_115PlaybackDevicesE, i32 noundef 131072)
          to label %5 unwind label %7

5:                                                ; preds = %4
  %6 = tail call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_115PlaybackDevicesE) #2
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %6)
          to label %.invoke unwind label %7

7:                                                ; preds = %.invoke, %10, %9, %5, %4
  %8 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #2
  resume { ptr, i32 } %8

9:                                                ; preds = %3
  tail call void @_ZNSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_114CaptureDevicesE) #2
  invoke void @_ZN12_GLOBAL__N_118ALCossListPopulateERSt6vectorINS_6DevMapESaIS1_EEi(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_114CaptureDevicesE, i32 noundef 65536)
          to label %10 unwind label %7

10:                                               ; preds = %9
  %11 = tail call noundef i64 @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN12_GLOBAL__N_114CaptureDevicesE) #2
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %11)
          to label %.invoke unwind label %7

.invoke:                                          ; preds = %10, %5
  %_ZN12_GLOBAL__N_115PlaybackDevicesE.sink12 = phi ptr [ @_ZN12_GLOBAL__N_115PlaybackDevicesE, %5 ], [ @_ZN12_GLOBAL__N_114CaptureDevicesE, %10 ]
  %12 = tail call ptr @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(24) %_ZN12_GLOBAL__N_115PlaybackDevicesE.sink12) #2
  %13 = tail call ptr @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %_ZN12_GLOBAL__N_115PlaybackDevicesE.sink12) #2
  %14 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPKN12_GLOBAL__N_16DevMapESt6vectorIS3_SaIS3_EEEEZN17OSSBackendFactory9enumerateB5cxx11E11BackendTypeE3$_0ET0_T_SE_SD_"(ptr %12, ptr %13, ptr nonnull %0)
          to label %15 unwind label %7

15:                                               ; preds = %.invoke, %3
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_118ALCossListPopulateERSt6vectorINS_6DevMapESaIS1_EEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPKN12_GLOBAL__N_16DevMapESt6vectorIS3_SaIS3_EEEEZN17OSSBackendFactory9enumerateB5cxx11E11BackendTypeE3$_0ET0_T_SE_SD_"(ptr, ptr, ptr) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden ptr @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden ptr @_ZNKSt6vectorIN12_GLOBAL__N_16DevMapESaIS1_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 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 = { 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 = { 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)"}


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