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

; 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.167 = type { %"class.std::vector.169" }
%"class.std::vector.169" = type { %"struct.std::_Vector_base.170" }
%"struct.std::_Vector_base.170" = 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.UnorderedSet.189 = type { %"class.std::unordered_set.191" }
%"class.std::unordered_set.191" = type { %"class.std::_Hashtable.192" }
%"class.std::_Hashtable.192" = 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.UnorderedBag<const DexMethod *>::UnorderedIterable" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.211" = type { ptr }
%"struct.std::pair.212" = type <{ %"class.UnorderedSet<DexClass *>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedSet<DexClass *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.214" }
%"struct.std::__detail::_Node_iterator.214" = type { %"struct.std::__detail::_Node_iterator_base.215" }
%"struct.std::__detail::_Node_iterator_base.215" = type { ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21method_override_graph22get_overriding_methodsERKNS_5GraphEPK9DexMethodbPK7DexType(ptr dead_on_unwind noalias writable sret(%class.UnorderedBag.167) align 8, ptr noundef nonnull align 8 dereferenceable(5984), ptr noundef, i1 noundef zeroext, ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN21method_override_graph36get_classes_with_overridden_finalizeERKNS_5GraphERK12UnorderedMapIPK7DexTypeSt3setIS6_19dextypes_comparatorSaIS6_EESt4hashIS6_ESt8equal_toIS6_EE(ptr dead_on_unwind noalias writable sret(%class.UnorderedSet.189) align 8 %0, ptr noundef nonnull align 8 dereferenceable(5984) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca %class.UnorderedBag.167, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"class.UnorderedBag<const DexMethod *>::UnorderedIterable", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.211", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.211", align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.std::pair.212", align 8
  %20 = alloca %"class.std::set", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %23 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"struct.std::pair.212", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  store i1 false, ptr %7, align 1
  call void @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0)
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = invoke noundef ptr @_ZN6method25java_lang_Object_finalizeEv()
          to label %29 unwind label %45

29:                                               ; preds = %3
  invoke void @_ZN21method_override_graph22get_overriding_methodsERKNS_5GraphEPK9DexMethodbPK7DexType(ptr dead_on_unwind writable sret(%class.UnorderedBag.167) align 8 %8, ptr noundef nonnull align 8 dereferenceable(5984) %27, ptr noundef %28, i1 noundef zeroext false, ptr noundef null)
          to label %30 unwind label %45

30:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %31 = invoke ptr @_Z17UnorderedIterableI12UnorderedBagIPK9DexMethodETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES7_EEbE4typeELb1EEDaRS7_(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %32 unwind label %49

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"class.UnorderedBag<const DexMethod *>::UnorderedIterable", ptr %12, i32 0, i32 0
  store ptr %31, ptr %33, align 8
  store ptr %12, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = invoke ptr @_ZN12UnorderedBagIPK9DexMethodE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %36 unwind label %53

36:                                               ; preds = %32
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.211", ptr %13, i32 0, i32 0
  store ptr %35, ptr %37, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = invoke ptr @_ZN12UnorderedBagIPK9DexMethodE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %40 unwind label %57

40:                                               ; preds = %36
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.211", ptr %14, i32 0, i32 0
  store ptr %39, ptr %41, align 8
  br label %42

42:                                               ; preds = %136, %40
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPK9DexMethodSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %43, label %61, label %44

44:                                               ; preds = %42
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %143

45:                                               ; preds = %29, %3
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %9, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %10, align 4
  br label %145

49:                                               ; preds = %30
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %9, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %10, align 4
  br label %142

53:                                               ; preds = %32
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %9, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %10, align 4
  br label %141

57:                                               ; preds = %36
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %9, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %10, align 4
  br label %140

61:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPK9DexMethodSt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  store ptr %63, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  %65 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %64)
          to label %66 unwind label %95

66:                                               ; preds = %61
  store ptr %65, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %67 = load ptr, ptr %17, align 8, !tbaa !5
  %68 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %67)
          to label %69 unwind label %99

69:                                               ; preds = %66
  store ptr %68, ptr %18, align 8, !tbaa !5
  %70 = load ptr, ptr %18, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %135

72:                                               ; preds = %69
  %73 = load ptr, ptr %18, align 8, !tbaa !5
  %74 = invoke noundef zeroext i1 @_ZNK8DexClass11is_externalEv(ptr noundef nonnull align 8 dereferenceable(176) %73)
          to label %75 unwind label %99

75:                                               ; preds = %72
  br i1 %74, label %135, label %76

76:                                               ; preds = %75
  %77 = invoke { ptr, i8 } @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %78 unwind label %99

78:                                               ; preds = %76
  %79 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 0
  %80 = extractvalue { ptr, i8 } %77, 0
  store ptr %80, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 1
  %82 = extractvalue { ptr, i8 } %77, 1
  store i8 %82, ptr %81, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #5
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_Z16get_all_childrenRK12UnorderedMapIPK7DexTypeSt3setIS2_19dextypes_comparatorSaIS2_EESt4hashIS2_ESt8equal_toIS2_EES2_(ptr dead_on_unwind writable sret(%"class.std::set") align 8 %20, ptr noundef nonnull align 8 dereferenceable(56) %83, ptr noundef %84)
          to label %85 unwind label %103

85:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  store ptr %20, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %86 = load ptr, ptr %21, align 8, !tbaa !5
  %87 = call ptr @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %86) #5
  %88 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %22, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %89 = load ptr, ptr %21, align 8, !tbaa !5
  %90 = call ptr @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %89) #5
  %91 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %23, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  br label %92

92:                                               ; preds = %131, %85
  %93 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPK7DexTypeES5_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  br i1 %93, label %107, label %94

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

95:                                               ; preds = %61
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %9, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %10, align 4
  br label %139

99:                                               ; preds = %76, %72, %66
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %9, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %10, align 4
  br label %138

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

107:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  store ptr %109, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %110 = load ptr, ptr %24, align 8, !tbaa !5
  %111 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %110)
          to label %112 unwind label %126

112:                                              ; preds = %107
  store ptr %111, ptr %25, align 8, !tbaa !5
  %113 = load ptr, ptr %25, align 8, !tbaa !5
  %114 = icmp ne ptr %113, null
  br i1 %114, label %115, label %130

115:                                              ; preds = %112
  %116 = load ptr, ptr %25, align 8, !tbaa !5
  %117 = invoke noundef zeroext i1 @_ZNK8DexClass11is_externalEv(ptr noundef nonnull align 8 dereferenceable(176) %116)
          to label %118 unwind label %126

118:                                              ; preds = %115
  br i1 %117, label %130, label %119

119:                                              ; preds = %118
  %120 = invoke { ptr, i8 } @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %121 unwind label %126

121:                                              ; preds = %119
  %122 = getelementptr inbounds { ptr, i8 }, ptr %26, i32 0, i32 0
  %123 = extractvalue { ptr, i8 } %120, 0
  store ptr %123, ptr %122, align 8
  %124 = getelementptr inbounds { ptr, i8 }, ptr %26, i32 0, i32 1
  %125 = extractvalue { ptr, i8 } %120, 1
  store i8 %125, ptr %124, align 8
  br label %130

126:                                              ; preds = %119, %115, %107
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %9, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  br label %134

130:                                              ; preds = %121, %118, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %131

131:                                              ; preds = %130
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIPK7DexTypeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  br label %92

133:                                              ; preds = %94
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #5
  br label %135

134:                                              ; preds = %126, %103
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #5
  br label %138

135:                                              ; preds = %133, %75, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %136

136:                                              ; preds = %135
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPK9DexMethodSt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %42

138:                                              ; preds = %134, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %139

139:                                              ; preds = %138, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %140

140:                                              ; preds = %139, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %141

141:                                              ; preds = %140, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %142

142:                                              ; preds = %141, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @_ZN12UnorderedBagIPK9DexMethodED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %145

143:                                              ; preds = %44
  store i1 true, ptr %7, align 1
  store i32 1, ptr %15, align 4
  call void @_ZN12UnorderedBagIPK9DexMethodED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  %144 = load i1, ptr %7, align 1
  br i1 %144, label %147, label %146

145:                                              ; preds = %142, %45
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  br label %148

146:                                              ; preds = %143
  call void @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  br label %147

147:                                              ; preds = %146, %143
  ret void

148:                                              ; preds = %145
  %149 = load ptr, ptr %9, align 8
  %150 = load i32, ptr %10, 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 @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #1 align 2

declare noundef ptr @_ZN6method25java_lang_Object_finalizeEv() #4

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

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

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

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

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

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) #4

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

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

declare void @_Z16get_all_childrenRK12UnorderedMapIPK7DexTypeSt3setIS2_19dextypes_comparatorSaIS2_EESt4hashIS2_ESt8equal_toIS2_EES2_(ptr dead_on_unwind writable sret(%"class.std::set") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) #4

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

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

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

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

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

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

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

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


; 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.167 = type { %"class.std::vector.169" }
%"class.std::vector.169" = type { %"struct.std::_Vector_base.170" }
%"struct.std::_Vector_base.170" = 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.UnorderedSet.189 = type { %"class.std::unordered_set.191" }
%"class.std::unordered_set.191" = type { %"class.std::_Hashtable.192" }
%"class.std::_Hashtable.192" = 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.UnorderedBag<const DexMethod *>::UnorderedIterable" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.211" = type { ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21method_override_graph22get_overriding_methodsERKNS_5GraphEPK9DexMethodbPK7DexType(ptr dead_on_unwind noalias writable sret(%class.UnorderedBag.167) align 8, ptr noundef nonnull align 8 dereferenceable(5984), ptr noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN21method_override_graph36get_classes_with_overridden_finalizeERKNS_5GraphERK12UnorderedMapIPK7DexTypeSt3setIS6_19dextypes_comparatorSaIS6_EESt4hashIS6_ESt8equal_toIS6_EE(ptr dead_on_unwind noalias nonnull writable sret(%class.UnorderedSet.189) align 8 %0, ptr noundef nonnull align 8 dereferenceable(5984) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.UnorderedBag.167, align 8
  %5 = alloca %"class.UnorderedBag<const DexMethod *>::UnorderedIterable", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.211", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.211", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::set", align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca ptr, align 8
  tail call void @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  %13 = invoke noundef ptr @_ZN6method25java_lang_Object_finalizeEv()
          to label %14 unwind label %21

14:                                               ; preds = %3
  invoke void @_ZN21method_override_graph22get_overriding_methodsERKNS_5GraphEPK9DexMethodbPK7DexType(ptr dead_on_unwind nonnull writable sret(%class.UnorderedBag.167) align 8 %4, ptr noundef nonnull align 8 dereferenceable(5984) %1, ptr noundef %13, i1 noundef zeroext false, ptr noundef null)
          to label %15 unwind label %21

15:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %16 = invoke ptr @_Z17UnorderedIterableI12UnorderedBagIPK9DexMethodETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES7_EEbE4typeELb1EEDaRS7_(ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %17 unwind label %23

17:                                               ; preds = %15
  store ptr %16, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %18 = call ptr @_ZN12UnorderedBagIPK9DexMethodE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  store ptr %18, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %19 = call ptr @_ZN12UnorderedBagIPK9DexMethodE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  store ptr %19, ptr %7, align 8
  %20 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPK9DexMethodSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %20, label %.lr.ph26, label %._crit_edge27

._crit_edge27:                                    ; preds = %57, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @_ZN12UnorderedBagIPK9DexMethodED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  ret void

21:                                               ; preds = %14, %3
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %62

23:                                               ; preds = %15
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %61

.lr.ph26:                                         ; preds = %17, %57
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPK9DexMethodSt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %26)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %28 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %27)
          to label %29 unwind label %39

29:                                               ; preds = %.lr.ph26
  store ptr %28, ptr %8, align 8, !tbaa !5
  %.not = icmp eq ptr %28, null
  br i1 %.not, label %57, label %30

30:                                               ; preds = %29
  %31 = call noundef zeroext i1 @_ZNK8DexClass11is_externalEv(ptr noundef nonnull align 8 dereferenceable(176) %28)
  br i1 %31, label %57, label %32

32:                                               ; preds = %30
  %33 = invoke { ptr, i8 } @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %34 unwind label %39

34:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  invoke void @_Z16get_all_childrenRK12UnorderedMapIPK7DexTypeSt3setIS2_19dextypes_comparatorSaIS2_EESt4hashIS2_ESt8equal_toIS2_EES2_(ptr dead_on_unwind nonnull writable sret(%"class.std::set") align 8 %9, ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef %27)
          to label %35 unwind label %41

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %36 = call ptr @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  store ptr %36, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %37 = call ptr @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  store ptr %37, ptr %11, align 8
  %38 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPK7DexTypeES5_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %38, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %53, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %57

39:                                               ; preds = %32, %.lr.ph26
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %60

41:                                               ; preds = %34
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %56

.lr.ph:                                           ; preds = %35, %53
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %45 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %44)
          to label %46 unwind label %51

46:                                               ; preds = %.lr.ph
  store ptr %45, ptr %12, align 8, !tbaa !5
  %.not20 = icmp eq ptr %45, null
  br i1 %.not20, label %53, label %47

47:                                               ; preds = %46
  %48 = call noundef zeroext i1 @_ZNK8DexClass11is_externalEv(ptr noundef nonnull align 8 dereferenceable(176) %45)
  br i1 %48, label %53, label %49

49:                                               ; preds = %47
  %50 = invoke { ptr, i8 } @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %53 unwind label %51

51:                                               ; preds = %49, %.lr.ph
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  br label %56

53:                                               ; preds = %49, %47, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIPK7DexTypeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %55 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPK7DexTypeES5_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %55, label %.lr.ph, label %._crit_edge

56:                                               ; preds = %51, %41
  %.pn = phi { ptr, i32 } [ %52, %51 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %60

57:                                               ; preds = %._crit_edge, %30, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPK9DexMethodSt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %59 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPK9DexMethodSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %59, label %.lr.ph26, label %._crit_edge27

60:                                               ; preds = %56, %39
  %.pn.pn = phi { ptr, i32 } [ %.pn, %56 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %61

61:                                               ; preds = %60, %23
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %60 ], [ %24, %23 ]
  call void @_ZN12UnorderedBagIPK9DexMethodED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  br label %62

62:                                               ; preds = %61, %21
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %61 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZN12UnorderedSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  resume { ptr, i32 } %.pn.pn.pn.pn
}

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

declare noundef ptr @_ZN6method25java_lang_Object_finalizeEv() local_unnamed_addr #4

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

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

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

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

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

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

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

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

declare void @_Z16get_all_childrenRK12UnorderedMapIPK7DexTypeSt3setIS2_19dextypes_comparatorSaIS2_EESt4hashIS2_ESt8equal_toIS2_EES2_(ptr dead_on_unwind writable sret(%"class.std::set") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

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


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