; LLVM IR from facebook/redex :: service/reduce-boolean-branches (ReduceBooleanBranches)

; 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.(anonymous namespace)::Analyzer" = type { i8, ptr, ptr, %"class.std::unique_ptr.18" }
%"class.std::unique_ptr.18" = type { %"struct.std::__uniq_ptr_data.19" }
%"struct.std::__uniq_ptr_data.19" = type { %"class.std::__uniq_ptr_impl.20" }
%"class.std::__uniq_ptr_impl.20" = type { %"class.std::tuple.21" }
%"class.std::tuple.21" = type { %"struct.std::_Tuple_impl.22" }
%"struct.std::_Tuple_impl.22" = type { %"struct.std::_Head_base.25" }
%"struct.std::_Head_base.25" = type { ptr }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<Reduction, std::allocator<Reduction>>::_Vector_impl" }
%"struct.std::_Vector_base<Reduction, std::allocator<Reduction>>::_Vector_impl" = type { %"struct.std::_Vector_base<Reduction, std::allocator<Reduction>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Reduction, std::allocator<Reduction>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%class.anon = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.Reduction = type { ptr, ptr, %"class.std::vector", ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.68" = type { ptr }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.reduce_boolean_branches_impl::ReduceBooleanBranches" = type { ptr, i8, ptr, ptr, %"struct.reduce_boolean_branches_impl::Stats" }
%"struct.reduce_boolean_branches_impl::Stats" = type { i64, i64, i64 }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon }
%"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 = type { ptr }

@.str = external hidden unnamed_addr constant [29 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv = external hidden unnamed_addr constant [76 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [13 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv(ptr noundef nonnull align 8 dereferenceable(56) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.(anonymous namespace)::Analyzer", align 8
  %6 = alloca %"class.std::vector.26", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::vector.31", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"class.boost::intrusive::list_iterator", align 8
  %16 = alloca %"class.boost::intrusive::list_iterator", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i16, align 2
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %class.anon, align 1
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i8, align 1
  %36 = alloca %"class.std::vector", align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca %struct.Reduction, align 8
  %42 = alloca ptr, align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.68", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.68", align 8
  %45 = alloca ptr, align 8
  %46 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %47 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %48 = getelementptr inbounds %"class.reduce_boolean_branches_impl::ReduceBooleanBranches", ptr %47, i32 0, i32 3
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %49)
  store ptr %50, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #9
  %51 = getelementptr inbounds %"class.reduce_boolean_branches_impl::ReduceBooleanBranches", ptr %47, i32 0, i32 1
  %52 = load i8, ptr %51, align 8, !tbaa !14, !range !15, !noundef !16
  %53 = trunc i8 %52 to i1
  %54 = getelementptr inbounds %"class.reduce_boolean_branches_impl::ReduceBooleanBranches", ptr %47, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !17
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN12_GLOBAL__N_18AnalyzerC2EbP11DexTypeListRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(32) %5, i1 noundef zeroext %53, ptr noundef %55, ptr noundef nonnull align 8 dereferenceable(160) %56)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #9
  call void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #9
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind writable sret(%"class.std::vector.31") align 8 %8, ptr noundef nonnull align 8 dereferenceable(160) %57)
          to label %58 unwind label %68

58:                                               ; preds = %1
  store ptr %8, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  %61 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %60, ptr %61, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  br label %65

65:                                               ; preds = %490, %58
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br i1 %66, label %72, label %67

67:                                               ; preds = %65
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %523

68:                                               ; preds = %1
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %9, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %10, align 4
  br label %522

72:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  store ptr %74, ptr %14, align 8, !tbaa !5
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  %76 = invoke noundef zeroext i8 @_ZNK3cfg5Block13branchingnessEv(ptr noundef nonnull align 8 dereferenceable(104) %75)
          to label %77 unwind label %81

77:                                               ; preds = %72
  %78 = zext i8 %76 to i32
  %79 = icmp ne i32 %78, 3
  br i1 %79, label %80, label %85

80:                                               ; preds = %77
  store i32 3, ptr %13, align 4
  br label %487

81:                                               ; preds = %72
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %9, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %10, align 4
  br label %521

85:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block13get_last_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %15, ptr noundef nonnull align 8 dereferenceable(104) %86)
          to label %87 unwind label %95

87:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %16, ptr noundef nonnull align 8 dereferenceable(104) %88)
          to label %89 unwind label %99

89:                                               ; preds = %87
  %90 = invoke noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %91 unwind label %99

91:                                               ; preds = %89
  br i1 %90, label %92, label %93

92:                                               ; preds = %91
  br label %104

93:                                               ; preds = %91
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str, ptr noundef @.str.4, i32 noundef 220, ptr noundef @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef @.str.5) #10
          to label %94 unwind label %99

94:                                               ; preds = %93
  unreachable

95:                                               ; preds = %85
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %9, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %10, align 4
  br label %520

99:                                               ; preds = %93, %89, %87
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %9, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %520

103:                                              ; No predecessors!
  br label %104

104:                                              ; preds = %103, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %105 = invoke noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %106 unwind label %118

106:                                              ; preds = %104
  %107 = getelementptr inbounds %struct.MethodItemEntry, ptr %105, i32 0, i32 2
  %108 = load ptr, ptr %107, align 8, !tbaa !18
  store ptr %108, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %18) #9
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %109)
          to label %111 unwind label %122

111:                                              ; preds = %106
  store i16 %110, ptr %18, align 2, !tbaa !19
  %112 = load i16, ptr %18, align 2, !tbaa !19
  %113 = invoke noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext %112)
          to label %114 unwind label %122

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

115:                                              ; preds = %114
  br label %127

116:                                              ; preds = %114
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 223, ptr noundef @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef @.str.5) #10
          to label %117 unwind label %122

117:                                              ; preds = %116
  unreachable

118:                                              ; preds = %104
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %9, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %10, align 4
  br label %519

122:                                              ; preds = %116, %111, %106
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %9, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %10, align 4
  br label %518

126:                                              ; No predecessors!
  br label %127

127:                                              ; preds = %126, %115
  %128 = load i16, ptr %18, align 2, !tbaa !19
  %129 = zext i16 %128 to i32
  %130 = icmp ne i32 %129, 39
  br i1 %130, label %131, label %136

131:                                              ; preds = %127
  %132 = load i16, ptr %18, align 2, !tbaa !19
  %133 = zext i16 %132 to i32
  %134 = icmp ne i32 %133, 40
  br i1 %134, label %135, label %136

135:                                              ; preds = %131
  store i32 3, ptr %13, align 4
  br label %484

136:                                              ; preds = %131, %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = load ptr, ptr %14, align 8, !tbaa !5
  %139 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %137, ptr noundef %138, i8 noundef zeroext 0)
          to label %140 unwind label %146

140:                                              ; preds = %136
  store ptr %139, ptr %19, align 8, !tbaa !5
  %141 = load ptr, ptr %19, align 8, !tbaa !5
  %142 = icmp ne ptr %141, null
  br i1 %142, label %143, label %144

143:                                              ; preds = %140
  br label %151

144:                                              ; preds = %140
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 230, ptr noundef @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef @.str.5) #10
          to label %145 unwind label %146

145:                                              ; preds = %144
  unreachable

146:                                              ; preds = %144, %136
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %9, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %10, align 4
  br label %517

150:                                              ; No predecessors!
  br label %151

151:                                              ; preds = %150, %143
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = load ptr, ptr %14, align 8, !tbaa !5
  %154 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %152, ptr noundef %153, i8 noundef zeroext 1)
          to label %155 unwind label %161

155:                                              ; preds = %151
  store ptr %154, ptr %20, align 8, !tbaa !5
  %156 = load ptr, ptr %20, align 8, !tbaa !5
  %157 = icmp ne ptr %156, null
  br i1 %157, label %158, label %159

158:                                              ; preds = %155
  br label %166

159:                                              ; preds = %155
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 232, ptr noundef @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef @.str.5) #10
          to label %160 unwind label %161

160:                                              ; preds = %159
  unreachable

161:                                              ; preds = %159, %151
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %9, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %10, align 4
  br label %516

165:                                              ; No predecessors!
  br label %166

166:                                              ; preds = %165, %158
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  %168 = invoke noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %167)
          to label %169 unwind label %187

169:                                              ; preds = %166
  store ptr %168, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %170 = load ptr, ptr %20, align 8, !tbaa !5
  %171 = invoke noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %170)
          to label %172 unwind label %191

172:                                              ; preds = %169
  store ptr %171, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = load ptr, ptr %21, align 8, !tbaa !5
  %175 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %173, ptr noundef %174, i8 noundef zeroext 0)
          to label %176 unwind label %195

176:                                              ; preds = %172
  store ptr %175, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = load ptr, ptr %22, align 8, !tbaa !5
  %179 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %177, ptr noundef %178, i8 noundef zeroext 0)
          to label %180 unwind label %199

180:                                              ; preds = %176
  store ptr %179, ptr %24, align 8, !tbaa !5
  %181 = load ptr, ptr %23, align 8, !tbaa !5
  %182 = icmp eq ptr %181, null
  br i1 %182, label %186, label %183

183:                                              ; preds = %180
  %184 = load ptr, ptr %24, align 8, !tbaa !5
  %185 = icmp eq ptr %184, null
  br i1 %185, label %186, label %203

186:                                              ; preds = %183, %180
  store i32 3, ptr %13, align 4
  br label %483

187:                                              ; preds = %166
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %9, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %10, align 4
  br label %515

191:                                              ; preds = %169
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %9, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %10, align 4
  br label %514

195:                                              ; preds = %172
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %9, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %10, align 4
  br label %513

199:                                              ; preds = %176
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %9, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %10, align 4
  br label %512

203:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %204 = load ptr, ptr %23, align 8, !tbaa !5
  %205 = invoke noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %204)
          to label %206 unwind label %214

206:                                              ; preds = %203
  store ptr %205, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %207 = load ptr, ptr %24, align 8, !tbaa !5
  %208 = invoke noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %207)
          to label %209 unwind label %218

209:                                              ; preds = %206
  store ptr %208, ptr %26, align 8, !tbaa !5
  %210 = load ptr, ptr %25, align 8, !tbaa !5
  %211 = load ptr, ptr %26, align 8, !tbaa !5
  %212 = icmp ne ptr %210, %211
  br i1 %212, label %213, label %222

213:                                              ; preds = %209
  store i32 3, ptr %13, align 4
  br label %482

214:                                              ; preds = %203
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %9, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %10, align 4
  br label %511

218:                                              ; preds = %206
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %9, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %10, align 4
  br label %510

222:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %223 = load ptr, ptr %21, align 8, !tbaa !5
  %224 = invoke noundef ptr @"_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvENK3$_0clEPN3cfg5BlockE"(ptr noundef nonnull align 1 dereferenceable(1) %27, ptr noundef %223)
          to label %225 unwind label %235

225:                                              ; preds = %222
  store ptr %224, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %226 = load ptr, ptr %22, align 8, !tbaa !5
  %227 = invoke noundef ptr @"_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvENK3$_0clEPN3cfg5BlockE"(ptr noundef nonnull align 1 dereferenceable(1) %27, ptr noundef %226)
          to label %228 unwind label %239

228:                                              ; preds = %225
  store ptr %227, ptr %29, align 8, !tbaa !5
  %229 = load ptr, ptr %28, align 8, !tbaa !5
  %230 = icmp eq ptr %229, null
  br i1 %230, label %234, label %231

231:                                              ; preds = %228
  %232 = load ptr, ptr %29, align 8, !tbaa !5
  %233 = icmp eq ptr %232, null
  br i1 %233, label %234, label %243

234:                                              ; preds = %231, %228
  store i32 3, ptr %13, align 4
  br label %481

235:                                              ; preds = %222
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %9, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %10, align 4
  br label %509

239:                                              ; preds = %260, %253, %250, %243, %225
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %9, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %10, align 4
  br label %508

243:                                              ; preds = %231
  %244 = load ptr, ptr %28, align 8, !tbaa !5
  %245 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %244)
          to label %246 unwind label %239

246:                                              ; preds = %243
  %247 = zext i16 %245 to i32
  %248 = icmp eq i32 %247, 12
  br i1 %248, label %249, label %250

249:                                              ; preds = %246
  br label %253

250:                                              ; preds = %246
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.9, ptr noundef @.str.4, i32 noundef 269, ptr noundef @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef @.str.5) #10
          to label %251 unwind label %239

251:                                              ; preds = %250
  unreachable

252:                                              ; No predecessors!
  br label %253

253:                                              ; preds = %252, %249
  %254 = load ptr, ptr %29, align 8, !tbaa !5
  %255 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %254)
          to label %256 unwind label %239

256:                                              ; preds = %253
  %257 = zext i16 %255 to i32
  %258 = icmp eq i32 %257, 12
  br i1 %258, label %259, label %260

259:                                              ; preds = %256
  br label %263

260:                                              ; preds = %256
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.10, ptr noundef @.str.4, i32 noundef 270, ptr noundef @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef @.str.5) #10
          to label %261 unwind label %239

261:                                              ; preds = %260
  unreachable

262:                                              ; No predecessors!
  br label %263

263:                                              ; preds = %262, %259
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %264 = load ptr, ptr %28, align 8, !tbaa !5
  %265 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %264)
          to label %266 unwind label %273

266:                                              ; preds = %263
  store i32 %265, ptr %30, align 4, !tbaa !21
  %267 = load ptr, ptr %29, align 8, !tbaa !5
  %268 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %267)
          to label %269 unwind label %273

269:                                              ; preds = %266
  %270 = load i32, ptr %30, align 4, !tbaa !21
  %271 = icmp ne i32 %268, %270
  br i1 %271, label %272, label %277

272:                                              ; preds = %269
  store i32 3, ptr %13, align 4
  br label %480

273:                                              ; preds = %266, %263
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %9, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %10, align 4
  br label %507

277:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %278 = load ptr, ptr %28, align 8, !tbaa !5
  %279 = invoke noundef i64 @_ZNK13IRInstruction11get_literalEv(ptr noundef nonnull align 8 dereferenceable(32) %278)
          to label %280 unwind label %294

280:                                              ; preds = %277
  store i64 %279, ptr %31, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %281 = load ptr, ptr %29, align 8, !tbaa !5
  %282 = invoke noundef i64 @_ZNK13IRInstruction11get_literalEv(ptr noundef nonnull align 8 dereferenceable(32) %281)
          to label %283 unwind label %298

283:                                              ; preds = %280
  store i64 %282, ptr %32, align 8, !tbaa !23
  %284 = load i64, ptr %31, align 8, !tbaa !23
  %285 = load i64, ptr %32, align 8, !tbaa !23
  %286 = or i64 %284, %285
  %287 = icmp ne i64 %286, 1
  br i1 %287, label %293, label %288

288:                                              ; preds = %283
  %289 = load i64, ptr %31, align 8, !tbaa !23
  %290 = load i64, ptr %32, align 8, !tbaa !23
  %291 = and i64 %289, %290
  %292 = icmp ne i64 %291, 0
  br i1 %292, label %293, label %302

293:                                              ; preds = %288, %283
  store i32 3, ptr %13, align 4
  br label %479

294:                                              ; preds = %277
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %9, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %10, align 4
  br label %506

298:                                              ; preds = %280
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %9, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %10, align 4
  br label %505

302:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %303 = load ptr, ptr %17, align 8, !tbaa !5
  %304 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %303, i16 noundef zeroext 0)
          to label %305 unwind label %337

305:                                              ; preds = %302
  store i32 %304, ptr %33, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %306 = load ptr, ptr %14, align 8, !tbaa !5
  %307 = load ptr, ptr %17, align 8, !tbaa !5
  %308 = load i32, ptr %33, align 4, !tbaa !21
  %309 = invoke noundef i32 @_ZN12_GLOBAL__N_18Analyzer7analyzeEPN3cfg5BlockEP13IRInstructionj(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %306, ptr noundef %307, i32 noundef %308)
          to label %310 unwind label %341

310:                                              ; preds = %305
  store i32 %309, ptr %34, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #9
  %311 = load ptr, ptr %21, align 8, !tbaa !5
  %312 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3cfg5Block5predsEv(ptr noundef nonnull align 8 dereferenceable(104) %311)
          to label %313 unwind label %345

313:                                              ; preds = %310
  %314 = call noundef i64 @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %312) #9
  %315 = load ptr, ptr %22, align 8, !tbaa !5
  %316 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3cfg5Block5predsEv(ptr noundef nonnull align 8 dereferenceable(104) %315)
          to label %317 unwind label %345

317:                                              ; preds = %313
  %318 = call noundef i64 @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %316) #9
  %319 = add i64 %314, %318
  %320 = icmp eq i64 %319, 2
  %321 = zext i1 %320 to i8
  store i8 %321, ptr %35, align 1, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #9
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  %322 = load i32, ptr %34, align 4, !tbaa !18
  %323 = icmp eq i32 %322, 1
  br i1 %323, label %324, label %382

324:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %325 = load i16, ptr %18, align 2, !tbaa !19
  %326 = zext i16 %325 to i32
  %327 = icmp eq i32 %326, 39
  %328 = zext i1 %327 to i32
  %329 = load i64, ptr %32, align 8, !tbaa !23
  %330 = icmp eq i64 %329, 0
  %331 = zext i1 %330 to i32
  %332 = icmp eq i32 %328, %331
  br i1 %332, label %333, label %357

333:                                              ; preds = %324
  %334 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %335 unwind label %349

335:                                              ; preds = %333
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %334, i16 noundef zeroext 1)
          to label %336 unwind label %353

336:                                              ; preds = %335
  store ptr %334, ptr %37, align 8, !tbaa !5
  br label %368

337:                                              ; preds = %302
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %9, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %10, align 4
  br label %504

341:                                              ; preds = %305
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %9, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %10, align 4
  br label %503

345:                                              ; preds = %313, %310
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %9, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %10, align 4
  br label %502

349:                                              ; preds = %375, %372, %368, %360, %357, %333
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %9, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %10, align 4
  br label %381

353:                                              ; preds = %335
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %9, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %334, i64 noundef 32) #12
  br label %381

357:                                              ; preds = %324
  %358 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %359 unwind label %349

359:                                              ; preds = %357
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %358, i16 noundef zeroext 154)
          to label %360 unwind label %364

360:                                              ; preds = %359
  store ptr %358, ptr %37, align 8, !tbaa !5
  %361 = load ptr, ptr %37, align 8, !tbaa !5
  %362 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %361, i64 noundef 1)
          to label %363 unwind label %349

363:                                              ; preds = %360
  br label %368

364:                                              ; preds = %359
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %9, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %358, i64 noundef 32) #12
  br label %381

368:                                              ; preds = %363, %336
  %369 = load ptr, ptr %37, align 8, !tbaa !5
  %370 = load i32, ptr %30, align 4, !tbaa !21
  %371 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %369, i32 noundef %370)
          to label %372 unwind label %349

372:                                              ; preds = %368
  %373 = load i32, ptr %33, align 4, !tbaa !21
  %374 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %371, i16 noundef zeroext 0, i32 noundef %373)
          to label %375 unwind label %349

375:                                              ; preds = %372
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %376 unwind label %349

376:                                              ; preds = %375
  %377 = getelementptr inbounds %"class.reduce_boolean_branches_impl::ReduceBooleanBranches", ptr %47, i32 0, i32 4
  %378 = getelementptr inbounds %"struct.reduce_boolean_branches_impl::Stats", ptr %377, i32 0, i32 0
  %379 = load i64, ptr %378, align 8, !tbaa !25
  %380 = add i64 %379, 1
  store i64 %380, ptr %378, align 8, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %466

381:                                              ; preds = %364, %353, %349
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %501

382:                                              ; preds = %317
  %383 = load i32, ptr %34, align 4, !tbaa !18
  %384 = icmp eq i32 %383, 2
  br i1 %384, label %385, label %464

385:                                              ; preds = %382
  %386 = load i8, ptr %35, align 1, !tbaa !24, !range !15, !noundef !16
  %387 = trunc i8 %386 to i1
  br i1 %387, label %388, label %464

388:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %389 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %390 unwind label %432

390:                                              ; preds = %388
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %389, i16 noundef zeroext 19)
          to label %391 unwind label %436

391:                                              ; preds = %390
  store ptr %389, ptr %38, align 8, !tbaa !5
  %392 = load ptr, ptr %38, align 8, !tbaa !5
  %393 = invoke noundef ptr @_ZN4type16java_lang_ObjectEv()
          to label %394 unwind label %432

394:                                              ; preds = %391
  %395 = invoke noundef ptr @_ZN13IRInstruction8set_typeEP7DexType(ptr noundef nonnull align 8 dereferenceable(32) %392, ptr noundef %393)
          to label %396 unwind label %432

396:                                              ; preds = %394
  %397 = load ptr, ptr %38, align 8, !tbaa !5
  %398 = load i32, ptr %33, align 4, !tbaa !21
  %399 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %397, i16 noundef zeroext 0, i32 noundef %398)
          to label %400 unwind label %432

400:                                              ; preds = %396
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %401 unwind label %432

401:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %402 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %403 unwind label %440

403:                                              ; preds = %401
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %402, i16 noundef zeroext 163)
          to label %404 unwind label %444

404:                                              ; preds = %403
  store ptr %402, ptr %39, align 8, !tbaa !5
  %405 = load ptr, ptr %39, align 8, !tbaa !5
  %406 = load i32, ptr %30, align 4, !tbaa !21
  %407 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %405, i32 noundef %406)
          to label %408 unwind label %440

408:                                              ; preds = %404
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %409 unwind label %440

409:                                              ; preds = %408
  %410 = load i16, ptr %18, align 2, !tbaa !19
  %411 = zext i16 %410 to i32
  %412 = icmp eq i32 %411, 39
  %413 = zext i1 %412 to i32
  %414 = load i64, ptr %32, align 8, !tbaa !23
  %415 = icmp eq i64 %414, 0
  %416 = zext i1 %415 to i32
  %417 = icmp ne i32 %413, %416
  br i1 %417, label %418, label %457

418:                                              ; preds = %409
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %419 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %420 unwind label %448

420:                                              ; preds = %418
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %419, i16 noundef zeroext 154)
          to label %421 unwind label %452

421:                                              ; preds = %420
  store ptr %419, ptr %40, align 8, !tbaa !5
  %422 = load ptr, ptr %40, align 8, !tbaa !5
  %423 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %422, i64 noundef 1)
          to label %424 unwind label %448

424:                                              ; preds = %421
  %425 = load i32, ptr %30, align 4, !tbaa !21
  %426 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %423, i32 noundef %425)
          to label %427 unwind label %448

427:                                              ; preds = %424
  %428 = load i32, ptr %30, align 4, !tbaa !21
  %429 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %426, i16 noundef zeroext 0, i32 noundef %428)
          to label %430 unwind label %448

430:                                              ; preds = %427
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %431 unwind label %448

431:                                              ; preds = %430
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  br label %457

432:                                              ; preds = %400, %396, %394, %391, %388
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %9, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %10, align 4
  br label %463

436:                                              ; preds = %390
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %9, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %389, i64 noundef 32) #12
  br label %463

440:                                              ; preds = %408, %404, %401
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %9, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %10, align 4
  br label %462

444:                                              ; preds = %403
  %445 = landingpad { ptr, i32 }
          cleanup
  %446 = extractvalue { ptr, i32 } %445, 0
  store ptr %446, ptr %9, align 8
  %447 = extractvalue { ptr, i32 } %445, 1
  store i32 %447, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %402, i64 noundef 32) #12
  br label %462

448:                                              ; preds = %430, %427, %424, %421, %418
  %449 = landingpad { ptr, i32 }
          cleanup
  %450 = extractvalue { ptr, i32 } %449, 0
  store ptr %450, ptr %9, align 8
  %451 = extractvalue { ptr, i32 } %449, 1
  store i32 %451, ptr %10, align 4
  br label %456

452:                                              ; preds = %420
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %9, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %419, i64 noundef 32) #12
  br label %456

456:                                              ; preds = %452, %448
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  br label %462

457:                                              ; preds = %431, %409
  %458 = getelementptr inbounds %"class.reduce_boolean_branches_impl::ReduceBooleanBranches", ptr %47, i32 0, i32 4
  %459 = getelementptr inbounds %"struct.reduce_boolean_branches_impl::Stats", ptr %458, i32 0, i32 1
  %460 = load i64, ptr %459, align 8, !tbaa !26
  %461 = add i64 %460, 1
  store i64 %461, ptr %459, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %465

462:                                              ; preds = %456, %444, %440
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  br label %463

463:                                              ; preds = %462, %436, %432
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %501

464:                                              ; preds = %385, %382
  store i32 3, ptr %13, align 4
  br label %478

465:                                              ; preds = %457
  br label %466

466:                                              ; preds = %465, %376
  call void @llvm.lifetime.start.p0(i64 56, ptr %41) #9
  %467 = getelementptr inbounds %struct.Reduction, ptr %41, i32 0, i32 0
  %468 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %468, ptr %467, align 8, !tbaa !27
  %469 = getelementptr inbounds %struct.Reduction, ptr %41, i32 0, i32 1
  %470 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %470, ptr %469, align 8, !tbaa !33
  %471 = getelementptr inbounds %struct.Reduction, ptr %41, i32 0, i32 2
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %471, ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %472 unwind label %492

472:                                              ; preds = %466
  %473 = getelementptr inbounds %struct.Reduction, ptr %41, i32 0, i32 3
  %474 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %474, ptr %473, align 8, !tbaa !34
  %475 = getelementptr inbounds %struct.Reduction, ptr %41, i32 0, i32 4
  %476 = load ptr, ptr %25, align 8, !tbaa !5
  store ptr %476, ptr %475, align 8, !tbaa !35
  invoke void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(56) %41)
          to label %477 unwind label %496

477:                                              ; preds = %472
  call void @_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvEN9ReductionD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %41) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %41) #9
  store i32 0, ptr %13, align 4
  br label %478

478:                                              ; preds = %477, %464
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %479

479:                                              ; preds = %478, %293
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %480

480:                                              ; preds = %479, %272
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %481

481:                                              ; preds = %480, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  br label %482

482:                                              ; preds = %481, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %483

483:                                              ; preds = %482, %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %484

484:                                              ; preds = %483, %135
  call void @llvm.lifetime.end.p0(i64 2, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  %485 = load i32, ptr %13, align 4
  switch i32 %485, label %487 [
    i32 0, label %486
  ]

486:                                              ; preds = %484
  store i32 0, ptr %13, align 4
  br label %487

487:                                              ; preds = %486, %484, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  %488 = load i32, ptr %13, align 4
  switch i32 %488, label %588 [
    i32 0, label %489
    i32 3, label %490
  ]

489:                                              ; preds = %487
  br label %490

490:                                              ; preds = %489, %487
  %491 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  br label %65

492:                                              ; preds = %466
  %493 = landingpad { ptr, i32 }
          cleanup
  %494 = extractvalue { ptr, i32 } %493, 0
  store ptr %494, ptr %9, align 8
  %495 = extractvalue { ptr, i32 } %493, 1
  store i32 %495, ptr %10, align 4
  br label %500

496:                                              ; preds = %472
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %9, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %10, align 4
  call void @_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvEN9ReductionD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %41) #9
  br label %500

500:                                              ; preds = %496, %492
  call void @llvm.lifetime.end.p0(i64 56, ptr %41) #9
  br label %501

501:                                              ; preds = %500, %463, %381
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #9
  br label %502

502:                                              ; preds = %501, %345
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #9
  br label %503

503:                                              ; preds = %502, %341
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %504

504:                                              ; preds = %503, %337
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %505

505:                                              ; preds = %504, %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %506

506:                                              ; preds = %505, %294
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %507

507:                                              ; preds = %506, %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %508

508:                                              ; preds = %507, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %509

509:                                              ; preds = %508, %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  br label %510

510:                                              ; preds = %509, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %511

511:                                              ; preds = %510, %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %512

512:                                              ; preds = %511, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %513

513:                                              ; preds = %512, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %514

514:                                              ; preds = %513, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %515

515:                                              ; preds = %514, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %516

516:                                              ; preds = %515, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %517

517:                                              ; preds = %516, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %518

518:                                              ; preds = %517, %122
  call void @llvm.lifetime.end.p0(i64 2, ptr %18) #9
  br label %519

519:                                              ; preds = %518, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %520

520:                                              ; preds = %519, %99, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %521

521:                                              ; preds = %520, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #9
  br label %522

522:                                              ; preds = %521, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %582

523:                                              ; preds = %67
  %524 = call noundef zeroext i1 @_ZNKSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  br i1 %524, label %579, label %525

525:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #9
  store ptr %6, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #9
  %526 = load ptr, ptr %42, align 8, !tbaa !5
  %527 = call ptr @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %526) #9
  %528 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.68", ptr %43, i32 0, i32 0
  store ptr %527, ptr %528, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  %529 = load ptr, ptr %42, align 8, !tbaa !5
  %530 = call ptr @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %529) #9
  %531 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.68", ptr %44, i32 0, i32 0
  store ptr %530, ptr %531, align 8
  br label %532

532:                                              ; preds = %569, %525
  %533 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  br i1 %533, label %535, label %534

534:                                              ; preds = %532
  store i32 4, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  br label %571

535:                                              ; preds = %532
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %536 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  store ptr %536, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #9
  %537 = load ptr, ptr %4, align 8, !tbaa !5
  %538 = load ptr, ptr %45, align 8, !tbaa !5
  %539 = getelementptr inbounds %struct.Reduction, ptr %538, i32 0, i32 0
  %540 = load ptr, ptr %539, align 8, !tbaa !27
  %541 = load ptr, ptr %45, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.Reduction, ptr %541, i32 0, i32 1
  %543 = load ptr, ptr %542, align 8, !tbaa !33
  invoke void @_ZN3cfg16ControlFlowGraph9find_insnEP13IRInstructionPNS_5BlockE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %46, ptr noundef nonnull align 8 dereferenceable(160) %537, ptr noundef %540, ptr noundef %543)
          to label %544 unwind label %550

544:                                              ; preds = %535
  %545 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %546 unwind label %550

546:                                              ; preds = %544
  br i1 %545, label %548, label %547

547:                                              ; preds = %546
  br label %555

548:                                              ; preds = %546
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.11, ptr noundef @.str.4, i32 noundef 324, ptr noundef @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef @.str.5) #10
          to label %549 unwind label %550

549:                                              ; preds = %548
  unreachable

550:                                              ; preds = %560, %555, %548, %544, %535
  %551 = landingpad { ptr, i32 }
          cleanup
  %552 = extractvalue { ptr, i32 } %551, 0
  store ptr %552, ptr %9, align 8
  %553 = extractvalue { ptr, i32 } %551, 1
  store i32 %553, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  br label %582

554:                                              ; No predecessors!
  br label %555

555:                                              ; preds = %554, %547
  %556 = load ptr, ptr %4, align 8, !tbaa !5
  %557 = load ptr, ptr %45, align 8, !tbaa !5
  %558 = getelementptr inbounds %struct.Reduction, ptr %557, i32 0, i32 2
  %559 = invoke noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13replace_insnsERKNS_23InstructionIteratorImplILb0EEERKSt6vectorIP13IRInstructionSaIS7_EE(ptr noundef nonnull align 8 dereferenceable(160) %556, ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(24) %558)
          to label %560 unwind label %550

560:                                              ; preds = %555
  %561 = load ptr, ptr %4, align 8, !tbaa !5
  %562 = load ptr, ptr %45, align 8, !tbaa !5
  %563 = getelementptr inbounds %struct.Reduction, ptr %562, i32 0, i32 3
  %564 = load ptr, ptr %563, align 8, !tbaa !34
  %565 = load ptr, ptr %45, align 8, !tbaa !5
  %566 = getelementptr inbounds %struct.Reduction, ptr %565, i32 0, i32 4
  %567 = load ptr, ptr %566, align 8, !tbaa !35
  invoke void @_ZN3cfg16ControlFlowGraph15set_edge_targetEPNS_4EdgeEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(160) %561, ptr noundef %564, ptr noundef %567)
          to label %568 unwind label %550

568:                                              ; preds = %560
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  br label %569

569:                                              ; preds = %568
  %570 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  br label %532

571:                                              ; preds = %534
  %572 = load ptr, ptr %4, align 8, !tbaa !5
  %573 = invoke noundef i32 @_ZN3cfg16ControlFlowGraph8simplifyEv(ptr noundef nonnull align 8 dereferenceable(160) %572)
          to label %574 unwind label %575

574:                                              ; preds = %571
  store i1 true, ptr %2, align 1
  store i32 1, ptr %13, align 4
  br label %580

575:                                              ; preds = %571
  %576 = landingpad { ptr, i32 }
          cleanup
  %577 = extractvalue { ptr, i32 } %576, 0
  store ptr %577, ptr %9, align 8
  %578 = extractvalue { ptr, i32 } %576, 1
  store i32 %578, ptr %10, align 4
  br label %582

579:                                              ; preds = %523
  store i1 false, ptr %2, align 1
  store i32 1, ptr %13, align 4
  br label %580

580:                                              ; preds = %579, %574
  call void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #9
  call void @_ZN12_GLOBAL__N_18AnalyzerD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  %581 = load i1, ptr %2, align 1
  ret i1 %581

582:                                              ; preds = %575, %550, %522
  call void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #9
  call void @_ZN12_GLOBAL__N_18AnalyzerD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %583

583:                                              ; preds = %582
  %584 = load ptr, ptr %9, align 8
  %585 = load i32, ptr %10, align 4
  %586 = insertvalue { ptr, i32 } poison, ptr %584, 0
  %587 = insertvalue { ptr, i32 } %586, i32 %585, 1
  resume { ptr, i32 } %587

588:                                              ; preds = %487
  unreachable
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_18AnalyzerC2EbP11DexTypeListRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #2 align 2

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

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

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

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

declare noundef zeroext i8 @_ZNK3cfg5Block13branchingnessEv(ptr noundef nonnull align 8 dereferenceable(104)) #3

declare void @_ZN3cfg5Block13get_last_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) #3

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

declare void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #6 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext) #4

declare noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, i8 noundef zeroext) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @"_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvENK3$_0clEPN3cfg5BlockE"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) #6 align 2

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

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

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

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

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

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

; 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: 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 #3

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

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

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

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

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

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(56)) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvEN9ReductionD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4 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

; 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 nounwind uwtable
declare hidden noundef zeroext i1 @_ZNKSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN9__gnu_cxxneIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

declare noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13replace_insnsERKNS_23InstructionIteratorImplILb0EEERKSt6vectorIP13IRInstructionSaIS7_EE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #3

declare void @_ZN3cfg16ControlFlowGraph15set_edge_targetEPNS_4EdgeEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef) #3

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

declare noundef i32 @_ZN3cfg16ControlFlowGraph8simplifyEv(ptr noundef nonnull align 8 dereferenceable(160)) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_18AnalyzerD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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, !6, i64 24}
!10 = !{!"_ZTSN28reduce_boolean_branches_impl21ReduceBooleanBranchesE", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !12, i64 32}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN28reduce_boolean_branches_impl5StatsE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !11, i64 8}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!10, !6, i64 16}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"_ZTS8IROpcode", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!13, !13, i64 0}
!24 = !{!11, !11, i64 0}
!25 = !{!10, !13, i64 32}
!26 = !{!10, !13, i64 40}
!27 = !{!28, !6, i64 0}
!28 = !{!"_ZTSZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9Reduction", !6, i64 0, !6, i64 8, !29, i64 16, !6, i64 40, !6, i64 48}
!29 = !{!"_ZTSSt6vectorIP13IRInstructionSaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIP13IRInstructionSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!28, !6, i64 8}
!34 = !{!28, !6, i64 40}
!35 = !{!28, !6, i64 48}


; 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.(anonymous namespace)::Analyzer" = type { i8, ptr, ptr, %"class.std::unique_ptr.18" }
%"class.std::unique_ptr.18" = type { %"struct.std::__uniq_ptr_data.19" }
%"struct.std::__uniq_ptr_data.19" = type { %"class.std::__uniq_ptr_impl.20" }
%"class.std::__uniq_ptr_impl.20" = type { %"class.std::tuple.21" }
%"class.std::tuple.21" = type { %"struct.std::_Tuple_impl.22" }
%"struct.std::_Tuple_impl.22" = type { %"struct.std::_Head_base.25" }
%"struct.std::_Head_base.25" = type { ptr }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<Reduction, std::allocator<Reduction>>::_Vector_impl" }
%"struct.std::_Vector_base<Reduction, std::allocator<Reduction>>::_Vector_impl" = type { %"struct.std::_Vector_base<Reduction, std::allocator<Reduction>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Reduction, std::allocator<Reduction>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%class.anon = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.Reduction = type { ptr, ptr, %"class.std::vector", ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.68" = type { ptr }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }

@.str = external hidden unnamed_addr constant [29 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv = external hidden unnamed_addr constant [76 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [13 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 uwtable
define dso_local noundef zeroext i1 @_ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv(ptr nocapture noundef nonnull align 8 dereferenceable(56) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.(anonymous namespace)::Analyzer", align 8
  %3 = alloca %"class.std::vector.26", align 8
  %4 = alloca %"class.std::vector.31", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.boost::intrusive::list_iterator", align 8
  %8 = alloca %"class.boost::intrusive::list_iterator", align 8
  %9 = alloca %class.anon, align 1
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %struct.Reduction, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.68", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.68", align 8
  %18 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = tail call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %20)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #9
  %22 = getelementptr inbounds i8, ptr %0, i64 8
  %23 = load i8, ptr %22, align 8, !tbaa !13, !range !14, !noundef !15
  %24 = trunc nuw i8 %23 to i1
  %25 = getelementptr inbounds i8, ptr %0, i64 16
  %26 = load ptr, ptr %25, align 8, !tbaa !16
  call void @_ZN12_GLOBAL__N_18AnalyzerC2EbP11DexTypeListRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(32) %2, i1 noundef zeroext %24, ptr noundef %26, ptr noundef nonnull align 8 dereferenceable(160) %21)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  call void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  invoke void @_ZNK3cfg16ControlFlowGraph6blocksEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.31") align 8 %4, ptr noundef nonnull align 8 dereferenceable(160) %21)
          to label %27 unwind label %38

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

.lr.ph:                                           ; preds = %27
  %31 = getelementptr inbounds i8, ptr %0, i64 40
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  %33 = getelementptr inbounds i8, ptr %15, i64 8
  %34 = getelementptr inbounds i8, ptr %15, i64 16
  %35 = getelementptr inbounds i8, ptr %15, i64 40
  %36 = getelementptr inbounds i8, ptr %15, i64 48
  br label %40

._crit_edge:                                      ; preds = %236, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  %37 = call noundef zeroext i1 @_ZNKSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  br i1 %37, label %276, label %248

38:                                               ; preds = %1
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %277

40:                                               ; preds = %.lr.ph, %236
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  %42 = load ptr, ptr %41, align 8, !tbaa !17
  %43 = invoke noundef zeroext i8 @_ZNK3cfg5Block13branchingnessEv(ptr noundef nonnull align 8 dereferenceable(104) %42)
          to label %44 unwind label %45

44:                                               ; preds = %40
  %.not = icmp eq i8 %43, 3
  br i1 %.not, label %47, label %236

45:                                               ; preds = %40
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %247

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  invoke void @_ZN3cfg5Block13get_last_insnEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(104) %42)
          to label %48 unwind label %53

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  invoke void @_ZN3cfg5Block3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %8, ptr noundef nonnull align 8 dereferenceable(104) %42)
          to label %49 unwind label %.loopexit161

49:                                               ; preds = %48
  %50 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  br i1 %50, label %56, label %51

51:                                               ; preds = %49
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str, ptr noundef nonnull @.str.4, i32 noundef 220, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef nonnull @.str.5) #10
          to label %52 unwind label %.loopexit.split-lp162

52:                                               ; preds = %51
  unreachable

53:                                               ; preds = %47
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %246

.loopexit161:                                     ; preds = %48
  %lpad.loopexit163 = landingpad { ptr, i32 }
          cleanup
  br label %55

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

55:                                               ; preds = %.loopexit.split-lp162, %.loopexit161
  %lpad.phi165 = phi { ptr, i32 } [ %lpad.loopexit163, %.loopexit161 ], [ %lpad.loopexit.split-lp164, %.loopexit.split-lp162 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %246

56:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %57 = invoke noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %58 unwind label %65

58:                                               ; preds = %56
  %59 = getelementptr inbounds i8, ptr %57, i64 24
  %60 = load ptr, ptr %59, align 8, !tbaa !18
  %61 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %60)
  %62 = call noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext %61)
  br i1 %62, label %69, label %63

63:                                               ; preds = %58
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.4, i32 noundef 223, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef nonnull @.str.5) #10
          to label %64 unwind label %67

64:                                               ; preds = %63
  unreachable

65:                                               ; preds = %56
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %246

67:                                               ; preds = %63
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %246

69:                                               ; preds = %58
  %70 = add i16 %61, -41
  %or.cond = icmp ult i16 %70, -2
  br i1 %or.cond, label %235, label %71

71:                                               ; preds = %69
  %72 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef nonnull %42, i8 noundef zeroext 0)
          to label %73 unwind label %.loopexit166

73:                                               ; preds = %71
  %.not128 = icmp eq ptr %72, null
  br i1 %.not128, label %74, label %76

74:                                               ; preds = %73
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 230, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef nonnull @.str.5) #10
          to label %75 unwind label %.loopexit.split-lp167

75:                                               ; preds = %74
  unreachable

.loopexit166:                                     ; preds = %71
  %lpad.loopexit168 = landingpad { ptr, i32 }
          cleanup
  br label %246

.loopexit.split-lp167:                            ; preds = %74
  %lpad.loopexit.split-lp169 = landingpad { ptr, i32 }
          cleanup
  br label %246

76:                                               ; preds = %73
  %77 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef nonnull %42, i8 noundef zeroext 1)
          to label %78 unwind label %.loopexit171

78:                                               ; preds = %76
  %.not129 = icmp eq ptr %77, null
  br i1 %.not129, label %79, label %81

79:                                               ; preds = %78
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 232, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef nonnull @.str.5) #10
          to label %80 unwind label %.loopexit.split-lp172

80:                                               ; preds = %79
  unreachable

.loopexit171:                                     ; preds = %76
  %lpad.loopexit173 = landingpad { ptr, i32 }
          cleanup
  br label %246

.loopexit.split-lp172:                            ; preds = %79
  %lpad.loopexit.split-lp174 = landingpad { ptr, i32 }
          cleanup
  br label %246

81:                                               ; preds = %78
  %82 = call noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %72)
  %83 = call noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %77)
  %84 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef %82, i8 noundef zeroext 0)
          to label %85 unwind label %90

85:                                               ; preds = %81
  %86 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef %83, i8 noundef zeroext 0)
          to label %87 unwind label %92

87:                                               ; preds = %85
  %88 = icmp eq ptr %84, null
  %89 = icmp eq ptr %86, null
  %or.cond4 = or i1 %88, %89
  br i1 %or.cond4, label %235, label %94

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

92:                                               ; preds = %85
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %246

94:                                               ; preds = %87
  %95 = call noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %84)
  %96 = call noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %.not130 = icmp eq ptr %95, %96
  br i1 %.not130, label %97, label %235

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  %98 = invoke noundef ptr @"_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvENK3$_0clEPN3cfg5BlockE"(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef %82)
          to label %99 unwind label %104

99:                                               ; preds = %97
  %100 = invoke noundef ptr @"_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvENK3$_0clEPN3cfg5BlockE"(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef %83)
          to label %101 unwind label %.loopexit176

101:                                              ; preds = %99
  %102 = icmp eq ptr %98, null
  %103 = icmp eq ptr %100, null
  %or.cond6 = or i1 %102, %103
  br i1 %or.cond6, label %234, label %106

104:                                              ; preds = %97
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %245

.loopexit176:                                     ; preds = %99
  %lpad.loopexit178 = landingpad { ptr, i32 }
          cleanup
  br label %245

.loopexit.split-lp177:                            ; preds = %.invoke
  %lpad.loopexit.split-lp179 = landingpad { ptr, i32 }
          cleanup
  br label %245

106:                                              ; preds = %101
  %107 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %98)
  %108 = icmp eq i16 %107, 12
  br i1 %108, label %111, label %.invoke

.invoke:                                          ; preds = %111, %106
  %109 = phi ptr [ @.str.9, %106 ], [ @.str.10, %111 ]
  %110 = phi i32 [ 269, %106 ], [ 270, %111 ]
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull %109, ptr noundef nonnull @.str.4, i32 noundef %110, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef nonnull @.str.5) #10
          to label %.cont unwind label %.loopexit.split-lp177

.cont:                                            ; preds = %.invoke
  unreachable

111:                                              ; preds = %106
  %112 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %100)
  %113 = icmp eq i16 %112, 12
  br i1 %113, label %114, label %.invoke

114:                                              ; preds = %111
  %115 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %98)
          to label %116 unwind label %119

116:                                              ; preds = %114
  %117 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %100)
          to label %118 unwind label %119

118:                                              ; preds = %116
  %.not131 = icmp eq i32 %117, %115
  br i1 %.not131, label %121, label %234

119:                                              ; preds = %116, %114
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %245

121:                                              ; preds = %118
  %122 = invoke noundef i64 @_ZNK13IRInstruction11get_literalEv(ptr noundef nonnull align 8 dereferenceable(32) %98)
          to label %123 unwind label %128

123:                                              ; preds = %121
  %124 = invoke noundef i64 @_ZNK13IRInstruction11get_literalEv(ptr noundef nonnull align 8 dereferenceable(32) %100)
          to label %125 unwind label %130

125:                                              ; preds = %123
  %126 = or i64 %124, %122
  %.not132 = icmp eq i64 %126, 1
  %127 = and i64 %124, %122
  %.not133 = icmp eq i64 %127, 0
  %or.cond160 = and i1 %.not132, %.not133
  br i1 %or.cond160, label %132, label %234

128:                                              ; preds = %121
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %245

130:                                              ; preds = %123
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %245

132:                                              ; preds = %125
  %133 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %60, i16 noundef zeroext 0)
          to label %134 unwind label %151

134:                                              ; preds = %132
  %135 = invoke noundef i32 @_ZN12_GLOBAL__N_18Analyzer7analyzeEPN3cfg5BlockEP13IRInstructionj(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull %42, ptr noundef nonnull %60, i32 noundef %133)
          to label %136 unwind label %153

136:                                              ; preds = %134
  %137 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3cfg5Block5predsEv(ptr noundef nonnull align 8 dereferenceable(104) %82)
  %138 = call noundef i64 @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #9
  %139 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3cfg5Block5predsEv(ptr noundef nonnull align 8 dereferenceable(104) %83)
  %140 = call noundef i64 @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #9
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  switch i32 %135, label %233 [
    i32 1, label %141
    i32 2, label %176
  ]

141:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %142 = icmp eq i16 %61, 39
  %143 = zext i1 %142 to i32
  %144 = trunc nuw i64 %124 to i32
  %145 = xor i32 %144, %143
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %147, label %159

147:                                              ; preds = %141
  %148 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %149 unwind label %155

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

150:                                              ; preds = %149
  store ptr %148, ptr %11, align 8, !tbaa !17
  br label %166

151:                                              ; preds = %132
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %245

153:                                              ; preds = %134
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %245

155:                                              ; preds = %171, %169, %166, %162, %159, %147
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %175

157:                                              ; preds = %149
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %148, i64 noundef 32) #12
  br label %175

159:                                              ; preds = %141
  %160 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %161 unwind label %155

161:                                              ; preds = %159
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %160, i16 noundef zeroext 154)
          to label %162 unwind label %164

162:                                              ; preds = %161
  store ptr %160, ptr %11, align 8, !tbaa !17
  %163 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %160, i64 noundef 1)
          to label %._crit_edge204 unwind label %155

._crit_edge204:                                   ; preds = %162
  %.pre = load ptr, ptr %11, align 8, !tbaa !17
  br label %166

164:                                              ; preds = %161
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %160, i64 noundef 32) #12
  br label %175

166:                                              ; preds = %._crit_edge204, %150
  %167 = phi ptr [ %.pre, %._crit_edge204 ], [ %148, %150 ]
  %168 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %167, i32 noundef %115)
          to label %169 unwind label %155

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

171:                                              ; preds = %169
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %172 unwind label %155

172:                                              ; preds = %171
  %173 = load i64, ptr %32, align 8, !tbaa !19
  %174 = add i64 %173, 1
  store i64 %174, ptr %32, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %230

175:                                              ; preds = %164, %157, %155
  %.pn138 = phi { ptr, i32 } [ %156, %155 ], [ %158, %157 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %244

176:                                              ; preds = %136
  %177 = add i64 %140, %138
  %178 = icmp eq i64 %177, 2
  br i1 %178, label %179, label %233

179:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %180 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %181 unwind label %212

181:                                              ; preds = %179
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %180, i16 noundef zeroext 19)
          to label %182 unwind label %214

182:                                              ; preds = %181
  store ptr %180, ptr %12, align 8, !tbaa !17
  %183 = invoke noundef ptr @_ZN4type16java_lang_ObjectEv()
          to label %184 unwind label %212

184:                                              ; preds = %182
  %185 = invoke noundef ptr @_ZN13IRInstruction8set_typeEP7DexType(ptr noundef nonnull align 8 dereferenceable(32) %180, ptr noundef %183)
          to label %186 unwind label %212

186:                                              ; preds = %184
  %187 = load ptr, ptr %12, align 8, !tbaa !17
  %188 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %187, i16 noundef zeroext 0, i32 noundef %133)
          to label %189 unwind label %212

189:                                              ; preds = %186
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %190 unwind label %212

190:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %191 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %192 unwind label %216

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

193:                                              ; preds = %192
  store ptr %191, ptr %13, align 8, !tbaa !17
  %194 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %191, i32 noundef %115)
          to label %195 unwind label %216

195:                                              ; preds = %193
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %196 unwind label %216

196:                                              ; preds = %195
  %197 = icmp eq i16 %61, 39
  %198 = zext i1 %197 to i32
  %199 = trunc nuw i64 %124 to i32
  %200 = xor i32 %199, %198
  %.not134 = icmp eq i32 %200, 1
  br i1 %.not134, label %225, label %201

201:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %202 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %203 unwind label %220

203:                                              ; preds = %201
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %202, i16 noundef zeroext 154)
          to label %204 unwind label %222

204:                                              ; preds = %203
  store ptr %202, ptr %14, align 8, !tbaa !17
  %205 = invoke noundef ptr @_ZN13IRInstruction11set_literalEl(ptr noundef nonnull align 8 dereferenceable(32) %202, i64 noundef 1)
          to label %206 unwind label %220

206:                                              ; preds = %204
  %207 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %205, i32 noundef %115)
          to label %208 unwind label %220

208:                                              ; preds = %206
  %209 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %207, i16 noundef zeroext 0, i32 noundef %115)
          to label %210 unwind label %220

210:                                              ; preds = %208
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %211 unwind label %220

211:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %225

212:                                              ; preds = %189, %186, %184, %182, %179
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %229

214:                                              ; preds = %181
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %180, i64 noundef 32) #12
  br label %229

216:                                              ; preds = %195, %193, %190
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %228

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

220:                                              ; preds = %210, %208, %206, %204, %201
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %224

222:                                              ; preds = %203
  %223 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %202, i64 noundef 32) #12
  br label %224

224:                                              ; preds = %222, %220
  %.pn = phi { ptr, i32 } [ %221, %220 ], [ %223, %222 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %228

225:                                              ; preds = %211, %196
  %226 = load i64, ptr %31, align 8, !tbaa !20
  %227 = add i64 %226, 1
  store i64 %227, ptr %31, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %230

228:                                              ; preds = %224, %218, %216
  %.pn.pn = phi { ptr, i32 } [ %.pn, %224 ], [ %217, %216 ], [ %219, %218 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %229

229:                                              ; preds = %228, %214, %212
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %228 ], [ %213, %212 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %244

230:                                              ; preds = %225, %172
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %15) #9
  store ptr %60, ptr %15, align 8, !tbaa !21
  store ptr %42, ptr %33, align 8, !tbaa !27
  invoke void @_ZNSt6vectorIP13IRInstructionSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %231 unwind label %239

231:                                              ; preds = %230
  store ptr %72, ptr %35, align 8, !tbaa !28
  store ptr %95, ptr %36, align 8, !tbaa !29
  invoke void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(56) %15)
          to label %232 unwind label %241

232:                                              ; preds = %231
  call void @_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvEN9ReductionD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %15) #9
  br label %233

233:                                              ; preds = %176, %136, %232
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  br label %234

234:                                              ; preds = %118, %125, %233, %101
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  br label %235

235:                                              ; preds = %87, %94, %234, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %236

236:                                              ; preds = %44, %235
  %237 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  %238 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  br i1 %238, label %40, label %._crit_edge

239:                                              ; preds = %230
  %240 = landingpad { ptr, i32 }
          cleanup
  br label %243

241:                                              ; preds = %231
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvEN9ReductionD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #9
  br label %243

243:                                              ; preds = %241, %239
  %.pn140 = phi { ptr, i32 } [ %242, %241 ], [ %240, %239 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %15) #9
  br label %244

244:                                              ; preds = %243, %229, %175
  %.pn140.pn = phi { ptr, i32 } [ %.pn140, %243 ], [ %.pn138, %175 ], [ %.pn.pn.pn, %229 ]
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  br label %245

245:                                              ; preds = %.loopexit176, %.loopexit.split-lp177, %128, %151, %244, %153, %130, %119, %104
  %.pn140.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %105, %104 ], [ %120, %119 ], [ %129, %128 ], [ %131, %130 ], [ %152, %151 ], [ %.pn140.pn, %244 ], [ %154, %153 ], [ %lpad.loopexit178, %.loopexit176 ], [ %lpad.loopexit.split-lp179, %.loopexit.split-lp177 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  br label %246

246:                                              ; preds = %.loopexit171, %.loopexit.split-lp172, %.loopexit166, %.loopexit.split-lp167, %65, %90, %245, %92, %67, %55, %53
  %.pn140.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %lpad.phi165, %55 ], [ %54, %53 ], [ %66, %65 ], [ %68, %67 ], [ %91, %90 ], [ %.pn140.pn.pn.pn.pn.pn.pn.pn.pn, %245 ], [ %93, %92 ], [ %lpad.loopexit168, %.loopexit166 ], [ %lpad.loopexit.split-lp169, %.loopexit.split-lp167 ], [ %lpad.loopexit173, %.loopexit171 ], [ %lpad.loopexit.split-lp174, %.loopexit.split-lp172 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %247

247:                                              ; preds = %246, %45
  %.pn140.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn140.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %246 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  br label %277

248:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %249 = call ptr @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  store ptr %249, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %250 = call ptr @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  store ptr %250, ptr %17, align 8
  %251 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  br i1 %251, label %.lr.ph192, label %._crit_edge193

._crit_edge193:                                   ; preds = %271, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  %252 = invoke noundef i32 @_ZN3cfg16ControlFlowGraph8simplifyEv(ptr noundef nonnull align 8 dereferenceable(160) %21)
          to label %276 unwind label %274

.lr.ph192:                                        ; preds = %248, %271
  %253 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #9
  %254 = load ptr, ptr %253, align 8, !tbaa !21
  %255 = getelementptr inbounds i8, ptr %253, i64 8
  %256 = load ptr, ptr %255, align 8, !tbaa !27
  invoke void @_ZN3cfg16ControlFlowGraph9find_insnEP13IRInstructionPNS_5BlockE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %18, ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef %254, ptr noundef %256)
          to label %257 unwind label %.loopexit

257:                                              ; preds = %.lr.ph192
  %258 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %259 unwind label %.loopexit

259:                                              ; preds = %257
  br i1 %258, label %260, label %263

260:                                              ; preds = %259
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.4, i32 noundef 324, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEv, i32 noundef 2, ptr noundef nonnull @.str.5) #10
          to label %261 unwind label %.loopexit.split-lp

261:                                              ; preds = %260
  unreachable

.loopexit:                                        ; preds = %.lr.ph192, %257, %263, %266
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %262

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

262:                                              ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %277

263:                                              ; preds = %259
  %264 = getelementptr inbounds i8, ptr %253, i64 16
  %265 = invoke noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13replace_insnsERKNS_23InstructionIteratorImplILb0EEERKSt6vectorIP13IRInstructionSaIS7_EE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(24) %264)
          to label %266 unwind label %.loopexit

266:                                              ; preds = %263
  %267 = getelementptr inbounds i8, ptr %253, i64 40
  %268 = load ptr, ptr %267, align 8, !tbaa !28
  %269 = getelementptr inbounds i8, ptr %253, i64 48
  %270 = load ptr, ptr %269, align 8, !tbaa !29
  invoke void @_ZN3cfg16ControlFlowGraph15set_edge_targetEPNS_4EdgeEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef %268, ptr noundef %270)
          to label %271 unwind label %.loopexit

271:                                              ; preds = %266
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  %272 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  %273 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  br i1 %273, label %.lr.ph192, label %._crit_edge193

274:                                              ; preds = %._crit_edge193
  %275 = landingpad { ptr, i32 }
          cleanup
  br label %277

276:                                              ; preds = %._crit_edge, %._crit_edge193
  %.0 = xor i1 %37, true
  call void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @_ZN12_GLOBAL__N_18AnalyzerD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #9
  ret i1 %.0

277:                                              ; preds = %38, %247, %274, %262
  %.pn140.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %lpad.phi, %262 ], [ %275, %274 ], [ %.pn140.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %247 ], [ %39, %38 ]
  call void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @_ZN12_GLOBAL__N_18AnalyzerD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn140.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_18AnalyzerC2EbP11DexTypeListRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #2 align 2

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

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

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

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

declare noundef zeroext i8 @_ZNK3cfg5Block13branchingnessEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3

declare void @_ZN3cfg5Block13get_last_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3

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

declare void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext) local_unnamed_addr #4

declare noundef ptr @_ZNK3cfg16ControlFlowGraph21get_succ_edge_of_typeEPKNS_5BlockENS_8EdgeTypeE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, i8 noundef zeroext) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @"_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvENK3$_0clEPN3cfg5BlockE"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) local_unnamed_addr #6 align 2

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

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

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

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

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

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

; 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: 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 #3

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

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

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

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

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

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvEN9ReductionD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4 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

; 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 nounwind uwtable
declare hidden noundef zeroext i1 @_ZNKSt6vectorIZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN9__gnu_cxxneIPZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9ReductionSt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

declare noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13replace_insnsERKNS_23InstructionIteratorImplILb0EEERKSt6vectorIP13IRInstructionSaIS7_EE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare void @_ZN3cfg16ControlFlowGraph15set_edge_targetEPNS_4EdgeEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef) local_unnamed_addr #3

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

declare noundef i32 @_ZN3cfg16ControlFlowGraph8simplifyEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_18AnalyzerD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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, !7, i64 24}
!6 = !{!"_ZTSN28reduce_boolean_branches_impl21ReduceBooleanBranchesE", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !11, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN28reduce_boolean_branches_impl5StatsE", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!6, !7, i64 16}
!17 = !{!7, !7, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!6, !12, i64 32}
!20 = !{!6, !12, i64 40}
!21 = !{!22, !7, i64 0}
!22 = !{!"_ZTSZN28reduce_boolean_branches_impl21ReduceBooleanBranches15reduce_diamondsEvE9Reduction", !7, i64 0, !7, i64 8, !23, i64 16, !7, i64 40, !7, i64 48}
!23 = !{!"_ZTSSt6vectorIP13IRInstructionSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP13IRInstructionSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!27 = !{!22, !7, i64 8}
!28 = !{!22, !7, i64 40}
!29 = !{!22, !7, i64 48}


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