; 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 }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = 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.boost::optional" = type { %"class.boost::optional_detail::tc_optional_base" }
%"class.boost::optional_detail::tc_optional_base" = type { i8, ptr }
%"struct.std::pair.122" = type { %"class.cfg::InstructionIteratorImpl", ptr }
%"class.boost::optional.150" = type { %"class.boost::optional_detail::tc_optional_base.151" }
%"class.boost::optional_detail::tc_optional_base.151" = type { i8, i32 }
%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 }
%"struct.type_analyzer::Transform::Stats" = type { i64, i64, i64, i64, i64 }

@.str.17 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE = external hidden unnamed_addr constant [150 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [53 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

declare void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(40) %4) #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %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 %"class.cfg::InstructionIteratorImpl", align 8
  %13 = alloca %class.DexTypeDomain, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"class.boost::optional", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.std::pair.122", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.boost::optional.150", align 4
  %22 = alloca ptr, align 8
  %23 = alloca %"struct.std::pair.122", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.boost::optional.150", align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  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
  %26 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = call noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
  %29 = getelementptr inbounds %struct.MethodItemEntry, ptr %28, i32 0, i32 2
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  store ptr %30, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #9
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %12, ptr noundef nonnull align 8 dereferenceable(160) %31, ptr noundef nonnull align 8 dereferenceable(32) %32)
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %33)
  %35 = zext i16 %34 to i32
  %36 = icmp eq i32 %35, 19
  br i1 %36, label %37, label %38

37:                                               ; preds = %5
  br label %40

38:                                               ; preds = %5
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.17, ptr noundef @.str.18, i32 noundef 111, ptr noundef @__PRETTY_FUNCTION__._ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE, i32 noundef 2, ptr noundef @.str.19) #10
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39, %37
  %41 = call noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  %42 = getelementptr inbounds %struct.MethodItemEntry, ptr %41, i32 0, i32 2
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %43)
  %45 = call noundef zeroext i1 @_ZN6opcode18is_move_result_anyE8IROpcode(i16 noundef zeroext %44)
  br i1 %45, label %46, label %47

46:                                               ; preds = %40
  br label %49

47:                                               ; preds = %40
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.20, ptr noundef @.str.18, i32 noundef 112, ptr noundef @__PRETTY_FUNCTION__._ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE, i32 noundef 2, ptr noundef @.str.19) #10
  unreachable

48:                                               ; No predecessors!
  br label %49

49:                                               ; preds = %48, %46
  call void @llvm.lifetime.start.p0(i64 56, ptr %13) #9
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %51, i16 noundef zeroext 0)
  call void @_ZNK18DexTypeEnvironment3getEj(ptr dead_on_unwind writable sret(%class.DexTypeDomain) align 8 %13, ptr noundef nonnull align 8 dereferenceable(48) %50, i32 noundef %52)
  %53 = 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) %13)
          to label %54 unwind label %59

54:                                               ; preds = %49
  br i1 %53, label %58, label %55

55:                                               ; preds = %54
  %56 = 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) %13)
          to label %57 unwind label %59

57:                                               ; preds = %55
  br i1 %56, label %58, label %63

58:                                               ; preds = %57, %54
  store i32 1, ptr %16, align 4
  br label %220

59:                                               ; preds = %55, %49
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %14, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %15, align 4
  br label %224

63:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %64 = invoke { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56) %13)
          to label %65 unwind label %96

65:                                               ; preds = %63
  %66 = getelementptr inbounds %"class.boost::optional", ptr %17, i32 0, i32 0
  %67 = getelementptr inbounds { i8, ptr }, ptr %66, i32 0, i32 0
  %68 = extractvalue { i8, ptr } %64, 0
  store i8 %68, ptr %67, align 8
  %69 = getelementptr inbounds { i8, ptr }, ptr %66, i32 0, i32 1
  %70 = extractvalue { i8, ptr } %64, 1
  store ptr %70, ptr %69, align 8
  %71 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain7is_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %13)
          to label %72 unwind label %96

72:                                               ; preds = %65
  br i1 %71, label %73, label %113

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %74 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %75 unwind label %100

75:                                               ; preds = %73
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %74, i16 noundef zeroext 12)
          to label %76 unwind label %104

76:                                               ; preds = %75
  store ptr %74, ptr %18, align 8, !tbaa !5
  %77 = load ptr, ptr %18, align 8, !tbaa !5
  %78 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %77, i64 noundef 0)
          to label %79 unwind label %100

79:                                               ; preds = %76
  %80 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %81 unwind label %100

81:                                               ; preds = %79
  %82 = getelementptr inbounds %struct.MethodItemEntry, ptr %80, i32 0, i32 2
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %83)
          to label %85 unwind label %100

85:                                               ; preds = %81
  %86 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %78, i32 noundef %84)
          to label %87 unwind label %100

87:                                               ; preds = %85
  %88 = getelementptr inbounds %"class.type_analyzer::Transform", ptr %26, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #9
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZNSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionEC2IRS2_RS4_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISA_SB_EEEbE4typeELb1EEEOSA_OSB_(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %90 unwind label %108

90:                                               ; preds = %87
  invoke void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 8 dereferenceable(40) %19)
          to label %91 unwind label %108

91:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #9
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %92, i32 0, i32 3
  %94 = load i64, ptr %93, align 8, !tbaa !10
  %95 = add i64 %94, 1
  store i64 %95, ptr %93, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %218

96:                                               ; preds = %184, %113, %65, %63
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %14, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %15, align 4
  br label %223

100:                                              ; preds = %85, %81, %79, %76, %73
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %14, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %15, align 4
  br label %112

104:                                              ; preds = %75
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %14, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %74, i64 noundef 32) #12
  br label %112

108:                                              ; preds = %90, %87
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %14, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #9
  br label %112

112:                                              ; preds = %108, %104, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %223

113:                                              ; preds = %72
  %114 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %13)
          to label %115 unwind label %96

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

116:                                              ; preds = %115
  %117 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  br i1 %117, label %118, label %184

118:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %120 unwind label %131

120:                                              ; preds = %118
  %121 = load ptr, ptr %119, align 8, !tbaa !5
  store ptr %121, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %122 = load ptr, ptr %20, align 8, !tbaa !5
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = invoke noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %123)
          to label %125 unwind label %135

125:                                              ; preds = %120
  %126 = invoke i64 @_ZN4type19evaluate_type_checkEPK7DexTypeS2_(ptr noundef %122, ptr noundef %124)
          to label %127 unwind label %135

127:                                              ; preds = %125
  %128 = getelementptr inbounds %"class.boost::optional.150", ptr %21, i32 0, i32 0
  store i64 %126, ptr %128, align 4
  %129 = call noundef zeroext i1 @_ZNK5boost8optionalIiEntEv(ptr noundef nonnull align 4 dereferenceable(8) %21) #9
  br i1 %129, label %130, label %139

130:                                              ; preds = %127
  store i32 1, ptr %16, align 4
  br label %166

131:                                              ; preds = %118
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %14, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %15, align 4
  br label %183

135:                                              ; preds = %125, %120
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %14, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %15, align 4
  br label %182

139:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %140 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %141 unwind label %169

141:                                              ; preds = %139
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %140, i16 noundef zeroext 12)
          to label %142 unwind label %173

142:                                              ; preds = %141
  store ptr %140, ptr %22, align 8, !tbaa !5
  %143 = load ptr, ptr %22, align 8, !tbaa !5
  %144 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNR5boost8optionalIiEdeEv(ptr noundef nonnull align 4 dereferenceable(8) %21)
          to label %145 unwind label %169

145:                                              ; preds = %142
  %146 = load i32, ptr %144, align 4, !tbaa !13
  %147 = sext i32 %146 to i64
  %148 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %143, i64 noundef %147)
          to label %149 unwind label %169

149:                                              ; preds = %145
  %150 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %151 unwind label %169

151:                                              ; preds = %149
  %152 = getelementptr inbounds %struct.MethodItemEntry, ptr %150, i32 0, i32 2
  %153 = load ptr, ptr %152, align 8, !tbaa !9
  %154 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %153)
          to label %155 unwind label %169

155:                                              ; preds = %151
  %156 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %148, i32 noundef %154)
          to label %157 unwind label %169

157:                                              ; preds = %155
  %158 = getelementptr inbounds %"class.type_analyzer::Transform", ptr %26, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #9
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZNSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionEC2IRS2_RS4_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISA_SB_EEEbE4typeELb1EEEOSA_OSB_(ptr noundef nonnull align 8 dereferenceable(40) %23, ptr noundef nonnull align 8 dereferenceable(32) %159, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %160 unwind label %177

160:                                              ; preds = %157
  invoke void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %158, ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %161 unwind label %177

161:                                              ; preds = %160
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #9
  %162 = load ptr, ptr %10, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %162, i32 0, i32 3
  %164 = load i64, ptr %163, align 8, !tbaa !10
  %165 = add i64 %164, 1
  store i64 %165, ptr %163, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  store i32 0, ptr %16, align 4
  br label %166

166:                                              ; preds = %161, %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  %167 = load i32, ptr %16, align 4
  switch i32 %167, label %219 [
    i32 0, label %168
  ]

168:                                              ; preds = %166
  br label %217

169:                                              ; preds = %155, %151, %149, %145, %142, %139
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %14, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %15, align 4
  br label %181

173:                                              ; preds = %141
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %14, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %140, i64 noundef 32) #12
  br label %181

177:                                              ; preds = %160, %157
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %14, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #9
  br label %181

181:                                              ; preds = %177, %173, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %182

182:                                              ; preds = %181, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %183

183:                                              ; preds = %182, %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %223

184:                                              ; preds = %116, %115
  %185 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_nullableEv(ptr noundef nonnull align 8 dereferenceable(56) %13)
          to label %186 unwind label %96

186:                                              ; preds = %184
  br i1 %185, label %187, label %216

187:                                              ; preds = %186
  %188 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  br i1 %188, label %189, label %216

189:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %191 unwind label %206

191:                                              ; preds = %189
  %192 = load ptr, ptr %190, align 8, !tbaa !5
  store ptr %192, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %193 = load ptr, ptr %24, align 8, !tbaa !5
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = invoke noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %194)
          to label %196 unwind label %210

196:                                              ; preds = %191
  %197 = invoke i64 @_ZN4type19evaluate_type_checkEPK7DexTypeS2_(ptr noundef %193, ptr noundef %195)
          to label %198 unwind label %210

198:                                              ; preds = %196
  %199 = getelementptr inbounds %"class.boost::optional.150", ptr %25, i32 0, i32 0
  store i64 %197, ptr %199, align 4
  %200 = call noundef zeroext i1 @_ZNK5boost8optionalIiEcvbEv(ptr noundef nonnull align 4 dereferenceable(8) %25) #9
  br i1 %200, label %201, label %214

201:                                              ; preds = %198
  %202 = load ptr, ptr %10, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.type_analyzer::Transform::Stats", ptr %202, i32 0, i32 4
  %204 = load i64, ptr %203, align 8, !tbaa !15
  %205 = add i64 %204, 1
  store i64 %205, ptr %203, align 8, !tbaa !15
  br label %214

206:                                              ; preds = %189
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %14, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %15, align 4
  br label %215

210:                                              ; preds = %196, %191
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %14, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %215

214:                                              ; preds = %201, %198
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %216

215:                                              ; preds = %210, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %223

216:                                              ; preds = %214, %187, %186
  br label %217

217:                                              ; preds = %216, %168
  br label %218

218:                                              ; preds = %217, %91
  store i32 0, ptr %16, align 4
  br label %219

219:                                              ; preds = %218, %166
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %220

220:                                              ; preds = %219, %58
  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) %13) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  %221 = load i32, ptr %16, align 4
  switch i32 %221, label %230 [
    i32 0, label %222
    i32 1, label %222
  ]

222:                                              ; preds = %220, %220
  ret void

223:                                              ; preds = %215, %183, %112, %96
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %224

224:                                              ; preds = %223, %59
  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) %13) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %225

225:                                              ; preds = %224
  %226 = load ptr, ptr %14, align 8
  %227 = load i32, ptr %15, align 4
  %228 = insertvalue { ptr, i32 } poison, ptr %226, 0
  %229 = insertvalue { ptr, i32 } %228, i32 %227, 1
  resume { ptr, i32 } %229

230:                                              ; preds = %220
  unreachable
}

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

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

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

declare noundef zeroext i1 @_ZN6opcode18is_move_result_anyE8IROpcode(i16 noundef zeroext) #3

; 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 { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56)) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionEC2IRS2_RS4_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISA_SB_EEEbE4typeELb1EEEOSA_OSB_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) 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)) #2 align 2

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

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

declare i64 @_ZN4type19evaluate_type_checkEPK7DexTypeS2_(ptr noundef, ptr noundef) #3

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost8optionalIiEcvbEv(ptr noundef nonnull align 4 dereferenceable(8)) #8 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 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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 = !{!7, !7, i64 0}
!10 = !{!11, !12, i64 24}
!11 = !{!"_ZTSN13type_analyzer9Transform5StatsE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!11, !12, i64 32}


; 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 }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = 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.boost::optional" = type { %"class.boost::optional_detail::tc_optional_base" }
%"class.boost::optional_detail::tc_optional_base" = type { i8, ptr }
%"struct.std::pair.122" = type { %"class.cfg::InstructionIteratorImpl", ptr }
%"class.boost::optional.150" = type { %"class.boost::optional_detail::tc_optional_base.151" }
%"class.boost::optional_detail::tc_optional_base.151" = type { i8, i32 }

@.str.17 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE = external hidden unnamed_addr constant [150 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [53 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

declare void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE(ptr noundef nonnull align 8 dereferenceable(2720) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(160) %3, ptr nocapture noundef nonnull align 8 dereferenceable(40) %4) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %7 = alloca %class.DexTypeDomain, align 8
  %8 = alloca %"class.boost::optional", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.std::pair.122", align 8
  %11 = alloca %"class.boost::optional.150", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::pair.122", align 8
  %14 = alloca %"class.boost::optional.150", align 8
  %15 = tail call noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %16 = getelementptr inbounds i8, ptr %15, i64 24
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #9
  call void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %6, ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %2)
  %18 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
  %19 = icmp eq i16 %18, 19
  br i1 %19, label %21, label %20

20:                                               ; preds = %5
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.18, i32 noundef 111, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE, i32 noundef 2, ptr noundef nonnull @.str.19) #10
  unreachable

21:                                               ; preds = %5
  %22 = call noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %23 = getelementptr inbounds i8, ptr %22, i64 24
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %25 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %24)
  %26 = call noundef zeroext i1 @_ZN6opcode18is_move_result_anyE8IROpcode(i16 noundef zeroext %25)
  br i1 %26, label %28, label %27

27:                                               ; preds = %21
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.18, i32 noundef 112, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN13type_analyzer9Transform28remove_redundant_type_checksERK18DexTypeEnvironmentRN3cfg23InstructionIteratorImplILb0EEERNS4_16ControlFlowGraphERNS0_5StatsE, i32 noundef 2, ptr noundef nonnull @.str.19) #10
  unreachable

28:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #9
  %29 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %17, i16 noundef zeroext 0)
  call void @_ZNK18DexTypeEnvironment3getEj(ptr dead_on_unwind nonnull writable sret(%class.DexTypeDomain) align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %29)
  %30 = 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) %7)
          to label %31 unwind label %35

31:                                               ; preds = %28
  br i1 %30, label %148, label %32

32:                                               ; preds = %31
  %33 = 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) %7)
          to label %34 unwind label %35

34:                                               ; preds = %32
  br i1 %33, label %148, label %37

35:                                               ; preds = %32, %28
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %150

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  %38 = invoke { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %39 unwind label %65

39:                                               ; preds = %37
  %40 = extractvalue { i8, ptr } %38, 0
  store i8 %40, ptr %8, align 8
  %41 = getelementptr inbounds i8, ptr %8, i64 8
  %42 = extractvalue { i8, ptr } %38, 1
  store ptr %42, ptr %41, align 8
  %43 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain7is_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %44 unwind label %65

44:                                               ; preds = %39
  br i1 %43, label %45, label %74

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %46 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %47 unwind label %67

47:                                               ; preds = %45
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %46, i16 noundef zeroext 12)
          to label %48 unwind label %69

48:                                               ; preds = %47
  store ptr %46, ptr %9, align 8, !tbaa !8
  %49 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %46, i64 noundef 0)
          to label %50 unwind label %67

50:                                               ; preds = %48
  %51 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %52 unwind label %67

52:                                               ; preds = %50
  %53 = getelementptr inbounds i8, ptr %51, i64 24
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %56 unwind label %67

56:                                               ; preds = %52
  %57 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %49, i32 noundef %55)
          to label %58 unwind label %67

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #9
  invoke void @_ZNSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionEC2IRS2_RS4_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISA_SB_EEEbE4typeELb1EEEOSA_OSB_(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %59 unwind label %71

59:                                               ; preds = %58
  %60 = getelementptr inbounds i8, ptr %0, i64 2672
  invoke void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %61 unwind label %71

61:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #9
  %62 = getelementptr inbounds i8, ptr %4, i64 24
  %63 = load i64, ptr %62, align 8, !tbaa !10
  %64 = add i64 %63, 1
  store i64 %64, ptr %62, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %147

65:                                               ; preds = %124, %74, %39, %37
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %149

67:                                               ; preds = %56, %52, %50, %48, %45
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %73

69:                                               ; preds = %47
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %46, i64 noundef 32) #12
  br label %73

71:                                               ; preds = %59, %58
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #9
  br label %73

73:                                               ; preds = %71, %69, %67
  %.pn31 = phi { ptr, i32 } [ %72, %71 ], [ %68, %67 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %149

74:                                               ; preds = %44
  %75 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %76 unwind label %65

76:                                               ; preds = %74
  br i1 %75, label %77, label %124

77:                                               ; preds = %76
  %78 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  br i1 %78, label %79, label %124

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %81 unwind label %88

81:                                               ; preds = %79
  %82 = load ptr, ptr %80, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %83 = invoke noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %84 unwind label %90

84:                                               ; preds = %81
  %85 = invoke i64 @_ZN4type19evaluate_type_checkEPK7DexTypeS2_(ptr noundef %82, ptr noundef %83)
          to label %86 unwind label %90

86:                                               ; preds = %84
  store i64 %85, ptr %11, align 8
  %87 = call noundef zeroext i1 @_ZNK5boost8optionalIiEntEv(ptr noundef nonnull align 4 dereferenceable(8) %11) #9
  br i1 %87, label %.critedge, label %92

88:                                               ; preds = %79
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %149

90:                                               ; preds = %84, %81
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %123

92:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %93 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %94 unwind label %116

94:                                               ; preds = %92
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %93, i16 noundef zeroext 12)
          to label %95 unwind label %118

95:                                               ; preds = %94
  store ptr %93, ptr %12, align 8, !tbaa !8
  %96 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNR5boost8optionalIiEdeEv(ptr noundef nonnull align 4 dereferenceable(8) %11)
          to label %97 unwind label %116

97:                                               ; preds = %95
  %98 = load i32, ptr %96, align 4, !tbaa !13
  %99 = sext i32 %98 to i64
  %100 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %93, i64 noundef %99)
          to label %101 unwind label %116

101:                                              ; preds = %97
  %102 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %103 unwind label %116

103:                                              ; preds = %101
  %104 = getelementptr inbounds i8, ptr %102, i64 24
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  %106 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %105)
          to label %107 unwind label %116

107:                                              ; preds = %103
  %108 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %100, i32 noundef %106)
          to label %109 unwind label %116

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #9
  invoke void @_ZNSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionEC2IRS2_RS4_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISA_SB_EEEbE4typeELb1EEEOSA_OSB_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %110 unwind label %120

110:                                              ; preds = %109
  %111 = getelementptr inbounds i8, ptr %0, i64 2672
  invoke void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %111, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %112 unwind label %120

112:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #9
  %113 = getelementptr inbounds i8, ptr %4, i64 24
  %114 = load i64, ptr %113, align 8, !tbaa !10
  %115 = add i64 %114, 1
  store i64 %115, ptr %113, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %147

116:                                              ; preds = %107, %103, %101, %97, %95, %92
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %122

118:                                              ; preds = %94
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %93, i64 noundef 32) #12
  br label %122

120:                                              ; preds = %110, %109
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #9
  br label %122

122:                                              ; preds = %120, %118, %116
  %.pn27 = phi { ptr, i32 } [ %121, %120 ], [ %117, %116 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %123

123:                                              ; preds = %122, %90
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %122 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %149

124:                                              ; preds = %77, %76
  %125 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_nullableEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %126 unwind label %65

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

127:                                              ; preds = %126
  %128 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  br i1 %128, label %129, label %147

129:                                              ; preds = %127
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %131 unwind label %142

131:                                              ; preds = %129
  %132 = load ptr, ptr %130, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %133 = invoke noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %134 unwind label %144

134:                                              ; preds = %131
  %135 = invoke i64 @_ZN4type19evaluate_type_checkEPK7DexTypeS2_(ptr noundef %132, ptr noundef %133)
          to label %136 unwind label %144

136:                                              ; preds = %134
  store i64 %135, ptr %14, align 8
  %137 = call noundef zeroext i1 @_ZNK5boost8optionalIiEcvbEv(ptr noundef nonnull align 4 dereferenceable(8) %14) #9
  br i1 %137, label %138, label %146

138:                                              ; preds = %136
  %139 = getelementptr inbounds i8, ptr %4, i64 32
  %140 = load i64, ptr %139, align 8, !tbaa !15
  %141 = add i64 %140, 1
  store i64 %141, ptr %139, align 8, !tbaa !15
  br label %146

142:                                              ; preds = %129
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %149

144:                                              ; preds = %134, %131
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %149

146:                                              ; preds = %138, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %147

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

147:                                              ; preds = %112, %61, %126, %127, %146, %.critedge
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  br label %148

148:                                              ; preds = %31, %34, %147
  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) %7) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  ret void

149:                                              ; preds = %142, %144, %88, %123, %73, %65
  %.pn31.pn = phi { ptr, i32 } [ %.pn31, %73 ], [ %66, %65 ], [ %.pn27.pn, %123 ], [ %89, %88 ], [ %145, %144 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  br label %150

150:                                              ; preds = %149, %35
  %.pn31.pn.pn = phi { ptr, i32 } [ %.pn31.pn, %149 ], [ %36, %35 ]
  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) %7) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  resume { ptr, i32 } %.pn31.pn.pn
}

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

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

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

declare noundef zeroext i1 @_ZN6opcode18is_move_result_anyE8IROpcode(i16 noundef zeroext) local_unnamed_addr #3

; 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 { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionEC2IRS2_RS4_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISA_SB_EEEbE4typeELb1EEEOSA_OSB_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) 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: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #8 align 2

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

declare i64 @_ZN4type19evaluate_type_checkEPK7DexTypeS2_(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !12, i64 24}
!11 = !{!"_ZTSN13type_analyzer9Transform5StatsE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!12 = !{!"long", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !6, i64 0}
!15 = !{!11, !12, i64 32}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass