; LLVM IR from facebook/redex :: libredex (InitClassesWithSideEffects)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.Timer = type <{ %"class.std::__cxx11::basic_string", %"class.std::chrono::time_point", i8, [7 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::allocator" = type { i8 }
%"class.std::unique_ptr.27" = type { %"struct.std::__uniq_ptr_data.28" }
%"struct.std::__uniq_ptr_data.28" = type { %"class.std::__uniq_ptr_impl.29" }
%"class.std::__uniq_ptr_impl.29" = type { %"class.std::tuple.30" }
%"class.std::tuple.30" = type { %"struct.std::_Tuple_impl.31" }
%"struct.std::_Tuple_impl.31" = type { %"struct.std::_Head_base.34" }
%"struct.std::_Head_base.34" = type { ptr }
%class.InsertOnlyConcurrentSet = type { %class.ConcurrentContainer.35 }
%class.ConcurrentContainer.35 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.36"] }
%"class.cc_impl::ConcurrentHashtable.36" = type { %"struct.std::atomic.37", %"struct.std::atomic.16", %"struct.std::atomic.18", %"struct.std::atomic.39" }
%"struct.std::atomic.37" = type { %"struct.std::__atomic_base.38" }
%"struct.std::__atomic_base.38" = type { ptr }
%"struct.std::atomic.16" = type { %"struct.std::__atomic_base.17" }
%"struct.std::__atomic_base.17" = type { i64 }
%"struct.std::atomic.18" = type { %"struct.std::__atomic_base.19" }
%"struct.std::__atomic_base.19" = type { i8 }
%"struct.std::atomic.39" = type { %"struct.std::__atomic_base.40" }
%"struct.std::__atomic_base.40" = type { ptr }
%class.InsertOnlyConcurrentMap = type { %class.ConcurrentContainer }
%class.ConcurrentContainer = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable"] }
%"class.cc_impl::ConcurrentHashtable" = type { %"struct.std::atomic.14", %"struct.std::atomic.16", %"struct.std::atomic.18", %"struct.std::atomic.20" }
%"struct.std::atomic.14" = type { %"struct.std::__atomic_base.15" }
%"struct.std::__atomic_base.15" = type { ptr }
%"struct.std::atomic.20" = type { %"struct.std::__atomic_base.21" }
%"struct.std::__atomic_base.21" = type { ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.54 = type { ptr }
%class.ConcurrentSet = type { %class.ConcurrentContainer.55 }
%class.ConcurrentContainer.55 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.56"] }
%"class.cc_impl::ConcurrentHashtable.56" = type { %"struct.std::atomic.57", %"struct.std::atomic.16", %"struct.std::atomic.18", %"struct.std::atomic.59" }
%"struct.std::atomic.57" = type { %"struct.std::__atomic_base.58" }
%"struct.std::__atomic_base.58" = type { ptr }
%"struct.std::atomic.59" = type { %"struct.std::__atomic_base.60" }
%"struct.std::__atomic_base.60" = type { ptr }
%class.anon.62 = type { ptr, ptr, ptr, ptr }
%"class.ConcurrentContainer<std::unordered_set<DexClass *>, 83>::UnorderedIterable" = type { ptr }
%"class.cc_impl::ConcurrentContainerIterator" = type { ptr, i64, %"class.cc_impl::ConcurrentHashtableIterator" }
%"class.cc_impl::ConcurrentHashtableIterator" = type { ptr, i64, ptr }
%"class.init_classes::InitClassesWithSideEffects" = type <{ %class.InsertOnlyConcurrentMap, %"struct.std::atomic.16", %"class.std::vector.22", i8, [7 x i8] }>
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<const DexClass *, std::allocator<const DexClass *>>::_Vector_impl" }
%"struct.std::_Vector_base<const DexClass *, std::allocator<const DexClass *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const DexClass *, std::allocator<const DexClass *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const DexClass *, std::allocator<const DexClass *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.DexClass = type { ptr, ptr, ptr, ptr, %"class.std::unique_ptr", ptr, ptr, %"class.std::vector", %"class.std::vector", %"class.std::vector.6", %"class.std::vector.6", i32, i8, i8, i8, %class.ReferencedState }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.2" }
%"struct.std::_Head_base.2" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DexField *, std::allocator<DexField *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexField *, std::allocator<DexField *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexField *, std::allocator<DexField *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexField *, std::allocator<DexField *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = 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.ReferencedState = type { %"struct.ReferencedState::InnerStruct", i32, %"struct.std::atomic" }
%"struct.ReferencedState::InnerStruct" = type <{ i8, i16, %union.anon.11 }>
%union.anon.11 = type { %struct.anon }
%struct.anon = type { i8 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }

@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [91 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12init_classes26InitClassesWithSideEffectsC2ERKSt6vectorIP8DexClassSaIS3_EEbPKN21method_override_graph5GraphE(ptr noundef nonnull align 8 dereferenceable(2697) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext %2, ptr noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca %struct.Timer, align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::unique_ptr.27", align 8
  %15 = alloca %"class.std::unique_ptr.27", align 8
  %16 = alloca %class.InsertOnlyConcurrentSet, align 8
  %17 = alloca i64, align 8
  %18 = alloca %class.InsertOnlyConcurrentMap, align 8
  %19 = alloca %"class.std::function", align 8
  %20 = alloca %class.anon.54, align 8
  %21 = alloca %class.ConcurrentSet, align 8
  %22 = alloca %class.anon.62, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.ConcurrentContainer<std::unordered_set<DexClass *>, 83>::UnorderedIterable", align 8
  %25 = alloca %"class.cc_impl::ConcurrentContainerIterator", align 8
  %26 = alloca %"class.cc_impl::ConcurrentContainerIterator", align 8
  %27 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %28 = zext i1 %2 to i8
  store i8 %28, ptr %7, align 1, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8
  %30 = getelementptr inbounds %"class.init_classes::InitClassesWithSideEffects", ptr %29, i32 0, i32 0
  call void @_ZN23InsertOnlyConcurrentMapIPK7DexTypeSt6vectorIPK8DexClassSaIS6_EESt4hashIS2_ESt8equal_toIS2_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %30) #7
  %31 = getelementptr inbounds %"class.init_classes::InitClassesWithSideEffects", ptr %29, i32 0, i32 1
  call void @_ZNSt6atomicImEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %31, i64 noundef 0) #7
  %32 = getelementptr inbounds %"class.init_classes::InitClassesWithSideEffects", ptr %29, i32 0, i32 2
  call void @_ZNSt6vectorIPK8DexClassSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  %33 = getelementptr inbounds %"class.init_classes::InitClassesWithSideEffects", ptr %29, i32 0, i32 3
  %34 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %35 = trunc i8 %34 to i1
  %36 = zext i1 %35 to i8
  store i8 %36, ptr %33, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %37 unwind label %47

37:                                               ; preds = %4
  invoke void @_ZN5TimerC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb(ptr noundef nonnull align 8 dereferenceable(41) %9, ptr noundef nonnull align 8 dereferenceable(32) %10, i1 noundef zeroext true)
          to label %38 unwind label %51

38:                                               ; preds = %37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  call void @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EEC2IS9_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = icmp ne ptr %39, null
  br i1 %40, label %41, label %65

41:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 2664, ptr %16) #7
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN21method_override_graph21get_non_true_virtualsERKNS_5GraphERKSt6vectorIP8DexClassSaIS5_EE(ptr dead_on_unwind writable sret(%class.InsertOnlyConcurrentSet) align 8 %16, ptr noundef nonnull align 8 dereferenceable(5984) %42, ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %44 unwind label %56

44:                                               ; preds = %41
  invoke void @_ZSt11make_uniqueI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EEJS7_EENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.27") align 8 %15, ptr noundef nonnull align 8 dereferenceable(2664) %16)
          to label %45 unwind label %60

45:                                               ; preds = %44
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @_ZN19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %16) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %65

47:                                               ; preds = %4
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %12, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %13, align 4
  br label %55

51:                                               ; preds = %37
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %12, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %55

55:                                               ; preds = %51, %47
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  br label %147

56:                                               ; preds = %41
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %12, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %13, align 4
  br label %64

60:                                               ; preds = %44
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %12, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %13, align 4
  call void @_ZN19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %16) #7
  br label %64

64:                                               ; preds = %60, %56
  call void @llvm.lifetime.end.p0(i64 2664, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %146

65:                                               ; preds = %45, %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  br label %66

66:                                               ; preds = %139, %65
  call void @llvm.lifetime.start.p0(i64 2664, ptr %18) #7
  %67 = getelementptr inbounds %"class.init_classes::InitClassesWithSideEffects", ptr %29, i32 0, i32 0
  call void @_ZN23InsertOnlyConcurrentMapIPK7DexTypeSt6vectorIPK8DexClassSaIS6_EESt4hashIS2_ESt8equal_toIS2_ELm83EEC2EOSD_(ptr noundef nonnull align 8 dereferenceable(2664) %18, ptr noundef nonnull align 8 dereferenceable(2664) %67) #7
  %68 = getelementptr inbounds %"class.init_classes::InitClassesWithSideEffects", ptr %29, i32 0, i32 1
  %69 = call noundef i64 @_ZNSt13__atomic_baseImE8exchangeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %68, i64 noundef 0, i32 noundef 5) #7
  store i64 %69, ptr %17, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %70 = getelementptr inbounds %class.anon.54, ptr %20, i32 0, i32 0
  store ptr %18, ptr %70, align 8, !tbaa !5
  call void @"_ZNSt8functionIFbPK7DexTypeEEC2IZN12init_classes26InitClassesWithSideEffectsC1ERKSt6vectorIP8DexClassSaISA_EEbPKN21method_override_graph5GraphEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 2664, ptr %21) #7
  call void @_ZN13ConcurrentSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %21) #7
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #7
  %72 = getelementptr inbounds %class.anon.62, ptr %22, i32 0, i32 0
  store ptr %29, ptr %72, align 8, !tbaa !25
  %73 = getelementptr inbounds %class.anon.62, ptr %22, i32 0, i32 1
  store ptr %19, ptr %73, align 8, !tbaa !5
  %74 = getelementptr inbounds %class.anon.62, ptr %22, i32 0, i32 2
  store ptr %14, ptr %74, align 8, !tbaa !5
  %75 = getelementptr inbounds %class.anon.62, ptr %22, i32 0, i32 3
  store ptr %21, ptr %75, align 8, !tbaa !5
  %76 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %77 unwind label %90

77:                                               ; preds = %66
  invoke void @"_ZN4walk8parallel7classesISt6vectorIP8DexClassSaIS4_EEZN12init_classes26InitClassesWithSideEffectsC1ERKS6_bPKN21method_override_graph5GraphEE3$_1EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 8 dereferenceable(32) %22, i64 noundef %76)
          to label %78 unwind label %90

78:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %79 = invoke ptr @_Z17UnorderedIterableI13ConcurrentSetIP8DexClassSt4hashIS2_ESt8equal_toIS2_ELm83EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESA_EEbE4typeELb1EEDaRSA_(ptr noundef nonnull align 8 dereferenceable(2664) %21)
          to label %80 unwind label %94

80:                                               ; preds = %78
  %81 = getelementptr inbounds %"class.ConcurrentContainer<std::unordered_set<DexClass *>, 83>::UnorderedIterable", ptr %24, i32 0, i32 0
  store ptr %79, ptr %81, align 8
  store ptr %24, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #7
  %82 = load ptr, ptr %23, align 8, !tbaa !5
  invoke void @_ZN19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE17UnorderedIterable5beginEv(ptr dead_on_unwind writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(8) %82)
          to label %83 unwind label %98

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #7
  %84 = load ptr, ptr %23, align 8, !tbaa !5
  invoke void @_ZN19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE17UnorderedIterable3endEv(ptr dead_on_unwind writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8 %26, ptr noundef nonnull align 8 dereferenceable(8) %84)
          to label %85 unwind label %102

85:                                               ; preds = %83
  br label %86

86:                                               ; preds = %115, %85
  %87 = invoke noundef zeroext i1 @_ZNK7cc_impl27ConcurrentContainerIteratorINS_19ConcurrentHashtableIP8DexClassS3_St4hashIS3_ESt8equal_toIS3_EEELm83EEneERKS9_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %88 unwind label %102

88:                                               ; preds = %86
  br i1 %87, label %106, label %89

89:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %123

90:                                               ; preds = %77, %66
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %12, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #7
  br label %145

94:                                               ; preds = %78
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %12, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %13, align 4
  br label %122

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

102:                                              ; preds = %113, %86, %83
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %12, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %13, align 4
  br label %120

106:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7cc_impl27ConcurrentContainerIteratorINS_19ConcurrentHashtableIP8DexClassS3_St4hashIS3_ESt8equal_toIS3_EEELm83EEdeEv(ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %108 unwind label %116

108:                                              ; preds = %106
  %109 = load ptr, ptr %107, align 8, !tbaa !5
  store ptr %109, ptr %27, align 8, !tbaa !5
  %110 = load ptr, ptr %27, align 8, !tbaa !5
  %111 = getelementptr inbounds %class.DexClass, ptr %110, i32 0, i32 15
  invoke void @_ZN15ReferencedState30set_clinit_has_no_side_effectsEv(ptr noundef nonnull align 8 dereferenceable(16) %111)
          to label %112 unwind label %116

112:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %113

113:                                              ; preds = %112
  %114 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN7cc_impl27ConcurrentContainerIteratorINS_19ConcurrentHashtableIP8DexClassS3_St4hashIS3_ESt8equal_toIS3_EEELm83EEppEv(ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %115 unwind label %102

115:                                              ; preds = %113
  br label %86

116:                                              ; preds = %108, %106
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %12, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %120

120:                                              ; preds = %116, %102
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #7
  br label %121

121:                                              ; preds = %120, %98
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %122

122:                                              ; preds = %121, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %145

123:                                              ; preds = %89
  br label %124

124:                                              ; preds = %123
  %125 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 48, i32 noundef 2)
          to label %126 unwind label %132

126:                                              ; preds = %124
  br i1 %125, label %127, label %136

127:                                              ; preds = %126
  %128 = load i64, ptr %17, align 8, !tbaa !24
  %129 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %21)
          to label %130 unwind label %132

130:                                              ; preds = %127
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 48, i32 noundef 2, i1 noundef zeroext false, ptr noundef @.str.9, i64 noundef %128, i64 noundef %129)
          to label %131 unwind label %132

131:                                              ; preds = %130
  br label %136

132:                                              ; preds = %130, %127, %124
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %12, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %13, align 4
  br label %145

136:                                              ; preds = %131, %126
  br label %137

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  call void @_ZN19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %21) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr %21) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK7DexTypeSt6vectorIPK8DexClassSaIS7_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S9_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %18) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr %18) #7
  br label %139

139:                                              ; preds = %138
  %140 = getelementptr inbounds %"class.init_classes::InitClassesWithSideEffects", ptr %29, i32 0, i32 1
  %141 = call noundef i64 @_ZNKSt13__atomic_baseImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) %140) #7
  %142 = load i64, ptr %17, align 8, !tbaa !24
  %143 = icmp ugt i64 %141, %142
  br i1 %143, label %66, label %144, !llvm.loop !27

144:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @_ZN5TimerD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #7
  ret void

145:                                              ; preds = %132, %122, %90
  call void @_ZN19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %21) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr %21) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK7DexTypeSt6vectorIPK8DexClassSaIS7_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S9_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %18) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %146

146:                                              ; preds = %145, %64
  call void @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @_ZN5TimerD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %9) #7
  br label %147

147:                                              ; preds = %146, %55
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #7
  call void @_ZNSt6vectorIPK8DexClassSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK7DexTypeSt6vectorIPK8DexClassSaIS7_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S9_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %30) #7
  br label %148

148:                                              ; preds = %147
  %149 = load ptr, ptr %12, align 8
  %150 = load i32, ptr %13, align 4
  %151 = insertvalue { ptr, i32 } poison, ptr %149, 0
  %152 = insertvalue { ptr, i32 } %151, i32 %150, 1
  resume { ptr, i32 } %152
}

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

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

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

declare void @_ZN5TimerC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) unnamed_addr #3

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

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

declare void @_ZN21method_override_graph21get_non_true_virtualsERKNS_5GraphERKSt6vectorIP8DexClassSaIS5_EE(ptr dead_on_unwind writable sret(%class.InsertOnlyConcurrentSet) align 8, ptr noundef nonnull align 8 dereferenceable(5984), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt13__atomic_baseImE8exchangeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i32 noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbPK7DexTypeEEC2IZN12init_classes26InitClassesWithSideEffectsC1ERKSt6vectorIP8DexClassSaISA_EEbPKN21method_override_graph5GraphEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) #3

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) #3

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

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

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

; Function Attrs: nounwind
declare void @_ZN5TimerD1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 #5 = { alwaysinline 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 "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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !10, i64 2696}
!14 = !{!"_ZTSN12init_classes26InitClassesWithSideEffectsE", !15, i64 0, !17, i64 2664, !20, i64 2672, !10, i64 2696}
!15 = !{!"_ZTS23InsertOnlyConcurrentMapIPK7DexTypeSt6vectorIPK8DexClassSaIS6_EESt4hashIS2_ESt8equal_toIS2_ELm83EE", !16, i64 0}
!16 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIPK7DexTypeSt6vectorIPK8DexClassSaIS7_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S9_EEELm83EE", !7, i64 8}
!17 = !{!"_ZTSSt6atomicImE", !18, i64 0}
!18 = !{!"_ZTSSt13__atomic_baseImE", !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSSt6vectorIPK8DexClassSaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIPK8DexClassSaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPK8DexClassSaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPK8DexClassSaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!19, !19, i64 0}
!25 = !{!26, !6, i64 0}
!26 = !{!"_ZTSZN12init_classes26InitClassesWithSideEffectsC1ERKSt6vectorIP8DexClassSaIS3_EEbPKN21method_override_graph5GraphEE3$_1", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


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

%struct.Timer = type <{ %"class.std::__cxx11::basic_string", %"class.std::chrono::time_point", i8, [7 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::allocator" = type { i8 }
%"class.std::unique_ptr.27" = type { %"struct.std::__uniq_ptr_data.28" }
%"struct.std::__uniq_ptr_data.28" = type { %"class.std::__uniq_ptr_impl.29" }
%"class.std::__uniq_ptr_impl.29" = type { %"class.std::tuple.30" }
%"class.std::tuple.30" = type { %"struct.std::_Tuple_impl.31" }
%"struct.std::_Tuple_impl.31" = type { %"struct.std::_Head_base.34" }
%"struct.std::_Head_base.34" = type { ptr }
%class.InsertOnlyConcurrentSet = type { %class.ConcurrentContainer.35 }
%class.ConcurrentContainer.35 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.36"] }
%"class.cc_impl::ConcurrentHashtable.36" = type { %"struct.std::atomic.37", %"struct.std::atomic.16", %"struct.std::atomic.18", %"struct.std::atomic.39" }
%"struct.std::atomic.37" = type { %"struct.std::__atomic_base.38" }
%"struct.std::__atomic_base.38" = type { ptr }
%"struct.std::atomic.16" = type { %"struct.std::__atomic_base.17" }
%"struct.std::__atomic_base.17" = type { i64 }
%"struct.std::atomic.18" = type { %"struct.std::__atomic_base.19" }
%"struct.std::__atomic_base.19" = type { i8 }
%"struct.std::atomic.39" = type { %"struct.std::__atomic_base.40" }
%"struct.std::__atomic_base.40" = type { ptr }
%class.InsertOnlyConcurrentMap = type { %class.ConcurrentContainer }
%class.ConcurrentContainer = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable"] }
%"class.cc_impl::ConcurrentHashtable" = type { %"struct.std::atomic.14", %"struct.std::atomic.16", %"struct.std::atomic.18", %"struct.std::atomic.20" }
%"struct.std::atomic.14" = type { %"struct.std::__atomic_base.15" }
%"struct.std::__atomic_base.15" = type { ptr }
%"struct.std::atomic.20" = type { %"struct.std::__atomic_base.21" }
%"struct.std::__atomic_base.21" = type { ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.54 = type { ptr }
%class.ConcurrentSet = type { %class.ConcurrentContainer.55 }
%class.ConcurrentContainer.55 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.56"] }
%"class.cc_impl::ConcurrentHashtable.56" = type { %"struct.std::atomic.57", %"struct.std::atomic.16", %"struct.std::atomic.18", %"struct.std::atomic.59" }
%"struct.std::atomic.57" = type { %"struct.std::__atomic_base.58" }
%"struct.std::__atomic_base.58" = type { ptr }
%"struct.std::atomic.59" = type { %"struct.std::__atomic_base.60" }
%"struct.std::__atomic_base.60" = type { ptr }
%class.anon.62 = type { ptr, ptr, ptr, ptr }
%"class.ConcurrentContainer<std::unordered_set<DexClass *>, 83>::UnorderedIterable" = type { ptr }
%"class.cc_impl::ConcurrentContainerIterator" = type { ptr, i64, %"class.cc_impl::ConcurrentHashtableIterator" }
%"class.cc_impl::ConcurrentHashtableIterator" = type { ptr, i64, ptr }

@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [91 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; 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 uwtable
define dso_local void @_ZN12init_classes26InitClassesWithSideEffectsC2ERKSt6vectorIP8DexClassSaIS3_EEbPKN21method_override_graph5GraphE(ptr noundef nonnull align 8 dereferenceable(2697) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext %2, ptr noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.Timer, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::unique_ptr.27", align 8
  %9 = alloca %"class.std::unique_ptr.27", align 8
  %10 = alloca %class.InsertOnlyConcurrentSet, align 8
  %11 = alloca %class.InsertOnlyConcurrentMap, align 8
  %12 = alloca %"class.std::function", align 8
  %13 = alloca %class.anon.54, align 8
  %14 = alloca %class.ConcurrentSet, align 8
  %15 = alloca %class.anon.62, align 8
  %16 = alloca %"class.ConcurrentContainer<std::unordered_set<DexClass *>, 83>::UnorderedIterable", align 8
  %17 = alloca %"class.cc_impl::ConcurrentContainerIterator", align 8
  %18 = alloca %"class.cc_impl::ConcurrentContainerIterator", align 8
  %19 = zext i1 %2 to i8
  tail call void @_ZN23InsertOnlyConcurrentMapIPK7DexTypeSt6vectorIPK8DexClassSaIS6_EESt4hashIS2_ESt8equal_toIS2_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %0) #7
  %20 = getelementptr inbounds i8, ptr %0, i64 2664
  tail call void @_ZNSt6atomicImEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef 0) #7
  %21 = getelementptr inbounds i8, ptr %0, i64 2672
  tail call void @_ZNSt6vectorIPK8DexClassSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  %22 = getelementptr inbounds i8, ptr %0, i64 2696
  store i8 %19, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %23 unwind label %29

23:                                               ; preds = %4
  invoke void @_ZN5TimerC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 8 dereferenceable(32) %6, i1 noundef zeroext true)
          to label %24 unwind label %31

24:                                               ; preds = %23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  call void @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EEC2IS9_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %39, label %25

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %10) #7
  invoke void @_ZN21method_override_graph21get_non_true_virtualsERKNS_5GraphERKSt6vectorIP8DexClassSaIS5_EE(ptr dead_on_unwind nonnull writable sret(%class.InsertOnlyConcurrentSet) align 8 %10, ptr noundef nonnull align 8 dereferenceable(5984) %3, ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %26 unwind label %34

26:                                               ; preds = %25
  invoke void @_ZSt11make_uniqueI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EEJS7_EENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.27") align 8 %9, ptr noundef nonnull align 8 dereferenceable(2664) %10)
          to label %27 unwind label %36

27:                                               ; preds = %26
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @_ZN19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %10) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %39

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

31:                                               ; preds = %23
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %33

33:                                               ; preds = %31, %29
  %.pn = phi { ptr, i32 } [ %32, %31 ], [ %30, %29 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %84

34:                                               ; preds = %25
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %26
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %10) #7
  br label %38

38:                                               ; preds = %36, %34
  %.pn22 = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %83

39:                                               ; preds = %27, %24
  %40 = getelementptr inbounds i8, ptr %15, i64 8
  %41 = getelementptr inbounds i8, ptr %15, i64 16
  %42 = getelementptr inbounds i8, ptr %15, i64 24
  br label %43

43:                                               ; preds = %78, %39
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %11) #7
  call void @_ZN23InsertOnlyConcurrentMapIPK7DexTypeSt6vectorIPK8DexClassSaIS6_EESt4hashIS2_ESt8equal_toIS2_ELm83EEC2EOSD_(ptr noundef nonnull align 8 dereferenceable(2664) %11, ptr noundef nonnull align 8 dereferenceable(2664) %0) #7
  %44 = call noundef i64 @_ZNSt13__atomic_baseImE8exchangeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef 0, i32 noundef 5) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  store ptr %11, ptr %13, align 8, !tbaa !20
  call void @"_ZNSt8functionIFbPK7DexTypeEEC2IZN12init_classes26InitClassesWithSideEffectsC1ERKSt6vectorIP8DexClassSaISA_EEbPKN21method_override_graph5GraphEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %14) #7
  call void @_ZN13ConcurrentSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %14) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  store ptr %0, ptr %15, align 8, !tbaa !21
  store ptr %12, ptr %40, align 8, !tbaa !20
  store ptr %8, ptr %41, align 8, !tbaa !20
  store ptr %14, ptr %42, align 8, !tbaa !20
  %45 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %46 unwind label %55

46:                                               ; preds = %43
  invoke void @"_ZN4walk8parallel7classesISt6vectorIP8DexClassSaIS4_EEZN12init_classes26InitClassesWithSideEffectsC1ERKS6_bPKN21method_override_graph5GraphEE3$_1EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %45)
          to label %47 unwind label %55

47:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %48 = invoke ptr @_Z17UnorderedIterableI13ConcurrentSetIP8DexClassSt4hashIS2_ESt8equal_toIS2_ELm83EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESA_EEbE4typeELb1EEDaRSA_(ptr noundef nonnull align 8 dereferenceable(2664) %14)
          to label %49 unwind label %57

49:                                               ; preds = %47
  store ptr %48, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #7
  invoke void @_ZN19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE17UnorderedIterable5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.cc_impl::ConcurrentContainerIterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %50 unwind label %59

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

.preheader:                                       ; preds = %50, %66
  %51 = invoke noundef zeroext i1 @_ZNK7cc_impl27ConcurrentContainerIteratorINS_19ConcurrentHashtableIP8DexClassS3_St4hashIS3_ESt8equal_toIS3_EEELm83EEneERKS9_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(40) %18)
          to label %52 unwind label %.loopexit

52:                                               ; preds = %.preheader
  br i1 %51, label %61, label %53

53:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  %54 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 48, i32 noundef 2)
          to label %72 unwind label %76

55:                                               ; preds = %46, %43
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br label %82

57:                                               ; preds = %47
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %82

59:                                               ; preds = %49
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %71

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

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

61:                                               ; preds = %52
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7cc_impl27ConcurrentContainerIteratorINS_19ConcurrentHashtableIP8DexClassS3_St4hashIS3_ESt8equal_toIS3_EEELm83EEdeEv(ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %63 unwind label %68

63:                                               ; preds = %61
  %64 = load ptr, ptr %62, align 8, !tbaa !20
  %65 = getelementptr inbounds i8, ptr %64, i64 160
  invoke void @_ZN15ReferencedState30set_clinit_has_no_side_effectsEv(ptr noundef nonnull align 8 dereferenceable(16) %65)
          to label %66 unwind label %68

66:                                               ; preds = %63
  %67 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN7cc_impl27ConcurrentContainerIteratorINS_19ConcurrentHashtableIP8DexClassS3_St4hashIS3_ESt8equal_toIS3_EEELm83EEppEv(ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %.preheader unwind label %.loopexit

68:                                               ; preds = %63, %61
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %70

70:                                               ; preds = %.loopexit, %.loopexit.split-lp, %68
  %.pn24 = phi { ptr, i32 } [ %69, %68 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #7
  br label %71

71:                                               ; preds = %70, %59
  %.pn24.pn = phi { ptr, i32 } [ %.pn24, %70 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %82

72:                                               ; preds = %53
  br i1 %54, label %73, label %78

73:                                               ; preds = %72
  %74 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %14)
          to label %75 unwind label %76

75:                                               ; preds = %73
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 48, i32 noundef 2, i1 noundef zeroext false, ptr noundef nonnull @.str.9, i64 noundef %44, i64 noundef %74)
          to label %78 unwind label %76

76:                                               ; preds = %75, %73, %53
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %82

78:                                               ; preds = %75, %72
  call void @_ZN19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %14) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %14) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK7DexTypeSt6vectorIPK8DexClassSaIS7_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S9_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %11) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %11) #7
  %79 = call noundef i64 @_ZNKSt13__atomic_baseImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %80 = icmp ugt i64 %79, %44
  br i1 %80, label %43, label %81, !llvm.loop !23

81:                                               ; preds = %78
  call void @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @_ZN5TimerD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  ret void

82:                                               ; preds = %57, %71, %76, %55
  %.pn24.pn.pn.pn = phi { ptr, i32 } [ %77, %76 ], [ %56, %55 ], [ %.pn24.pn, %71 ], [ %58, %57 ]
  call void @_ZN19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %14) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %14) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK7DexTypeSt6vectorIPK8DexClassSaIS7_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S9_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %11) #7
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %11) #7
  br label %83

83:                                               ; preds = %82, %38
  %.pn24.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn24.pn.pn.pn, %82 ], [ %.pn22, %38 ]
  call void @_ZNSt10unique_ptrI23InsertOnlyConcurrentSetIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EESt14default_deleteIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @_ZN5TimerD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #7
  br label %84

84:                                               ; preds = %83, %33
  %.pn24.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn24.pn.pn.pn.pn, %83 ], [ %.pn, %33 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  call void @_ZNSt6vectorIPK8DexClassSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK7DexTypeSt6vectorIPK8DexClassSaIS7_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S9_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %0) #7
  resume { ptr, i32 } %.pn24.pn.pn.pn.pn.pn
}

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

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

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

declare void @_ZN5TimerC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) unnamed_addr #3

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

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

declare void @_ZN21method_override_graph21get_non_true_virtualsERKNS_5GraphERKSt6vectorIP8DexClassSaIS5_EE(ptr dead_on_unwind writable sret(%class.InsertOnlyConcurrentSet) align 8, ptr noundef nonnull align 8 dereferenceable(5984), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt13__atomic_baseImE8exchangeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbPK7DexTypeEEC2IZN12init_classes26InitClassesWithSideEffectsC1ERKSt6vectorIP8DexClassSaISA_EEbPKN21method_override_graph5GraphEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #3

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

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

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

; Function Attrs: nounwind
declare void @_ZN5TimerD1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 #5 = { alwaysinline 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 "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 #7 = { 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, !19, i64 2696}
!6 = !{!"_ZTSN12init_classes26InitClassesWithSideEffectsE", !7, i64 0, !11, i64 2664, !14, i64 2672, !19, i64 2696}
!7 = !{!"_ZTS23InsertOnlyConcurrentMapIPK7DexTypeSt6vectorIPK8DexClassSaIS6_EESt4hashIS2_ESt8equal_toIS2_ELm83EE", !8, i64 0}
!8 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIPK7DexTypeSt6vectorIPK8DexClassSaIS7_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S9_EEELm83EE", !9, i64 8}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSSt6atomicImE", !12, i64 0}
!12 = !{!"_ZTSSt13__atomic_baseImE", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!"_ZTSSt6vectorIPK8DexClassSaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPK8DexClassSaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPK8DexClassSaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPK8DexClassSaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!"bool", !9, i64 0}
!20 = !{!18, !18, i64 0}
!21 = !{!22, !18, i64 0}
!22 = !{!"_ZTSZN12init_classes26InitClassesWithSideEffectsC1ERKSt6vectorIP8DexClassSaIS3_EEbPKN21method_override_graph5GraphEE3$_1", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass