; LLVM IR from facebook/redex :: opt/nopper (Nopper)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.88" = type { %"struct.std::_Vector_base.89" }
%"struct.std::_Vector_base.89" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.cfg::CFGMutation" = type { ptr, %class.UnorderedMap }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.108" }
%"class.std::_Hashtable.108" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.ir_list::InstructionIterableImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::vector.101" = type { %"struct.std::_Vector_base.102" }
%"struct.std::_Vector_base.102" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.143 }
%"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.143 = type { ptr }
%"struct.nopper_impl::AuxiliaryDefs" = type { ptr, ptr, ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZN11nopper_impl11insert_nopsERN3cfg16ControlFlowGraphERK12UnorderedSetIPNS0_5BlockESt4hashIS5_ESt8equal_toIS5_EEPNS_13AuxiliaryDefsE = external hidden unnamed_addr constant [110 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 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

declare void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.88") align 8, ptr noundef nonnull align 8 dereferenceable(160)) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN11nopper_impl11insert_nopsERN3cfg16ControlFlowGraphERK12UnorderedSetIPNS0_5BlockESt4hashIS5_ESt8equal_toIS5_EEPNS_13AuxiliaryDefsE(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef %2) #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.cfg::CFGMutation", align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::vector.88", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca %"class.ir_list::InstructionIterableImpl", align 8
  %18 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %19 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %20 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %21 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %24 = alloca %"class.std::vector.101", align 8
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i64, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.std::vector.101", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #9
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3cfg11CFGMutationC2ERNS_16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(160) %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  store i64 0, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #9
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.88") align 8 %10, ptr noundef nonnull align 8 dereferenceable(160) %36)
          to label %37 unwind label %47

37:                                               ; preds = %3
  store ptr %10, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  %43 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %42, ptr %43, align 8
  br label %44

44:                                               ; preds = %283, %37
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br i1 %45, label %51, label %46

46:                                               ; preds = %44
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %295

47:                                               ; preds = %3
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %11, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %12, align 4
  br label %294

51:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  store ptr %53, ptr %16, align 8, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = invoke noundef i64 @_ZNK12UnorderedSetIPN3cfg5BlockESt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %54, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %56 unwind label %59

56:                                               ; preds = %51
  %57 = icmp ne i64 %55, 0
  br i1 %57, label %63, label %58

58:                                               ; preds = %56
  store i32 3, ptr %15, align 4
  br label %280

59:                                               ; preds = %51
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %11, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %12, align 4
  br label %293

63:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIterableImpl") align 8 %17, ptr noundef %64)
          to label %65 unwind label %85

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %18, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %66 unwind label %89

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %84, %66
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %68 unwind label %93

68:                                               ; preds = %67
  %69 = invoke noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %70 unwind label %93

70:                                               ; preds = %68
  br i1 %69, label %71, label %81

71:                                               ; preds = %70
  %72 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %73 unwind label %93

73:                                               ; preds = %71
  %74 = getelementptr inbounds %struct.MethodItemEntry, ptr %72, i32 0, i32 2
  %75 = load ptr, ptr %74, align 8, !tbaa !11
  %76 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %75)
          to label %77 unwind label %93

77:                                               ; preds = %73
  %78 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_117can_insert_beforeE8IROpcode(i16 noundef zeroext %76)
          to label %79 unwind label %93

79:                                               ; preds = %77
  %80 = xor i1 %78, true
  br label %81

81:                                               ; preds = %79, %70
  %82 = phi i1 [ false, %70 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  br i1 %82, label %83, label %101

83:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #9
  invoke void @_ZN7ir_list23InstructionIteratorImplILb0EEppEi(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef 0)
          to label %84 unwind label %97

84:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  br label %67, !llvm.loop !12

85:                                               ; preds = %63
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %11, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %12, align 4
  br label %292

89:                                               ; preds = %65
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %11, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %12, align 4
  br label %291

93:                                               ; preds = %77, %73, %71, %68, %67
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %11, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  br label %291

97:                                               ; preds = %83
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %11, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  br label %291

101:                                              ; preds = %81
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #9
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %21, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %102 unwind label %108

102:                                              ; preds = %101
  %103 = invoke noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %104 unwind label %108

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

105:                                              ; preds = %104
  br label %113

106:                                              ; preds = %104
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 131, ptr noundef @__PRETTY_FUNCTION__._ZN11nopper_impl11insert_nopsERN3cfg16ControlFlowGraphERK12UnorderedSetIPNS0_5BlockESt4hashIS5_ESt8equal_toIS5_EEPNS_13AuxiliaryDefsE, i32 noundef 2, ptr noundef @.str.10) #10
          to label %107 unwind label %108

107:                                              ; preds = %106
  unreachable

108:                                              ; preds = %106, %102, %101
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %11, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  br label %291

112:                                              ; No predecessors!
  br label %113

113:                                              ; preds = %112, %105
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  %114 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN7ir_list23InstructionIteratorImplILb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %23, ptr noundef nonnull align 8 dereferenceable(104) %114, ptr noundef nonnull align 8 dereferenceable(16) %18, i1 noundef zeroext false)
          to label %115 unwind label %156

115:                                              ; preds = %113
  store ptr %23, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #9
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = icmp ne ptr %116, null
  br i1 %117, label %118, label %261

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = invoke noundef i32 @_ZN3cfg16ControlFlowGraph13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %119)
          to label %121 unwind label %160

121:                                              ; preds = %118
  store i32 %120, ptr %25, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %122 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %123 unwind label %164

123:                                              ; preds = %121
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %122, i16 noundef zeroext 12)
          to label %124 unwind label %168

124:                                              ; preds = %123
  %125 = load i32, ptr %25, align 4, !tbaa !14
  %126 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %122, i32 noundef %125)
          to label %127 unwind label %164

127:                                              ; preds = %124
  %128 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %126, i64 noundef 4)
          to label %129 unwind label %164

129:                                              ; preds = %127
  store ptr %128, ptr %26, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %130 unwind label %164

130:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %131 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %132 unwind label %173

132:                                              ; preds = %130
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %131, i16 noundef zeroext 90)
          to label %133 unwind label %177

133:                                              ; preds = %132
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.nopper_impl::AuxiliaryDefs", ptr %134, i32 0, i32 2
  %136 = load ptr, ptr %135, align 8, !tbaa !16
  %137 = invoke noundef ptr @_ZN13IRInstruction10set_methodEP12DexMethodRef(ptr noundef nonnull align 8 dereferenceable(32) %131, ptr noundef %136)
          to label %138 unwind label %173

138:                                              ; preds = %133
  %139 = invoke noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32) %137, i64 noundef 1)
          to label %140 unwind label %173

140:                                              ; preds = %138
  %141 = load i32, ptr %25, align 4, !tbaa !14
  %142 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %139, i16 noundef zeroext 0, i32 noundef %141)
          to label %143 unwind label %173

143:                                              ; preds = %140
  store ptr %142, ptr %27, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %144 unwind label %173

144:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %145 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %146 unwind label %182

146:                                              ; preds = %144
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %145, i16 noundef zeroext 4)
          to label %147 unwind label %186

147:                                              ; preds = %146
  %148 = load i32, ptr %25, align 4, !tbaa !14
  %149 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %145, i32 noundef %148)
          to label %150 unwind label %182

150:                                              ; preds = %147
  store ptr %149, ptr %28, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %151 unwind label %182

151:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  store i64 0, ptr %29, align 8, !tbaa !9
  br label %152

152:                                              ; preds = %216, %151
  %153 = load i64, ptr %29, align 8, !tbaa !9
  %154 = icmp ult i64 %153, 4
  br i1 %154, label %191, label %155

155:                                              ; preds = %152
  store i32 6, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %238

156:                                              ; preds = %113
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %11, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %12, align 4
  br label %290

160:                                              ; preds = %118
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %11, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %12, align 4
  br label %260

164:                                              ; preds = %129, %127, %124, %121
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %11, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %12, align 4
  br label %172

168:                                              ; preds = %123
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %11, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %122, i64 noundef 32) #12
  br label %172

172:                                              ; preds = %168, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %260

173:                                              ; preds = %143, %140, %138, %133, %130
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %11, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %12, align 4
  br label %181

177:                                              ; preds = %132
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %11, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %131, i64 noundef 32) #12
  br label %181

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

182:                                              ; preds = %150, %147, %144
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %11, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %12, align 4
  br label %190

186:                                              ; preds = %146
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %11, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %145, i64 noundef 32) #12
  br label %190

190:                                              ; preds = %186, %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %260

191:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %192 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %193 unwind label %219

193:                                              ; preds = %191
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %192, i16 noundef zeroext 147)
          to label %194 unwind label %223

194:                                              ; preds = %193
  %195 = load i32, ptr %25, align 4, !tbaa !14
  %196 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %192, i32 noundef %195)
          to label %197 unwind label %219

197:                                              ; preds = %194
  %198 = load i32, ptr %25, align 4, !tbaa !14
  %199 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %196, i16 noundef zeroext 0, i32 noundef %198)
          to label %200 unwind label %219

200:                                              ; preds = %197
  %201 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %199, i64 noundef 27)
          to label %202 unwind label %219

202:                                              ; preds = %200
  store ptr %201, ptr %30, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %203 unwind label %219

203:                                              ; preds = %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %204 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %205 unwind label %228

205:                                              ; preds = %203
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %204, i16 noundef zeroext 149)
          to label %206 unwind label %232

206:                                              ; preds = %205
  %207 = load i32, ptr %25, align 4, !tbaa !14
  %208 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %204, i32 noundef %207)
          to label %209 unwind label %228

209:                                              ; preds = %206
  %210 = load i32, ptr %25, align 4, !tbaa !14
  %211 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %208, i16 noundef zeroext 0, i32 noundef %210)
          to label %212 unwind label %228

212:                                              ; preds = %209
  %213 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %211, i64 noundef 77)
          to label %214 unwind label %228

214:                                              ; preds = %212
  store ptr %213, ptr %31, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %215 unwind label %228

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

216:                                              ; preds = %215
  %217 = load i64, ptr %29, align 8, !tbaa !9
  %218 = add i64 %217, 1
  store i64 %218, ptr %29, align 8, !tbaa !9
  br label %152, !llvm.loop !18

219:                                              ; preds = %202, %200, %197, %194, %191
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %11, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %12, align 4
  br label %227

223:                                              ; preds = %193
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %11, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %192, i64 noundef 32) #12
  br label %227

227:                                              ; preds = %223, %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %237

228:                                              ; preds = %214, %212, %209, %206, %203
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %11, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %12, align 4
  br label %236

232:                                              ; preds = %205
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %11, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %204, i64 noundef 32) #12
  br label %236

236:                                              ; preds = %232, %228
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %237

237:                                              ; preds = %236, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %260

238:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %239 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %240 unwind label %251

240:                                              ; preds = %238
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %239, i16 noundef zeroext 80)
          to label %241 unwind label %255

241:                                              ; preds = %240
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.nopper_impl::AuxiliaryDefs", ptr %242, i32 0, i32 1
  %244 = load ptr, ptr %243, align 8, !tbaa !19
  %245 = invoke noundef ptr @_ZN13IRInstruction9set_fieldEP11DexFieldRef(ptr noundef nonnull align 8 dereferenceable(32) %239, ptr noundef %244)
          to label %246 unwind label %251

246:                                              ; preds = %241
  %247 = load i32, ptr %25, align 4, !tbaa !14
  %248 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %245, i16 noundef zeroext 0, i32 noundef %247)
          to label %249 unwind label %251

249:                                              ; preds = %246
  store ptr %248, ptr %32, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %250 unwind label %251

250:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %275

251:                                              ; preds = %249, %246, %241, %238
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %11, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %12, align 4
  br label %259

255:                                              ; preds = %240
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %11, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %239, i64 noundef 32) #12
  br label %259

259:                                              ; preds = %255, %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %260

260:                                              ; preds = %259, %237, %190, %181, %172, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %289

261:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %262 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %263 unwind label %266

263:                                              ; preds = %261
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %262, i16 noundef zeroext 0)
          to label %264 unwind label %270

264:                                              ; preds = %263
  store ptr %262, ptr %33, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %265 unwind label %266

265:                                              ; preds = %264
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %275

266:                                              ; preds = %264, %261
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %11, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %12, align 4
  br label %274

270:                                              ; preds = %263
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %11, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %262, i64 noundef 32) #12
  br label %274

274:                                              ; preds = %270, %266
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %289

275:                                              ; preds = %265, %250
  %276 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  invoke void @_ZN3cfg11CFGMutation13insert_beforeERKNS_23InstructionIteratorImplILb0EEESt6vectorIP13IRInstructionSaIS7_EE(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(32) %276, ptr noundef %34)
          to label %277 unwind label %285

277:                                              ; preds = %275
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  %278 = load i64, ptr %8, align 8, !tbaa !9
  %279 = add i64 %278, 1
  store i64 %279, ptr %8, align 8, !tbaa !9
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  store i32 0, ptr %15, align 4
  br label %280

280:                                              ; preds = %277, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  %281 = load i32, ptr %15, align 4
  switch i32 %281, label %308 [
    i32 0, label %282
    i32 3, label %283
  ]

282:                                              ; preds = %280
  br label %283

283:                                              ; preds = %282, %280
  %284 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  br label %44

285:                                              ; preds = %275
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %11, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %12, align 4
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  br label %289

289:                                              ; preds = %285, %274, %260
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br label %290

290:                                              ; preds = %289, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %291

291:                                              ; preds = %290, %108, %97, %93, %89
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  br label %292

292:                                              ; preds = %291, %85
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %293

293:                                              ; preds = %292, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  br label %294

294:                                              ; preds = %293, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %302

295:                                              ; preds = %46
  invoke void @_ZN3cfg11CFGMutation5flushEv(ptr noundef nonnull align 8 dereferenceable(64) %7)
          to label %296 unwind label %298

296:                                              ; preds = %295
  %297 = load i64, ptr %8, align 8, !tbaa !9
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #9
  ret i64 %297

298:                                              ; preds = %295
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %11, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %12, align 4
  br label %302

302:                                              ; preds = %298, %294
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #9
  br label %303

303:                                              ; preds = %302
  %304 = load ptr, ptr %11, align 8
  %305 = load i32, ptr %12, align 4
  %306 = insertvalue { ptr, i32 } poison, ptr %304, 0
  %307 = insertvalue { ptr, i32 } %306, i32 %305, 1
  resume { ptr, i32 } %307

308:                                              ; preds = %280
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cfg11CFGMutationC2ERNS_16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIterableImpl") align 8, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_117can_insert_beforeE8IROpcode(i16 noundef zeroext) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ir_list23InstructionIteratorImplILb0EEppEi(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

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

declare void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN7ir_list23InstructionIteratorImplILb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #1

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

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

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

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

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

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

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

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

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

declare noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cfg11CFGMutation13insert_beforeERKNS_23InstructionIteratorImplILb0EEESt6vectorIP13IRInstructionSaIS7_EE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4 align 2

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

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

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

declare void @_ZN3cfg11CFGMutation5flushEv(ptr noundef nonnull align 8 dereferenceable(64)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #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 = { 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 = { 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 #7 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

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

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


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

%"class.std::vector.88" = type { %"struct.std::_Vector_base.89" }
%"struct.std::_Vector_base.89" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.cfg::CFGMutation" = type { ptr, %class.UnorderedMap }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.108" }
%"class.std::_Hashtable.108" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.ir_list::InstructionIterableImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::vector.101" = type { %"struct.std::_Vector_base.102" }
%"struct.std::_Vector_base.102" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZN11nopper_impl11insert_nopsERN3cfg16ControlFlowGraphERK12UnorderedSetIPNS0_5BlockESt4hashIS5_ESt8equal_toIS5_EEPNS_13AuxiliaryDefsE = external hidden unnamed_addr constant [110 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 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

declare void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.88") align 8, ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN11nopper_impl11insert_nopsERN3cfg16ControlFlowGraphERK12UnorderedSetIPNS0_5BlockESt4hashIS5_ESt8equal_toIS5_EEPNS_13AuxiliaryDefsE(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef readonly %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.cfg::CFGMutation", align 8
  %5 = alloca %"class.std::vector.88", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.ir_list::InstructionIterableImpl", align 8
  %10 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %11 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %12 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %13 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %14 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %15 = alloca %"class.std::vector.101", align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.std::vector.101", align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #9
  call void @_ZN3cfg11CFGMutationC2ERNS_16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 8 dereferenceable(160) %0)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #9
  invoke void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.88") align 8 %5, ptr noundef nonnull align 8 dereferenceable(160) %0)
          to label %24 unwind label %30

24:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %25 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  store ptr %25, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %26 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  store ptr %26, ptr %7, align 8
  %27 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  br i1 %27, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %24
  %.not43 = icmp eq ptr %2, null
  %28 = getelementptr inbounds i8, ptr %2, i64 16
  %29 = getelementptr inbounds i8, ptr %2, i64 8
  br label %32

._crit_edge:                                      ; preds = %233, %24
  %.023.lcssa = phi i64 [ 0, %24 ], [ %.1, %233 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  invoke void @_ZN3cfg11CFGMutation5flushEv(ptr noundef nonnull align 8 dereferenceable(64) %4)
          to label %242 unwind label %243

30:                                               ; preds = %3
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %245

32:                                               ; preds = %.lr.ph, %233
  %.023124 = phi i64 [ 0, %.lr.ph ], [ %.1, %233 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  store ptr %34, ptr %8, align 8, !tbaa !5
  %35 = invoke noundef i64 @_ZNK12UnorderedSetIPN3cfg5BlockESt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %36 unwind label %37

36:                                               ; preds = %32
  %.not = icmp eq i64 %35, 0
  br i1 %.not, label %233, label %39

37:                                               ; preds = %32
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %241

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIterableImpl") align 8 %9, ptr noundef %40)
          to label %41 unwind label %55

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %.preheader unwind label %57

.preheader:                                       ; preds = %41, %54
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %42 unwind label %59

42:                                               ; preds = %.preheader
  %43 = invoke noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %44 unwind label %59

44:                                               ; preds = %42
  br i1 %43, label %45, label %.critedge

45:                                               ; preds = %44
  %46 = invoke noundef ptr @_ZNK7ir_list23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %47 unwind label %59

47:                                               ; preds = %45
  %48 = getelementptr inbounds i8, ptr %46, i64 24
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %49)
  %51 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_117can_insert_beforeE8IROpcode(i16 noundef zeroext %50)
          to label %52 unwind label %59

52:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br i1 %51, label %.loopexit, label %53

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  invoke void @_ZN7ir_list23InstructionIteratorImplILb0EEppEi(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 0)
          to label %54 unwind label %61

54:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  br label %.preheader, !llvm.loop !10

55:                                               ; preds = %39
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %240

57:                                               ; preds = %41
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %239

59:                                               ; preds = %47, %45, %42, %.preheader
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br label %239

61:                                               ; preds = %53
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  br label %239

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

.loopexit:                                        ; preds = %52, %.critedge
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  invoke void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl") align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %63 unwind label %.loopexit67

63:                                               ; preds = %.loopexit
  %64 = invoke noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %65 unwind label %.loopexit67

65:                                               ; preds = %63
  br i1 %64, label %69, label %66

66:                                               ; preds = %65
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, i32 noundef 131, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11nopper_impl11insert_nopsERN3cfg16ControlFlowGraphERK12UnorderedSetIPNS0_5BlockESt4hashIS5_ESt8equal_toIS5_EEPNS_13AuxiliaryDefsE, i32 noundef 2, ptr noundef nonnull @.str.10) #10
          to label %67 unwind label %.loopexit.split-lp

67:                                               ; preds = %66
  unreachable

.loopexit67:                                      ; preds = %.loopexit, %63
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %68

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

68:                                               ; preds = %.loopexit.split-lp, %.loopexit67
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit67 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br label %239

69:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #9
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN7ir_list23InstructionIteratorImplILb0EEEb(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %14, ptr noundef nonnull align 8 dereferenceable(104) %70, ptr noundef nonnull align 8 dereferenceable(16) %10, i1 noundef zeroext false)
          to label %71 unwind label %100

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #9
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  br i1 %.not43, label %220, label %72

72:                                               ; preds = %71
  %73 = call noundef i32 @_ZN3cfg16ControlFlowGraph13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %74 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %75 unwind label %102

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

76:                                               ; preds = %75
  %77 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %74, i32 noundef %73)
          to label %78 unwind label %102

78:                                               ; preds = %76
  %79 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %77, i64 noundef 4)
          to label %80 unwind label %102

80:                                               ; preds = %78
  store ptr %79, ptr %16, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %81 unwind label %102

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %82 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %83 unwind label %107

83:                                               ; preds = %81
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %82, i16 noundef zeroext 90)
          to label %84 unwind label %109

84:                                               ; preds = %83
  %85 = load ptr, ptr %28, align 8, !tbaa !12
  %86 = invoke noundef ptr @_ZN13IRInstruction10set_methodEP12DexMethodRef(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef %85)
          to label %87 unwind label %107

87:                                               ; preds = %84
  %88 = invoke noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32) %86, i64 noundef 1)
          to label %89 unwind label %107

89:                                               ; preds = %87
  %90 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %88, i16 noundef zeroext 0, i32 noundef %73)
          to label %91 unwind label %107

91:                                               ; preds = %89
  store ptr %90, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %92 unwind label %107

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

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

95:                                               ; preds = %94
  %96 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %93, i32 noundef %73)
          to label %97 unwind label %112

97:                                               ; preds = %95
  store ptr %96, ptr %18, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %98 unwind label %112

98:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %99 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %117 unwind label %197

100:                                              ; preds = %69
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %239

102:                                              ; preds = %80, %78, %76, %72
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %106

104:                                              ; preds = %75
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %74, i64 noundef 32) #12
  br label %106

106:                                              ; preds = %104, %102
  %.pn45 = phi { ptr, i32 } [ %103, %102 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %238

107:                                              ; preds = %91, %89, %87, %84, %81
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

109:                                              ; preds = %83
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %82, i64 noundef 32) #12
  br label %111

111:                                              ; preds = %109, %107
  %.pn47 = phi { ptr, i32 } [ %108, %107 ], [ %110, %109 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %238

112:                                              ; preds = %97, %95, %92
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %116

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

116:                                              ; preds = %114, %112
  %.pn49 = phi { ptr, i32 } [ %113, %112 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %238

117:                                              ; preds = %98
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %99, i16 noundef zeroext 147)
          to label %118 unwind label %199

118:                                              ; preds = %117
  %119 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %99, i32 noundef %73)
          to label %120 unwind label %197

120:                                              ; preds = %118
  %121 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %119, i16 noundef zeroext 0, i32 noundef %73)
          to label %122 unwind label %197

122:                                              ; preds = %120
  %123 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %121, i64 noundef 27)
          to label %124 unwind label %197

124:                                              ; preds = %122
  store ptr %123, ptr %19, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %125 unwind label %197

125:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %126 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %127 unwind label %202

127:                                              ; preds = %125
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %126, i16 noundef zeroext 149)
          to label %128 unwind label %204

128:                                              ; preds = %127
  %129 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %126, i32 noundef %73)
          to label %130 unwind label %202

130:                                              ; preds = %128
  %131 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %129, i16 noundef zeroext 0, i32 noundef %73)
          to label %132 unwind label %202

132:                                              ; preds = %130
  %133 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %131, i64 noundef 77)
          to label %134 unwind label %202

134:                                              ; preds = %132
  store ptr %133, ptr %20, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %135 unwind label %202

135:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %136 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %137 unwind label %197

137:                                              ; preds = %135
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %136, i16 noundef zeroext 147)
          to label %138 unwind label %199

138:                                              ; preds = %137
  %139 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %136, i32 noundef %73)
          to label %140 unwind label %197

140:                                              ; preds = %138
  %141 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %139, i16 noundef zeroext 0, i32 noundef %73)
          to label %142 unwind label %197

142:                                              ; preds = %140
  %143 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %141, i64 noundef 27)
          to label %144 unwind label %197

144:                                              ; preds = %142
  store ptr %143, ptr %19, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %145 unwind label %197

145:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %146 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %147 unwind label %202

147:                                              ; preds = %145
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %146, i16 noundef zeroext 149)
          to label %148 unwind label %204

148:                                              ; preds = %147
  %149 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %146, i32 noundef %73)
          to label %150 unwind label %202

150:                                              ; preds = %148
  %151 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %149, i16 noundef zeroext 0, i32 noundef %73)
          to label %152 unwind label %202

152:                                              ; preds = %150
  %153 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %151, i64 noundef 77)
          to label %154 unwind label %202

154:                                              ; preds = %152
  store ptr %153, ptr %20, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %155 unwind label %202

155:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %156 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %157 unwind label %197

157:                                              ; preds = %155
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %156, i16 noundef zeroext 147)
          to label %158 unwind label %199

158:                                              ; preds = %157
  %159 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %156, i32 noundef %73)
          to label %160 unwind label %197

160:                                              ; preds = %158
  %161 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %159, i16 noundef zeroext 0, i32 noundef %73)
          to label %162 unwind label %197

162:                                              ; preds = %160
  %163 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %161, i64 noundef 27)
          to label %164 unwind label %197

164:                                              ; preds = %162
  store ptr %163, ptr %19, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %165 unwind label %197

165:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %166 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %167 unwind label %202

167:                                              ; preds = %165
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %166, i16 noundef zeroext 149)
          to label %168 unwind label %204

168:                                              ; preds = %167
  %169 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %166, i32 noundef %73)
          to label %170 unwind label %202

170:                                              ; preds = %168
  %171 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %169, i16 noundef zeroext 0, i32 noundef %73)
          to label %172 unwind label %202

172:                                              ; preds = %170
  %173 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %171, i64 noundef 77)
          to label %174 unwind label %202

174:                                              ; preds = %172
  store ptr %173, ptr %20, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %175 unwind label %202

175:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %176 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %177 unwind label %197

177:                                              ; preds = %175
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %176, i16 noundef zeroext 147)
          to label %178 unwind label %199

178:                                              ; preds = %177
  %179 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %176, i32 noundef %73)
          to label %180 unwind label %197

180:                                              ; preds = %178
  %181 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %179, i16 noundef zeroext 0, i32 noundef %73)
          to label %182 unwind label %197

182:                                              ; preds = %180
  %183 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %181, i64 noundef 27)
          to label %184 unwind label %197

184:                                              ; preds = %182
  store ptr %183, ptr %19, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %185 unwind label %197

185:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %186 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %187 unwind label %202

187:                                              ; preds = %185
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %186, i16 noundef zeroext 149)
          to label %188 unwind label %204

188:                                              ; preds = %187
  %189 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %186, i32 noundef %73)
          to label %190 unwind label %202

190:                                              ; preds = %188
  %191 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %189, i16 noundef zeroext 0, i32 noundef %73)
          to label %192 unwind label %202

192:                                              ; preds = %190
  %193 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %191, i64 noundef 77)
          to label %194 unwind label %202

194:                                              ; preds = %192
  store ptr %193, ptr %20, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %195 unwind label %202

195:                                              ; preds = %194
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %196 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %207 unwind label %215

197:                                              ; preds = %184, %182, %180, %178, %175, %164, %162, %160, %158, %155, %144, %142, %140, %138, %135, %124, %122, %120, %118, %98
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %177, %157, %137, %117
  %.lcssa = phi ptr [ %99, %117 ], [ %136, %137 ], [ %156, %157 ], [ %176, %177 ]
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %.lcssa, i64 noundef 32) #12
  br label %201

201:                                              ; preds = %199, %197
  %.pn53 = phi { ptr, i32 } [ %198, %197 ], [ %200, %199 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %238

202:                                              ; preds = %194, %192, %190, %188, %185, %174, %172, %170, %168, %165, %154, %152, %150, %148, %145, %134, %132, %130, %128, %125
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %206

204:                                              ; preds = %187, %167, %147, %127
  %.lcssa128 = phi ptr [ %126, %127 ], [ %146, %147 ], [ %166, %167 ], [ %186, %187 ]
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %.lcssa128, i64 noundef 32) #12
  br label %206

206:                                              ; preds = %204, %202
  %.pn55 = phi { ptr, i32 } [ %203, %202 ], [ %205, %204 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  br label %238

207:                                              ; preds = %195
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %196, i16 noundef zeroext 80)
          to label %208 unwind label %217

208:                                              ; preds = %207
  %209 = load ptr, ptr %29, align 8, !tbaa !14
  %210 = invoke noundef ptr @_ZN13IRInstruction9set_fieldEP11DexFieldRef(ptr noundef nonnull align 8 dereferenceable(32) %196, ptr noundef %209)
          to label %211 unwind label %215

211:                                              ; preds = %208
  %212 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %210, i16 noundef zeroext 0, i32 noundef %73)
          to label %213 unwind label %215

213:                                              ; preds = %211
  store ptr %212, ptr %21, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %214 unwind label %215

214:                                              ; preds = %213
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %230

215:                                              ; preds = %213, %211, %208, %195
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %219

217:                                              ; preds = %207
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %196, i64 noundef 32) #12
  br label %219

219:                                              ; preds = %217, %215
  %.pn51 = phi { ptr, i32 } [ %216, %215 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %238

220:                                              ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %221 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %222 unwind label %225

222:                                              ; preds = %220
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %221, i16 noundef zeroext 0)
          to label %223 unwind label %227

223:                                              ; preds = %222
  store ptr %221, ptr %22, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %224 unwind label %225

224:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br label %230

225:                                              ; preds = %223, %220
  %226 = landingpad { ptr, i32 }
          cleanup
  br label %229

227:                                              ; preds = %222
  %228 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %221, i64 noundef 32) #12
  br label %229

229:                                              ; preds = %227, %225
  %.pn = phi { ptr, i32 } [ %226, %225 ], [ %228, %227 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br label %238

230:                                              ; preds = %224, %214
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  invoke void @_ZN3cfg11CFGMutation13insert_beforeERKNS_23InstructionIteratorImplILb0EEESt6vectorIP13IRInstructionSaIS7_EE(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull %23)
          to label %231 unwind label %236

231:                                              ; preds = %230
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #9
  %232 = add i64 %.023124, 1
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  br label %233

233:                                              ; preds = %36, %231
  %.1 = phi i64 [ %232, %231 ], [ %.023124, %36 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %234 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %235 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  br i1 %235, label %32, label %._crit_edge

236:                                              ; preds = %230
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #9
  br label %238

238:                                              ; preds = %106, %111, %116, %219, %206, %201, %236, %229
  %.pn55.pn.pn.pn = phi { ptr, i32 } [ %237, %236 ], [ %.pn, %229 ], [ %.pn51, %219 ], [ %.pn49, %116 ], [ %.pn47, %111 ], [ %.pn45, %106 ], [ %.pn55, %206 ], [ %.pn53, %201 ]
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  br label %239

239:                                              ; preds = %100, %238, %68, %61, %59, %57
  %.pn61 = phi { ptr, i32 } [ %62, %61 ], [ %lpad.phi, %68 ], [ %60, %59 ], [ %58, %57 ], [ %.pn55.pn.pn.pn, %238 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  br label %240

240:                                              ; preds = %239, %55
  %.pn61.pn = phi { ptr, i32 } [ %.pn61, %239 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  br label %241

241:                                              ; preds = %240, %37
  %.pn61.pn.pn = phi { ptr, i32 } [ %.pn61.pn, %240 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  br label %245

242:                                              ; preds = %._crit_edge
  call void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #9
  ret i64 %.023.lcssa

243:                                              ; preds = %._crit_edge
  %244 = landingpad { ptr, i32 }
          cleanup
  br label %245

245:                                              ; preds = %30, %241, %243
  %.pn61.pn.pn.pn.pn = phi { ptr, i32 } [ %244, %243 ], [ %.pn61.pn.pn, %241 ], [ %31, %30 ]
  call void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #9
  resume { ptr, i32 } %.pn61.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cfg11CFGMutationC2ERNS_16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z19InstructionIterableIN3cfg5BlockEEN7ir_list23InstructionIterableImplILb0EEEPT_(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIterableImpl") align 8, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_117can_insert_beforeE8IROpcode(i16 noundef zeroext) local_unnamed_addr #3

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

; 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: mustprogress uwtable
declare dso_local void @_ZN7ir_list23InstructionIteratorImplILb0EEppEi(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

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

declare void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN7ir_list23InstructionIteratorImplILb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

declare noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cfg11CFGMutation13insert_beforeERKNS_23InstructionIteratorImplILb0EEESt6vectorIP13IRInstructionSaIS7_EE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4 align 2

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

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

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

declare void @_ZN3cfg11CFGMutation5flushEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3cfg11CFGMutationD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #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 = { 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 = { 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 #7 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass