; LLVM IR from thepowersgang/mrustc :: src/hir/path.ll (ZNK3HIR4Path5cloneEv)

; 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"

%"struct.HIR::PathParams" = type { %class.ThinVector.0, %class.ThinVector.1, %class.ThinVector.2 }
%class.ThinVector.0 = type { ptr }
%class.ThinVector.1 = type { ptr }
%class.ThinVector.2 = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"class.std::unique_ptr.5" = type { %"struct.std::__uniq_ptr_data.6" }
%"struct.std::__uniq_ptr_data.6" = type { %"class.std::__uniq_ptr_impl.7" }
%"class.std::__uniq_ptr_impl.7" = type { %"class.std::tuple.8" }
%"class.std::tuple.8" = type { %"struct.std::_Tuple_impl.9" }
%"struct.std::_Tuple_impl.9" = type { %"struct.std::_Head_base.12" }
%"struct.std::_Head_base.12" = type { ptr }
%"class.HIR::GenericParams" = type { %"class.std::vector", %"class.std::vector.21", %"class.std::vector.26", %"class.std::vector.31" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = 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.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = 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 }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr.5" }
%class.RcString = type { ptr }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"struct.HIR::Path::Data::Data_UfcsInherent" = type { %"class.HIR::TypeRef", %class.RcString, %"struct.HIR::PathParams", %"struct.HIR::PathParams" }
%"struct.HIR::Path::Data::Data_UfcsUnknown" = type { %"class.HIR::TypeRef", %class.RcString, %"struct.HIR::PathParams" }

@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [71 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3HIR4Path5cloneEv = external hidden unnamed_addr constant [37 x i8], align 1
@_ZTIPKc = external constant ptr

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

declare void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR11GenericPath5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::GenericPath") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15make_unique_ptrIN3HIR13GenericParamsEESt10unique_ptrIT_St14default_deleteIS3_EEOS3_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.5") align 8, ptr noundef nonnull align 8 dereferenceable(96)) #4

declare void @_ZNK3HIR13GenericParams5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::GenericParams") align 8, ptr noundef nonnull align 8 dereferenceable(96)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data12make_GenericENS_11GenericPathE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data17make_UfcsInherentENS1_17Data_UfcsInherentE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data14make_UfcsKnownENS1_14Data_UfcsKnownE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3HIR4Path5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1) #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca %"class.HIR::Path::Data", align 8
  %11 = alloca %"class.HIR::GenericPath", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca %"class.HIR::Path::Data", align 8
  %17 = alloca %"struct.HIR::Path::Data::Data_UfcsInherent", align 8
  %18 = alloca i8, align 1
  %19 = alloca ptr, align 8
  %20 = alloca %"class.HIR::Path::Data", align 8
  %21 = alloca %"struct.HIR::Path::Data::Data_UfcsKnown", align 8
  %22 = alloca %"class.HIR::GenericParams", align 8
  %23 = alloca i1, align 1
  %24 = alloca i1, align 1
  %25 = alloca i1, align 1
  %26 = alloca i1, align 1
  %27 = alloca i1, align 1
  %28 = alloca i1, align 1
  %29 = alloca i8, align 1
  %30 = alloca ptr, align 8
  %31 = alloca %"class.HIR::Path::Data", align 8
  %32 = alloca %"struct.HIR::Path::Data::Data_UfcsUnknown", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %33 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #7
  store i8 1, ptr %5, align 1, !tbaa !9
  br label %34

34:                                               ; preds = %314, %2
  %35 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %36 = trunc i8 %35 to i1
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  store i32 2, ptr %6, align 4
  br label %315

38:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %39 = getelementptr inbounds %"class.HIR::Path", ptr %33, i32 0, i32 0
  store ptr %39, ptr %7, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %309, %38
  %41 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %42 = trunc i8 %41 to i1
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  store i32 5, ptr %6, align 4
  br label %310

44:                                               ; preds = %40
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %45)
  switch i32 %46, label %308 [
    i32 0, label %47
    i32 1, label %48
    i32 2, label %82
    i32 3, label %145
    i32 4, label %254
  ]

47:                                               ; preds = %44
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.14, i32 noundef 317, ptr noundef @__PRETTY_FUNCTION__._ZNK3HIR4Path5cloneEv) #8
  unreachable

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #7
  store i8 1, ptr %8, align 1, !tbaa !9
  br label %49

49:                                               ; preds = %78, %48
  %50 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %51 = trunc i8 %50 to i1
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 9, ptr %6, align 4
  br label %79

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %54)
  store ptr %55, ptr %9, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %74, %53
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %59 = trunc i8 %58 to i1
  br i1 %59, label %61, label %60

60:                                               ; preds = %56
  store i32 12, ptr %6, align 4
  br label %75

61:                                               ; preds = %56
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK3HIR11GenericPath5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::GenericPath") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %62)
  invoke void @_ZN3HIR4Path4Data12make_GenericENS_11GenericPathE(ptr dead_on_unwind writable sret(%"class.HIR::Path::Data") align 8 %10, ptr noundef %11)
          to label %63 unwind label %65

63:                                               ; preds = %61
  invoke void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %10)
          to label %64 unwind label %69

64:                                               ; preds = %63
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #7
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  store i32 1, ptr %6, align 4
  br label %75

65:                                               ; preds = %61
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %12, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %13, align 4
  br label %73

69:                                               ; preds = %63
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %12, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %13, align 4
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #7
  br label %73

73:                                               ; preds = %69, %65
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  br label %312

74:                                               ; No predecessors!
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %56, !llvm.loop !13

75:                                               ; preds = %64, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  %76 = load i32, ptr %6, align 4
  switch i32 %76, label %79 [
    i32 12, label %77
  ]

77:                                               ; preds = %75
  br label %78

78:                                               ; preds = %77
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %49, !llvm.loop !15

79:                                               ; preds = %75, %52
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  %80 = load i32, ptr %6, align 4
  switch i32 %80, label %310 [
    i32 9, label %81
  ]

81:                                               ; preds = %79
  br label %308

82:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  store i8 1, ptr %14, align 1, !tbaa !9
  br label %83

83:                                               ; preds = %141, %82
  %84 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %85 = trunc i8 %84 to i1
  br i1 %85, label %87, label %86

86:                                               ; preds = %83
  store i32 15, ptr %6, align 4
  br label %142

87:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK3HIR4Path4Data15as_UfcsInherentEv(ptr noundef nonnull align 8 dereferenceable(88) %88)
  store ptr %89, ptr %15, align 8, !tbaa !5
  br label %90

90:                                               ; preds = %136, %87
  %91 = load ptr, ptr %15, align 8, !tbaa !5
  %92 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %93 = trunc i8 %92 to i1
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  store i32 18, ptr %6, align 4
  br label %137

95:                                               ; preds = %90
  %96 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %17, i32 0, i32 0
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %97, i32 0, i32 0
  call void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %96, ptr noundef nonnull align 8 dereferenceable(8) %98)
  %99 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %17, i32 0, i32 1
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %100, i32 0, i32 1
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull align 8 dereferenceable(8) %101)
          to label %102 unwind label %113

102:                                              ; preds = %95
  %103 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %17, i32 0, i32 2
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %104, i32 0, i32 2
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %103, ptr noundef nonnull align 8 dereferenceable(24) %105)
          to label %106 unwind label %117

106:                                              ; preds = %102
  %107 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %17, i32 0, i32 3
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %108, i32 0, i32 3
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %107, ptr noundef nonnull align 8 dereferenceable(24) %109)
          to label %110 unwind label %121

110:                                              ; preds = %106
  invoke void @_ZN3HIR4Path4Data17make_UfcsInherentENS1_17Data_UfcsInherentE(ptr dead_on_unwind writable sret(%"class.HIR::Path::Data") align 8 %16, ptr noundef %17)
          to label %111 unwind label %127

111:                                              ; preds = %110
  invoke void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %16)
          to label %112 unwind label %131

112:                                              ; preds = %111
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #7
  call void @_ZN3HIR4Path4Data17Data_UfcsInherentD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #7
  store i32 1, ptr %6, align 4
  br label %137

113:                                              ; preds = %95
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %12, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %13, align 4
  br label %126

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

121:                                              ; preds = %106
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %12, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %13, align 4
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %103) #7
  br label %125

125:                                              ; preds = %121, %117
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %99) #7
  br label %126

126:                                              ; preds = %125, %113
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %96) #7
  br label %139

127:                                              ; preds = %110
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %12, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %13, align 4
  br label %135

131:                                              ; preds = %111
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %12, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %13, align 4
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #7
  br label %135

135:                                              ; preds = %131, %127
  call void @_ZN3HIR4Path4Data17Data_UfcsInherentD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #7
  br label %139

136:                                              ; No predecessors!
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %90, !llvm.loop !16

137:                                              ; preds = %112, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  %138 = load i32, ptr %6, align 4
  switch i32 %138, label %142 [
    i32 18, label %140
  ]

139:                                              ; preds = %135, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %312

140:                                              ; preds = %137
  br label %141

141:                                              ; preds = %140
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %83, !llvm.loop !17

142:                                              ; preds = %137, %86
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  %143 = load i32, ptr %6, align 4
  switch i32 %143, label %310 [
    i32 15, label %144
  ]

144:                                              ; preds = %142
  br label %308

145:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  store i8 1, ptr %18, align 1, !tbaa !9
  br label %146

146:                                              ; preds = %250, %145
  %147 = load i8, ptr %18, align 1, !tbaa !9, !range !11, !noundef !12
  %148 = trunc i8 %147 to i1
  br i1 %148, label %150, label %149

149:                                              ; preds = %146
  store i32 21, ptr %6, align 4
  br label %251

150:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK3HIR4Path4Data12as_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %151)
  store ptr %152, ptr %19, align 8, !tbaa !5
  br label %153

153:                                              ; preds = %246, %150
  %154 = load ptr, ptr %19, align 8, !tbaa !5
  %155 = load i8, ptr %18, align 1, !tbaa !9, !range !11, !noundef !12
  %156 = trunc i8 %155 to i1
  br i1 %156, label %158, label %157

157:                                              ; preds = %153
  store i32 24, ptr %6, align 4
  br label %247

158:                                              ; preds = %153
  %159 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %21, i32 0, i32 0
  %160 = load ptr, ptr %19, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %160, i32 0, i32 0
  call void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %159, ptr noundef nonnull align 8 dereferenceable(8) %161)
  store i1 true, ptr %28, align 1
  %162 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %21, i32 0, i32 1
  %163 = load ptr, ptr %19, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %163, i32 0, i32 1
  invoke void @_ZNK3HIR11GenericPath5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::GenericPath") align 8 %162, ptr noundef nonnull align 8 dereferenceable(32) %164)
          to label %165 unwind label %194

165:                                              ; preds = %158
  store i1 true, ptr %27, align 1
  %166 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %21, i32 0, i32 2
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %167, i32 0, i32 2
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef nonnull align 8 dereferenceable(8) %168)
          to label %169 unwind label %198

169:                                              ; preds = %165
  store i1 true, ptr %26, align 1
  %170 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %21, i32 0, i32 3
  %171 = load ptr, ptr %19, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %171, i32 0, i32 3
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %170, ptr noundef nonnull align 8 dereferenceable(24) %172)
          to label %173 unwind label %202

173:                                              ; preds = %169
  store i1 true, ptr %25, align 1
  %174 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %21, i32 0, i32 4
  %175 = load ptr, ptr %19, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %175, i32 0, i32 4
  %177 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %176) #7
  store i1 false, ptr %23, align 1
  store i1 false, ptr %24, align 1
  br i1 %177, label %178, label %184

178:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 96, ptr %22) #7
  store i1 true, ptr %23, align 1
  %179 = load ptr, ptr %19, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %179, i32 0, i32 4
  %181 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %180) #7
  invoke void @_ZNK3HIR13GenericParams5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::GenericParams") align 8 %22, ptr noundef nonnull align 8 dereferenceable(96) %181)
          to label %182 unwind label %206

182:                                              ; preds = %178
  store i1 true, ptr %24, align 1
  invoke void @_Z15make_unique_ptrIN3HIR13GenericParamsEESt10unique_ptrIT_St14default_deleteIS3_EEOS3_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.5") align 8 %174, ptr noundef nonnull align 8 dereferenceable(96) %22)
          to label %183 unwind label %210

183:                                              ; preds = %182
  br label %185

184:                                              ; preds = %173
  call void @_ZNSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr null) #7
  br label %185

185:                                              ; preds = %184, %183
  store i1 false, ptr %25, align 1
  store i1 false, ptr %26, align 1
  store i1 false, ptr %27, align 1
  store i1 false, ptr %28, align 1
  invoke void @_ZN3HIR4Path4Data14make_UfcsKnownENS1_14Data_UfcsKnownE(ptr dead_on_unwind writable sret(%"class.HIR::Path::Data") align 8 %20, ptr noundef %21)
          to label %186 unwind label %214

186:                                              ; preds = %185
  invoke void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %20)
          to label %187 unwind label %218

187:                                              ; preds = %186
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #7
  call void @_ZN3HIR4Path4Data14Data_UfcsKnownD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21) #7
  %188 = load i1, ptr %24, align 1
  br i1 %188, label %189, label %190

189:                                              ; preds = %187
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %22) #7
  br label %190

190:                                              ; preds = %189, %187
  %191 = load i1, ptr %23, align 1
  br i1 %191, label %192, label %193

192:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 96, ptr %22) #7
  br label %193

193:                                              ; preds = %192, %190
  store i32 1, ptr %6, align 4
  br label %247

194:                                              ; preds = %158
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %12, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %13, align 4
  br label %242

198:                                              ; preds = %165
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %12, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %13, align 4
  br label %238

202:                                              ; preds = %169
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %12, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %13, align 4
  br label %234

206:                                              ; preds = %178
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %12, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %13, align 4
  br label %227

210:                                              ; preds = %182
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %12, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %13, align 4
  br label %223

214:                                              ; preds = %185
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %12, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %13, align 4
  br label %222

218:                                              ; preds = %186
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %12, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %13, align 4
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #7
  br label %222

222:                                              ; preds = %218, %214
  call void @_ZN3HIR4Path4Data14Data_UfcsKnownD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21) #7
  br label %223

223:                                              ; preds = %222, %210
  %224 = load i1, ptr %24, align 1
  br i1 %224, label %225, label %226

225:                                              ; preds = %223
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %22) #7
  br label %226

226:                                              ; preds = %225, %223
  br label %227

227:                                              ; preds = %226, %206
  %228 = load i1, ptr %23, align 1
  br i1 %228, label %229, label %230

229:                                              ; preds = %227
  call void @llvm.lifetime.end.p0(i64 96, ptr %22) #7
  br label %230

230:                                              ; preds = %229, %227
  %231 = load i1, ptr %25, align 1
  br i1 %231, label %232, label %233

232:                                              ; preds = %230
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %170) #7
  br label %233

233:                                              ; preds = %232, %230
  br label %234

234:                                              ; preds = %233, %202
  %235 = load i1, ptr %26, align 1
  br i1 %235, label %236, label %237

236:                                              ; preds = %234
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %166) #7
  br label %237

237:                                              ; preds = %236, %234
  br label %238

238:                                              ; preds = %237, %198
  %239 = load i1, ptr %27, align 1
  br i1 %239, label %240, label %241

240:                                              ; preds = %238
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %162) #7
  br label %241

241:                                              ; preds = %240, %238
  br label %242

242:                                              ; preds = %241, %194
  %243 = load i1, ptr %28, align 1
  br i1 %243, label %244, label %245

244:                                              ; preds = %242
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %159) #7
  br label %245

245:                                              ; preds = %244, %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  br label %312

246:                                              ; No predecessors!
  store i8 0, ptr %18, align 1, !tbaa !9
  br label %153, !llvm.loop !18

247:                                              ; preds = %193, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  %248 = load i32, ptr %6, align 4
  switch i32 %248, label %251 [
    i32 24, label %249
  ]

249:                                              ; preds = %247
  br label %250

250:                                              ; preds = %249
  store i8 0, ptr %18, align 1, !tbaa !9
  br label %146, !llvm.loop !19

251:                                              ; preds = %247, %149
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  %252 = load i32, ptr %6, align 4
  switch i32 %252, label %310 [
    i32 21, label %253
  ]

253:                                              ; preds = %251
  br label %308

254:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  store i8 1, ptr %29, align 1, !tbaa !9
  br label %255

255:                                              ; preds = %304, %254
  %256 = load i8, ptr %29, align 1, !tbaa !9, !range !11, !noundef !12
  %257 = trunc i8 %256 to i1
  br i1 %257, label %259, label %258

258:                                              ; preds = %255
  store i32 27, ptr %6, align 4
  br label %305

259:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR4Path4Data14as_UfcsUnknownEv(ptr noundef nonnull align 8 dereferenceable(88) %260)
  store ptr %261, ptr %30, align 8, !tbaa !5
  br label %262

262:                                              ; preds = %299, %259
  %263 = load ptr, ptr %30, align 8, !tbaa !5
  %264 = load i8, ptr %29, align 1, !tbaa !9, !range !11, !noundef !12
  %265 = trunc i8 %264 to i1
  br i1 %265, label %267, label %266

266:                                              ; preds = %262
  store i32 30, ptr %6, align 4
  br label %300

267:                                              ; preds = %262
  %268 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %32, i32 0, i32 0
  %269 = load ptr, ptr %30, align 8, !tbaa !5
  %270 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %269, i32 0, i32 0
  call void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %268, ptr noundef nonnull align 8 dereferenceable(8) %270)
  %271 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %32, i32 0, i32 1
  %272 = load ptr, ptr %30, align 8, !tbaa !5
  %273 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %272, i32 0, i32 1
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %271, ptr noundef nonnull align 8 dereferenceable(8) %273)
          to label %274 unwind label %281

274:                                              ; preds = %267
  %275 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %32, i32 0, i32 2
  %276 = load ptr, ptr %30, align 8, !tbaa !5
  %277 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %276, i32 0, i32 2
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %275, ptr noundef nonnull align 8 dereferenceable(24) %277)
          to label %278 unwind label %285

278:                                              ; preds = %274
  invoke void @_ZN3HIR4Path4Data16make_UfcsUnknownENS1_16Data_UfcsUnknownE(ptr dead_on_unwind writable sret(%"class.HIR::Path::Data") align 8 %31, ptr noundef %32)
          to label %279 unwind label %290

279:                                              ; preds = %278
  invoke void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %31)
          to label %280 unwind label %294

280:                                              ; preds = %279
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #7
  call void @_ZN3HIR4Path4Data16Data_UfcsUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #7
  store i32 1, ptr %6, align 4
  br label %300

281:                                              ; preds = %267
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %12, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %13, align 4
  br label %289

285:                                              ; preds = %274
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %12, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %13, align 4
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %271) #7
  br label %289

289:                                              ; preds = %285, %281
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %268) #7
  br label %302

290:                                              ; preds = %278
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %12, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %13, align 4
  br label %298

294:                                              ; preds = %279
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %12, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %13, align 4
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #7
  br label %298

298:                                              ; preds = %294, %290
  call void @_ZN3HIR4Path4Data16Data_UfcsUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #7
  br label %302

299:                                              ; No predecessors!
  store i8 0, ptr %29, align 1, !tbaa !9
  br label %262, !llvm.loop !20

300:                                              ; preds = %280, %266
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  %301 = load i32, ptr %6, align 4
  switch i32 %301, label %305 [
    i32 30, label %303
  ]

302:                                              ; preds = %298, %289
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  br label %312

303:                                              ; preds = %300
  br label %304

304:                                              ; preds = %303
  store i8 0, ptr %29, align 1, !tbaa !9
  br label %255, !llvm.loop !21

305:                                              ; preds = %300, %258
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  %306 = load i32, ptr %6, align 4
  switch i32 %306, label %310 [
    i32 27, label %307
  ]

307:                                              ; preds = %305
  br label %308

308:                                              ; preds = %307, %253, %144, %81, %44
  br label %309

309:                                              ; preds = %308
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %40, !llvm.loop !22

310:                                              ; preds = %305, %251, %142, %79, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  %311 = load i32, ptr %6, align 4
  switch i32 %311, label %315 [
    i32 5, label %313
  ]

312:                                              ; preds = %302, %245, %139, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  br label %320

313:                                              ; preds = %310
  br label %314

314:                                              ; preds = %313
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %34, !llvm.loop !23

315:                                              ; preds = %310, %37
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  %316 = load i32, ptr %6, align 4
  switch i32 %316, label %325 [
    i32 2, label %317
    i32 1, label %319
  ]

317:                                              ; preds = %315
  %318 = call ptr @__cxa_allocate_exception(i64 8) #7
  store ptr @.str, ptr %318, align 16, !tbaa !5
  call void @__cxa_throw(ptr %318, ptr @_ZTIPKc, ptr null) #9
  unreachable

319:                                              ; preds = %315
  ret void

320:                                              ; preds = %312
  %321 = load ptr, ptr %12, align 8
  %322 = load i32, ptr %13, align 4
  %323 = insertvalue { ptr, i32 } poison, ptr %321, 0
  %324 = insertvalue { ptr, i32 } %323, i32 %322, 1
  resume { ptr, i32 } %324

325:                                              ; preds = %315
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data16make_UfcsUnknownENS1_16Data_UfcsUnknownE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) #4 align 2

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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 = { noreturn 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 #3 = { 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 #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 = { "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 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 #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}


; 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"

%"struct.HIR::PathParams" = type { %class.ThinVector.0, %class.ThinVector.1, %class.ThinVector.2 }
%class.ThinVector.0 = type { ptr }
%class.ThinVector.1 = type { ptr }
%class.ThinVector.2 = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"class.std::unique_ptr.5" = type { %"struct.std::__uniq_ptr_data.6" }
%"struct.std::__uniq_ptr_data.6" = type { %"class.std::__uniq_ptr_impl.7" }
%"class.std::__uniq_ptr_impl.7" = type { %"class.std::tuple.8" }
%"class.std::tuple.8" = type { %"struct.std::_Tuple_impl.9" }
%"struct.std::_Tuple_impl.9" = type { %"struct.std::_Head_base.12" }
%"struct.std::_Head_base.12" = type { ptr }
%"class.HIR::GenericParams" = type { %"class.std::vector", %"class.std::vector.21", %"class.std::vector.26", %"class.std::vector.31" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = 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.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = 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 }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr.5" }
%class.RcString = type { ptr }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"struct.HIR::Path::Data::Data_UfcsInherent" = type { %"class.HIR::TypeRef", %class.RcString, %"struct.HIR::PathParams", %"struct.HIR::PathParams" }
%"struct.HIR::Path::Data::Data_UfcsUnknown" = type { %"class.HIR::TypeRef", %class.RcString, %"struct.HIR::PathParams" }

@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [71 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3HIR4Path5cloneEv = external hidden unnamed_addr constant [37 x i8], align 1
@_ZTIPKc = external constant ptr

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

declare void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR11GenericPath5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::GenericPath") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15make_unique_ptrIN3HIR13GenericParamsEESt10unique_ptrIT_St14default_deleteIS3_EEOS3_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.5") align 8, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #4

declare void @_ZNK3HIR13GenericParams5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::GenericParams") align 8, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data12make_GenericENS_11GenericPathE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data17make_UfcsInherentENS1_17Data_UfcsInherentE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data14make_UfcsKnownENS1_14Data_UfcsKnownE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3HIR4Path5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
.preheader.preheader:
  %2 = alloca %"class.HIR::Path::Data", align 8
  %3 = alloca %"class.HIR::GenericPath", align 8
  %4 = alloca %"class.HIR::Path::Data", align 8
  %5 = alloca %"struct.HIR::Path::Data::Data_UfcsInherent", align 8
  %6 = alloca %"class.HIR::Path::Data", align 8
  %7 = alloca %"struct.HIR::Path::Data::Data_UfcsKnown", align 8
  %8 = alloca %"class.HIR::GenericParams", align 8
  %9 = alloca %"class.HIR::Path::Data", align 8
  %10 = alloca %"struct.HIR::Path::Data::Data_UfcsUnknown", align 8
  %11 = tail call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  switch i32 %11, label %.critedge.loopexit [
    i32 0, label %.split154.us
    i32 1, label %.split156.us
    i32 2, label %.split158.us
    i32 3, label %.split160.us
    i32 4, label %.split162.us
  ], !llvm.loop !5

.split154.us:                                     ; preds = %.preheader.preheader
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, i32 noundef 317, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3HIR4Path5cloneEv) #7
  unreachable

.split156.us:                                     ; preds = %.preheader.preheader
  %12 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @_ZNK3HIR11GenericPath5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::GenericPath") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %12)
  invoke void @_ZN3HIR4Path4Data12make_GenericENS_11GenericPathE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::Path::Data") align 8 %2, ptr noundef nonnull %3)
          to label %13 unwind label %14

13:                                               ; preds = %.split156.us
  call void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull %2)
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %2) #8
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #8
  br label %76

14:                                               ; preds = %.split156.us
  %15 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #8
  br label %.critedge112

.split158.us:                                     ; preds = %.preheader.preheader
  %16 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK3HIR4Path4Data15as_UfcsInherentEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %17 = getelementptr inbounds i8, ptr %5, i64 8
  %18 = getelementptr inbounds i8, ptr %16, i64 8
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %19 = getelementptr inbounds i8, ptr %5, i64 16
  %20 = getelementptr inbounds i8, ptr %16, i64 16
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %21 unwind label %26

21:                                               ; preds = %.split158.us
  %22 = getelementptr inbounds i8, ptr %5, i64 40
  %23 = getelementptr inbounds i8, ptr %16, i64 40
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %24 unwind label %28

24:                                               ; preds = %21
  invoke void @_ZN3HIR4Path4Data17make_UfcsInherentENS1_17Data_UfcsInherentE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::Path::Data") align 8 %4, ptr noundef nonnull %5)
          to label %25 unwind label %31

25:                                               ; preds = %24
  call void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull %4)
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #8
  call void @_ZN3HIR4Path4Data17Data_UfcsInherentD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %5) #8
  br label %76

26:                                               ; preds = %.split158.us
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %30

28:                                               ; preds = %21
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %30

30:                                               ; preds = %28, %26
  %.pn106 = phi { ptr, i32 } [ %29, %28 ], [ %27, %26 ]
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br label %.critedge112

31:                                               ; preds = %24
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR4Path4Data17Data_UfcsInherentD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %5) #8
  br label %.critedge112

.split160.us:                                     ; preds = %.preheader.preheader
  %33 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK3HIR4Path4Data12as_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %33)
  %34 = getelementptr inbounds i8, ptr %7, i64 8
  %35 = getelementptr inbounds i8, ptr %33, i64 8
  invoke void @_ZNK3HIR11GenericPath5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::GenericPath") align 8 %34, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %36 unwind label %52

36:                                               ; preds = %.split160.us
  %37 = getelementptr inbounds i8, ptr %7, i64 40
  %38 = getelementptr inbounds i8, ptr %33, i64 40
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38)
  %39 = getelementptr inbounds i8, ptr %7, i64 48
  %40 = getelementptr inbounds i8, ptr %33, i64 48
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %41 unwind label %54

41:                                               ; preds = %36
  %42 = getelementptr inbounds i8, ptr %7, i64 72
  %43 = getelementptr inbounds i8, ptr %33, i64 72
  %44 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  br i1 %44, label %45, label %48

45:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %8) #8
  %46 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  invoke void @_ZNK3HIR13GenericParams5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::GenericParams") align 8 %8, ptr noundef nonnull align 8 dereferenceable(96) %46)
          to label %47 unwind label %.thread130

47:                                               ; preds = %45
  invoke void @_Z15make_unique_ptrIN3HIR13GenericParamsEESt10unique_ptrIT_St14default_deleteIS3_EEOS3_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.5") align 8 %42, ptr noundef nonnull align 8 dereferenceable(96) %8)
          to label %49 unwind label %.thread135

48:                                               ; preds = %41
  call void @_ZNSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr null) #8
  br label %49

49:                                               ; preds = %47, %48
  invoke void @_ZN3HIR4Path4Data14make_UfcsKnownENS1_14Data_UfcsKnownE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::Path::Data") align 8 %6, ptr noundef nonnull %7)
          to label %50 unwind label %58

50:                                               ; preds = %49
  call void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull %6)
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  call void @_ZN3HIR4Path4Data14Data_UfcsKnownD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #8
  br i1 %44, label %51, label %76

51:                                               ; preds = %50
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %8) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #8
  br label %76

52:                                               ; preds = %.split160.us
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %63

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

.thread130:                                       ; preds = %45
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #8
  br label %61

.thread135:                                       ; preds = %47
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %8) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #8
  br label %61

58:                                               ; preds = %49
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR4Path4Data14Data_UfcsKnownD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #8
  br i1 %44, label %60, label %.critedge112

60:                                               ; preds = %58
  call void @_ZN3HIR13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %8) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #8
  br label %.critedge112

61:                                               ; preds = %.thread135, %.thread130
  %.pn101.pn.ph133 = phi { ptr, i32 } [ %56, %.thread130 ], [ %57, %.thread135 ]
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  br label %62

62:                                               ; preds = %61, %54
  %.pn101.pn.pn.ph = phi { ptr, i32 } [ %55, %54 ], [ %.pn101.pn.ph133, %61 ]
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %63

63:                                               ; preds = %62, %52
  %.pn101.pn.pn.pn.ph = phi { ptr, i32 } [ %53, %52 ], [ %.pn101.pn.pn.ph, %62 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  br label %.critedge112

.split162.us:                                     ; preds = %.preheader.preheader
  %64 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR4Path4Data14as_UfcsUnknownEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  call void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %64)
  %65 = getelementptr inbounds i8, ptr %10, i64 8
  %66 = getelementptr inbounds i8, ptr %64, i64 8
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(8) %66)
  %67 = getelementptr inbounds i8, ptr %10, i64 16
  %68 = getelementptr inbounds i8, ptr %64, i64 16
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %67, ptr noundef nonnull align 8 dereferenceable(24) %68)
          to label %69 unwind label %71

69:                                               ; preds = %.split162.us
  invoke void @_ZN3HIR4Path4Data16make_UfcsUnknownENS1_16Data_UfcsUnknownE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::Path::Data") align 8 %9, ptr noundef nonnull %10)
          to label %70 unwind label %73

70:                                               ; preds = %69
  call void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull %9)
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #8
  call void @_ZN3HIR4Path4Data16Data_UfcsUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #8
  br label %76

71:                                               ; preds = %.split162.us
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br label %.critedge112

73:                                               ; preds = %69
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR4Path4Data16Data_UfcsUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #8
  br label %.critedge112

.critedge112:                                     ; preds = %58, %60, %71, %73, %63, %30, %31, %14
  %.pn.pn = phi { ptr, i32 } [ %15, %14 ], [ %32, %31 ], [ %.pn106, %30 ], [ %.pn101.pn.pn.pn.ph, %63 ], [ %74, %73 ], [ %72, %71 ], [ %59, %60 ], [ %59, %58 ]
  resume { ptr, i32 } %.pn.pn

.critedge.loopexit:                               ; preds = %.preheader.preheader
  %75 = tail call ptr @__cxa_allocate_exception(i64 8) #8
  store ptr @.str, ptr %75, align 16, !tbaa !7
  tail call void @__cxa_throw(ptr nonnull %75, ptr nonnull @_ZTIPKc, ptr null) #9
  unreachable

76:                                               ; preds = %13, %25, %70, %50, %51
  ret void
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data16make_UfcsUnknownENS1_16Data_UfcsUnknownE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) local_unnamed_addr #4 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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 = { noreturn 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 #3 = { 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 #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 = { "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 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 #7 = { noreturn nounwind }
attributes #8 = { nounwind }
attributes #9 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}


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