; LLVM IR from facebook/redex :: libredex (ControlFlow)

; 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.anon.605 = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::vector.223" = type { %"struct.std::_Vector_base.224" }
%"struct.std::_Vector_base.224" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.228" = type { ptr }
%"class.cfg::ControlFlowGraph" = type { %"class.std::map", %class.UnorderedSet, ptr, ptr, ptr, i32, i8, i8, i8, %"class.std::vector" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, cfg::Block *>, std::_Select1st<std::pair<const unsigned long, cfg::Block *>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, cfg::Block *>, std::_Select1st<std::pair<const unsigned long, cfg::Block *>>, std::less<unsigned long>>::_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 = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl" = type { %"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<IRInstruction *, std::allocator<IRInstruction *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.178" = type { i64, ptr }

@.str.8 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN3cfg16ControlFlowGraph5DEBUGE = external dso_local global i8, align 1
@.str.82 = external hidden unnamed_addr constant [37 x i8], align 1
@__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE = external hidden unnamed_addr constant [124 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [34 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 void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(160), i1 noundef zeroext) #2

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

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

; 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 nounwind uwtable
declare dso_local ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef %1, ptr noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.anon.605, align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %9 = alloca i64, align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca %"class.std::vector.223", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.228", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.228", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca i1, align 1
  %26 = alloca i1, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %27 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  %28 = getelementptr inbounds %class.anon.605, ptr %7, i32 0, i32 0
  store ptr %6, ptr %28, align 8, !tbaa !5
  %29 = getelementptr inbounds %class.anon.605, ptr %7, i32 0, i32 1
  store ptr %27, ptr %29, align 8, !tbaa !9
  %30 = getelementptr inbounds %class.anon.605, ptr %7, i32 0, i32 2
  store ptr %5, ptr %30, align 8, !tbaa !5
  %31 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %27, i32 0, i32 3
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %35

34:                                               ; preds = %3
  br label %37

35:                                               ; preds = %3
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.82, ptr noundef @.str.8, i32 noundef 1947, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef @.str.9) #8
  unreachable

36:                                               ; No predecessors!
  br label %37

37:                                               ; preds = %36, %34
  %38 = load i8, ptr @_ZN3cfg16ControlFlowGraph5DEBUGE, align 1, !tbaa !34, !range !35, !noundef !36
  %39 = trunc i8 %38 to i1
  br i1 %39, label %40, label %65

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %41 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %27, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %42 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %27, i32 0, i32 3
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %43)
  store i64 %44, ptr %9, align 8, !tbaa !37
  %45 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(48) %41, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %46 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %8, i32 0, i32 0
  store ptr %45, ptr %46, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKmPN3cfg5BlockEEEC2ERKSt17_Rb_tree_iteratorIS5_E(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %47 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %27, i32 0, i32 0
  %48 = call ptr @_ZNKSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE4cendEv(ptr noundef nonnull align 8 dereferenceable(48) %47) #7
  %49 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %11, i32 0, i32 0
  store ptr %48, ptr %49, align 8
  %50 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br i1 %50, label %51, label %52

51:                                               ; preds = %40
  br label %54

52:                                               ; preds = %40
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.83, ptr noundef @.str.8, i32 noundef 1950, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef @.str.9) #8
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %55 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %56 = getelementptr inbounds %"struct.std::pair.178", ptr %55, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !38
  %58 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %27, i32 0, i32 3
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = icmp eq ptr %57, %59
  br i1 %60, label %61, label %62

61:                                               ; preds = %54
  br label %64

62:                                               ; preds = %54
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.84, ptr noundef @.str.8, i32 noundef 1951, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef @.str.9) #8
  unreachable

63:                                               ; No predecessors!
  br label %64

64:                                               ; preds = %63, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %65

65:                                               ; preds = %64, %37
  %66 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %27, i32 0, i32 3
  %67 = load ptr, ptr %66, align 8, !tbaa !11
  call void @"_ZZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EEENK3$_0clES4_"(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef %67)
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %68 = getelementptr inbounds %"class.cfg::ControlFlowGraph", ptr %27, i32 0, i32 0
  store ptr %68, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %69) #7
  %71 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %14, i32 0, i32 0
  store ptr %70, ptr %71, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %72) #7
  %74 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %15, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  br label %75

75:                                               ; preds = %105, %65
  %76 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %76, label %78, label %77

77:                                               ; preds = %75
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %107

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %79 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  store ptr %79, ptr %17, align 8, !tbaa !5
  %80 = load ptr, ptr %17, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.std::pair.178", ptr %80, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8, !tbaa !38
  %83 = invoke noundef zeroext i1 @_ZNK3cfg5Block23starts_with_move_resultEv(ptr noundef nonnull align 8 dereferenceable(104) %82)
          to label %84 unwind label %92

84:                                               ; preds = %78
  br i1 %83, label %85, label %97

85:                                               ; preds = %84
  %86 = load i8, ptr @_ZN3cfg16ControlFlowGraph5DEBUGE, align 1, !tbaa !34, !range !35, !noundef !36
  %87 = trunc i8 %86 to i1
  br i1 %87, label %88, label %96

88:                                               ; preds = %85
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.std::pair.178", ptr %89, i32 0, i32 1
  invoke void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(8) %90)
          to label %91 unwind label %92

91:                                               ; preds = %88
  br label %96

92:                                               ; preds = %97, %88, %78
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %18, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %167

96:                                               ; preds = %91, %85
  store i32 3, ptr %16, align 4
  br label %102

97:                                               ; preds = %84
  %98 = load ptr, ptr %17, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.std::pair.178", ptr %98, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8, !tbaa !38
  invoke void @"_ZZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EEENK3$_0clES4_"(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef %100)
          to label %101 unwind label %92

101:                                              ; preds = %97
  store i32 0, ptr %16, align 4
  br label %102

102:                                              ; preds = %101, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  %103 = load i32, ptr %16, align 4
  switch i32 %103, label %173 [
    i32 0, label %104
    i32 3, label %105
  ]

104:                                              ; preds = %102
  br label %105

105:                                              ; preds = %104, %102
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %75

107:                                              ; preds = %77
  %108 = load i8, ptr @_ZN3cfg16ControlFlowGraph5DEBUGE, align 1, !tbaa !34, !range !35, !noundef !36
  %109 = trunc i8 %108 to i1
  br i1 %109, label %110, label %166

110:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store ptr %12, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %111 = load ptr, ptr %20, align 8, !tbaa !5
  %112 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #7
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.228", ptr %21, i32 0, i32 0
  store ptr %112, ptr %113, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %114 = load ptr, ptr %20, align 8, !tbaa !5
  %115 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #7
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.228", ptr %22, i32 0, i32 0
  store ptr %115, ptr %116, align 8
  br label %117

117:                                              ; preds = %156, %110
  %118 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %118, label %120, label %119

119:                                              ; preds = %117
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %165

120:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %122 = load ptr, ptr %121, align 8, !tbaa !5
  store ptr %122, ptr %23, align 8, !tbaa !5
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  store i1 false, ptr %25, align 1
  store i1 false, ptr %26, align 1
  %124 = invoke noundef i64 @_ZNK12UnorderedMapIPN3cfg5BlockEPSt6vectorIS2_SaIS2_EESt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %123, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %125 unwind label %135

125:                                              ; preds = %120
  %126 = icmp ugt i64 %124, 0
  br i1 %126, label %127, label %128

127:                                              ; preds = %125
  br label %149

128:                                              ; preds = %125
  %129 = load ptr, ptr %23, align 8, !tbaa !5
  %130 = invoke noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %129)
          to label %131 unwind label %135

131:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #7
  store i1 true, ptr %25, align 1
  invoke void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(160) %27, i1 noundef zeroext false)
          to label %132 unwind label %139

132:                                              ; preds = %131
  store i1 true, ptr %26, align 1
  %133 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.85, ptr noundef @.str.8, i32 noundef 1976, ptr noundef @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef @.str.86, i64 noundef %130, ptr noundef %133) #8
          to label %134 unwind label %143

134:                                              ; preds = %132
  unreachable

135:                                              ; preds = %128, %120
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %18, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %19, align 4
  br label %164

139:                                              ; preds = %131
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %18, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %19, align 4
  br label %160

143:                                              ; preds = %132
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %18, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %19, align 4
  %147 = load i1, ptr %26, align 1
  br i1 %147, label %158, label %159

148:                                              ; No predecessors!
  br label %149

149:                                              ; preds = %148, %127
  %150 = load i1, ptr %26, align 1
  br i1 %150, label %151, label %152

151:                                              ; preds = %149
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %152

152:                                              ; preds = %151, %149
  %153 = load i1, ptr %25, align 1
  br i1 %153, label %154, label %155

154:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  br label %155

155:                                              ; preds = %154, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %156

156:                                              ; preds = %155
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br label %117

158:                                              ; preds = %143
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %159

159:                                              ; preds = %158, %143
  br label %160

160:                                              ; preds = %159, %139
  %161 = load i1, ptr %25, align 1
  br i1 %161, label %162, label %163

162:                                              ; preds = %160
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  br label %163

163:                                              ; preds = %162, %160
  br label %164

164:                                              ; preds = %163, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %167

165:                                              ; preds = %119
  br label %166

166:                                              ; preds = %165, %107
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  ret void

167:                                              ; preds = %164, %92
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  br label %168

168:                                              ; preds = %167
  %169 = load ptr, ptr %18, align 8
  %170 = load i32, ptr %19, align 4
  %171 = insertvalue { ptr, i32 } poison, ptr %169, 0
  %172 = insertvalue { ptr, i32 } %171, i32 %170, 1
  resume { ptr, i32 } %172

173:                                              ; preds = %102
  unreachable
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EEENK3$_0clES4_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK12UnorderedMapIPN3cfg5BlockEPSt6vectorIS2_SaIS2_EESt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #4 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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EEE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!12, !6, i64 112}
!12 = !{!"_ZTSN3cfg16ControlFlowGraphE", !13, i64 0, !22, i64 48, !6, i64 104, !6, i64 112, !6, i64 120, !28, i64 128, !29, i64 132, !29, i64 133, !29, i64 134, !30, i64 136}
!13 = !{!"_ZTSSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeImSt4pairIKmPN3cfg5BlockEESt10_Select1stIS5_ESt4lessImESaIS5_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKmPN3cfg5BlockEESt10_Select1stIS5_ESt4lessImESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessImE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTS12UnorderedSetIPN3cfg4EdgeESt4hashIS2_ESt8equal_toIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt13unordered_setIPN3cfg4EdgeESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt10_HashtableIPN3cfg4EdgeES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !21, i64 8, !25, i64 16, !21, i64 24, !26, i64 32, !6, i64 48}
!25 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!26 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !27, i64 0, !21, i64 8}
!27 = !{!"float", !7, i64 0}
!28 = !{!"int", !7, i64 0}
!29 = !{!"bool", !7, i64 0}
!30 = !{!"_ZTSSt6vectorIP13IRInstructionSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIP13IRInstructionSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!29, !29, i64 0}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!21, !21, i64 0}
!38 = !{!39, !6, i64 8}
!39 = !{!"_ZTSSt4pairIKmPN3cfg5BlockEE", !21, i64 0, !6, i64 8}


; 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.anon.605 = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::vector.223" = type { %"struct.std::_Vector_base.224" }
%"struct.std::_Vector_base.224" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cfg::Block *, std::allocator<cfg::Block *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.228" = type { ptr }

@.str.8 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN3cfg16ControlFlowGraph5DEBUGE = external dso_local local_unnamed_addr global i8, align 1
@.str.82 = external hidden unnamed_addr constant [37 x i8], align 1
@__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE = external hidden unnamed_addr constant [124 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [34 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 void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(160), i1 noundef zeroext) local_unnamed_addr #2

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

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

; 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 nounwind uwtable
declare dso_local ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %class.anon.605, align 8
  %7 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %8 = alloca i64, align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca %"class.std::vector.223", align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.228", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.228", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  store ptr %2, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  store ptr %5, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %0, ptr %18, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %6, i64 16
  store ptr %4, ptr %19, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %0, i64 112
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %.not = icmp eq ptr %21, null
  br i1 %.not, label %22, label %23

22:                                               ; preds = %3
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.8, i32 noundef 1947, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef nonnull @.str.9) #8
  unreachable

23:                                               ; preds = %3
  %24 = load i8, ptr @_ZN3cfg16ControlFlowGraph5DEBUGE, align 1, !tbaa !34, !range !35, !noundef !36
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %26, label %40

26:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %27 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %21)
  store i64 %27, ptr %8, align 8, !tbaa !37
  %28 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE4findERS6_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(8) %8)
  store ptr %28, ptr %7, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKmPN3cfg5BlockEEEC2ERKSt17_Rb_tree_iteratorIS5_E(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %29 = call ptr @_ZNKSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE4cendEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  store ptr %29, ptr %10, align 8
  %30 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %30, label %32, label %31

31:                                               ; preds = %26
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.83, ptr noundef nonnull @.str.8, i32 noundef 1950, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef nonnull @.str.9) #8
  unreachable

32:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  %33 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %34 = getelementptr inbounds i8, ptr %33, i64 8
  %35 = load ptr, ptr %34, align 8, !tbaa !38
  %36 = load ptr, ptr %20, align 8, !tbaa !11
  %37 = icmp eq ptr %35, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %32
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str.8, i32 noundef 1951, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef nonnull @.str.9) #8
  unreachable

39:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %40

40:                                               ; preds = %39, %23
  %41 = phi ptr [ %36, %39 ], [ %21, %23 ]
  call void @"_ZZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EEENK3$_0clES4_"(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef %41)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %42 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  store ptr %42, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %43 = call ptr @_ZNSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  store ptr %43, ptr %13, align 8
  %44 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %44, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %60, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  %45 = load i8, ptr @_ZN3cfg16ControlFlowGraph5DEBUGE, align 1, !tbaa !34, !range !35, !noundef !36
  %46 = trunc nuw i8 %45 to i1
  br i1 %46, label %63, label %89

.lr.ph:                                           ; preds = %40, %60
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = load ptr, ptr %48, align 8, !tbaa !38
  %50 = invoke noundef zeroext i1 @_ZNK3cfg5Block23starts_with_move_resultEv(ptr noundef nonnull align 8 dereferenceable(104) %49)
          to label %51 unwind label %56

51:                                               ; preds = %.lr.ph
  br i1 %50, label %52, label %58

52:                                               ; preds = %51
  %53 = load i8, ptr @_ZN3cfg16ControlFlowGraph5DEBUGE, align 1, !tbaa !34, !range !35, !noundef !36
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %55, label %60

55:                                               ; preds = %52
  invoke void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %60 unwind label %56

56:                                               ; preds = %58, %55, %.lr.ph
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %90

58:                                               ; preds = %51
  %59 = load ptr, ptr %48, align 8, !tbaa !38
  invoke void @"_ZZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EEENK3$_0clES4_"(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef %59)
          to label %60 unwind label %56

60:                                               ; preds = %58, %52, %55
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %62 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmPN3cfg5BlockEEES8_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %62, label %.lr.ph, label %._crit_edge

63:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %64 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %64, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %65 = call ptr @_ZNSt6vectorIPN3cfg5BlockESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %65, ptr %15, align 8
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %66, label %.lr.ph22, label %._crit_edge23

._crit_edge23:                                    ; preds = %84, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %89

.lr.ph22:                                         ; preds = %63, %84
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  store ptr %68, ptr %16, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = invoke noundef i64 @_ZNK12UnorderedMapIPN3cfg5BlockEPSt6vectorIS2_SaIS2_EESt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %69, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %71 unwind label %78

71:                                               ; preds = %.lr.ph22
  %.not16 = icmp eq i64 %70, 0
  br i1 %.not16, label %72, label %84

72:                                               ; preds = %71
  %73 = load ptr, ptr %16, align 8, !tbaa !5
  %74 = call noundef i64 @_ZNK3cfg5Block2idEv(ptr noundef nonnull align 8 dereferenceable(104) %73)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #7
  invoke void @_Z4showB5cxx11RKN3cfg16ControlFlowGraphEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(160) %0, i1 noundef zeroext false)
          to label %75 unwind label %80

75:                                               ; preds = %72
  %76 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.8, i32 noundef 1976, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EE, i32 noundef 2, ptr noundef nonnull @.str.86, i64 noundef %74, ptr noundef %76) #8
          to label %77 unwind label %82

77:                                               ; preds = %75
  unreachable

78:                                               ; preds = %.lr.ph22
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %88

80:                                               ; preds = %72
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %87

82:                                               ; preds = %75
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %87

84:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3cfg5BlockESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %86, label %.lr.ph22, label %._crit_edge23

87:                                               ; preds = %80, %82
  %.pn = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br label %88

88:                                               ; preds = %87, %78
  %.pn.pn = phi { ptr, i32 } [ %.pn, %87 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %90

89:                                               ; preds = %._crit_edge23, %._crit_edge
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  ret void

90:                                               ; preds = %88, %56
  %.pn19 = phi { ptr, i32 } [ %57, %56 ], [ %.pn.pn, %88 ]
  call void @_ZNSt6vectorIPN3cfg5BlockESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  resume { ptr, i32 } %.pn19
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EEENK3$_0clES4_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK12UnorderedMapIPN3cfg5BlockEPSt6vectorIS2_SaIS2_EESt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSZN3cfg16ControlFlowGraph12build_chainsEPSt6vectorISt10unique_ptrIS1_IPNS_5BlockESaIS4_EESt14default_deleteIS6_EESaIS9_EEP12UnorderedMapIS4_PS6_St4hashIS4_ESt8equal_toIS4_EEE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!12, !6, i64 112}
!12 = !{!"_ZTSN3cfg16ControlFlowGraphE", !13, i64 0, !22, i64 48, !6, i64 104, !6, i64 112, !6, i64 120, !28, i64 128, !29, i64 132, !29, i64 133, !29, i64 134, !30, i64 136}
!13 = !{!"_ZTSSt3mapImPN3cfg5BlockESt4lessImESaISt4pairIKmS2_EEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeImSt4pairIKmPN3cfg5BlockEESt10_Select1stIS5_ESt4lessImESaIS5_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKmPN3cfg5BlockEESt10_Select1stIS5_ESt4lessImESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessImE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTS12UnorderedSetIPN3cfg4EdgeESt4hashIS2_ESt8equal_toIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt13unordered_setIPN3cfg4EdgeESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt10_HashtableIPN3cfg4EdgeES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !21, i64 8, !25, i64 16, !21, i64 24, !26, i64 32, !6, i64 48}
!25 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!26 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !27, i64 0, !21, i64 8}
!27 = !{!"float", !7, i64 0}
!28 = !{!"int", !7, i64 0}
!29 = !{!"bool", !7, i64 0}
!30 = !{!"_ZTSSt6vectorIP13IRInstructionSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIP13IRInstructionSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP13IRInstructionSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!29, !29, i64 0}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!21, !21, i64 0}
!38 = !{!39, !6, i64 8}
!39 = !{!"_ZTSSt4pairIKmPN3cfg5BlockEE", !21, i64 0, !6, i64 8}


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