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

; 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.sparta::FiniteAbstractDomain" = type { %"class.boost::multiprecision::number" }
%"class.boost::multiprecision::number" = type { %"struct.boost::multiprecision::backends::cpp_int_backend" }
%"struct.boost::multiprecision::backends::cpp_int_backend" = type { %"struct.boost::multiprecision::backends::cpp_int_base" }
%"struct.boost::multiprecision::backends::cpp_int_base" = type { i8 }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.44 }
%"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.44 = type { ptr }
%"class.regalloc::interference::Graph" = type { %class.UnorderedMap, %class.UnorderedMap.8, %class.UnorderedSet }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.UnorderedMap.8 = type { %"class.std::unordered_map.10" }
%"class.std::unordered_map.10" = type { %"class.std::_Hashtable.11" }
%"class.std::_Hashtable.11" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.31" }
%"class.std::_Hashtable.31" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.regalloc::interference::Node" = type { i32, i32, i16, i8, %"class.std::bitset", %"class.sparta::FiniteAbstractDomain", %"class.std::vector" }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext) #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i16 @_ZN8regalloc12interference17max_value_for_srcEPK13IRInstructionmb(ptr noundef, i64 noundef, i1 noundef zeroext) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8regalloc12interference4impl12GraphBuilder23update_node_constraintsERKN3cfg23InstructionIteratorImplILb0EEERKNS_8RangeSetEPNS0_5GraphE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i16, align 2
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %"class.sparta::FiniteAbstractDomain", align 1
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i16, align 2
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.sparta::FiniteAbstractDomain", align 1
  %21 = alloca i16, align 2
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
  %24 = getelementptr inbounds %struct.MethodItemEntry, ptr %23, i32 0, i32 2
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  store ptr %25, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #5
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %26)
  store i16 %27, ptr %8, align 2, !tbaa !10
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call noundef zeroext i1 @_ZNK13IRInstruction8has_destEv(ptr noundef nonnull align 8 dereferenceable(32) %28)
  br i1 %29, label %30, label %80

30:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = call noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %31)
  store i32 %32, ptr %9, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.regalloc::interference::Graph", ptr %33, i32 0, i32 0
  %35 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEEixERKj(ptr noundef nonnull align 8 dereferenceable(56) %34, ptr noundef nonnull align 4 dereferenceable(4) %9)
  store ptr %35, ptr %10, align 8, !tbaa !5
  %36 = load i16, ptr %8, align 2, !tbaa !10
  %37 = call noundef zeroext i1 @_ZN6opcode15is_a_load_paramE8IROpcode(i16 noundef zeroext %36)
  br i1 %37, label %38, label %42

38:                                               ; preds = %30
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %39, i32 0, i32 4
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6bitsetILm4EE3setEmb(ptr noundef nonnull align 8 dereferenceable(8) %40, i64 noundef 0, i1 noundef zeroext true)
  br label %42

42:                                               ; preds = %38, %30
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %43, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = call noundef i32 @_ZN8regalloc13dest_reg_typeEPK13IRInstruction(ptr noundef %45)
  store i32 %46, ptr %12, align 4, !tbaa !14
  call void @_ZN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEEC2ERKS2_(ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  invoke void @_ZN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEE9meet_withERKSG_(ptr noundef nonnull align 1 dereferenceable(1) %44, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %47 unwind label %75

47:                                               ; preds = %42
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS3_Lm6EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj6ELj6ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_ZNS2_18register_type_impl7latticeEEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %15) #5
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = call noundef i64 @_ZN8regalloc12interference14dest_bit_widthERKN3cfg23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(32) %48)
  %50 = trunc i64 %49 to i8
  %51 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext %50)
  store i16 %51, ptr %15, align 2, !tbaa !16
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %52, i32 0, i32 2
  %54 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZSt3minItERKT_S2_S2_(ptr noundef nonnull align 2 dereferenceable(2) %53, ptr noundef nonnull align 2 dereferenceable(2) %15)
  %55 = load i16, ptr %54, align 2, !tbaa !16
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %56, i32 0, i32 2
  store i16 %55, ptr %57, align 8, !tbaa !18
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = call noundef zeroext i1 @_ZNK13IRInstruction12dest_is_wideEv(ptr noundef nonnull align 8 dereferenceable(32) %58)
  %60 = zext i1 %59 to i64
  %61 = select i1 %59, i32 2, i32 1
  %62 = trunc i32 %61 to i8
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %63, i32 0, i32 3
  store i8 %62, ptr %64, align 2, !tbaa !31
  %65 = load i16, ptr %15, align 2, !tbaa !16
  %66 = zext i16 %65 to i32
  %67 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext 16)
  %68 = zext i16 %67 to i32
  %69 = icmp slt i32 %66, %68
  br i1 %69, label %70, label %79

70:                                               ; preds = %47
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %71, i32 0, i32 1
  %73 = load i32, ptr %72, align 4, !tbaa !32
  %74 = add i32 %73, 1
  store i32 %74, ptr %72, align 4, !tbaa !32
  br label %79

75:                                               ; preds = %42
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %13, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %14, align 4
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS3_Lm6EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj6ELj6ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_ZNS2_18register_type_impl7latticeEEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %142

79:                                               ; preds = %70, %47
  call void @llvm.lifetime.end.p0(i64 2, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %80

80:                                               ; preds = %79, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !33
  br label %81

81:                                               ; preds = %138, %80
  %82 = load i64, ptr %16, align 8, !tbaa !33
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %83)
  %85 = icmp ult i64 %82, %84
  br i1 %85, label %87, label %86

86:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %141

87:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load i64, ptr %16, align 8, !tbaa !33
  %90 = trunc i64 %89 to i16
  %91 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %88, i16 noundef zeroext %90)
  store i32 %91, ptr %17, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %"class.regalloc::interference::Graph", ptr %92, i32 0, i32 0
  %94 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEEixERKj(ptr noundef nonnull align 8 dereferenceable(56) %93, ptr noundef nonnull align 4 dereferenceable(4) %17)
  store ptr %94, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = load i64, ptr %16, align 8, !tbaa !33
  %97 = trunc i64 %96 to i16
  %98 = call noundef i32 @_ZN8regalloc12src_reg_typeEPK13IRInstructiont(ptr noundef %95, i16 noundef zeroext %97)
  store i32 %98, ptr %19, align 4, !tbaa !14
  %99 = load ptr, ptr %18, align 8, !tbaa !5
  %100 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %99, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  call void @_ZN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEEC2ERKS2_(ptr noundef nonnull align 1 dereferenceable(1) %20, ptr noundef nonnull align 4 dereferenceable(4) %19)
  invoke void @_ZN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEE9meet_withERKSG_(ptr noundef nonnull align 1 dereferenceable(1) %100, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %101 unwind label %110

101:                                              ; preds = %87
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS3_Lm6EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj6ELj6ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_ZNS2_18register_type_impl7latticeEEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %21) #5
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = call noundef zeroext i1 @_ZNK8regalloc8RangeSet8containsEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(80) %102, ptr noundef %103)
  br i1 %104, label %105, label %114

105:                                              ; preds = %101
  %106 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext 16)
  store i16 %106, ptr %21, align 2, !tbaa !16
  %107 = load ptr, ptr %18, align 8, !tbaa !5
  %108 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %107, i32 0, i32 4
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6bitsetILm4EE3setEmb(ptr noundef nonnull align 8 dereferenceable(8) %108, i64 noundef 1, i1 noundef zeroext true)
  br label %120

110:                                              ; preds = %87
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %13, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %14, align 4
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS3_Lm6EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj6ELj6ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_ZNS2_18register_type_impl7latticeEEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %142

114:                                              ; preds = %101
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = load i64, ptr %16, align 8, !tbaa !33
  %117 = load i32, ptr %19, align 4, !tbaa !14
  %118 = icmp eq i32 %117, 3
  %119 = call noundef zeroext i16 @_ZN8regalloc12interference17max_value_for_srcEPK13IRInstructionmb(ptr noundef %115, i64 noundef %116, i1 noundef zeroext %118)
  store i16 %119, ptr %21, align 2, !tbaa !16
  br label %120

120:                                              ; preds = %114, %105
  %121 = load ptr, ptr %18, align 8, !tbaa !5
  %122 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %121, i32 0, i32 2
  %123 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZSt3minItERKT_S2_S2_(ptr noundef nonnull align 2 dereferenceable(2) %122, ptr noundef nonnull align 2 dereferenceable(2) %21)
  %124 = load i16, ptr %123, align 2, !tbaa !16
  %125 = load ptr, ptr %18, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %125, i32 0, i32 2
  store i16 %124, ptr %126, align 8, !tbaa !18
  %127 = load i16, ptr %21, align 2, !tbaa !16
  %128 = zext i16 %127 to i32
  %129 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext 16)
  %130 = zext i16 %129 to i32
  %131 = icmp slt i32 %128, %130
  br i1 %131, label %132, label %137

132:                                              ; preds = %120
  %133 = load ptr, ptr %18, align 8, !tbaa !5
  %134 = getelementptr inbounds %"class.regalloc::interference::Node", ptr %133, i32 0, i32 1
  %135 = load i32, ptr %134, align 4, !tbaa !32
  %136 = add i32 %135, 1
  store i32 %136, ptr %134, align 4, !tbaa !32
  br label %137

137:                                              ; preds = %132, %120
  call void @llvm.lifetime.end.p0(i64 2, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %138

138:                                              ; preds = %137
  %139 = load i64, ptr %16, align 8, !tbaa !33
  %140 = add i64 %139, 1
  store i64 %140, ptr %16, align 8, !tbaa !33
  br label %81, !llvm.loop !34

141:                                              ; preds = %86
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret void

142:                                              ; preds = %110, %75
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %143

143:                                              ; preds = %142
  %144 = load ptr, ptr %13, align 8
  %145 = load i32, ptr %14, align 4
  %146 = insertvalue { ptr, i32 } poison, ptr %144, 0
  %147 = insertvalue { ptr, i32 } %146, i32 %145, 1
  resume { ptr, i32 } %147
}

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

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

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

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

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

declare noundef i32 @_ZN8regalloc13dest_reg_typeEPK13IRInstruction(ptr noundef) #4

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

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

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

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

declare noundef i32 @_ZN8regalloc12src_reg_typeEPK13IRInstructiont(ptr noundef, i16 noundef zeroext) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTS8IROpcode", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"_ZTSN8regalloc12RegisterTypeE", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!19, !17, i64 8}
!19 = !{!"_ZTSN8regalloc12interference4NodeE", !13, i64 0, !13, i64 4, !17, i64 8, !7, i64 10, !20, i64 16, !23, i64 24, !27, i64 32}
!20 = !{!"_ZTSSt6bitsetILm4EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Base_bitsetILm1EE", !22, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEEE", !24, i64 0}
!24 = !{!"_ZTSN5boost14multiprecision6numberINS0_8backends15cpp_int_backendILj6ELj6ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvEELNS0_26expression_template_optionE0EEE", !25, i64 0}
!25 = !{!"_ZTSN5boost14multiprecision8backends15cpp_int_backendILj6ELj6ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvEE", !26, i64 0}
!26 = !{!"_ZTSN5boost14multiprecision8backends12cpp_int_baseILj6ELj6ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvLb1EEE", !7, i64 0}
!27 = !{!"_ZTSSt6vectorIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!19, !7, i64 10}
!32 = !{!19, !13, i64 4}
!33 = !{!22, !22, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"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.sparta::FiniteAbstractDomain" = type { %"class.boost::multiprecision::number" }
%"class.boost::multiprecision::number" = type { %"struct.boost::multiprecision::backends::cpp_int_backend" }
%"struct.boost::multiprecision::backends::cpp_int_backend" = type { %"struct.boost::multiprecision::backends::cpp_int_base" }
%"struct.boost::multiprecision::backends::cpp_int_base" = type { i8 }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i16 @_ZN8regalloc12interference17max_value_for_srcEPK13IRInstructionmb(ptr noundef, i64 noundef, i1 noundef zeroext) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8regalloc12interference4impl12GraphBuilder23update_node_constraintsERKN3cfg23InstructionIteratorImplILb0EEERKNS_8RangeSetEPNS0_5GraphE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %"class.sparta::FiniteAbstractDomain", align 1
  %6 = alloca i32, align 4
  %7 = alloca i16, align 2
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.sparta::FiniteAbstractDomain", align 1
  %11 = alloca i16, align 2
  %12 = tail call noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %13 = getelementptr inbounds i8, ptr %12, i64 24
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  %16 = tail call noundef zeroext i1 @_ZNK13IRInstruction8has_destEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  br i1 %16, label %17, label %47

17:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %18 = tail call noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  store i32 %18, ptr %4, align 4, !tbaa !8
  %19 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEEixERKj(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %20 = call noundef zeroext i1 @_ZN6opcode15is_a_load_paramE8IROpcode(i16 noundef zeroext %15)
  br i1 %20, label %21, label %24

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %19, i64 16
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6bitsetILm4EE3setEmb(ptr noundef nonnull align 8 dereferenceable(8) %22, i64 noundef 0, i1 noundef zeroext true)
  br label %24

24:                                               ; preds = %21, %17
  %25 = getelementptr inbounds i8, ptr %19, i64 24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %26 = call noundef i32 @_ZN8regalloc13dest_reg_typeEPK13IRInstruction(ptr noundef nonnull %14)
  store i32 %26, ptr %6, align 4, !tbaa !10
  call void @_ZN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEEC2ERKS2_(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  invoke void @_ZN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEE9meet_withERKSG_(ptr noundef nonnull align 1 dereferenceable(1) %25, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %27 unwind label %44

27:                                               ; preds = %24
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS3_Lm6EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj6ELj6ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_ZNS2_18register_type_impl7latticeEEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #5
  %28 = call noundef i64 @_ZN8regalloc12interference14dest_bit_widthERKN3cfg23InstructionIteratorImplILb0EEE(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %29 = trunc i64 %28 to i8
  %30 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext %29)
  store i16 %30, ptr %7, align 2, !tbaa !12
  %31 = getelementptr inbounds i8, ptr %19, i64 8
  %32 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZSt3minItERKT_S2_S2_(ptr noundef nonnull align 2 dereferenceable(2) %31, ptr noundef nonnull align 2 dereferenceable(2) %7)
  %33 = load i16, ptr %32, align 2, !tbaa !12
  store i16 %33, ptr %31, align 8, !tbaa !14
  %34 = call noundef zeroext i1 @_ZNK13IRInstruction12dest_is_wideEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  %35 = select i1 %34, i8 2, i8 1
  %36 = getelementptr inbounds i8, ptr %19, i64 10
  store i8 %35, ptr %36, align 2, !tbaa !28
  %37 = load i16, ptr %7, align 2, !tbaa !12
  %38 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext 16)
  %39 = icmp ult i16 %37, %38
  br i1 %39, label %40, label %46

40:                                               ; preds = %27
  %41 = getelementptr inbounds i8, ptr %19, i64 4
  %42 = load i32, ptr %41, align 4, !tbaa !29
  %43 = add i32 %42, 1
  store i32 %43, ptr %41, align 4, !tbaa !29
  br label %46

44:                                               ; preds = %24
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS3_Lm6EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj6ELj6ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_ZNS2_18register_type_impl7latticeEEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %81

46:                                               ; preds = %40, %27
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %47

47:                                               ; preds = %46, %3
  %48 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  %.not = icmp eq i64 %48, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %77, %47
  ret void

.lr.ph:                                           ; preds = %47, %77
  %.03336 = phi i64 [ %78, %77 ], [ 0, %47 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %49 = trunc i64 %.03336 to i16
  %50 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %14, i16 noundef zeroext %49)
  store i32 %50, ptr %8, align 4, !tbaa !8
  %51 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEEixERKj(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %52 = call noundef i32 @_ZN8regalloc12src_reg_typeEPK13IRInstructiont(ptr noundef nonnull %14, i16 noundef zeroext %49)
  store i32 %52, ptr %9, align 4, !tbaa !10
  %53 = getelementptr inbounds i8, ptr %51, i64 24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  call void @_ZN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEEC2ERKS2_(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 4 dereferenceable(4) %9)
  invoke void @_ZN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEE9meet_withERKSG_(ptr noundef nonnull align 1 dereferenceable(1) %53, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %54 unwind label %60

54:                                               ; preds = %.lr.ph
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS3_Lm6EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj6ELj6ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_ZNS2_18register_type_impl7latticeEEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #5
  %55 = call noundef zeroext i1 @_ZNK8regalloc8RangeSet8containsEPK13IRInstruction(ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull %14)
  br i1 %55, label %56, label %62

56:                                               ; preds = %54
  %57 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext 16)
  store i16 %57, ptr %11, align 2, !tbaa !12
  %58 = getelementptr inbounds i8, ptr %51, i64 16
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6bitsetILm4EE3setEmb(ptr noundef nonnull align 8 dereferenceable(8) %58, i64 noundef 1, i1 noundef zeroext true)
  br label %66

60:                                               ; preds = %.lr.ph
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta14AbstractDomainINS_20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS3_Lm6EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj6ELj6ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_ZNS2_18register_type_impl7latticeEEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %81

62:                                               ; preds = %54
  %63 = load i32, ptr %9, align 4, !tbaa !10
  %64 = icmp eq i32 %63, 3
  %65 = call noundef zeroext i16 @_ZN8regalloc12interference17max_value_for_srcEPK13IRInstructionmb(ptr noundef nonnull %14, i64 noundef %.03336, i1 noundef zeroext %64)
  store i16 %65, ptr %11, align 2, !tbaa !12
  br label %66

66:                                               ; preds = %62, %56
  %67 = getelementptr inbounds i8, ptr %51, i64 8
  %68 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZSt3minItERKT_S2_S2_(ptr noundef nonnull align 2 dereferenceable(2) %67, ptr noundef nonnull align 2 dereferenceable(2) %11)
  %69 = load i16, ptr %68, align 2, !tbaa !12
  store i16 %69, ptr %67, align 8, !tbaa !14
  %70 = load i16, ptr %11, align 2, !tbaa !12
  %71 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext 16)
  %72 = icmp ult i16 %70, %71
  br i1 %72, label %73, label %77

73:                                               ; preds = %66
  %74 = getelementptr inbounds i8, ptr %51, i64 4
  %75 = load i32, ptr %74, align 4, !tbaa !29
  %76 = add i32 %75, 1
  store i32 %76, ptr %74, align 4, !tbaa !29
  br label %77

77:                                               ; preds = %73, %66
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  %78 = add nuw i64 %.03336, 1
  %79 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  %80 = icmp ult i64 %78, %79
  br i1 %80, label %.lr.ph, label %._crit_edge, !llvm.loop !30

81:                                               ; preds = %60, %44
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %45, %44 ]
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

declare noundef i32 @_ZN8regalloc13dest_reg_typeEPK13IRInstruction(ptr noundef) local_unnamed_addr #4

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

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

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

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

declare noundef i32 @_ZN8regalloc12src_reg_typeEPK13IRInstructiont(ptr noundef, i16 noundef zeroext) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTSN8regalloc12RegisterTypeE", !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !6, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"_ZTSN8regalloc12interference4NodeE", !9, i64 0, !9, i64 4, !13, i64 8, !6, i64 10, !16, i64 16, !19, i64 24, !23, i64 32}
!16 = !{!"_ZTSSt6bitsetILm4EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Base_bitsetILm1EE", !18, i64 0}
!18 = !{!"long", !6, i64 0}
!19 = !{!"_ZTSN6sparta20FiniteAbstractDomainIN8regalloc12RegisterTypeENS_16BitVectorLatticeIS2_Lm6EvvEEN5boost14multiprecision6numberINS6_8backends15cpp_int_backendILj6ELj6ELNS6_16cpp_integer_typeE0ELNS6_18cpp_int_check_typeE0EvEELNS6_26expression_template_optionE0EEEXadL_ZNS1_18register_type_impl7latticeEEEEE", !20, i64 0}
!20 = !{!"_ZTSN5boost14multiprecision6numberINS0_8backends15cpp_int_backendILj6ELj6ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvEELNS0_26expression_template_optionE0EEE", !21, i64 0}
!21 = !{!"_ZTSN5boost14multiprecision8backends15cpp_int_backendILj6ELj6ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvEE", !22, i64 0}
!22 = !{!"_ZTSN5boost14multiprecision8backends12cpp_int_baseILj6ELj6ELNS0_16cpp_integer_typeE0ELNS0_18cpp_int_check_typeE0EvLb1EEE", !6, i64 0}
!23 = !{!"_ZTSSt6vectorIjSaIjEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!27 = !{!"any pointer", !6, i64 0}
!28 = !{!15, !6, i64 10}
!29 = !{!15, !9, i64 4}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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