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

; 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.254" }
%"class.std::tuple.254" = type { %"struct.std::_Tuple_impl.base", [7 x i8] }
%"struct.std::_Tuple_impl.base" = type <{ %"struct.std::_Tuple_impl.256", %"struct.std::_Head_base.266" }>
%"struct.std::_Tuple_impl.256" = type { %"struct.std::_Tuple_impl.257", %"struct.std::_Head_base.265" }
%"struct.std::_Tuple_impl.257" = type { %"struct.std::_Tuple_impl.258", %"struct.std::_Head_base.262" }
%"struct.std::_Tuple_impl.258" = type { %"struct.std::_Head_base.259" }
%"struct.std::_Head_base.259" = 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.262" = 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.265" = type { %class.SingletonDexTypeDomain }
%"struct.std::_Head_base.266" = 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.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.109 }
%"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.109 = type { ptr }
%"class.type_analyzer::RuntimeAssertTransform" = type { %"struct.type_analyzer::RuntimeAssertTransform::Config" }
%"struct.type_analyzer::RuntimeAssertTransform::Config" = type { ptr, ptr, ptr }
%"struct.type_analyzer::RuntimeAssertTransform::Stats" = type { i64, i64, i64, i64 }

@.str.20 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1
@__PRETTY_FUNCTION__._ZN13type_analyzer22RuntimeAssertTransform26insert_return_value_assertERKNS_17WholeProgramStateEPK7DexTypeRN3cfg16ControlFlowGraphERNS7_23InstructionIteratorImplILb0EEERNS0_5StatsE = external hidden unnamed_addr constant [177 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 uwtable
declare dso_local noundef zeroext i1 @_ZN13type_analyzer10can_accessEPK7DexTypeS2_(ptr noundef, ptr noundef) #1

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

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

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

35:                                               ; preds = %6
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %224

36:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store ptr null, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %17) #7
  call void @_ZN6sparta14AbstractDomainI13DexTypeDomainE3topEv(ptr dead_on_unwind writable sret(%class.DexTypeDomain) align 8 %17)
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = invoke noundef zeroext i1 @_ZNK13type_analyzer17WholeProgramState14has_call_graphEv(ptr noundef nonnull align 8 dereferenceable(321) %37)
          to label %39 unwind label %46

39:                                               ; preds = %36
  br i1 %38, label %40, label %62

40:                                               ; preds = %39
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = load ptr, ptr %14, align 8, !tbaa !5
  %43 = invoke noundef zeroext i1 @_ZNK13type_analyzer17WholeProgramState17invoke_is_dynamicEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(321) %41, ptr noundef %42)
          to label %44 unwind label %46

44:                                               ; preds = %40
  br i1 %43, label %45, label %50

45:                                               ; preds = %44
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %222

46:                                               ; preds = %114, %105, %101, %68, %65, %62, %50, %40, %36
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %18, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %19, align 4
  br label %223

50:                                               ; preds = %44
  %51 = load ptr, ptr %14, align 8, !tbaa !5
  %52 = invoke noundef ptr @_Z21resolve_invoke_methodPK13IRInstructionPK9DexMethodPb(ptr noundef %51, ptr noundef null, ptr noundef null)
          to label %53 unwind label %46

53:                                               ; preds = %50
  store ptr %52, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %20) #7
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZNK13type_analyzer17WholeProgramState23get_return_type_from_cgEPK13IRInstruction(ptr dead_on_unwind writable sret(%class.DexTypeDomain) align 8 %20, ptr noundef nonnull align 8 dereferenceable(321) %54, ptr noundef %55)
          to label %56 unwind label %58

56:                                               ; preds = %53
  %57 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN13DexTypeDomainaSEOS_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 8 dereferenceable(56) %20) #7
  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) %20) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %20) #7
  br label %101

58:                                               ; preds = %53
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %18, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %20) #7
  br label %223

62:                                               ; preds = %39
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  %64 = invoke noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %63)
          to label %65 unwind label %46

65:                                               ; preds = %62
  %66 = load ptr, ptr %14, align 8, !tbaa !5
  %67 = invoke noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef %66)
          to label %68 unwind label %46

68:                                               ; preds = %65
  %69 = invoke noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %64, i32 noundef %67, ptr noundef null)
          to label %70 unwind label %46

70:                                               ; preds = %68
  store ptr %69, ptr %16, align 8, !tbaa !5
  %71 = load ptr, ptr %16, align 8, !tbaa !5
  %72 = icmp eq ptr %71, null
  br i1 %72, label %73, label %74

73:                                               ; preds = %70
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %222

74:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %75 = load ptr, ptr %16, align 8, !tbaa !5
  %76 = invoke noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %75)
          to label %77 unwind label %84

77:                                               ; preds = %74
  %78 = invoke noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %76)
          to label %79 unwind label %84

79:                                               ; preds = %77
  store ptr %78, ptr %21, align 8, !tbaa !5
  %80 = load ptr, ptr %21, align 8, !tbaa !5
  %81 = invoke noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef %80)
          to label %82 unwind label %84

82:                                               ; preds = %79
  br i1 %81, label %88, label %83

83:                                               ; preds = %82
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %93

84:                                               ; preds = %79, %77, %74
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %18, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %19, align 4
  br label %100

88:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 56, ptr %22) #7
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_ZNK13type_analyzer17WholeProgramState15get_return_typeEPK9DexMethod(ptr dead_on_unwind writable sret(%class.DexTypeDomain) align 8 %22, ptr noundef nonnull align 8 dereferenceable(321) %89, ptr noundef %90)
          to label %91 unwind label %96

91:                                               ; preds = %88
  %92 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN13DexTypeDomainaSEOS_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 8 dereferenceable(56) %22) #7
  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) %22) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #7
  store i32 0, ptr %15, align 4
  br label %93

93:                                               ; preds = %91, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  %94 = load i32, ptr %15, align 4
  switch i32 %94, label %222 [
    i32 0, label %95
  ]

95:                                               ; preds = %93
  br label %101

96:                                               ; preds = %88
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %18, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #7
  br label %100

100:                                              ; preds = %96, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %223

101:                                              ; preds = %95, %56
  %102 = 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 %103 unwind label %46

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

104:                                              ; preds = %103
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %222

105:                                              ; preds = %103
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE15is_end_in_blockEv(ptr noundef nonnull align 8 dereferenceable(32) %106)
          to label %108 unwind label %46

108:                                              ; preds = %105
  br i1 %107, label %109, label %110

109:                                              ; preds = %108
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %222

110:                                              ; preds = %108
  %111 = load ptr, ptr %16, align 8, !tbaa !5
  %112 = icmp ne ptr %111, null
  br i1 %112, label %113, label %114

113:                                              ; preds = %110
  br label %117

114:                                              ; preds = %110
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.24, ptr noundef @.str.20, i32 noundef 317, ptr noundef @__PRETTY_FUNCTION__._ZN13type_analyzer22RuntimeAssertTransform26insert_return_value_assertERKNS_17WholeProgramStateEPK7DexTypeRN3cfg16ControlFlowGraphERNS7_23InstructionIteratorImplILb0EEERNS0_5StatsE, i32 noundef 2, ptr noundef @.str.21) #8
          to label %115 unwind label %46

115:                                              ; preds = %114
  unreachable

116:                                              ; No predecessors!
  br label %117

117:                                              ; preds = %116, %113
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #7
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %23, ptr noundef nonnull align 8 dereferenceable(160) %118, ptr noundef nonnull align 8 dereferenceable(32) %119)
          to label %120 unwind label %124

120:                                              ; preds = %117
  %121 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %122 unwind label %124

122:                                              ; preds = %120
  br i1 %121, label %123, label %128

123:                                              ; preds = %122
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %220

124:                                              ; preds = %120, %117
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %18, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %19, align 4
  br label %221

128:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %129 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %130 unwind label %149

130:                                              ; preds = %128
  %131 = getelementptr inbounds %struct.MethodItemEntry, ptr %129, i32 0, i32 2
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %132)
          to label %134 unwind label %149

134:                                              ; preds = %130
  store i32 %133, ptr %24, align 4, !tbaa !10
  %135 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain7is_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %17)
          to label %136 unwind label %149

136:                                              ; preds = %134
  br i1 %135, label %137, label %153

137:                                              ; preds = %136
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load i32, ptr %24, align 4, !tbaa !10
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = getelementptr inbounds %"class.type_analyzer::RuntimeAssertTransform", ptr %27, i32 0, i32 0
  %142 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Config", ptr %141, i32 0, i32 2
  %143 = load ptr, ptr %142, align 8, !tbaa !12
  invoke void @_ZN13type_analyzerL28insert_null_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160) %138, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %139, ptr noundef %140, ptr noundef %143, i1 noundef zeroext true)
          to label %144 unwind label %149

144:                                              ; preds = %137
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Stats", ptr %145, i32 0, i32 1
  %147 = load i64, ptr %146, align 8, !tbaa !15
  %148 = add i64 %147, 1
  store i64 %148, ptr %146, align 8, !tbaa !15
  store i1 true, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %218

149:                                              ; preds = %156, %153, %137, %134, %130, %128
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %18, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %19, align 4
  br label %219

153:                                              ; preds = %136
  %154 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %17)
          to label %155 unwind label %149

155:                                              ; preds = %153
  br i1 %154, label %156, label %168

156:                                              ; preds = %155
  %157 = load ptr, ptr %11, align 8, !tbaa !5
  %158 = load i32, ptr %24, align 4, !tbaa !10
  %159 = load ptr, ptr %16, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.type_analyzer::RuntimeAssertTransform", ptr %27, i32 0, i32 0
  %161 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Config", ptr %160, i32 0, i32 2
  %162 = load ptr, ptr %161, align 8, !tbaa !12
  invoke void @_ZN13type_analyzerL28insert_null_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160) %157, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %158, ptr noundef %159, ptr noundef %162, i1 noundef zeroext false)
          to label %163 unwind label %149

163:                                              ; preds = %156
  %164 = load ptr, ptr %13, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Stats", ptr %164, i32 0, i32 1
  %166 = load i64, ptr %165, align 8, !tbaa !15
  %167 = add i64 %166, 1
  store i64 %167, ptr %165, align 8, !tbaa !15
  br label %168

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

169:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  %170 = invoke { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56) %17)
          to label %171 unwind label %179

171:                                              ; preds = %169
  %172 = getelementptr inbounds %"class.boost::optional", ptr %25, i32 0, i32 0
  %173 = getelementptr inbounds { i8, ptr }, ptr %172, i32 0, i32 0
  %174 = extractvalue { i8, ptr } %170, 0
  store i8 %174, ptr %173, align 8
  %175 = getelementptr inbounds { i8, ptr }, ptr %172, i32 0, i32 1
  %176 = extractvalue { i8, ptr } %170, 1
  store ptr %176, ptr %175, align 8
  %177 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEntEv(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  br i1 %177, label %178, label %183

178:                                              ; preds = %171
  store i1 true, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %216

179:                                              ; preds = %186, %183, %169
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %18, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %19, align 4
  br label %217

183:                                              ; preds = %171
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %186 unwind label %179

186:                                              ; preds = %183
  %187 = load ptr, ptr %185, align 8, !tbaa !5
  %188 = invoke noundef zeroext i1 @_ZN13type_analyzer10can_accessEPK7DexTypeS2_(ptr noundef %184, ptr noundef %187)
          to label %189 unwind label %179

189:                                              ; preds = %186
  br i1 %188, label %191, label %190

190:                                              ; preds = %189
  store i1 true, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %216

191:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  %192 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %17)
          to label %193 unwind label %212

193:                                              ; preds = %191
  %194 = zext i1 %192 to i8
  store i8 %194, ptr %26, align 1, !tbaa !18
  %195 = load ptr, ptr %11, align 8, !tbaa !5
  %196 = load i32, ptr %24, align 4, !tbaa !10
  %197 = load ptr, ptr %16, align 8, !tbaa !5
  %198 = getelementptr inbounds %"class.type_analyzer::RuntimeAssertTransform", ptr %27, i32 0, i32 0
  %199 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Config", ptr %198, i32 0, i32 2
  %200 = load ptr, ptr %199, align 8, !tbaa !12
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %202 unwind label %212

202:                                              ; preds = %193
  %203 = load ptr, ptr %201, align 8, !tbaa !5
  %204 = load i8, ptr %26, align 1, !tbaa !18, !range !20, !noundef !21
  %205 = trunc i8 %204 to i1
  %206 = xor i1 %205, true
  invoke void @_ZN13type_analyzerL28insert_type_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefPK7DexTypebb(ptr noundef nonnull align 8 dereferenceable(160) %195, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %196, ptr noundef %197, ptr noundef %200, ptr noundef %203, i1 noundef zeroext %206, i1 noundef zeroext true)
          to label %207 unwind label %212

207:                                              ; preds = %202
  %208 = load ptr, ptr %13, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Stats", ptr %208, i32 0, i32 3
  %210 = load i64, ptr %209, align 8, !tbaa !22
  %211 = add i64 %210, 1
  store i64 %211, ptr %209, align 8, !tbaa !22
  store i1 true, ptr %7, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  br label %216

212:                                              ; preds = %202, %193, %191
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %18, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  br label %217

216:                                              ; preds = %207, %190, %178
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  br label %218

217:                                              ; preds = %212, %179
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  br label %219

218:                                              ; preds = %216, %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %220

219:                                              ; preds = %217, %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %221

220:                                              ; preds = %218, %123
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  br label %222

221:                                              ; preds = %219, %124
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  br label %223

222:                                              ; preds = %220, %109, %104, %93, %73, %45
  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 %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %224

223:                                              ; preds = %221, %100, %58, %46
  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 %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %226

224:                                              ; preds = %222, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  %225 = load i1, ptr %7, align 1
  ret i1 %225

226:                                              ; preds = %223
  %227 = load ptr, ptr %18, align 8
  %228 = load i32, ptr %19, align 4
  %229 = insertvalue { ptr, i32 } poison, ptr %227, 0
  %230 = insertvalue { ptr, i32 } %229, i32 %228, 1
  resume { ptr, i32 } %230
}

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

declare noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef) #4

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 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 #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6sparta14AbstractDomainI13DexTypeDomainE3topEv(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK13type_analyzer17WholeProgramState14has_call_graphEv(ptr noundef nonnull align 8 dereferenceable(321)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z21resolve_invoke_methodPK13IRInstructionPK9DexMethodPb(ptr noundef, ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13type_analyzer17WholeProgramState23get_return_type_from_cgEPK13IRInstruction(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8, ptr noundef nonnull align 8 dereferenceable(321), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN13DexTypeDomainaSEOS_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef, i32 noundef, ptr noundef) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13type_analyzer17WholeProgramState15get_return_typeEPK9DexMethod(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8, ptr noundef nonnull align 8 dereferenceable(321), ptr noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN13type_analyzerL28insert_null_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN13type_analyzerL28insert_type_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefPK7DexTypebb(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) #1

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

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

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


; 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.254" }
%"class.std::tuple.254" = type { %"struct.std::_Tuple_impl.base", [7 x i8] }
%"struct.std::_Tuple_impl.base" = type <{ %"struct.std::_Tuple_impl.256", %"struct.std::_Head_base.266" }>
%"struct.std::_Tuple_impl.256" = type { %"struct.std::_Tuple_impl.257", %"struct.std::_Head_base.265" }
%"struct.std::_Tuple_impl.257" = type { %"struct.std::_Tuple_impl.258", %"struct.std::_Head_base.262" }
%"struct.std::_Tuple_impl.258" = type { %"struct.std::_Head_base.259" }
%"struct.std::_Head_base.259" = 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.262" = 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.265" = type { %class.SingletonDexTypeDomain }
%"struct.std::_Head_base.266" = 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 }

@.str.20 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1
@__PRETTY_FUNCTION__._ZN13type_analyzer22RuntimeAssertTransform26insert_return_value_assertERKNS_17WholeProgramStateEPK7DexTypeRN3cfg16ControlFlowGraphERNS7_23InstructionIteratorImplILb0EEERNS0_5StatsE = external hidden unnamed_addr constant [177 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 uwtable
declare dso_local noundef zeroext i1 @_ZN13type_analyzer10can_accessEPK7DexTypeS2_(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN13type_analyzer22RuntimeAssertTransform26insert_return_value_assertERKNS_17WholeProgramStateEPK7DexTypeRN3cfg16ControlFlowGraphERNS7_23InstructionIteratorImplILb0EEERNS0_5StatsE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(321) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr nocapture noundef nonnull align 8 dereferenceable(32) %5) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %class.DexTypeDomain, align 8
  %8 = alloca %class.DexTypeDomain, align 8
  %9 = alloca %class.DexTypeDomain, align 8
  %10 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %11 = alloca %"class.boost::optional", align 8
  %12 = tail call noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %13 = getelementptr inbounds i8, ptr %12, i64 24
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  %16 = tail call noundef zeroext i1 @_ZN6opcode12is_an_invokeE8IROpcode(i16 noundef zeroext %15)
  br i1 %16, label %17, label %129

17:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #7
  call void @_ZN6sparta14AbstractDomainI13DexTypeDomainE3topEv(ptr dead_on_unwind nonnull writable sret(%class.DexTypeDomain) align 8 %7)
  %18 = call noundef zeroext i1 @_ZNK13type_analyzer17WholeProgramState14has_call_graphEv(ptr noundef nonnull align 8 dereferenceable(321) %1)
  br i1 %18, label %19, label %31

19:                                               ; preds = %17
  %20 = invoke noundef zeroext i1 @_ZNK13type_analyzer17WholeProgramState17invoke_is_dynamicEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(321) %1, ptr noundef nonnull %14)
          to label %21 unwind label %22

21:                                               ; preds = %19
  br i1 %20, label %.critedge, label %24

22:                                               ; preds = %58, %54, %51, %35, %33, %31, %24, %19
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %128

24:                                               ; preds = %21
  %25 = invoke noundef ptr @_Z21resolve_invoke_methodPK13IRInstructionPK9DexMethodPb(ptr noundef nonnull %14, ptr noundef null, ptr noundef null)
          to label %26 unwind label %22

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %8) #7
  invoke void @_ZNK13type_analyzer17WholeProgramState23get_return_type_from_cgEPK13IRInstruction(ptr dead_on_unwind nonnull writable sret(%class.DexTypeDomain) align 8 %8, ptr noundef nonnull align 8 dereferenceable(321) %1, ptr noundef nonnull %14)
          to label %27 unwind label %29

27:                                               ; preds = %26
  %28 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN13DexTypeDomainaSEOS_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %8) #7
  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) %8) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #7
  br label %51

29:                                               ; preds = %26
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #7
  br label %128

31:                                               ; preds = %17
  %32 = invoke noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %33 unwind label %22

33:                                               ; preds = %31
  %34 = invoke noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef nonnull %14)
          to label %35 unwind label %22

35:                                               ; preds = %33
  %36 = invoke noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %32, i32 noundef %34, ptr noundef null)
          to label %37 unwind label %22

37:                                               ; preds = %35
  %38 = icmp eq ptr %36, null
  br i1 %38, label %.critedge, label %39

39:                                               ; preds = %37
  %40 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %36)
  %41 = call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %40)
  %42 = invoke noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef %41)
          to label %43 unwind label %44

43:                                               ; preds = %39
  br i1 %42, label %46, label %.critedge

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

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #7
  invoke void @_ZNK13type_analyzer17WholeProgramState15get_return_typeEPK9DexMethod(ptr dead_on_unwind nonnull writable sret(%class.DexTypeDomain) align 8 %9, ptr noundef nonnull align 8 dereferenceable(321) %1, ptr noundef nonnull %36)
          to label %47 unwind label %49

47:                                               ; preds = %46
  %48 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN13DexTypeDomainaSEOS_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %9) #7
  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) %9) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #7
  br label %51

49:                                               ; preds = %46
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #7
  br label %128

51:                                               ; preds = %47, %27
  %.038 = phi ptr [ %25, %27 ], [ %36, %47 ]
  %52 = 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 %53 unwind label %22

53:                                               ; preds = %51
  br i1 %52, label %.critedge, label %54

54:                                               ; preds = %53
  %55 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE15is_end_in_blockEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %56 unwind label %22

56:                                               ; preds = %54
  br i1 %55, label %.critedge, label %57

57:                                               ; preds = %56
  %.not = icmp eq ptr %.038, null
  br i1 %.not, label %58, label %60

58:                                               ; preds = %57
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.20, i32 noundef 317, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN13type_analyzer22RuntimeAssertTransform26insert_return_value_assertERKNS_17WholeProgramStateEPK7DexTypeRN3cfg16ControlFlowGraphERNS7_23InstructionIteratorImplILb0EEERNS0_5StatsE, i32 noundef 2, ptr noundef nonnull @.str.21) #8
          to label %59 unwind label %22

59:                                               ; preds = %58
  unreachable

60:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %10, ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %61 unwind label %64

61:                                               ; preds = %60
  %62 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %63 unwind label %64

63:                                               ; preds = %61
  br i1 %62, label %126, label %66

64:                                               ; preds = %61, %60
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %127

66:                                               ; preds = %63
  %67 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %68 unwind label %82

68:                                               ; preds = %66
  %69 = getelementptr inbounds i8, ptr %67, i64 24
  %70 = load ptr, ptr %69, align 8, !tbaa !5
  %71 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %72 unwind label %82

72:                                               ; preds = %68
  %73 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain7is_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %74 unwind label %82

74:                                               ; preds = %72
  br i1 %73, label %75, label %84

75:                                               ; preds = %74
  %76 = getelementptr inbounds i8, ptr %0, i64 16
  %77 = load ptr, ptr %76, align 8, !tbaa !8
  invoke void @_ZN13type_analyzerL28insert_null_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef %71, ptr noundef nonnull %.038, ptr noundef %77, i1 noundef zeroext true)
          to label %78 unwind label %82

78:                                               ; preds = %75
  %79 = getelementptr inbounds i8, ptr %5, i64 8
  %80 = load i64, ptr %79, align 8, !tbaa !12
  %81 = add i64 %80, 1
  store i64 %81, ptr %79, align 8, !tbaa !12
  br label %126

82:                                               ; preds = %87, %84, %75, %72, %68, %66
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %127

84:                                               ; preds = %74
  %85 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %86 unwind label %82

86:                                               ; preds = %84
  br i1 %85, label %87, label %94

87:                                               ; preds = %86
  %88 = getelementptr inbounds i8, ptr %0, i64 16
  %89 = load ptr, ptr %88, align 8, !tbaa !8
  invoke void @_ZN13type_analyzerL28insert_null_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef %71, ptr noundef nonnull %.038, ptr noundef %89, i1 noundef zeroext false)
          to label %90 unwind label %82

90:                                               ; preds = %87
  %91 = getelementptr inbounds i8, ptr %5, i64 8
  %92 = load i64, ptr %91, align 8, !tbaa !12
  %93 = add i64 %92, 1
  store i64 %93, ptr %91, align 8, !tbaa !12
  br label %94

94:                                               ; preds = %86, %90
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  %95 = invoke { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %96 unwind label %101

96:                                               ; preds = %94
  %97 = extractvalue { i8, ptr } %95, 0
  store i8 %97, ptr %11, align 8
  %98 = getelementptr inbounds i8, ptr %11, i64 8
  %99 = extractvalue { i8, ptr } %95, 1
  store ptr %99, ptr %98, align 8
  %100 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEntEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br i1 %100, label %124, label %103

101:                                              ; preds = %105, %103, %94
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %125

103:                                              ; preds = %96
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %105 unwind label %101

105:                                              ; preds = %103
  %106 = load ptr, ptr %104, align 8, !tbaa !15
  %107 = invoke noundef zeroext i1 @_ZN13type_analyzer10can_accessEPK7DexTypeS2_(ptr noundef %2, ptr noundef %106)
          to label %108 unwind label %101

108:                                              ; preds = %105
  br i1 %107, label %109, label %124

109:                                              ; preds = %108
  %110 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %111 unwind label %122

111:                                              ; preds = %109
  %112 = getelementptr inbounds i8, ptr %0, i64 16
  %113 = load ptr, ptr %112, align 8, !tbaa !8
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %115 unwind label %122

115:                                              ; preds = %111
  %116 = load ptr, ptr %114, align 8, !tbaa !15
  %117 = xor i1 %110, true
  invoke void @_ZN13type_analyzerL28insert_type_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefPK7DexTypebb(ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef %71, ptr noundef nonnull %.038, ptr noundef %113, ptr noundef %116, i1 noundef zeroext %117, i1 noundef zeroext true)
          to label %118 unwind label %122

118:                                              ; preds = %115
  %119 = getelementptr inbounds i8, ptr %5, i64 24
  %120 = load i64, ptr %119, align 8, !tbaa !16
  %121 = add i64 %120, 1
  store i64 %121, ptr %119, align 8, !tbaa !16
  br label %124

122:                                              ; preds = %115, %111, %109
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %125

124:                                              ; preds = %108, %96, %118
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br label %126

125:                                              ; preds = %122, %101
  %.pn50 = phi { ptr, i32 } [ %123, %122 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br label %127

126:                                              ; preds = %78, %124, %63
  %.3 = xor i1 %62, true
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %.critedge

127:                                              ; preds = %82, %125, %64
  %.pn52.pn = phi { ptr, i32 } [ %65, %64 ], [ %83, %82 ], [ %.pn50, %125 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %128

.critedge:                                        ; preds = %43, %56, %53, %37, %21, %126
  %.4 = phi i1 [ %.3, %126 ], [ false, %21 ], [ false, %37 ], [ false, %53 ], [ false, %56 ], [ false, %43 ]
  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) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #7
  br label %129

128:                                              ; preds = %44, %49, %127, %29, %22
  %.pn52.pn.pn = phi { ptr, i32 } [ %.pn52.pn, %127 ], [ %23, %22 ], [ %30, %29 ], [ %50, %49 ], [ %45, %44 ]
  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) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn52.pn.pn

129:                                              ; preds = %6, %.critedge
  %.5 = phi i1 [ %.4, %.critedge ], [ false, %6 ]
  ret i1 %.5
}

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

declare noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef) local_unnamed_addr #4

; 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 #1 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 #4

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6sparta14AbstractDomainI13DexTypeDomainE3topEv(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK13type_analyzer17WholeProgramState14has_call_graphEv(ptr noundef nonnull align 8 dereferenceable(321)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z21resolve_invoke_methodPK13IRInstructionPK9DexMethodPb(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13type_analyzer17WholeProgramState23get_return_type_from_cgEPK13IRInstruction(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8, ptr noundef nonnull align 8 dereferenceable(321), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN13DexTypeDomainaSEOS_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z16opcode_to_searchPK13IRInstruction(ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13type_analyzer17WholeProgramState15get_return_typeEPK9DexMethod(ptr dead_on_unwind noalias writable sret(%class.DexTypeDomain) align 8, ptr noundef nonnull align 8 dereferenceable(321), ptr noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN13type_analyzerL28insert_null_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN13type_analyzerL28insert_type_check_with_throwI9DexMethodEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefPK7DexTypebb(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #1

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

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

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


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