; LLVM IR from facebook/redex :: opt/optimize_enums (EnumAnalyzeGeneratedMethods)

; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.sparta::SetAbstractDomain" = type { %"class.sparta::PowersetAbstractDomain" }
%"class.sparta::PowersetAbstractDomain" = type { %"class.sparta::AbstractDomainScaffolding.185" }
%"class.sparta::AbstractDomainScaffolding.185" = 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.192" }
%"class.sparta::pt_core::PatriciaTreeCore.192" = type { %"class.boost::intrusive_ptr.193" }
%"class.boost::intrusive_ptr.193" = type { ptr }
%"class.sparta::pt_core::PatriciaTreeIterator" = type { %"class.sparta::pt_core::PatriciaTreePostOrder" }
%"class.sparta::pt_core::PatriciaTreePostOrder" = type { %"class.boost::intrusive_ptr.193", %"class.std::stack", ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *>>::_Deque_impl" }
%"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *>>::_Deque_impl" = type { %"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.optimize_enums::EnumAnalyzeGeneratedMethods" = type { %"struct.optimize_enums::Config", %class.ConcurrentSet.23, %class.ConcurrentSet.31 }
%"struct.optimize_enums::Config" = type { i32, i8, i8, %class.UnorderedSet, %class.InsertOnlyConcurrentMap, %class.ConcurrentSet }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.InsertOnlyConcurrentMap = type { %class.ConcurrentContainer }
%class.ConcurrentContainer = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable"] }
%"class.cc_impl::ConcurrentHashtable" = type { %"struct.std::atomic", %"struct.std::atomic.9", %"struct.std::atomic.11", %"struct.std::atomic.13" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }
%"struct.std::atomic.9" = type { %"struct.std::__atomic_base.10" }
%"struct.std::__atomic_base.10" = type { i64 }
%"struct.std::atomic.11" = type { %"struct.std::__atomic_base.12" }
%"struct.std::__atomic_base.12" = type { i8 }
%"struct.std::atomic.13" = type { %"struct.std::__atomic_base.14" }
%"struct.std::__atomic_base.14" = type { ptr }
%class.ConcurrentSet = type { %class.ConcurrentContainer.16 }
%class.ConcurrentContainer.16 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.17"] }
%"class.cc_impl::ConcurrentHashtable.17" = type { %"struct.std::atomic.18", %"struct.std::atomic.9", %"struct.std::atomic.11", %"struct.std::atomic.20" }
%"struct.std::atomic.18" = type { %"struct.std::__atomic_base.19" }
%"struct.std::__atomic_base.19" = type { ptr }
%"struct.std::atomic.20" = type { %"struct.std::__atomic_base.21" }
%"struct.std::__atomic_base.21" = type { ptr }
%class.ConcurrentSet.23 = type { %class.ConcurrentContainer.24 }
%class.ConcurrentContainer.24 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.25"] }
%"class.cc_impl::ConcurrentHashtable.25" = type { %"struct.std::atomic.26", %"struct.std::atomic.9", %"struct.std::atomic.11", %"struct.std::atomic.28" }
%"struct.std::atomic.26" = type { %"struct.std::__atomic_base.27" }
%"struct.std::__atomic_base.27" = type { ptr }
%"struct.std::atomic.28" = type { %"struct.std::__atomic_base.29" }
%"struct.std::__atomic_base.29" = type { ptr }
%class.ConcurrentSet.31 = type { %class.ConcurrentContainer.32 }
%class.ConcurrentContainer.32 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.33"] }
%"class.cc_impl::ConcurrentHashtable.33" = type { %"struct.std::atomic.34", %"struct.std::atomic.9", %"struct.std::atomic.11", %"struct.std::atomic.36" }
%"struct.std::atomic.34" = type { %"struct.std::__atomic_base.35" }
%"struct.std::__atomic_base.35" = type { ptr }
%"struct.std::atomic.36" = type { %"struct.std::__atomic_base.37" }
%"struct.std::__atomic_base.37" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__._ZN14optimize_enums27EnumAnalyzeGeneratedMethods19process_instructionEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEEPK9DexMethod = external hidden unnamed_addr constant [141 x i8], align 1

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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods19process_instructionEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEEPK9DexMethod(ptr noundef nonnull align 8 dereferenceable(10720) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca %"class.sparta::SetAbstractDomain", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.sparta::SetAbstractDomain", align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.sparta::SetAbstractDomain", align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca %"class.sparta::pt_core::PatriciaTreeIterator", align 8
  %23 = alloca %"class.sparta::pt_core::PatriciaTreeIterator", align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %5, align 8
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %31)
  %33 = zext i16 %32 to i32
  switch i32 %33, label %187 [
    i32 87, label %34
    i32 88, label %34
    i32 89, label %34
    i32 90, label %34
    i32 91, label %34
    i32 18, label %37
    i32 15, label %37
    i32 23, label %61
    i32 54, label %95
    i32 68, label %165
    i32 82, label %165
    i32 11, label %176
  ]

34:                                               ; preds = %4, %4, %4, %4, %4
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods18process_invocationEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEE(ptr noundef nonnull align 8 dereferenceable(10720) %30, ptr noundef %35, ptr noundef %36)
  br label %188

37:                                               ; preds = %4, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = call noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %38)
  %40 = call noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef %39)
  store ptr %40, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.optimize_enums::EnumAnalyzeGeneratedMethods", ptr %30, i32 0, i32 2
  %42 = call noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIPK7DexTypeSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE5countERKS3_(ptr noundef nonnull align 8 dereferenceable(2664) %41, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %43 = icmp ne i64 %42, 0
  br i1 %43, label %44, label %60

44:                                               ; preds = %37
  br label %45

45:                                               ; preds = %44
  %46 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 4)
  br i1 %46, label %47, label %55

47:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #7
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef %48)
  %49 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 4, i1 noundef zeroext false, ptr noundef @.str.12, ptr noundef %49)
          to label %50 unwind label %51

50:                                               ; preds = %47
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  br label %55

51:                                               ; preds = %47
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %11, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %189

55:                                               ; preds = %50, %45
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  %58 = getelementptr inbounds %"class.optimize_enums::EnumAnalyzeGeneratedMethods", ptr %30, i32 0, i32 2
  %59 = call noundef i64 @_ZN19ConcurrentContainerISt13unordered_setIPK7DexTypeSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE5eraseERKS3_(ptr noundef nonnull align 8 dereferenceable(2664) %58, ptr noundef nonnull align 8 dereferenceable(8) %9)
  br label %60

60:                                               ; preds = %57, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %188

61:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = call noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %62)
  %64 = call noundef ptr @_ZN4type22get_array_element_typeEPK7DexType(ptr noundef %63)
  store ptr %64, ptr %13, align 8, !tbaa !5
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = icmp ne ptr %65, null
  br i1 %66, label %67, label %68

67:                                               ; preds = %61
  br label %70

68:                                               ; preds = %61
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.13, ptr noundef @.str.9, i32 noundef 89, ptr noundef @__PRETTY_FUNCTION__._ZN14optimize_enums27EnumAnalyzeGeneratedMethods19process_instructionEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEEPK9DexMethod, i32 noundef 2, ptr noundef @.str.10) #8
  unreachable

69:                                               ; No predecessors!
  br label %70

70:                                               ; preds = %69, %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store i64 1, ptr %14, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %87, %70
  %72 = load i64, ptr %14, align 8, !tbaa !9
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %73)
  %75 = icmp ult i64 %72, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %94

77:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = load i64, ptr %14, align 8, !tbaa !9
  %81 = trunc i64 %80 to i16
  %82 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %79, i16 noundef zeroext %81)
  store i32 %82, ptr %16, align 4, !tbaa !11
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull align 4 dereferenceable(4) %16)
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %83)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods16reject_if_unsafeEPK7DexTypeRKN6sparta17SetAbstractDomainINS4_15PatriciaTreeSetIPS1_EEEEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(10720) %30, ptr noundef %84, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %85)
          to label %86 unwind label %90

86:                                               ; preds = %77
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  br label %87

87:                                               ; preds = %86
  %88 = load i64, ptr %14, align 8, !tbaa !9
  %89 = add i64 %88, 1
  store i64 %89, ptr %14, align 8, !tbaa !9
  br label %71, !llvm.loop !13

90:                                               ; preds = %77
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %11, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %12, align 4
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %189

94:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %188

95:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %97, i16 noundef zeroext 0)
  store i32 %98, ptr %18, align 4, !tbaa !11
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %96, ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %99)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #7
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %101, i16 noundef zeroext 1)
          to label %103 unwind label %117

103:                                              ; preds = %95
  store i32 %102, ptr %20, align 4, !tbaa !11
  %104 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %100, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %105 unwind label %117

105:                                              ; preds = %103
  invoke void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %104)
          to label %106 unwind label %117

106:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6sparta22PowersetAbstractDomainIP7DexTypeNS_8set_impl8SetValueINS_15PatriciaTreeSetIS2_EEEERKS6_NS_17SetAbstractDomainIS6_EEE8elementsEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %108 unwind label %121

108:                                              ; preds = %106
  store ptr %107, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %22) #7
  %109 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_ZNK6sparta15PatriciaTreeSetIP7DexTypeE5beginEv(ptr dead_on_unwind writable sret(%"class.sparta::pt_core::PatriciaTreeIterator") align 8 %22, ptr noundef nonnull align 8 dereferenceable(8) %109)
          to label %110 unwind label %125

110:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 96, ptr %23) #7
  %111 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_ZNK6sparta15PatriciaTreeSetIP7DexTypeE3endEv(ptr dead_on_unwind writable sret(%"class.sparta::pt_core::PatriciaTreeIterator") align 8 %23, ptr noundef nonnull align 8 dereferenceable(8) %111)
          to label %112 unwind label %129

112:                                              ; preds = %110
  br label %113

113:                                              ; preds = %149, %112
  %114 = invoke noundef zeroext i1 @_ZNK6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEEneERKS5_(ptr noundef nonnull align 8 dereferenceable(96) %22, ptr noundef nonnull align 8 dereferenceable(96) %23)
          to label %115 unwind label %133

115:                                              ; preds = %113
  br i1 %114, label %137, label %116

116:                                              ; preds = %115
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %23) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #7
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %22) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %163

117:                                              ; preds = %105, %103, %95
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %11, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %164

121:                                              ; preds = %106
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %11, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %12, align 4
  br label %162

125:                                              ; preds = %108
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %11, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %12, align 4
  br label %161

129:                                              ; preds = %110
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %11, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %12, align 4
  br label %160

133:                                              ; preds = %147, %113
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %11, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %12, align 4
  br label %159

137:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEEdeEv(ptr noundef nonnull align 8 dereferenceable(96) %22)
          to label %139 unwind label %150

139:                                              ; preds = %137
  %140 = load ptr, ptr %138, align 8, !tbaa !5
  store ptr %140, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %141 = load ptr, ptr %24, align 8, !tbaa !5
  %142 = invoke noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef %141)
          to label %143 unwind label %154

143:                                              ; preds = %139
  store ptr %142, ptr %25, align 8, !tbaa !5
  %144 = load ptr, ptr %25, align 8, !tbaa !5
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods16reject_if_unsafeEPK7DexTypeRKN6sparta17SetAbstractDomainINS4_15PatriciaTreeSetIPS1_EEEEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(10720) %30, ptr noundef %144, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %145)
          to label %146 unwind label %154

146:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %147

147:                                              ; preds = %146
  %148 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEEppEv(ptr noundef nonnull align 8 dereferenceable(96) %22)
          to label %149 unwind label %133

149:                                              ; preds = %147
  br label %113

150:                                              ; preds = %137
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %11, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %12, align 4
  br label %158

154:                                              ; preds = %143, %139
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %11, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %158

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

159:                                              ; preds = %158, %133
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %23) #7
  br label %160

160:                                              ; preds = %159, %129
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #7
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %22) #7
  br label %161

161:                                              ; preds = %160, %125
  call void @llvm.lifetime.end.p0(i64 96, ptr %22) #7
  br label %162

162:                                              ; preds = %161, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  br label %164

163:                                              ; preds = %116
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  br label %188

164:                                              ; preds = %162, %117
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  br label %189

165:                                              ; preds = %4, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = call noundef ptr @_ZNK13IRInstruction9get_fieldEv(ptr noundef nonnull align 8 dereferenceable(32) %166)
  %168 = call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %167)
  %169 = call noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef %168)
  store ptr %169, ptr %26, align 8, !tbaa !5
  %170 = load ptr, ptr %26, align 8, !tbaa !5
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %172, i16 noundef zeroext 0)
  store i32 %173, ptr %27, align 4, !tbaa !11
  %174 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %171, ptr noundef nonnull align 4 dereferenceable(4) %27)
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods16reject_if_unsafeEPK7DexTypeRKN6sparta17SetAbstractDomainINS4_15PatriciaTreeSetIPS1_EEEEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(10720) %30, ptr noundef %170, ptr noundef nonnull align 8 dereferenceable(16) %174, ptr noundef %175)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %188

176:                                              ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %177 = load ptr, ptr %8, align 8, !tbaa !5
  %178 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %177)
  %179 = call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %178)
  %180 = call noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef %179)
  store ptr %180, ptr %28, align 8, !tbaa !5
  %181 = load ptr, ptr %28, align 8, !tbaa !5
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %183, i16 noundef zeroext 0)
  store i32 %184, ptr %29, align 4, !tbaa !11
  %185 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %182, ptr noundef nonnull align 4 dereferenceable(4) %29)
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods16reject_if_unsafeEPK7DexTypeRKN6sparta17SetAbstractDomainINS4_15PatriciaTreeSetIPS1_EEEEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(10720) %30, ptr noundef %181, ptr noundef nonnull align 8 dereferenceable(16) %185, ptr noundef %186)
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %188

187:                                              ; preds = %4
  br label %188

188:                                              ; preds = %187, %176, %165, %163, %94, %60, %34
  ret void

189:                                              ; preds = %164, %90, %51
  %190 = load ptr, ptr %11, align 8
  %191 = load i32, ptr %12, align 4
  %192 = insertvalue { ptr, i32 } poison, ptr %190, 0
  %193 = insertvalue { ptr, i32 } %192, i32 %191, 1
  resume { ptr, i32 } %193
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods18process_invocationEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEE(ptr noundef nonnull align 8 dereferenceable(10720), ptr noundef, ptr noundef) #4 align 2

declare noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #4

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

declare noundef ptr @_ZN4type22get_array_element_typeEPK7DexType(ptr noundef) #3

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #3

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

declare noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) #3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.sparta::SetAbstractDomain" = type { %"class.sparta::PowersetAbstractDomain" }
%"class.sparta::PowersetAbstractDomain" = type { %"class.sparta::AbstractDomainScaffolding.185" }
%"class.sparta::AbstractDomainScaffolding.185" = 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.192" }
%"class.sparta::pt_core::PatriciaTreeCore.192" = type { %"class.boost::intrusive_ptr.193" }
%"class.boost::intrusive_ptr.193" = type { ptr }
%"class.sparta::pt_core::PatriciaTreeIterator" = type { %"class.sparta::pt_core::PatriciaTreePostOrder" }
%"class.sparta::pt_core::PatriciaTreePostOrder" = type { %"class.boost::intrusive_ptr.193", %"class.std::stack", ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *>>::_Deque_impl" }
%"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *>>::_Deque_impl" = type { %"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned long, sparta::pt_core::EmptyValue> *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

@.str.9 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__._ZN14optimize_enums27EnumAnalyzeGeneratedMethods19process_instructionEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEEPK9DexMethod = external hidden unnamed_addr constant [141 x i8], align 1

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

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

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

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods19process_instructionEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEEPK9DexMethod(ptr noundef nonnull align 8 dereferenceable(10720) %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.sparta::SetAbstractDomain", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.sparta::SetAbstractDomain", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.sparta::SetAbstractDomain", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.sparta::pt_core::PatriciaTreeIterator", align 8
  %14 = alloca %"class.sparta::pt_core::PatriciaTreeIterator", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  switch i16 %17, label %.loopexit [
    i16 87, label %18
    i16 88, label %18
    i16 89, label %18
    i16 90, label %18
    i16 91, label %18
    i16 18, label %19
    i16 15, label %19
    i16 23, label %35
    i16 54, label %50
    i16 68, label %91
    i16 82, label %91
    i16 11, label %97
  ]

18:                                               ; preds = %4, %4, %4, %4, %4
  tail call void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods18process_invocationEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEE(ptr noundef nonnull align 8 dereferenceable(10720) %0, ptr noundef nonnull %1, ptr noundef %2)
  br label %.loopexit

19:                                               ; preds = %4, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %20 = tail call noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %21 = tail call noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef %20)
  store ptr %21, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %0, i64 8056
  %23 = call noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIPK7DexTypeSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE5countERKS3_(ptr noundef nonnull align 8 dereferenceable(2664) %22, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %.not51 = icmp eq i64 %23, 0
  br i1 %.not51, label %34, label %24

24:                                               ; preds = %19
  %25 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 40, i32 noundef 4)
  br i1 %25, label %26, label %32

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef %27)
  %28 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 40, i32 noundef 4, i1 noundef zeroext false, ptr noundef nonnull @.str.12, ptr noundef %28)
          to label %29 unwind label %30

29:                                               ; preds = %26
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %32

30:                                               ; preds = %26
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %103

32:                                               ; preds = %29, %24
  %33 = call noundef i64 @_ZN19ConcurrentContainerISt13unordered_setIPK7DexTypeSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE5eraseERKS3_(ptr noundef nonnull align 8 dereferenceable(2664) %22, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br label %34

34:                                               ; preds = %32, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %.loopexit

35:                                               ; preds = %4
  %36 = tail call noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %37 = tail call noundef ptr @_ZN4type22get_array_element_typeEPK7DexType(ptr noundef %36)
  %.not = icmp eq ptr %37, null
  br i1 %.not, label %40, label %.preheader

.preheader:                                       ; preds = %35
  %38 = tail call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %39 = icmp ugt i64 %38, 1
  br i1 %39, label %.lr.ph, label %.loopexit

40:                                               ; preds = %35
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.9, i32 noundef 89, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14optimize_enums27EnumAnalyzeGeneratedMethods19process_instructionEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEEPK9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.10) #8
  unreachable

.lr.ph:                                           ; preds = %.preheader, %44
  %.04254 = phi i64 [ %45, %44 ], [ 1, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  %41 = trunc i64 %.04254 to i16
  %42 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext %41)
  store i32 %42, ptr %8, align 4, !tbaa !9
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %43)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  invoke void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods16reject_if_unsafeEPK7DexTypeRKN6sparta17SetAbstractDomainINS4_15PatriciaTreeSetIPS1_EEEEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(10720) %0, ptr noundef nonnull %37, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull %1)
          to label %44 unwind label %48

44:                                               ; preds = %.lr.ph
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  %45 = add nuw i64 %.04254, 1
  %46 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %47 = icmp ult i64 %45, %46
  br i1 %47, label %.lr.ph, label %.loopexit, !llvm.loop !11

48:                                               ; preds = %.lr.ph
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %103

50:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %51 = tail call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext 0)
  store i32 %51, ptr %10, align 4, !tbaa !9
  %52 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %52)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  %53 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext 1)
          to label %54 unwind label %64

54:                                               ; preds = %50
  store i32 %53, ptr %12, align 4, !tbaa !9
  %55 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %56 unwind label %64

56:                                               ; preds = %54
  invoke void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %55)
          to label %57 unwind label %64

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6sparta22PowersetAbstractDomainIP7DexTypeNS_8set_impl8SetValueINS_15PatriciaTreeSetIS2_EEEERKS6_NS_17SetAbstractDomainIS6_EEE8elementsEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %59 unwind label %66

59:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #7
  invoke void @_ZNK6sparta15PatriciaTreeSetIP7DexTypeE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.sparta::pt_core::PatriciaTreeIterator") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %58)
          to label %60 unwind label %68

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %14) #7
  invoke void @_ZNK6sparta15PatriciaTreeSetIP7DexTypeE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.sparta::pt_core::PatriciaTreeIterator") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %58)
          to label %.preheader53 unwind label %70

.preheader53:                                     ; preds = %60, %80
  %61 = invoke noundef zeroext i1 @_ZNK6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEEneERKS5_(ptr noundef nonnull align 8 dereferenceable(96) %13, ptr noundef nonnull align 8 dereferenceable(96) %14)
          to label %62 unwind label %72

62:                                               ; preds = %.preheader53
  br i1 %61, label %74, label %63

63:                                               ; preds = %62
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %14) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %14) #7
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %13) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #7
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %.loopexit

64:                                               ; preds = %56, %54, %50
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  br label %90

66:                                               ; preds = %57
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %89

68:                                               ; preds = %59
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %88

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

72:                                               ; preds = %80, %.preheader53
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %86

74:                                               ; preds = %62
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEEdeEv(ptr noundef nonnull align 8 dereferenceable(96) %13)
          to label %76 unwind label %82

76:                                               ; preds = %74
  %77 = load ptr, ptr %75, align 8, !tbaa !5
  %78 = invoke noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef %77)
          to label %79 unwind label %84

79:                                               ; preds = %76
  invoke void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods16reject_if_unsafeEPK7DexTypeRKN6sparta17SetAbstractDomainINS4_15PatriciaTreeSetIPS1_EEEEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(10720) %0, ptr noundef %78, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull %1)
          to label %80 unwind label %84

80:                                               ; preds = %79
  %81 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEEppEv(ptr noundef nonnull align 8 dereferenceable(96) %13)
          to label %.preheader53 unwind label %72

82:                                               ; preds = %74
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %79, %76
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %86

86:                                               ; preds = %82, %84, %72
  %.pn45 = phi { ptr, i32 } [ %73, %72 ], [ %85, %84 ], [ %83, %82 ]
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %14) #7
  br label %87

87:                                               ; preds = %86, %70
  %.pn45.pn = phi { ptr, i32 } [ %.pn45, %86 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %14) #7
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorIP7DexTypeNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %13) #7
  br label %88

88:                                               ; preds = %87, %68
  %.pn45.pn.pn = phi { ptr, i32 } [ %.pn45.pn, %87 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #7
  br label %89

89:                                               ; preds = %88, %66
  %.pn45.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn, %88 ], [ %67, %66 ]
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %90

90:                                               ; preds = %89, %64
  %.pn45.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn, %89 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @_ZN6sparta17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %103

91:                                               ; preds = %4, %4
  %92 = tail call noundef ptr @_ZNK13IRInstruction9get_fieldEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %93 = tail call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %92)
  %94 = tail call noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef %93)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  %95 = tail call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext 0)
  store i32 %95, ptr %15, align 4, !tbaa !9
  %96 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %15)
  call void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods16reject_if_unsafeEPK7DexTypeRKN6sparta17SetAbstractDomainINS4_15PatriciaTreeSetIPS1_EEEEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(10720) %0, ptr noundef %94, ptr noundef nonnull align 8 dereferenceable(16) %96, ptr noundef nonnull %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %.loopexit

97:                                               ; preds = %4
  %98 = tail call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %3)
  %99 = tail call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %98)
  %100 = tail call noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(ptr noundef %99)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  %101 = tail call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext 0)
  store i32 %101, ptr %16, align 4, !tbaa !9
  %102 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIjNS_17SetAbstractDomainINS_15PatriciaTreeSetIP7DexTypeEEEENS_17TopValueInterfaceIS7_EEEEE3getERKj(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %16)
  call void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods16reject_if_unsafeEPK7DexTypeRKN6sparta17SetAbstractDomainINS4_15PatriciaTreeSetIPS1_EEEEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(10720) %0, ptr noundef %100, ptr noundef nonnull align 8 dereferenceable(16) %102, ptr noundef nonnull %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  br label %.loopexit

.loopexit:                                        ; preds = %44, %.preheader, %4, %97, %91, %63, %34, %18
  ret void

103:                                              ; preds = %90, %48, %30
  %.pn45.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn.pn, %90 ], [ %49, %48 ], [ %31, %30 ]
  resume { ptr, i32 } %.pn45.pn.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14optimize_enums27EnumAnalyzeGeneratedMethods18process_invocationEPK13IRInstructionPKN6sparta19AbstractEnvironmentINS4_15PatriciaTreeMapIjNS4_17SetAbstractDomainINS4_15PatriciaTreeSetIP7DexTypeEEEENS4_17TopValueInterfaceISC_EEEEEE(ptr noundef nonnull align 8 dereferenceable(10720), ptr noundef, ptr noundef) local_unnamed_addr #4 align 2

declare noundef ptr @_ZN4type25get_element_type_if_arrayEPK7DexType(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 #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #4

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

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

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

declare noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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