; 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.boost::intrusive::reverse_iterator" = type { %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = 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.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.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 }
%"class.__gnu_cxx::__normal_iterator.61" = type { ptr }
%"struct.std::pair.270" = type { ptr, 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 }
%"struct.regalloc::BlockLoadInfo" = type { %class.UnorderedMap.242, %class.UnorderedMap.242, %"class.std::map.258" }
%class.UnorderedMap.242 = type { %"class.std::unordered_map.244" }
%"class.std::unordered_map.244" = type { %"class.std::_Hashtable.245" }
%"class.std::_Hashtable.245" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::map.258" = type { %"class.std::_Rb_tree.259" }
%"class.std::_Rb_tree.259" = type { %"struct.std::_Rb_tree<std::pair<cfg::Block *, cfg::Block *>, std::pair<const std::pair<cfg::Block *, cfg::Block *>, regalloc::BlockModeInsn>, std::_Select1st<std::pair<const std::pair<cfg::Block *, cfg::Block *>, regalloc::BlockModeInsn>>, regalloc::BlockLoadInfo::block_edge_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<cfg::Block *, cfg::Block *>, std::pair<const std::pair<cfg::Block *, cfg::Block *>, regalloc::BlockModeInsn>, std::_Select1st<std::pair<const std::pair<cfg::Block *, cfg::Block *>, regalloc::BlockModeInsn>>, regalloc::BlockLoadInfo::block_edge_comparator>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.86 }
%"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.86 = type { ptr }

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(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(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg5Block6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) #3 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)) #1 align 2

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

; 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEmmEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E3endEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 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)) #3

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

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

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

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

declare void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt3mapISt4pairIPN3cfg5BlockES3_EN8regalloc13BlockModeInsnENS5_13BlockLoadInfo21block_edge_comparatorESaIS0_IKS4_S6_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8regalloc13BlockModeInsn13add_insn_modeEP13IRInstructionNS_9BlockModeE(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef, i32 noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8regalloc18split_for_last_useERKNS_9SplitPlanERKNS_12interference5GraphEPK13IRInstructionRKN6sparta17SetAbstractDomainINSA_15PatriciaTreeSetIjEEEEPN3cfg5BlockERNSH_16ControlFlowGraphEP12UnorderedMapIttSt4hashItESt8equal_toItEERN5boost9intrusive16reverse_iteratorINSU_13list_iteratorINSU_8mhtraitsI15MethodItemEntryNSU_16list_member_hookIJEEEXadL_ZNSY_10list_hook_EEEEELb0EEEEEPNS_13BlockLoadInfoE(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 %4, ptr noundef nonnull align 8 dereferenceable(160) %5, ptr noundef %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef %8) #3 {
  %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 ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", align 8
  %24 = alloca i16, align 2
  %25 = alloca %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", align 8
  %28 = alloca %"struct.std::__detail::_Node_const_iterator.222", align 8
  %29 = alloca %"struct.std::__detail::_Node_const_iterator.222", align 8
  %30 = alloca i16, align 2
  %31 = alloca i32, align 4
  %32 = alloca %"class.boost::intrusive::reverse_iterator", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"struct.std::pair.270", align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"class.boost::intrusive::list_iterator", align 8
  %42 = alloca %"class.boost::intrusive::list_iterator", align 8
  %43 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %44 = alloca %"class.boost::intrusive::list_iterator", align 8
  %45 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %46 = alloca %"class.boost::intrusive::list_iterator", align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store i64 0, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %47

47:                                               ; preds = %206, %9
  %48 = load i64, ptr %20, align 8, !tbaa !9
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %49)
  %51 = icmp ult i64 %48, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %47
  store i32 2, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %209

53:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = load i64, ptr %20, align 8, !tbaa !9
  %56 = trunc i64 %55 to i16
  %57 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %54, i16 noundef zeroext %56)
  store i32 %57, ptr %22, align 4, !tbaa !11
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = call noundef zeroext i1 @_ZNK6sparta22PowersetAbstractDomainIjNS_8set_impl8SetValueINS_15PatriciaTreeSetIjEEEERKS4_NS_17SetAbstractDomainIS4_EEE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 4 dereferenceable(4) %22)
  br i1 %59, label %60, label %61

60:                                               ; preds = %53
  store i32 4, ptr %21, align 4
  br label %203

61:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.regalloc::SplitPlan", ptr %62, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 2, ptr %24) #6
  %64 = load i32, ptr %22, align 4, !tbaa !11
  %65 = trunc i32 %64 to i16
  store i16 %65, ptr %24, align 2, !tbaa !13
  %66 = call ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E4findERKt(ptr noundef nonnull align 8 dereferenceable(56) %63, ptr noundef nonnull align 2 dereferenceable(2) %24)
  %67 = getelementptr inbounds %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", ptr %23, i32 0, i32 0
  %68 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.187", ptr %68, i32 0, i32 0
  store ptr %66, ptr %69, align 8
  call void @llvm.lifetime.end.p0(i64 2, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.regalloc::SplitPlan", ptr %70, i32 0, i32 0
  %72 = call ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E3endEv(ptr noundef nonnull align 8 dereferenceable(56) %71)
  %73 = getelementptr inbounds %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", ptr %25, i32 0, i32 0
  %74 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.187", ptr %74, i32 0, i32 0
  store ptr %72, ptr %75, align 8
  %76 = call noundef zeroext i1 @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E18ConstFixedIteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %25)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br i1 %76, label %77, label %202

77:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %78 = call noundef ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E18ConstFixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %23)
  %79 = getelementptr inbounds %"struct.std::pair.204", ptr %78, i32 0, i32 1
  %80 = call ptr @_Z17UnorderedIterableI12UnorderedSetItSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56) %79)
  %81 = getelementptr inbounds %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", ptr %27, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  store ptr %27, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %82 = load ptr, ptr %26, align 8, !tbaa !5
  %83 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %82)
  %84 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.222", ptr %28, i32 0, i32 0
  %85 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.223", ptr %84, i32 0, i32 0
  store ptr %83, ptr %85, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %86 = load ptr, ptr %26, align 8, !tbaa !5
  %87 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  %88 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.222", ptr %29, i32 0, i32 0
  %89 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.223", ptr %88, i32 0, i32 0
  store ptr %87, ptr %89, align 8
  br label %90

90:                                               ; preds = %199, %77
  %91 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  br i1 %91, label %93, label %92

92:                                               ; preds = %90
  store i32 5, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %201

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 2, ptr %30) #6
  %94 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNKSt8__detail20_Node_const_iteratorItLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  %95 = load i16, ptr %94, align 2, !tbaa !13
  store i16 %95, ptr %30, align 2, !tbaa !13
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %97 = load i16, ptr %30, align 2, !tbaa !13
  %98 = zext i16 %97 to i32
  store i32 %98, ptr %31, align 4, !tbaa !11
  %99 = call noundef zeroext i1 @_ZNK6sparta22PowersetAbstractDomainIjNS_8set_impl8SetValueINS_15PatriciaTreeSetIjEEEERKS4_NS_17SetAbstractDomainIS4_EEE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %96, ptr noundef nonnull align 4 dereferenceable(4) %31)
  %100 = xor i1 %99, true
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br i1 %100, label %101, label %102

101:                                              ; preds = %93
  store i32 6, ptr %21, align 4
  br label %196

102:                                              ; preds = %93
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %103)
  %105 = call noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext %104)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  br i1 %105, label %106, label %110

106:                                              ; preds = %102
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN3cfg5Block6rbeginEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::reverse_iterator") align 8 %32, ptr noundef nonnull align 8 dereferenceable(104) %108)
  %109 = call noundef zeroext i1 @_ZN5boost9intrusiveeqERKNS0_16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull align 8 dereferenceable(8) %32)
  br label %110

110:                                              ; preds = %106, %102
  %111 = phi i1 [ false, %102 ], [ %109, %106 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br i1 %111, label %112, label %154

112:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %113 = load ptr, ptr %14, align 8, !tbaa !5
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3cfg5Block5succsEv(ptr noundef nonnull align 8 dereferenceable(104) %113)
  store ptr %114, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %115 = load ptr, ptr %33, align 8, !tbaa !5
  %116 = call ptr @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #6
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %34, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %118 = load ptr, ptr %33, align 8, !tbaa !5
  %119 = call ptr @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %118) #6
  %120 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %35, i32 0, i32 0
  store ptr %119, ptr %120, align 8
  br label %121

121:                                              ; preds = %151, %112
  %122 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #6
  br i1 %122, label %124, label %123

123:                                              ; preds = %121
  store i32 7, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %153

124:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #6
  store ptr %125, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %126 = load ptr, ptr %11, align 8, !tbaa !5
  %127 = load i16, ptr %30, align 2, !tbaa !13
  %128 = load ptr, ptr %16, align 8, !tbaa !5
  %129 = load ptr, ptr %15, align 8, !tbaa !5
  %130 = call noundef ptr @_ZN8regalloc18gen_load_for_splitERKNS_12interference5GraphEtP12UnorderedMapIttSt4hashItESt8equal_toItEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(168) %126, i16 noundef zeroext %127, ptr noundef %128, ptr noundef nonnull align 8 dereferenceable(160) %129)
  store ptr %130, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %131 = load ptr, ptr %36, align 8, !tbaa !5
  %132 = load ptr, ptr %131, align 8, !tbaa !5
  %133 = call noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %132)
  store ptr %133, ptr %39, align 8, !tbaa !5
  call void @_ZNSt4pairIPN3cfg5BlockES2_EC2IRS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %39)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  %134 = load ptr, ptr %36, align 8, !tbaa !5
  %135 = load ptr, ptr %134, align 8, !tbaa !5
  %136 = call noundef zeroext i8 @_ZNK3cfg4Edge4typeEv(ptr noundef nonnull align 8 dereferenceable(32) %135)
  %137 = zext i8 %136 to i32
  %138 = icmp eq i32 %137, 1
  br i1 %138, label %145, label %139

139:                                              ; preds = %124
  %140 = load ptr, ptr %36, align 8, !tbaa !5
  %141 = load ptr, ptr %140, align 8, !tbaa !5
  %142 = call noundef zeroext i8 @_ZNK3cfg4Edge4typeEv(ptr noundef nonnull align 8 dereferenceable(32) %141)
  %143 = zext i8 %142 to i32
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %145, label %150

145:                                              ; preds = %139, %124
  %146 = load ptr, ptr %18, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.regalloc::BlockLoadInfo", ptr %146, i32 0, i32 2
  %148 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt3mapISt4pairIPN3cfg5BlockES3_EN8regalloc13BlockModeInsnENS5_13BlockLoadInfo21block_edge_comparatorESaIS0_IKS4_S6_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %147, ptr noundef nonnull align 8 dereferenceable(16) %38)
  %149 = load ptr, ptr %37, align 8, !tbaa !5
  call void @_ZN8regalloc13BlockModeInsn13add_insn_modeEP13IRInstructionNS_9BlockModeE(ptr noundef nonnull align 8 dereferenceable(60) %148, ptr noundef %149, i32 noundef 0)
  br label %150

150:                                              ; preds = %145, %139
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %151

151:                                              ; preds = %150
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #6
  br label %121

153:                                              ; preds = %123
  store i32 6, ptr %21, align 4
  br label %196

154:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %155 = load ptr, ptr %11, align 8, !tbaa !5
  %156 = load i16, ptr %30, align 2, !tbaa !13
  %157 = load ptr, ptr %16, align 8, !tbaa !5
  %158 = load ptr, ptr %15, align 8, !tbaa !5
  %159 = call noundef ptr @_ZN8regalloc18gen_load_for_splitERKNS_12interference5GraphEtP12UnorderedMapIttSt4hashItESt8equal_toItEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(168) %155, i16 noundef zeroext %156, ptr noundef %157, ptr noundef nonnull align 8 dereferenceable(160) %158)
  store ptr %159, ptr %40, align 8, !tbaa !5
  %160 = load ptr, ptr %12, align 8, !tbaa !5
  %161 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %160)
  %162 = call noundef zeroext i1 @_ZN6opcode22writes_result_registerE8IROpcode(i16 noundef zeroext %161)
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  br i1 %162, label %163, label %176

163:                                              ; preds = %154
  %164 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEE4baseEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %41, ptr noundef nonnull align 8 dereferenceable(8) %164)
  %165 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
  %166 = getelementptr inbounds %struct.MethodItemEntry, ptr %165, i32 0, i32 1
  %167 = load i32, ptr %166, align 8, !tbaa !15
  %168 = icmp eq i32 %167, 2
  br i1 %168, label %169, label %176

169:                                              ; preds = %163
  %170 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEE4baseEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %42, ptr noundef nonnull align 8 dereferenceable(8) %170)
  %171 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42)
  %172 = getelementptr inbounds %struct.MethodItemEntry, ptr %171, i32 0, i32 2
  %173 = load ptr, ptr %172, align 8, !tbaa !21
  %174 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %173)
  %175 = call noundef zeroext i1 @_ZN6opcode16is_a_move_resultE8IROpcode(i16 noundef zeroext %174)
  br label %176

176:                                              ; preds = %169, %163, %154
  %177 = phi i1 [ false, %163 ], [ false, %154 ], [ %175, %169 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  br i1 %177, label %178, label %184

178:                                              ; preds = %176
  %179 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #6
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  %181 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEE4baseEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %44, ptr noundef nonnull align 8 dereferenceable(8) %181)
  call void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %43, ptr noundef nonnull align 8 dereferenceable(104) %180, ptr noundef nonnull align 8 dereferenceable(8) %44, i1 noundef zeroext false)
  %182 = load ptr, ptr %40, align 8, !tbaa !5
  %183 = call noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12insert_afterERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %179, ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef %182)
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #6
  br label %193

184:                                              ; preds = %176
  %185 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #6
  %186 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %187 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEE4baseEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %46, ptr noundef nonnull align 8 dereferenceable(8) %187)
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEmmEv(ptr noundef nonnull align 8 dereferenceable(8) %46)
  call void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %45, ptr noundef nonnull align 8 dereferenceable(104) %186, ptr noundef nonnull align 8 dereferenceable(8) %188, i1 noundef zeroext false)
  %189 = load ptr, ptr %40, align 8, !tbaa !5
  %190 = call noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12insert_afterERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %185, ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef %189)
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #6
  %191 = load ptr, ptr %17, align 8, !tbaa !5
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %191)
  br label %193

193:                                              ; preds = %184, %178
  %194 = load i64, ptr %19, align 8, !tbaa !9
  %195 = add i64 %194, 1
  store i64 %195, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  store i32 0, ptr %21, align 4
  br label %196

196:                                              ; preds = %193, %153, %101
  call void @llvm.lifetime.end.p0(i64 2, ptr %30) #6
  %197 = load i32, ptr %21, align 4
  switch i32 %197, label %211 [
    i32 0, label %198
    i32 6, label %199
  ]

198:                                              ; preds = %196
  br label %199

199:                                              ; preds = %198, %196
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorItLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  br label %90

201:                                              ; preds = %92
  br label %202

202:                                              ; preds = %201, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  store i32 0, ptr %21, align 4
  br label %203

203:                                              ; preds = %202, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  %204 = load i32, ptr %21, align 4
  switch i32 %204, label %211 [
    i32 0, label %205
    i32 4, label %206
  ]

205:                                              ; preds = %203
  br label %206

206:                                              ; preds = %205, %203
  %207 = load i64, ptr %20, align 8, !tbaa !9
  %208 = add i64 %207, 1
  store i64 %208, ptr %20, align 8, !tbaa !9
  br label %47, !llvm.loop !22

209:                                              ; preds = %52
  %210 = load i64, ptr %19, align 8, !tbaa !9
  store i32 1, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  ret i64 %210

211:                                              ; preds = %203, %196
  unreachable
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode22writes_result_registerE8IROpcode(i16 noundef zeroext) #4

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

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

!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 = !{!"short", !7, i64 0}
!15 = !{!16, !20, i64 16}
!16 = !{!"_ZTS15MethodItemEntry", !17, i64 0, !20, i64 16, !7, i64 24}
!17 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !18, i64 0}
!18 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !19, i64 0}
!19 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !6, i64 0, !6, i64 8}
!20 = !{!"_ZTS14MethodItemType", !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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

%"class.boost::intrusive::reverse_iterator" = type { %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = 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.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.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 }
%"class.__gnu_cxx::__normal_iterator.61" = type { ptr }
%"struct.std::pair.270" = type { ptr, ptr }

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3cfg5Block5succsEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(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(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; 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 #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg5Block6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3 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 #1 align 2

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

; 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEmmEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN8regalloc18gen_load_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 #3

; 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 #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 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 #3

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

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

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

; 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 #1 align 2

declare void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt3mapISt4pairIPN3cfg5BlockES3_EN8regalloc13BlockModeInsnENS5_13BlockLoadInfo21block_edge_comparatorESaIS0_IKS4_S6_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8regalloc13BlockModeInsn13add_insn_modeEP13IRInstructionNS_9BlockModeE(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef, i32 noundef) local_unnamed_addr #3 align 2

; 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 #1 align 2

; 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 #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8regalloc18split_for_last_useERKNS_9SplitPlanERKNS_12interference5GraphEPK13IRInstructionRKN6sparta17SetAbstractDomainINSA_15PatriciaTreeSetIjEEEEPN3cfg5BlockERNSH_16ControlFlowGraphEP12UnorderedMapIttSt4hashItESt8equal_toItEERN5boost9intrusive16reverse_iteratorINSU_13list_iteratorINSU_8mhtraitsI15MethodItemEntryNSU_16list_member_hookIJEEEXadL_ZNSY_10list_hook_EEEEELb0EEEEEPNS_13BlockLoadInfoE(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 %4, ptr noundef nonnull align 8 dereferenceable(160) %5, ptr noundef %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef %8) local_unnamed_addr #3 {
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", align 8
  %13 = alloca i16, align 2
  %14 = alloca %"class.UnorderedMap<unsigned short, UnorderedSet<unsigned short>>::ConstFixedIterator", align 8
  %15 = alloca %"class.UnorderedSet<unsigned short>::ConstUnorderedIterable", align 8
  %16 = alloca %"struct.std::__detail::_Node_const_iterator.222", align 8
  %17 = alloca %"struct.std::__detail::_Node_const_iterator.222", align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.boost::intrusive::reverse_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %22 = alloca %"struct.std::pair.270", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.boost::intrusive::list_iterator", align 8
  %25 = alloca %"class.boost::intrusive::list_iterator", align 8
  %26 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %27 = alloca %"class.boost::intrusive::list_iterator", align 8
  %28 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %29 = alloca %"class.boost::intrusive::list_iterator", align 8
  store ptr %4, ptr %10, align 8, !tbaa !5
  %30 = tail call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %.not = icmp eq i64 %30, 0
  br i1 %.not, label %._crit_edge51, label %.lr.ph50

.lr.ph50:                                         ; preds = %9
  %31 = getelementptr inbounds i8, ptr %8, i64 112
  br label %32

._crit_edge51:                                    ; preds = %110, %9
  %.0.lcssa = phi i64 [ 0, %9 ], [ %.4, %110 ]
  ret i64 %.0.lcssa

32:                                               ; preds = %.lr.ph50, %110
  %.048 = phi i64 [ 0, %.lr.ph50 ], [ %.4, %110 ]
  %.04247 = phi i64 [ 0, %.lr.ph50 ], [ %111, %110 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  %33 = trunc i64 %.04247 to i16
  %34 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %2, i16 noundef zeroext %33)
  store i32 %34, ptr %11, align 4, !tbaa !9
  %35 = 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) %11)
  br i1 %35, label %110, label %36

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #6
  %37 = load i32, ptr %11, align 4, !tbaa !9
  %38 = trunc i32 %37 to i16
  store i16 %38, ptr %13, align 2, !tbaa !11
  %39 = call ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E4findERKt(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 2 dereferenceable(2) %13)
  store ptr %39, ptr %12, align 8
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %40 = call ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E3endEv(ptr noundef nonnull align 8 dereferenceable(56) %0)
  store ptr %40, ptr %14, align 8
  %41 = call noundef zeroext i1 @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E18ConstFixedIteratorneERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br i1 %41, label %42, label %109

42:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %43 = call noundef ptr @_ZNK12UnorderedMapIt12UnorderedSetItSt4hashItESt8equal_toItEES2_S4_E18ConstFixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %44 = getelementptr inbounds i8, ptr %43, i64 8
  %45 = call ptr @_Z17UnorderedIterableI12UnorderedSetItSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56) %44)
  store ptr %45, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %46 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  store ptr %46, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %47 = call ptr @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  store ptr %47, ptr %17, align 8
  %48 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %48, label %.lr.ph45, label %._crit_edge46

._crit_edge46:                                    ; preds = %106, %42
  %.1.lcssa = phi i64 [ %.048, %42 ], [ %.2, %106 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %109

.lr.ph45:                                         ; preds = %42, %106
  %.143 = phi i64 [ %.2, %106 ], [ %.048, %42 ]
  %49 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNKSt8__detail20_Node_const_iteratorItLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %50 = load i16, ptr %49, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  %51 = zext i16 %50 to i32
  store i32 %51, ptr %18, align 4, !tbaa !9
  %52 = 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) %18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  br i1 %52, label %53, label %106

53:                                               ; preds = %.lr.ph45
  %54 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %55 = call noundef zeroext i1 @_ZN6opcode9is_branchE8IROpcode(i16 noundef zeroext %54)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  br i1 %55, label %56, label %.critedge

56:                                               ; preds = %53
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN3cfg5Block6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::reverse_iterator") align 8 %19, ptr noundef nonnull align 8 dereferenceable(104) %57)
  %58 = call noundef zeroext i1 @_ZN5boost9intrusiveeqERKNS0_16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  br i1 %58, label %59, label %81

59:                                               ; preds = %56
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3cfg5Block5succsEv(ptr noundef nonnull align 8 dereferenceable(104) %60)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %62 = call ptr @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #6
  store ptr %62, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %63 = call ptr @_ZNKSt6vectorIPN3cfg4EdgeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #6
  store ptr %63, ptr %21, align 8
  %64 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br i1 %64, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %78, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %106

.lr.ph:                                           ; preds = %59, %78
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  %66 = call noundef ptr @_ZN8regalloc18gen_load_for_splitERKNS_12interference5GraphEtP12UnorderedMapIttSt4hashItESt8equal_toItEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(168) %1, i16 noundef zeroext %50, ptr noundef %6, ptr noundef nonnull align 8 dereferenceable(160) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %67 = load ptr, ptr %65, align 8, !tbaa !5
  %68 = call noundef ptr @_ZNK3cfg4Edge6targetEv(ptr noundef nonnull align 8 dereferenceable(32) %67)
  store ptr %68, ptr %23, align 8, !tbaa !5
  call void @_ZNSt4pairIPN3cfg5BlockES2_EC2IRS2_S2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  %69 = load ptr, ptr %65, align 8, !tbaa !5
  %70 = call noundef zeroext i8 @_ZNK3cfg4Edge4typeEv(ptr noundef nonnull align 8 dereferenceable(32) %69)
  %71 = icmp eq i8 %70, 1
  br i1 %71, label %76, label %72

72:                                               ; preds = %.lr.ph
  %73 = load ptr, ptr %65, align 8, !tbaa !5
  %74 = call noundef zeroext i8 @_ZNK3cfg4Edge4typeEv(ptr noundef nonnull align 8 dereferenceable(32) %73)
  %75 = icmp eq i8 %74, 0
  br i1 %75, label %76, label %78

76:                                               ; preds = %72, %.lr.ph
  %77 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNSt3mapISt4pairIPN3cfg5BlockES3_EN8regalloc13BlockModeInsnENS5_13BlockLoadInfo21block_edge_comparatorESaIS0_IKS4_S6_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 8 dereferenceable(16) %22)
  call void @_ZN8regalloc13BlockModeInsn13add_insn_modeEP13IRInstructionNS_9BlockModeE(ptr noundef nonnull align 8 dereferenceable(60) %77, ptr noundef %66, i32 noundef 0)
  br label %78

78:                                               ; preds = %76, %72
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN3cfg4EdgeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br i1 %80, label %.lr.ph, label %._crit_edge

.critedge:                                        ; preds = %53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  br label %81

81:                                               ; preds = %.critedge, %56
  %82 = call noundef ptr @_ZN8regalloc18gen_load_for_splitERKNS_12interference5GraphEtP12UnorderedMapIttSt4hashItESt8equal_toItEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(168) %1, i16 noundef zeroext %50, ptr noundef %6, ptr noundef nonnull align 8 dereferenceable(160) %5)
  %83 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %84 = call noundef zeroext i1 @_ZN6opcode22writes_result_registerE8IROpcode(i16 noundef zeroext %83)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  br i1 %84, label %85, label %.critedge2

85:                                               ; preds = %81
  call void @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEE4baseEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %24, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %86 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24)
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  %88 = load i32, ptr %87, align 8, !tbaa !13
  %89 = icmp eq i32 %88, 2
  br i1 %89, label %90, label %.critedge2

90:                                               ; preds = %85
  call void @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEE4baseEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %91 = call noundef ptr @_ZNK5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25)
  %92 = getelementptr inbounds i8, ptr %91, i64 24
  %93 = load ptr, ptr %92, align 8, !tbaa !19
  %94 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %93)
  %95 = call noundef zeroext i1 @_ZN6opcode16is_a_move_resultE8IROpcode(i16 noundef zeroext %94)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br i1 %95, label %96, label %99

96:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #6
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  call void @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEE4baseEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %27, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %26, ptr noundef nonnull align 8 dereferenceable(104) %97, ptr noundef nonnull align 8 dereferenceable(8) %27, i1 noundef zeroext false)
  %98 = call noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12insert_afterERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %5, ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %82)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #6
  br label %104

.critedge2:                                       ; preds = %81, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br label %99

99:                                               ; preds = %.critedge2, %90
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #6
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #6
  call void @_ZNK5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEE4baseEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %29, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEmmEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
  call void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %28, ptr noundef nonnull align 8 dereferenceable(104) %100, ptr noundef nonnull align 8 dereferenceable(8) %101, i1 noundef zeroext false)
  %102 = call noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12insert_afterERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %5, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %82)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #6
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive16reverse_iteratorINS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS4_10list_hook_EEEEELb0EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  br label %104

104:                                              ; preds = %99, %96
  %105 = add i64 %.143, 1
  br label %106

106:                                              ; preds = %.lr.ph45, %104, %._crit_edge
  %.2 = phi i64 [ %.143, %._crit_edge ], [ %105, %104 ], [ %.143, %.lr.ph45 ]
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorItLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %108 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseItLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %108, label %.lr.ph45, label %._crit_edge46

109:                                              ; preds = %._crit_edge46, %36
  %.3 = phi i64 [ %.1.lcssa, %._crit_edge46 ], [ %.048, %36 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %110

110:                                              ; preds = %32, %109
  %.4 = phi i64 [ %.3, %109 ], [ %.048, %32 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  %111 = add nuw i64 %.04247, 1
  %112 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %113 = icmp ult i64 %111, %112
  br i1 %113, label %32, label %._crit_edge51, !llvm.loop !20
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode22writes_result_registerE8IROpcode(i16 noundef zeroext) local_unnamed_addr #4

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

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !18, i64 16}
!14 = !{!"_ZTS15MethodItemEntry", !15, i64 0, !18, i64 16, !7, i64 24}
!15 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !16, i64 0}
!16 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !17, i64 0}
!17 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !6, i64 0, !6, i64 8}
!18 = !{!"_ZTS14MethodItemType", !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


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