; LLVM IR from facebook/redex :: service/regalloc (Split)

; 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<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator" = type { %"struct.std::__detail::_Node_const_iterator" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base.187" }
%"struct.std::__detail::_Node_iterator_base.187" = type { ptr }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.UnorderedSet<unsigned short>::ConstUnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_const_iterator.222" = type { %"struct.std::__detail::_Node_iterator_base.223" }
%"struct.std::__detail::_Node_iterator_base.223" = type { ptr }
%"struct.regalloc::SplitPlan" = type { %class.UnorderedMap.188 }
%class.UnorderedMap.188 = type { %"class.std::unordered_map.190" }
%"class.std::unordered_map.190" = type { %"class.std::_Hashtable.191" }
%"class.std::_Hashtable.191" = 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 }
%"struct.std::pair.204" = type { i16, %class.UnorderedSet.206 }
%class.UnorderedSet.206 = type { %"class.std::unordered_set.208" }
%"class.std::unordered_set.208" = type { %"class.std::_Hashtable.209" }
%"class.std::_Hashtable.209" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

@.str.5 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__._ZN8regalloc16split_for_defineERKNS_9SplitPlanERKNS_12interference5GraphEPK13IRInstructionRKN6sparta17SetAbstractDomainINSA_15PatriciaTreeSetIjEEEERN3cfg16ControlFlowGraphEP12UnorderedMapIttSt4hashItESt8equal_toItEENSH_23InstructionIteratorImplILb0EEE = external hidden unnamed_addr constant [198 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 noundef zeroext i1 @_ZNK6sparta22PowersetAbstractDomainIjNS_8set_impl8SetValueINS_15PatriciaTreeSetIjEEEERKS4_NS_17SetAbstractDomainIS4_EEE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

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

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

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

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN8regalloc19gen_store_for_splitERKNS_12interference5GraphEtP12UnorderedMapIttSt4hashItESt8equal_toItEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(168), i16 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(160)) #1

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8regalloc16split_for_defineERKNS_9SplitPlanERKNS_12interference5GraphEPK13IRInstructionRKN6sparta17SetAbstractDomainINSA_15PatriciaTreeSetIjEEEERN3cfg16ControlFlowGraphEP12UnorderedMapIttSt4hashItESt8equal_toItEENSH_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(160) %4, ptr noundef %5, ptr noundef %6) #1 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca i64, align 8
  %19 = alloca %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", align 8
  %20 = alloca i16, align 2
  %21 = alloca %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", align 8
  %22 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", align 8
  %25 = alloca %"struct.std::__detail::_Node_const_iterator.222", align 8
  %26 = alloca %"struct.std::__detail::_Node_const_iterator.222", align 8
  %27 = alloca i32, align 4
  %28 = alloca i16, align 2
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !9
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = call noundef zeroext i1 @_ZNK13IRInstruction8has_destEv(ptr noundef nonnull align 8 dereferenceable(32) %31)
  br i1 %32, label %33, label %130

33:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = call noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %34)
  store i32 %35, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  store i8 1, ptr %17, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %36

36:                                               ; preds = %51, %33
  %37 = load i64, ptr %18, align 8, !tbaa !9
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %38)
  %40 = icmp ult i64 %37, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %54

42:                                               ; preds = %36
  %43 = load i32, ptr %16, align 4, !tbaa !11
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = load i64, ptr %18, align 8, !tbaa !9
  %46 = trunc i64 %45 to i16
  %47 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %44, i16 noundef zeroext %46)
  %48 = icmp eq i32 %43, %47
  br i1 %48, label %49, label %50

49:                                               ; preds = %42
  store i8 0, ptr %17, align 1, !tbaa !13
  br label %50

50:                                               ; preds = %49, %42
  br label %51

51:                                               ; preds = %50
  %52 = load i64, ptr %18, align 8, !tbaa !9
  %53 = add i64 %52, 1
  store i64 %53, ptr %18, align 8, !tbaa !9
  br label %36, !llvm.loop !15

54:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.regalloc::SplitPlan", ptr %55, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 2, ptr %20) #6
  %57 = load i32, ptr %16, align 4, !tbaa !11
  %58 = trunc i32 %57 to i16
  store i16 %58, ptr %20, align 2, !tbaa !17
  %59 = call ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E4findERKt(ptr noundef nonnull align 8 dereferenceable(56) %56, ptr noundef nonnull align 2 dereferenceable(2) %20)
  %60 = getelementptr inbounds %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", ptr %19, i32 0, i32 0
  %61 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %60, i32 0, i32 0
  %62 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.187", ptr %61, i32 0, i32 0
  store ptr %59, ptr %62, align 8
  call void @llvm.lifetime.end.p0(i64 2, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.regalloc::SplitPlan", ptr %63, i32 0, i32 0
  %65 = call ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E3endEv(ptr noundef nonnull align 8 dereferenceable(56) %64)
  %66 = getelementptr inbounds %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", ptr %21, i32 0, i32 0
  %67 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %66, i32 0, i32 0
  %68 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.187", ptr %67, i32 0, i32 0
  store ptr %65, ptr %68, align 8
  %69 = call noundef zeroext i1 @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E18ConstFixedIteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %21)
  br i1 %69, label %70, label %73

70:                                               ; preds = %54
  %71 = load i8, ptr %17, align 1, !tbaa !13, !range !19, !noundef !20
  %72 = trunc i8 %71 to i1
  br label %73

73:                                               ; preds = %70, %54
  %74 = phi i1 [ false, %54 ], [ %72, %70 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br i1 %74, label %75, label %129

75:                                               ; preds = %73
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %76)
  %78 = call noundef zeroext i1 @_ZN6opcode16is_a_move_resultE8IROpcode(i16 noundef zeroext %77)
  br i1 %78, label %79, label %87

79:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN3cfg16ControlFlowGraph34primary_instruction_of_move_resultERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %22, ptr noundef nonnull align 8 dereferenceable(160) %80, ptr noundef nonnull align 8 dereferenceable(32) %6)
  %81 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %22)
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  %82 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br i1 %82, label %84, label %83

83:                                               ; preds = %79
  br label %86

84:                                               ; preds = %79
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.7, ptr noundef @.str.5, i32 noundef 234, ptr noundef @__PRETTY_FUNCTION__._ZN8regalloc16split_for_defineERKNS_9SplitPlanERKNS_12interference5GraphEPK13IRInstructionRKN6sparta17SetAbstractDomainINSA_15PatriciaTreeSetIjEEEERN3cfg16ControlFlowGraphEP12UnorderedMapIttSt4hashItESt8equal_toItEENSH_23InstructionIteratorImplILb0EEE, i32 noundef 2, ptr noundef @.str.6) #7
  unreachable

85:                                               ; No predecessors!
  br label %86

86:                                               ; preds = %85, %83
  br label %87

87:                                               ; preds = %86, %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %88 = call noundef ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E18ConstFixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %19)
  %89 = getelementptr inbounds %"struct.std::pair.204", ptr %88, i32 0, i32 1
  %90 = call ptr @_Z17UnorderedIterableI12UnorderedSetItSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56) %89)
  %91 = getelementptr inbounds %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", ptr %24, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  store ptr %24, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %92 = load ptr, ptr %23, align 8, !tbaa !5
  %93 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %92)
  %94 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.222", ptr %25, i32 0, i32 0
  %95 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.223", ptr %94, i32 0, i32 0
  store ptr %93, ptr %95, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %96 = load ptr, ptr %23, align 8, !tbaa !5
  %97 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %96)
  %98 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.222", ptr %26, i32 0, i32 0
  %99 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.223", ptr %98, i32 0, i32 0
  store ptr %97, ptr %99, align 8
  br label %100

100:                                              ; preds = %126, %87
  %101 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  br i1 %101, label %103, label %102

102:                                              ; preds = %100
  store i32 5, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %128

103:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 2, ptr %28) #6
  %104 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNKSt8__detail20_Node_const_iteratorItLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  %105 = load i16, ptr %104, align 2, !tbaa !17
  store i16 %105, ptr %28, align 2, !tbaa !17
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %107 = load i16, ptr %28, align 2, !tbaa !17
  %108 = zext i16 %107 to i32
  store i32 %108, ptr %29, align 4, !tbaa !11
  %109 = call noundef zeroext i1 @_ZNK6sparta22PowersetAbstractDomainIjNS_8set_impl8SetValueINS_15PatriciaTreeSetIjEEEERKS4_NS_17SetAbstractDomainIS4_EEE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %106, ptr noundef nonnull align 4 dereferenceable(4) %29)
  %110 = xor i1 %109, true
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br i1 %110, label %111, label %112

111:                                              ; preds = %103
  store i32 6, ptr %27, align 4
  br label %123

112:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = load i16, ptr %28, align 2, !tbaa !17
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = load ptr, ptr %12, align 8, !tbaa !5
  %117 = call noundef ptr @_ZN8regalloc19gen_store_for_splitERKNS_12interference5GraphEtP12UnorderedMapIttSt4hashItESt8equal_toItEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(168) %113, i16 noundef zeroext %114, ptr noundef %115, ptr noundef nonnull align 8 dereferenceable(160) %116)
  store ptr %117, ptr %30, align 8, !tbaa !5
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = load ptr, ptr %30, align 8, !tbaa !5
  %120 = call noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %118, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef %119)
  %121 = load i64, ptr %15, align 8, !tbaa !9
  %122 = add i64 %121, 1
  store i64 %122, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  store i32 0, ptr %27, align 4
  br label %123

123:                                              ; preds = %112, %111
  call void @llvm.lifetime.end.p0(i64 2, ptr %28) #6
  %124 = load i32, ptr %27, align 4
  switch i32 %124, label %132 [
    i32 0, label %125
    i32 6, label %126
  ]

125:                                              ; preds = %123
  br label %126

126:                                              ; preds = %125, %123
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorItLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br label %100

128:                                              ; preds = %102
  br label %129

129:                                              ; preds = %128, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %130

130:                                              ; preds = %129, %7
  %131 = load i64, ptr %15, align 8, !tbaa !9
  store i32 1, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  ret i64 %131

132:                                              ; preds = %123
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

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

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


; 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<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator" = type { %"struct.std::__detail::_Node_const_iterator" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base.187" }
%"struct.std::__detail::_Node_iterator_base.187" = type { ptr }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.UnorderedSet<unsigned short>::ConstUnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_const_iterator.222" = type { %"struct.std::__detail::_Node_iterator_base.223" }
%"struct.std::__detail::_Node_iterator_base.223" = type { ptr }

@.str.5 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__._ZN8regalloc16split_for_defineERKNS_9SplitPlanERKNS_12interference5GraphEPK13IRInstructionRKN6sparta17SetAbstractDomainINSA_15PatriciaTreeSetIjEEEERN3cfg16ControlFlowGraphEP12UnorderedMapIttSt4hashItESt8equal_toItEENSH_23InstructionIteratorImplILb0EEE = external hidden unnamed_addr constant [198 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 noundef zeroext i1 @_ZNK6sparta22PowersetAbstractDomainIjNS_8set_impl8SetValueINS_15PatriciaTreeSetIjEEEERKS4_NS_17SetAbstractDomainIS4_EEE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

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

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

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

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN8regalloc19gen_store_for_splitERKNS_12interference5GraphEtP12UnorderedMapIttSt4hashItESt8equal_toItEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(168), i16 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #1

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8regalloc16split_for_defineERKNS_9SplitPlanERKNS_12interference5GraphEPK13IRInstructionRKN6sparta17SetAbstractDomainINSA_15PatriciaTreeSetIjEEEERN3cfg16ControlFlowGraphEP12UnorderedMapIttSt4hashItESt8equal_toItEENSH_23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(160) %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #1 {
  %8 = alloca %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", align 8
  %9 = alloca i16, align 2
  %10 = alloca %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", align 8
  %11 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %12 = alloca %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", align 8
  %13 = alloca %"struct.std::__detail::_Node_const_iterator.222", align 8
  %14 = alloca %"struct.std::__detail::_Node_const_iterator.222", align 8
  %15 = alloca i32, align 4
  %16 = tail call noundef zeroext i1 @_ZNK13IRInstruction8has_destEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  br i1 %16, label %17, label %57

17:                                               ; preds = %7
  %18 = tail call noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %19 = tail call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %.not = icmp eq i64 %19, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %17
  %.025.lcssa = phi i1 [ true, %17 ], [ %spec.select, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #6
  %20 = trunc i32 %18 to i16
  store i16 %20, ptr %9, align 2, !tbaa !5
  %21 = call ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E4findERKt(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 2 dereferenceable(2) %9)
  store ptr %21, ptr %8, align 8
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %22 = call ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E3endEv(ptr noundef nonnull align 8 dereferenceable(56) %0)
  store ptr %22, ptr %10, align 8
  %23 = call noundef zeroext i1 @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E18ConstFixedIteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %24 = select i1 %23, i1 %.025.lcssa, i1 false
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %24, label %31, label %56

.lr.ph:                                           ; preds = %17, %.lr.ph
  %.02529 = phi i1 [ %spec.select, %.lr.ph ], [ true, %17 ]
  %.02728 = phi i64 [ %28, %.lr.ph ], [ 0, %17 ]
  %25 = trunc i64 %.02728 to i16
  %26 = tail call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %2, i16 noundef zeroext %25)
  %27 = icmp ne i32 %18, %26
  %spec.select = select i1 %27, i1 %.02529, i1 false
  %28 = add nuw i64 %.02728, 1
  %29 = tail call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %30 = icmp ult i64 %28, %29
  br i1 %30, label %.lr.ph, label %._crit_edge, !llvm.loop !9

31:                                               ; preds = %._crit_edge
  %32 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %33 = call noundef zeroext i1 @_ZN6opcode16is_a_move_resultE8IROpcode(i16 noundef zeroext %32)
  br i1 %33, label %34, label %38

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @_ZN3cfg16ControlFlowGraph34primary_instruction_of_move_resultERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %11, ptr noundef nonnull align 8 dereferenceable(160) %4, ptr noundef nonnull align 8 dereferenceable(32) %6)
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %11)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  %36 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br i1 %36, label %37, label %38

37:                                               ; preds = %34
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.5, i32 noundef 234, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8regalloc16split_for_defineERKNS_9SplitPlanERKNS_12interference5GraphEPK13IRInstructionRKN6sparta17SetAbstractDomainINSA_15PatriciaTreeSetIjEEEERN3cfg16ControlFlowGraphEP12UnorderedMapIttSt4hashItESt8equal_toItEENSH_23InstructionIteratorImplILb0EEE, i32 noundef 2, ptr noundef nonnull @.str.6) #7
  unreachable

38:                                               ; preds = %34, %31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %39 = call noundef ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E18ConstFixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = call ptr @_Z17UnorderedIterableI12UnorderedSetItSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56) %40)
  store ptr %41, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %42 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  store ptr %42, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %43 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  store ptr %43, ptr %14, align 8
  %44 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %44, label %.lr.ph32, label %._crit_edge33

._crit_edge33:                                    ; preds = %53, %38
  %.0.lcssa = phi i64 [ 0, %38 ], [ %.1, %53 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %56

.lr.ph32:                                         ; preds = %38, %53
  %.030 = phi i64 [ %.1, %53 ], [ 0, %38 ]
  %45 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNKSt8__detail20_Node_const_iteratorItLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %46 = load i16, ptr %45, align 2, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  %47 = zext i16 %46 to i32
  store i32 %47, ptr %15, align 4, !tbaa !11
  %48 = call noundef zeroext i1 @_ZNK6sparta22PowersetAbstractDomainIjNS_8set_impl8SetValueINS_15PatriciaTreeSetIjEEEERKS4_NS_17SetAbstractDomainIS4_EEE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %15)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br i1 %48, label %49, label %53

49:                                               ; preds = %.lr.ph32
  %50 = call noundef ptr @_ZN8regalloc19gen_store_for_splitERKNS_12interference5GraphEtP12UnorderedMapIttSt4hashItESt8equal_toItEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(168) %1, i16 noundef zeroext %46, ptr noundef %5, ptr noundef nonnull align 8 dereferenceable(160) %4)
  %51 = call noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %4, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef %50)
  %52 = add i64 %.030, 1
  br label %53

53:                                               ; preds = %.lr.ph32, %49
  %.1 = phi i64 [ %52, %49 ], [ %.030, %.lr.ph32 ]
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorItLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %55 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %55, label %.lr.ph32, label %._crit_edge33

56:                                               ; preds = %._crit_edge33, %._crit_edge
  %.2 = phi i64 [ %.0.lcssa, %._crit_edge33 ], [ 0, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %57

57:                                               ; preds = %56, %7
  %.3 = phi i64 [ %.2, %56 ], [ 0, %7 ]
  ret i64 %.3
}

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

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

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

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

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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

!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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


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