; LLVM IR from facebook/redex :: service/regalloc-fast/LinearScan.ll (ZN12fastregalloc19LinearScanAllocator8allocateEv)

; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.80 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.80 = type { i64, [8 x i8] }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [3 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<unsigned int>::_Storage", i8 }>
%"union.std::_Optional_payload_base<unsigned int>::_Storage" = type { i32 }
%"struct.fastregalloc::ActiveInterval" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.116" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.119" = type { ptr }
%"struct.live_range::Use" = type { ptr, i16 }
%"class.fastregalloc::LinearScanAllocator" = type <{ %"class.cfg::ScopedCFG", i8, [7 x i8], %"class.std::vector", %class.UnorderedMap, %class.UnorderedSet, %class.UnorderedMap.19, %"class.std::vector.39", %"class.std::optional", %"class.std::priority_queue", i32, [4 x i8] }>
%"class.cfg::ScopedCFG" = type <{ ptr, i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fastregalloc::VRegLiveInterval, std::allocator<fastregalloc::VRegLiveInterval>>::_Vector_impl" }
%"struct.std::_Vector_base<fastregalloc::VRegLiveInterval, std::allocator<fastregalloc::VRegLiveInterval>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastregalloc::VRegLiveInterval, std::allocator<fastregalloc::VRegLiveInterval>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastregalloc::VRegLiveInterval, std::allocator<fastregalloc::VRegLiveInterval>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.UnorderedMap.19 = type { %"class.std::unordered_map.21" }
%"class.std::unordered_map.21" = type { %"class.std::_Hashtable.22" }
%"class.std::_Hashtable.22" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<fastregalloc::LiveIntervalPoint, std::allocator<fastregalloc::LiveIntervalPoint>>::_Vector_impl" }
%"struct.std::_Vector_base<fastregalloc::LiveIntervalPoint, std::allocator<fastregalloc::LiveIntervalPoint>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastregalloc::LiveIntervalPoint, std::allocator<fastregalloc::LiveIntervalPoint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastregalloc::LiveIntervalPoint, std::allocator<fastregalloc::LiveIntervalPoint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector.44", [8 x i8] }>
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<fastregalloc::ActiveInterval, std::allocator<fastregalloc::ActiveInterval>>::_Vector_impl" }
%"struct.std::_Vector_base<fastregalloc::ActiveInterval, std::allocator<fastregalloc::ActiveInterval>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastregalloc::ActiveInterval, std::allocator<fastregalloc::ActiveInterval>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastregalloc::ActiveInterval, std::allocator<fastregalloc::ActiveInterval>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.fastregalloc::VRegLiveInterval" = type { i32, i32, i16, [2 x i8], %"class.std::optional" }

@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__._ZN12fastregalloc19LinearScanAllocator8allocateEv = external hidden unnamed_addr constant [51 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [44 x i8], align 1

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

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) #1

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

declare void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(160), i1 noundef zeroext) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12fastregalloc19LinearScanAllocator8allocateEv(ptr noundef nonnull align 8 dereferenceable(288) %0) #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i16, align 2
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::optional", align 4
  %8 = alloca %"struct.fastregalloc::ActiveInterval", align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca i32, align 4
  %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 %"class.__gnu_cxx::__normal_iterator.116", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.116", align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.119", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.119", align 8
  %24 = alloca %"struct.live_range::Use", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %28 = load ptr, ptr %2, align 8
  %29 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 3
  %30 = call noundef zeroext i1 @_ZNKSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  br i1 %30, label %31, label %32

31:                                               ; preds = %1
  br label %163

32:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  %33 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 3
  %34 = call noundef i64 @_ZNKSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  %35 = sub i64 %34, 1
  %36 = trunc i64 %35 to i32
  store i32 %36, ptr %3, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %74, %32
  %38 = load i32, ptr %3, align 4, !tbaa !9
  %39 = icmp sge i32 %38, 0
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %77

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %42 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 3
  %43 = load i32, ptr %3, align 4, !tbaa !9
  %44 = sext i32 %43 to i64
  %45 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %44) #8
  store ptr %45, ptr %4, align 8, !tbaa !5
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %46, i32 0, i32 1
  %48 = load i32, ptr %47, align 4, !tbaa !11
  call void @_ZN12fastregalloc19LinearScanAllocator20expire_old_intervalsEj(ptr noundef nonnull align 8 dereferenceable(288) %28, i32 noundef %48)
  call void @llvm.lifetime.start.p0(i64 2, ptr %5) #8
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %49, i32 0, i32 2
  %51 = load i16, ptr %50, align 4, !tbaa !19
  store i16 %51, ptr %5, align 2, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %52 = load i16, ptr %5, align 2, !tbaa !20
  %53 = zext i16 %52 to i32
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 4, !tbaa !11
  %57 = call noundef i32 @_ZN12fastregalloc19LinearScanAllocator17allocate_registerEjj(ptr noundef nonnull align 8 dereferenceable(288) %28, i32 noundef %53, i32 noundef %56)
  store i32 %57, ptr %6, align 4, !tbaa !9
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %58, i32 0, i32 4
  %60 = call noundef zeroext i1 @_ZNKSt8optionalIjEcvbEv(ptr noundef nonnull align 4 dereferenceable(8) %59) #8
  br i1 %60, label %62, label %61

61:                                               ; preds = %41
  br label %64

62:                                               ; preds = %41
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 74, ptr noundef @__PRETTY_FUNCTION__._ZN12fastregalloc19LinearScanAllocator8allocateEv, i32 noundef 2, ptr noundef @.str.7) #9
  unreachable

63:                                               ; No predecessors!
  br label %64

64:                                               ; preds = %63, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  call void @_ZNSt8optionalIjEC2IRjTnNSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS0_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES4_IS5_ISt10in_place_tSC_EESt16is_constructibleIjJS8_EESt14is_convertibleIS8_jEEEbE4typeELb1EEEOS8_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(4) %6) #8
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %65, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %7, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  %67 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %68 = getelementptr inbounds %"struct.fastregalloc::ActiveInterval", ptr %8, i32 0, i32 0
  %69 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %69, ptr %68, align 4, !tbaa !21
  %70 = getelementptr inbounds %"struct.fastregalloc::ActiveInterval", ptr %8, i32 0, i32 1
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 4, !tbaa !23
  store i32 %73, ptr %70, align 4, !tbaa !24
  call void @_ZNSt14priority_queueIN12fastregalloc14ActiveIntervalESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %67, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 2, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %74

74:                                               ; preds = %64
  %75 = load i32, ptr %3, align 4, !tbaa !9
  %76 = add nsw i32 %75, -1
  store i32 %76, ptr %3, align 4, !tbaa !9
  br label %37, !llvm.loop !25

77:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %78 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 3
  store ptr %78, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = call ptr @_ZNSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #8
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = call ptr @_ZNSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #8
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %83, ptr %84, align 8
  br label %85

85:                                               ; preds = %144, %77
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN12fastregalloc16VRegLiveIntervalESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  br i1 %86, label %88, label %87

87:                                               ; preds = %85
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %146

88:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %89 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN12fastregalloc16VRegLiveIntervalESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  store ptr %89, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %90 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 4
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %91, i32 0, i32 2
  %93 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEE2atERKt(ptr noundef nonnull align 8 dereferenceable(56) %90, ptr noundef nonnull align 2 dereferenceable(2) %92)
  store ptr %93, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %94 = load ptr, ptr %14, align 8, !tbaa !5
  %95 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm0ESt6vectorIP13IRInstructionSaIS2_EES0_IN10live_range3UseESaIS6_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSD_(ptr noundef nonnull align 8 dereferenceable(48) %94) #8
  store ptr %95, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %96 = load ptr, ptr %14, align 8, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm1ESt6vectorIP13IRInstructionSaIS2_EES0_IN10live_range3UseESaIS6_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSD_(ptr noundef nonnull align 8 dereferenceable(48) %96) #8
  store ptr %97, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %98 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %98, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %99 = load ptr, ptr %17, align 8, !tbaa !5
  %100 = call ptr @_ZNSt6vectorIP13IRInstructionSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %99) #8
  %101 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.116", ptr %18, i32 0, i32 0
  store ptr %100, ptr %101, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = call ptr @_ZNSt6vectorIP13IRInstructionSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #8
  %104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.116", ptr %19, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  br label %105

105:                                              ; preds = %117, %88
  %106 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP13IRInstructionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  br i1 %106, label %108, label %107

107:                                              ; preds = %105
  store i32 7, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %119

108:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP13IRInstructionSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  store ptr %110, ptr %20, align 8, !tbaa !5
  %111 = load ptr, ptr %20, align 8, !tbaa !5
  %112 = load ptr, ptr %13, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %112, i32 0, i32 4
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %113)
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = call noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %111, i32 noundef %115)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %117

117:                                              ; preds = %108
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP13IRInstructionSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br label %105

119:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %120, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %121 = load ptr, ptr %21, align 8, !tbaa !5
  %122 = call ptr @_ZNSt6vectorIN10live_range3UseESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %121) #8
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.119", ptr %22, i32 0, i32 0
  store ptr %122, ptr %123, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %124 = load ptr, ptr %21, align 8, !tbaa !5
  %125 = call ptr @_ZNSt6vectorIN10live_range3UseESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %124) #8
  %126 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.119", ptr %23, i32 0, i32 0
  store ptr %125, ptr %126, align 8
  br label %127

127:                                              ; preds = %141, %119
  %128 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN10live_range3UseESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  br i1 %128, label %130, label %129

129:                                              ; preds = %127
  store i32 9, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %143

130:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %131 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN10live_range3UseESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %131, i64 16, i1 false), !tbaa.struct !27
  %132 = getelementptr inbounds %"struct.live_range::Use", ptr %24, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8, !tbaa !28
  %134 = getelementptr inbounds %"struct.live_range::Use", ptr %24, i32 0, i32 1
  %135 = load i16, ptr %134, align 8, !tbaa !30
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.fastregalloc::VRegLiveInterval", ptr %136, i32 0, i32 4
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %137)
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %133, i16 noundef zeroext %135, i32 noundef %139)
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  br label %141

141:                                              ; preds = %130
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN10live_range3UseESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br label %127

143:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %144

144:                                              ; preds = %143
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN12fastregalloc16VRegLiveIntervalESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br label %85

146:                                              ; preds = %87
  %147 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 0
  %148 = call noundef ptr @_ZN3cfg9ScopedCFGptEv(ptr noundef nonnull align 8 dereferenceable(9) %147)
  %149 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 10
  %150 = load i32, ptr %149, align 8, !tbaa !31
  call void @_ZN3cfg16ControlFlowGraph18set_registers_sizeEj(ptr noundef nonnull align 8 dereferenceable(160) %148, i32 noundef %150)
  br label %151

151:                                              ; preds = %146
  %152 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 44, i32 noundef 9)
  br i1 %152, label %153, label %162

153:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #8
  %154 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %28, i32 0, i32 0
  %155 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3cfg9ScopedCFGdeEv(ptr noundef nonnull align 8 dereferenceable(9) %154)
  call void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef nonnull align 8 dereferenceable(160) %155, i1 noundef zeroext false)
  %156 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 44, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.8, ptr noundef %156)
          to label %157 unwind label %158

157:                                              ; preds = %153
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  br label %162

158:                                              ; preds = %153
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %26, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %27, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  br label %164

162:                                              ; preds = %157, %151
  br label %163

163:                                              ; preds = %162, %31
  ret void

164:                                              ; preds = %158
  %165 = load ptr, ptr %26, align 8
  %166 = load i32, ptr %27, align 4
  %167 = insertvalue { ptr, i32 } poison, ptr %165, 0
  %168 = insertvalue { ptr, i32 } %167, i32 %166, 1
  resume { ptr, i32 } %168
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fastregalloc19LinearScanAllocator20expire_old_intervalsEj(ptr noundef nonnull align 8 dereferenceable(288), i32 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN12fastregalloc19LinearScanAllocator17allocate_registerEjj(ptr noundef nonnull align 8 dereferenceable(288), i32 noundef, i32 noundef) #5 align 2

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueIN12fastregalloc14ActiveIntervalESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 4 dereferenceable(8)) #5 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cfg16ControlFlowGraph18set_registers_sizeEj(ptr noundef nonnull align 8 dereferenceable(160), i32 noundef) #2 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"_ZTSN12fastregalloc16VRegLiveIntervalE", !10, i64 0, !10, i64 4, !13, i64 8, !14, i64 12}
!13 = !{!"short", !7, i64 0}
!14 = !{!"_ZTSSt8optionalIjE", !15, i64 0}
!15 = !{!"_ZTSSt14_Optional_baseIjLb1ELb1EE", !16, i64 0}
!16 = !{!"_ZTSSt17_Optional_payloadIjLb1ELb1ELb1EE", !17, i64 0}
!17 = !{!"_ZTSSt22_Optional_payload_baseIjE", !7, i64 0, !18, i64 4}
!18 = !{!"bool", !7, i64 0}
!19 = !{!12, !13, i64 8}
!20 = !{!13, !13, i64 0}
!21 = !{!22, !10, i64 0}
!22 = !{!"_ZTSN12fastregalloc14ActiveIntervalE", !10, i64 0, !10, i64 4}
!23 = !{!12, !10, i64 0}
!24 = !{!22, !10, i64 4}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{i64 0, i64 8, !5, i64 8, i64 2, !20}
!28 = !{!29, !6, i64 0}
!29 = !{!"_ZTSN10live_range3UseE", !6, i64 0, !13, i64 8}
!30 = !{!29, !13, i64 8}
!31 = !{!32, !10, i64 280}
!32 = !{!"_ZTSN12fastregalloc19LinearScanAllocatorE", !33, i64 0, !18, i64 16, !34, i64 24, !38, i64 48, !45, i64 104, !48, i64 160, !51, i64 216, !14, i64 240, !55, i64 248, !10, i64 280}
!33 = !{!"_ZTSN3cfg9ScopedCFGE", !6, i64 0, !18, i64 8}
!34 = !{!"_ZTSSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTS12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEE", !39, i64 0}
!39 = !{!"_ZTSSt13unordered_mapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItESaIS0_IKtSA_EEE", !40, i64 0}
!40 = !{!"_ZTSSt10_HashtableItSt4pairIKtS0_ISt6vectorIP13IRInstructionSaIS4_EES2_IN10live_range3UseESaIS8_EEEESaISC_ENSt8__detail10_Select1stESt8equal_toItESt4hashItENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !41, i64 8, !42, i64 16, !41, i64 24, !43, i64 32, !6, i64 48}
!41 = !{!"long", !7, i64 0}
!42 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!43 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !44, i64 0, !41, i64 8}
!44 = !{!"float", !7, i64 0}
!45 = !{!"_ZTS12UnorderedSetItSt4hashItESt8equal_toItEE", !46, i64 0}
!46 = !{!"_ZTSSt13unordered_setItSt4hashItESt8equal_toItESaItEE", !47, i64 0}
!47 = !{!"_ZTSSt10_HashtableIttSaItENSt8__detail9_IdentityESt8equal_toItESt4hashItENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !41, i64 8, !42, i64 16, !41, i64 24, !43, i64 32, !6, i64 48}
!48 = !{!"_ZTS12UnorderedMapIN12fastregalloc18IRInstructionShapeESt3setIjSt4lessIjESaIjEENS0_24IRInstructionShapeHasherESt8equal_toIS1_EE", !49, i64 0}
!49 = !{!"_ZTSSt13unordered_mapIN12fastregalloc18IRInstructionShapeESt3setIjSt4lessIjESaIjEENS0_24IRInstructionShapeHasherESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE", !50, i64 0}
!50 = !{!"_ZTSSt10_HashtableIN12fastregalloc18IRInstructionShapeESt4pairIKS1_St3setIjSt4lessIjESaIjEEESaIS9_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_24IRInstructionShapeHasherENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !41, i64 8, !42, i64 16, !41, i64 24, !43, i64 32, !6, i64 48}
!51 = !{!"_ZTSSt6vectorIN12fastregalloc17LiveIntervalPointESaIS1_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{!"_ZTSSt14priority_queueIN12fastregalloc14ActiveIntervalESt6vectorIS1_SaIS1_EESt4lessIS1_EE", !56, i64 0, !60, i64 24}
!56 = !{!"_ZTSSt6vectorIN12fastregalloc14ActiveIntervalESaIS1_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!60 = !{!"_ZTSSt4lessIN12fastregalloc14ActiveIntervalEE"}


; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.80 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.80 = type { i64, [8 x i8] }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [3 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<unsigned int>::_Storage", i8 }>
%"union.std::_Optional_payload_base<unsigned int>::_Storage" = type { i32 }
%"struct.fastregalloc::ActiveInterval" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.116" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.119" = type { ptr }

@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__._ZN12fastregalloc19LinearScanAllocator8allocateEv = external hidden unnamed_addr constant [51 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [44 x i8], align 1

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

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

declare void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(160), i1 noundef zeroext) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12fastregalloc19LinearScanAllocator8allocateEv(ptr noundef nonnull align 8 dereferenceable(288) %0) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::optional", align 8
  %4 = alloca %"struct.fastregalloc::ActiveInterval", align 4
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.116", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.116", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.119", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.119", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  %13 = tail call noundef zeroext i1 @_ZNKSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  br i1 %13, label %83, label %14

14:                                               ; preds = %1
  %15 = tail call noundef i64 @_ZNKSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %16 = trunc i64 %15 to i32
  %.027 = add i32 %16, -1
  %17 = icmp sgt i32 %.027, -1
  br i1 %17, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %14
  %18 = getelementptr inbounds i8, ptr %0, i64 248
  %19 = getelementptr inbounds i8, ptr %4, i64 4
  %20 = zext nneg i32 %.027 to i64
  br label %25

._crit_edge:                                      ; preds = %37, %14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %21 = call ptr @_ZNSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  store ptr %21, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %22 = call ptr @_ZNSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  store ptr %22, ptr %6, align 8
  %23 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN12fastregalloc16VRegLiveIntervalESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  br i1 %23, label %.lr.ph36, label %._crit_edge37

.lr.ph36:                                         ; preds = %._crit_edge
  %24 = getelementptr inbounds i8, ptr %0, i64 48
  br label %46

25:                                               ; preds = %.lr.ph, %37
  %indvars.iv = phi i64 [ %20, %.lr.ph ], [ %indvars.iv.next, %37 ]
  %26 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #7
  %27 = getelementptr inbounds i8, ptr %26, i64 4
  %28 = load i32, ptr %27, align 4, !tbaa !5
  call void @_ZN12fastregalloc19LinearScanAllocator20expire_old_intervalsEj(ptr noundef nonnull align 8 dereferenceable(288) %0, i32 noundef %28)
  %29 = getelementptr inbounds i8, ptr %26, i64 8
  %30 = load i16, ptr %29, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %31 = zext i16 %30 to i32
  %32 = load i32, ptr %27, align 4, !tbaa !5
  %33 = call noundef i32 @_ZN12fastregalloc19LinearScanAllocator17allocate_registerEjj(ptr noundef nonnull align 8 dereferenceable(288) %0, i32 noundef %31, i32 noundef %32)
  store i32 %33, ptr %2, align 4, !tbaa !17
  %34 = getelementptr inbounds i8, ptr %26, i64 12
  %35 = call noundef zeroext i1 @_ZNKSt8optionalIjEcvbEv(ptr noundef nonnull align 4 dereferenceable(8) %34) #7
  br i1 %35, label %36, label %37

36:                                               ; preds = %25
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, i32 noundef 74, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN12fastregalloc19LinearScanAllocator8allocateEv, i32 noundef 2, ptr noundef nonnull @.str.7) #8
  unreachable

37:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @_ZNSt8optionalIjEC2IRjTnNSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS0_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES4_IS5_ISt10in_place_tSC_EESt16is_constructibleIjJS8_EESt14is_convertibleIS8_jEEEbE4typeELb1EEEOS8_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(4) %2) #7
  %38 = load i64, ptr %3, align 8
  store i64 %38, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %39 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %39, ptr %4, align 4, !tbaa !18
  %40 = load i32, ptr %26, align 4, !tbaa !20
  store i32 %40, ptr %19, align 4, !tbaa !21
  call void @_ZNSt14priority_queueIN12fastregalloc14ActiveIntervalESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %18, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %41 = icmp sgt i64 %indvars.iv, 0
  br i1 %41, label %25, label %._crit_edge, !llvm.loop !22

._crit_edge37:                                    ; preds = %._crit_edge34, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  %42 = call noundef ptr @_ZN3cfg9ScopedCFGptEv(ptr noundef nonnull align 8 dereferenceable(9) %0)
  %43 = getelementptr inbounds i8, ptr %0, i64 280
  %44 = load i32, ptr %43, align 8, !tbaa !24
  call void @_ZN3cfg16ControlFlowGraph18set_registers_sizeEj(ptr noundef nonnull align 8 dereferenceable(160) %42, i32 noundef %44)
  %45 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 44, i32 noundef 9)
  br i1 %45, label %77, label %83

46:                                               ; preds = %.lr.ph36, %._crit_edge34
  %47 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN12fastregalloc16VRegLiveIntervalESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEE2atERKt(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 2 dereferenceable(2) %48)
  %50 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm0ESt6vectorIP13IRInstructionSaIS2_EES0_IN10live_range3UseESaIS6_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSD_(ptr noundef nonnull align 8 dereferenceable(48) %49) #7
  %51 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm1ESt6vectorIP13IRInstructionSaIS2_EES0_IN10live_range3UseESaIS6_EEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSD_(ptr noundef nonnull align 8 dereferenceable(48) %49) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %52 = call ptr @_ZNSt6vectorIP13IRInstructionSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  store ptr %52, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %53 = call ptr @_ZNSt6vectorIP13IRInstructionSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  store ptr %53, ptr %8, align 8
  %54 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP13IRInstructionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br i1 %54, label %.lr.ph30, label %._crit_edge31

.lr.ph30:                                         ; preds = %46
  %55 = getelementptr inbounds i8, ptr %47, i64 12
  br label %60

._crit_edge31:                                    ; preds = %60, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %56 = call ptr @_ZNSt6vectorIN10live_range3UseESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #7
  store ptr %56, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %57 = call ptr @_ZNSt6vectorIN10live_range3UseESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #7
  store ptr %57, ptr %10, align 8
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN10live_range3UseESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %58, label %.lr.ph33, label %._crit_edge34

.lr.ph33:                                         ; preds = %._crit_edge31
  %59 = getelementptr inbounds i8, ptr %47, i64 12
  br label %70

60:                                               ; preds = %.lr.ph30, %60
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP13IRInstructionSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %62 = load ptr, ptr %61, align 8, !tbaa !55
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %55)
  %64 = load i32, ptr %63, align 4, !tbaa !17
  %65 = call noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %62, i32 noundef %64)
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP13IRInstructionSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %67 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP13IRInstructionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br i1 %67, label %60, label %._crit_edge31

._crit_edge34:                                    ; preds = %70, %._crit_edge31
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN12fastregalloc16VRegLiveIntervalESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN12fastregalloc16VRegLiveIntervalESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  br i1 %69, label %46, label %._crit_edge37

70:                                               ; preds = %.lr.ph33, %70
  %71 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN10live_range3UseESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %.sroa.0.0.copyload = load ptr, ptr %71, align 8, !tbaa !55
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %71, i64 8
  %.sroa.4.0.copyload = load i16, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !56
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %59)
  %73 = load i32, ptr %72, align 4, !tbaa !17
  %74 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %.sroa.0.0.copyload, i16 noundef zeroext %.sroa.4.0.copyload, i32 noundef %73)
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN10live_range3UseESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %76 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN10live_range3UseESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %76, label %70, label %._crit_edge34

77:                                               ; preds = %._crit_edge37
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  %78 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3cfg9ScopedCFGdeEv(ptr noundef nonnull align 8 dereferenceable(9) %0)
  call void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(160) %78, i1 noundef zeroext false)
  %79 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 44, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.8, ptr noundef %79)
          to label %80 unwind label %81

80:                                               ; preds = %77
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %83

81:                                               ; preds = %77
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  resume { ptr, i32 } %82

83:                                               ; preds = %._crit_edge37, %80, %1
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12fastregalloc19LinearScanAllocator20expire_old_intervalsEj(ptr noundef nonnull align 8 dereferenceable(288), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN12fastregalloc19LinearScanAllocator17allocate_registerEjj(ptr noundef nonnull align 8 dereferenceable(288), i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueIN12fastregalloc14ActiveIntervalESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cfg16ControlFlowGraph18set_registers_sizeEj(ptr noundef nonnull align 8 dereferenceable(160), i32 noundef) local_unnamed_addr #2 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"_ZTSN12fastregalloc16VRegLiveIntervalE", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"_ZTSSt8optionalIjE", !12, i64 0}
!12 = !{!"_ZTSSt14_Optional_baseIjLb1ELb1EE", !13, i64 0}
!13 = !{!"_ZTSSt17_Optional_payloadIjLb1ELb1ELb1EE", !14, i64 0}
!14 = !{!"_ZTSSt22_Optional_payload_baseIjE", !8, i64 0, !15, i64 4}
!15 = !{!"bool", !8, i64 0}
!16 = !{!6, !10, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"_ZTSN12fastregalloc14ActiveIntervalE", !7, i64 0, !7, i64 4}
!20 = !{!6, !7, i64 0}
!21 = !{!19, !7, i64 4}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !7, i64 280}
!25 = !{!"_ZTSN12fastregalloc19LinearScanAllocatorE", !26, i64 0, !15, i64 16, !28, i64 24, !32, i64 48, !39, i64 104, !42, i64 160, !45, i64 216, !11, i64 240, !49, i64 248, !7, i64 280}
!26 = !{!"_ZTSN3cfg9ScopedCFGE", !27, i64 0, !15, i64 8}
!27 = !{!"any pointer", !8, i64 0}
!28 = !{!"_ZTSSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!32 = !{!"_ZTS12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEE", !33, i64 0}
!33 = !{!"_ZTSSt13unordered_mapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItESaIS0_IKtSA_EEE", !34, i64 0}
!34 = !{!"_ZTSSt10_HashtableItSt4pairIKtS0_ISt6vectorIP13IRInstructionSaIS4_EES2_IN10live_range3UseESaIS8_EEEESaISC_ENSt8__detail10_Select1stESt8equal_toItESt4hashItENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb0ELb0ELb1EEEE", !27, i64 0, !35, i64 8, !36, i64 16, !35, i64 24, !37, i64 32, !27, i64 48}
!35 = !{!"long", !8, i64 0}
!36 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !27, i64 0}
!37 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !38, i64 0, !35, i64 8}
!38 = !{!"float", !8, i64 0}
!39 = !{!"_ZTS12UnorderedSetItSt4hashItESt8equal_toItEE", !40, i64 0}
!40 = !{!"_ZTSSt13unordered_setItSt4hashItESt8equal_toItESaItEE", !41, i64 0}
!41 = !{!"_ZTSSt10_HashtableIttSaItENSt8__detail9_IdentityESt8equal_toItESt4hashItENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !27, i64 0, !35, i64 8, !36, i64 16, !35, i64 24, !37, i64 32, !27, i64 48}
!42 = !{!"_ZTS12UnorderedMapIN12fastregalloc18IRInstructionShapeESt3setIjSt4lessIjESaIjEENS0_24IRInstructionShapeHasherESt8equal_toIS1_EE", !43, i64 0}
!43 = !{!"_ZTSSt13unordered_mapIN12fastregalloc18IRInstructionShapeESt3setIjSt4lessIjESaIjEENS0_24IRInstructionShapeHasherESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE", !44, i64 0}
!44 = !{!"_ZTSSt10_HashtableIN12fastregalloc18IRInstructionShapeESt4pairIKS1_St3setIjSt4lessIjESaIjEEESaIS9_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_24IRInstructionShapeHasherENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb1ELb0ELb1EEEE", !27, i64 0, !35, i64 8, !36, i64 16, !35, i64 24, !37, i64 32, !27, i64 48}
!45 = !{!"_ZTSSt6vectorIN12fastregalloc17LiveIntervalPointESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!49 = !{!"_ZTSSt14priority_queueIN12fastregalloc14ActiveIntervalESt6vectorIS1_SaIS1_EESt4lessIS1_EE", !50, i64 0, !54, i64 24}
!50 = !{!"_ZTSSt6vectorIN12fastregalloc14ActiveIntervalESaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!54 = !{!"_ZTSSt4lessIN12fastregalloc14ActiveIntervalEE"}
!55 = !{!27, !27, i64 0}
!56 = !{!10, !10, i64 0}


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