; 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 }

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

37:                                               ; preds = %7
  %38 = load i16, ptr %17, align 2, !tbaa !12
  %39 = call noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext %38)
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %185

41:                                               ; preds = %37, %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  %43 = call noundef ptr @_ZNK13IRInstruction9get_fieldEv(ptr noundef nonnull align 8 dereferenceable(32) %42)
  %44 = call noundef ptr @_Z13resolve_fieldPK11DexFieldRef11FieldSearch(ptr noundef %43, i32 noundef 2)
  store ptr %44, ptr %19, align 8, !tbaa !5
  %45 = load ptr, ptr %19, align 8, !tbaa !5
  %46 = icmp eq ptr %45, null
  br i1 %46, label %47, label %48

47:                                               ; preds = %41
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %184

48:                                               ; preds = %41
  %49 = load ptr, ptr %19, align 8, !tbaa !5
  %50 = call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %49)
  %51 = call noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef %50)
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %184

53:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 56, ptr %20) #6
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZNK13type_analyzer17WholeProgramState14get_field_typeEPK8DexField(ptr dead_on_unwind writable sret(%class.DexTypeDomain) align 8 %20, ptr noundef nonnull align 8 dereferenceable(321) %54, ptr noundef %55)
  %56 = 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) %20)
          to label %57 unwind label %59

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

58:                                               ; preds = %57
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %182

59:                                               ; preds = %63, %53
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %21, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %22, align 4
  br label %183

63:                                               ; preds = %57
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  %65 = invoke noundef zeroext i1 @_ZNK13IRInstruction22has_move_result_pseudoEv(ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %66 unwind label %59

66:                                               ; preds = %63
  br i1 %65, label %68, label %67

67:                                               ; preds = %66
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %182

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #6
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = load ptr, ptr %14, 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) %69, ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %71 unwind label %75

71:                                               ; preds = %68
  %72 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %73 unwind label %75

73:                                               ; preds = %71
  br i1 %72, label %74, label %79

74:                                               ; preds = %73
  store i1 false, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %180

75:                                               ; preds = %71, %68
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %21, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %22, align 4
  br label %181

79:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  %80 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %20)
          to label %81 unwind label %111

81:                                               ; preds = %79
  br i1 %80, label %85, label %82

82:                                               ; preds = %81
  %83 = load i8, ptr %13, align 1, !tbaa !9, !range !14, !noundef !15
  %84 = trunc i8 %83 to i1
  br label %85

85:                                               ; preds = %82, %81
  %86 = phi i1 [ true, %81 ], [ %84, %82 ]
  %87 = zext i1 %86 to i8
  store i8 %87, ptr %24, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %88 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %89 unwind label %115

89:                                               ; preds = %85
  %90 = getelementptr inbounds %struct.MethodItemEntry, ptr %88, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !11
  %92 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %91)
          to label %93 unwind label %115

93:                                               ; preds = %89
  store i32 %92, ptr %25, align 4, !tbaa !16
  %94 = load i8, ptr %24, align 1, !tbaa !9, !range !14, !noundef !15
  %95 = trunc i8 %94 to i1
  br i1 %95, label %136, label %96

96:                                               ; preds = %93
  %97 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain7is_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %20)
          to label %98 unwind label %115

98:                                               ; preds = %96
  br i1 %97, label %99, label %119

99:                                               ; preds = %98
  %100 = load ptr, ptr %12, align 8, !tbaa !5
  %101 = load i32, ptr %25, align 4, !tbaa !16
  %102 = load ptr, ptr %19, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.type_analyzer::RuntimeAssertTransform", ptr %28, i32 0, i32 0
  %104 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Config", ptr %103, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8, !tbaa !18
  invoke void @_ZN13type_analyzerL28insert_null_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160) %100, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %101, ptr noundef %102, ptr noundef %105, i1 noundef zeroext true)
          to label %106 unwind label %115

106:                                              ; preds = %99
  %107 = load ptr, ptr %15, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Stats", ptr %107, i32 0, i32 0
  %109 = load i64, ptr %108, align 8, !tbaa !21
  %110 = add i64 %109, 1
  store i64 %110, ptr %108, align 8, !tbaa !21
  store i1 true, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %177

111:                                              ; preds = %79
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %21, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %22, align 4
  br label %179

115:                                              ; preds = %122, %119, %99, %96, %89, %85
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %21, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %22, align 4
  br label %178

119:                                              ; preds = %98
  %120 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %20)
          to label %121 unwind label %115

121:                                              ; preds = %119
  br i1 %120, label %122, label %134

122:                                              ; preds = %121
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = load i32, ptr %25, align 4, !tbaa !16
  %125 = load ptr, ptr %19, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.type_analyzer::RuntimeAssertTransform", ptr %28, i32 0, i32 0
  %127 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Config", ptr %126, i32 0, i32 1
  %128 = load ptr, ptr %127, align 8, !tbaa !18
  invoke void @_ZN13type_analyzerL28insert_null_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160) %123, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %124, ptr noundef %125, ptr noundef %128, i1 noundef zeroext false)
          to label %129 unwind label %115

129:                                              ; preds = %122
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Stats", ptr %130, i32 0, i32 0
  %132 = load i64, ptr %131, align 8, !tbaa !21
  %133 = add i64 %132, 1
  store i64 %133, ptr %131, align 8, !tbaa !21
  br label %134

134:                                              ; preds = %129, %121
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135, %93
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %137 = invoke { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56) %20)
          to label %138 unwind label %146

138:                                              ; preds = %136
  %139 = getelementptr inbounds %"class.boost::optional", ptr %26, i32 0, i32 0
  %140 = getelementptr inbounds { i8, ptr }, ptr %139, i32 0, i32 0
  %141 = extractvalue { i8, ptr } %137, 0
  store i8 %141, ptr %140, align 8
  %142 = getelementptr inbounds { i8, ptr }, ptr %139, i32 0, i32 1
  %143 = extractvalue { i8, ptr } %137, 1
  store ptr %143, ptr %142, align 8
  %144 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEntEv(ptr noundef nonnull align 8 dereferenceable(16) %26) #6
  br i1 %144, label %145, label %150

145:                                              ; preds = %138
  store i1 true, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %176

146:                                              ; preds = %166, %158, %153, %150, %136
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %21, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %178

150:                                              ; preds = %138
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %153 unwind label %146

153:                                              ; preds = %150
  %154 = load ptr, ptr %152, align 8, !tbaa !5
  %155 = invoke noundef zeroext i1 @_ZN13type_analyzer10can_accessEPK7DexTypeS2_(ptr noundef %151, ptr noundef %154)
          to label %156 unwind label %146

156:                                              ; preds = %153
  br i1 %155, label %158, label %157

157:                                              ; preds = %156
  store i1 true, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %176

158:                                              ; preds = %156
  %159 = load ptr, ptr %12, align 8, !tbaa !5
  %160 = load i32, ptr %25, align 4, !tbaa !16
  %161 = load ptr, ptr %19, align 8, !tbaa !5
  %162 = getelementptr inbounds %"class.type_analyzer::RuntimeAssertTransform", ptr %28, i32 0, i32 0
  %163 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Config", ptr %162, i32 0, i32 1
  %164 = load ptr, ptr %163, align 8, !tbaa !18
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %166 unwind label %146

166:                                              ; preds = %158
  %167 = load ptr, ptr %165, align 8, !tbaa !5
  %168 = load i8, ptr %24, align 1, !tbaa !9, !range !14, !noundef !15
  %169 = trunc i8 %168 to i1
  %170 = xor i1 %169, true
  invoke void @_ZN13type_analyzerL28insert_type_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefPK7DexTypebb(ptr noundef nonnull align 8 dereferenceable(160) %159, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %160, ptr noundef %161, ptr noundef %164, ptr noundef %167, i1 noundef zeroext %170, i1 noundef zeroext true)
          to label %171 unwind label %146

171:                                              ; preds = %166
  %172 = load ptr, ptr %15, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.type_analyzer::RuntimeAssertTransform::Stats", ptr %172, i32 0, i32 2
  %174 = load i64, ptr %173, align 8, !tbaa !24
  %175 = add i64 %174, 1
  store i64 %175, ptr %173, align 8, !tbaa !24
  store i1 true, ptr %8, align 1
  store i32 1, ptr %18, align 4
  br label %176

176:                                              ; preds = %171, %157, %145
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %177

177:                                              ; preds = %176, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %180

178:                                              ; preds = %146, %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %179

179:                                              ; preds = %178, %111
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %181

180:                                              ; preds = %177, %74
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  br label %182

181:                                              ; preds = %179, %75
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  br label %183

182:                                              ; preds = %180, %67, %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) %20) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %20) #6
  br label %184

183:                                              ; preds = %181, %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) %20) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %187

184:                                              ; preds = %182, %52, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %185

185:                                              ; preds = %184, %40
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %186 = load i1, ptr %8, align 1
  ret i1 %186

187:                                              ; preds = %183
  %188 = load ptr, ptr %21, align 8
  %189 = load i32, ptr %22, align 4
  %190 = insertvalue { ptr, i32 } poison, ptr %188, 0
  %191 = insertvalue { ptr, i32 } %190, i32 %189, 1
  resume { ptr, i32 } %191
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13type_analyzer17WholeProgramState14get_field_typeEPK8DexField(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 @_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

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

; 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 hidden void @_ZN13type_analyzerL28insert_null_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_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 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)) #2 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: mustprogress uwtable
declare hidden void @_ZN13type_analyzerL28insert_type_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_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

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

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

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

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


; 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 }

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: 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_analyzer22RuntimeAssertTransform19insert_field_assertERKNS_17WholeProgramStateEPK7DexTypeRN3cfg16ControlFlowGraphEbRNS7_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, i1 noundef zeroext %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr nocapture noundef nonnull align 8 dereferenceable(32) %6) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %class.DexTypeDomain, align 8
  %9 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %10 = alloca %"class.boost::optional", align 8
  %11 = tail call noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %12 = getelementptr inbounds i8, ptr %11, i64 24
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
  %15 = tail call noundef zeroext i1 @_ZN6opcode10is_an_sgetE8IROpcode(i16 noundef zeroext %14)
  br i1 %15, label %18, label %16

16:                                               ; preds = %7
  %17 = tail call noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext %14)
  br i1 %17, label %18, label %102

18:                                               ; preds = %16, %7
  %19 = tail call noundef ptr @_ZNK13IRInstruction9get_fieldEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
  %20 = tail call noundef ptr @_Z13resolve_fieldPK11DexFieldRef11FieldSearch(ptr noundef %19, i32 noundef 2)
  %21 = icmp eq ptr %20, null
  br i1 %21, label %102, label %22

22:                                               ; preds = %18
  %23 = tail call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %20)
  %24 = tail call noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef %23)
  br i1 %24, label %25, label %102

25:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %8) #6
  call void @_ZNK13type_analyzer17WholeProgramState14get_field_typeEPK8DexField(ptr dead_on_unwind nonnull writable sret(%class.DexTypeDomain) align 8 %8, ptr noundef nonnull align 8 dereferenceable(321) %1, ptr noundef nonnull %20)
  %26 = 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) %8)
          to label %27 unwind label %28

27:                                               ; preds = %25
  br i1 %26, label %100, label %30

28:                                               ; preds = %30, %25
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %101

30:                                               ; preds = %27
  %31 = invoke noundef zeroext i1 @_ZNK13IRInstruction22has_move_result_pseudoEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %32 unwind label %28

32:                                               ; preds = %30
  br i1 %31, label %33, label %100

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %9, ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %34 unwind label %37

34:                                               ; preds = %33
  %35 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %36 unwind label %37

36:                                               ; preds = %34
  br i1 %35, label %98, label %39

37:                                               ; preds = %34, %33
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %99

39:                                               ; preds = %36
  %40 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %41 unwind label %58

41:                                               ; preds = %39
  %42 = or i1 %40, %4
  %43 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %44 unwind label %60

44:                                               ; preds = %41
  %45 = getelementptr inbounds i8, ptr %43, i64 24
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %48 unwind label %60

48:                                               ; preds = %44
  br i1 %42, label %71, label %49

49:                                               ; preds = %48
  %50 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain7is_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %51 unwind label %60

51:                                               ; preds = %49
  br i1 %50, label %52, label %62

52:                                               ; preds = %51
  %53 = getelementptr inbounds i8, ptr %0, i64 8
  %54 = load ptr, ptr %53, align 8, !tbaa !8
  invoke void @_ZN13type_analyzerL28insert_null_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef %47, ptr noundef nonnull %20, ptr noundef %54, i1 noundef zeroext true)
          to label %55 unwind label %60

55:                                               ; preds = %52
  %56 = load i64, ptr %6, align 8, !tbaa !12
  %57 = add i64 %56, 1
  store i64 %57, ptr %6, align 8, !tbaa !12
  br label %98

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

60:                                               ; preds = %65, %62, %52, %49, %44, %41
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %99

62:                                               ; preds = %51
  %63 = invoke noundef zeroext i1 @_ZNK13DexTypeDomain11is_not_nullEv(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %64 unwind label %60

64:                                               ; preds = %62
  br i1 %63, label %65, label %71

65:                                               ; preds = %64
  %66 = getelementptr inbounds i8, ptr %0, i64 8
  %67 = load ptr, ptr %66, align 8, !tbaa !8
  invoke void @_ZN13type_analyzerL28insert_null_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefb(ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef %47, ptr noundef nonnull %20, ptr noundef %67, i1 noundef zeroext false)
          to label %68 unwind label %60

68:                                               ; preds = %65
  %69 = load i64, ptr %6, align 8, !tbaa !12
  %70 = add i64 %69, 1
  store i64 %70, ptr %6, align 8, !tbaa !12
  br label %71

71:                                               ; preds = %68, %64, %48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %72 = invoke { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %73 unwind label %78

73:                                               ; preds = %71
  %74 = extractvalue { i8, ptr } %72, 0
  store i8 %74, ptr %10, align 8
  %75 = getelementptr inbounds i8, ptr %10, i64 8
  %76 = extractvalue { i8, ptr } %72, 1
  store ptr %76, ptr %75, align 8
  %77 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEntEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  br i1 %77, label %97, label %80

78:                                               ; preds = %90, %86, %82, %80, %71
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %99

80:                                               ; preds = %73
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %82 unwind label %78

82:                                               ; preds = %80
  %83 = load ptr, ptr %81, align 8, !tbaa !15
  %84 = invoke noundef zeroext i1 @_ZN13type_analyzer10can_accessEPK7DexTypeS2_(ptr noundef %2, ptr noundef %83)
          to label %85 unwind label %78

85:                                               ; preds = %82
  br i1 %84, label %86, label %97

86:                                               ; preds = %85
  %87 = getelementptr inbounds i8, ptr %0, i64 8
  %88 = load ptr, ptr %87, align 8, !tbaa !8
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %90 unwind label %78

90:                                               ; preds = %86
  %91 = load ptr, ptr %89, align 8, !tbaa !15
  %92 = xor i1 %42, true
  invoke void @_ZN13type_analyzerL28insert_type_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_23InstructionIteratorImplILb0EEEjPKT_P12DexMethodRefPK7DexTypebb(ptr noundef nonnull align 8 dereferenceable(160) %3, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef %47, ptr noundef nonnull %20, ptr noundef %88, ptr noundef %91, i1 noundef zeroext %92, i1 noundef zeroext true)
          to label %93 unwind label %78

93:                                               ; preds = %90
  %94 = getelementptr inbounds i8, ptr %6, i64 16
  %95 = load i64, ptr %94, align 8, !tbaa !16
  %96 = add i64 %95, 1
  store i64 %96, ptr %94, align 8, !tbaa !16
  br label %97

97:                                               ; preds = %85, %73, %93
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %98

98:                                               ; preds = %55, %97, %36
  %.2 = xor i1 %35, true
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  br label %100

99:                                               ; preds = %58, %78, %60, %37
  %.pn.pn.pn = phi { ptr, i32 } [ %38, %37 ], [ %59, %58 ], [ %79, %78 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  br label %101

100:                                              ; preds = %32, %27, %98
  %.3 = phi i1 [ %.2, %98 ], [ false, %27 ], [ false, %32 ]
  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) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #6
  br label %102

101:                                              ; preds = %99, %28
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %99 ], [ %29, %28 ]
  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) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #6
  resume { ptr, i32 } %.pn.pn.pn.pn

102:                                              ; preds = %100, %18, %22, %16
  %.5 = phi i1 [ false, %16 ], [ %.3, %100 ], [ false, %18 ], [ false, %22 ]
  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 #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13type_analyzer17WholeProgramState14get_field_typeEPK8DexField(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 @_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

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

; 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 hidden void @_ZN13type_analyzerL28insert_null_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_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 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 #2 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: mustprogress uwtable
declare hidden void @_ZN13type_analyzerL28insert_type_check_with_throwI8DexFieldEEvRN3cfg16ControlFlowGraphERNS2_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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 8}
!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 0}
!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 16}


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