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

; 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.cfg::InstructionIterableImpl" = type { ptr }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"struct.std::pair.145" = type <{ %"class.UnorderedSet<unsigned short>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedSet<unsigned short>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator" }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = 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::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 }
%"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.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.120 }
%"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.120 = type { ptr }
%"struct.std::pair" = type { %"class.std::vector.106", %"class.std::vector.111" }
%"class.std::vector.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = type { %"struct.std::_Vector_base<live_range::Use, std::allocator<live_range::Use>>::_Vector_impl" }
%"struct.std::_Vector_base<live_range::Use, std::allocator<live_range::Use>>::_Vector_impl" = type { %"struct.std::_Vector_base<live_range::Use, std::allocator<live_range::Use>>::_Vector_impl_data" }
%"struct.std::_Vector_base<live_range::Use, std::allocator<live_range::Use>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.6 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN12fastregalloc19LinearScanAllocator20init_vreg_occurencesEv = external hidden unnamed_addr constant [63 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12fastregalloc19LinearScanAllocator20init_vreg_occurencesEv(ptr noundef nonnull align 8 dereferenceable(288) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.cfg::InstructionIterableImpl", align 8
  %5 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %6 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i16, align 2
  %11 = alloca %"struct.std::pair.145", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.cfg::InstructionIterableImpl", align 8
  %14 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %15 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i16, align 2
  %19 = alloca i16, align 2
  %20 = alloca %"struct.live_range::Use", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %21 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %22 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 0
  %23 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3cfg9ScopedCFGdeEv(ptr noundef nonnull align 8 dereferenceable(9) %22)
  %24 = call ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %23)
  %25 = getelementptr inbounds %"class.cfg::InstructionIterableImpl", ptr %4, i32 0, i32 0
  store ptr %24, ptr %25, align 8
  store ptr %4, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %26)
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %27)
  br label %28

28:                                               ; preds = %77, %1
  %29 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
  br i1 %29, label %31, label %30

30:                                               ; preds = %28
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %79

31:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %32 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  store ptr %32, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.MethodItemEntry, ptr %33, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  store ptr %35, ptr %9, align 8, !tbaa !5
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = call noundef zeroext i1 @_ZNK13IRInstruction8has_destEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
  br i1 %37, label %39, label %38

38:                                               ; preds = %31
  store i32 3, ptr %7, align 4
  br label %71

39:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #6
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = call noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %40)
  %42 = trunc i32 %41 to i16
  store i16 %42, ptr %10, align 2, !tbaa !10
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = call noundef zeroext i1 @_ZNK13IRInstruction12dest_is_wideEv(ptr noundef nonnull align 8 dereferenceable(32) %43)
  br i1 %44, label %45, label %52

45:                                               ; preds = %39
  %46 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 5
  %47 = call { ptr, i8 } @_ZN12UnorderedSetItSt4hashItESt8equal_toItEE6insertERKt(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 2 dereferenceable(2) %10)
  %48 = getelementptr inbounds { ptr, i8 }, ptr %11, i32 0, i32 0
  %49 = extractvalue { ptr, i8 } %47, 0
  store ptr %49, ptr %48, align 8
  %50 = getelementptr inbounds { ptr, i8 }, ptr %11, i32 0, i32 1
  %51 = extractvalue { ptr, i8 } %47, 1
  store i8 %51, ptr %50, align 8
  br label %52

52:                                               ; preds = %45, %39
  %53 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 4
  %54 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEEixERKt(ptr noundef nonnull align 8 dereferenceable(56) %53, ptr noundef nonnull align 2 dereferenceable(2) %10)
  %55 = getelementptr inbounds %"struct.std::pair", ptr %54, i32 0, i32 0
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %56)
  %58 = zext i16 %57 to i32
  %59 = icmp eq i32 %58, 161
  br i1 %59, label %60, label %70

60:                                               ; preds = %52
  %61 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 1
  %62 = load i8, ptr %61, align 8, !tbaa !12, !range !48, !noundef !49
  %63 = trunc i8 %62 to i1
  br i1 %63, label %70, label %64

64:                                               ; preds = %60
  %65 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 8
  %66 = call noundef zeroext i1 @_ZNKSt8optionalIjEcvbEv(ptr noundef nonnull align 4 dereferenceable(8) %65) #6
  br i1 %66, label %70, label %67

67:                                               ; preds = %64
  %68 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 8
  %69 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt8optionalIjEaSIRtEENSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS0_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES4_ISt6__and_IJSt9is_scalarIjES5_IjNSt5decayIS8_E4typeEEEEESt16is_constructibleIjJS8_EESt13is_assignableIRjS8_EEERS0_E4typeEOS8_(ptr noundef nonnull align 4 dereferenceable(8) %68, ptr noundef nonnull align 2 dereferenceable(2) %10) #6
  br label %70

70:                                               ; preds = %67, %64, %60, %52
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #6
  store i32 0, ptr %7, align 4
  br label %71

71:                                               ; preds = %70, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %72 = load i32, ptr %7, align 4
  switch i32 %72, label %74 [
    i32 0, label %73
  ]

73:                                               ; preds = %71
  store i32 0, ptr %7, align 4
  br label %74

74:                                               ; preds = %73, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %75 = load i32, ptr %7, align 4
  switch i32 %75, label %131 [
    i32 0, label %76
    i32 3, label %77
  ]

76:                                               ; preds = %74
  br label %77

77:                                               ; preds = %76, %74
  %78 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  br label %28

79:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %80 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 0
  %81 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3cfg9ScopedCFGdeEv(ptr noundef nonnull align 8 dereferenceable(9) %80)
  %82 = call ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %81)
  %83 = getelementptr inbounds %"class.cfg::InstructionIterableImpl", ptr %13, i32 0, i32 0
  store ptr %82, ptr %83, align 8
  store ptr %13, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %84)
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %85)
  br label %86

86:                                               ; preds = %128, %79
  %87 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %15)
  br i1 %87, label %89, label %88

88:                                               ; preds = %86
  store i32 4, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %130

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %90 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  store ptr %90, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %91 = load ptr, ptr %16, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.MethodItemEntry, ptr %91, i32 0, i32 2
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  store ptr %93, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %18) #6
  store i16 0, ptr %18, align 2, !tbaa !10
  br label %94

94:                                               ; preds = %124, %89
  %95 = load i16, ptr %18, align 2, !tbaa !10
  %96 = zext i16 %95 to i64
  %97 = load ptr, ptr %17, align 8, !tbaa !5
  %98 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %97)
  %99 = icmp ult i64 %96, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %94
  store i32 6, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %18) #6
  br label %127

101:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 2, ptr %19) #6
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = load i16, ptr %18, align 2, !tbaa !10
  %104 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %102, i16 noundef zeroext %103)
  %105 = trunc i32 %104 to i16
  store i16 %105, ptr %19, align 2, !tbaa !10
  %106 = load ptr, ptr %17, align 8, !tbaa !5
  %107 = load i16, ptr %18, align 2, !tbaa !10
  %108 = call noundef zeroext i1 @_ZNK13IRInstruction11src_is_wideEt(ptr noundef nonnull align 8 dereferenceable(32) %106, i16 noundef zeroext %107)
  %109 = zext i1 %108 to i64
  %110 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 5
  %111 = call noundef i64 @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE5countERKt(ptr noundef nonnull align 8 dereferenceable(56) %110, ptr noundef nonnull align 2 dereferenceable(2) %19)
  %112 = icmp eq i64 %109, %111
  br i1 %112, label %113, label %114

113:                                              ; preds = %101
  br label %116

114:                                              ; preds = %101
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.9, ptr noundef @.str.6, i32 noundef 111, ptr noundef @__PRETTY_FUNCTION__._ZN12fastregalloc19LinearScanAllocator20init_vreg_occurencesEv, i32 noundef 2, ptr noundef @.str.7) #7
  unreachable

115:                                              ; No predecessors!
  br label %116

116:                                              ; preds = %115, %113
  %117 = getelementptr inbounds %"class.fastregalloc::LinearScanAllocator", ptr %21, i32 0, i32 4
  %118 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEE2atERKt(ptr noundef nonnull align 8 dereferenceable(56) %117, ptr noundef nonnull align 2 dereferenceable(2) %19)
  %119 = getelementptr inbounds %"struct.std::pair", ptr %118, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %120 = getelementptr inbounds %"struct.live_range::Use", ptr %20, i32 0, i32 0
  %121 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %121, ptr %120, align 8, !tbaa !50
  %122 = getelementptr inbounds %"struct.live_range::Use", ptr %20, i32 0, i32 1
  %123 = load i16, ptr %18, align 2, !tbaa !10
  store i16 %123, ptr %122, align 8, !tbaa !52
  call void @_ZNSt6vectorIN10live_range3UseESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %119, ptr noundef nonnull align 8 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #6
  br label %124

124:                                              ; preds = %116
  %125 = load i16, ptr %18, align 2, !tbaa !10
  %126 = add i16 %125, 1
  store i16 %126, ptr %18, align 2, !tbaa !10
  br label %94, !llvm.loop !53

127:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %128

128:                                              ; preds = %127
  %129 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  br label %86

130:                                              ; preds = %88
  ret void

131:                                              ; preds = %74
  unreachable
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

; 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 zeroext i1 @_ZNK13IRInstruction12dest_is_wideEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetItSt4hashItESt8equal_toItEE6insertERKt(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 2 dereferenceable(2)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt8optionalIjEaSIRtEENSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS0_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES4_ISt6__and_IJSt9is_scalarIjES5_IjNSt5decayIS8_E4typeEEEEESt16is_constructibleIjJS8_EESt13is_assignableIRjS8_EEERS0_E4typeEOS8_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 2 dereferenceable(2)) #3 align 2

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"short", !7, i64 0}
!12 = !{!13, !15, i64 16}
!13 = !{!"_ZTSN12fastregalloc19LinearScanAllocatorE", !14, i64 0, !15, i64 16, !16, i64 24, !20, i64 48, !27, i64 104, !30, i64 160, !33, i64 216, !37, i64 240, !41, i64 248, !47, i64 280}
!14 = !{!"_ZTSN3cfg9ScopedCFGE", !6, i64 0, !15, i64 8}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIN12fastregalloc16VRegLiveIntervalESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc16VRegLiveIntervalESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTS12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEE", !21, i64 0}
!21 = !{!"_ZTSSt13unordered_mapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItESaIS0_IKtSA_EEE", !22, i64 0}
!22 = !{!"_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, !23, i64 8, !24, i64 16, !23, i64 24, !25, i64 32, !6, i64 48}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !26, i64 0, !23, i64 8}
!26 = !{!"float", !7, i64 0}
!27 = !{!"_ZTS12UnorderedSetItSt4hashItESt8equal_toItEE", !28, i64 0}
!28 = !{!"_ZTSSt13unordered_setItSt4hashItESt8equal_toItESaItEE", !29, i64 0}
!29 = !{!"_ZTSSt10_HashtableIttSaItENSt8__detail9_IdentityESt8equal_toItESt4hashItENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !23, i64 8, !24, i64 16, !23, i64 24, !25, i64 32, !6, i64 48}
!30 = !{!"_ZTS12UnorderedMapIN12fastregalloc18IRInstructionShapeESt3setIjSt4lessIjESaIjEENS0_24IRInstructionShapeHasherESt8equal_toIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt13unordered_mapIN12fastregalloc18IRInstructionShapeESt3setIjSt4lessIjESaIjEENS0_24IRInstructionShapeHasherESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE", !32, i64 0}
!32 = !{!"_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, !23, i64 8, !24, i64 16, !23, i64 24, !25, i64 32, !6, i64 48}
!33 = !{!"_ZTSSt6vectorIN12fastregalloc17LiveIntervalPointESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc17LiveIntervalPointESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt8optionalIjE", !38, i64 0}
!38 = !{!"_ZTSSt14_Optional_baseIjLb1ELb1EE", !39, i64 0}
!39 = !{!"_ZTSSt17_Optional_payloadIjLb1ELb1ELb1EE", !40, i64 0}
!40 = !{!"_ZTSSt22_Optional_payload_baseIjE", !7, i64 0, !15, i64 4}
!41 = !{!"_ZTSSt14priority_queueIN12fastregalloc14ActiveIntervalESt6vectorIS1_SaIS1_EESt4lessIS1_EE", !42, i64 0, !46, i64 24}
!42 = !{!"_ZTSSt6vectorIN12fastregalloc14ActiveIntervalESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN12fastregalloc14ActiveIntervalESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!46 = !{!"_ZTSSt4lessIN12fastregalloc14ActiveIntervalEE"}
!47 = !{!"int", !7, i64 0}
!48 = !{i8 0, i8 2}
!49 = !{}
!50 = !{!51, !6, i64 0}
!51 = !{!"_ZTSN10live_range3UseE", !6, i64 0, !11, i64 8}
!52 = !{!51, !11, i64 8}
!53 = distinct !{!53, !54}
!54 = !{!"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.cfg::InstructionIterableImpl" = type { ptr }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"struct.live_range::Use" = type { ptr, i16 }

@.str.6 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN12fastregalloc19LinearScanAllocator20init_vreg_occurencesEv = external hidden unnamed_addr constant [63 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12fastregalloc19LinearScanAllocator20init_vreg_occurencesEv(ptr noundef nonnull align 8 dereferenceable(288) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca %"class.cfg::InstructionIterableImpl", align 8
  %3 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %4 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i16, align 2
  %7 = alloca %"class.cfg::InstructionIterableImpl", align 8
  %8 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %9 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %10 = alloca i16, align 2
  %11 = alloca %"struct.live_range::Use", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %12 = tail call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3cfg9ScopedCFGdeEv(ptr noundef nonnull align 8 dereferenceable(9) %0)
  %13 = tail call ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %12)
  store ptr %13, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %4, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %14 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %4)
  br i1 %14, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %15 = getelementptr inbounds i8, ptr %0, i64 104
  %16 = getelementptr inbounds i8, ptr %0, i64 48
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = getelementptr inbounds i8, ptr %0, i64 240
  br label %25

._crit_edge:                                      ; preds = %51, %1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %19 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3cfg9ScopedCFGdeEv(ptr noundef nonnull align 8 dereferenceable(9) %0)
  %20 = call ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %19)
  store ptr %20, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  call void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  call void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %21 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %9)
  br i1 %21, label %.lr.ph22, label %._crit_edge23

.lr.ph22:                                         ; preds = %._crit_edge
  %22 = getelementptr inbounds i8, ptr %0, i64 104
  %23 = getelementptr inbounds i8, ptr %0, i64 48
  %24 = getelementptr inbounds i8, ptr %11, i64 8
  br label %54

25:                                               ; preds = %.lr.ph, %51
  %26 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %27 = getelementptr inbounds i8, ptr %26, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %28, ptr %5, align 8, !tbaa !8
  %29 = call noundef zeroext i1 @_ZNK13IRInstruction8has_destEv(ptr noundef nonnull align 8 dereferenceable(32) %28)
  br i1 %29, label %30, label %51

30:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #6
  %31 = load ptr, ptr %5, align 8, !tbaa !8
  %32 = call noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %31)
  %33 = trunc i32 %32 to i16
  store i16 %33, ptr %6, align 2, !tbaa !10
  %34 = load ptr, ptr %5, align 8, !tbaa !8
  %35 = call noundef zeroext i1 @_ZNK13IRInstruction12dest_is_wideEv(ptr noundef nonnull align 8 dereferenceable(32) %34)
  br i1 %35, label %36, label %38

36:                                               ; preds = %30
  %37 = call { ptr, i8 } @_ZN12UnorderedSetItSt4hashItESt8equal_toItEE6insertERKt(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 2 dereferenceable(2) %6)
  br label %38

38:                                               ; preds = %36, %30
  %39 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEEixERKt(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %40 = load ptr, ptr %5, align 8, !tbaa !8
  %41 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %40)
  %42 = icmp eq i16 %41, 161
  br i1 %42, label %43, label %50

43:                                               ; preds = %38
  %44 = load i8, ptr %17, align 8, !tbaa !12, !range !48, !noundef !49
  %45 = trunc nuw i8 %44 to i1
  br i1 %45, label %50, label %46

46:                                               ; preds = %43
  %47 = call noundef zeroext i1 @_ZNKSt8optionalIjEcvbEv(ptr noundef nonnull align 4 dereferenceable(8) %18) #6
  br i1 %47, label %50, label %48

48:                                               ; preds = %46
  %49 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt8optionalIjEaSIRtEENSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS0_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES4_ISt6__and_IJSt9is_scalarIjES5_IjNSt5decayIS8_E4typeEEEEESt16is_constructibleIjJS8_EESt13is_assignableIRjS8_EEERS0_E4typeEOS8_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 2 dereferenceable(2) %6) #6
  br label %50

50:                                               ; preds = %48, %46, %43, %38
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #6
  br label %51

51:                                               ; preds = %25, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  %52 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %53 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %4)
  br i1 %53, label %25, label %._crit_edge

._crit_edge23:                                    ; preds = %._crit_edge20, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  ret void

54:                                               ; preds = %.lr.ph22, %._crit_edge20
  %55 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %56 = getelementptr inbounds i8, ptr %55, i64 24
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %57)
  %.not = icmp eq i64 %58, 0
  br i1 %.not, label %._crit_edge20, label %.lr.ph19

._crit_edge20:                                    ; preds = %68, %54
  %59 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %60 = call noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %9)
  br i1 %60, label %54, label %._crit_edge23

.lr.ph19:                                         ; preds = %54, %68
  %.017 = phi i16 [ %71, %68 ], [ 0, %54 ]
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #6
  %61 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %57, i16 noundef zeroext %.017)
  %62 = trunc i32 %61 to i16
  store i16 %62, ptr %10, align 2, !tbaa !10
  %63 = call noundef zeroext i1 @_ZNK13IRInstruction11src_is_wideEt(ptr noundef nonnull align 8 dereferenceable(32) %57, i16 noundef zeroext %.017)
  %64 = zext i1 %63 to i64
  %65 = call noundef i64 @_ZNK12UnorderedSetItSt4hashItESt8equal_toItEE5countERKt(ptr noundef nonnull align 8 dereferenceable(56) %22, ptr noundef nonnull align 2 dereferenceable(2) %10)
  %66 = icmp eq i64 %65, %64
  br i1 %66, label %68, label %67

67:                                               ; preds = %.lr.ph19
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.6, i32 noundef 111, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN12fastregalloc19LinearScanAllocator20init_vreg_occurencesEv, i32 noundef 2, ptr noundef nonnull @.str.7) #7
  unreachable

68:                                               ; preds = %.lr.ph19
  %69 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN12UnorderedMapItSt4pairISt6vectorIP13IRInstructionSaIS3_EES1_IN10live_range3UseESaIS7_EEESt4hashItESt8equal_toItEE2atERKt(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 2 dereferenceable(2) %10)
  %70 = getelementptr inbounds i8, ptr %69, i64 24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  store ptr %57, ptr %11, align 8, !tbaa !50
  store i16 %.017, ptr %24, align 8, !tbaa !52
  call void @_ZNSt6vectorIN10live_range3UseESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 8 dereferenceable(16) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #6
  %71 = add i16 %.017, 1
  %72 = zext i16 %71 to i64
  %73 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %57)
  %74 = icmp ugt i64 %73, %72
  br i1 %74, label %.lr.ph19, label %._crit_edge20, !llvm.loop !53
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; 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 zeroext i1 @_ZNK13IRInstruction12dest_is_wideEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetItSt4hashItESt8equal_toItEE6insertERKt(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 2 dereferenceable(2)) 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_toItEEixERKt(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 2 dereferenceable(2)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIP13IRInstructionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) 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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt8optionalIjEaSIRtEENSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS0_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES4_ISt6__and_IJSt9is_scalarIjES5_IjNSt5decayIS8_E4typeEEEEESt16is_constructibleIjJS8_EESt13is_assignableIRjS8_EEERS0_E4typeEOS8_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 2 dereferenceable(2)) local_unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN10live_range3UseESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

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

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


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