; LLVM IR from facebook/redex :: libresource/Serialize.ll (ZNK4arsc11OverlayInfo12compute_sizeEv)

; 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"

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.arsc::OverlayInfo" = type { ptr, %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<android::ResTable_overlayable_policy_header *, std::pair<android::ResTable_overlayable_policy_header *const, unsigned int *>, std::_Select1st<std::pair<android::ResTable_overlayable_policy_header *const, unsigned int *>>, std::less<android::ResTable_overlayable_policy_header *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<android::ResTable_overlayable_policy_header *, std::pair<android::ResTable_overlayable_policy_header *const, unsigned int *>, std::_Select1st<std::pair<android::ResTable_overlayable_policy_header *const, unsigned int *>>, std::less<android::ResTable_overlayable_policy_header *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.android::ResTable_overlayable_header" = type { %"struct.android::ResChunk_header", [256 x i16], [256 x i16] }
%"struct.android::ResChunk_header" = type { i16, i16, i32 }

; 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 nounwind uwtable
declare dso_local noundef i32 @_ZNK4arsc11OverlayInfo12compute_sizeEPN7android34ResTable_overlayable_policy_headerE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZNK4arsc11OverlayInfo12compute_sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %0) #1 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %7 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %12 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #2
  %13 = getelementptr inbounds %"struct.arsc::OverlayInfo", ptr %12, i32 0, i32 1
  store ptr %13, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #2
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = call ptr @_ZNKSt3mapIPN7android34ResTable_overlayable_policy_headerEPjSt4lessIS2_ESaISt4pairIKS2_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #2
  %16 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %6, i32 0, i32 0
  store ptr %15, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #2
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = call ptr @_ZNKSt3mapIPN7android34ResTable_overlayable_policy_headerEPjSt4lessIS2_ESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %17) #2
  %19 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %7, i32 0, i32 0
  store ptr %18, ptr %19, align 8
  br label %20

20:                                               ; preds = %34, %1
  %21 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPN7android34ResTable_overlayable_policy_headerEPjEES9_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #2
  br i1 %21, label %23, label %22

22:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #2
  br label %36

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #2
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPN7android34ResTable_overlayable_policy_headerEPjEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #2
  store ptr %24, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKPN7android34ResTable_overlayable_policy_headerEPjERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %25) #2
  store ptr %26, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EKPN7android34ResTable_overlayable_policy_headerEPjERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %27) #2
  store ptr %28, ptr %10, align 8, !tbaa !5
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  %31 = call noundef i32 @_ZNK4arsc11OverlayInfo12compute_sizeEPN7android34ResTable_overlayable_policy_headerE(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef %30)
  %32 = load i32, ptr %4, align 4, !tbaa !9
  %33 = add i32 %32, %31
  store i32 %33, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #2
  br label %34

34:                                               ; preds = %23
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKPN7android34ResTable_overlayable_policy_headerEPjEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #2
  br label %20

36:                                               ; preds = %22
  %37 = load i32, ptr %4, align 4, !tbaa !9
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %36
  store i32 0, ptr %2, align 4
  store i32 1, ptr %11, align 4
  br label %49

40:                                               ; preds = %36
  %41 = getelementptr inbounds %"struct.arsc::OverlayInfo", ptr %12, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = getelementptr inbounds %"struct.android::ResTable_overlayable_header", ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds %"struct.android::ResChunk_header", ptr %43, i32 0, i32 1
  %45 = load i16, ptr %44, align 2, !tbaa !22
  %46 = zext i16 %45 to i32
  %47 = load i32, ptr %4, align 4, !tbaa !9
  %48 = add i32 %46, %47
  store i32 %48, ptr %2, align 4
  store i32 1, ptr %11, align 4
  br label %49

49:                                               ; preds = %40, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #2
  %50 = load i32, ptr %2, align 4
  ret i32 %50
}

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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)"}
!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, !6, i64 0}
!12 = !{!"_ZTSN4arsc11OverlayInfoE", !6, i64 0, !13, i64 8}
!13 = !{!"_ZTSSt3mapIPN7android34ResTable_overlayable_policy_headerEPjSt4lessIS2_ESaISt4pairIKS2_S3_EEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeIPN7android34ResTable_overlayable_policy_headerESt4pairIKS2_PjESt10_Select1stIS6_ESt4lessIS2_ESaIS6_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeIPN7android34ResTable_overlayable_policy_headerESt4pairIKS2_PjESt10_Select1stIS6_ESt4lessIS2_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7android34ResTable_overlayable_policy_headerEEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessIPN7android34ResTable_overlayable_policy_headerEE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!23, !25, i64 2}
!23 = !{!"_ZTSN7android27ResTable_overlayable_headerE", !24, i64 0, !7, i64 8, !7, i64 520}
!24 = !{!"_ZTSN7android15ResChunk_headerE", !25, i64 0, !25, i64 2, !10, i64 4}
!25 = !{!"short", !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"

%"struct.std::_Rb_tree_const_iterator" = 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4arsc11OverlayInfo12compute_sizeEPN7android34ResTable_overlayable_policy_headerE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZNK4arsc11OverlayInfo12compute_sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %3 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #2
  %5 = tail call ptr @_ZNKSt3mapIPN7android34ResTable_overlayable_policy_headerEPjSt4lessIS2_ESaISt4pairIKS2_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #2
  store ptr %5, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #2
  %6 = tail call ptr @_ZNKSt3mapIPN7android34ResTable_overlayable_policy_headerEPjSt4lessIS2_ESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #2
  store ptr %6, ptr %3, align 8
  %7 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPN7android34ResTable_overlayable_policy_headerEPjEES9_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #2
  br i1 %7, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #2
  br label %23

._crit_edge:                                      ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #2
  %8 = icmp eq i32 %14, 0
  br i1 %8, label %23, label %17

.lr.ph:                                           ; preds = %1, %.lr.ph
  %.0910 = phi i32 [ %14, %.lr.ph ], [ 0, %1 ]
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPN7android34ResTable_overlayable_policy_headerEPjEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #2
  %10 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKPN7android34ResTable_overlayable_policy_headerEPjERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %9) #2
  %11 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EKPN7android34ResTable_overlayable_policy_headerEPjERKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %9) #2
  %12 = load ptr, ptr %10, align 8, !tbaa !5
  %13 = call noundef i32 @_ZNK4arsc11OverlayInfo12compute_sizeEPN7android34ResTable_overlayable_policy_headerE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %12)
  %14 = add i32 %13, %.0910
  %15 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKPN7android34ResTable_overlayable_policy_headerEPjEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #2
  %16 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPN7android34ResTable_overlayable_policy_headerEPjEES9_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #2
  br i1 %16, label %.lr.ph, label %._crit_edge

17:                                               ; preds = %._crit_edge
  %18 = load ptr, ptr %0, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %18, i64 2
  %20 = load i16, ptr %19, align 2, !tbaa !20
  %21 = zext i16 %20 to i32
  %22 = add i32 %14, %21
  br label %23

23:                                               ; preds = %._crit_edge.thread, %._crit_edge, %17
  %.0 = phi i32 [ %22, %17 ], [ 0, %._crit_edge ], [ 0, %._crit_edge.thread ]
  ret i32 %.0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapIPN7android34ResTable_overlayable_policy_headerEPjSt4lessIS2_ESaISt4pairIKS2_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapIPN7android34ResTable_overlayable_policy_headerEPjSt4lessIS2_ESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN4arsc11OverlayInfoE", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSSt3mapIPN7android34ResTable_overlayable_policy_headerEPjSt4lessIS2_ESaISt4pairIKS2_S3_EEE", !12, i64 0}
!12 = !{!"_ZTSSt8_Rb_treeIPN7android34ResTable_overlayable_policy_headerESt4pairIKS2_PjESt10_Select1stIS6_ESt4lessIS2_ESaIS6_EE", !13, i64 0}
!13 = !{!"_ZTSNSt8_Rb_treeIPN7android34ResTable_overlayable_policy_headerESt4pairIKS2_PjESt10_Select1stIS6_ESt4lessIS2_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !14, i64 0, !16, i64 8}
!14 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7android34ResTable_overlayable_policy_headerEEE", !15, i64 0}
!15 = !{!"_ZTSSt4lessIPN7android34ResTable_overlayable_policy_headerEE"}
!16 = !{!"_ZTSSt15_Rb_tree_header", !17, i64 0, !19, i64 32}
!17 = !{!"_ZTSSt18_Rb_tree_node_base", !18, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!21, !23, i64 2}
!21 = !{!"_ZTSN7android27ResTable_overlayable_headerE", !22, i64 0, !7, i64 8, !7, i64 520}
!22 = !{!"_ZTSN7android15ResChunk_headerE", !23, i64 0, !23, i64 2, !24, i64 4}
!23 = !{!"short", !7, i64 0}
!24 = !{!"int", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass