; LLVM IR from facebook/redex :: libresource/LocaleData.ll (ZN7android23localeDataComputeScriptEPcPKcS2_)

; 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.std::__detail::_Node_const_iterator.48" = type { %"struct.std::__detail::_Node_iterator_base.49" }
%"struct.std::__detail::_Node_iterator_base.49" = type { ptr }
%"struct.std::pair" = type <{ i32, i8, [3 x i8] }>

@_ZN7androidL14LIKELY_SCRIPTSE = external hidden global %"class.std::unordered_map", align 8
@_ZN7androidL12SCRIPT_CODESE = external hidden constant [99 x [4 x i8]], align 16

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; 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 @_ZN7android10dropRegionEj(i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7android10packLocaleEPKcS1_(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7android23localeDataComputeScriptEPcPKcS2_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::__detail::_Node_const_iterator.48", align 8
  %9 = alloca %"struct.std::__detail::_Node_const_iterator.48", align 8
  %10 = alloca %"struct.std::__detail::_Node_const_iterator.48", align 8
  %11 = alloca %"struct.std::__detail::_Node_const_iterator.48", align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %13, i64 0
  %15 = load i8, ptr %14, align 1, !tbaa !9
  %16 = sext i8 %15 to i32
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %20

18:                                               ; preds = %3
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 1 %19, i8 0, i64 4, i1 false)
  br label %69

20:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = call noundef i32 @_ZN7android10packLocaleEPKcS1_(ptr noundef %21, ptr noundef %22)
  store i32 %23, ptr %7, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %24 = call ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) @_ZN7androidL14LIKELY_SCRIPTSE, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %25 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.48", ptr %8, i32 0, i32 0
  %26 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.49", ptr %25, i32 0, i32 0
  store ptr %24, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %27 = call ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @_ZN7androidL14LIKELY_SCRIPTSE) #6
  %28 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.48", ptr %9, i32 0, i32 0
  %29 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.49", ptr %28, i32 0, i32 0
  store ptr %27, ptr %29, align 8
  %30 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKjhELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br i1 %30, label %31, label %58

31:                                               ; preds = %20
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 0
  %34 = load i8, ptr %33, align 1, !tbaa !9
  %35 = sext i8 %34 to i32
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %56

37:                                               ; preds = %31
  %38 = load i32, ptr %7, align 4, !tbaa !10
  %39 = call noundef i32 @_ZN7android10dropRegionEj(i32 noundef %38)
  store i32 %39, ptr %7, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %40 = call ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) @_ZN7androidL14LIKELY_SCRIPTSE, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %41 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.48", ptr %10, i32 0, i32 0
  %42 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.49", ptr %41, i32 0, i32 0
  store ptr %40, ptr %42, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %10, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %43 = call ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @_ZN7androidL14LIKELY_SCRIPTSE) #6
  %44 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.48", ptr %11, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.49", ptr %44, i32 0, i32 0
  store ptr %43, ptr %45, align 8
  %46 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjhELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br i1 %46, label %47, label %55

47:                                               ; preds = %37
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKjhELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %50 = getelementptr inbounds %"struct.std::pair", ptr %49, i32 0, i32 1
  %51 = load i8, ptr %50, align 4, !tbaa !12
  %52 = zext i8 %51 to i64
  %53 = getelementptr inbounds [99 x [4 x i8]], ptr @_ZN7androidL12SCRIPT_CODESE, i64 0, i64 %52
  %54 = getelementptr inbounds [4 x i8], ptr %53, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %48, ptr align 4 %54, i64 4, i1 false)
  store i32 1, ptr %12, align 4
  br label %67

55:                                               ; preds = %37
  br label %56

56:                                               ; preds = %55, %31
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 1 %57, i8 0, i64 4, i1 false)
  store i32 1, ptr %12, align 4
  br label %67

58:                                               ; preds = %20
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKjhELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %61 = getelementptr inbounds %"struct.std::pair", ptr %60, i32 0, i32 1
  %62 = load i8, ptr %61, align 4, !tbaa !12
  %63 = zext i8 %62 to i64
  %64 = getelementptr inbounds [99 x [4 x i8]], ptr @_ZN7androidL12SCRIPT_CODESE, i64 0, i64 %63
  %65 = getelementptr inbounds [4 x i8], ptr %64, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %59, ptr align 4 %65, i64 4, i1 false)
  br label %66

66:                                               ; preds = %58
  store i32 0, ptr %12, align 4
  br label %67

67:                                               ; preds = %66, %56, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  %68 = load i32, ptr %12, align 4
  switch i32 %68, label %70 [
    i32 0, label %69
    i32 1, label %69
  ]

69:                                               ; preds = %67, %67, %18
  ret void

70:                                               ; preds = %67
  unreachable
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKjhELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjhELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"_ZTSSt4pairIKjhE", !11, i64 0, !7, i64 4}


; 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.std::__detail::_Node_const_iterator.48" = type { %"struct.std::__detail::_Node_iterator_base.49" }
%"struct.std::__detail::_Node_iterator_base.49" = type { ptr }

@_ZN7androidL14LIKELY_SCRIPTSE = external hidden global %"class.std::unordered_map", align 8
@_ZN7androidL12SCRIPT_CODESE = external hidden local_unnamed_addr constant [99 x [4 x i8]], align 16

; 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 @_ZN7android10dropRegionEj(i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7android10packLocaleEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7android23localeDataComputeScriptEPcPKcS2_(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::__detail::_Node_const_iterator.48", align 8
  %6 = alloca %"struct.std::__detail::_Node_const_iterator.48", align 8
  %7 = alloca %"struct.std::__detail::_Node_const_iterator.48", align 8
  %8 = load i8, ptr %1, align 1, !tbaa !5
  %9 = icmp eq i8 %8, 0
  br i1 %9, label %10, label %11

10:                                               ; preds = %3
  store i32 0, ptr %0, align 1
  br label %31

11:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %12 = tail call noundef i32 @_ZN7android10packLocaleEPKcS1_(ptr noundef nonnull %1, ptr noundef %2)
  store i32 %12, ptr %4, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %13 = call ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) @_ZN7androidL14LIKELY_SCRIPTSE, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store ptr %13, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %14 = call ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @_ZN7androidL14LIKELY_SCRIPTSE) #4
  store ptr %14, ptr %6, align 8
  %15 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKjhELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  br i1 %15, label %16, label %.sink.split

16:                                               ; preds = %11
  %17 = load i8, ptr %2, align 1, !tbaa !5
  %.not = icmp eq i8 %17, 0
  br i1 %.not, label %30, label %18

18:                                               ; preds = %16
  %19 = load i32, ptr %4, align 4, !tbaa !8
  %20 = call noundef i32 @_ZN7android10dropRegionEj(i32 noundef %19)
  store i32 %20, ptr %4, align 4, !tbaa !8
  %21 = call ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) @_ZN7androidL14LIKELY_SCRIPTSE, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store ptr %21, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %22 = call ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @_ZN7androidL14LIKELY_SCRIPTSE) #4
  store ptr %22, ptr %7, align 8
  %23 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjhELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  br i1 %23, label %.sink.split, label %30

.sink.split:                                      ; preds = %11, %18
  %24 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKjhELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %25 = getelementptr inbounds i8, ptr %24, i64 4
  %26 = load i8, ptr %25, align 4, !tbaa !10
  %27 = zext i8 %26 to i64
  %28 = getelementptr inbounds [99 x [4 x i8]], ptr @_ZN7androidL12SCRIPT_CODESE, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4
  br label %30

30:                                               ; preds = %.sink.split, %16, %18
  %.sink = phi i32 [ 0, %18 ], [ 0, %16 ], [ %29, %.sink.split ]
  store i32 %.sink, ptr %0, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  br label %31

31:                                               ; preds = %30, %10
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKjhELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_mapIjhSt4hashIjESt8equal_toIjESaISt4pairIKjhEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjhELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKjhELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 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 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !6, i64 4}
!11 = !{!"_ZTSSt4pairIKjhE", !9, i64 0, !6, i64 4}


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