; LLVM IR from facebook/redex :: service/dedup-blocks (DedupBlockValueNumbering)

; 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.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%struct.RedexContext = type { i8, i8, %class.ConcurrentSet, %class.ConcurrentSet.6, %class.InsertOnlyConcurrentSet, %"struct.RedexContext::LargeStringSet", %"struct.std::array.26", %"struct.RedexContext::ConcurrentStringStorage", %"struct.RedexContext::ConcurrentStringStorage", %"struct.RedexContext::ConcurrentStringStorage", %class.AtomicMap, %class.AtomicMap.40, %"class.std::mutex", %class.AtomicMap.48, %class.InsertOnlyConcurrentSet.56, %class.AtomicMap.64, %"class.std::mutex", %class.AtomicMap.72, ptr, %class.InsertOnlyConcurrentSet.80, %"class.std::mutex", %"class.std::vector.88", %"class.std::vector.93", %"class.std::mutex", %"class.std::vector.98", %class.UnorderedMap, i8, i8, %"class.std::mutex", %class.FrequentlyUsedPointers, %class.ConcurrentMap, %class.ConcurrentMap.136, i8, %"class.std::queue", %"class.std::mutex" }
%class.ConcurrentSet = type { %class.ConcurrentContainer }
%class.ConcurrentContainer = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable"] }
%"class.cc_impl::ConcurrentHashtable" = type { %"struct.std::atomic", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.4" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }
%"struct.std::atomic.0" = type { %"struct.std::__atomic_base.1" }
%"struct.std::__atomic_base.1" = type { i64 }
%"struct.std::atomic.2" = type { %"struct.std::__atomic_base.3" }
%"struct.std::__atomic_base.3" = type { i8 }
%"struct.std::atomic.4" = type { %"struct.std::__atomic_base.5" }
%"struct.std::__atomic_base.5" = type { ptr }
%class.ConcurrentSet.6 = type { %class.ConcurrentContainer.7 }
%class.ConcurrentContainer.7 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.8"] }
%"class.cc_impl::ConcurrentHashtable.8" = type { %"struct.std::atomic.9", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.11" }
%"struct.std::atomic.9" = type { %"struct.std::__atomic_base.10" }
%"struct.std::__atomic_base.10" = type { ptr }
%"struct.std::atomic.11" = type { %"struct.std::__atomic_base.12" }
%"struct.std::__atomic_base.12" = type { ptr }
%class.InsertOnlyConcurrentSet = type { %class.ConcurrentContainer.14 }
%class.ConcurrentContainer.14 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.15"] }
%"class.cc_impl::ConcurrentHashtable.15" = type { %"struct.std::atomic.16", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.18" }
%"struct.std::atomic.16" = type { %"struct.std::__atomic_base.17" }
%"struct.std::__atomic_base.17" = type { ptr }
%"struct.std::atomic.18" = type { %"struct.std::__atomic_base.19" }
%"struct.std::__atomic_base.19" = type { ptr }
%"struct.RedexContext::LargeStringSet" = type { %"struct.std::array" }
%"struct.std::array" = type { [127 x %"class.RedexContext::ConcurrentProjectedStringSet"] }
%"class.RedexContext::ConcurrentProjectedStringSet" = type { %"struct.std::array.21", %"struct.std::array.25" }
%"struct.std::array.21" = type { [31 x %"class.std::set"] }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const DexString *, const DexString *, std::_Identity<const DexString *>, RedexContext::StringSetKeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const DexString *, const DexString *, std::_Identity<const DexString *>, RedexContext::StringSetKeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::array.25" = type { [31 x %"class.std::mutex"] }
%"struct.std::array.26" = type { [128 x ptr] }
%"struct.RedexContext::ConcurrentStringStorage" = type { i64, i64, i64, %"struct.std::atomic.0", %"struct.std::atomic.0", %"struct.std::atomic.0", %"struct.std::atomic.0", %"struct.std::array.27", %"class.std::mutex", %"class.std::vector" }
%"struct.std::array.27" = type { [11 x %"struct.RedexContext::ConcurrentStringStorage::Slot"] }
%"struct.RedexContext::ConcurrentStringStorage::Slot" = type { %"struct.std::atomic.28", [56 x i8] }
%"struct.std::atomic.28" = type { %"struct.std::__atomic_base.29" }
%"struct.std::__atomic_base.29" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::unique_ptr<RedexContext::ConcurrentStringStorage::Container>, std::allocator<std::unique_ptr<RedexContext::ConcurrentStringStorage::Container>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<RedexContext::ConcurrentStringStorage::Container>, std::allocator<std::unique_ptr<RedexContext::ConcurrentStringStorage::Container>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<RedexContext::ConcurrentStringStorage::Container>, std::allocator<std::unique_ptr<RedexContext::ConcurrentStringStorage::Container>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<RedexContext::ConcurrentStringStorage::Container>, std::allocator<std::unique_ptr<RedexContext::ConcurrentStringStorage::Container>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.AtomicMap = type { %class.ConcurrentContainer.33 }
%class.ConcurrentContainer.33 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.34"] }
%"class.cc_impl::ConcurrentHashtable.34" = type { %"struct.std::atomic.35", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.37" }
%"struct.std::atomic.35" = type { %"struct.std::__atomic_base.36" }
%"struct.std::__atomic_base.36" = type { ptr }
%"struct.std::atomic.37" = type { %"struct.std::__atomic_base.38" }
%"struct.std::__atomic_base.38" = type { ptr }
%class.AtomicMap.40 = type { %class.ConcurrentContainer.41 }
%class.ConcurrentContainer.41 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.42"] }
%"class.cc_impl::ConcurrentHashtable.42" = type { %"struct.std::atomic.43", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.45" }
%"struct.std::atomic.43" = type { %"struct.std::__atomic_base.44" }
%"struct.std::__atomic_base.44" = type { ptr }
%"struct.std::atomic.45" = type { %"struct.std::__atomic_base.46" }
%"struct.std::__atomic_base.46" = type { ptr }
%class.AtomicMap.48 = type { %class.ConcurrentContainer.49 }
%class.ConcurrentContainer.49 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.50"] }
%"class.cc_impl::ConcurrentHashtable.50" = type { %"struct.std::atomic.51", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.53" }
%"struct.std::atomic.51" = type { %"struct.std::__atomic_base.52" }
%"struct.std::__atomic_base.52" = type { ptr }
%"struct.std::atomic.53" = type { %"struct.std::__atomic_base.54" }
%"struct.std::__atomic_base.54" = type { ptr }
%class.InsertOnlyConcurrentSet.56 = type { %class.ConcurrentContainer.57 }
%class.ConcurrentContainer.57 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.58"] }
%"class.cc_impl::ConcurrentHashtable.58" = type { %"struct.std::atomic.59", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.61" }
%"struct.std::atomic.59" = type { %"struct.std::__atomic_base.60" }
%"struct.std::__atomic_base.60" = type { ptr }
%"struct.std::atomic.61" = type { %"struct.std::__atomic_base.62" }
%"struct.std::__atomic_base.62" = type { ptr }
%class.AtomicMap.64 = type { %class.ConcurrentContainer.65 }
%class.ConcurrentContainer.65 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.66"] }
%"class.cc_impl::ConcurrentHashtable.66" = type { %"struct.std::atomic.67", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.69" }
%"struct.std::atomic.67" = type { %"struct.std::__atomic_base.68" }
%"struct.std::__atomic_base.68" = type { ptr }
%"struct.std::atomic.69" = type { %"struct.std::__atomic_base.70" }
%"struct.std::__atomic_base.70" = type { ptr }
%class.AtomicMap.72 = type { %class.ConcurrentContainer.73 }
%class.ConcurrentContainer.73 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.74"] }
%"class.cc_impl::ConcurrentHashtable.74" = type { %"struct.std::atomic.75", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.77" }
%"struct.std::atomic.75" = type { %"struct.std::__atomic_base.76" }
%"struct.std::__atomic_base.76" = type { ptr }
%"struct.std::atomic.77" = type { %"struct.std::__atomic_base.78" }
%"struct.std::__atomic_base.78" = type { ptr }
%class.InsertOnlyConcurrentSet.80 = type { %class.ConcurrentContainer.81 }
%class.ConcurrentContainer.81 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.82"] }
%"class.cc_impl::ConcurrentHashtable.82" = type { %"struct.std::atomic.83", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.85" }
%"struct.std::atomic.83" = type { %"struct.std::__atomic_base.84" }
%"struct.std::__atomic_base.84" = type { ptr }
%"struct.std::atomic.85" = type { %"struct.std::__atomic_base.86" }
%"struct.std::__atomic_base.86" = type { ptr }
%"class.std::vector.88" = type { %"struct.std::_Vector_base.89" }
%"struct.std::_Vector_base.89" = type { %"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.93" = type { %"struct.std::_Vector_base.94" }
%"struct.std::_Vector_base.94" = type { %"struct.std::_Vector_base<const DexType *, std::allocator<const DexType *>>::_Vector_impl" }
%"struct.std::_Vector_base<const DexType *, std::allocator<const DexType *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const DexType *, std::allocator<const DexType *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const DexType *, std::allocator<const DexType *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.98" = type { %"struct.std::_Vector_base.99" }
%"struct.std::_Vector_base.99" = type { %"struct.std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.FrequentlyUsedPointers = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %class.UnorderedSet }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.110" }
%"class.std::_Hashtable.110" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.ConcurrentMap = type { %class.ConcurrentContainer.129, [83 x %"class.std::mutex"] }
%class.ConcurrentContainer.129 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.130"] }
%"class.cc_impl::ConcurrentHashtable.130" = type { %"struct.std::atomic.131", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.133" }
%"struct.std::atomic.131" = type { %"struct.std::__atomic_base.132" }
%"struct.std::__atomic_base.132" = type { ptr }
%"struct.std::atomic.133" = type { %"struct.std::__atomic_base.134" }
%"struct.std::__atomic_base.134" = type { ptr }
%class.ConcurrentMap.136 = type { %class.ConcurrentContainer.137, [83 x %"class.std::mutex"] }
%class.ConcurrentContainer.137 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.138"] }
%"class.cc_impl::ConcurrentHashtable.138" = type { %"struct.std::atomic.139", %"struct.std::atomic.0", %"struct.std::atomic.2", %"struct.std::atomic.141" }
%"struct.std::atomic.139" = type { %"struct.std::__atomic_base.140" }
%"struct.std::__atomic_base.140" = type { ptr }
%"struct.std::atomic.141" = type { %"struct.std::__atomic_base.142" }
%"struct.std::__atomic_base.142" = type { ptr }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<DexMethodRef *, std::allocator<DexMethodRef *>>::_Deque_impl" }
%"struct.std::_Deque_base<DexMethodRef *, std::allocator<DexMethodRef *>>::_Deque_impl" = type { %"struct.std::_Deque_base<DexMethodRef *, std::allocator<DexMethodRef *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<DexMethodRef *, std::allocator<DexMethodRef *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.152 }
%"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.152 = type { ptr }

@g_redex = external global ptr, align 8

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21next_opcode_or_srcblkRN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEEPN3cfg5BlockE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.boost::intrusive::list_iterator", align 8
  %6 = alloca %"class.boost::intrusive::list_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr @g_redex, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.RedexContext, ptr %7, i32 0, i32 0
  %9 = load i8, ptr %8, align 8, !tbaa !9, !range !78, !noundef !79
  %10 = trunc i8 %9 to i1
  br i1 %10, label %11, label %34

11:                                               ; preds = %2
  br label %12

12:                                               ; preds = %30, %11
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %5, ptr noundef nonnull align 8 dereferenceable(104) %14)
  %15 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br i1 %15, label %16, label %28

16:                                               ; preds = %12
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %19 = getelementptr inbounds %struct.MethodItemEntry, ptr %18, i32 0, i32 1
  %20 = load i32, ptr %19, align 8, !tbaa !80
  %21 = icmp ne i32 %20, 2
  br i1 %21, label %22, label %28

22:                                               ; preds = %16
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23)
  %25 = getelementptr inbounds %struct.MethodItemEntry, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 8, !tbaa !80
  %27 = icmp ne i32 %26, 7
  br label %28

28:                                               ; preds = %22, %16, %12
  %29 = phi i1 [ false, %16 ], [ false, %12 ], [ %27, %22 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br i1 %29, label %30, label %33

30:                                               ; preds = %28
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
  br label %12, !llvm.loop !86

33:                                               ; preds = %28
  br label %51

34:                                               ; preds = %2
  br label %35

35:                                               ; preds = %47, %34
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(104) %37)
  %38 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %6)
  br i1 %38, label %39, label %45

39:                                               ; preds = %35
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %40)
  %42 = getelementptr inbounds %struct.MethodItemEntry, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %42, align 8, !tbaa !80
  %44 = icmp ne i32 %43, 2
  br label %45

45:                                               ; preds = %39, %35
  %46 = phi i1 [ false, %35 ], [ %44, %39 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br i1 %46, label %47, label %50

47:                                               ; preds = %45
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %48)
  br label %35, !llvm.loop !88

50:                                               ; preds = %45
  br label %51

51:                                               ; preds = %50, %33
  ret void
}

; Function Attrs: inlinehint mustprogress 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)) #2

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: 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)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 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 = { 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 #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 = { 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, !11, i64 0}
!10 = !{!"_ZTS12RedexContext", !11, i64 0, !11, i64 1, !12, i64 8, !14, i64 2672, !16, i64 5336, !18, i64 8000, !20, i64 354456, !21, i64 355480, !21, i64 356304, !21, i64 357128, !32, i64 357952, !34, i64 360616, !26, i64 363280, !36, i64 363320, !38, i64 365984, !40, i64 368648, !26, i64 371312, !42, i64 371352, !6, i64 374016, !44, i64 374024, !26, i64 376688, !46, i64 376728, !50, i64 376752, !26, i64 376776, !54, i64 376816, !58, i64 376840, !11, i64 376896, !11, i64 376897, !26, i64 376904, !64, i64 376944, !68, i64 377408, !70, i64 383392, !11, i64 389376, !72, i64 389384, !26, i64 389464}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS13ConcurrentSetIPK8DexClassSt4hashIS2_ESt8equal_toIS2_ELm83EE", !13, i64 0}
!13 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIPK8DexClassSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE", !7, i64 8}
!14 = !{!"_ZTS13ConcurrentSetIPK9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EE", !15, i64 0}
!15 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIPK9DexMethodSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE", !7, i64 8}
!16 = !{!"_ZTS23InsertOnlyConcurrentSetIPK9DexStringSt4hashIS2_ESt8equal_toIS2_ELm83EE", !17, i64 0}
!17 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIPK9DexStringSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE", !7, i64 8}
!18 = !{!"_ZTSN12RedexContext14LargeStringSetILm31ELm127EEE", !19, i64 0}
!19 = !{!"_ZTSSt5arrayIN12RedexContext28ConcurrentProjectedStringSetILm31EEELm127EE", !7, i64 0}
!20 = !{!"_ZTSSt5arrayIP23InsertOnlyConcurrentSetI13DexStringReprN12RedexContext17DexStringReprHashENS2_18DexStringReprEqualELm83EELm128EE", !7, i64 0}
!21 = !{!"_ZTSN12RedexContext23ConcurrentStringStorageE", !22, i64 0, !22, i64 8, !22, i64 16, !23, i64 24, !23, i64 32, !23, i64 40, !23, i64 48, !25, i64 56, !26, i64 760, !28, i64 800}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSSt6atomicImE", !24, i64 0}
!24 = !{!"_ZTSSt13__atomic_baseImE", !22, i64 0}
!25 = !{!"_ZTSSt5arrayIN12RedexContext23ConcurrentStringStorage4SlotELm11EE", !7, i64 0}
!26 = !{!"_ZTSSt5mutex", !27, i64 0}
!27 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!28 = !{!"_ZTSSt6vectorISt10unique_ptrIN12RedexContext23ConcurrentStringStorage9ContainerESt14default_deleteIS3_EESaIS6_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN12RedexContext23ConcurrentStringStorage9ContainerESt14default_deleteIS3_EESaIS6_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN12RedexContext23ConcurrentStringStorage9ContainerESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN12RedexContext23ConcurrentStringStorage9ContainerESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTS9AtomicMapIPK9DexStringP7DexTypeSt4hashIS2_ESt8equal_toIS2_ELm83EE", !33, i64 0}
!33 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIPK9DexStringSt6atomicIP7DexTypeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEELm83EE", !7, i64 8}
!34 = !{!"_ZTS9AtomicMapI12DexFieldSpecP11DexFieldRefSt4hashIS0_ESt8equal_toIS0_ELm83EE", !35, i64 0}
!35 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapI12DexFieldSpecSt6atomicIP11DexFieldRefESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S5_EEELm83EE", !7, i64 8}
!36 = !{!"_ZTS9AtomicMapIPKSt6vectorIP7DexTypeSaIS2_EEP11DexTypeListN12RedexContext31DexTypeListContainerTypePtrHashENS9_33DexTypeListContainerTypePtrEqualsELm83EE", !37, i64 0}
!37 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIPKSt6vectorIP7DexTypeSaIS3_EESt6atomicIP11DexTypeListEN12RedexContext31DexTypeListContainerTypePtrHashENSC_33DexTypeListContainerTypePtrEqualsESaISt4pairIKS7_SB_EEELm83EE", !7, i64 8}
!38 = !{!"_ZTS23InsertOnlyConcurrentSetIP8DexProtoN12RedexContext15DexProtoKeyHashENS2_16DexProtoKeyEqualELm83EE", !39, i64 0}
!39 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIP8DexProtoN12RedexContext15DexProtoKeyHashENS3_16DexProtoKeyEqualESaIS2_EELm83EE", !7, i64 8}
!40 = !{!"_ZTS9AtomicMapI13DexMethodSpecP12DexMethodRefSt4hashIS0_ESt8equal_toIS0_ELm83EE", !41, i64 0}
!41 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapI13DexMethodSpecSt6atomicIP12DexMethodRefESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S5_EEELm83EE", !7, i64 8}
!42 = !{!"_ZTS9AtomicMapISt4pairISt17basic_string_viewIcSt11char_traitsIcEES4_EP11DexLocationN12RedexContext20ClassLocationKeyHashESt8equal_toIS5_ELm83EE", !43, i64 0}
!43 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapISt4pairISt17basic_string_viewIcSt11char_traitsIcEES5_ESt6atomicIP11DexLocationEN12RedexContext20ClassLocationKeyHashESt8equal_toIS6_ESaIS1_IKS6_SA_EEELm83EE", !7, i64 8}
!44 = !{!"_ZTS23InsertOnlyConcurrentSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_ELm83EE", !45, i64 0}
!45 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE", !7, i64 8}
!46 = !{!"_ZTSSt6vectorIP8DexClassSaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIP8DexClassSaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIP8DexClassSaIS1_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIP8DexClassSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSSt6vectorIPK7DexTypeSaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIPK7DexTypeSaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIPK7DexTypeSaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIPK7DexTypeSaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTSSt6vectorISt8functionIFvvEESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt8functionIFvvEESaIS2_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvvEESaIS2_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvvEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = !{!"_ZTS12UnorderedMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4hashIS5_ESt8equal_toIS5_EE", !59, i64 0}
!59 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_mEEE", !60, i64 0}
!60 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !22, i64 8, !61, i64 16, !22, i64 24, !62, i64 32, !6, i64 48}
!61 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!62 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !63, i64 0, !22, i64 8}
!63 = !{!"float", !7, i64 0}
!64 = !{!"_ZTS22FrequentlyUsedPointers", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !65, i64 408}
!65 = !{!"_ZTS12UnorderedSetIPK7DexTypeSt4hashIS2_ESt8equal_toIS2_EE", !66, i64 0}
!66 = !{!"_ZTSSt13unordered_setIPK7DexTypeSt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !67, i64 0}
!67 = !{!"_ZTSSt10_HashtableIPK7DexTypeS2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !22, i64 8, !61, i64 16, !22, i64 24, !62, i64 32, !6, i64 48}
!68 = !{!"_ZTS13ConcurrentMapIP8DexFieldSt10unique_ptrIN10keep_rules17AssumeReturnValueESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ELm83EE", !69, i64 0, !7, i64 2664}
!69 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIP8DexFieldSt10unique_ptrIN10keep_rules17AssumeReturnValueESt14default_deleteIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEELm83EE", !7, i64 8}
!70 = !{!"_ZTS13ConcurrentMapIP9DexMethodSt10unique_ptrIN10keep_rules17AssumeReturnValueESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ELm83EE", !71, i64 0, !7, i64 2664}
!71 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIP9DexMethodSt10unique_ptrIN10keep_rules17AssumeReturnValueESt14default_deleteIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEELm83EE", !7, i64 8}
!72 = !{!"_ZTSSt5queueIP12DexMethodRefSt5dequeIS1_SaIS1_EEE", !73, i64 0}
!73 = !{!"_ZTSSt5dequeIP12DexMethodRefSaIS1_EE", !74, i64 0}
!74 = !{!"_ZTSSt11_Deque_baseIP12DexMethodRefSaIS1_EE", !75, i64 0}
!75 = !{!"_ZTSNSt11_Deque_baseIP12DexMethodRefSaIS1_EE11_Deque_implE", !76, i64 0}
!76 = !{!"_ZTSNSt11_Deque_baseIP12DexMethodRefSaIS1_EE16_Deque_impl_dataE", !6, i64 0, !22, i64 8, !77, i64 16, !77, i64 48}
!77 = !{!"_ZTSSt15_Deque_iteratorIP12DexMethodRefRS1_PS1_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!78 = !{i8 0, i8 2}
!79 = !{}
!80 = !{!81, !85, i64 16}
!81 = !{!"_ZTS15MethodItemEntry", !82, i64 0, !85, i64 16, !7, i64 24}
!82 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !83, i64 0}
!83 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !84, i64 0}
!84 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !6, i64 0, !6, i64 8}
!85 = !{!"_ZTS14MethodItemType", !7, i64 0}
!86 = distinct !{!86, !87}
!87 = !{!"llvm.loop.mustprogress"}
!88 = distinct !{!88, !87}


; 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.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }

@g_redex = external local_unnamed_addr global ptr, align 8

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21next_opcode_or_srcblkRN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEEPN3cfg5BlockE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca %"class.boost::intrusive::list_iterator", align 8
  %4 = alloca %"class.boost::intrusive::list_iterator", align 8
  %5 = load ptr, ptr @g_redex, align 8, !tbaa !5
  %6 = load i8, ptr %5, align 8, !tbaa !9, !range !78, !noundef !79
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %.preheader, label %.preheader13

.preheader13:                                     ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(104) %1)
  %8 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %4)
  br i1 %8, label %.lr.ph, label %.critedge2

.preheader:                                       ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %3, ptr noundef nonnull align 8 dereferenceable(104) %1)
  %9 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %9, label %.lr.ph15, label %.critedge

.lr.ph15:                                         ; preds = %.preheader, %17
  %10 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %12 = load i32, ptr %11, align 8, !tbaa !80
  %.not11 = icmp eq i32 %12, 2
  br i1 %.not11, label %.critedge, label %13

13:                                               ; preds = %.lr.ph15
  %14 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  %16 = load i32, ptr %15, align 8, !tbaa !80
  %.not12 = icmp eq i32 %16, 7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  br i1 %.not12, label %.loopexit, label %17

17:                                               ; preds = %13
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %3, ptr noundef nonnull align 8 dereferenceable(104) %1)
  %19 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %19, label %.lr.ph15, label %.critedge, !llvm.loop !86

.critedge:                                        ; preds = %.lr.ph15, %17, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  br label %.loopexit

.lr.ph:                                           ; preds = %.preheader13, %23
  %20 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %21 = getelementptr inbounds i8, ptr %20, i64 16
  %22 = load i32, ptr %21, align 8, !tbaa !80
  %.not = icmp eq i32 %22, 2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br i1 %.not, label %.loopexit, label %23

23:                                               ; preds = %.lr.ph
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(104) %1)
  %25 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %4)
  br i1 %25, label %.lr.ph, label %.critedge2, !llvm.loop !88

.critedge2:                                       ; preds = %23, %.preheader13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %13, %.critedge2, %.critedge
  ret void
}

; Function Attrs: inlinehint mustprogress 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 #2

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: 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 #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 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 = { 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 #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 = { 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, !11, i64 0}
!10 = !{!"_ZTS12RedexContext", !11, i64 0, !11, i64 1, !12, i64 8, !14, i64 2672, !16, i64 5336, !18, i64 8000, !20, i64 354456, !21, i64 355480, !21, i64 356304, !21, i64 357128, !32, i64 357952, !34, i64 360616, !26, i64 363280, !36, i64 363320, !38, i64 365984, !40, i64 368648, !26, i64 371312, !42, i64 371352, !6, i64 374016, !44, i64 374024, !26, i64 376688, !46, i64 376728, !50, i64 376752, !26, i64 376776, !54, i64 376816, !58, i64 376840, !11, i64 376896, !11, i64 376897, !26, i64 376904, !64, i64 376944, !68, i64 377408, !70, i64 383392, !11, i64 389376, !72, i64 389384, !26, i64 389464}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS13ConcurrentSetIPK8DexClassSt4hashIS2_ESt8equal_toIS2_ELm83EE", !13, i64 0}
!13 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIPK8DexClassSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE", !7, i64 8}
!14 = !{!"_ZTS13ConcurrentSetIPK9DexMethodSt4hashIS2_ESt8equal_toIS2_ELm83EE", !15, i64 0}
!15 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIPK9DexMethodSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE", !7, i64 8}
!16 = !{!"_ZTS23InsertOnlyConcurrentSetIPK9DexStringSt4hashIS2_ESt8equal_toIS2_ELm83EE", !17, i64 0}
!17 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIPK9DexStringSt4hashIS3_ESt8equal_toIS3_ESaIS3_EELm83EE", !7, i64 8}
!18 = !{!"_ZTSN12RedexContext14LargeStringSetILm31ELm127EEE", !19, i64 0}
!19 = !{!"_ZTSSt5arrayIN12RedexContext28ConcurrentProjectedStringSetILm31EEELm127EE", !7, i64 0}
!20 = !{!"_ZTSSt5arrayIP23InsertOnlyConcurrentSetI13DexStringReprN12RedexContext17DexStringReprHashENS2_18DexStringReprEqualELm83EELm128EE", !7, i64 0}
!21 = !{!"_ZTSN12RedexContext23ConcurrentStringStorageE", !22, i64 0, !22, i64 8, !22, i64 16, !23, i64 24, !23, i64 32, !23, i64 40, !23, i64 48, !25, i64 56, !26, i64 760, !28, i64 800}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSSt6atomicImE", !24, i64 0}
!24 = !{!"_ZTSSt13__atomic_baseImE", !22, i64 0}
!25 = !{!"_ZTSSt5arrayIN12RedexContext23ConcurrentStringStorage4SlotELm11EE", !7, i64 0}
!26 = !{!"_ZTSSt5mutex", !27, i64 0}
!27 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!28 = !{!"_ZTSSt6vectorISt10unique_ptrIN12RedexContext23ConcurrentStringStorage9ContainerESt14default_deleteIS3_EESaIS6_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN12RedexContext23ConcurrentStringStorage9ContainerESt14default_deleteIS3_EESaIS6_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN12RedexContext23ConcurrentStringStorage9ContainerESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN12RedexContext23ConcurrentStringStorage9ContainerESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTS9AtomicMapIPK9DexStringP7DexTypeSt4hashIS2_ESt8equal_toIS2_ELm83EE", !33, i64 0}
!33 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIPK9DexStringSt6atomicIP7DexTypeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEELm83EE", !7, i64 8}
!34 = !{!"_ZTS9AtomicMapI12DexFieldSpecP11DexFieldRefSt4hashIS0_ESt8equal_toIS0_ELm83EE", !35, i64 0}
!35 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapI12DexFieldSpecSt6atomicIP11DexFieldRefESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S5_EEELm83EE", !7, i64 8}
!36 = !{!"_ZTS9AtomicMapIPKSt6vectorIP7DexTypeSaIS2_EEP11DexTypeListN12RedexContext31DexTypeListContainerTypePtrHashENS9_33DexTypeListContainerTypePtrEqualsELm83EE", !37, i64 0}
!37 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIPKSt6vectorIP7DexTypeSaIS3_EESt6atomicIP11DexTypeListEN12RedexContext31DexTypeListContainerTypePtrHashENSC_33DexTypeListContainerTypePtrEqualsESaISt4pairIKS7_SB_EEELm83EE", !7, i64 8}
!38 = !{!"_ZTS23InsertOnlyConcurrentSetIP8DexProtoN12RedexContext15DexProtoKeyHashENS2_16DexProtoKeyEqualELm83EE", !39, i64 0}
!39 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIP8DexProtoN12RedexContext15DexProtoKeyHashENS3_16DexProtoKeyEqualESaIS2_EELm83EE", !7, i64 8}
!40 = !{!"_ZTS9AtomicMapI13DexMethodSpecP12DexMethodRefSt4hashIS0_ESt8equal_toIS0_ELm83EE", !41, i64 0}
!41 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapI13DexMethodSpecSt6atomicIP12DexMethodRefESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S5_EEELm83EE", !7, i64 8}
!42 = !{!"_ZTS9AtomicMapISt4pairISt17basic_string_viewIcSt11char_traitsIcEES4_EP11DexLocationN12RedexContext20ClassLocationKeyHashESt8equal_toIS5_ELm83EE", !43, i64 0}
!43 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapISt4pairISt17basic_string_viewIcSt11char_traitsIcEES5_ESt6atomicIP11DexLocationEN12RedexContext20ClassLocationKeyHashESt8equal_toIS6_ESaIS1_IKS6_SA_EEELm83EE", !7, i64 8}
!44 = !{!"_ZTS23InsertOnlyConcurrentSetIP8DexClassSt4hashIS1_ESt8equal_toIS1_ELm83EE", !45, i64 0}
!45 = !{!"_ZTS19ConcurrentContainerISt13unordered_setIP8DexClassSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EE", !7, i64 8}
!46 = !{!"_ZTSSt6vectorIP8DexClassSaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIP8DexClassSaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIP8DexClassSaIS1_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIP8DexClassSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSSt6vectorIPK7DexTypeSaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIPK7DexTypeSaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIPK7DexTypeSaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIPK7DexTypeSaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTSSt6vectorISt8functionIFvvEESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt8functionIFvvEESaIS2_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvvEESaIS2_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvvEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = !{!"_ZTS12UnorderedMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4hashIS5_ESt8equal_toIS5_EE", !59, i64 0}
!59 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_mEEE", !60, i64 0}
!60 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !22, i64 8, !61, i64 16, !22, i64 24, !62, i64 32, !6, i64 48}
!61 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!62 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !63, i64 0, !22, i64 8}
!63 = !{!"float", !7, i64 0}
!64 = !{!"_ZTS22FrequentlyUsedPointers", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !65, i64 408}
!65 = !{!"_ZTS12UnorderedSetIPK7DexTypeSt4hashIS2_ESt8equal_toIS2_EE", !66, i64 0}
!66 = !{!"_ZTSSt13unordered_setIPK7DexTypeSt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !67, i64 0}
!67 = !{!"_ZTSSt10_HashtableIPK7DexTypeS2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !22, i64 8, !61, i64 16, !22, i64 24, !62, i64 32, !6, i64 48}
!68 = !{!"_ZTS13ConcurrentMapIP8DexFieldSt10unique_ptrIN10keep_rules17AssumeReturnValueESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ELm83EE", !69, i64 0, !7, i64 2664}
!69 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIP8DexFieldSt10unique_ptrIN10keep_rules17AssumeReturnValueESt14default_deleteIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEELm83EE", !7, i64 8}
!70 = !{!"_ZTS13ConcurrentMapIP9DexMethodSt10unique_ptrIN10keep_rules17AssumeReturnValueESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ELm83EE", !71, i64 0, !7, i64 2664}
!71 = !{!"_ZTS19ConcurrentContainerISt13unordered_mapIP9DexMethodSt10unique_ptrIN10keep_rules17AssumeReturnValueESt14default_deleteIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S8_EEELm83EE", !7, i64 8}
!72 = !{!"_ZTSSt5queueIP12DexMethodRefSt5dequeIS1_SaIS1_EEE", !73, i64 0}
!73 = !{!"_ZTSSt5dequeIP12DexMethodRefSaIS1_EE", !74, i64 0}
!74 = !{!"_ZTSSt11_Deque_baseIP12DexMethodRefSaIS1_EE", !75, i64 0}
!75 = !{!"_ZTSNSt11_Deque_baseIP12DexMethodRefSaIS1_EE11_Deque_implE", !76, i64 0}
!76 = !{!"_ZTSNSt11_Deque_baseIP12DexMethodRefSaIS1_EE16_Deque_impl_dataE", !6, i64 0, !22, i64 8, !77, i64 16, !77, i64 48}
!77 = !{!"_ZTSSt15_Deque_iteratorIP12DexMethodRefRS1_PS1_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!78 = !{i8 0, i8 2}
!79 = !{}
!80 = !{!81, !85, i64 16}
!81 = !{!"_ZTS15MethodItemEntry", !82, i64 0, !85, i64 16, !7, i64 24}
!82 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !83, i64 0}
!83 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !84, i64 0}
!84 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !6, i64 0, !6, i64 8}
!85 = !{!"_ZTS14MethodItemType", !7, i64 0}
!86 = distinct !{!86, !87}
!87 = !{!"llvm.loop.mustprogress"}
!88 = distinct !{!88, !87}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass