; LLVM IR from thepowersgang/mrustc :: src/hir/type.ll (ZNK3HIR25TypeData_NamedFunction_Ty5cloneEv)

; 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::TypeData_NamedFunction_Ty" = type { i32, %"union.HIR::TypeData_NamedFunction_Ty::DataUnion" }
%"union.HIR::TypeData_NamedFunction_Ty::DataUnion" = type { %"struct.HIR::TypeData_NamedFunction_Ty::Data_EnumConstructor" }
%"struct.HIR::TypeData_NamedFunction_Ty::Data_EnumConstructor" = type { ptr, i64 }

@.str.18 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTIPKc = external constant ptr
@__PRETTY_FUNCTION__._ZNK3HIR25TypeData_NamedFunction_Ty5cloneEv = external hidden unnamed_addr constant [77 x i8], align 1

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

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3HIR25TypeData_NamedFunction_Ty5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeData_NamedFunction_Ty") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #3 align 2 {
  %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 i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.HIR::TypeData_NamedFunction_Ty::Data_EnumConstructor", align 8
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  store i8 1, ptr %5, align 1, !tbaa !9
  br label %16

16:                                               ; preds = %109, %2
  %17 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %18 = trunc i8 %17 to i1
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  store i32 2, ptr %6, align 4
  br label %110

20:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store ptr %15, ptr %7, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %105, %20
  %22 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %23 = trunc i8 %22 to i1
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  store i32 5, ptr %6, align 4
  br label %106

25:                                               ; preds = %21
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = call noundef i32 @_ZNK3HIR25TypeData_NamedFunction_Ty3tagEv(ptr noundef nonnull align 8 dereferenceable(24) %26)
  switch i32 %27, label %104 [
    i32 0, label %28
    i32 1, label %29
    i32 2, label %53
    i32 3, label %80
  ]

28:                                               ; preds = %25
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.18, i32 noundef 1158, ptr noundef @__PRETTY_FUNCTION__._ZNK3HIR25TypeData_NamedFunction_Ty5cloneEv) #6
  unreachable

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 1, ptr %8, align 1, !tbaa !9
  br label %30

30:                                               ; preds = %49, %29
  %31 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %32 = trunc i8 %31 to i1
  br i1 %32, label %34, label %33

33:                                               ; preds = %30
  store i32 9, ptr %6, align 4
  br label %50

34:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR25TypeData_NamedFunction_Ty11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(24) %35)
  store ptr %36, ptr %9, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %45, %34
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %40 = trunc i8 %39 to i1
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  store i32 12, ptr %6, align 4
  br label %46

42:                                               ; preds = %37
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  call void @_ZN3HIR25TypeData_NamedFunction_TyC2EPKNS_8FunctionE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %44)
  store i32 1, ptr %6, align 4
  br label %46

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

46:                                               ; preds = %42, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %47 = load i32, ptr %6, align 4
  switch i32 %47, label %50 [
    i32 12, label %48
  ]

48:                                               ; preds = %46
  br label %49

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

50:                                               ; preds = %46, %33
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  %51 = load i32, ptr %6, align 4
  switch i32 %51, label %106 [
    i32 9, label %52
  ]

52:                                               ; preds = %50
  br label %104

53:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %54

54:                                               ; preds = %76, %53
  %55 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %56 = trunc i8 %55 to i1
  br i1 %56, label %58, label %57

57:                                               ; preds = %54
  store i32 15, ptr %6, align 4
  br label %77

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR25TypeData_NamedFunction_Ty18as_EnumConstructorEv(ptr noundef nonnull align 8 dereferenceable(24) %59)
  store ptr %60, ptr %11, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %72, %58
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %64 = trunc i8 %63 to i1
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  store i32 18, ptr %6, align 4
  br label %73

66:                                               ; preds = %61
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %67, i64 16, i1 false), !tbaa.struct !16
  %68 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8
  %70 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %71 = load i64, ptr %70, align 8
  call void @_ZN3HIR25TypeData_NamedFunction_TyC2ENS0_20Data_EnumConstructorE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %69, i64 %71)
  store i32 1, ptr %6, align 4
  br label %73

72:                                               ; No predecessors!
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %61, !llvm.loop !19

73:                                               ; preds = %66, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %74 = load i32, ptr %6, align 4
  switch i32 %74, label %77 [
    i32 18, label %75
  ]

75:                                               ; preds = %73
  br label %76

76:                                               ; preds = %75
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %54, !llvm.loop !20

77:                                               ; preds = %73, %57
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  %78 = load i32, ptr %6, align 4
  switch i32 %78, label %106 [
    i32 15, label %79
  ]

79:                                               ; preds = %77
  br label %104

80:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  store i8 1, ptr %13, align 1, !tbaa !9
  br label %81

81:                                               ; preds = %100, %80
  %82 = load i8, ptr %13, align 1, !tbaa !9, !range !11, !noundef !12
  %83 = trunc i8 %82 to i1
  br i1 %83, label %85, label %84

84:                                               ; preds = %81
  store i32 21, ptr %6, align 4
  br label %101

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR25TypeData_NamedFunction_Ty20as_StructConstructorEv(ptr noundef nonnull align 8 dereferenceable(24) %86)
  store ptr %87, ptr %14, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %96, %85
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = load i8, ptr %13, align 1, !tbaa !9, !range !11, !noundef !12
  %91 = trunc i8 %90 to i1
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  store i32 24, ptr %6, align 4
  br label %97

93:                                               ; preds = %88
  %94 = load ptr, ptr %14, align 8, !tbaa !5
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  call void @_ZN3HIR25TypeData_NamedFunction_TyC2EPKNS_6StructE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %95)
  store i32 1, ptr %6, align 4
  br label %97

96:                                               ; No predecessors!
  store i8 0, ptr %13, align 1, !tbaa !9
  br label %88, !llvm.loop !21

97:                                               ; preds = %93, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %98 = load i32, ptr %6, align 4
  switch i32 %98, label %101 [
    i32 24, label %99
  ]

99:                                               ; preds = %97
  br label %100

100:                                              ; preds = %99
  store i8 0, ptr %13, align 1, !tbaa !9
  br label %81, !llvm.loop !22

101:                                              ; preds = %97, %84
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  %102 = load i32, ptr %6, align 4
  switch i32 %102, label %106 [
    i32 21, label %103
  ]

103:                                              ; preds = %101
  br label %104

104:                                              ; preds = %103, %79, %52, %25
  br label %105

105:                                              ; preds = %104
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %21, !llvm.loop !23

106:                                              ; preds = %101, %77, %50, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %107 = load i32, ptr %6, align 4
  switch i32 %107, label %110 [
    i32 5, label %108
  ]

108:                                              ; preds = %106
  br label %109

109:                                              ; preds = %108
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %16, !llvm.loop !24

110:                                              ; preds = %106, %19
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  %111 = load i32, ptr %6, align 4
  switch i32 %111, label %115 [
    i32 2, label %112
    i32 1, label %114
  ]

112:                                              ; preds = %110
  %113 = call ptr @__cxa_allocate_exception(i64 8) #5
  store ptr @.str.24, ptr %113, align 16, !tbaa !5
  call void @__cxa_throw(ptr %113, ptr @_ZTIPKc, ptr null) #7
  unreachable

114:                                              ; preds = %110
  ret void

115:                                              ; preds = %110
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR25TypeData_NamedFunction_TyC2EPKNS_8FunctionE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #3 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) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR25TypeData_NamedFunction_TyC2ENS0_20Data_EnumConstructorE(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) unnamed_addr #3 align 2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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 = !{i64 0, i64 8, !5, i64 8, i64 8, !17}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !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"

%"class.HIR::TypeData_NamedFunction_Ty" = type { i32, %"union.HIR::TypeData_NamedFunction_Ty::DataUnion" }
%"union.HIR::TypeData_NamedFunction_Ty::DataUnion" = type { %"struct.HIR::TypeData_NamedFunction_Ty::Data_EnumConstructor" }
%"struct.HIR::TypeData_NamedFunction_Ty::Data_EnumConstructor" = type { ptr, i64 }

@.str.18 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTIPKc = external constant ptr
@__PRETTY_FUNCTION__._ZNK3HIR25TypeData_NamedFunction_Ty5cloneEv = external hidden unnamed_addr constant [77 x i8], align 1

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3HIR25TypeData_NamedFunction_Ty5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeData_NamedFunction_Ty") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #2 align 2 {
.preheader.preheader:
  %2 = tail call noundef i32 @_ZNK3HIR25TypeData_NamedFunction_Ty3tagEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  switch i32 %2, label %.loopexit [
    i32 0, label %.split44.us
    i32 1, label %.split46.us
    i32 2, label %.split48.us
    i32 3, label %.split50.us
  ], !llvm.loop !5

.split44.us:                                      ; preds = %.preheader.preheader
  tail call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.18, i32 noundef 1158, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3HIR25TypeData_NamedFunction_Ty5cloneEv) #3
  unreachable

.split46.us:                                      ; preds = %.preheader.preheader
  %3 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR25TypeData_NamedFunction_Ty11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %4 = load ptr, ptr %3, align 8, !tbaa !7
  tail call void @_ZN3HIR25TypeData_NamedFunction_TyC2EPKNS_8FunctionE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %4)
  br label %9

.split48.us:                                      ; preds = %.preheader.preheader
  %5 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR25TypeData_NamedFunction_Ty18as_EnumConstructorEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %.sroa.0.0.copyload = load ptr, ptr %5, align 8, !tbaa !7
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.2.0.copyload = load i64, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !11
  tail call void @_ZN3HIR25TypeData_NamedFunction_TyC2ENS0_20Data_EnumConstructorE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload)
  br label %9

.split50.us:                                      ; preds = %.preheader.preheader
  %6 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR25TypeData_NamedFunction_Ty20as_StructConstructorEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %7 = load ptr, ptr %6, align 8, !tbaa !7
  tail call void @_ZN3HIR25TypeData_NamedFunction_TyC2EPKNS_6StructE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %7)
  br label %9

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

9:                                                ; preds = %.split46.us, %.split48.us, %.split50.us
  ret void
}

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

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

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

attributes #0 = { 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 #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn nounwind }
attributes #4 = { nounwind }
attributes #5 = { 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"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}


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