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

; 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 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator.255" = type { ptr }
%class.UnorderedMap.256 = type { %"class.std::unordered_map.258" }
%"class.std::unordered_map.258" = type { %"class.std::_Hashtable.259" }
%"class.std::_Hashtable.259" = 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.IRInstruction::reg_range" = type { %"class.boost::iterator_range" }
%"class.boost::iterator_range" = type { %"class.boost::iterator_range_detail::iterator_range_base" }
%"class.boost::iterator_range_detail::iterator_range_base" = type { %"class.boost::iterator_range_detail::iterator_range_base.272" }
%"class.boost::iterator_range_detail::iterator_range_base.272" = type { %"class.boost::iterator_range_detail::iterator_range_base.273" }
%"class.boost::iterator_range_detail::iterator_range_base.273" = type { ptr, ptr }
%"struct.regalloc::graph_coloring::RegisterTransform" = type <{ %class.UnorderedMap.74, i16, [6 x i8] }>
%class.UnorderedMap.74 = type { %"class.std::unordered_map.76" }
%"class.std::unordered_map.76" = type { %"class.std::_Hashtable.77" }
%"class.std::_Hashtable.77" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

@.str.14 = external hidden unnamed_addr constant [28 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN8regalloc14graph_coloring12_GLOBAL__N_113mark_adjacentERKNS_12interference5GraphEjRK12UnorderedMapIjjSt4hashIjESt8equal_toIjEEPNS_20VirtualRegistersFileE(ptr noundef nonnull align 8 dereferenceable(168), i32 noundef, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8regalloc14graph_coloring9Allocator13select_rangesERKN3cfg16ControlFlowGraphERKNS_12interference5GraphERKNS_8RangeSetEPNS0_17RegisterTransformEPNS0_9SpillPlanE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(160) %1, ptr noundef nonnull align 8 dereferenceable(168) %2, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef %4, ptr noundef %5) #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.255", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.255", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %class.UnorderedMap.256, align 8
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i16, align 2
  %26 = alloca %"class.IRInstruction::reg_range", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %27 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %28, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %29 = load ptr, ptr %13, align 8, !tbaa !5
  %30 = call ptr @_ZNK8regalloc8RangeSet5beginEv(ptr noundef nonnull align 8 dereferenceable(80) %29)
  %31 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.255", ptr %14, i32 0, i32 0
  store ptr %30, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %32 = load ptr, ptr %13, align 8, !tbaa !5
  %33 = call ptr @_ZNK8regalloc8RangeSet3endEv(ptr noundef nonnull align 8 dereferenceable(80) %32)
  %34 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.255", ptr %15, i32 0, i32 0
  store ptr %33, ptr %34, align 8
  br label %35

35:                                               ; preds = %118, %6
  %36 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP13IRInstructionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %36, label %38, label %37

37:                                               ; preds = %35
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %131

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP13IRInstructionSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %40 = load ptr, ptr %39, align 8, !tbaa !5
  store ptr %40, ptr %17, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %38
  %42 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 111, i32 noundef 5)
  br i1 %42, label %43, label %51

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #5
  %44 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef %44)
  %45 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 111, i32 noundef 5, i1 noundef zeroext false, ptr noundef @.str.14, ptr noundef %45)
          to label %46 unwind label %47

46:                                               ; preds = %43
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  br label %51

47:                                               ; preds = %43
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %19, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  br label %130

51:                                               ; preds = %46, %41
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 56, ptr %21) #5
  call void @_ZN12UnorderedMapIjN8regalloc20VirtualRegistersFileESt4hashIjESt8equal_toIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  store i64 0, ptr %22, align 8, !tbaa !9
  br label %54

54:                                               ; preds = %79, %53
  %55 = load i64, ptr %22, align 8, !tbaa !9
  %56 = load ptr, ptr %17, align 8, !tbaa !5
  %57 = invoke noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %58 unwind label %61

58:                                               ; preds = %54
  %59 = icmp ult i64 %55, %57
  br i1 %59, label %65, label %60

60:                                               ; preds = %58
  store i32 6, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %92

61:                                               ; preds = %54
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %19, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %20, align 4
  br label %91

65:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %66 = load ptr, ptr %17, align 8, !tbaa !5
  %67 = load i64, ptr %22, align 8, !tbaa !9
  %68 = trunc i64 %67 to i16
  %69 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %66, i16 noundef zeroext %68)
          to label %70 unwind label %82

70:                                               ; preds = %65
  store i32 %69, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %71 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN12UnorderedMapIjN8regalloc20VirtualRegistersFileESt4hashIjESt8equal_toIjEEixERKj(ptr noundef nonnull align 8 dereferenceable(56) %21, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %72 unwind label %86

72:                                               ; preds = %70
  store ptr %71, ptr %24, align 8, !tbaa !5
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load i32, ptr %23, align 4, !tbaa !11
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.regalloc::graph_coloring::RegisterTransform", ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %24, align 8, !tbaa !5
  invoke void @_ZN8regalloc14graph_coloring12_GLOBAL__N_113mark_adjacentERKNS_12interference5GraphEjRK12UnorderedMapIjjSt4hashIjESt8equal_toIjEEPNS_20VirtualRegistersFileE(ptr noundef nonnull align 8 dereferenceable(168) %73, i32 noundef %74, ptr noundef nonnull align 8 dereferenceable(56) %76, ptr noundef %77)
          to label %78 unwind label %86

78:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %79

79:                                               ; preds = %78
  %80 = load i64, ptr %22, align 8, !tbaa !9
  %81 = add i64 %80, 1
  store i64 %81, ptr %22, align 8, !tbaa !9
  br label %54, !llvm.loop !13

82:                                               ; preds = %65
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %19, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %20, align 4
  br label %90

86:                                               ; preds = %72, %70
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %19, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %90

90:                                               ; preds = %86, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %91

91:                                               ; preds = %90, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %129

92:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 2, ptr %25) #5
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  %94 = load ptr, ptr %17, align 8, !tbaa !5
  %95 = invoke { ptr, ptr } @_ZNK13IRInstruction4srcsEv(ptr noundef nonnull align 8 dereferenceable(32) %94)
          to label %96 unwind label %120

96:                                               ; preds = %92
  %97 = getelementptr inbounds %"class.IRInstruction::reg_range", ptr %26, i32 0, i32 0
  %98 = getelementptr inbounds %"class.boost::iterator_range", ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds %"class.boost::iterator_range_detail::iterator_range_base", ptr %98, i32 0, i32 0
  %100 = getelementptr inbounds %"class.boost::iterator_range_detail::iterator_range_base.272", ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds { ptr, ptr }, ptr %100, i32 0, i32 0
  %102 = extractvalue { ptr, ptr } %95, 0
  store ptr %102, ptr %101, align 8
  %103 = getelementptr inbounds { ptr, ptr }, ptr %100, i32 0, i32 1
  %104 = extractvalue { ptr, ptr } %95, 1
  store ptr %104, ptr %103, align 8
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.regalloc::graph_coloring::RegisterTransform", ptr %105, i32 0, i32 1
  %107 = load i16, ptr %106, align 8, !tbaa !15
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.regalloc::graph_coloring::RegisterTransform", ptr %108, i32 0, i32 0
  %110 = invoke noundef zeroext i16 @_ZN8regalloc14graph_coloring12_GLOBAL__N_119find_best_range_fitERKNS_12interference5GraphERKN5boost14iterator_rangeIPKjEEttRK12UnorderedMapIjNS_20VirtualRegistersFileESt4hashIjESt8equal_toIjEERKSD_IjjSG_SI_E(ptr noundef nonnull align 8 dereferenceable(168) %93, ptr noundef nonnull align 8 dereferenceable(16) %26, i16 noundef zeroext 0, i16 noundef zeroext %107, ptr noundef nonnull align 8 dereferenceable(56) %21, ptr noundef nonnull align 8 dereferenceable(56) %109)
          to label %111 unwind label %120

111:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  store i16 %110, ptr %25, align 2, !tbaa !24
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = load i16, ptr %25, align 2, !tbaa !24
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN8regalloc14graph_coloring12_GLOBAL__N_121fit_range_instructionERKNS_12interference5GraphEPK13IRInstructiontRK12UnorderedMapIjNS_20VirtualRegistersFileESt4hashIjESt8equal_toIjEEPNS0_17RegisterTransformEPNS0_9SpillPlanE(ptr noundef nonnull align 8 dereferenceable(168) %112, ptr noundef %113, i16 noundef zeroext %114, ptr noundef nonnull align 8 dereferenceable(56) %21, ptr noundef %115, ptr noundef %116)
          to label %117 unwind label %124

117:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 2, ptr %25) #5
  call void @_ZN12UnorderedMapIjN8regalloc20VirtualRegistersFileESt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %118

118:                                              ; preds = %117
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP13IRInstructionSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br label %35

120:                                              ; preds = %96, %92
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %19, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  br label %128

124:                                              ; preds = %111
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %19, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %20, align 4
  br label %128

128:                                              ; preds = %124, %120
  call void @llvm.lifetime.end.p0(i64 2, ptr %25) #5
  br label %129

129:                                              ; preds = %128, %91
  call void @_ZN12UnorderedMapIjN8regalloc20VirtualRegistersFileESt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #5
  br label %130

130:                                              ; preds = %129, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %132

131:                                              ; preds = %37
  ret void

132:                                              ; preds = %130
  %133 = load ptr, ptr %19, align 8
  %134 = load i32, ptr %20, align 4
  %135 = insertvalue { ptr, i32 } poison, ptr %133, 0
  %136 = insertvalue { ptr, i32 } %135, i32 %134, 1
  resume { ptr, i32 } %136
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i16 @_ZN8regalloc14graph_coloring12_GLOBAL__N_119find_best_range_fitERKNS_12interference5GraphERKN5boost14iterator_rangeIPKjEEttRK12UnorderedMapIjNS_20VirtualRegistersFileESt4hashIjESt8equal_toIjEERKSD_IjjSG_SI_E(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(16), i16 noundef zeroext, i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) #3

declare { ptr, ptr } @_ZNK13IRInstruction4srcsEv(ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN8regalloc14graph_coloring12_GLOBAL__N_121fit_range_instructionERKNS_12interference5GraphEPK13IRInstructiontRK12UnorderedMapIjNS_20VirtualRegistersFileESt4hashIjESt8equal_toIjEEPNS0_17RegisterTransformEPNS0_9SpillPlanE(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef, i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, ptr noundef) #3

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

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

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

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

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


; 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 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator.255" = type { ptr }
%class.UnorderedMap.256 = type { %"class.std::unordered_map.258" }
%"class.std::unordered_map.258" = type { %"class.std::_Hashtable.259" }
%"class.std::_Hashtable.259" = 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.IRInstruction::reg_range" = type { %"class.boost::iterator_range" }
%"class.boost::iterator_range" = type { %"class.boost::iterator_range_detail::iterator_range_base" }
%"class.boost::iterator_range_detail::iterator_range_base" = type { %"class.boost::iterator_range_detail::iterator_range_base.272" }
%"class.boost::iterator_range_detail::iterator_range_base.272" = type { %"class.boost::iterator_range_detail::iterator_range_base.273" }
%"class.boost::iterator_range_detail::iterator_range_base.273" = type { ptr, ptr }

@.str.14 = external hidden unnamed_addr constant [28 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN8regalloc14graph_coloring12_GLOBAL__N_113mark_adjacentERKNS_12interference5GraphEjRK12UnorderedMapIjjSt4hashIjESt8equal_toIjEEPNS_20VirtualRegistersFileE(ptr noundef nonnull align 8 dereferenceable(168), i32 noundef, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8regalloc14graph_coloring9Allocator13select_rangesERKN3cfg16ControlFlowGraphERKNS_12interference5GraphERKNS_8RangeSetEPNS0_17RegisterTransformEPNS0_9SpillPlanE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(64) %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(160) %1, ptr noundef nonnull align 8 dereferenceable(168) %2, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.255", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.255", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %class.UnorderedMap.256, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.IRInstruction::reg_range", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %13 = tail call ptr @_ZNK8regalloc8RangeSet5beginEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  store ptr %13, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %14 = tail call ptr @_ZNK8regalloc8RangeSet3endEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  store ptr %14, ptr %8, align 8
  %15 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP13IRInstructionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %15, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %6
  %16 = getelementptr inbounds i8, ptr %12, i64 8
  %17 = getelementptr inbounds i8, ptr %4, i64 56
  br label %18

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

18:                                               ; preds = %.lr.ph, %56
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP13IRInstructionSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 111, i32 noundef 5)
  br i1 %21, label %22, label %27

22:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef %20)
  %23 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 111, i32 noundef 5, i1 noundef zeroext false, ptr noundef nonnull @.str.14, ptr noundef %23)
          to label %24 unwind label %25

24:                                               ; preds = %22
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  br label %27

25:                                               ; preds = %22
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  br label %64

27:                                               ; preds = %24, %18
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %10) #5
  call void @_ZN12UnorderedMapIjN8regalloc20VirtualRegistersFileESt4hashIjESt8equal_toIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10)
  br label %28

28:                                               ; preds = %43, %27
  %.023 = phi i64 [ 0, %27 ], [ %44, %43 ]
  %29 = invoke noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %30 unwind label %34

30:                                               ; preds = %28
  %31 = icmp ult i64 %.023, %29
  br i1 %31, label %36, label %32

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  %33 = invoke { ptr, ptr } @_ZNK13IRInstruction4srcsEv(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %50 unwind label %59

34:                                               ; preds = %28
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %63

36:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  %37 = trunc i64 %.023 to i16
  %38 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %20, i16 noundef zeroext %37)
          to label %39 unwind label %45

39:                                               ; preds = %36
  store i32 %38, ptr %11, align 4, !tbaa !9
  %40 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN12UnorderedMapIjN8regalloc20VirtualRegistersFileESt4hashIjESt8equal_toIjEEixERKj(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %41 unwind label %47

41:                                               ; preds = %39
  %42 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN8regalloc14graph_coloring12_GLOBAL__N_113mark_adjacentERKNS_12interference5GraphEjRK12UnorderedMapIjjSt4hashIjESt8equal_toIjEEPNS_20VirtualRegistersFileE(ptr noundef nonnull align 8 dereferenceable(168) %2, i32 noundef %42, ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull %40)
          to label %43 unwind label %47

43:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  %44 = add nuw i64 %.023, 1
  br label %28, !llvm.loop !11

45:                                               ; preds = %36
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %49

47:                                               ; preds = %41, %39
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %49

49:                                               ; preds = %47, %45
  %.pn30 = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  br label %63

50:                                               ; preds = %32
  %51 = extractvalue { ptr, ptr } %33, 0
  store ptr %51, ptr %12, align 8
  %52 = extractvalue { ptr, ptr } %33, 1
  store ptr %52, ptr %16, align 8
  %53 = load i16, ptr %17, align 8, !tbaa !13
  %54 = invoke noundef zeroext i16 @_ZN8regalloc14graph_coloring12_GLOBAL__N_119find_best_range_fitERKNS_12interference5GraphERKN5boost14iterator_rangeIPKjEEttRK12UnorderedMapIjNS_20VirtualRegistersFileESt4hashIjESt8equal_toIjEERKSD_IjjSG_SI_E(ptr noundef nonnull align 8 dereferenceable(168) %2, ptr noundef nonnull align 8 dereferenceable(16) %12, i16 noundef zeroext 0, i16 noundef zeroext %53, ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %55 unwind label %59

55:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  invoke void @_ZN8regalloc14graph_coloring12_GLOBAL__N_121fit_range_instructionERKNS_12interference5GraphEPK13IRInstructiontRK12UnorderedMapIjNS_20VirtualRegistersFileESt4hashIjESt8equal_toIjEEPNS0_17RegisterTransformEPNS0_9SpillPlanE(ptr noundef nonnull align 8 dereferenceable(168) %2, ptr noundef nonnull %20, i16 noundef zeroext %54, ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull %4, ptr noundef %5)
          to label %56 unwind label %61

56:                                               ; preds = %55
  call void @_ZN12UnorderedMapIjN8regalloc20VirtualRegistersFileESt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #5
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP13IRInstructionSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP13IRInstructionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %58, label %18, label %._crit_edge

59:                                               ; preds = %50, %32
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  br label %63

61:                                               ; preds = %55
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %63

63:                                               ; preds = %59, %61, %34, %49
  %.pn30.pn.pn = phi { ptr, i32 } [ %.pn30, %49 ], [ %35, %34 ], [ %62, %61 ], [ %60, %59 ]
  call void @_ZN12UnorderedMapIjN8regalloc20VirtualRegistersFileESt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #5
  br label %64

64:                                               ; preds = %63, %25
  %.pn30.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn, %63 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  resume { ptr, i32 } %.pn30.pn.pn.pn
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i16 @_ZN8regalloc14graph_coloring12_GLOBAL__N_119find_best_range_fitERKNS_12interference5GraphERKN5boost14iterator_rangeIPKjEEttRK12UnorderedMapIjNS_20VirtualRegistersFileESt4hashIjESt8equal_toIjEERKSD_IjjSG_SI_E(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(16), i16 noundef zeroext, i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3

declare { ptr, ptr } @_ZNK13IRInstruction4srcsEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN8regalloc14graph_coloring12_GLOBAL__N_121fit_range_instructionERKNS_12interference5GraphEPK13IRInstructiontRK12UnorderedMapIjNS_20VirtualRegistersFileESt4hashIjESt8equal_toIjEEPNS0_17RegisterTransformEPNS0_9SpillPlanE(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef, i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

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


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