; LLVM IR from facebook/redex :: service/init-classes (InitClassPruner)

; 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.init_classes::InitClassForwardFixpointIterator" = type { %"class.sparta::MonotonicFixpointIterator", ptr }
%"class.sparta::MonotonicFixpointIterator" = type { %"class.sparta::fp_impl::MonotonicFixpointIteratorBase", %"class.sparta::WeakPartialOrdering" }
%"class.sparta::fp_impl::MonotonicFixpointIteratorBase" = type { %"class.sparta::FixpointIterator", ptr, %"class.init_classes::InitClassDomain", %"class.std::unordered_map", %"class.std::unordered_map" }
%"class.sparta::FixpointIterator" = type { ptr }
%"class.init_classes::InitClassDomain" = type { %"class.sparta::AbstractDomainReverseAdaptor" }
%"class.sparta::AbstractDomainReverseAdaptor" = type { %"class.sparta::SetAbstractDomain" }
%"class.sparta::SetAbstractDomain" = type { %"class.sparta::PowersetAbstractDomain" }
%"class.sparta::PowersetAbstractDomain" = type { %"class.sparta::AbstractDomainScaffolding" }
%"class.sparta::AbstractDomainScaffolding" = type { i32, %"class.sparta::set_impl::SetValue" }
%"class.sparta::set_impl::SetValue" = type { %"class.sparta::PatriciaTreeSet" }
%"class.sparta::PatriciaTreeSet" = type { %"class.sparta::pt_core::PatriciaTreeCore" }
%"class.sparta::pt_core::PatriciaTreeCore" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.25" }
%"class.std::_Hashtable.25" = 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.sparta::WeakPartialOrdering" = type <{ %"class.std::vector.44", %"class.std::vector.49", %"class.std::unordered_map.54", i8, [7 x i8] }>
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<sparta::WpoNode<cfg::Block *>, std::allocator<sparta::WpoNode<cfg::Block *>>>::_Vector_impl" }
%"struct.std::_Vector_base<sparta::WpoNode<cfg::Block *>, std::allocator<sparta::WpoNode<cfg::Block *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<sparta::WpoNode<cfg::Block *>, std::allocator<sparta::WpoNode<cfg::Block *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sparta::WpoNode<cfg::Block *>, std::allocator<sparta::WpoNode<cfg::Block *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.54" = type { %"class.std::_Hashtable.55" }
%"class.std::_Hashtable.55" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.cfg::CFGMutation" = type { ptr, %class.UnorderedMap }
%class.UnorderedMap = type { %"class.std::unordered_map.69" }
%"class.std::unordered_map.69" = type { %"class.std::_Hashtable.70" }
%"class.std::_Hashtable.70" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.ir_list::InstructionIterableImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.init_classes::InitClassPruner" = type { ptr, ptr, ptr, %"struct.init_classes::Stats" }
%"struct.init_classes::Stats" = type { i64, i64, i64 }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.88 }
%"class.boost::intrusive::list_member_hook" = type { %"class.boost::intrusive::generic_hook" }
%"class.boost::intrusive::generic_hook" = type { %"struct.boost::intrusive::list_node" }
%"struct.boost::intrusive::list_node" = type { ptr, ptr }
%union.anon.88 = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12init_classes15InitClassPruner13apply_forwardEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.init_classes::InitClassForwardFixpointIterator", align 8
  %4 = alloca %"class.init_classes::InitClassDomain", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.cfg::CFGMutation", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::vector.83", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.init_classes::InitClassDomain", align 8
  %15 = alloca %"class.ir_list::InstructionIterableImpl", align 8
  %16 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %17 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %22 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %23 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %24 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 264, ptr %3) #6
  %25 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 2
  %28 = load ptr, ptr %27, align 8, !tbaa !13
  call void @_ZN12init_classes32InitClassForwardFixpointIteratorC2ERKNS_26InitClassesWithSideEffectsERKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(264) %3, ptr noundef nonnull align 8 dereferenceable(2697) %26, ptr noundef nonnull align 8 dereferenceable(160) %28)
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  %29 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  invoke void @_ZN12init_classes32InitClassForwardFixpointIterator11initial_envEPK7DexType(ptr dead_on_unwind writable sret(%"class.init_classes::InitClassDomain") align 8 %4, ptr noundef nonnull align 8 dereferenceable(264) %3, ptr noundef %30)
          to label %31 unwind label %48

31:                                               ; preds = %1
  invoke void @_ZN6sparta25MonotonicFixpointIteratorIN3cfg14GraphInterfaceEN12init_classes15InitClassDomainESt4hashIPNS1_5BlockEEE3runERKS4_(ptr noundef nonnull align 8 dereferenceable(256) %3, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %32 unwind label %52

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #6
  %33 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 2
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  invoke void @_ZN3cfg11CFGMutationC2ERNS_16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(160) %34)
          to label %35 unwind label %56

35:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  %36 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 2
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  invoke void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.83") align 8 %9, ptr noundef nonnull align 8 dereferenceable(160) %37)
          to label %38 unwind label %60

38:                                               ; preds = %35
  store ptr %9, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %40, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #6
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  br label %45

45:                                               ; preds = %203, %38
  %46 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %46, label %64, label %47

47:                                               ; preds = %45
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %208

48:                                               ; preds = %1
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %5, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %6, align 4
  br label %217

52:                                               ; preds = %31
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %5, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %6, align 4
  br label %216

56:                                               ; preds = %32
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %5, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %6, align 4
  br label %215

60:                                               ; preds = %35
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %5, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %6, align 4
  br label %207

64:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  store ptr %66, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta7fp_impl29MonotonicFixpointIteratorBaseIN3cfg14GraphInterfaceEN12init_classes15InitClassDomainESt4hashIPNS2_5BlockEEE18get_entry_state_atERKS8_(ptr noundef nonnull align 8 dereferenceable(144) %3, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %68 unwind label %78

68:                                               ; preds = %64
  invoke void @_ZN12init_classes15InitClassDomainC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %67)
          to label %69 unwind label %78

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIterableImpl") align 8 %15, ptr noundef %70)
          to label %71 unwind label %82

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %72 unwind label %86

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %189, %72
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %74 unwind label %90

74:                                               ; preds = %73
  %75 = invoke noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %76 unwind label %90

76:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br i1 %75, label %94, label %77

77:                                               ; preds = %76
  store i32 4, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %202

78:                                               ; preds = %68, %64
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %5, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %6, align 4
  br label %206

82:                                               ; preds = %69
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %5, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %6, align 4
  br label %205

86:                                               ; preds = %175, %173, %71
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %5, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %6, align 4
  br label %201

90:                                               ; preds = %74, %73
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %5, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %201

94:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %95 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %96 unwind label %105

96:                                               ; preds = %94
  %97 = getelementptr inbounds %struct.MethodItemEntry, ptr %95, i32 0, i32 2
  %98 = load ptr, ptr %97, align 8, !tbaa !15
  store ptr %98, ptr %18, align 8, !tbaa !5
  %99 = load ptr, ptr %18, align 8, !tbaa !5
  %100 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %99)
          to label %101 unwind label %105

101:                                              ; preds = %96
  %102 = invoke noundef zeroext i1 @_ZN6opcode13is_init_classE8IROpcode(i16 noundef zeroext %100)
          to label %103 unwind label %105

103:                                              ; preds = %101
  br i1 %102, label %109, label %104

104:                                              ; preds = %103
  store i32 6, ptr %12, align 4
  br label %170

105:                                              ; preds = %101, %96, %94
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %5, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %6, align 4
  br label %191

109:                                              ; preds = %103
  %110 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 3
  %111 = getelementptr inbounds %"struct.init_classes::Stats", ptr %110, i32 0, i32 0
  %112 = load i64, ptr %111, align 8, !tbaa !16
  %113 = add i64 %112, 1
  store i64 %113, ptr %111, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %114 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !9
  %116 = load ptr, ptr %18, align 8, !tbaa !5
  %117 = invoke noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %116)
          to label %118 unwind label %141

118:                                              ; preds = %109
  %119 = invoke noundef ptr @_ZNK12init_classes26InitClassesWithSideEffects6refineEPK7DexType(ptr noundef nonnull align 8 dereferenceable(2697) %115, ptr noundef %117)
          to label %120 unwind label %141

120:                                              ; preds = %118
  store ptr %119, ptr %19, align 8, !tbaa !5
  %121 = load ptr, ptr %19, align 8, !tbaa !5
  %122 = icmp eq ptr %121, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  br i1 %122, label %131, label %123

123:                                              ; preds = %120
  %124 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEE6unwrapEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %125 unwind label %141

125:                                              ; preds = %123
  %126 = load ptr, ptr %19, align 8, !tbaa !5
  %127 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %126)
          to label %128 unwind label %145

128:                                              ; preds = %125
  store ptr %127, ptr %20, align 8, !tbaa !5
  %129 = invoke noundef zeroext i1 @_ZNK6sparta22PowersetAbstractDomainIPK8DexClassNS_8set_impl8SetValueINS_15PatriciaTreeSetIS3_EEEERKS7_NS_17SetAbstractDomainIS7_EEE8containsERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %124, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %130 unwind label %145

130:                                              ; preds = %128
  br label %131

131:                                              ; preds = %130, %120
  %132 = phi i1 [ true, %120 ], [ %129, %130 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br i1 %132, label %133, label %153

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN7ir_list23InstructionIteratorImplILb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %21, ptr noundef nonnull align 8 dereferenceable(104) %134, ptr noundef nonnull align 8 dereferenceable(16) %16, i1 noundef zeroext false)
          to label %135 unwind label %149

135:                                              ; preds = %133
  invoke void @_ZN3cfg11CFGMutation6removeERKNS_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %136 unwind label %149

136:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  %137 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 3
  %138 = getelementptr inbounds %"struct.init_classes::Stats", ptr %137, i32 0, i32 1
  %139 = load i64, ptr %138, align 8, !tbaa !17
  %140 = add i64 %139, 1
  store i64 %140, ptr %138, align 8, !tbaa !17
  br label %169

141:                                              ; preds = %159, %153, %123, %118, %109
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %5, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %6, align 4
  br label %190

145:                                              ; preds = %128, %125
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %5, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %190

149:                                              ; preds = %135, %133
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %5, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  br label %190

153:                                              ; preds = %131
  %154 = load ptr, ptr %19, align 8, !tbaa !5
  %155 = load ptr, ptr %18, align 8, !tbaa !5
  %156 = invoke noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %155)
          to label %157 unwind label %141

157:                                              ; preds = %153
  %158 = icmp ne ptr %154, %156
  br i1 %158, label %159, label %168

159:                                              ; preds = %157
  %160 = load ptr, ptr %18, align 8, !tbaa !5
  %161 = load ptr, ptr %19, align 8, !tbaa !5
  %162 = invoke noundef ptr @_ZN13IRInstruction8set_typeEP7DexType(ptr noundef nonnull align 8 dereferenceable(32) %160, ptr noundef %161)
          to label %163 unwind label %141

163:                                              ; preds = %159
  %164 = getelementptr inbounds %"class.init_classes::InitClassPruner", ptr %24, i32 0, i32 3
  %165 = getelementptr inbounds %"struct.init_classes::Stats", ptr %164, i32 0, i32 2
  %166 = load i64, ptr %165, align 8, !tbaa !18
  %167 = add i64 %166, 1
  store i64 %167, ptr %165, align 8, !tbaa !18
  br label %168

168:                                              ; preds = %163, %157
  br label %169

169:                                              ; preds = %168, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  store i32 0, ptr %12, align 4
  br label %170

170:                                              ; preds = %169, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %171 = load i32, ptr %12, align 4
  switch i32 %171, label %223 [
    i32 0, label %172
    i32 6, label %173
  ]

172:                                              ; preds = %170
  br label %173

173:                                              ; preds = %172, %170
  %174 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %175 unwind label %86

175:                                              ; preds = %173
  %176 = getelementptr inbounds %struct.MethodItemEntry, ptr %174, i32 0, i32 2
  %177 = load ptr, ptr %176, align 8, !tbaa !15
  %178 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %179 unwind label %86

179:                                              ; preds = %175
  %180 = getelementptr inbounds %struct.MethodItemEntry, ptr %178, i32 0, i32 2
  %181 = load ptr, ptr %180, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %22, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %182 unwind label %192

182:                                              ; preds = %179
  %183 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %184 unwind label %192

184:                                              ; preds = %182
  %185 = getelementptr inbounds %struct.MethodItemEntry, ptr %183, i32 0, i32 2
  %186 = load ptr, ptr %185, align 8, !tbaa !15
  %187 = icmp eq ptr %181, %186
  invoke void @_ZNK12init_classes32InitClassForwardFixpointIterator19analyze_instructionEPK13IRInstructionPNS_15InitClassDomainEb(ptr noundef nonnull align 8 dereferenceable(264) %3, ptr noundef %177, ptr noundef %14, i1 noundef zeroext %187)
          to label %188 unwind label %192

188:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  invoke void @_ZN7ir_list23InstructionIteratorImplILb0EEppEi(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 0)
          to label %189 unwind label %196

189:                                              ; preds = %188
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %73, !llvm.loop !19

190:                                              ; preds = %149, %145, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %191

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

192:                                              ; preds = %184, %182, %179
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %5, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %6, align 4
  br label %200

196:                                              ; preds = %188
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %5, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  br label %200

200:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %201

201:                                              ; preds = %200, %191, %90, %86
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %205

202:                                              ; preds = %77
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %203

203:                                              ; preds = %202
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br label %45

205:                                              ; preds = %201, %82
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  br label %206

206:                                              ; preds = %205, %78
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  br label %207

207:                                              ; preds = %206, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %214

208:                                              ; preds = %47
  invoke void @_ZN3cfg11CFGMutation5flushEv(ptr noundef nonnull align 8 dereferenceable(64) %7)
          to label %209 unwind label %210

209:                                              ; preds = %208
  call void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #6
  call void @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  call void @_ZN6sparta25MonotonicFixpointIteratorIN3cfg14GraphInterfaceEN12init_classes15InitClassDomainESt4hashIPNS1_5BlockEEED2Ev(ptr noundef nonnull align 8 dereferenceable(264) %3) #6
  call void @llvm.lifetime.end.p0(i64 264, ptr %3) #6
  ret void

210:                                              ; preds = %208
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %5, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %6, align 4
  br label %214

214:                                              ; preds = %210, %207
  call void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #6
  br label %215

215:                                              ; preds = %214, %56
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #6
  br label %216

216:                                              ; preds = %215, %52
  call void @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br label %217

217:                                              ; preds = %216, %48
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  call void @_ZN6sparta25MonotonicFixpointIteratorIN3cfg14GraphInterfaceEN12init_classes15InitClassDomainESt4hashIPNS1_5BlockEEED2Ev(ptr noundef nonnull align 8 dereferenceable(264) %3) #6
  call void @llvm.lifetime.end.p0(i64 264, ptr %3) #6
  br label %218

218:                                              ; preds = %217
  %219 = load ptr, ptr %5, align 8
  %220 = load i32, ptr %6, align 4
  %221 = insertvalue { ptr, i32 } poison, ptr %219, 0
  %222 = insertvalue { ptr, i32 } %221, i32 %220, 1
  resume { ptr, i32 } %222

223:                                              ; preds = %170
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12init_classes32InitClassForwardFixpointIteratorC2ERKNS_26InitClassesWithSideEffectsERKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef nonnull align 8 dereferenceable(2697), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12init_classes32InitClassForwardFixpointIterator11initial_envEPK7DexType(ptr dead_on_unwind noalias writable sret(%"class.init_classes::InitClassDomain") align 8, ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cfg11CFGMutationC2ERNS_16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #2 align 2

declare void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.83") align 8, ptr noundef nonnull align 8 dereferenceable(160)) #3

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIterableImpl") align 8, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode13is_init_classE8IROpcode(i16 noundef zeroext) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

declare noundef ptr @_ZNK12init_classes26InitClassesWithSideEffects6refineEPK7DexType(ptr noundef nonnull align 8 dereferenceable(2697), ptr noundef) #3

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

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

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

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cfg11CFGMutation6removeERKNS_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

declare void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN7ir_list23InstructionIteratorImplILb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK12init_classes32InitClassForwardFixpointIterator19analyze_instructionEPK13IRInstructionPNS_15InitClassDomainEb(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef, ptr noundef, i1 noundef zeroext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ir_list23InstructionIteratorImplILb0EEppEi(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1 align 2

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

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

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

declare void @_ZN3cfg11CFGMutation5flushEv(ptr noundef nonnull align 8 dereferenceable(64)) #3

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN12init_classes15InitClassPrunerE", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24}
!11 = !{!"_ZTSN12init_classes5StatsE", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !6, i64 16}
!14 = !{!10, !6, i64 8}
!15 = !{!7, !7, i64 0}
!16 = !{!10, !12, i64 24}
!17 = !{!10, !12, i64 32}
!18 = !{!10, !12, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"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"

%"class.init_classes::InitClassForwardFixpointIterator" = type { %"class.sparta::MonotonicFixpointIterator", ptr }
%"class.sparta::MonotonicFixpointIterator" = type { %"class.sparta::fp_impl::MonotonicFixpointIteratorBase", %"class.sparta::WeakPartialOrdering" }
%"class.sparta::fp_impl::MonotonicFixpointIteratorBase" = type { %"class.sparta::FixpointIterator", ptr, %"class.init_classes::InitClassDomain", %"class.std::unordered_map", %"class.std::unordered_map" }
%"class.sparta::FixpointIterator" = type { ptr }
%"class.init_classes::InitClassDomain" = type { %"class.sparta::AbstractDomainReverseAdaptor" }
%"class.sparta::AbstractDomainReverseAdaptor" = type { %"class.sparta::SetAbstractDomain" }
%"class.sparta::SetAbstractDomain" = type { %"class.sparta::PowersetAbstractDomain" }
%"class.sparta::PowersetAbstractDomain" = type { %"class.sparta::AbstractDomainScaffolding" }
%"class.sparta::AbstractDomainScaffolding" = type { i32, %"class.sparta::set_impl::SetValue" }
%"class.sparta::set_impl::SetValue" = type { %"class.sparta::PatriciaTreeSet" }
%"class.sparta::PatriciaTreeSet" = type { %"class.sparta::pt_core::PatriciaTreeCore" }
%"class.sparta::pt_core::PatriciaTreeCore" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.25" }
%"class.std::_Hashtable.25" = 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.sparta::WeakPartialOrdering" = type <{ %"class.std::vector.44", %"class.std::vector.49", %"class.std::unordered_map.54", i8, [7 x i8] }>
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<sparta::WpoNode<cfg::Block *>, std::allocator<sparta::WpoNode<cfg::Block *>>>::_Vector_impl" }
%"struct.std::_Vector_base<sparta::WpoNode<cfg::Block *>, std::allocator<sparta::WpoNode<cfg::Block *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<sparta::WpoNode<cfg::Block *>, std::allocator<sparta::WpoNode<cfg::Block *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sparta::WpoNode<cfg::Block *>, std::allocator<sparta::WpoNode<cfg::Block *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.54" = type { %"class.std::_Hashtable.55" }
%"class.std::_Hashtable.55" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.cfg::CFGMutation" = type { ptr, %class.UnorderedMap }
%class.UnorderedMap = type { %"class.std::unordered_map.69" }
%"class.std::unordered_map.69" = type { %"class.std::_Hashtable.70" }
%"class.std::_Hashtable.70" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.ir_list::InstructionIterableImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12init_classes15InitClassPruner13apply_forwardEv(ptr nocapture noundef nonnull align 8 dereferenceable(48) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.init_classes::InitClassForwardFixpointIterator", align 8
  %3 = alloca %"class.init_classes::InitClassDomain", align 8
  %4 = alloca %"class.cfg::CFGMutation", align 8
  %5 = alloca %"class.std::vector.83", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.init_classes::InitClassDomain", align 8
  %10 = alloca %"class.ir_list::InstructionIterableImpl", align 8
  %11 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %12 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %15 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %16 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  call void @llvm.lifetime.start.p0(i64 264, ptr nonnull %2) #6
  %17 = load ptr, ptr %0, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load ptr, ptr %18, align 8, !tbaa !12
  call void @_ZN12init_classes32InitClassForwardFixpointIteratorC2ERKNS_26InitClassesWithSideEffectsERKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(264) %2, ptr noundef nonnull align 8 dereferenceable(2697) %17, ptr noundef nonnull align 8 dereferenceable(160) %19)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = load ptr, ptr %20, align 8, !tbaa !13
  invoke void @_ZN12init_classes32InitClassForwardFixpointIterator11initial_envEPK7DexType(ptr dead_on_unwind nonnull writable sret(%"class.init_classes::InitClassDomain") align 8 %3, ptr noundef nonnull align 8 dereferenceable(264) %2, ptr noundef %21)
          to label %22 unwind label %34

22:                                               ; preds = %1
  invoke void @_ZN6sparta25MonotonicFixpointIteratorIN3cfg14GraphInterfaceEN12init_classes15InitClassDomainESt4hashIPNS1_5BlockEEE3runERKS4_(ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %23 unwind label %36

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #6
  %24 = load ptr, ptr %18, align 8, !tbaa !12
  invoke void @_ZN3cfg11CFGMutationC2ERNS_16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 8 dereferenceable(160) %24)
          to label %25 unwind label %38

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  %26 = load ptr, ptr %18, align 8, !tbaa !12
  invoke void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.83") align 8 %5, ptr noundef nonnull align 8 dereferenceable(160) %26)
          to label %27 unwind label %40

27:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %28 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  store ptr %28, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %29 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  store ptr %29, ptr %7, align 8
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %30, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %27
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = getelementptr inbounds i8, ptr %0, i64 40
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  br label %42

._crit_edge:                                      ; preds = %53, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  invoke void @_ZN3cfg11CFGMutation5flushEv(ptr noundef nonnull align 8 dereferenceable(64) %4)
          to label %128 unwind label %129

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

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

38:                                               ; preds = %23
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %132

40:                                               ; preds = %25
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %131

42:                                               ; preds = %.lr.ph, %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  store ptr %44, ptr %8, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %45 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta7fp_impl29MonotonicFixpointIteratorBaseIN3cfg14GraphInterfaceEN12init_classes15InitClassDomainESt4hashIPNS2_5BlockEEE18get_entry_state_atERKS8_(ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %46 unwind label %56

46:                                               ; preds = %42
  invoke void @_ZN12init_classes15InitClassDomainC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %45)
          to label %47 unwind label %56

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %48 = load ptr, ptr %8, align 8, !tbaa !14
  invoke void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIterableImpl") align 8 %10, ptr noundef %48)
          to label %49 unwind label %58

49:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %49, %119
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %50 unwind label %60

50:                                               ; preds = %.preheader
  %51 = invoke noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %52 unwind label %60

52:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br i1 %51, label %62, label %53

53:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %55 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %55, label %42, label %._crit_edge

56:                                               ; preds = %46, %42
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %127

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

.loopexit:                                        ; preds = %103, %105
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %125

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

60:                                               ; preds = %50, %.preheader
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %125

62:                                               ; preds = %52
  %63 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %64 unwind label %69

64:                                               ; preds = %62
  %65 = getelementptr inbounds i8, ptr %63, i64 24
  %66 = load ptr, ptr %65, align 8, !tbaa !15
  %67 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
  %68 = call noundef zeroext i1 @_ZN6opcode13is_init_classE8IROpcode(i16 noundef zeroext %67)
  br i1 %68, label %71, label %103

69:                                               ; preds = %62
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %125

71:                                               ; preds = %64
  %72 = load i64, ptr %31, align 8, !tbaa !16
  %73 = add i64 %72, 1
  store i64 %73, ptr %31, align 8, !tbaa !16
  %74 = load ptr, ptr %0, align 8, !tbaa !5
  %75 = invoke noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %76 unwind label %90

76:                                               ; preds = %71
  %77 = invoke noundef ptr @_ZNK12init_classes26InitClassesWithSideEffects6refineEPK7DexType(ptr noundef nonnull align 8 dereferenceable(2697) %74, ptr noundef %75)
          to label %78 unwind label %90

78:                                               ; preds = %76
  %79 = icmp eq ptr %77, null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  br i1 %79, label %.critedge, label %80

80:                                               ; preds = %78
  %81 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEE6unwrapEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %82 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef nonnull %77)
          to label %83 unwind label %92

83:                                               ; preds = %80
  store ptr %82, ptr %13, align 8, !tbaa !14
  %84 = invoke noundef zeroext i1 @_ZNK6sparta22PowersetAbstractDomainIPK8DexClassNS_8set_impl8SetValueINS_15PatriciaTreeSetIS3_EEEERKS7_NS_17SetAbstractDomainIS7_EEE8containsERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %85 unwind label %92

85:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br i1 %84, label %86, label %96

.critedge:                                        ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %86

86:                                               ; preds = %.critedge, %85
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #6
  %87 = load ptr, ptr %8, align 8, !tbaa !14
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN7ir_list23InstructionIteratorImplILb0EEEb(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %14, ptr noundef nonnull align 8 dereferenceable(104) %87, ptr noundef nonnull align 8 dereferenceable(16) %11, i1 noundef zeroext false)
          to label %88 unwind label %94

88:                                               ; preds = %86
  invoke void @_ZN3cfg11CFGMutation6removeERKNS_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %89 unwind label %94

89:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  br label %.sink.split

90:                                               ; preds = %99, %96, %76, %71
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %125

92:                                               ; preds = %83, %80
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %125

94:                                               ; preds = %88, %86
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  br label %125

96:                                               ; preds = %85
  %97 = invoke noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %98 unwind label %90

98:                                               ; preds = %96
  %.not = icmp eq ptr %77, %97
  br i1 %.not, label %103, label %99

99:                                               ; preds = %98
  %100 = invoke noundef ptr @_ZN13IRInstruction8set_typeEP7DexType(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull %77)
          to label %.sink.split unwind label %90

.sink.split:                                      ; preds = %99, %89
  %.sink = phi ptr [ %33, %89 ], [ %32, %99 ]
  %101 = load i64, ptr %.sink, align 8, !tbaa !17
  %102 = add i64 %101, 1
  store i64 %102, ptr %.sink, align 8, !tbaa !17
  br label %103

103:                                              ; preds = %.sink.split, %98, %64
  %104 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %105 unwind label %.loopexit

105:                                              ; preds = %103
  %106 = getelementptr inbounds i8, ptr %104, i64 24
  %107 = load ptr, ptr %106, align 8, !tbaa !15
  %108 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %109 unwind label %.loopexit

109:                                              ; preds = %105
  %110 = getelementptr inbounds i8, ptr %108, i64 24
  %111 = load ptr, ptr %110, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %112 unwind label %120

112:                                              ; preds = %109
  %113 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %114 unwind label %120

114:                                              ; preds = %112
  %115 = getelementptr inbounds i8, ptr %113, i64 24
  %116 = load ptr, ptr %115, align 8, !tbaa !15
  %117 = icmp eq ptr %111, %116
  invoke void @_ZNK12init_classes32InitClassForwardFixpointIterator19analyze_instructionEPK13IRInstructionPNS_15InitClassDomainEb(ptr noundef nonnull align 8 dereferenceable(264) %2, ptr noundef %107, ptr noundef nonnull %9, i1 noundef zeroext %117)
          to label %118 unwind label %120

118:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  invoke void @_ZN7ir_list23InstructionIteratorImplILb0EEppEi(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef 0)
          to label %119 unwind label %122

119:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  br label %.preheader, !llvm.loop !18

120:                                              ; preds = %114, %112, %109
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %124

122:                                              ; preds = %118
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  br label %124

124:                                              ; preds = %122, %120
  %.pn26 = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  br label %125

125:                                              ; preds = %.loopexit, %.loopexit.split-lp, %69, %94, %92, %90, %124, %60
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %124 ], [ %61, %60 ], [ %70, %69 ], [ %95, %94 ], [ %91, %90 ], [ %93, %92 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %126

126:                                              ; preds = %125, %58
  %.pn26.pn.pn = phi { ptr, i32 } [ %.pn26.pn, %125 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %127

127:                                              ; preds = %126, %56
  %.pn26.pn.pn.pn = phi { ptr, i32 } [ %.pn26.pn.pn, %126 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %131

128:                                              ; preds = %._crit_edge
  call void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  call void @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @_ZN6sparta25MonotonicFixpointIteratorIN3cfg14GraphInterfaceEN12init_classes15InitClassDomainESt4hashIPNS1_5BlockEEED2Ev(ptr noundef nonnull align 8 dereferenceable(264) %2) #6
  call void @llvm.lifetime.end.p0(i64 264, ptr nonnull %2) #6
  ret void

129:                                              ; preds = %._crit_edge
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %131

131:                                              ; preds = %40, %127, %129
  %.pn26.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %130, %129 ], [ %.pn26.pn.pn.pn, %127 ], [ %41, %40 ]
  call void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #6
  br label %132

132:                                              ; preds = %131, %38
  %.pn26.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn26.pn.pn.pn.pn.pn, %131 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  br label %133

133:                                              ; preds = %132, %36
  %.pn26.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn26.pn.pn.pn.pn.pn.pn, %132 ], [ %37, %36 ]
  call void @_ZN6sparta28AbstractDomainReverseAdaptorINS_17SetAbstractDomainINS_15PatriciaTreeSetIPK8DexClassEEEEN12init_classes15InitClassDomainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %134

134:                                              ; preds = %133, %34
  %.pn26.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn26.pn.pn.pn.pn.pn.pn.pn, %133 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @_ZN6sparta25MonotonicFixpointIteratorIN3cfg14GraphInterfaceEN12init_classes15InitClassDomainESt4hashIPNS1_5BlockEEED2Ev(ptr noundef nonnull align 8 dereferenceable(264) %2) #6
  call void @llvm.lifetime.end.p0(i64 264, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn26.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12init_classes32InitClassForwardFixpointIteratorC2ERKNS_26InitClassesWithSideEffectsERKN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef nonnull align 8 dereferenceable(2697), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12init_classes32InitClassForwardFixpointIterator11initial_envEPK7DexType(ptr dead_on_unwind noalias writable sret(%"class.init_classes::InitClassDomain") align 8, ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cfg11CFGMutationC2ERNS_16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #2 align 2

declare void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.83") align 8, ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIterableImpl") align 8, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode13is_init_classE8IROpcode(i16 noundef zeroext) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

declare noundef ptr @_ZNK12init_classes26InitClassesWithSideEffects6refineEPK7DexType(ptr noundef nonnull align 8 dereferenceable(2697), ptr noundef) local_unnamed_addr #3

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cfg11CFGMutation6removeERKNS_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

declare void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN7ir_list23InstructionIteratorImplILb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK12init_classes32InitClassForwardFixpointIterator19analyze_instructionEPK13IRInstructionPNS_15InitClassDomainEb(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ir_list23InstructionIteratorImplILb0EEppEi(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

declare void @_ZN3cfg11CFGMutation5flushEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #3

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN12init_classes15InitClassPrunerE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN12init_classes5StatsE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 16}
!13 = !{!6, !7, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!6, !11, i64 24}
!17 = !{!11, !11, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


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