; LLVM IR from facebook/redex :: service/method-dedup (ConstantValue)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.cfg::InstructionIterableImpl" = 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.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.55 }
%"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.55 = type { ptr }
%class.ConstantValue = type <{ i32, [4 x i8], i64, %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.14 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@__PRETTY_FUNCTION__._ZN13ConstantValue25collect_constant_loads_inERN3cfg16ControlFlowGraphE = external hidden unnamed_addr constant [107 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [59 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13ConstantValue25collect_constant_loads_inERN3cfg16ControlFlowGraphE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(52) %1, ptr noundef nonnull align 8 dereferenceable(160) %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.cfg::InstructionIterableImpl", align 8
  %11 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %12 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %18 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8
  store i1 false, ptr %7, align 1
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %20 = invoke noundef zeroext i1 @_ZNK13ConstantValue8is_validEv(ptr noundef nonnull align 8 dereferenceable(52) %19)
          to label %21 unwind label %25

21:                                               ; preds = %3
  br i1 %20, label %22, label %23

22:                                               ; preds = %21
  br label %30

23:                                               ; preds = %21
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.17, ptr noundef @.str.14, i32 noundef 82, ptr noundef @__PRETTY_FUNCTION__._ZN13ConstantValue25collect_constant_loads_inERN3cfg16ControlFlowGraphE, i32 noundef 2, ptr noundef @.str.18) #9
          to label %24 unwind label %25

24:                                               ; preds = %23
  unreachable

25:                                               ; preds = %23, %3
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %8, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %9, align 4
  br label %172

29:                                               ; No predecessors!
  br label %30

30:                                               ; preds = %29, %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = invoke ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %31)
          to label %33 unwind label %41

33:                                               ; preds = %30
  %34 = getelementptr inbounds %"class.cfg::InstructionIterableImpl", ptr %10, i32 0, i32 0
  store ptr %32, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  invoke void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %35 unwind label %45

35:                                               ; preds = %33
  br label %36

36:                                               ; preds = %164, %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #8
  invoke void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %37 unwind label %49

37:                                               ; preds = %36
  %38 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %39 unwind label %49

39:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #8
  br i1 %38, label %53, label %40

40:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  br label %167

41:                                               ; preds = %30
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %8, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %9, align 4
  br label %169

45:                                               ; preds = %162, %33
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %8, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %9, align 4
  br label %166

49:                                               ; preds = %37, %36
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %8, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #8
  br label %166

53:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %54 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %55 unwind label %77

55:                                               ; preds = %53
  %56 = getelementptr inbounds %struct.MethodItemEntry, ptr %54, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !9
  store ptr %57, ptr %13, align 8, !tbaa !5
  %58 = invoke noundef zeroext i1 @_ZNK13ConstantValue12is_int_valueEv(ptr noundef nonnull align 8 dereferenceable(52) %19)
          to label %59 unwind label %77

59:                                               ; preds = %55
  br i1 %58, label %60, label %105

60:                                               ; preds = %59
  %61 = load ptr, ptr %13, align 8, !tbaa !5
  %62 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %61)
          to label %63 unwind label %77

63:                                               ; preds = %60
  %64 = invoke noundef zeroext i1 @_ZN6opcode18is_a_literal_constE8IROpcode(i16 noundef zeroext %62)
          to label %65 unwind label %77

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

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %67 = load ptr, ptr %13, align 8, !tbaa !5
  %68 = invoke noundef i64 @_ZNK13IRInstruction11get_literalEv(ptr noundef nonnull align 8 dereferenceable(32) %67)
          to label %69 unwind label %81

69:                                               ; preds = %66
  store i64 %68, ptr %14, align 8, !tbaa !10
  %70 = getelementptr inbounds %class.ConstantValue, ptr %19, i32 0, i32 0
  %71 = load i32, ptr %70, align 8, !tbaa !12
  %72 = icmp eq i32 %71, 1
  br i1 %72, label %73, label %85

73:                                               ; preds = %69
  %74 = load i64, ptr %14, align 8, !tbaa !10
  %75 = trunc i64 %74 to i32
  %76 = zext i32 %75 to i64
  store i64 %76, ptr %14, align 8, !tbaa !10
  br label %85

77:                                               ; preds = %117, %114, %108, %105, %63, %60, %55, %53
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %8, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %9, align 4
  br label %165

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

85:                                               ; preds = %73, %69
  %86 = invoke noundef zeroext i1 @_ZNK13ConstantValue12is_int_valueEv(ptr noundef nonnull align 8 dereferenceable(52) %19)
          to label %87 unwind label %81

87:                                               ; preds = %85
  br i1 %86, label %88, label %103

88:                                               ; preds = %87
  %89 = load i64, ptr %14, align 8, !tbaa !10
  %90 = getelementptr inbounds %class.ConstantValue, ptr %19, i32 0, i32 2
  %91 = load i64, ptr %90, align 8, !tbaa !18
  %92 = icmp eq i64 %89, %91
  br i1 %92, label %93, label %103

93:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %94)
          to label %96 unwind label %99

96:                                               ; preds = %93
  store i32 %95, ptr %15, align 4, !tbaa !19
  %97 = invoke noundef nonnull align 1 ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EE12emplace_backIJRS3_jEEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %98 unwind label %99

98:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %103

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

103:                                              ; preds = %98, %88, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %161

104:                                              ; preds = %99, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %165

105:                                              ; preds = %65, %59
  %106 = invoke noundef zeroext i1 @_ZNK13ConstantValue12is_str_valueEv(ptr noundef nonnull align 8 dereferenceable(52) %19)
          to label %107 unwind label %77

107:                                              ; preds = %105
  br i1 %106, label %108, label %160

108:                                              ; preds = %107
  %109 = load ptr, ptr %13, align 8, !tbaa !5
  %110 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %109)
          to label %111 unwind label %77

111:                                              ; preds = %108
  %112 = zext i16 %110 to i32
  %113 = icmp eq i32 %112, 14
  br i1 %113, label %114, label %160

114:                                              ; preds = %111
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = invoke noundef ptr @_ZNK13IRInstruction10get_stringEv(ptr noundef nonnull align 8 dereferenceable(32) %115)
          to label %117 unwind label %77

117:                                              ; preds = %114
  %118 = invoke noundef ptr @_ZNK9DexString5c_strEv(ptr noundef nonnull align 8 dereferenceable(16) %116)
          to label %119 unwind label %77

119:                                              ; preds = %117
  %120 = getelementptr inbounds %class.ConstantValue, ptr %19, i32 0, i32 3
  %121 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %120) #8
  %122 = call i32 @strcmp(ptr noundef %118, ptr noundef %121) #10
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %124, label %159

124:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %17, ptr noundef nonnull align 8 dereferenceable(160) %125, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %126 unwind label %139

126:                                              ; preds = %124
  %127 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %128 unwind label %139

128:                                              ; preds = %126
  %129 = getelementptr inbounds %struct.MethodItemEntry, ptr %127, i32 0, i32 2
  %130 = load ptr, ptr %129, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  store ptr %130, ptr %16, align 8, !tbaa !5
  %131 = load ptr, ptr %16, align 8, !tbaa !5
  %132 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %131)
          to label %133 unwind label %143

133:                                              ; preds = %128
  %134 = zext i16 %132 to i32
  %135 = icmp eq i32 %134, 164
  br i1 %135, label %136, label %137

136:                                              ; preds = %133
  br label %148

137:                                              ; preds = %133
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.19, ptr noundef @.str.14, i32 noundef 99, ptr noundef @__PRETTY_FUNCTION__._ZN13ConstantValue25collect_constant_loads_inERN3cfg16ControlFlowGraphE, i32 noundef 2, ptr noundef @.str.18) #9
          to label %138 unwind label %143

138:                                              ; preds = %137
  unreachable

139:                                              ; preds = %126, %124
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %8, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  br label %158

143:                                              ; preds = %137, %128
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %8, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %9, align 4
  br label %158

147:                                              ; No predecessors!
  br label %148

148:                                              ; preds = %147, %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %149 = load ptr, ptr %16, align 8, !tbaa !5
  %150 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %149)
          to label %151 unwind label %154

151:                                              ; preds = %148
  store i32 %150, ptr %18, align 4, !tbaa !19
  %152 = invoke noundef nonnull align 1 ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EE12emplace_backIJRS3_jEEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %153 unwind label %154

153:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %159

154:                                              ; preds = %151, %148
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %8, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %158

158:                                              ; preds = %154, %143, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %165

159:                                              ; preds = %153, %119
  br label %160

160:                                              ; preds = %159, %111, %107
  br label %161

161:                                              ; preds = %160, %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %162

162:                                              ; preds = %161
  %163 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %164 unwind label %45

164:                                              ; preds = %162
  br label %36, !llvm.loop !20

165:                                              ; preds = %158, %104, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %166

166:                                              ; preds = %165, %49, %45
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  br label %169

167:                                              ; preds = %40
  store i1 true, ptr %7, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %168 = load i1, ptr %7, align 1
  br i1 %168, label %171, label %170

169:                                              ; preds = %166, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %172

170:                                              ; preds = %167
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %171

171:                                              ; preds = %170, %167
  ret void

172:                                              ; preds = %169, %25
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %173

173:                                              ; preds = %172
  %174 = load ptr, ptr %8, align 8
  %175 = load i32, ptr %9, align 4
  %176 = insertvalue { ptr, i32 } poison, ptr %174, 0
  %177 = insertvalue { ptr, i32 } %176, i32 %175, 1
  resume { ptr, i32 } %177
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160)) #4

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #6

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

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

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

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

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

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

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

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


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.cfg::InstructionIterableImpl" = 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.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }

@.str.14 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@__PRETTY_FUNCTION__._ZN13ConstantValue25collect_constant_loads_inERN3cfg16ControlFlowGraphE = external hidden unnamed_addr constant [107 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [59 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13ConstantValue25collect_constant_loads_inERN3cfg16ControlFlowGraphE(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(52) %1, ptr noundef nonnull align 8 dereferenceable(160) %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.cfg::InstructionIterableImpl", align 8
  %5 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %6 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %9 = alloca i32, align 4
  tail call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %10 = invoke noundef zeroext i1 @_ZNK13ConstantValue8is_validEv(ptr noundef nonnull align 8 dereferenceable(52) %1)
          to label %11 unwind label %14

11:                                               ; preds = %3
  br i1 %10, label %16, label %12

12:                                               ; preds = %11
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.14, i32 noundef 82, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN13ConstantValue25collect_constant_loads_inERN3cfg16ControlFlowGraphE, i32 noundef 2, ptr noundef nonnull @.str.18) #9
          to label %13 unwind label %14

13:                                               ; preds = %12
  unreachable

14:                                               ; preds = %12, %3
  %15 = landingpad { ptr, i32 }
          cleanup
  br label %96

16:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %17 = invoke ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %2)
          to label %18 unwind label %26

18:                                               ; preds = %16
  store ptr %17, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  invoke void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %18
  %19 = getelementptr inbounds i8, ptr %1, i64 16
  %20 = getelementptr inbounds i8, ptr %1, i64 8
  br label %21

21:                                               ; preds = %.preheader, %92
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  invoke void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %22 unwind label %28

22:                                               ; preds = %21
  %23 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %24 unwind label %28

24:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br i1 %23, label %30, label %25

25:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  ret void

26:                                               ; preds = %16
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %95

.loopexit:                                        ; preds = %92
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %94

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

28:                                               ; preds = %22, %21
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br label %94

30:                                               ; preds = %24
  %31 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %32 unwind label %48

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %31, i64 24
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = call noundef zeroext i1 @_ZNK13ConstantValue12is_int_valueEv(ptr noundef nonnull align 8 dereferenceable(52) %1)
  br i1 %35, label %36, label %59

36:                                               ; preds = %32
  %37 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %34)
  %38 = call noundef zeroext i1 @_ZN6opcode18is_a_literal_constE8IROpcode(i16 noundef zeroext %37)
  br i1 %38, label %39, label %59

39:                                               ; preds = %36
  %40 = invoke noundef i64 @_ZNK13IRInstruction11get_literalEv(ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %41 unwind label %50

41:                                               ; preds = %39
  %42 = load i32, ptr %1, align 8, !tbaa !8
  %43 = icmp eq i32 %42, 1
  %44 = and i64 %40, 4294967295
  %spec.select = select i1 %43, i64 %44, i64 %40
  %45 = call noundef zeroext i1 @_ZNK13ConstantValue12is_int_valueEv(ptr noundef nonnull align 8 dereferenceable(52) %1)
  %46 = load i64, ptr %20, align 8
  %47 = icmp eq i64 %spec.select, %46
  %or.cond = select i1 %45, i1 %47, i1 false
  br i1 %or.cond, label %52, label %92

48:                                               ; preds = %64, %30
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %94

50:                                               ; preds = %39
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %94

52:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  %53 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %54 unwind label %57

54:                                               ; preds = %52
  store i32 %53, ptr %7, align 4, !tbaa !16
  %55 = invoke noundef nonnull align 1 ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EE12emplace_backIJRS3_jEEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %56 unwind label %57

56:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  br label %92

57:                                               ; preds = %54, %52
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  br label %94

59:                                               ; preds = %36, %32
  %60 = call noundef zeroext i1 @_ZNK13ConstantValue12is_str_valueEv(ptr noundef nonnull align 8 dereferenceable(52) %1)
  br i1 %60, label %61, label %92

61:                                               ; preds = %59
  %62 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %34)
  %63 = icmp eq i16 %62, 14
  br i1 %63, label %64, label %92

64:                                               ; preds = %61
  %65 = invoke noundef ptr @_ZNK13IRInstruction10get_stringEv(ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %66 unwind label %48

66:                                               ; preds = %64
  %67 = call noundef ptr @_ZNK9DexString5c_strEv(ptr noundef nonnull align 8 dereferenceable(16) %65)
  %68 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  %69 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %67, ptr noundef nonnull dereferenceable(1) %68) #10
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %92

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %8, ptr noundef nonnull align 8 dereferenceable(160) %2, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %72 unwind label %81

72:                                               ; preds = %71
  %73 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %74 unwind label %81

74:                                               ; preds = %72
  %75 = getelementptr inbounds i8, ptr %73, i64 24
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  %77 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %76)
  %78 = icmp eq i16 %77, 164
  br i1 %78, label %85, label %79

79:                                               ; preds = %74
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.14, i32 noundef 99, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN13ConstantValue25collect_constant_loads_inERN3cfg16ControlFlowGraphE, i32 noundef 2, ptr noundef nonnull @.str.18) #9
          to label %80 unwind label %83

80:                                               ; preds = %79
  unreachable

81:                                               ; preds = %72, %71
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %94

83:                                               ; preds = %79
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %94

85:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  %86 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %76)
          to label %87 unwind label %90

87:                                               ; preds = %85
  store i32 %86, ptr %9, align 4, !tbaa !16
  %88 = invoke noundef nonnull align 1 ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EE12emplace_backIJRS3_jEEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %89 unwind label %90

89:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  br label %92

90:                                               ; preds = %87, %85
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  br label %94

92:                                               ; preds = %41, %56, %59, %61, %89, %66
  %93 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %21 unwind label %.loopexit, !llvm.loop !17

94:                                               ; preds = %.loopexit, %.loopexit.split-lp, %48, %57, %50, %90, %83, %81, %28
  %.pn25 = phi { ptr, i32 } [ %29, %28 ], [ %49, %48 ], [ %58, %57 ], [ %51, %50 ], [ %91, %90 ], [ %84, %83 ], [ %82, %81 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  br label %95

95:                                               ; preds = %94, %26
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %94 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %96

96:                                               ; preds = %95, %14
  %.pn25.pn.pn = phi { ptr, i32 } [ %.pn25.pn, %95 ], [ %15, %14 ]
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEjESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  resume { ptr, i32 } %.pn25.pn.pn
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #6

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

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

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

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass