; LLVM IR from facebook/redex :: libredex (CFGMutation)

; 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.UnorderedMap<IRInstruction *, std::unique_ptr<cfg::CFGMutation::ChangeSet>>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator.27" = type { %"struct.std::__detail::_Node_iterator_base.28" }
%"struct.std::__detail::_Node_iterator_base.28" = type { ptr }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.79 }
%"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.79 = type { ptr }
%"class.cfg::CFGMutation" = type { ptr, %class.UnorderedMap }
%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 }

@.str.6 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE = external hidden unnamed_addr constant [70 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [46 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_Z17UnorderedIterableI12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS6_EESt4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESH_EEbE4typeELb1EEDaRSH_(ptr noundef nonnull align 8 dereferenceable(56)) #1

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

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

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

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

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

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

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

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

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

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #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)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3cfg11CFGMutation9ChangeSet5applyERNS_16ControlFlowGraphEPNS_5BlockERN7ir_list23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(56) %2) #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.UnorderedMap<IRInstruction *, std::unique_ptr<cfg::CFGMutation::ChangeSet>>::UnorderedIterable", align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator.27", align 8
  %10 = alloca %"struct.std::__detail::_Node_iterator.27", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.boost::intrusive::list_iterator", align 8
  %16 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %17 = alloca %"class.boost::intrusive::list_iterator", align 8
  %18 = alloca %"class.boost::intrusive::list_iterator", align 8
  %19 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = call noundef zeroext i1 @_ZNK12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %21)
  br i1 %22, label %24, label %23

23:                                               ; preds = %3
  br label %26

24:                                               ; preds = %3
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.9, ptr noundef @.str.6, i32 noundef 118, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef @.str.7) #7
  unreachable

25:                                               ; No predecessors!
  br label %26

26:                                               ; preds = %25, %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call ptr @_Z17UnorderedIterableI12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS6_EESt4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESH_EEbE4typeELb1EEDaRSH_(ptr noundef nonnull align 8 dereferenceable(56) %27)
  %29 = getelementptr inbounds %"class.UnorderedMap<IRInstruction *, std::unique_ptr<cfg::CFGMutation::ChangeSet>>::UnorderedIterable", ptr %8, i32 0, i32 0
  store ptr %28, ptr %29, align 8
  store ptr %8, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = call ptr @_ZN12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %30)
  %32 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.27", ptr %9, i32 0, i32 0
  %33 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.28", ptr %32, i32 0, i32 0
  store ptr %31, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = call ptr @_ZN12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
  %36 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.27", ptr %10, i32 0, i32 0
  %37 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.28", ptr %36, i32 0, i32 0
  store ptr %35, ptr %37, align 8
  br label %38

38:                                               ; preds = %96, %26
  %39 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br i1 %39, label %41, label %40

40:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %98

41:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS8_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  store ptr %42, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %43 = load ptr, ptr %11, align 8, !tbaa !5
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS6_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSE_(ptr noundef nonnull align 8 dereferenceable(16) %43) #8
  store ptr %44, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS6_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSE_(ptr noundef nonnull align 8 dereferenceable(16) %45) #8
  store ptr %46, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %47 = load ptr, ptr %13, align 8, !tbaa !5
  %48 = call noundef ptr @_ZNKSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3cfg11CFGMutation9ChangeSet12get_iteratorEv(ptr noundef nonnull align 8 dereferenceable(232) %48)
  store ptr %49, ptr %14, align 8, !tbaa !5
  %50 = load ptr, ptr %14, align 8, !tbaa !5
  %51 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %50)
  %52 = getelementptr inbounds %struct.MethodItemEntry, ptr %51, i32 0, i32 1
  %53 = load i32, ptr %52, align 8, !tbaa !9
  %54 = icmp eq i32 %53, 2
  br i1 %54, label %55, label %56

55:                                               ; preds = %41
  br label %58

56:                                               ; preds = %41
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.10, ptr noundef @.str.6, i32 noundef 121, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef @.str.7) #7
  unreachable

57:                                               ; No predecessors!
  br label %58

58:                                               ; preds = %57, %55
  %59 = load ptr, ptr %14, align 8, !tbaa !5
  %60 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59)
  %61 = getelementptr inbounds %struct.MethodItemEntry, ptr %60, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !15
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = load ptr, ptr %63, align 8, !tbaa !5
  %65 = icmp eq ptr %62, %64
  br i1 %65, label %66, label %67

66:                                               ; preds = %58
  br label %69

67:                                               ; preds = %58
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.11, ptr noundef @.str.6, i32 noundef 122, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef @.str.7) #7
  unreachable

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68, %66
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %15, ptr noundef nonnull align 8 dereferenceable(104) %71)
  %72 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(8) %15)
  br i1 %72, label %73, label %74

73:                                               ; preds = %69
  br label %76

74:                                               ; preds = %69
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.12, ptr noundef @.str.6, i32 noundef 123, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef @.str.7) #7
  unreachable

75:                                               ; No predecessors!
  br label %76

76:                                               ; preds = %75, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %77 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %77)
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %18, ptr noundef nonnull align 8 dereferenceable(104) %78)
  call void @_ZN7ir_list23InstructionIteratorImplILb0EEC2EN5boost9intrusive13list_iteratorINS3_8mhtraitsI15MethodItemEntryNS3_16list_member_hookIJEEEXadL_ZNS6_10list_hook_EEEEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %17, ptr noundef %18)
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = call noundef ptr @_ZNKSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %79) #8
  %81 = getelementptr inbounds %"class.cfg::CFGMutation", ptr %20, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8, !tbaa !16
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = call noundef zeroext i1 @_ZN3cfg11CFGMutation9ChangeSet5applyERNS_16ControlFlowGraphEPNS_5BlockERN7ir_list23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(232) %80, ptr noundef nonnull align 8 dereferenceable(160) %82, ptr noundef %83, ptr noundef nonnull align 8 dereferenceable(16) %16)
  %85 = zext i1 %84 to i8
  store i8 %85, ptr %19, align 1, !tbaa !25
  %86 = load i8, ptr %19, align 1, !tbaa !25, !range !27, !noundef !28
  %87 = trunc i8 %86 to i1
  br i1 %87, label %88, label %92

88:                                               ; preds = %76
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = call noundef i64 @_ZNK12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %89)
  %91 = icmp eq i64 %90, 1
  br i1 %91, label %92, label %93

92:                                               ; preds = %88, %76
  br label %95

93:                                               ; preds = %88
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.13, ptr noundef @.str.6, i32 noundef 126, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef @.str.7) #7
  unreachable

94:                                               ; No predecessors!
  br label %95

95:                                               ; preds = %94, %92
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %96

96:                                               ; preds = %95
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS8_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br label %38

98:                                               ; preds = %40
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %99)
  ret void
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(56)) #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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 = { "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 = { noreturn }
attributes #8 = { 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, !14, i64 16}
!10 = !{!"_ZTS15MethodItemEntry", !11, i64 0, !14, i64 16, !7, i64 24}
!11 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !12, i64 0}
!12 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !13, i64 0}
!13 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !6, i64 0, !6, i64 8}
!14 = !{!"_ZTS14MethodItemType", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSN3cfg11CFGMutationE", !6, i64 0, !18, i64 8}
!18 = !{!"_ZTS12UnorderedMapIPN3cfg5BlockES_IP13IRInstructionSt10unique_ptrINS0_11CFGMutation9ChangeSetESt14default_deleteIS7_EESt4hashIS4_ESt8equal_toIS4_EESB_IS2_ESD_IS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt13unordered_mapIPN3cfg5BlockE12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_11CFGMutation9ChangeSetESt14default_deleteIS8_EESt4hashIS5_ESt8equal_toIS5_EESC_IS2_ESE_IS2_ESaISt4pairIKS2_SG_EEE", !20, i64 0}
!20 = !{!"_ZTSSt10_HashtableIPN3cfg5BlockESt4pairIKS2_12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_11CFGMutation9ChangeSetESt14default_deleteISA_EESt4hashIS7_ESt8equal_toIS7_EEESaISJ_ENSt8__detail10_Select1stESG_IS2_ESE_IS2_ENSL_18_Mod_range_hashingENSL_20_Default_ranged_hashENSL_20_Prime_rehash_policyENSL_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !21, i64 8, !22, i64 16, !21, i64 24, !23, i64 32, !6, i64 48}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !24, i64 0, !21, i64 8}
!24 = !{!"float", !7, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}


; 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.UnorderedMap<IRInstruction *, std::unique_ptr<cfg::CFGMutation::ChangeSet>>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator.27" = type { %"struct.std::__detail::_Node_iterator_base.28" }
%"struct.std::__detail::_Node_iterator_base.28" = type { ptr }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }

@.str.6 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE = external hidden unnamed_addr constant [70 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [46 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(56) %2) local_unnamed_addr #1 align 2 {
  %4 = alloca %"class.UnorderedMap<IRInstruction *, std::unique_ptr<cfg::CFGMutation::ChangeSet>>::UnorderedIterable", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator.27", align 8
  %6 = alloca %"struct.std::__detail::_Node_iterator.27", align 8
  %7 = alloca %"class.boost::intrusive::list_iterator", align 8
  %8 = alloca %"class.ir_list::InstructionIteratorImpl", align 8
  %9 = alloca %"class.boost::intrusive::list_iterator", align 8
  %10 = alloca %"class.boost::intrusive::list_iterator", align 8
  %11 = tail call noundef zeroext i1 @_ZNK12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  br i1 %11, label %12, label %13

12:                                               ; preds = %3
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.6, i32 noundef 118, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef nonnull @.str.7) #7
  unreachable

13:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %14 = tail call ptr @_Z17UnorderedIterableI12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS6_EESt4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESH_EEbE4typeELb1EEDaRSH_(ptr noundef nonnull align 8 dereferenceable(56) %2)
  store ptr %14, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %15 = call ptr @_ZN12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  store ptr %15, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %16 = call ptr @_ZN12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  store ptr %16, ptr %6, align 8
  %17 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br i1 %17, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %46, %13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @_ZN12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  ret void

.lr.ph:                                           ; preds = %13, %46
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS8_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS6_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSE_(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS6_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSE_(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  %21 = call noundef ptr @_ZNKSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3cfg11CFGMutation9ChangeSet12get_iteratorEv(ptr noundef nonnull align 8 dereferenceable(232) %21)
  %23 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %24 = getelementptr inbounds i8, ptr %23, i64 16
  %25 = load i32, ptr %24, align 8, !tbaa !5
  %26 = icmp eq i32 %25, 2
  br i1 %26, label %28, label %27

27:                                               ; preds = %.lr.ph
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.6, i32 noundef 121, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef nonnull @.str.7) #7
  unreachable

28:                                               ; preds = %.lr.ph
  %29 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %30 = getelementptr inbounds i8, ptr %29, i64 24
  %31 = load ptr, ptr %30, align 8, !tbaa !14
  %32 = load ptr, ptr %19, align 8, !tbaa !15
  %33 = icmp eq ptr %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %28
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.6, i32 noundef 122, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef nonnull @.str.7) #7
  unreachable

35:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(104) %1)
  %36 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %7)
  br i1 %36, label %38, label %37

37:                                               ; preds = %35
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.6, i32 noundef 123, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef nonnull @.str.7) #7
  unreachable

38:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  call void @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @_ZN3cfg5Block3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %10, ptr noundef nonnull align 8 dereferenceable(104) %1)
  call void @_ZN7ir_list23InstructionIteratorImplILb0EEC2EN5boost9intrusive13list_iteratorINS3_8mhtraitsI15MethodItemEntryNS3_16list_member_hookIJEEEXadL_ZNS6_10list_hook_EEEEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %9, ptr noundef nonnull %10)
  %39 = call noundef ptr @_ZNKSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %40 = load ptr, ptr %0, align 8, !tbaa !16
  %41 = call noundef zeroext i1 @_ZN3cfg11CFGMutation9ChangeSet5applyERNS_16ControlFlowGraphEPNS_5BlockERN7ir_list23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(232) %39, ptr noundef nonnull align 8 dereferenceable(160) %40, ptr noundef nonnull %1, ptr noundef nonnull align 8 dereferenceable(16) %8)
  br i1 %41, label %42, label %46

42:                                               ; preds = %38
  %43 = call noundef i64 @_ZNK12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %44 = icmp eq i64 %43, 1
  br i1 %44, label %46, label %45

45:                                               ; preds = %42
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.6, i32 noundef 126, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg11CFGMutation21process_block_changesEPNS_5BlockER12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_9ChangeSetESt14default_deleteIS7_EESt4hashIS5_ESt8equal_toIS5_EE, i32 noundef 2, ptr noundef nonnull @.str.7) #7
  unreachable

46:                                               ; preds = %38, %42
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS8_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %48 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br i1 %48, label %.lr.ph, label %._crit_edge
}

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

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 #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIP13IRInstructionSt10unique_ptrIN3cfg11CFGMutation9ChangeSetESt14default_deleteIS5_EESt4hashIS1_ESt8equal_toIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(56)) 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 = { "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 = { noreturn }
attributes #8 = { 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, !13, i64 16}
!6 = !{!"_ZTS15MethodItemEntry", !7, i64 0, !13, i64 16, !11, i64 24}
!7 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !8, i64 0}
!8 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !9, i64 0}
!9 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !10, i64 0, !10, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTS14MethodItemType", !11, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"_ZTSN3cfg11CFGMutationE", !10, i64 0, !18, i64 8}
!18 = !{!"_ZTS12UnorderedMapIPN3cfg5BlockES_IP13IRInstructionSt10unique_ptrINS0_11CFGMutation9ChangeSetESt14default_deleteIS7_EESt4hashIS4_ESt8equal_toIS4_EESB_IS2_ESD_IS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt13unordered_mapIPN3cfg5BlockE12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_11CFGMutation9ChangeSetESt14default_deleteIS8_EESt4hashIS5_ESt8equal_toIS5_EESC_IS2_ESE_IS2_ESaISt4pairIKS2_SG_EEE", !20, i64 0}
!20 = !{!"_ZTSSt10_HashtableIPN3cfg5BlockESt4pairIKS2_12UnorderedMapIP13IRInstructionSt10unique_ptrINS0_11CFGMutation9ChangeSetESt14default_deleteISA_EESt4hashIS7_ESt8equal_toIS7_EEESaISJ_ENSt8__detail10_Select1stESG_IS2_ESE_IS2_ENSL_18_Mod_range_hashingENSL_20_Default_ranged_hashENSL_20_Prime_rehash_policyENSL_17_Hashtable_traitsILb0ELb0ELb1EEEE", !10, i64 0, !21, i64 8, !22, i64 16, !21, i64 24, !23, i64 32, !10, i64 48}
!21 = !{!"long", !11, i64 0}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !10, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !24, i64 0, !21, i64 8}
!24 = !{!"float", !11, i64 0}


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