; LLVM IR from facebook/redex :: service/type-analysis (TypeAnalysisTransform)

; 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.DexTypeDomain = type { %"class.sparta::ReducedProductAbstractDomain" }
%"class.sparta::ReducedProductAbstractDomain" = type { %"class.sparta::DirectProductAbstractDomain" }
%"class.sparta::DirectProductAbstractDomain" = type { %"class.std::tuple.33" }
%"class.std::tuple.33" = type { %"struct.std::_Tuple_impl.base", [7 x i8] }
%"struct.std::_Tuple_impl.base" = type <{ %"struct.std::_Tuple_impl.35", %"struct.std::_Head_base.45" }>
%"struct.std::_Tuple_impl.35" = type { %"struct.std::_Tuple_impl.36", %"struct.std::_Head_base.44" }
%"struct.std::_Tuple_impl.36" = type { %"struct.std::_Tuple_impl.37", %"struct.std::_Head_base.41" }
%"struct.std::_Tuple_impl.37" = type { %"struct.std::_Head_base.38" }
%"struct.std::_Head_base.38" = type { %class.SingletonDexTypeDomain }
%class.SingletonDexTypeDomain = type { %"class.sparta::AbstractDomainScaffolding" }
%"class.sparta::AbstractDomainScaffolding" = type { i32, %"class.dtv_impl::DexTypeValue" }
%"class.dtv_impl::DexTypeValue" = type { ptr }
%"struct.std::_Head_base.41" = type { %class.SmallSetDexTypeDomain }
%class.SmallSetDexTypeDomain = type <{ %"class.sparta::PatriciaTreeSet", i32, [4 x i8] }>
%"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 }
%"struct.std::_Head_base.44" = type { %class.SingletonDexTypeDomain }
%"struct.std::_Head_base.45" = type { %"class.sparta::FiniteAbstractDomain" }
%"class.sparta::FiniteAbstractDomain" = type { %"class.boost::multiprecision::number" }
%"class.boost::multiprecision::number" = type { %"struct.boost::multiprecision::backends::cpp_int_backend" }
%"struct.boost::multiprecision::backends::cpp_int_backend" = type { %"struct.boost::multiprecision::backends::cpp_int_base" }
%"struct.boost::multiprecision::backends::cpp_int_base" = type { i8 }
%"struct.type_analyzer::Transform::Stats" = type { i64, i64, i64, i64, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.189" = type { %"struct.std::_Vector_base.190" }
%"struct.std::_Vector_base.190" = 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.DexTypeEnvironment = type { %"class.sparta::ReducedProductAbstractDomain.48" }
%"class.sparta::ReducedProductAbstractDomain.48" = type { %"class.sparta::DirectProductAbstractDomain.49" }
%"class.sparta::DirectProductAbstractDomain.49" = type { %"class.std::tuple.52" }
%"class.std::tuple.52" = type { %"struct.std::_Tuple_impl.53" }
%"struct.std::_Tuple_impl.53" = type { %"struct.std::_Tuple_impl.54", %"struct.std::_Head_base.85" }
%"struct.std::_Tuple_impl.54" = type { %"struct.std::_Tuple_impl.55", %"struct.std::_Head_base.66" }
%"struct.std::_Tuple_impl.55" = type { %"struct.std::_Head_base.56" }
%"struct.std::_Head_base.56" = type { %"class.sparta::AbstractEnvironment" }
%"class.sparta::AbstractEnvironment" = type { %"class.sparta::AbstractDomainScaffolding.57" }
%"class.sparta::AbstractDomainScaffolding.57" = type { i32, %"class.sparta::environment_impl::MapValue" }
%"class.sparta::environment_impl::MapValue" = type { %"class.sparta::PatriciaTreeMap" }
%"class.sparta::PatriciaTreeMap" = type { %"class.sparta::pt_core::PatriciaTreeCore.64" }
%"class.sparta::pt_core::PatriciaTreeCore.64" = type { %"class.boost::intrusive_ptr.65" }
%"class.boost::intrusive_ptr.65" = type { ptr }
%"struct.std::_Head_base.66" = type { %"class.sparta::AbstractEnvironment.67" }
%"class.sparta::AbstractEnvironment.67" = type { %"class.sparta::AbstractDomainScaffolding.68" }
%"class.sparta::AbstractDomainScaffolding.68" = type { i32, %"class.sparta::environment_impl::MapValue.73" }
%"class.sparta::environment_impl::MapValue.73" = type { %"class.sparta::PatriciaTreeMap.76" }
%"class.sparta::PatriciaTreeMap.76" = type { %"class.sparta::pt_core::PatriciaTreeCore.81" }
%"class.sparta::pt_core::PatriciaTreeCore.81" = type { %"class.boost::intrusive_ptr.82" }
%"class.boost::intrusive_ptr.82" = type { ptr }
%"struct.std::_Head_base.85" = type { %"class.sparta::AbstractEnvironment.86" }
%"class.sparta::AbstractEnvironment.86" = type { %"class.sparta::AbstractDomainScaffolding.87" }
%"class.sparta::AbstractDomainScaffolding.87" = type { i32, %"class.sparta::environment_impl::MapValue.92" }
%"class.sparta::environment_impl::MapValue.92" = type { %"class.sparta::PatriciaTreeMap.95" }
%"class.sparta::PatriciaTreeMap.95" = type { %"class.sparta::pt_core::PatriciaTreeCore.100" }
%"class.sparta::pt_core::PatriciaTreeCore.100" = type { %"class.boost::intrusive_ptr.101" }
%"class.boost::intrusive_ptr.101" = 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.DexMethod = type { %class.DexMethodRef.base, i8, i32, %"class.std::unique_ptr.152", %"class.std::unique_ptr.160", %"class.std::unique_ptr.168", %"class.std::unique_ptr.176", ptr, %class.ReferencedState }
%class.DexMethodRef.base = type <{ %struct.DexMethodSpec, i8, i8 }>
%struct.DexMethodSpec = type { ptr, ptr, ptr }
%"class.std::unique_ptr.152" = type { %"struct.std::__uniq_ptr_data.153" }
%"struct.std::__uniq_ptr_data.153" = type { %"class.std::__uniq_ptr_impl.154" }
%"class.std::__uniq_ptr_impl.154" = type { %"class.std::tuple.155" }
%"class.std::tuple.155" = type { %"struct.std::_Tuple_impl.156" }
%"struct.std::_Tuple_impl.156" = type { %"struct.std::_Head_base.159" }
%"struct.std::_Head_base.159" = type { ptr }
%"class.std::unique_ptr.160" = type { %"struct.std::__uniq_ptr_data.161" }
%"struct.std::__uniq_ptr_data.161" = type { %"class.std::__uniq_ptr_impl.162" }
%"class.std::__uniq_ptr_impl.162" = type { %"class.std::tuple.163" }
%"class.std::tuple.163" = type { %"struct.std::_Tuple_impl.164" }
%"struct.std::_Tuple_impl.164" = type { %"struct.std::_Head_base.167" }
%"struct.std::_Head_base.167" = type { ptr }
%"class.std::unique_ptr.168" = type { %"struct.std::__uniq_ptr_data.169" }
%"struct.std::__uniq_ptr_data.169" = type { %"class.std::__uniq_ptr_impl.170" }
%"class.std::__uniq_ptr_impl.170" = type { %"class.std::tuple.171" }
%"class.std::tuple.171" = type { %"struct.std::_Tuple_impl.172" }
%"struct.std::_Tuple_impl.172" = type { %"struct.std::_Head_base.175" }
%"struct.std::_Head_base.175" = type { ptr }
%"class.std::unique_ptr.176" = type { %"struct.std::__uniq_ptr_data.177" }
%"struct.std::__uniq_ptr_data.177" = type { %"class.std::__uniq_ptr_impl.178" }
%"class.std::__uniq_ptr_impl.178" = type { %"class.std::tuple.179" }
%"class.std::tuple.179" = type { %"struct.std::_Tuple_impl.180" }
%"struct.std::_Tuple_impl.180" = type { %"struct.std::_Head_base.183" }
%"struct.std::_Head_base.183" = type { ptr }
%class.ReferencedState = type { %"struct.ReferencedState::InnerStruct", i32, %"struct.std::atomic.187" }
%"struct.ReferencedState::InnerStruct" = type <{ i8, i16, %union.anon.184 }>
%union.anon.184 = type { %struct.anon }
%struct.anon = type { i8 }
%"struct.std::atomic.187" = type { %"struct.std::__atomic_base.188" }
%"struct.std::__atomic_base.188" = type { ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.12 }
%"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.12 = type { ptr }
%"class.type_analyzer::Transform" = type { %"struct.type_analyzer::Transform::Config", %class.ConcurrentSet, %"class.std::vector.112", %"class.std::vector.117" }
%"struct.type_analyzer::Transform::Config" = type { i8, i8, i8 }
%class.ConcurrentSet = type { %class.ConcurrentContainer }
%class.ConcurrentContainer = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable"] }
%"class.cc_impl::ConcurrentHashtable" = type { %"struct.std::atomic", %"struct.std::atomic.106", %"struct.std::atomic.108", %"struct.std::atomic.110" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }
%"struct.std::atomic.106" = type { %"struct.std::__atomic_base.107" }
%"struct.std::__atomic_base.107" = type { i64 }
%"struct.std::atomic.108" = type { %"struct.std::__atomic_base.109" }
%"struct.std::__atomic_base.109" = type { i8 }
%"struct.std::atomic.110" = type { %"struct.std::__atomic_base.111" }
%"struct.std::__atomic_base.111" = type { ptr }
%"class.std::vector.112" = type { %"struct.std::_Vector_base.113" }
%"struct.std::_Vector_base.113" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.117" = type { %"struct.std::_Vector_base.118" }
%"struct.std::_Vector_base.118" = type { %"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::InstructionIteratorImpl<false>, std::allocator<cfg::InstructionIteratorImpl<false>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.21 = external hidden unnamed_addr constant [14 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: mustprogress uwtable
declare dso_local void @_ZN13type_analyzer9Transform28remove_redundant_null_checksERK18DexTypeEnvironmentPN3cfg5BlockERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

; 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 @_ZNK18DexTypeEnvironment3getEj(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13type_analyzer9Transform5applyERKNS_5local17LocalTypeAnalyzerERKNS_17WholeProgramStateEP9DexMethodRK12UnorderedSetIP12DexMethodRefSt4hashISC_ESt8equal_toISC_EE(ptr dead_on_unwind noalias writable sret(%"struct.type_analyzer::Transform::Stats") align 8 %0, ptr noundef nonnull align 8 dereferenceable(2720) %1, ptr noundef nonnull align 8 dereferenceable(320) %2, ptr noundef nonnull align 8 dereferenceable(321) %3, ptr noundef %4, ptr noundef nonnull align 8 dereferenceable(56) %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::vector.189", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %class.DexTypeEnvironment, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.ir_list::InstructionIterableImpl", align 8
  %25 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %26 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca %class.DexTypeDomain, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  store ptr %5, ptr %11, align 8, !tbaa !5
  %32 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %33)
  store ptr %34, ptr %12, align 8, !tbaa !5
  br label %35

35:                                               ; preds = %6
  %36 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 148, i32 noundef 4)
  br i1 %36, label %37, label %45

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_Z4showI9DexMethodRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef %38)
  %39 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 148, i32 noundef 4, i1 noundef zeroext false, ptr noundef @.str.21, ptr noundef %39)
          to label %40 unwind label %41

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

41:                                               ; preds = %37
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %14, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  br label %252

45:                                               ; preds = %40, %35
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  %48 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %0, i32 0, i32 0
  store i64 0, ptr %48, align 8, !tbaa !9
  %49 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %0, i32 0, i32 1
  store i64 0, ptr %49, align 8, !tbaa !12
  %50 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %0, i32 0, i32 2
  store i64 0, ptr %50, align 8, !tbaa !13
  %51 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %0, i32 0, i32 3
  store i64 0, ptr %51, align 8, !tbaa !14
  %52 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %0, i32 0, i32 4
  store i64 0, ptr %52, align 8, !tbaa !15
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %59

55:                                               ; preds = %47
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %class.DexMethod, ptr %56, i32 0, i32 8
  %58 = call noundef zeroext i1 @_ZNK15ReferencedState16no_optimizationsEv(ptr noundef nonnull align 8 dereferenceable(16) %57)
  br i1 %58, label %59, label %60

59:                                               ; preds = %55, %47
  store i32 1, ptr %16, align 4
  br label %251

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %61)
  call void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.189") align 8 %18, ptr noundef nonnull align 8 dereferenceable(160) %62)
  store ptr %18, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  %64 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #6
  %65 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %64, ptr %65, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %66 = load ptr, ptr %17, align 8, !tbaa !5
  %67 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %68 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %67, ptr %68, align 8
  br label %69

69:                                               ; preds = %245, %60
  %70 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br i1 %70, label %72, label %71

71:                                               ; preds = %69
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %249

72:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  store ptr %73, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #6
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load ptr, ptr %21, align 8, !tbaa !5
  %76 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNK6sparta7fp_impl29MonotonicFixpointIteratorBaseIN3cfg14GraphInterfaceE18DexTypeEnvironmentSt4hashIPNS2_5BlockEEE18get_entry_state_atERKS7_(ptr noundef nonnull align 8 dereferenceable(176) %74, ptr noundef nonnull align 8 dereferenceable(8) %75)
          to label %77 unwind label %82

77:                                               ; preds = %72
  invoke void @_ZN18DexTypeEnvironmentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(48) %76)
          to label %78 unwind label %82

78:                                               ; preds = %77
  %79 = invoke noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI18DexTypeEnvironmentJNS_19AbstractEnvironmentINS_15PatriciaTreeMapIj13DexTypeDomainNS_17TopValueInterfaceIS4_EEEEEENS2_INS3_IPK8DexFieldS4_S6_EEEENS2_INS3_IjNS_22ConstantAbstractDomainIbEENS5_ISF_EEEEEEEE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %80 unwind label %86

80:                                               ; preds = %78
  br i1 %79, label %81, label %90

81:                                               ; preds = %80
  store i32 5, ptr %16, align 4
  br label %239

82:                                               ; preds = %77, %72
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %14, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %15, align 4
  br label %248

86:                                               ; preds = %234, %78
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %14, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %15, align 4
  br label %247

90:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %91 = load ptr, ptr %21, align 8, !tbaa !5
  %92 = load ptr, ptr %91, align 8, !tbaa !5
  invoke void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIterableImpl") align 8 %24, ptr noundef %92)
          to label %93 unwind label %102

93:                                               ; preds = %90
  store ptr %24, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  %94 = load ptr, ptr %23, align 8, !tbaa !5
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %94)
          to label %95 unwind label %106

95:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %96 = load ptr, ptr %23, align 8, !tbaa !5
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %26, ptr noundef nonnull align 8 dereferenceable(16) %96)
          to label %97 unwind label %110

97:                                               ; preds = %95
  br label %98

98:                                               ; preds = %222, %97
  %99 = invoke noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %100 unwind label %110

100:                                              ; preds = %98
  br i1 %99, label %114, label %101

101:                                              ; preds = %100
  store i32 6, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %229

102:                                              ; preds = %90
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %14, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %15, align 4
  br label %228

106:                                              ; preds = %93
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %14, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %15, align 4
  br label %227

110:                                              ; preds = %220, %98, %95
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %14, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %15, align 4
  br label %226

114:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %115 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %116 unwind label %158

116:                                              ; preds = %114
  store ptr %115, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #6
  %117 = load ptr, ptr %21, align 8, !tbaa !5
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = load ptr, ptr %27, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorER15MethodItemEntry(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %28, ptr noundef nonnull align 8 dereferenceable(104) %118, ptr noundef nonnull align 8 dereferenceable(32) %119)
          to label %120 unwind label %162

120:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %121 = load ptr, ptr %27, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.MethodItemEntry, ptr %121, i32 0, i32 2
  %123 = load ptr, ptr %122, align 8, !tbaa !16
  store ptr %123, ptr %29, align 8, !tbaa !5
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = load ptr, ptr %29, align 8, !tbaa !5
  invoke void @_ZNK13type_analyzer5local17LocalTypeAnalyzer19analyze_instructionEPK13IRInstructionP18DexTypeEnvironment(ptr noundef nonnull align 8 dereferenceable(320) %124, ptr noundef %125, ptr noundef %22)
          to label %126 unwind label %166

126:                                              ; preds = %120
  %127 = getelementptr inbounds %"class.type_analyzer::Transform", ptr %32, i32 0, i32 0
  %128 = getelementptr inbounds %"struct.type_analyzer::Transform::Config", ptr %127, i32 0, i32 1
  %129 = load i8, ptr %128, align 1, !tbaa !17, !range !31, !noundef !32
  %130 = trunc i8 %129 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  br i1 %130, label %131, label %145

131:                                              ; preds = %126
  %132 = load ptr, ptr %29, align 8, !tbaa !5
  %133 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %132)
          to label %134 unwind label %166

134:                                              ; preds = %131
  %135 = zext i16 %133 to i32
  %136 = icmp eq i32 %135, 90
  br i1 %136, label %137, label %145

137:                                              ; preds = %134
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load ptr, ptr %29, align 8, !tbaa !5
  %140 = invoke noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %139)
          to label %141 unwind label %170

141:                                              ; preds = %137
  store ptr %140, ptr %30, align 8, !tbaa !5
  %142 = invoke noundef i64 @_ZNK12UnorderedSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %138, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %143 unwind label %170

143:                                              ; preds = %141
  %144 = icmp ne i64 %142, 0
  br label %145

145:                                              ; preds = %143, %134, %126
  %146 = phi i1 [ false, %134 ], [ false, %126 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br i1 %146, label %147, label %197

147:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 56, ptr %31) #6
  %148 = load ptr, ptr %29, align 8, !tbaa !5
  %149 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %148, i16 noundef zeroext 0)
          to label %150 unwind label %174

150:                                              ; preds = %147
  invoke void @_ZNK18DexTypeEnvironment3getEj(ptr dead_on_unwind writable sret(%class.DexTypeDomain) align 8 %31, ptr noundef nonnull align 8 dereferenceable(48) %22, i32 noundef %149)
          to label %151 unwind label %174

151:                                              ; preds = %150
  %152 = invoke noundef zeroext i1 @_ZNK6sparta27DirectProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE6is_topEv(ptr noundef nonnull align 8 dereferenceable(56) %31)
          to label %153 unwind label %178

153:                                              ; preds = %151
  br i1 %152, label %157, label %154

154:                                              ; preds = %153
  %155 = invoke noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(56) %31)
          to label %156 unwind label %178

156:                                              ; preds = %154
  br i1 %155, label %157, label %182

157:                                              ; preds = %156, %153
  store i32 7, ptr %16, align 4
  br label %193

158:                                              ; preds = %114
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %14, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %15, align 4
  br label %225

162:                                              ; preds = %116
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %14, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %15, align 4
  br label %224

166:                                              ; preds = %211, %208, %202, %131, %120
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %14, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %15, align 4
  br label %223

170:                                              ; preds = %141, %137
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %14, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %223

174:                                              ; preds = %150, %147
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %14, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %15, align 4
  br label %196

178:                                              ; preds = %185, %182, %154, %151
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %14, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %15, align 4
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %31) #6
  br label %196

182:                                              ; preds = %156
  %183 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %31)
          to label %184 unwind label %178

184:                                              ; preds = %182
  br i1 %183, label %185, label %192

185:                                              ; preds = %184
  %186 = getelementptr inbounds %"class.type_analyzer::Transform", ptr %32, i32 0, i32 3
  %187 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE12emplace_backIJRS2_EEES6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %186, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %188 unwind label %178

188:                                              ; preds = %185
  %189 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %0, i32 0, i32 2
  %190 = load i64, ptr %189, align 8, !tbaa !13
  %191 = add i64 %190, 1
  store i64 %191, ptr %189, align 8, !tbaa !13
  br label %192

192:                                              ; preds = %188, %184
  store i32 0, ptr %16, align 4
  br label %193

193:                                              ; preds = %192, %157
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %31) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #6
  %194 = load i32, ptr %16, align 4
  switch i32 %194, label %214 [
    i32 0, label %195
  ]

195:                                              ; preds = %193
  br label %197

196:                                              ; preds = %178, %174
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #6
  br label %223

197:                                              ; preds = %195, %145
  %198 = getelementptr inbounds %"class.type_analyzer::Transform", ptr %32, i32 0, i32 0
  %199 = getelementptr inbounds %"struct.type_analyzer::Transform::Config", ptr %198, i32 0, i32 2
  %200 = load i8, ptr %199, align 2, !tbaa !33, !range !31, !noundef !32
  %201 = trunc i8 %200 to i1
  br i1 %201, label %202, label %213

202:                                              ; preds = %197
  %203 = load ptr, ptr %29, align 8, !tbaa !5
  %204 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %203)
          to label %205 unwind label %166

205:                                              ; preds = %202
  %206 = zext i16 %204 to i32
  %207 = icmp eq i32 %206, 19
  br i1 %207, label %208, label %213

208:                                              ; preds = %205
  %209 = load ptr, ptr %12, align 8, !tbaa !5
  %210 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %209)
          to label %211 unwind label %166

211:                                              ; preds = %208
  invoke void @_ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720) %32, ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(160) %210, ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %212 unwind label %166

212:                                              ; preds = %211
  br label %213

213:                                              ; preds = %212, %205, %197
  store i32 0, ptr %16, align 4
  br label %214

214:                                              ; preds = %213, %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  %215 = load i32, ptr %16, align 4
  switch i32 %215, label %217 [
    i32 0, label %216
  ]

216:                                              ; preds = %214
  store i32 0, ptr %16, align 4
  br label %217

217:                                              ; preds = %216, %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  %218 = load i32, ptr %16, align 4
  switch i32 %218, label %258 [
    i32 0, label %219
    i32 7, label %220
  ]

219:                                              ; preds = %217
  br label %220

220:                                              ; preds = %219, %217
  %221 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7ir_list23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %222 unwind label %110

222:                                              ; preds = %220
  br label %98

223:                                              ; preds = %196, %170, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %224

224:                                              ; preds = %223, %162
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  br label %225

225:                                              ; preds = %224, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %226

226:                                              ; preds = %225, %110
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %227

227:                                              ; preds = %226, %106
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %228

228:                                              ; preds = %227, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %247

229:                                              ; preds = %101
  %230 = getelementptr inbounds %"class.type_analyzer::Transform", ptr %32, i32 0, i32 0
  %231 = getelementptr inbounds %"struct.type_analyzer::Transform::Config", ptr %230, i32 0, i32 0
  %232 = load i8, ptr %231, align 8, !tbaa !34, !range !31, !noundef !32
  %233 = trunc i8 %232 to i1
  br i1 %233, label %234, label %238

234:                                              ; preds = %229
  %235 = load ptr, ptr %21, align 8, !tbaa !5
  %236 = load ptr, ptr %235, align 8, !tbaa !5
  invoke void @_ZN13type_analyzer9Transform28remove_redundant_null_checksERK18DexTypeEnvironmentPN3cfg5BlockERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720) %32, ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef %236, ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %237 unwind label %86

237:                                              ; preds = %234
  br label %238

238:                                              ; preds = %237, %229
  store i32 0, ptr %16, align 4
  br label %239

239:                                              ; preds = %238, %81
  call void @_ZN6sparta28ReducedProductAbstractDomainI18DexTypeEnvironmentJNS_19AbstractEnvironmentINS_15PatriciaTreeMapIj13DexTypeDomainNS_17TopValueInterfaceIS4_EEEEEENS2_INS3_IPK8DexFieldS4_S6_EEEENS2_INS3_IjNS_22ConstantAbstractDomainIbEENS5_ISF_EEEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  %240 = load i32, ptr %16, align 4
  switch i32 %240, label %242 [
    i32 0, label %241
  ]

241:                                              ; preds = %239
  store i32 0, ptr %16, align 4
  br label %242

242:                                              ; preds = %241, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  %243 = load i32, ptr %16, align 4
  switch i32 %243, label %258 [
    i32 0, label %244
    i32 5, label %245
  ]

244:                                              ; preds = %242
  br label %245

245:                                              ; preds = %244, %242
  %246 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br label %69

247:                                              ; preds = %228, %86
  call void @_ZN6sparta28ReducedProductAbstractDomainI18DexTypeEnvironmentJNS_19AbstractEnvironmentINS_15PatriciaTreeMapIj13DexTypeDomainNS_17TopValueInterfaceIS4_EEEEEENS2_INS3_IPK8DexFieldS4_S6_EEEENS2_INS3_IjNS_22ConstantAbstractDomainIbEENS5_ISF_EEEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  br label %248

248:                                              ; preds = %247, %82
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %252

249:                                              ; preds = %71
  %250 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN13type_analyzer9Transform13apply_changesEP9DexMethod(ptr noundef nonnull align 8 dereferenceable(2720) %32, ptr noundef %250)
  store i32 1, ptr %16, align 4
  br label %251

251:                                              ; preds = %249, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  ret void

252:                                              ; preds = %248, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %253

253:                                              ; preds = %252
  %254 = load ptr, ptr %14, align 8
  %255 = load i32, ptr %15, align 4
  %256 = insertvalue { ptr, i32 } poison, ptr %254, 0
  %257 = insertvalue { ptr, i32 } %256, i32 %255, 1
  resume { ptr, i32 } %257

258:                                              ; preds = %242, %217
  unreachable
}

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

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

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

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

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

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

declare void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.189") 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)) #1 align 2

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

; 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)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK6sparta7fp_impl29MonotonicFixpointIteratorBaseIN3cfg14GraphInterfaceE18DexTypeEnvironmentSt4hashIPNS2_5BlockEEE18get_entry_state_atERKS7_(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI18DexTypeEnvironmentJNS_19AbstractEnvironmentINS_15PatriciaTreeMapIj13DexTypeDomainNS_17TopValueInterfaceIS4_EEEEEENS2_INS3_IPK8DexFieldS4_S6_EEEENS2_INS3_IjNS_22ConstantAbstractDomainIbEENS5_ISF_EEEEEEEE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(48)) #1 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) #5

; 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)) #2 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)) #2 align 2

; Function Attrs: mustprogress nounwind 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 noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

declare void @_ZNK13type_analyzer5local17LocalTypeAnalyzer19analyze_instructionEPK13IRInstructionP18DexTypeEnvironment(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef, ptr noundef) unnamed_addr #3

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress 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 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, !11, i64 0}
!10 = !{!"_ZTSN13type_analyzer9Transform5StatsE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!10, !11, i64 16}
!14 = !{!10, !11, i64 24}
!15 = !{!10, !11, i64 32}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !20, i64 1}
!18 = !{!"_ZTSN13type_analyzer9TransformE", !19, i64 0, !21, i64 8, !23, i64 2672, !27, i64 2696}
!19 = !{!"_ZTSN13type_analyzer9Transform6ConfigE", !20, i64 0, !20, i64 1, !20, i64 2}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTS13ConcurrentSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_ELm83EE", !22, i64 0}
!22 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE", !7, i64 8}
!23 = !{!"_ZTSSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!18, !20, i64 2}
!34 = !{!18, !20, i64 0}


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

%class.DexTypeDomain = type { %"class.sparta::ReducedProductAbstractDomain" }
%"class.sparta::ReducedProductAbstractDomain" = type { %"class.sparta::DirectProductAbstractDomain" }
%"class.sparta::DirectProductAbstractDomain" = type { %"class.std::tuple.33" }
%"class.std::tuple.33" = type { %"struct.std::_Tuple_impl.base", [7 x i8] }
%"struct.std::_Tuple_impl.base" = type <{ %"struct.std::_Tuple_impl.35", %"struct.std::_Head_base.45" }>
%"struct.std::_Tuple_impl.35" = type { %"struct.std::_Tuple_impl.36", %"struct.std::_Head_base.44" }
%"struct.std::_Tuple_impl.36" = type { %"struct.std::_Tuple_impl.37", %"struct.std::_Head_base.41" }
%"struct.std::_Tuple_impl.37" = type { %"struct.std::_Head_base.38" }
%"struct.std::_Head_base.38" = type { %class.SingletonDexTypeDomain }
%class.SingletonDexTypeDomain = type { %"class.sparta::AbstractDomainScaffolding" }
%"class.sparta::AbstractDomainScaffolding" = type { i32, %"class.dtv_impl::DexTypeValue" }
%"class.dtv_impl::DexTypeValue" = type { ptr }
%"struct.std::_Head_base.41" = type { %class.SmallSetDexTypeDomain }
%class.SmallSetDexTypeDomain = type <{ %"class.sparta::PatriciaTreeSet", i32, [4 x i8] }>
%"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 }
%"struct.std::_Head_base.44" = type { %class.SingletonDexTypeDomain }
%"struct.std::_Head_base.45" = type { %"class.sparta::FiniteAbstractDomain" }
%"class.sparta::FiniteAbstractDomain" = type { %"class.boost::multiprecision::number" }
%"class.boost::multiprecision::number" = type { %"struct.boost::multiprecision::backends::cpp_int_backend" }
%"struct.boost::multiprecision::backends::cpp_int_backend" = type { %"struct.boost::multiprecision::backends::cpp_int_base" }
%"struct.boost::multiprecision::backends::cpp_int_base" = type { i8 }
%"struct.type_analyzer::Transform::Stats" = type { i64, i64, i64, i64, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.189" = type { %"struct.std::_Vector_base.190" }
%"struct.std::_Vector_base.190" = 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.DexTypeEnvironment = type { %"class.sparta::ReducedProductAbstractDomain.48" }
%"class.sparta::ReducedProductAbstractDomain.48" = type { %"class.sparta::DirectProductAbstractDomain.49" }
%"class.sparta::DirectProductAbstractDomain.49" = type { %"class.std::tuple.52" }
%"class.std::tuple.52" = type { %"struct.std::_Tuple_impl.53" }
%"struct.std::_Tuple_impl.53" = type { %"struct.std::_Tuple_impl.54", %"struct.std::_Head_base.85" }
%"struct.std::_Tuple_impl.54" = type { %"struct.std::_Tuple_impl.55", %"struct.std::_Head_base.66" }
%"struct.std::_Tuple_impl.55" = type { %"struct.std::_Head_base.56" }
%"struct.std::_Head_base.56" = type { %"class.sparta::AbstractEnvironment" }
%"class.sparta::AbstractEnvironment" = type { %"class.sparta::AbstractDomainScaffolding.57" }
%"class.sparta::AbstractDomainScaffolding.57" = type { i32, %"class.sparta::environment_impl::MapValue" }
%"class.sparta::environment_impl::MapValue" = type { %"class.sparta::PatriciaTreeMap" }
%"class.sparta::PatriciaTreeMap" = type { %"class.sparta::pt_core::PatriciaTreeCore.64" }
%"class.sparta::pt_core::PatriciaTreeCore.64" = type { %"class.boost::intrusive_ptr.65" }
%"class.boost::intrusive_ptr.65" = type { ptr }
%"struct.std::_Head_base.66" = type { %"class.sparta::AbstractEnvironment.67" }
%"class.sparta::AbstractEnvironment.67" = type { %"class.sparta::AbstractDomainScaffolding.68" }
%"class.sparta::AbstractDomainScaffolding.68" = type { i32, %"class.sparta::environment_impl::MapValue.73" }
%"class.sparta::environment_impl::MapValue.73" = type { %"class.sparta::PatriciaTreeMap.76" }
%"class.sparta::PatriciaTreeMap.76" = type { %"class.sparta::pt_core::PatriciaTreeCore.81" }
%"class.sparta::pt_core::PatriciaTreeCore.81" = type { %"class.boost::intrusive_ptr.82" }
%"class.boost::intrusive_ptr.82" = type { ptr }
%"struct.std::_Head_base.85" = type { %"class.sparta::AbstractEnvironment.86" }
%"class.sparta::AbstractEnvironment.86" = type { %"class.sparta::AbstractDomainScaffolding.87" }
%"class.sparta::AbstractDomainScaffolding.87" = type { i32, %"class.sparta::environment_impl::MapValue.92" }
%"class.sparta::environment_impl::MapValue.92" = type { %"class.sparta::PatriciaTreeMap.95" }
%"class.sparta::PatriciaTreeMap.95" = type { %"class.sparta::pt_core::PatriciaTreeCore.100" }
%"class.sparta::pt_core::PatriciaTreeCore.100" = type { %"class.boost::intrusive_ptr.101" }
%"class.boost::intrusive_ptr.101" = 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 }

@.str.21 = external hidden unnamed_addr constant [14 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: mustprogress uwtable
declare dso_local void @_ZN13type_analyzer9Transform28remove_redundant_null_checksERK18DexTypeEnvironmentPN3cfg5BlockERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

; 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 @_ZNK18DexTypeEnvironment3getEj(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13type_analyzer9Transform5applyERKNS_5local17LocalTypeAnalyzerERKNS_17WholeProgramStateEP9DexMethodRK12UnorderedSetIP12DexMethodRefSt4hashISC_ESt8equal_toISC_EE(ptr dead_on_unwind noalias writable sret(%"struct.type_analyzer::Transform::Stats") align 8 %0, ptr noundef nonnull align 8 dereferenceable(2720) %1, ptr noundef nonnull align 8 dereferenceable(320) %2, ptr nocapture noundef nonnull readnone align 8 dereferenceable(321) %3, ptr noundef nonnull %4, ptr noundef nonnull align 8 dereferenceable(56) %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::vector.189", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %class.DexTypeEnvironment, align 8
  %12 = alloca %"class.ir_list::InstructionIterableImpl", align 8
  %13 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %14 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %15 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %class.DexTypeDomain, align 8
  %18 = tail call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %19 = tail call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 148, i32 noundef 4)
  br i1 %19, label %20, label %25

20:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  call void @_Z4showI9DexMethodRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull %4)
  %21 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 148, i32 noundef 4, i1 noundef zeroext false, ptr noundef nonnull @.str.21, ptr noundef %21)
          to label %22 unwind label %23

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

23:                                               ; preds = %20
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %130

25:                                               ; preds = %22, %6
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %.not = icmp eq ptr %18, null
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %0, i8 0, i64 40, i1 false)
  br i1 %.not, label %129, label %27

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %4, i64 72
  %29 = call noundef zeroext i1 @_ZNK15ReferencedState16no_optimizationsEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  br i1 %29, label %129, label %30

30:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  %31 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
  call void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.189") align 8 %8, ptr noundef nonnull align 8 dereferenceable(160) %31)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %32 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  store ptr %32, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %33 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  store ptr %33, ptr %10, align 8
  %34 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %34, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %30
  %35 = getelementptr inbounds i8, ptr %1, i64 1
  %36 = getelementptr inbounds i8, ptr %1, i64 2696
  %37 = getelementptr inbounds i8, ptr %1, i64 2
  br label %38

._crit_edge:                                      ; preds = %124, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN13type_analyzer9Transform13apply_changesEP9DexMethod(ptr noundef nonnull align 8 dereferenceable(2720) %1, ptr noundef nonnull %4)
  br label %129

38:                                               ; preds = %.lr.ph, %124
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #7
  %40 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNK6sparta7fp_impl29MonotonicFixpointIteratorBaseIN3cfg14GraphInterfaceE18DexTypeEnvironmentSt4hashIPNS2_5BlockEEE18get_entry_state_atERKS7_(ptr noundef nonnull align 8 dereferenceable(176) %2, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %41 unwind label %44

41:                                               ; preds = %38
  invoke void @_ZN18DexTypeEnvironmentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %42 unwind label %44

42:                                               ; preds = %41
  %43 = call noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI18DexTypeEnvironmentJNS_19AbstractEnvironmentINS_15PatriciaTreeMapIj13DexTypeDomainNS_17TopValueInterfaceIS4_EEEEEENS2_INS3_IPK8DexFieldS4_S6_EEEENS2_INS3_IjNS_22ConstantAbstractDomainIbEENS5_ISF_EEEEEEEE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(48) %11)
  br i1 %43, label %124, label %48

44:                                               ; preds = %41, %38
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %128

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

48:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  %49 = load ptr, ptr %39, align 8, !tbaa !5
  invoke void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIterableImpl") align 8 %12, ptr noundef %49)
          to label %50 unwind label %56

50:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %51 unwind label %58

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %14, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %51, %117
  %52 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %14)
  br i1 %52, label %60, label %53

53:                                               ; preds = %.preheader
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  %54 = load i8, ptr %1, align 8, !tbaa !9, !range !23, !noundef !24
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %122, label %124

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

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

.loopexit:                                        ; preds = %117
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %120

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

60:                                               ; preds = %.preheader
  %61 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %62 unwind label %87

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  %63 = load ptr, ptr %39, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorER15MethodItemEntry(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %15, ptr noundef nonnull align 8 dereferenceable(104) %63, ptr noundef nonnull align 8 dereferenceable(32) %61)
          to label %64 unwind label %89

64:                                               ; preds = %62
  %65 = getelementptr inbounds i8, ptr %61, i64 24
  %66 = load ptr, ptr %65, align 8, !tbaa !25
  invoke void @_ZNK13type_analyzer5local17LocalTypeAnalyzer19analyze_instructionEPK13IRInstructionP18DexTypeEnvironment(ptr noundef nonnull align 8 dereferenceable(320) %2, ptr noundef %66, ptr noundef nonnull %11)
          to label %67 unwind label %91

67:                                               ; preds = %64
  %68 = load i8, ptr %35, align 1, !tbaa !26, !range !23, !noundef !24
  %69 = trunc nuw i8 %68 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  br i1 %69, label %70, label %.critedge

70:                                               ; preds = %67
  %71 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
  %72 = icmp eq i16 %71, 90
  br i1 %72, label %73, label %.critedge

73:                                               ; preds = %70
  %74 = invoke noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %75 unwind label %93

75:                                               ; preds = %73
  store ptr %74, ptr %16, align 8, !tbaa !5
  %76 = invoke noundef i64 @_ZNK12UnorderedSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %77 unwind label %93

77:                                               ; preds = %75
  %.not47 = icmp eq i64 %76, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br i1 %.not47, label %109, label %78

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %17) #7
  %79 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %66, i16 noundef zeroext 0)
          to label %80 unwind label %95

80:                                               ; preds = %78
  invoke void @_ZNK18DexTypeEnvironment3getEj(ptr dead_on_unwind nonnull writable sret(%class.DexTypeDomain) align 8 %17, ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %79)
          to label %81 unwind label %95

81:                                               ; preds = %80
  %82 = invoke noundef zeroext i1 @_ZNK6sparta27DirectProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE6is_topEv(ptr noundef nonnull align 8 dereferenceable(56) %17)
          to label %83 unwind label %97

83:                                               ; preds = %81
  br i1 %82, label %.critedge61, label %84

84:                                               ; preds = %83
  %85 = invoke noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(56) %17)
          to label %86 unwind label %97

86:                                               ; preds = %84
  br i1 %85, label %.critedge61, label %99

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

89:                                               ; preds = %62
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %119

91:                                               ; preds = %115, %64
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %119

93:                                               ; preds = %75, %73
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %119

95:                                               ; preds = %80, %78
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %108

97:                                               ; preds = %102, %99, %84, %81
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #7
  br label %108

99:                                               ; preds = %86
  %100 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %17)
          to label %101 unwind label %97

101:                                              ; preds = %99
  br i1 %100, label %102, label %107

102:                                              ; preds = %101
  %103 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE12emplace_backIJRS2_EEES6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %104 unwind label %97

104:                                              ; preds = %102
  %105 = load i64, ptr %26, align 8, !tbaa !27
  %106 = add i64 %105, 1
  store i64 %106, ptr %26, align 8, !tbaa !27
  br label %107

107:                                              ; preds = %101, %104
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %17) #7
  br label %109

108:                                              ; preds = %97, %95
  %.pn = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %17) #7
  br label %119

.critedge:                                        ; preds = %67, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %109

109:                                              ; preds = %107, %.critedge, %77
  %110 = load i8, ptr %37, align 2, !tbaa !30, !range !23, !noundef !24
  %111 = trunc nuw i8 %110 to i1
  br i1 %111, label %112, label %117

112:                                              ; preds = %109
  %113 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
  %114 = icmp eq i16 %113, 19
  br i1 %114, label %115, label %117

115:                                              ; preds = %112
  %116 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
  invoke void @_ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720) %1, ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(160) %116, ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %117 unwind label %91

.critedge61:                                      ; preds = %83, %86
  call void @_ZN6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %17) #7
  br label %117

117:                                              ; preds = %109, %112, %115, %.critedge61
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  %118 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7ir_list23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %.preheader unwind label %.loopexit

119:                                              ; preds = %91, %93, %108, %89
  %.pn49.pn = phi { ptr, i32 } [ %90, %89 ], [ %92, %91 ], [ %.pn, %108 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br label %120

120:                                              ; preds = %.loopexit, %.loopexit.split-lp, %87, %119
  %.pn53 = phi { ptr, i32 } [ %.pn49.pn, %119 ], [ %88, %87 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  br label %121

121:                                              ; preds = %120, %58
  %.pn53.pn = phi { ptr, i32 } [ %.pn53, %120 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %127

122:                                              ; preds = %53
  %123 = load ptr, ptr %39, align 8, !tbaa !5
  invoke void @_ZN13type_analyzer9Transform28remove_redundant_null_checksERK18DexTypeEnvironmentPN3cfg5BlockERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720) %1, ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef %123, ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %124 unwind label %46

124:                                              ; preds = %53, %122, %42
  call void @_ZN6sparta28ReducedProductAbstractDomainI18DexTypeEnvironmentJNS_19AbstractEnvironmentINS_15PatriciaTreeMapIj13DexTypeDomainNS_17TopValueInterfaceIS4_EEEEEENS2_INS3_IPK8DexFieldS4_S6_EEEENS2_INS3_IjNS_22ConstantAbstractDomainIbEENS5_ISF_EEEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #7
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %126 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %126, label %38, label %._crit_edge

127:                                              ; preds = %56, %121, %46
  %.pn53.pn.pn.pn = phi { ptr, i32 } [ %47, %46 ], [ %.pn53.pn, %121 ], [ %57, %56 ]
  call void @_ZN6sparta28ReducedProductAbstractDomainI18DexTypeEnvironmentJNS_19AbstractEnvironmentINS_15PatriciaTreeMapIj13DexTypeDomainNS_17TopValueInterfaceIS4_EEEEEENS2_INS3_IPK8DexFieldS4_S6_EEEENS2_INS3_IjNS_22ConstantAbstractDomainIbEENS5_ISF_EEEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  br label %128

128:                                              ; preds = %127, %44
  %.pn53.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn53.pn.pn.pn, %127 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  br label %130

129:                                              ; preds = %25, %27, %._crit_edge
  ret void

130:                                              ; preds = %128, %23
  %.pn53.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn53.pn.pn.pn.pn, %128 ], [ %24, %23 ]
  resume { ptr, i32 } %.pn53.pn.pn.pn.pn.pn
}

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

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

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

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

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

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

declare void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.189") 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 #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 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 #4

; 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 #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK6sparta7fp_impl29MonotonicFixpointIteratorBaseIN3cfg14GraphInterfaceE18DexTypeEnvironmentSt4hashIPNS2_5BlockEEE18get_entry_state_atERKS7_(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI18DexTypeEnvironmentJNS_19AbstractEnvironmentINS_15PatriciaTreeMapIj13DexTypeDomainNS_17TopValueInterfaceIS4_EEEEEENS2_INS3_IPK8DexFieldS4_S6_EEEENS2_INS3_IjNS_22ConstantAbstractDomainIbEENS5_ISF_EEEEEEEE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 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 #5

; 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 #2 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 #2 align 2

; Function Attrs: mustprogress nounwind 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 noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

declare void @_ZNK13type_analyzer5local17LocalTypeAnalyzer19analyze_instructionEPK13IRInstructionP18DexTypeEnvironment(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef, ptr noundef) unnamed_addr #3

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"_ZTSN13type_analyzer9TransformE", !11, i64 0, !13, i64 8, !15, i64 2672, !19, i64 2696}
!11 = !{!"_ZTSN13type_analyzer9Transform6ConfigE", !12, i64 0, !12, i64 1, !12, i64 2}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTS13ConcurrentSetIP9DexMethodSt4hashIS1_ESt8equal_toIS1_ELm83EE", !14, i64 0}
!14 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIP9DexMethodSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE", !7, i64 8}
!15 = !{!"_ZTSSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!7, !7, i64 0}
!26 = !{!10, !12, i64 1}
!27 = !{!28, !29, i64 16}
!28 = !{!"_ZTSN13type_analyzer9Transform5StatsE", !29, i64 0, !29, i64 8, !29, i64 16, !29, i64 24, !29, i64 32}
!29 = !{!"long", !7, i64 0}
!30 = !{!10, !12, i64 2}


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