; LLVM IR from facebook/redex :: opt/object-escape-analysis (ExpandableMethodParams)

; 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.ConcurrentSet = type { %class.ConcurrentContainer.401 }
%class.ConcurrentContainer.401 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.402"] }
%"class.cc_impl::ConcurrentHashtable.402" = type { %"struct.std::atomic.403", %"struct.std::atomic.257", %"struct.std::atomic.259", %"struct.std::atomic.405" }
%"struct.std::atomic.403" = type { %"struct.std::__atomic_base.404" }
%"struct.std::__atomic_base.404" = type { ptr }
%"struct.std::atomic.257" = type { %"struct.std::__atomic_base.258" }
%"struct.std::__atomic_base.258" = type { i64 }
%"struct.std::atomic.259" = type { %"struct.std::__atomic_base.260" }
%"struct.std::__atomic_base.260" = type { i8 }
%"struct.std::atomic.405" = type { %"struct.std::__atomic_base.406" }
%"struct.std::__atomic_base.406" = type { ptr }
%class.anon.408 = type { ptr, ptr }
%class.ConcurrentSet.409 = type { %class.ConcurrentContainer.410 }
%class.ConcurrentContainer.410 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.411"] }
%"class.cc_impl::ConcurrentHashtable.411" = type { %"struct.std::atomic.412", %"struct.std::atomic.257", %"struct.std::atomic.259", %"struct.std::atomic.414" }
%"struct.std::atomic.412" = type { %"struct.std::__atomic_base.413" }
%"struct.std::__atomic_base.413" = type { ptr }
%"struct.std::atomic.414" = type { %"struct.std::__atomic_base.415" }
%"struct.std::__atomic_base.415" = type { ptr }
%class.anon.417 = type { ptr, ptr }
%"class.std::vector.54" = type { %"struct.std::_Vector_base.55" }
%"struct.std::_Vector_base.55" = type { %"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.59" = type { ptr }
%"class.UnorderedMap<DexMethodRef *, std::pair<DexMethod *, unsigned short>>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator.398" = type { %"struct.std::__detail::_Node_iterator_base.399" }
%"struct.std::__detail::_Node_iterator_base.399" = type { ptr }
%"class.std::initializer_list.485" = type { ptr, i64 }
%"class.std::allocator.56" = type { i8 }
%class.ExpandableMethodParams = type { %class.InsertOnlyConcurrentMap, %class.UnorderedMap.264, %"class.std::mutex", %class.UnorderedSet.286 }
%class.InsertOnlyConcurrentMap = type { %class.ConcurrentContainer }
%class.ConcurrentContainer = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable"] }
%"class.cc_impl::ConcurrentHashtable" = type { %"struct.std::atomic.255", %"struct.std::atomic.257", %"struct.std::atomic.259", %"struct.std::atomic.261" }
%"struct.std::atomic.255" = type { %"struct.std::__atomic_base.256" }
%"struct.std::__atomic_base.256" = type { ptr }
%"struct.std::atomic.261" = type { %"struct.std::__atomic_base.262" }
%"struct.std::__atomic_base.262" = type { ptr }
%class.UnorderedMap.264 = type { %"class.std::unordered_map.266" }
%"class.std::unordered_map.266" = type { %"class.std::_Hashtable.267" }
%"class.std::_Hashtable.267" = 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 }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%class.UnorderedSet.286 = type { %"class.std::unordered_set.288" }
%"class.std::unordered_set.288" = type { %"class.std::_Hashtable.289" }
%"class.std::_Hashtable.289" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::pair.309" = type <{ ptr, i16, [6 x i8] }>

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

declare i32 @__gxx_personality_v0(...)

; 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 ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26)) #1 align 2

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(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 @_ZN9__gnu_cxx17__normal_iteratorIPP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

declare noundef ptr @_ZN12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26)) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS2_EEPN15method_profiles14MethodProfilesE(ptr noundef nonnull align 8 dereferenceable(2816) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.ConcurrentSet, align 8
  %8 = alloca %class.anon.408, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %class.ConcurrentSet.409, align 8
  %12 = alloca %class.anon.417, align 8
  %13 = alloca %"class.std::vector.54", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.59", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.59", align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.UnorderedMap<DexMethodRef *, std::pair<DexMethod *, unsigned short>>::UnorderedIterable", align 8
  %20 = alloca %"struct.std::__detail::_Node_iterator.398", align 8
  %21 = alloca %"struct.std::__detail::_Node_iterator.398", align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.std::vector.54", align 8
  %26 = alloca %"class.std::initializer_list.485", align 8
  %27 = alloca [1 x ptr], align 8
  %28 = alloca %"class.std::allocator.56", align 1
  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
  %29 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 2664, ptr %7) #6
  call void @_ZN13ConcurrentSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #6
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  %31 = getelementptr inbounds %class.anon.408, ptr %8, i32 0, i32 0
  store ptr %29, ptr %31, align 8, !tbaa !9
  %32 = getelementptr inbounds %class.anon.408, ptr %8, i32 0, i32 1
  store ptr %7, ptr %32, align 8, !tbaa !5
  %33 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %34 unwind label %52

34:                                               ; preds = %3
  invoke void @"_ZN4walk8parallel7opcodesISt6vectorIP8DexClassSaIS4_EEZN22ExpandableMethodParams5flushERKS6_PN15method_profiles14MethodProfilesEE3$_1EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(16) %8, i64 noundef %33)
          to label %35 unwind label %52

35:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 2664, ptr %11) #6
  call void @_ZN13ConcurrentSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %36 = getelementptr inbounds %class.anon.417, ptr %12, i32 0, i32 0
  store ptr %11, ptr %36, align 8, !tbaa !5
  %37 = getelementptr inbounds %class.anon.417, ptr %12, i32 0, i32 1
  store ptr %29, ptr %37, align 8, !tbaa !11
  %38 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %39 unwind label %56

39:                                               ; preds = %35
  %40 = trunc i64 %38 to i32
  invoke void @"_Z13workqueue_runIP12DexMethodRefZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS5_EEPN15method_profiles14MethodProfilesEE3$_013ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSL_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(2664) %7, i32 noundef %40, i1 noundef zeroext false)
          to label %41 unwind label %56

41:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #6
  invoke void @_Z20unordered_to_orderedI13ConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EEPFbPK12DexMethodRefSA_ES2_TnNSt9enable_ifIXoosr3stdE12is_base_of_vI16UnorderedBagBaseT_Esr3stdE9is_same_vINSF_8key_typeENSF_10value_typeEEEbE4typeELb1EESt6vectorIT1_SaISL_EERSF_T0_(ptr dead_on_unwind writable sret(%"class.std::vector.54") align 8 %13, ptr noundef nonnull align 8 dereferenceable(2664) %11, ptr noundef @_Z18compare_dexmethodsPK12DexMethodRefS1_)
          to label %42 unwind label %60

42:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store ptr %13, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  %44 = call ptr @_ZNSt6vectorIP9DexMethodSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  %45 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.59", ptr %15, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = call ptr @_ZNSt6vectorIP9DexMethodSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #6
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.59", ptr %16, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  br label %49

49:                                               ; preds = %74, %42
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br i1 %50, label %64, label %51

51:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %80

52:                                               ; preds = %34, %3
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %9, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  br label %172

56:                                               ; preds = %39, %35
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %9, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  br label %171

60:                                               ; preds = %41
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %9, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %10, align 4
  br label %170

64:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  store ptr %66, ptr %17, align 8, !tbaa !5
  %67 = load ptr, ptr %17, align 8, !tbaa !5
  %68 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %67)
          to label %69 unwind label %76

69:                                               ; preds = %64
  %70 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %68)
          to label %71 unwind label %76

71:                                               ; preds = %69
  %72 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN8DexClass10add_methodEP9DexMethod(ptr noundef nonnull align 8 dereferenceable(176) %70, ptr noundef %72)
          to label %73 unwind label %76

73:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %74

74:                                               ; preds = %73
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br label %49

76:                                               ; preds = %71, %69, %64
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %9, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %169

80:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %81 = getelementptr inbounds %class.ExpandableMethodParams, ptr %29, i32 0, i32 1
  %82 = invoke ptr @_Z17UnorderedIterableI12UnorderedMapIP12DexMethodRefSt4pairIP9DexMethodtESt4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESE_EEbE4typeELb1EEDaRSE_(ptr noundef nonnull align 8 dereferenceable(56) %81)
          to label %83 unwind label %98

83:                                               ; preds = %80
  %84 = getelementptr inbounds %"class.UnorderedMap<DexMethodRef *, std::pair<DexMethod *, unsigned short>>::UnorderedIterable", ptr %19, i32 0, i32 0
  store ptr %82, ptr %84, align 8
  store ptr %19, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %85 = load ptr, ptr %18, align 8, !tbaa !5
  %86 = invoke ptr @_ZN12UnorderedMapIP12DexMethodRefSt4pairIP9DexMethodtESt4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %85)
          to label %87 unwind label %102

87:                                               ; preds = %83
  %88 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.398", ptr %20, i32 0, i32 0
  %89 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.399", ptr %88, i32 0, i32 0
  store ptr %86, ptr %89, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %90 = load ptr, ptr %18, align 8, !tbaa !5
  %91 = invoke ptr @_ZN12UnorderedMapIP12DexMethodRefSt4pairIP9DexMethodtESt4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %90)
          to label %92 unwind label %106

92:                                               ; preds = %87
  %93 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.398", ptr %21, i32 0, i32 0
  %94 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.399", ptr %93, i32 0, i32 0
  store ptr %91, ptr %94, align 8
  br label %95

95:                                               ; preds = %156, %92
  %96 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br i1 %96, label %110, label %97

97:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %162

98:                                               ; preds = %80
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %9, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %10, align 4
  br label %161

102:                                              ; preds = %83
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %9, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %10, align 4
  br label %160

106:                                              ; preds = %87
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %9, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %10, align 4
  br label %159

110:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %111 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  store ptr %111, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %112 = load ptr, ptr %22, align 8, !tbaa !5
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKP12DexMethodRefSt4pairIP9DexMethodtEERNSt13tuple_elementIXT_ES3_IT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  store ptr %113, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %114 = load ptr, ptr %22, align 8, !tbaa !5
  %115 = call noundef nonnull align 8 dereferenceable(10) ptr @_ZSt3getILm1EKP12DexMethodRefSt4pairIP9DexMethodtEERNSt13tuple_elementIXT_ES3_IT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(24) %114) #6
  store ptr %115, ptr %24, align 8, !tbaa !5
  %116 = load ptr, ptr %23, align 8, !tbaa !5
  %117 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(2664) %7, ptr noundef nonnull align 8 dereferenceable(8) %116)
          to label %118 unwind label %138

118:                                              ; preds = %110
  %119 = icmp ne i64 %117, 0
  br i1 %119, label %120, label %151

120:                                              ; preds = %118
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = load ptr, ptr %23, align 8, !tbaa !5
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = invoke noundef ptr @_ZN12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26) %123)
          to label %125 unwind label %138

125:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %126 = load ptr, ptr %24, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.std::pair.309", ptr %126, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8, !tbaa !13
  store ptr %128, ptr %27, align 8, !tbaa !5
  %129 = getelementptr inbounds %"class.std::initializer_list.485", ptr %26, i32 0, i32 0
  store ptr %27, ptr %129, align 8, !tbaa !16
  %130 = getelementptr inbounds %"class.std::initializer_list.485", ptr %26, i32 0, i32 1
  store i64 1, ptr %130, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #6
  call void @_ZNSaIP9DexMethodEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  %131 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8
  %133 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %134 = load i64, ptr %133, align 8
  invoke void @_ZNSt6vectorIP9DexMethodSaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr %132, i64 %134, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %135 unwind label %142

135:                                              ; preds = %125
  %136 = invoke noundef i64 @_ZN15method_profiles14MethodProfiles12derive_statsEP9DexMethodRKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(393) %121, ptr noundef %124, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %137 unwind label %146

137:                                              ; preds = %135
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  call void @_ZNSt15__new_allocatorIP9DexMethodED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  br label %155

138:                                              ; preds = %151, %120, %110
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %9, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %10, align 4
  br label %158

142:                                              ; preds = %125
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %9, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %10, align 4
  br label %150

146:                                              ; preds = %135
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %9, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %10, align 4
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  br label %150

150:                                              ; preds = %146, %142
  call void @_ZNSt15__new_allocatorIP9DexMethodED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  br label %158

151:                                              ; preds = %118
  %152 = load ptr, ptr %23, align 8, !tbaa !5
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  invoke void @_ZN12DexMethodRef24delete_method_DO_NOT_USEEPS_(ptr noundef %153)
          to label %154 unwind label %138

154:                                              ; preds = %151
  br label %155

155:                                              ; preds = %154, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %156

156:                                              ; preds = %155
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br label %95

158:                                              ; preds = %150, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %159

159:                                              ; preds = %158, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %160

160:                                              ; preds = %159, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %161

161:                                              ; preds = %160, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %169

162:                                              ; preds = %97
  %163 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %11)
          to label %164 unwind label %165

164:                                              ; preds = %162
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  call void @_ZN19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %11) #6
  call void @llvm.lifetime.end.p0(i64 2664, ptr %11) #6
  call void @_ZN19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #6
  call void @llvm.lifetime.end.p0(i64 2664, ptr %7) #6
  ret i64 %163

165:                                              ; preds = %162
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %9, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %10, align 4
  br label %169

169:                                              ; preds = %165, %161, %76
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %170

170:                                              ; preds = %169, %60
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  br label %171

171:                                              ; preds = %170, %56
  call void @_ZN19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %11) #6
  call void @llvm.lifetime.end.p0(i64 2664, ptr %11) #6
  br label %172

172:                                              ; preds = %171, %52
  call void @_ZN19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #6
  call void @llvm.lifetime.end.p0(i64 2664, ptr %7) #6
  br label %173

173:                                              ; preds = %172
  %174 = load ptr, ptr %9, align 8
  %175 = load i32, ptr %10, align 4
  %176 = insertvalue { ptr, i32 } poison, ptr %174, 0
  %177 = insertvalue { ptr, i32 } %176, i32 %175, 1
  resume { ptr, i32 } %177
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel7opcodesISt6vectorIP8DexClassSaIS4_EEZN22ExpandableMethodParams5flushERKS6_PN15method_profiles14MethodProfilesEE3$_1EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() #5

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z13workqueue_runIP12DexMethodRefZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS5_EEPN15method_profiles14MethodProfilesEE3$_013ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSL_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(2664), i32 noundef, i1 noundef zeroext) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20unordered_to_orderedI13ConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EEPFbPK12DexMethodRefSA_ES2_TnNSt9enable_ifIXoosr3stdE12is_base_of_vI16UnorderedBagBaseT_Esr3stdE9is_same_vINSF_8key_typeENSF_10value_typeEEEbE4typeELb1EESt6vectorIT1_SaISL_EERSF_T0_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.54") align 8, ptr noundef nonnull align 8 dereferenceable(2664), ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z18compare_dexmethodsPK12DexMethodRefS1_(ptr noundef, ptr noundef) #5

declare void @_ZN8DexClass10add_methodEP9DexMethod(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0EEESB_(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(24) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0ELb0EEdeEv(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 @_ZSt3getILm0EKP12DexMethodRefSt4pairIP9DexMethodtEERNSt13tuple_elementIXT_ES3_IT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(24)) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(2664), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

declare noundef i64 @_ZN15method_profiles14MethodProfiles12derive_statsEP9DexMethodRKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(393), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #2

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

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

declare void @_ZN12DexMethodRef24delete_method_DO_NOT_USEEPS_(ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664)) #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIP9DexMethodED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #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 = { "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 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 = { 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 #5 = { 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 #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, !6, i64 0}
!10 = !{!"_ZTSZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS2_EEPN15method_profiles14MethodProfilesEE3$_1", !6, i64 0, !6, i64 8}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTSZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS2_EEPN15method_profiles14MethodProfilesEE3$_0", !6, i64 0, !6, i64 8}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSSt4pairIP9DexMethodtE", !6, i64 0, !15, i64 8}
!15 = !{!"short", !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSSt16initializer_listIP9DexMethodE", !6, i64 0, !18, i64 8}
!18 = !{!"long", !7, i64 0}
!19 = !{!17, !18, i64 8}


; 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.ConcurrentSet = type { %class.ConcurrentContainer.401 }
%class.ConcurrentContainer.401 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.402"] }
%"class.cc_impl::ConcurrentHashtable.402" = type { %"struct.std::atomic.403", %"struct.std::atomic.257", %"struct.std::atomic.259", %"struct.std::atomic.405" }
%"struct.std::atomic.403" = type { %"struct.std::__atomic_base.404" }
%"struct.std::__atomic_base.404" = type { ptr }
%"struct.std::atomic.257" = type { %"struct.std::__atomic_base.258" }
%"struct.std::__atomic_base.258" = type { i64 }
%"struct.std::atomic.259" = type { %"struct.std::__atomic_base.260" }
%"struct.std::__atomic_base.260" = type { i8 }
%"struct.std::atomic.405" = type { %"struct.std::__atomic_base.406" }
%"struct.std::__atomic_base.406" = type { ptr }
%class.anon.408 = type { ptr, ptr }
%class.ConcurrentSet.409 = type { %class.ConcurrentContainer.410 }
%class.ConcurrentContainer.410 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.411"] }
%"class.cc_impl::ConcurrentHashtable.411" = type { %"struct.std::atomic.412", %"struct.std::atomic.257", %"struct.std::atomic.259", %"struct.std::atomic.414" }
%"struct.std::atomic.412" = type { %"struct.std::__atomic_base.413" }
%"struct.std::__atomic_base.413" = type { ptr }
%"struct.std::atomic.414" = type { %"struct.std::__atomic_base.415" }
%"struct.std::__atomic_base.415" = type { ptr }
%class.anon.417 = type { ptr, ptr }
%"class.std::vector.54" = type { %"struct.std::_Vector_base.55" }
%"struct.std::_Vector_base.55" = type { %"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.59" = type { ptr }
%"class.UnorderedMap<DexMethodRef *, std::pair<DexMethod *, unsigned short>>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator.398" = type { %"struct.std::__detail::_Node_iterator_base.399" }
%"struct.std::__detail::_Node_iterator_base.399" = type { ptr }
%"class.std::allocator.56" = type { i8 }

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

declare i32 @__gxx_personality_v0(...)

; 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 ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #1 align 2

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(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 nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(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 @_ZN9__gnu_cxx17__normal_iteratorIPP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

declare noundef ptr @_ZN12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS2_EEPN15method_profiles14MethodProfilesE(ptr noundef nonnull align 8 dereferenceable(2816) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.ConcurrentSet, align 8
  %5 = alloca %class.anon.408, align 8
  %6 = alloca %class.ConcurrentSet.409, align 8
  %7 = alloca %class.anon.417, align 8
  %8 = alloca %"class.std::vector.54", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.59", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.59", align 8
  %11 = alloca %"class.UnorderedMap<DexMethodRef *, std::pair<DexMethod *, unsigned short>>::UnorderedIterable", align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator.398", align 8
  %13 = alloca %"struct.std::__detail::_Node_iterator.398", align 8
  %14 = alloca %"class.std::vector.54", align 8
  %15 = alloca [1 x ptr], align 8
  %16 = alloca %"class.std::allocator.56", align 1
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %4) #6
  call void @_ZN13ConcurrentSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  store ptr %0, ptr %5, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr %4, ptr %17, align 8, !tbaa !10
  %18 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %19 unwind label %32

19:                                               ; preds = %3
  invoke void @"_ZN4walk8parallel7opcodesISt6vectorIP8DexClassSaIS4_EEZN22ExpandableMethodParams5flushERKS6_PN15method_profiles14MethodProfilesEE3$_1EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %18)
          to label %20 unwind label %32

20:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %6) #6
  call void @_ZN13ConcurrentSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  store ptr %6, ptr %7, align 8, !tbaa !10
  %21 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %0, ptr %21, align 8, !tbaa !11
  %22 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %23 unwind label %34

23:                                               ; preds = %20
  %24 = trunc i64 %22 to i32
  invoke void @"_Z13workqueue_runIP12DexMethodRefZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS5_EEPN15method_profiles14MethodProfilesEE3$_013ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSL_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(2664) %4, i32 noundef %24, i1 noundef zeroext false)
          to label %25 unwind label %34

25:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  invoke void @_Z20unordered_to_orderedI13ConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EEPFbPK12DexMethodRefSA_ES2_TnNSt9enable_ifIXoosr3stdE12is_base_of_vI16UnorderedBagBaseT_Esr3stdE9is_same_vINSF_8key_typeENSF_10value_typeEEEbE4typeELb1EESt6vectorIT1_SaISL_EERSF_T0_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.54") align 8 %8, ptr noundef nonnull align 8 dereferenceable(2664) %6, ptr noundef nonnull @_Z18compare_dexmethodsPK12DexMethodRefS1_)
          to label %26 unwind label %36

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %27 = call ptr @_ZNSt6vectorIP9DexMethodSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  store ptr %27, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %28 = call ptr @_ZNSt6vectorIP9DexMethodSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  store ptr %28, ptr %10, align 8
  %29 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %29, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %43, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %30 = getelementptr inbounds i8, ptr %0, i64 2664
  %31 = invoke ptr @_Z17UnorderedIterableI12UnorderedMapIP12DexMethodRefSt4pairIP9DexMethodtESt4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESE_EEbE4typeELb1EEDaRSE_(ptr noundef nonnull align 8 dereferenceable(56) %30)
          to label %48 unwind label %53

32:                                               ; preds = %19, %3
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %86

34:                                               ; preds = %23, %20
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %85

36:                                               ; preds = %25
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %84

.lr.ph:                                           ; preds = %26, %43
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %39 = load ptr, ptr %38, align 8, !tbaa !10
  %40 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %39)
  %41 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %40)
          to label %42 unwind label %46

42:                                               ; preds = %.lr.ph
  invoke void @_ZN8DexClass10add_methodEP9DexMethod(ptr noundef nonnull align 8 dereferenceable(176) %41, ptr noundef nonnull %39)
          to label %43 unwind label %46

43:                                               ; preds = %42
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %45, label %.lr.ph, label %._crit_edge

46:                                               ; preds = %42, %.lr.ph
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %83

48:                                               ; preds = %._crit_edge
  store ptr %31, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %49 = call ptr @_ZN12UnorderedMapIP12DexMethodRefSt4pairIP9DexMethodtESt4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  store ptr %49, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %50 = call ptr @_ZN12UnorderedMapIP12DexMethodRefSt4pairIP9DexMethodtESt4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  store ptr %50, ptr %13, align 8
  %51 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %51, label %.lr.ph32, label %._crit_edge33

._crit_edge33:                                    ; preds = %76, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %52 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %6)
          to label %80 unwind label %81

53:                                               ; preds = %._crit_edge
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %83

.lr.ph32:                                         ; preds = %48, %76
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKP12DexMethodRefSt4pairIP9DexMethodtEERNSt13tuple_elementIXT_ES3_IT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(24) %55) #6
  %57 = call noundef nonnull align 8 dereferenceable(10) ptr @_ZSt3getILm1EKP12DexMethodRefSt4pairIP9DexMethodtEERNSt13tuple_elementIXT_ES3_IT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(24) %55) #6
  %58 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(2664) %4, ptr noundef nonnull align 8 dereferenceable(8) %56)
          to label %59 unwind label %68

59:                                               ; preds = %.lr.ph32
  %.not = icmp eq i64 %58, 0
  %60 = load ptr, ptr %56, align 8, !tbaa !10
  br i1 %.not, label %75, label %61

61:                                               ; preds = %59
  %62 = invoke noundef ptr @_ZN12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26) %60)
          to label %63 unwind label %68

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %64 = load ptr, ptr %57, align 8, !tbaa !13
  store ptr %64, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaIP9DexMethodEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt6vectorIP9DexMethodSaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr nonnull %15, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %65 unwind label %70

65:                                               ; preds = %63
  %66 = invoke noundef i64 @_ZN15method_profiles14MethodProfiles12derive_statsEP9DexMethodRKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(393) %2, ptr noundef %62, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %67 unwind label %72

67:                                               ; preds = %65
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @_ZNSt15__new_allocatorIP9DexMethodED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  br label %76

68:                                               ; preds = %75, %61, %.lr.ph32
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %79

70:                                               ; preds = %63
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %65
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %74

74:                                               ; preds = %72, %70
  %.pn = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @_ZNSt15__new_allocatorIP9DexMethodED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  br label %79

75:                                               ; preds = %59
  invoke void @_ZN12DexMethodRef24delete_method_DO_NOT_USEEPS_(ptr noundef %60)
          to label %76 unwind label %68

76:                                               ; preds = %75, %67
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %78 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %78, label %.lr.ph32, label %._crit_edge33

79:                                               ; preds = %74, %68
  %.pn.pn = phi { ptr, i32 } [ %.pn, %74 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %83

80:                                               ; preds = %._crit_edge33
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZN19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #6
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %6) #6
  call void @_ZN19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %4) #6
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %4) #6
  ret i64 %52

81:                                               ; preds = %._crit_edge33
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %83

83:                                               ; preds = %53, %79, %81, %46
  %.pn26 = phi { ptr, i32 } [ %47, %46 ], [ %82, %81 ], [ %.pn.pn, %79 ], [ %54, %53 ]
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %84

84:                                               ; preds = %83, %36
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %83 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %85

85:                                               ; preds = %84, %34
  %.pn26.pn.pn = phi { ptr, i32 } [ %.pn26.pn, %84 ], [ %35, %34 ]
  call void @_ZN19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #6
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %6) #6
  br label %86

86:                                               ; preds = %85, %32
  %.pn26.pn.pn.pn = phi { ptr, i32 } [ %.pn26.pn.pn, %85 ], [ %33, %32 ]
  call void @_ZN19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %4) #6
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn26.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel7opcodesISt6vectorIP8DexClassSaIS4_EEZN22ExpandableMethodParams5flushERKS6_PN15method_profiles14MethodProfilesEE3$_1EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z13workqueue_runIP12DexMethodRefZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS5_EEPN15method_profiles14MethodProfilesEE3$_013ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSL_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(2664), i32 noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20unordered_to_orderedI13ConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EEPFbPK12DexMethodRefSA_ES2_TnNSt9enable_ifIXoosr3stdE12is_base_of_vI16UnorderedBagBaseT_Esr3stdE9is_same_vINSF_8key_typeENSF_10value_typeEEEbE4typeELb1EESt6vectorIT1_SaISL_EERSF_T0_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.54") align 8, ptr noundef nonnull align 8 dereferenceable(2664), ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z18compare_dexmethodsPK12DexMethodRefS1_(ptr noundef, ptr noundef) #5

declare void @_ZN8DexClass10add_methodEP9DexMethod(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0EEESB_(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(24) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKP12DexMethodRefS1_IP9DexMethodtEELb0ELb0EEdeEv(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 @_ZSt3getILm0EKP12DexMethodRefSt4pairIP9DexMethodtEERNSt13tuple_elementIXT_ES3_IT0_T1_EE4typeERSA_(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

declare noundef i64 @_ZN15method_profiles14MethodProfiles12derive_statsEP9DexMethodRKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(393), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

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

declare void @_ZN12DexMethodRef24delete_method_DO_NOT_USEEPS_(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIP9DexMethodED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { "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 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 = { 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 #5 = { 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 #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, !7, i64 0}
!6 = !{!"_ZTSZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS2_EEPN15method_profiles14MethodProfilesEE3$_1", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"_ZTSZN22ExpandableMethodParams5flushERKSt6vectorIP8DexClassSaIS2_EEPN15method_profiles14MethodProfilesEE3$_0", !7, i64 0, !7, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"_ZTSSt4pairIP9DexMethodtE", !7, i64 0, !15, i64 8}
!15 = !{!"short", !8, i64 0}


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