; LLVM IR from thepowersgang/mrustc :: src/hir/deserialise.ll (ZN15HirDeserialiser17deserialise_traitEv)

; 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.HIR::serialise::Reader::CloseOnDrop" = type { ptr }
%"class.HIR::GenericParams" = type { %"class.std::vector.53", %"class.std::vector.58", %"class.std::vector.63", %"class.std::vector.68" }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.68" = type { %"struct.std::_Vector_base.69" }
%"struct.std::_Vector_base.69" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"class.HIR::Trait" = type { %"class.HIR::GenericParams", %"struct.HIR::LifetimeRef", %"class.std::vector.43", i8, %"class.std::unordered_map", %"class.std::unordered_map.118", %"class.std::unordered_multimap", %"class.std::unordered_map.145", i32, %"class.std::vector.43", %"struct.HIR::SimplePath" }
%"struct.HIR::LifetimeRef" = type { i32 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.118" = type { %"class.std::_Hashtable.119" }
%"class.std::_Hashtable.119" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_multimap" = type { %"class.std::_Hashtable.132" }
%"class.std::_Hashtable.132" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.145" = type { %"class.std::_Hashtable.146" }
%"class.std::_Hashtable.146" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = type { %"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.HirDeserialiser = type { %class.RcString, %"class.std::vector", ptr }
%class.RcString = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@__func__._ZN15HirDeserialiser17deserialise_traitEv = external hidden unnamed_addr constant [18 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_117des_debug_enabledEv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR9serialise6Reader11open_objectEPKc(ptr dead_on_unwind noalias writable sret(%"class.HIR::serialise::Reader::CloseOnDrop") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser25deserialise_genericparamsEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::GenericParams") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser22deserialise_simplepathEv(ptr dead_on_unwind noalias writable sret(%"struct.HIR::SimplePath") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

declare void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR10SimplePathaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15HirDeserialiser17deserialise_traitEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::Trait") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %"class.HIR::serialise::Reader::CloseOnDrop", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i1, align 1
  %10 = alloca %"class.HIR::GenericParams", align 8
  %11 = alloca %"struct.HIR::LifetimeRef", align 4
  %12 = alloca %"class.std::vector.43", align 8
  %13 = alloca %"struct.HIR::LifetimeRef", align 4
  %14 = alloca %"class.std::unordered_map", align 8
  %15 = alloca %"class.std::unordered_map.118", align 8
  %16 = alloca %"class.std::unordered_multimap", align 8
  %17 = alloca %"class.std::unordered_map.145", align 8
  %18 = alloca %"class.std::vector.43", align 8
  %19 = alloca %"struct.HIR::SimplePath", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #9
  %21 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %21, label %22, label %24

22:                                               ; preds = %2
  %23 = call noundef zeroext i1 @_ZN12_GLOBAL__N_117des_debug_enabledEv()
  br label %24

24:                                               ; preds = %22, %2
  %25 = phi i1 [ false, %2 ], [ %23, %22 ]
  %26 = zext i1 %25 to i64
  %27 = select i1 %25, ptr @__func__._ZN15HirDeserialiser17deserialise_traitEv, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %27)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %28 = getelementptr inbounds %class.HirDeserialiser, ptr %20, i32 0, i32 2
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  invoke void @_ZN3HIR9serialise6Reader11open_objectEPKc(ptr dead_on_unwind writable sret(%"class.HIR::serialise::Reader::CloseOnDrop") align 8 %6, ptr noundef nonnull align 8 dereferenceable(96) %29, ptr noundef @.str.41)
          to label %30 unwind label %72

30:                                               ; preds = %24
  store i1 false, ptr %9, align 1
  invoke void @_ZN15HirDeserialiser25deserialise_genericparamsEv(ptr dead_on_unwind writable sret(%"class.HIR::GenericParams") align 8 %10, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %31 unwind label %76

31:                                               ; preds = %30
  invoke void @_ZN3HIR11LifetimeRefC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %32 unwind label %80

32:                                               ; preds = %31
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  %33 = getelementptr inbounds %"struct.HIR::LifetimeRef", ptr %11, i32 0, i32 0
  %34 = load i32, ptr %33, align 4
  invoke void @_ZN3HIR5TraitC2ENS_13GenericParamsENS_11LifetimeRefESt6vectorINS_9TraitPathESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef %10, i32 %34, ptr noundef %12)
          to label %35 unwind label %84

35:                                               ; preds = %32
  call void @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  %36 = invoke i32 @_ZN15HirDeserialiser23deserialise_lifetimerefEv(ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %37 unwind label %89

37:                                               ; preds = %35
  %38 = getelementptr inbounds %"struct.HIR::LifetimeRef", ptr %13, i32 0, i32 0
  store i32 %36, ptr %38, align 4
  %39 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %39, ptr align 4 %13, i64 4, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  %40 = getelementptr inbounds %class.HirDeserialiser, ptr %20, i32 0, i32 2
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = invoke noundef zeroext i1 @_ZN3HIR9serialise6Reader9read_boolEv(ptr noundef nonnull align 8 dereferenceable(96) %41)
          to label %43 unwind label %93

43:                                               ; preds = %37
  %44 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 3
  %45 = zext i1 %42 to i8
  store i8 %45, ptr %44, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 56, ptr %14) #9
  invoke void @_ZN15HirDeserialiser20deserialise_istrumapIN3HIR14AssociatedTypeEEESt13unordered_mapI8RcStringT_St4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEv(ptr dead_on_unwind writable sret(%"class.std::unordered_map") align 8 %14, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %46 unwind label %97

46:                                               ; preds = %43
  %47 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 4
  %48 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapI8RcStringN3HIR14AssociatedTypeESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEEaSEOSB_(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 8 dereferenceable(56) %14) #9
  call void @_ZNSt13unordered_mapI8RcStringN3HIR14AssociatedTypeESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %15) #9
  invoke void @_ZN15HirDeserialiser20deserialise_istrumapIN3HIR14TraitValueItemEEESt13unordered_mapI8RcStringT_St4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEv(ptr dead_on_unwind writable sret(%"class.std::unordered_map.118") align 8 %15, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %49 unwind label %101

49:                                               ; preds = %46
  %50 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 5
  %51 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEEaSEOSB_(ptr noundef nonnull align 8 dereferenceable(56) %50, ptr noundef nonnull align 8 dereferenceable(56) %15) #9
  call void @_ZNSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %16) #9
  invoke void @_ZN15HirDeserialiser21deserialise_istrummapISt4pairIjN3HIR11GenericPathEEEESt18unordered_multimapI8RcStringT_St4hashIS6_ESt8equal_toIS6_ESaIS1_IKS6_S7_EEEv(ptr dead_on_unwind writable sret(%"class.std::unordered_multimap") align 8 %16, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %52 unwind label %105

52:                                               ; preds = %49
  %53 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 6
  %54 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt18unordered_multimapI8RcStringSt4pairIjN3HIR11GenericPathEESt4hashIS0_ESt8equal_toIS0_ESaIS1_IKS0_S4_EEEaSEOSC_(ptr noundef nonnull align 8 dereferenceable(56) %53, ptr noundef nonnull align 8 dereferenceable(56) %16) #9
  call void @_ZNSt18unordered_multimapI8RcStringSt4pairIjN3HIR11GenericPathEESt4hashIS0_ESt8equal_toIS0_ESaIS1_IKS0_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %17) #9
  invoke void @_ZN15HirDeserialiser20deserialise_istrumapIjEESt13unordered_mapI8RcStringT_St4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S3_EEEv(ptr dead_on_unwind writable sret(%"class.std::unordered_map.145") align 8 %17, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %55 unwind label %109

55:                                               ; preds = %52
  %56 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 7
  %57 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapI8RcStringjSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_jEEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(56) %56, ptr noundef nonnull align 8 dereferenceable(56) %17) #9
  call void @_ZNSt13unordered_mapI8RcStringjSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_jEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #9
  %58 = getelementptr inbounds %class.HirDeserialiser, ptr %20, i32 0, i32 2
  %59 = load ptr, ptr %58, align 8, !tbaa !9
  %60 = invoke noundef i64 @_ZN3HIR9serialise6Reader10read_countEv(ptr noundef nonnull align 8 dereferenceable(96) %59)
          to label %61 unwind label %93

61:                                               ; preds = %55
  %62 = trunc i64 %60 to i32
  %63 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 8
  store i32 %62, ptr %63, align 8, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #9
  invoke void @_ZN15HirDeserialiser15deserialise_vecIN3HIR9TraitPathEEESt6vectorIT_SaIS4_EEv(ptr dead_on_unwind writable sret(%"class.std::vector.43") align 8 %18, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %64 unwind label %113

64:                                               ; preds = %61
  %65 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 9
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %65, ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  invoke void @_ZN15HirDeserialiser22deserialise_simplepathEv(ptr dead_on_unwind writable sret(%"struct.HIR::SimplePath") align 8 %19, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %67 unwind label %117

67:                                               ; preds = %64
  %68 = getelementptr inbounds %"class.HIR::Trait", ptr %0, i32 0, i32 10
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR10SimplePathaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %70 unwind label %121

70:                                               ; preds = %67
  call void @_ZN3HIR10SimplePathD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  store i1 true, ptr %9, align 1
  %71 = load i1, ptr %9, align 1
  br i1 %71, label %127, label %126

72:                                               ; preds = %24
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %7, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %8, align 4
  br label %130

76:                                               ; preds = %30
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %7, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %8, align 4
  br label %129

80:                                               ; preds = %31
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %7, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %8, align 4
  br label %88

84:                                               ; preds = %32
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  call void @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  br label %88

88:                                               ; preds = %84, %80
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %10) #9
  br label %129

89:                                               ; preds = %35
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %7, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %128

93:                                               ; preds = %55, %37
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %7, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %8, align 4
  br label %128

97:                                               ; preds = %43
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %7, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #9
  br label %128

101:                                              ; preds = %46
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %7, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %15) #9
  br label %128

105:                                              ; preds = %49
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %7, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #9
  br label %128

109:                                              ; preds = %52
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %7, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #9
  br label %128

113:                                              ; preds = %61
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %7, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  br label %128

117:                                              ; preds = %64
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %7, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %8, align 4
  br label %125

121:                                              ; preds = %67
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %7, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %8, align 4
  call void @_ZN3HIR10SimplePathD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  br label %125

125:                                              ; preds = %121, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %128

126:                                              ; preds = %70
  call void @_ZN3HIR5TraitD2Ev(ptr noundef nonnull align 8 dereferenceable(400) %0) #9
  br label %127

127:                                              ; preds = %126, %70
  call void @_ZN3HIR9serialise6Reader11CloseOnDropD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #9
  ret void

128:                                              ; preds = %125, %113, %109, %105, %101, %97, %93, %89
  call void @_ZN3HIR5TraitD2Ev(ptr noundef nonnull align 8 dereferenceable(400) %0) #9
  br label %129

129:                                              ; preds = %128, %88, %76
  call void @_ZN3HIR9serialise6Reader11CloseOnDropD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  br label %130

130:                                              ; preds = %129, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #9
  br label %131

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser20deserialise_istrumapIN3HIR14AssociatedTypeEEESt13unordered_mapI8RcStringT_St4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser20deserialise_istrumapIN3HIR14TraitValueItemEEESt13unordered_mapI8RcStringT_St4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map.118") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser21deserialise_istrummapISt4pairIjN3HIR11GenericPathEEEESt18unordered_multimapI8RcStringT_St4hashIS6_ESt8equal_toIS6_ESaIS1_IKS6_S7_EEEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_multimap") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser20deserialise_istrumapIjEESt13unordered_mapI8RcStringT_St4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S3_EEEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map.145") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser15deserialise_vecIN3HIR9TraitPathEEESt6vectorIT_SaIS4_EEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.43") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { 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, !6, i64 32}
!10 = !{!"_ZTS15HirDeserialiser", !11, i64 0, !12, i64 8, !6, i64 32}
!11 = !{!"_ZTS8RcString", !6, i64 0}
!12 = !{!"_ZTSSt6vectorIN3HIR7TypeRefESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{i64 0, i64 4, !17}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!20, !43, i64 128}
!20 = !{!"_ZTSN3HIR5TraitE", !21, i64 0, !38, i64 96, !39, i64 104, !43, i64 128, !44, i64 136, !50, i64 192, !52, i64 248, !54, i64 304, !18, i64 360, !39, i64 368, !56, i64 392}
!21 = !{!"_ZTSN3HIR13GenericParamsE", !22, i64 0, !26, i64 24, !30, i64 48, !34, i64 72}
!22 = !{!"_ZTSSt6vectorIN3HIR12TypeParamDefESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3HIR12TypeParamDefESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3HIR12TypeParamDefESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3HIR12TypeParamDefESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorIN3HIR11LifetimeDefESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN3HIR11LifetimeDefESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3HIR11LifetimeDefESaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3HIR11LifetimeDefESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIN3HIR13ValueParamDefESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN3HIR13ValueParamDefESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN3HIR13ValueParamDefESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN3HIR13ValueParamDefESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt6vectorIN3HIR12GenericBoundESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIN3HIR12GenericBoundESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN3HIR12GenericBoundESaIS1_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN3HIR12GenericBoundESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSN3HIR11LifetimeRefE", !18, i64 0}
!39 = !{!"_ZTSSt6vectorIN3HIR9TraitPathESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN3HIR9TraitPathESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN3HIR9TraitPathESaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN3HIR9TraitPathESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"bool", !7, i64 0}
!44 = !{!"_ZTSSt13unordered_mapI8RcStringN3HIR14AssociatedTypeESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE", !45, i64 0}
!45 = !{!"_ZTSSt10_HashtableI8RcStringSt4pairIKS0_N3HIR14AssociatedTypeEESaIS5_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !46, i64 8, !47, i64 16, !46, i64 24, !48, i64 32, !6, i64 48}
!46 = !{!"long", !7, i64 0}
!47 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!48 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !49, i64 0, !46, i64 8}
!49 = !{!"float", !7, i64 0}
!50 = !{!"_ZTSSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE", !51, i64 0}
!51 = !{!"_ZTSSt10_HashtableI8RcStringSt4pairIKS0_N3HIR14TraitValueItemEESaIS5_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !46, i64 8, !47, i64 16, !46, i64 24, !48, i64 32, !6, i64 48}
!52 = !{!"_ZTSSt18unordered_multimapI8RcStringSt4pairIjN3HIR11GenericPathEESt4hashIS0_ESt8equal_toIS0_ESaIS1_IKS0_S4_EEE", !53, i64 0}
!53 = !{!"_ZTSSt10_HashtableI8RcStringSt4pairIKS0_S1_IjN3HIR11GenericPathEEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb0EEEE", !6, i64 0, !46, i64 8, !47, i64 16, !46, i64 24, !48, i64 32, !6, i64 48}
!54 = !{!"_ZTSSt13unordered_mapI8RcStringjSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_jEEE", !55, i64 0}
!55 = !{!"_ZTSSt10_HashtableI8RcStringSt4pairIKS0_jESaIS3_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !46, i64 8, !47, i64 16, !46, i64 24, !48, i64 32, !6, i64 48}
!56 = !{!"_ZTSN3HIR10SimplePathE", !57, i64 0}
!57 = !{!"_ZTS10ThinVectorI8RcStringE", !6, i64 0}
!58 = !{!20, !18, i64 360}


; 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.HIR::serialise::Reader::CloseOnDrop" = type { ptr }
%"class.HIR::GenericParams" = type { %"class.std::vector.53", %"class.std::vector.58", %"class.std::vector.63", %"class.std::vector.68" }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.68" = type { %"struct.std::_Vector_base.69" }
%"struct.std::_Vector_base.69" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"class.HIR::Trait" = type { %"class.HIR::GenericParams", %"struct.HIR::LifetimeRef", %"class.std::vector.43", i8, %"class.std::unordered_map", %"class.std::unordered_map.118", %"class.std::unordered_multimap", %"class.std::unordered_map.145", i32, %"class.std::vector.43", %"struct.HIR::SimplePath" }
%"struct.HIR::LifetimeRef" = type { i32 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.118" = type { %"class.std::_Hashtable.119" }
%"class.std::_Hashtable.119" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_multimap" = type { %"class.std::_Hashtable.132" }
%"class.std::_Hashtable.132" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.145" = type { %"class.std::_Hashtable.146" }
%"class.std::_Hashtable.146" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = type { %"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

@__func__._ZN15HirDeserialiser17deserialise_traitEv = external hidden unnamed_addr constant [18 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_117des_debug_enabledEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR9serialise6Reader11open_objectEPKc(ptr dead_on_unwind noalias writable sret(%"class.HIR::serialise::Reader::CloseOnDrop") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser25deserialise_genericparamsEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::GenericParams") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser22deserialise_simplepathEv(ptr dead_on_unwind noalias writable sret(%"struct.HIR::SimplePath") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

declare void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR10SimplePathaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15HirDeserialiser17deserialise_traitEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::Trait") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.TraceLog, align 8
  %4 = alloca %"class.HIR::serialise::Reader::CloseOnDrop", align 8
  %5 = alloca %"class.HIR::GenericParams", align 8
  %6 = alloca %"struct.HIR::LifetimeRef", align 4
  %7 = alloca %"class.std::vector.43", align 8
  %8 = alloca %"class.std::unordered_map", align 8
  %9 = alloca %"class.std::unordered_map.118", align 8
  %10 = alloca %"class.std::unordered_multimap", align 8
  %11 = alloca %"class.std::unordered_map.145", align 8
  %12 = alloca %"class.std::vector.43", align 8
  %13 = alloca %"struct.HIR::SimplePath", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #8
  %14 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %14, label %15, label %18

15:                                               ; preds = %2
  %16 = tail call noundef zeroext i1 @_ZN12_GLOBAL__N_117des_debug_enabledEv()
  %17 = select i1 %16, ptr @__func__._ZN15HirDeserialiser17deserialise_traitEv, ptr null
  br label %18

18:                                               ; preds = %15, %2
  %19 = phi ptr [ null, %2 ], [ %17, %15 ]
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN3HIR9serialise6Reader11open_objectEPKc(ptr dead_on_unwind nonnull writable sret(%"class.HIR::serialise::Reader::CloseOnDrop") align 8 %4, ptr noundef nonnull align 8 dereferenceable(96) %21, ptr noundef nonnull @.str.41)
          to label %22 unwind label %58

22:                                               ; preds = %18
  invoke void @_ZN15HirDeserialiser25deserialise_genericparamsEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::GenericParams") align 8 %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %23 unwind label %60

23:                                               ; preds = %22
  call void @_ZN3HIR11LifetimeRefC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %24 = load i32, ptr %6, align 4
  invoke void @_ZN3HIR5TraitC2ENS_13GenericParamsENS_11LifetimeRefESt6vectorINS_9TraitPathESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull %5, i32 %24, ptr noundef nonnull %7)
          to label %25 unwind label %62

25:                                               ; preds = %23
  call void @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %5) #8
  %26 = invoke i32 @_ZN15HirDeserialiser23deserialise_lifetimerefEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %27 unwind label %64

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %26, ptr %28, align 8, !tbaa !15
  %29 = load ptr, ptr %20, align 8, !tbaa !5
  %30 = invoke noundef zeroext i1 @_ZN3HIR9serialise6Reader9read_boolEv(ptr noundef nonnull align 8 dereferenceable(96) %29)
          to label %31 unwind label %66

31:                                               ; preds = %27
  %32 = getelementptr inbounds i8, ptr %0, i64 128
  %33 = zext i1 %30 to i8
  store i8 %33, ptr %32, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %8) #8
  invoke void @_ZN15HirDeserialiser20deserialise_istrumapIN3HIR14AssociatedTypeEEESt13unordered_mapI8RcStringT_St4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unordered_map") align 8 %8, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %34 unwind label %68

34:                                               ; preds = %31
  %35 = getelementptr inbounds i8, ptr %0, i64 136
  %36 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapI8RcStringN3HIR14AssociatedTypeESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEEaSEOSB_(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 8 dereferenceable(56) %8) #8
  call void @_ZNSt13unordered_mapI8RcStringN3HIR14AssociatedTypeESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #8
  invoke void @_ZN15HirDeserialiser20deserialise_istrumapIN3HIR14TraitValueItemEEESt13unordered_mapI8RcStringT_St4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unordered_map.118") align 8 %9, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %37 unwind label %70

37:                                               ; preds = %34
  %38 = getelementptr inbounds i8, ptr %0, i64 192
  %39 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEEaSEOSB_(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 8 dereferenceable(56) %9) #8
  call void @_ZNSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %10) #8
  invoke void @_ZN15HirDeserialiser21deserialise_istrummapISt4pairIjN3HIR11GenericPathEEEESt18unordered_multimapI8RcStringT_St4hashIS6_ESt8equal_toIS6_ESaIS1_IKS6_S7_EEEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unordered_multimap") align 8 %10, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %40 unwind label %72

40:                                               ; preds = %37
  %41 = getelementptr inbounds i8, ptr %0, i64 248
  %42 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt18unordered_multimapI8RcStringSt4pairIjN3HIR11GenericPathEESt4hashIS0_ESt8equal_toIS0_ESaIS1_IKS0_S4_EEEaSEOSC_(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 8 dereferenceable(56) %10) #8
  call void @_ZNSt18unordered_multimapI8RcStringSt4pairIjN3HIR11GenericPathEESt4hashIS0_ESt8equal_toIS0_ESaIS1_IKS0_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %11) #8
  invoke void @_ZN15HirDeserialiser20deserialise_istrumapIjEESt13unordered_mapI8RcStringT_St4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S3_EEEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unordered_map.145") align 8 %11, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %43 unwind label %74

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %0, i64 304
  %45 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapI8RcStringjSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_jEEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 8 dereferenceable(56) %11) #8
  call void @_ZNSt13unordered_mapI8RcStringjSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_jEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #8
  %46 = load ptr, ptr %20, align 8, !tbaa !5
  %47 = invoke noundef i64 @_ZN3HIR9serialise6Reader10read_countEv(ptr noundef nonnull align 8 dereferenceable(96) %46)
          to label %48 unwind label %66

48:                                               ; preds = %43
  %49 = trunc i64 %47 to i32
  %50 = getelementptr inbounds i8, ptr %0, i64 360
  store i32 %49, ptr %50, align 8, !tbaa !56
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  invoke void @_ZN15HirDeserialiser15deserialise_vecIN3HIR9TraitPathEEESt6vectorIT_SaIS4_EEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.43") align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %51 unwind label %76

51:                                               ; preds = %48
  %52 = getelementptr inbounds i8, ptr %0, i64 368
  %53 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  invoke void @_ZN15HirDeserialiser22deserialise_simplepathEv(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::SimplePath") align 8 %13, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %54 unwind label %78

54:                                               ; preds = %51
  %55 = getelementptr inbounds i8, ptr %0, i64 392
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR10SimplePathaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %57 unwind label %80

57:                                               ; preds = %54
  call void @_ZN3HIR10SimplePathD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @_ZN3HIR9serialise6Reader11CloseOnDropD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #8
  ret void

58:                                               ; preds = %18
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %85

60:                                               ; preds = %22
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %84

62:                                               ; preds = %23
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3HIR9TraitPathESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %5) #8
  br label %84

64:                                               ; preds = %25
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %83

66:                                               ; preds = %43, %27
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %83

68:                                               ; preds = %31
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #8
  br label %83

70:                                               ; preds = %34
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #8
  br label %83

72:                                               ; preds = %37
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #8
  br label %83

74:                                               ; preds = %40
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #8
  br label %83

76:                                               ; preds = %48
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  br label %83

78:                                               ; preds = %51
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

80:                                               ; preds = %54
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR10SimplePathD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br label %82

82:                                               ; preds = %80, %78
  %.pn = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %83

83:                                               ; preds = %82, %76, %74, %72, %70, %68, %66, %64
  %.pn.pn = phi { ptr, i32 } [ %.pn, %82 ], [ %77, %76 ], [ %67, %66 ], [ %75, %74 ], [ %73, %72 ], [ %71, %70 ], [ %69, %68 ], [ %65, %64 ]
  call void @_ZN3HIR5TraitD2Ev(ptr noundef nonnull align 8 dereferenceable(400) %0) #8
  br label %84

84:                                               ; preds = %83, %62, %60
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %83 ], [ %63, %62 ], [ %61, %60 ]
  call void @_ZN3HIR9serialise6Reader11CloseOnDropD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  br label %85

85:                                               ; preds = %84, %58
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %84 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn.pn.pn.pn
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser20deserialise_istrumapIN3HIR14AssociatedTypeEEESt13unordered_mapI8RcStringT_St4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser20deserialise_istrumapIN3HIR14TraitValueItemEEESt13unordered_mapI8RcStringT_St4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map.118") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser21deserialise_istrummapISt4pairIjN3HIR11GenericPathEEEESt18unordered_multimapI8RcStringT_St4hashIS6_ESt8equal_toIS6_ESaIS1_IKS6_S7_EEEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_multimap") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser20deserialise_istrumapIjEESt13unordered_mapI8RcStringT_St4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S3_EEEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map.145") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15HirDeserialiser15deserialise_vecIN3HIR9TraitPathEEESt6vectorIT_SaIS4_EEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.43") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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, !8, i64 32}
!6 = !{!"_ZTS15HirDeserialiser", !7, i64 0, !11, i64 8, !8, i64 32}
!7 = !{!"_ZTS8RcString", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSSt6vectorIN3HIR7TypeRefESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!18, !41, i64 128}
!18 = !{!"_ZTSN3HIR5TraitE", !19, i64 0, !36, i64 96, !37, i64 104, !41, i64 128, !42, i64 136, !48, i64 192, !50, i64 248, !52, i64 304, !16, i64 360, !37, i64 368, !54, i64 392}
!19 = !{!"_ZTSN3HIR13GenericParamsE", !20, i64 0, !24, i64 24, !28, i64 48, !32, i64 72}
!20 = !{!"_ZTSSt6vectorIN3HIR12TypeParamDefESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3HIR12TypeParamDefESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3HIR12TypeParamDefESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3HIR12TypeParamDefESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!24 = !{!"_ZTSSt6vectorIN3HIR11LifetimeDefESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3HIR11LifetimeDefESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3HIR11LifetimeDefESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3HIR11LifetimeDefESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!28 = !{!"_ZTSSt6vectorIN3HIR13ValueParamDefESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN3HIR13ValueParamDefESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3HIR13ValueParamDefESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN3HIR13ValueParamDefESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!32 = !{!"_ZTSSt6vectorIN3HIR12GenericBoundESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN3HIR12GenericBoundESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN3HIR12GenericBoundESaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN3HIR12GenericBoundESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!36 = !{!"_ZTSN3HIR11LifetimeRefE", !16, i64 0}
!37 = !{!"_ZTSSt6vectorIN3HIR9TraitPathESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN3HIR9TraitPathESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN3HIR9TraitPathESaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN3HIR9TraitPathESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!41 = !{!"bool", !9, i64 0}
!42 = !{!"_ZTSSt13unordered_mapI8RcStringN3HIR14AssociatedTypeESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE", !43, i64 0}
!43 = !{!"_ZTSSt10_HashtableI8RcStringSt4pairIKS0_N3HIR14AssociatedTypeEESaIS5_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !8, i64 0, !44, i64 8, !45, i64 16, !44, i64 24, !46, i64 32, !8, i64 48}
!44 = !{!"long", !9, i64 0}
!45 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !8, i64 0}
!46 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !47, i64 0, !44, i64 8}
!47 = !{!"float", !9, i64 0}
!48 = !{!"_ZTSSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE", !49, i64 0}
!49 = !{!"_ZTSSt10_HashtableI8RcStringSt4pairIKS0_N3HIR14TraitValueItemEESaIS5_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !8, i64 0, !44, i64 8, !45, i64 16, !44, i64 24, !46, i64 32, !8, i64 48}
!50 = !{!"_ZTSSt18unordered_multimapI8RcStringSt4pairIjN3HIR11GenericPathEESt4hashIS0_ESt8equal_toIS0_ESaIS1_IKS0_S4_EEE", !51, i64 0}
!51 = !{!"_ZTSSt10_HashtableI8RcStringSt4pairIKS0_S1_IjN3HIR11GenericPathEEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb0EEEE", !8, i64 0, !44, i64 8, !45, i64 16, !44, i64 24, !46, i64 32, !8, i64 48}
!52 = !{!"_ZTSSt13unordered_mapI8RcStringjSt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_jEEE", !53, i64 0}
!53 = !{!"_ZTSSt10_HashtableI8RcStringSt4pairIKS0_jESaIS3_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE", !8, i64 0, !44, i64 8, !45, i64 16, !44, i64 24, !46, i64 32, !8, i64 48}
!54 = !{!"_ZTSN3HIR10SimplePathE", !55, i64 0}
!55 = !{!"_ZTS10ThinVectorI8RcStringE", !8, i64 0}
!56 = !{!18, !16, i64 360}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass