; LLVM IR from facebook/redex :: libredex/CallGraph.ll (ZNK10call_graph25CompleteCallGraphStrategy9get_rootsEv)

; 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.UnorderedBag = type { %"class.std::vector.106" }
%"class.std::vector.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl" }
%"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.cc_impl::ConcurrentContainerIterator" = type { ptr, i64, %"class.cc_impl::ConcurrentHashtableIterator" }
%"class.cc_impl::ConcurrentHashtableIterator" = type { ptr, i64, ptr }
%"struct.call_graph::RootAndDynamic" = type { %class.UnorderedSet, %class.UnorderedSet }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = 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 }
%class.anon.136 = type { ptr }
%class.anon.137 = type { ptr, ptr, ptr }
%"class.ConcurrentContainer<std::unordered_map<const DexMethod *, method_override_graph::Node>, 83>::ConstUnorderedIterable" = type { ptr }
%"class.UnorderedBag<const DexMethod *>::ConstUnorderedIterable" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair.132" = type <{ %"class.UnorderedSet<const DexMethod *>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedSet<const DexMethod *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator" }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.call_graph::SingleCalleeStrategy" = type { %"class.call_graph::BuildStrategy", ptr, %class.InsertOnlyConcurrentSet }
%"class.call_graph::BuildStrategy" = type { ptr }
%class.InsertOnlyConcurrentSet = type { %class.ConcurrentContainer.31 }
%class.ConcurrentContainer.31 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.32"] }
%"class.cc_impl::ConcurrentHashtable.32" = type { %"struct.std::atomic.33", %"struct.std::atomic.3", %"struct.std::atomic.5", %"struct.std::atomic.35" }
%"struct.std::atomic.33" = type { %"struct.std::__atomic_base.34" }
%"struct.std::__atomic_base.34" = type { ptr }
%"struct.std::atomic.3" = type { %"struct.std::__atomic_base.4" }
%"struct.std::__atomic_base.4" = type { i64 }
%"struct.std::atomic.5" = type { %"struct.std::__atomic_base.6" }
%"struct.std::__atomic_base.6" = type { i8 }
%"struct.std::atomic.35" = type { %"struct.std::__atomic_base.36" }
%"struct.std::__atomic_base.36" = type { ptr }
%"class.call_graph::MultipleCalleeBaseStrategy" = type { %"class.call_graph::SingleCalleeStrategy", ptr, %class.InsertOnlyConcurrentMap.48 }
%class.InsertOnlyConcurrentMap.48 = type { %class.ConcurrentContainer.49 }
%class.ConcurrentContainer.49 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.50"] }
%"class.cc_impl::ConcurrentHashtable.50" = type { %"struct.std::atomic.51", %"struct.std::atomic.3", %"struct.std::atomic.5", %"struct.std::atomic.53" }
%"struct.std::atomic.51" = type { %"struct.std::__atomic_base.52" }
%"struct.std::__atomic_base.52" = type { ptr }
%"struct.std::atomic.53" = type { %"struct.std::__atomic_base.54" }
%"struct.std::__atomic_base.54" = type { ptr }
%"struct.std::pair.115" = type { ptr, %"struct.method_override_graph::Node" }
%"struct.method_override_graph::Node" = type <{ ptr, %class.UnorderedBag.117, %class.UnorderedBag.117, %"class.std::unique_ptr.124", i8, [7 x i8] }>
%class.UnorderedBag.117 = type { %"class.std::vector.119" }
%"class.std::vector.119" = type { %"struct.std::_Vector_base.120" }
%"struct.std::_Vector_base.120" = type { %"struct.std::_Vector_base<method_override_graph::Node *, std::allocator<method_override_graph::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<method_override_graph::Node *, std::allocator<method_override_graph::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<method_override_graph::Node *, std::allocator<method_override_graph::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<method_override_graph::Node *, std::allocator<method_override_graph::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.124" = type { %"struct.std::__uniq_ptr_data.125" }
%"struct.std::__uniq_ptr_data.125" = type { %"class.std::__uniq_ptr_impl.126" }
%"class.std::__uniq_ptr_impl.126" = type { %"class.std::tuple.127" }
%"class.std::tuple.127" = type { %"struct.std::_Tuple_impl.128" }
%"struct.std::_Tuple_impl.128" = type { %"struct.std::_Head_base.131" }
%"struct.std::_Head_base.131" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10call_graph14RootAndDynamicC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

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

declare void @_ZN21method_override_graph22get_overriding_methodsERKNS_5GraphEPK9DexMethodbPK7DexType(ptr dead_on_unwind writable sret(%class.UnorderedBag) align 8, ptr noundef nonnull align 8 dereferenceable(5984), ptr noundef, i1 noundef zeroext, ptr noundef) #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConcurrentContainerISt13unordered_mapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EE22ConstUnorderedIterable5beginEv(ptr dead_on_unwind noalias writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConcurrentContainerISt13unordered_mapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EE22ConstUnorderedIterable3endEv(ptr dead_on_unwind noalias writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEneERKSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEdeEv(ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetIPK9DexMethodSt4hashIS2_ESt8equal_toIS2_EE6insertERKS2_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK10call_graph25CompleteCallGraphStrategy9get_rootsEv(ptr dead_on_unwind noalias writable sret(%"struct.call_graph::RootAndDynamic") align 8 %0, ptr noundef nonnull align 8 dereferenceable(5352) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca %class.anon.136, align 8
  %8 = alloca %class.anon.137, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"class.ConcurrentContainer<std::unordered_map<const DexMethod *, method_override_graph::Node>, 83>::ConstUnorderedIterable", align 8
  %13 = alloca %"class.cc_impl::ConcurrentContainerIterator", align 8
  %14 = alloca %"class.cc_impl::ConcurrentContainerIterator", align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %class.UnorderedBag, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.UnorderedBag<const DexMethod *>::ConstUnorderedIterable", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"struct.std::pair.132", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %26 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZN10call_graph14RootAndDynamicC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %27 = getelementptr inbounds %"struct.call_graph::RootAndDynamic", ptr %0, i32 0, i32 0
  store ptr %27, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %28 = getelementptr inbounds %class.anon.136, ptr %7, i32 0, i32 0
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %29, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.call_graph::SingleCalleeStrategy", ptr %26, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  %32 = getelementptr inbounds %class.anon.137, ptr %8, i32 0, i32 0
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %33, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds %class.anon.137, ptr %8, i32 0, i32 1
  store ptr %26, ptr %34, align 8, !tbaa !14
  %35 = getelementptr inbounds %class.anon.137, ptr %8, i32 0, i32 2
  store ptr %7, ptr %35, align 8, !tbaa !5
  invoke void @"_ZN4walk7methodsISt6vectorIP8DexClassSaIS3_EEZNK10call_graph25CompleteCallGraphStrategy9get_rootsEvE3$_1EEvRKT_RKT0_"(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %36 unwind label %52

36:                                               ; preds = %2
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %37 = getelementptr inbounds %"class.call_graph::MultipleCalleeBaseStrategy", ptr %26, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !16
  %39 = invoke noundef nonnull align 8 dereferenceable(5984) ptr @_ZNK21method_override_graph5Graph5nodesEv(ptr noundef nonnull align 8 dereferenceable(5984) %38)
          to label %40 unwind label %56

40:                                               ; preds = %36
  %41 = invoke ptr @_Z17UnorderedIterableI13ConcurrentMapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ELm83EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESD_EEbE4typeELb1EEDaRKSD_(ptr noundef nonnull align 8 dereferenceable(5984) %39)
          to label %42 unwind label %56

42:                                               ; preds = %40
  %43 = getelementptr inbounds %"class.ConcurrentContainer<std::unordered_map<const DexMethod *, method_override_graph::Node>, 83>::ConstUnorderedIterable", ptr %12, i32 0, i32 0
  store ptr %41, ptr %43, align 8
  store ptr %12, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #6
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZNK19ConcurrentContainerISt13unordered_mapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EE22ConstUnorderedIterable5beginEv(ptr dead_on_unwind writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %44)
          to label %45 unwind label %60

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #6
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZNK19ConcurrentContainerISt13unordered_mapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EE22ConstUnorderedIterable3endEv(ptr dead_on_unwind writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %47 unwind label %64

47:                                               ; preds = %45
  br label %48

48:                                               ; preds = %145, %47
  %49 = invoke noundef zeroext i1 @_ZNK7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEneERKSG_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %50 unwind label %64

50:                                               ; preds = %48
  br i1 %49, label %68, label %51

51:                                               ; preds = %50
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %151

52:                                               ; preds = %2
  %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 24, ptr %8) #6
  br label %153

56:                                               ; preds = %40, %36
  %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
  br label %150

60:                                               ; preds = %42
  %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 %149

64:                                               ; preds = %143, %48, %45
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %9, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %10, align 4
  br label %148

68:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %69 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEdeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %70 unwind label %97

70:                                               ; preds = %68
  store ptr %69, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %71 = load ptr, ptr %16, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.std::pair.115", ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8, !tbaa !20
  store ptr %73, ptr %17, align 8, !tbaa !5
  %74 = load ptr, ptr %17, align 8, !tbaa !5
  %75 = invoke noundef zeroext i1 @_ZNK12DexMethodRef11is_externalEv(ptr noundef nonnull align 8 dereferenceable(26) %74)
          to label %76 unwind label %101

76:                                               ; preds = %70
  br i1 %75, label %77, label %142

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  %78 = getelementptr inbounds %"class.call_graph::MultipleCalleeBaseStrategy", ptr %26, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8, !tbaa !16
  %80 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN21method_override_graph22get_overriding_methodsERKNS_5GraphEPK9DexMethodbPK7DexType(ptr dead_on_unwind writable sret(%class.UnorderedBag) align 8 %19, ptr noundef nonnull align 8 dereferenceable(5984) %79, ptr noundef %80, i1 noundef zeroext true, ptr noundef null)
          to label %81 unwind label %105

81:                                               ; preds = %77
  store ptr %19, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %82 = load ptr, ptr %18, align 8, !tbaa !5
  %83 = invoke ptr @_Z17UnorderedIterableI12UnorderedBagIPK9DexMethodETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES7_EEbE4typeELb1EEDaRKS7_(ptr noundef nonnull align 8 dereferenceable(24) %82)
          to label %84 unwind label %109

84:                                               ; preds = %81
  %85 = getelementptr inbounds %"class.UnorderedBag<const DexMethod *>::ConstUnorderedIterable", ptr %21, i32 0, i32 0
  store ptr %83, ptr %85, align 8
  store ptr %21, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %86 = load ptr, ptr %20, align 8, !tbaa !5
  %87 = invoke ptr @_ZNK12UnorderedBagIPK9DexMethodE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
          to label %88 unwind label %113

88:                                               ; preds = %84
  %89 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %87, ptr %89, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %90 = load ptr, ptr %20, align 8, !tbaa !5
  %91 = invoke ptr @_ZNK12UnorderedBagIPK9DexMethodE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %90)
          to label %92 unwind label %117

92:                                               ; preds = %88
  %93 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %91, ptr %93, align 8
  br label %94

94:                                               ; preds = %131, %92
  %95 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPK9DexMethodSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br i1 %95, label %121, label %96

96:                                               ; preds = %94
  store i32 4, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %140

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

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

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

109:                                              ; preds = %81
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %9, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %10, align 4
  br label %139

113:                                              ; preds = %84
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %9, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %10, align 4
  br label %138

117:                                              ; preds = %88
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %9, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %10, align 4
  br label %137

121:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPK9DexMethodSt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  store ptr %123, ptr %24, align 8, !tbaa !5
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = invoke { ptr, i8 } @_ZN12UnorderedSetIPK9DexMethodSt4hashIS2_ESt8equal_toIS2_EE6insertERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %124, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %126 unwind label %133

126:                                              ; preds = %121
  %127 = getelementptr inbounds { ptr, i8 }, ptr %25, i32 0, i32 0
  %128 = extractvalue { ptr, i8 } %125, 0
  store ptr %128, ptr %127, align 8
  %129 = getelementptr inbounds { ptr, i8 }, ptr %25, i32 0, i32 1
  %130 = extractvalue { ptr, i8 } %125, 1
  store i8 %130, ptr %129, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %131

131:                                              ; preds = %126
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPK9DexMethodSt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  br label %94

133:                                              ; preds = %121
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %9, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %137

137:                                              ; preds = %133, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %138

138:                                              ; preds = %137, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %139

139:                                              ; preds = %138, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @_ZN12UnorderedBagIPK9DexMethodED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  br label %141

140:                                              ; preds = %96
  call void @_ZN12UnorderedBagIPK9DexMethodED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %142

141:                                              ; preds = %139, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %146

142:                                              ; preds = %140, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %143

143:                                              ; preds = %142
  %144 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEppEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %145 unwind label %64

145:                                              ; preds = %143
  br label %48

146:                                              ; preds = %141, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %147

147:                                              ; preds = %146, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %148

148:                                              ; preds = %147, %64
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #6
  br label %149

149:                                              ; preds = %148, %60
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %150

150:                                              ; preds = %149, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %153

151:                                              ; preds = %51
  store i1 true, ptr %5, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %152 = load i1, ptr %5, align 1
  br i1 %152, label %155, label %154

153:                                              ; preds = %150, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @_ZN10call_graph14RootAndDynamicD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #6
  br label %156

154:                                              ; preds = %151
  call void @_ZN10call_graph14RootAndDynamicD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #6
  br label %155

155:                                              ; preds = %154, %151
  ret void

156:                                              ; preds = %153
  %157 = load ptr, ptr %9, align 8
  %158 = load i32, ptr %10, align 4
  %159 = insertvalue { ptr, i32 } poison, ptr %157, 0
  %160 = insertvalue { ptr, i32 } %159, i32 %158, 1
  resume { ptr, i32 } %160
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN10call_graph20SingleCalleeStrategyE", !11, i64 0, !6, i64 8, !12, i64 16}
!11 = !{!"_ZTSN10call_graph13BuildStrategyE"}
!12 = !{!"_ZTS23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_ELm83EE", !13, i64 0}
!13 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE", !7, i64 8}
!14 = !{!15, !6, i64 8}
!15 = !{!"_ZTSZNK10call_graph25CompleteCallGraphStrategy9get_rootsEvE3$_1", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!17, !6, i64 2680}
!17 = !{!"_ZTSN10call_graph26MultipleCalleeBaseStrategyE", !10, i64 0, !6, i64 2680, !18, i64 2688}
!18 = !{!"_ZTS23InsertOnlyConcurrentMapIPK9DexMethodSt6vectorIS2_SaIS2_EESt4hashIS2_ESt8equal_toIS2_ELm83EE", !19, i64 0}
!19 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIPK9DexMethodSt6vectorIS3_SaIS3_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S6_EEELm83EE", !7, i64 8}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSSt4pairIKPK9DexMethodN21method_override_graph4NodeEE", !6, i64 0, !22, i64 8}
!22 = !{!"_ZTSN21method_override_graph4NodeE", !6, i64 0, !23, i64 8, !23, i64 32, !28, i64 56, !34, i64 64}
!23 = !{!"_ZTS12UnorderedBagIPN21method_override_graph4NodeEE", !24, i64 0}
!24 = !{!"_ZTSSt6vectorIPN21method_override_graph4NodeESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIPN21method_override_graph4NodeESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIPN21method_override_graph4NodeESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN21method_override_graph4NodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt10unique_ptrIN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_dataIN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_ELb1ELb1EE", !30, i64 0}
!30 = !{!"_ZTSSt15__uniq_ptr_implIN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt5tupleIJPN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_EEE", !32, i64 0}
!32 = !{!"_ZTSSt11_Tuple_implILm0EJPN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_EEE", !33, i64 0}
!33 = !{!"_ZTSSt10_Head_baseILm0EPN21method_override_graph29OtherInterfaceImplementationsELb0EE", !6, i64 0}
!34 = !{!"bool", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.UnorderedBag = type { %"class.std::vector.106" }
%"class.std::vector.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl" }
%"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.cc_impl::ConcurrentContainerIterator" = type { ptr, i64, %"class.cc_impl::ConcurrentHashtableIterator" }
%"class.cc_impl::ConcurrentHashtableIterator" = type { ptr, i64, ptr }
%"struct.call_graph::RootAndDynamic" = type { %class.UnorderedSet, %class.UnorderedSet }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = 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 }
%class.anon.136 = type { ptr }
%class.anon.137 = type { ptr, ptr, ptr }
%"class.ConcurrentContainer<std::unordered_map<const DexMethod *, method_override_graph::Node>, 83>::ConstUnorderedIterable" = type { ptr }
%"class.UnorderedBag<const DexMethod *>::ConstUnorderedIterable" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
declare dso_local void @_ZN10call_graph14RootAndDynamicC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

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

declare void @_ZN21method_override_graph22get_overriding_methodsERKNS_5GraphEPK9DexMethodbPK7DexType(ptr dead_on_unwind writable sret(%class.UnorderedBag) align 8, ptr noundef nonnull align 8 dereferenceable(5984), ptr noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConcurrentContainerISt13unordered_mapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EE22ConstUnorderedIterable5beginEv(ptr dead_on_unwind noalias writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConcurrentContainerISt13unordered_mapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EE22ConstUnorderedIterable3endEv(ptr dead_on_unwind noalias writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEneERKSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEdeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK12DexMethodRef11is_externalEv(ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK10call_graph25CompleteCallGraphStrategy9get_rootsEv(ptr dead_on_unwind noalias nonnull writable sret(%"struct.call_graph::RootAndDynamic") align 8 %0, ptr noundef nonnull align 8 dereferenceable(5352) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.anon.136, align 8
  %4 = alloca %class.anon.137, align 8
  %5 = alloca %"class.ConcurrentContainer<std::unordered_map<const DexMethod *, method_override_graph::Node>, 83>::ConstUnorderedIterable", align 8
  %6 = alloca %"class.cc_impl::ConcurrentContainerIterator", align 8
  %7 = alloca %"class.cc_impl::ConcurrentContainerIterator", align 8
  %8 = alloca %class.UnorderedBag, align 8
  %9 = alloca %"class.UnorderedBag<const DexMethod *>::ConstUnorderedIterable", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca ptr, align 8
  tail call void @_ZN10call_graph14RootAndDynamicC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store ptr %0, ptr %3, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  store ptr %0, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %1, ptr %15, align 8, !tbaa !14
  %16 = getelementptr inbounds i8, ptr %4, i64 16
  store ptr %3, ptr %16, align 8, !tbaa !5
  invoke void @"_ZN4walk7methodsISt6vectorIP8DexClassSaIS3_EEZNK10call_graph25CompleteCallGraphStrategy9get_rootsEvE3$_1EEvRKT_RKT0_"(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %17 unwind label %27

17:                                               ; preds = %2
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %18 = getelementptr inbounds i8, ptr %1, i64 2680
  %19 = load ptr, ptr %18, align 8, !tbaa !16
  %20 = call noundef nonnull align 8 dereferenceable(5984) ptr @_ZNK21method_override_graph5Graph5nodesEv(ptr noundef nonnull align 8 dereferenceable(5984) %19)
  %21 = invoke ptr @_Z17UnorderedIterableI13ConcurrentMapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ELm83EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESD_EEbE4typeELb1EEDaRKSD_(ptr noundef nonnull align 8 dereferenceable(5984) %20)
          to label %22 unwind label %29

22:                                               ; preds = %17
  store ptr %21, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #6
  invoke void @_ZNK19ConcurrentContainerISt13unordered_mapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EE22ConstUnorderedIterable5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %23 unwind label %31

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #6
  invoke void @_ZNK19ConcurrentContainerISt13unordered_mapIPK9DexMethodN21method_override_graph4NodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EE22ConstUnorderedIterable3endEv(ptr dead_on_unwind nonnull writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %23, %61
  %24 = invoke noundef zeroext i1 @_ZNK7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEneERKSG_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %25 unwind label %.loopexit

25:                                               ; preds = %.preheader
  br i1 %24, label %33, label %26

26:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret void

27:                                               ; preds = %2
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  br label %65

29:                                               ; preds = %17
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %65

31:                                               ; preds = %22
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %64

.loopexit:                                        ; preds = %.preheader, %61
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %63

.loopexit.split-lp:                               ; preds = %23
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %63

33:                                               ; preds = %25
  %34 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEdeEv(ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %35 unwind label %46

35:                                               ; preds = %33
  %36 = load ptr, ptr %34, align 8, !tbaa !20
  %37 = call noundef zeroext i1 @_ZNK12DexMethodRef11is_externalEv(ptr noundef nonnull align 8 dereferenceable(26) %36)
  br i1 %37, label %38, label %61

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  %39 = load ptr, ptr %18, align 8, !tbaa !16
  invoke void @_ZN21method_override_graph22get_overriding_methodsERKNS_5GraphEPK9DexMethodbPK7DexType(ptr dead_on_unwind nonnull writable sret(%class.UnorderedBag) align 8 %8, ptr noundef nonnull align 8 dereferenceable(5984) %39, ptr noundef nonnull %36, i1 noundef zeroext true, ptr noundef null)
          to label %40 unwind label %48

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %41 = invoke ptr @_Z17UnorderedIterableI12UnorderedBagIPK9DexMethodETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES7_EEbE4typeELb1EEDaRKS7_(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %42 unwind label %50

42:                                               ; preds = %40
  store ptr %41, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %43 = call ptr @_ZNK12UnorderedBagIPK9DexMethodE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  store ptr %43, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %44 = call ptr @_ZNK12UnorderedBagIPK9DexMethodE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  store ptr %44, ptr %11, align 8
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPK9DexMethodSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %45, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %55, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  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 @_ZN12UnorderedBagIPK9DexMethodED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %61

46:                                               ; preds = %33
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %63

48:                                               ; preds = %38
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %63

50:                                               ; preds = %40
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %60

.lr.ph:                                           ; preds = %42, %55
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPK9DexMethodSt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  store ptr %53, ptr %12, align 8, !tbaa !5
  %54 = invoke { ptr, i8 } @_ZN12UnorderedSetIPK9DexMethodSt4hashIS2_ESt8equal_toIS2_EE6insertERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %55 unwind label %58

55:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPK9DexMethodSt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPK9DexMethodSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %57, label %.lr.ph, label %._crit_edge

58:                                               ; preds = %.lr.ph
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  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 %60

60:                                               ; preds = %58, %50
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %51, %50 ]
  call void @_ZN12UnorderedBagIPK9DexMethodED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %63

61:                                               ; preds = %._crit_edge, %35
  %62 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN7cc_impl27ConcurrentContainerIteratorIKNS_19ConcurrentHashtableIPK9DexMethodSt4pairIKS4_N21method_override_graph4NodeEESt4hashIS4_ESt8equal_toIS4_EEELm83EEppEv(ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %.preheader unwind label %.loopexit

63:                                               ; preds = %.loopexit, %.loopexit.split-lp, %46, %60, %48
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %47, %46 ], [ %.pn, %60 ], [ %49, %48 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  br label %64

64:                                               ; preds = %63, %31
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %63 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %65

65:                                               ; preds = %29, %64, %27
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %28, %27 ], [ %.pn.pn.pn.pn.pn, %64 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @_ZN10call_graph14RootAndDynamicD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #6
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN10call_graph20SingleCalleeStrategyE", !11, i64 0, !6, i64 8, !12, i64 16}
!11 = !{!"_ZTSN10call_graph13BuildStrategyE"}
!12 = !{!"_ZTS23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_ELm83EE", !13, i64 0}
!13 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE", !7, i64 8}
!14 = !{!15, !6, i64 8}
!15 = !{!"_ZTSZNK10call_graph25CompleteCallGraphStrategy9get_rootsEvE3$_1", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!17, !6, i64 2680}
!17 = !{!"_ZTSN10call_graph26MultipleCalleeBaseStrategyE", !10, i64 0, !6, i64 2680, !18, i64 2688}
!18 = !{!"_ZTS23InsertOnlyConcurrentMapIPK9DexMethodSt6vectorIS2_SaIS2_EESt4hashIS2_ESt8equal_toIS2_ELm83EE", !19, i64 0}
!19 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIPK9DexMethodSt6vectorIS3_SaIS3_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S6_EEELm83EE", !7, i64 8}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSSt4pairIKPK9DexMethodN21method_override_graph4NodeEE", !6, i64 0, !22, i64 8}
!22 = !{!"_ZTSN21method_override_graph4NodeE", !6, i64 0, !23, i64 8, !23, i64 32, !28, i64 56, !34, i64 64}
!23 = !{!"_ZTS12UnorderedBagIPN21method_override_graph4NodeEE", !24, i64 0}
!24 = !{!"_ZTSSt6vectorIPN21method_override_graph4NodeESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIPN21method_override_graph4NodeESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIPN21method_override_graph4NodeESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN21method_override_graph4NodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt10unique_ptrIN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_dataIN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_ELb1ELb1EE", !30, i64 0}
!30 = !{!"_ZTSSt15__uniq_ptr_implIN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt5tupleIJPN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_EEE", !32, i64 0}
!32 = !{!"_ZTSSt11_Tuple_implILm0EJPN21method_override_graph29OtherInterfaceImplementationsESt14default_deleteIS1_EEE", !33, i64 0}
!33 = !{!"_ZTSSt10_Head_baseILm0EPN21method_override_graph29OtherInterfaceImplementationsELb0EE", !6, i64 0}
!34 = !{!"bool", !7, i64 0}


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