; 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::set" = type { %"class.std::_Rb_tree.168" }
%"class.std::_Rb_tree.168" = type { %"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.UnorderedSet.173 = type { %"class.std::unordered_set.175" }
%"class.std::unordered_set.175" = type { %"class.std::_Hashtable.176" }
%"class.std::_Hashtable.176" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.UnorderedMap<unsigned int, regalloc::interference::Node>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator.189" = type { %"struct.std::__detail::_Node_iterator_base.190" }
%"struct.std::__detail::_Node_iterator_base.190" = type { ptr }
%"struct.std::pair.198" = type <{ %"struct.std::_Rb_tree_const_iterator.200", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator.200" = type { ptr }
%"struct.std::pair.202" = type <{ %"class.UnorderedSet<unsigned int>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedSet<unsigned int>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.204" }
%"struct.std::__detail::_Node_iterator.204" = type { %"struct.std::__detail::_Node_iterator_base.205" }
%"struct.std::__detail::_Node_iterator_base.205" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { ptr }

@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8regalloc14graph_coloring9Allocator8simplifyEPNS_12interference5GraphEPSt5stackIjSt5dequeIjSaIjEEESA_(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::set", align 8
  %10 = alloca %class.UnorderedSet.173, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.UnorderedMap<unsigned int, regalloc::interference::Node>::UnorderedIterable", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator.189", align 8
  %16 = alloca %"struct.std::__detail::_Node_iterator.189", align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.std::pair.198", align 8
  %22 = alloca %"struct.std::pair.202", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::_Rb_tree_const_iterator.200", align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca %"struct.std::pair.198", align 8
  %32 = alloca %"class.UnorderedSet<unsigned int>::FixedIterator", align 8
  %33 = alloca %class.anon, align 8
  %34 = alloca %"struct.std::pair.198", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %35 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #5
  call void @_ZNSt3setIjSt4lessIjESaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr %10) #5
  invoke void @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %36 unwind label %56

36:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN8regalloc12interference5Graph5nodesEv(ptr noundef nonnull align 8 dereferenceable(168) %37)
          to label %39 unwind label %60

39:                                               ; preds = %36
  %40 = invoke ptr @_Z17UnorderedIterableI12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESB_EEbE4typeELb1EEDaRSB_(ptr noundef nonnull align 8 dereferenceable(56) %38)
          to label %41 unwind label %60

41:                                               ; preds = %39
  %42 = getelementptr inbounds %"class.UnorderedMap<unsigned int, regalloc::interference::Node>::UnorderedIterable", ptr %14, i32 0, i32 0
  store ptr %40, ptr %42, align 8
  store ptr %14, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %43 = load ptr, ptr %13, align 8, !tbaa !5
  %44 = invoke ptr @_ZN12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %45 unwind label %64

45:                                               ; preds = %41
  %46 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.189", ptr %15, i32 0, i32 0
  %47 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.190", ptr %46, i32 0, i32 0
  store ptr %44, ptr %47, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = invoke ptr @_ZN12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %50 unwind label %68

50:                                               ; preds = %45
  %51 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.189", ptr %16, i32 0, i32 0
  %52 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.190", ptr %51, i32 0, i32 0
  store ptr %49, ptr %52, align 8
  br label %53

53:                                               ; preds = %118, %50
  %54 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN8regalloc12interference4NodeEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br i1 %54, label %72, label %55

55:                                               ; preds = %53
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #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 %123

56:                                               ; preds = %4
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %11, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %12, align 4
  br label %282

60:                                               ; preds = %39, %36
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %11, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %12, align 4
  br label %122

64:                                               ; preds = %41
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %11, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %12, align 4
  br label %121

68:                                               ; preds = %45
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %11, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %12, align 4
  br label %120

72:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %73 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjN8regalloc12interference4NodeEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  store ptr %73, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %74 = load ptr, ptr %18, align 8, !tbaa !5
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EKjN8regalloc12interference4NodeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERS8_(ptr noundef nonnull align 8 dereferenceable(64) %74) #5
  store ptr %75, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %76 = load ptr, ptr %18, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZSt3getILm1EKjN8regalloc12interference4NodeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERS8_(ptr noundef nonnull align 8 dereferenceable(64) %76) #5
  store ptr %77, ptr %20, align 8, !tbaa !5
  %78 = load ptr, ptr %20, align 8, !tbaa !5
  %79 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node9is_activeEv(ptr noundef nonnull align 8 dereferenceable(56) %78)
          to label %80 unwind label %90

80:                                               ; preds = %72
  br i1 %79, label %81, label %89

81:                                               ; preds = %80
  %82 = load ptr, ptr %20, align 8, !tbaa !5
  %83 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node8is_paramEv(ptr noundef nonnull align 8 dereferenceable(56) %82)
          to label %84 unwind label %90

84:                                               ; preds = %81
  br i1 %83, label %89, label %85

85:                                               ; preds = %84
  %86 = load ptr, ptr %20, align 8, !tbaa !5
  %87 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node8is_rangeEv(ptr noundef nonnull align 8 dereferenceable(56) %86)
          to label %88 unwind label %90

88:                                               ; preds = %85
  br i1 %87, label %89, label %94

89:                                               ; preds = %88, %84, %80
  store i32 3, ptr %17, align 4
  br label %115

90:                                               ; preds = %106, %98, %94, %85, %81, %72
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %11, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %120

94:                                               ; preds = %88
  %95 = load ptr, ptr %20, align 8, !tbaa !5
  %96 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node20definitely_colorableEv(ptr noundef nonnull align 8 dereferenceable(56) %95)
          to label %97 unwind label %90

97:                                               ; preds = %94
  br i1 %96, label %98, label %106

98:                                               ; preds = %97
  %99 = load ptr, ptr %19, align 8, !tbaa !5
  %100 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE7emplaceIJRKjEEESt4pairISt23_Rb_tree_const_iteratorIjEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %99)
          to label %101 unwind label %90

101:                                              ; preds = %98
  %102 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 0
  %103 = extractvalue { ptr, i8 } %100, 0
  store ptr %103, ptr %102, align 8
  %104 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 1
  %105 = extractvalue { ptr, i8 } %100, 1
  store i8 %105, ptr %104, align 8
  br label %114

106:                                              ; preds = %97
  %107 = load ptr, ptr %19, align 8, !tbaa !5
  %108 = invoke { ptr, i8 } @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEE7emplaceIJRKjEEESt4pairINS4_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 4 dereferenceable(4) %107)
          to label %109 unwind label %90

109:                                              ; preds = %106
  %110 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 0
  %111 = extractvalue { ptr, i8 } %108, 0
  store ptr %111, ptr %110, align 8
  %112 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 1
  %113 = extractvalue { ptr, i8 } %108, 1
  store i8 %113, ptr %112, align 8
  br label %114

114:                                              ; preds = %109, %101
  store i32 0, ptr %17, align 4
  br label %115

115:                                              ; preds = %114, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %116 = load i32, ptr %17, align 4
  switch i32 %116, label %288 [
    i32 0, label %117
    i32 3, label %118
  ]

117:                                              ; preds = %115
  br label %118

118:                                              ; preds = %117, %115
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKjN8regalloc12interference4NodeEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br label %53

120:                                              ; preds = %90, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %121

121:                                              ; preds = %120, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %122

122:                                              ; preds = %121, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %281

123:                                              ; preds = %55
  br label %124

124:                                              ; preds = %279, %123
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %233, %125
  %127 = call noundef zeroext i1 @_ZNKSt3setIjSt4lessIjESaIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  %128 = xor i1 %127, true
  br i1 %128, label %129, label %235

129:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %130 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  %131 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.200", ptr %24, i32 0, i32 0
  store ptr %130, ptr %131, align 8
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  %133 = load i32, ptr %132, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  store i32 %133, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = load i32, ptr %23, align 4, !tbaa !9
  %136 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8regalloc12interference5Graph8get_nodeEj(ptr noundef nonnull align 8 dereferenceable(168) %134, i32 noundef %135)
          to label %137 unwind label %144

137:                                              ; preds = %129
  store ptr %136, ptr %25, align 8, !tbaa !5
  br label %138

138:                                              ; preds = %137
  %139 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 111, i32 noundef 6)
          to label %140 unwind label %144

140:                                              ; preds = %138
  br i1 %139, label %141, label %148

141:                                              ; preds = %140
  %142 = load i32, ptr %23, align 4, !tbaa !9
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 111, i32 noundef 6, i1 noundef zeroext false, ptr noundef @.str.12, i32 noundef %142)
          to label %143 unwind label %144

143:                                              ; preds = %141
  br label %148

144:                                              ; preds = %168, %165, %162, %159, %153, %150, %141, %138, %129
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %11, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %12, align 4
  br label %234

148:                                              ; preds = %143, %140
  br label %149

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  %151 = load ptr, ptr %25, align 8, !tbaa !5
  %152 = invoke noundef zeroext i16 @_ZNK8regalloc12interference4Node8max_vregEv(ptr noundef nonnull align 8 dereferenceable(56) %151)
          to label %153 unwind label %144

153:                                              ; preds = %150
  %154 = zext i16 %152 to i32
  %155 = invoke noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext 16)
          to label %156 unwind label %144

156:                                              ; preds = %153
  %157 = zext i16 %155 to i32
  %158 = icmp slt i32 %154, %157
  br i1 %158, label %159, label %162

159:                                              ; preds = %156
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNSt5stackIjSt5dequeIjSaIjEEE4pushERKj(ptr noundef nonnull align 8 dereferenceable(80) %160, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %161 unwind label %144

161:                                              ; preds = %159
  br label %165

162:                                              ; preds = %156
  %163 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZNSt5stackIjSt5dequeIjSaIjEEE4pushERKj(ptr noundef nonnull align 8 dereferenceable(80) %163, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %164 unwind label %144

164:                                              ; preds = %162
  br label %165

165:                                              ; preds = %164, %161
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = load i32, ptr %23, align 4, !tbaa !9
  invoke void @_ZN8regalloc12interference5Graph11remove_nodeEj(ptr noundef nonnull align 8 dereferenceable(168) %166, i32 noundef %167)
          to label %168 unwind label %144

168:                                              ; preds = %165
  %169 = invoke noundef i64 @_ZNSt3setIjSt4lessIjESaIjEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %170 unwind label %144

170:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %171 = load ptr, ptr %25, align 8, !tbaa !5
  %172 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8regalloc12interference4Node8adjacentEv(ptr noundef nonnull align 8 dereferenceable(56) %171)
          to label %173 unwind label %183

173:                                              ; preds = %170
  store ptr %172, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %174 = load ptr, ptr %26, align 8, !tbaa !5
  %175 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %174) #5
  %176 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %175, ptr %176, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %177 = load ptr, ptr %26, align 8, !tbaa !5
  %178 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %177) #5
  %179 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %178, ptr %179, align 8
  br label %180

180:                                              ; preds = %230, %173
  %181 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  br i1 %181, label %187, label %182

182:                                              ; preds = %180
  store i32 10, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %233

183:                                              ; preds = %170
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %11, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %12, align 4
  br label %232

187:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #5
  %189 = load i32, ptr %188, align 4, !tbaa !9
  store i32 %189, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = load i32, ptr %29, align 4, !tbaa !9
  %192 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8regalloc12interference5Graph8get_nodeEj(ptr noundef nonnull align 8 dereferenceable(168) %190, i32 noundef %191)
          to label %193 unwind label %206

193:                                              ; preds = %187
  store ptr %192, ptr %30, align 8, !tbaa !5
  %194 = load ptr, ptr %30, align 8, !tbaa !5
  %195 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node9is_activeEv(ptr noundef nonnull align 8 dereferenceable(56) %194)
          to label %196 unwind label %206

196:                                              ; preds = %193
  br i1 %195, label %197, label %205

197:                                              ; preds = %196
  %198 = load ptr, ptr %30, align 8, !tbaa !5
  %199 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node8is_paramEv(ptr noundef nonnull align 8 dereferenceable(56) %198)
          to label %200 unwind label %206

200:                                              ; preds = %197
  br i1 %199, label %205, label %201

201:                                              ; preds = %200
  %202 = load ptr, ptr %30, align 8, !tbaa !5
  %203 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node8is_rangeEv(ptr noundef nonnull align 8 dereferenceable(56) %202)
          to label %204 unwind label %206

204:                                              ; preds = %201
  br i1 %203, label %205, label %210

205:                                              ; preds = %204, %200, %196
  store i32 11, ptr %17, align 4
  br label %224

206:                                              ; preds = %216, %214, %210, %201, %197, %193, %187
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %11, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %232

210:                                              ; preds = %204
  %211 = load ptr, ptr %30, align 8, !tbaa !5
  %212 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node20definitely_colorableEv(ptr noundef nonnull align 8 dereferenceable(56) %211)
          to label %213 unwind label %206

213:                                              ; preds = %210
  br i1 %212, label %214, label %223

214:                                              ; preds = %213
  %215 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE7emplaceIJRjEEESt4pairISt23_Rb_tree_const_iteratorIjEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %216 unwind label %206

216:                                              ; preds = %214
  %217 = getelementptr inbounds { ptr, i8 }, ptr %31, i32 0, i32 0
  %218 = extractvalue { ptr, i8 } %215, 0
  store ptr %218, ptr %217, align 8
  %219 = getelementptr inbounds { ptr, i8 }, ptr %31, i32 0, i32 1
  %220 = extractvalue { ptr, i8 } %215, 1
  store i8 %220, ptr %219, align 8
  %221 = invoke noundef i64 @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %222 unwind label %206

222:                                              ; preds = %216
  br label %223

223:                                              ; preds = %222, %213
  store i32 0, ptr %17, align 4
  br label %224

224:                                              ; preds = %223, %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  %225 = load i32, ptr %17, align 4
  switch i32 %225, label %227 [
    i32 0, label %226
  ]

226:                                              ; preds = %224
  store i32 0, ptr %17, align 4
  br label %227

227:                                              ; preds = %226, %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  %228 = load i32, ptr %17, align 4
  switch i32 %228, label %288 [
    i32 0, label %229
    i32 11, label %230
  ]

229:                                              ; preds = %227
  br label %230

230:                                              ; preds = %229, %227
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #5
  br label %180

232:                                              ; preds = %206, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %234

233:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %126, !llvm.loop !11

234:                                              ; preds = %232, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %281

235:                                              ; preds = %126
  %236 = invoke noundef zeroext i1 @_ZNK12UnorderedSetIjSt4hashIjESt8equal_toIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %237 unwind label %239

237:                                              ; preds = %235
  br i1 %236, label %238, label %243

238:                                              ; preds = %237
  br label %280

239:                                              ; preds = %235
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %11, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %12, align 4
  br label %281

243:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %244 = getelementptr inbounds %class.anon, ptr %33, i32 0, i32 0
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %245, ptr %244, align 8, !tbaa !13
  %246 = getelementptr inbounds %class.anon, ptr %33, i32 0, i32 0
  %247 = load ptr, ptr %246, align 8
  %248 = invoke ptr @"_Z21unordered_min_elementI12UnorderedSetIjSt4hashIjESt8equal_toIjEEZN8regalloc14graph_coloring9Allocator8simplifyEPNS6_12interference5GraphEPSt5stackIjSt5dequeIjSaIjEEESH_E3$_0EDaRT_T0_"(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr %247)
          to label %249 unwind label %261

249:                                              ; preds = %243
  %250 = getelementptr inbounds %"class.UnorderedSet<unsigned int>::FixedIterator", ptr %32, i32 0, i32 0
  %251 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.204", ptr %250, i32 0, i32 0
  %252 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.205", ptr %251, i32 0, i32 0
  store ptr %248, ptr %252, align 8
  br label %253

253:                                              ; preds = %249
  %254 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 111, i32 noundef 6)
          to label %255 unwind label %261

255:                                              ; preds = %253
  br i1 %254, label %256, label %265

256:                                              ; preds = %255
  %257 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK12UnorderedSetIjSt4hashIjESt8equal_toIjEE13FixedIteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %258 unwind label %261

258:                                              ; preds = %256
  %259 = load i32, ptr %257, align 4, !tbaa !9
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 111, i32 noundef 6, i1 noundef zeroext false, ptr noundef @.str.13, i32 noundef %259)
          to label %260 unwind label %261

260:                                              ; preds = %258
  br label %265

261:                                              ; preds = %277, %271, %269, %267, %258, %256, %253, %243
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %11, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %281

265:                                              ; preds = %260, %255
  br label %266

266:                                              ; preds = %265
  br label %267

267:                                              ; preds = %266
  %268 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK12UnorderedSetIjSt4hashIjESt8equal_toIjEE13FixedIteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %269 unwind label %261

269:                                              ; preds = %267
  %270 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE7emplaceIJRKjEEESt4pairISt23_Rb_tree_const_iteratorIjEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %268)
          to label %271 unwind label %261

271:                                              ; preds = %269
  %272 = getelementptr inbounds { ptr, i8 }, ptr %34, i32 0, i32 0
  %273 = extractvalue { ptr, i8 } %270, 0
  store ptr %273, ptr %272, align 8
  %274 = getelementptr inbounds { ptr, i8 }, ptr %34, i32 0, i32 1
  %275 = extractvalue { ptr, i8 } %270, 1
  store i8 %275, ptr %274, align 8
  %276 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK12UnorderedSetIjSt4hashIjESt8equal_toIjEE13FixedIteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %277 unwind label %261

277:                                              ; preds = %271
  %278 = invoke noundef i64 @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 4 dereferenceable(4) %276)
          to label %279 unwind label %261

279:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %124, !llvm.loop !15

280:                                              ; preds = %238
  call void @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #5
  call void @_ZNSt3setIjSt4lessIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #5
  ret void

281:                                              ; preds = %261, %239, %234, %122
  call void @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  br label %282

282:                                              ; preds = %281, %56
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #5
  call void @_ZNSt3setIjSt4lessIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #5
  br label %283

283:                                              ; preds = %282
  %284 = load ptr, ptr %11, align 8
  %285 = load i32, ptr %12, align 4
  %286 = insertvalue { ptr, i32 } poison, ptr %284, 0
  %287 = insertvalue { ptr, i32 } %286, i32 %285, 1
  resume { ptr, i32 } %287

288:                                              ; preds = %227, %115
  unreachable
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EKjN8regalloc12interference4NodeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERS8_(ptr noundef nonnull align 8 dereferenceable(64)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZSt3getILm1EKjN8regalloc12interference4NodeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERS8_(ptr noundef nonnull align 8 dereferenceable(64)) #3

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

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

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

declare noundef zeroext i1 @_ZNK8regalloc12interference4Node20definitely_colorableEv(ptr noundef nonnull align 8 dereferenceable(56)) #1

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8regalloc12interference5Graph8get_nodeEj(ptr noundef nonnull align 8 dereferenceable(168), i32 noundef) #1

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

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

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

declare void @_ZN8regalloc12interference5Graph11remove_nodeEj(ptr noundef nonnull align 8 dereferenceable(168), i32 noundef) #1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_Z21unordered_min_elementI12UnorderedSetIjSt4hashIjESt8equal_toIjEEZN8regalloc14graph_coloring9Allocator8simplifyEPNS6_12interference5GraphEPSt5stackIjSt5dequeIjSaIjEEESH_E3$_0EDaRT_T0_"(ptr noundef nonnull align 8 dereferenceable(56), ptr) #2

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

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

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

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


; 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::set" = type { %"class.std::_Rb_tree.168" }
%"class.std::_Rb_tree.168" = type { %"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.UnorderedSet.173 = type { %"class.std::unordered_set.175" }
%"class.std::unordered_set.175" = type { %"class.std::_Hashtable.176" }
%"class.std::_Hashtable.176" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.UnorderedMap<unsigned int, regalloc::interference::Node>::UnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_iterator.189" = type { %"struct.std::__detail::_Node_iterator_base.190" }
%"struct.std::__detail::_Node_iterator_base.190" = type { ptr }
%"struct.std::_Rb_tree_const_iterator.200" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.UnorderedSet<unsigned int>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.204" }
%"struct.std::__detail::_Node_iterator.204" = type { %"struct.std::__detail::_Node_iterator_base.205" }
%"struct.std::__detail::_Node_iterator_base.205" = type { ptr }

@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8regalloc14graph_coloring9Allocator8simplifyEPNS_12interference5GraphEPSt5stackIjSt5dequeIjSaIjEEESA_(ptr nocapture noundef nonnull readnone align 8 dereferenceable(64) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::set", align 8
  %6 = alloca %class.UnorderedSet.173, align 8
  %7 = alloca %"class.UnorderedMap<unsigned int, regalloc::interference::Node>::UnorderedIterable", align 8
  %8 = alloca %"struct.std::__detail::_Node_iterator.189", align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator.189", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::_Rb_tree_const_iterator.200", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.UnorderedSet<unsigned int>::FixedIterator", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #5
  call void @_ZNSt3setIjSt4lessIjESaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #5
  call void @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %16 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8regalloc12interference5Graph5nodesEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
  %17 = invoke ptr @_Z17UnorderedIterableI12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESB_EEbE4typeELb1EEDaRSB_(ptr noundef nonnull align 8 dereferenceable(56) %16)
          to label %18 unwind label %22

18:                                               ; preds = %4
  store ptr %17, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %19 = call ptr @_ZN12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEE17UnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  store ptr %19, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %20 = call ptr @_ZN12UnorderedMapIjN8regalloc12interference4NodeESt4hashIjESt8equal_toIjEE17UnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  store ptr %20, ptr %9, align 8
  %21 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN8regalloc12interference4NodeEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %21, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %42, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %45

22:                                               ; preds = %4
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %113

.lr.ph:                                           ; preds = %18, %42
  %24 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjN8regalloc12interference4NodeEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EKjN8regalloc12interference4NodeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERS8_(ptr noundef nonnull align 8 dereferenceable(64) %24) #5
  %26 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZSt3getILm1EKjN8regalloc12interference4NodeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERS8_(ptr noundef nonnull align 8 dereferenceable(64) %24) #5
  %27 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node9is_activeEv(ptr noundef nonnull align 8 dereferenceable(56) %26)
          to label %28 unwind label %33

28:                                               ; preds = %.lr.ph
  br i1 %27, label %29, label %42

29:                                               ; preds = %28
  %30 = call noundef zeroext i1 @_ZNK8regalloc12interference4Node8is_paramEv(ptr noundef nonnull align 8 dereferenceable(56) %26)
  br i1 %30, label %42, label %31

31:                                               ; preds = %29
  %32 = call noundef zeroext i1 @_ZNK8regalloc12interference4Node8is_rangeEv(ptr noundef nonnull align 8 dereferenceable(56) %26)
  br i1 %32, label %42, label %35

33:                                               ; preds = %40, %38, %35, %.lr.ph
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %113

35:                                               ; preds = %31
  %36 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node20definitely_colorableEv(ptr noundef nonnull align 8 dereferenceable(56) %26)
          to label %37 unwind label %33

37:                                               ; preds = %35
  br i1 %36, label %38, label %40

38:                                               ; preds = %37
  %39 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE7emplaceIJRKjEEESt4pairISt23_Rb_tree_const_iteratorIjEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %42 unwind label %33

40:                                               ; preds = %37
  %41 = invoke { ptr, i8 } @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEE7emplaceIJRKjEEESt4pairINS4_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %42 unwind label %33

42:                                               ; preds = %38, %40, %28, %29, %31
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKjN8regalloc12interference4NodeEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %44 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN8regalloc12interference4NodeEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %44, label %.lr.ph, label %._crit_edge

45:                                               ; preds = %111, %._crit_edge
  %46 = call noundef zeroext i1 @_ZNKSt3setIjSt4lessIjESaIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  br i1 %46, label %._crit_edge48, label %.lr.ph47

.lr.ph47:                                         ; preds = %45, %._crit_edge45
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %47 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  store ptr %47, ptr %11, align 8
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %49 = load i32, ptr %48, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  store i32 %49, ptr %10, align 4, !tbaa !5
  %50 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8regalloc12interference5Graph8get_nodeEj(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 noundef %49)
          to label %51 unwind label %56

51:                                               ; preds = %.lr.ph47
  %52 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 111, i32 noundef 6)
          to label %53 unwind label %56

53:                                               ; preds = %51
  br i1 %52, label %54, label %.invoke

54:                                               ; preds = %53
  %55 = load i32, ptr %10, align 4, !tbaa !5
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 111, i32 noundef 6, i1 noundef zeroext false, ptr noundef nonnull @.str.12, i32 noundef %55)
          to label %.invoke unwind label %56

56:                                               ; preds = %.invoke, %63, %61, %54, %51, %.lr.ph47
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %93

.invoke:                                          ; preds = %54, %53
  %58 = call noundef zeroext i16 @_ZNK8regalloc12interference4Node8max_vregEv(ptr noundef nonnull align 8 dereferenceable(56) %50)
  %59 = call noundef zeroext i16 @_ZN8regalloc18max_unsigned_valueEh(i8 noundef zeroext 16)
  %60 = icmp ult i16 %58, %59
  %. = select i1 %60, ptr %2, ptr %3
  invoke void @_ZNSt5stackIjSt5dequeIjSaIjEEE4pushERKj(ptr noundef nonnull align 8 dereferenceable(80) %., ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %61 unwind label %56

61:                                               ; preds = %.invoke
  %62 = load i32, ptr %10, align 4, !tbaa !5
  invoke void @_ZN8regalloc12interference5Graph11remove_nodeEj(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 noundef %62)
          to label %63 unwind label %56

63:                                               ; preds = %61
  %64 = invoke noundef i64 @_ZNSt3setIjSt4lessIjESaIjEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %65 unwind label %56

65:                                               ; preds = %63
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8regalloc12interference4Node8adjacentEv(ptr noundef nonnull align 8 dereferenceable(56) %50)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %67 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #5
  store ptr %67, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %68 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #5
  store ptr %68, ptr %13, align 8
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %69, label %.lr.ph44, label %._crit_edge45

._crit_edge45:                                    ; preds = %90, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %70 = call noundef zeroext i1 @_ZNKSt3setIjSt4lessIjESaIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  br i1 %70, label %._crit_edge48, label %.lr.ph47, !llvm.loop !9

.lr.ph44:                                         ; preds = %65, %90
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %72 = load i32, ptr %71, align 4, !tbaa !5
  store i32 %72, ptr %14, align 4, !tbaa !5
  %73 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8regalloc12interference5Graph8get_nodeEj(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 noundef %72)
          to label %74 unwind label %81

74:                                               ; preds = %.lr.ph44
  %75 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node9is_activeEv(ptr noundef nonnull align 8 dereferenceable(56) %73)
          to label %76 unwind label %81

76:                                               ; preds = %74
  br i1 %75, label %77, label %90

77:                                               ; preds = %76
  %78 = call noundef zeroext i1 @_ZNK8regalloc12interference4Node8is_paramEv(ptr noundef nonnull align 8 dereferenceable(56) %73)
  br i1 %78, label %90, label %79

79:                                               ; preds = %77
  %80 = call noundef zeroext i1 @_ZNK8regalloc12interference4Node8is_rangeEv(ptr noundef nonnull align 8 dereferenceable(56) %73)
  br i1 %80, label %90, label %83

81:                                               ; preds = %88, %86, %83, %74, %.lr.ph44
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %93

83:                                               ; preds = %79
  %84 = invoke noundef zeroext i1 @_ZNK8regalloc12interference4Node20definitely_colorableEv(ptr noundef nonnull align 8 dereferenceable(56) %73)
          to label %85 unwind label %81

85:                                               ; preds = %83
  br i1 %84, label %86, label %90

86:                                               ; preds = %85
  %87 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE7emplaceIJRjEEESt4pairISt23_Rb_tree_const_iteratorIjEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %88 unwind label %81

88:                                               ; preds = %86
  %89 = invoke noundef i64 @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %90 unwind label %81

90:                                               ; preds = %85, %88, %76, %77, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %92, label %.lr.ph44, label %._crit_edge45

93:                                               ; preds = %81, %56
  %.pn = phi { ptr, i32 } [ %82, %81 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %113

._crit_edge48:                                    ; preds = %._crit_edge45, %45
  %94 = call noundef zeroext i1 @_ZNK12UnorderedSetIjSt4hashIjESt8equal_toIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %6)
  br i1 %94, label %112, label %95

95:                                               ; preds = %._crit_edge48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %96 = invoke ptr @"_Z21unordered_min_elementI12UnorderedSetIjSt4hashIjESt8equal_toIjEEZN8regalloc14graph_coloring9Allocator8simplifyEPNS6_12interference5GraphEPSt5stackIjSt5dequeIjSaIjEEESH_E3$_0EDaRT_T0_"(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr nonnull %1)
          to label %97 unwind label %103

97:                                               ; preds = %95
  store ptr %96, ptr %15, align 8
  %98 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 111, i32 noundef 6)
          to label %99 unwind label %103

99:                                               ; preds = %97
  br i1 %98, label %100, label %105

100:                                              ; preds = %99
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK12UnorderedSetIjSt4hashIjESt8equal_toIjEE13FixedIteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %102 = load i32, ptr %101, align 4, !tbaa !5
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 111, i32 noundef 6, i1 noundef zeroext false, ptr noundef nonnull @.str.13, i32 noundef %102)
          to label %105 unwind label %103

103:                                              ; preds = %108, %105, %100, %97, %95
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %113

105:                                              ; preds = %100, %99
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK12UnorderedSetIjSt4hashIjESt8equal_toIjEE13FixedIteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %107 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE7emplaceIJRKjEEESt4pairISt23_Rb_tree_const_iteratorIjEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %106)
          to label %108 unwind label %103

108:                                              ; preds = %105
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK12UnorderedSetIjSt4hashIjESt8equal_toIjEE13FixedIteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %110 = invoke noundef i64 @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEE5eraseERKj(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 4 dereferenceable(4) %109)
          to label %111 unwind label %103

111:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %45, !llvm.loop !11

112:                                              ; preds = %._crit_edge48
  call void @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #5
  call void @_ZNSt3setIjSt4lessIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  ret void

113:                                              ; preds = %22, %33, %103, %93
  %.pn40.pn = phi { ptr, i32 } [ %.pn, %93 ], [ %104, %103 ], [ %34, %33 ], [ %23, %22 ]
  call void @_ZN12UnorderedSetIjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #5
  call void @_ZNSt3setIjSt4lessIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  resume { ptr, i32 } %.pn40.pn
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EKjN8regalloc12interference4NodeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERS8_(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZSt3getILm1EKjN8regalloc12interference4NodeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERS8_(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #3

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

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

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

declare noundef zeroext i1 @_ZNK8regalloc12interference4Node20definitely_colorableEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE7emplaceIJRKjEEESt4pairISt23_Rb_tree_const_iteratorIjEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8regalloc12interference5Graph8get_nodeEj(ptr noundef nonnull align 8 dereferenceable(168), i32 noundef) local_unnamed_addr #1

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

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

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

declare void @_ZN8regalloc12interference5Graph11remove_nodeEj(ptr noundef nonnull align 8 dereferenceable(168), i32 noundef) local_unnamed_addr #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE7emplaceIJRjEEESt4pairISt23_Rb_tree_const_iteratorIjEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_Z21unordered_min_elementI12UnorderedSetIjSt4hashIjESt8equal_toIjEEZN8regalloc14graph_coloring9Allocator8simplifyEPNS6_12interference5GraphEPSt5stackIjSt5dequeIjSaIjEEESH_E3$_0EDaRT_T0_"(ptr noundef nonnull align 8 dereferenceable(56), ptr) local_unnamed_addr #2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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