; LLVM IR from thepowersgang/mrustc :: src/hir/visitor.ll (ZN3HIR7Visitor19visit_generic_boundERNS_12GenericBoundE)

; 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::GenericBound::Data_TypeLifetime" = type <{ %"class.HIR::TypeRef", %"struct.HIR::LifetimeRef", [4 x i8] }>
%"class.HIR::TypeRef" = type { ptr }
%"struct.HIR::LifetimeRef" = type { i32 }
%"struct.HIR::GenericBound::Data_TraitBound" = type { %"class.std::unique_ptr.428", %"class.HIR::TypeRef", %"class.HIR::TraitPath" }
%"class.std::unique_ptr.428" = type { %"struct.std::__uniq_ptr_data.429" }
%"struct.std::__uniq_ptr_data.429" = type { %"class.std::__uniq_ptr_impl.430" }
%"class.std::__uniq_ptr_impl.430" = type { %"class.std::tuple.431" }
%"class.std::tuple.431" = type { %"struct.std::_Tuple_impl.432" }
%"struct.std::_Tuple_impl.432" = type { %"struct.std::_Head_base.435" }
%"struct.std::_Head_base.435" = type { ptr }
%"class.HIR::TraitPath" = type { %"class.std::unique_ptr.428", %"class.HIR::GenericPath", %"class.std::map.436", %"class.std::map.441", ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.388, %class.ThinVector.389, %class.ThinVector.390 }
%class.ThinVector.388 = type { ptr }
%class.ThinVector.389 = type { ptr }
%class.ThinVector.390 = type { ptr }
%"class.std::map.436" = type { %"class.std::_Rb_tree.437" }
%"class.std::_Rb_tree.437" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyEqual>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyEqual>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyEqual>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyEqual>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.441" = type { %"class.std::_Rb_tree.442" }
%"class.std::_Rb_tree.442" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyBound>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyBound>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyBound>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyBound>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.HIR::GenericBound::Data_TypeEquality" = type { %"class.HIR::TypeRef", %"class.HIR::TypeRef" }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR7Visitor19visit_generic_boundERNS_12GenericBoundE = external hidden unnamed_addr constant [70 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR7Visitor19visit_generic_boundERNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(168) %1) unnamed_addr #2 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 i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #4
  store i8 1, ptr %5, align 1, !tbaa !9
  br label %17

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

20:                                               ; preds = %17
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  br label %132

21:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %22, ptr %7, align 8, !tbaa !5
  br label %23

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

26:                                               ; preds = %23
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %130

27:                                               ; preds = %23
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call noundef i32 @_ZNK3HIR12GenericBound3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %28)
  switch i32 %29, label %128 [
    i32 0, label %30
    i32 1, label %31
    i32 2, label %49
    i32 3, label %72
    i32 4, label %100
  ]

30:                                               ; preds = %27
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 389, ptr noundef @__PRETTY_FUNCTION__._ZN3HIR7Visitor19visit_generic_boundERNS_12GenericBoundE) #5
  unreachable

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  store i8 1, ptr %8, align 1, !tbaa !9
  br label %32

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

35:                                               ; preds = %32
  store i32 9, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  br label %48

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3HIR12GenericBound11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(168) %37)
  store ptr %38, ptr %9, align 8, !tbaa !5
  br label %39

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

43:                                               ; preds = %39
  store i32 12, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %46

44:                                               ; preds = %39
  br label %45

45:                                               ; preds = %44
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %39, !llvm.loop !13

46:                                               ; preds = %43
  br label %47

47:                                               ; preds = %46
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %32, !llvm.loop !15

48:                                               ; preds = %35
  br label %128

49:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %50

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

53:                                               ; preds = %50
  store i32 15, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %71

54:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN3HIR12GenericBound15as_TypeLifetimeEv(ptr noundef nonnull align 8 dereferenceable(168) %55)
  store ptr %56, ptr %11, align 8, !tbaa !5
  br label %57

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

61:                                               ; preds = %57
  store i32 18, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %69

62:                                               ; preds = %57
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TypeLifetime", ptr %63, i32 0, i32 0
  %65 = load ptr, ptr %16, align 8, !tbaa !16
  %66 = getelementptr inbounds ptr, ptr %65, i64 21
  %67 = load ptr, ptr %66, align 8
  call void %67(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %64)
  br label %68

68:                                               ; preds = %62
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %57, !llvm.loop !18

69:                                               ; preds = %61
  br label %70

70:                                               ; preds = %69
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %50, !llvm.loop !19

71:                                               ; preds = %53
  br label %128

72:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  store i8 1, ptr %12, align 1, !tbaa !9
  br label %73

73:                                               ; preds = %98, %72
  %74 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %75 = trunc i8 %74 to i1
  br i1 %75, label %77, label %76

76:                                               ; preds = %73
  store i32 21, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  br label %99

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %78)
  store ptr %79, ptr %13, align 8, !tbaa !5
  br label %80

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

84:                                               ; preds = %80
  store i32 24, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %97

85:                                               ; preds = %80
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %86, i32 0, i32 1
  %88 = load ptr, ptr %16, align 8, !tbaa !16
  %89 = getelementptr inbounds ptr, ptr %88, i64 21
  %90 = load ptr, ptr %89, align 8
  call void %90(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %87)
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %91, i32 0, i32 2
  %93 = load ptr, ptr %16, align 8, !tbaa !16
  %94 = getelementptr inbounds ptr, ptr %93, i64 23
  %95 = load ptr, ptr %94, align 8
  call void %95(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(144) %92)
  br label %96

96:                                               ; preds = %85
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %80, !llvm.loop !20

97:                                               ; preds = %84
  br label %98

98:                                               ; preds = %97
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %73, !llvm.loop !21

99:                                               ; preds = %76
  br label %128

100:                                              ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  store i8 1, ptr %14, align 1, !tbaa !9
  br label %101

101:                                              ; preds = %126, %100
  %102 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %103 = trunc i8 %102 to i1
  br i1 %103, label %105, label %104

104:                                              ; preds = %101
  store i32 27, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  br label %127

105:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3HIR12GenericBound15as_TypeEqualityEv(ptr noundef nonnull align 8 dereferenceable(168) %106)
  store ptr %107, ptr %15, align 8, !tbaa !5
  br label %108

108:                                              ; preds = %124, %105
  %109 = load ptr, ptr %15, align 8, !tbaa !5
  %110 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %111 = trunc i8 %110 to i1
  br i1 %111, label %113, label %112

112:                                              ; preds = %108
  store i32 30, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %125

113:                                              ; preds = %108
  %114 = load ptr, ptr %15, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TypeEquality", ptr %114, i32 0, i32 0
  %116 = load ptr, ptr %16, align 8, !tbaa !16
  %117 = getelementptr inbounds ptr, ptr %116, i64 21
  %118 = load ptr, ptr %117, align 8
  call void %118(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %115)
  %119 = load ptr, ptr %15, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TypeEquality", ptr %119, i32 0, i32 1
  %121 = load ptr, ptr %16, align 8, !tbaa !16
  %122 = getelementptr inbounds ptr, ptr %121, i64 21
  %123 = load ptr, ptr %122, align 8
  call void %123(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %120)
  br label %124

124:                                              ; preds = %113
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %108, !llvm.loop !22

125:                                              ; preds = %112
  br label %126

126:                                              ; preds = %125
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %101, !llvm.loop !23

127:                                              ; preds = %104
  br label %128

128:                                              ; preds = %127, %99, %71, %48, %27
  br label %129

129:                                              ; preds = %128
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %23, !llvm.loop !24

130:                                              ; preds = %26
  br label %131

131:                                              ; preds = %130
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %17, !llvm.loop !25

132:                                              ; preds = %20
  ret void
}

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !8, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !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"

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR7Visitor19visit_generic_boundERNS_12GenericBoundE = external hidden unnamed_addr constant [70 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR7Visitor19visit_generic_boundERNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(168) %1) unnamed_addr #1 align 2 {
.lr.ph:
  %2 = tail call noundef i32 @_ZNK3HIR12GenericBound3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
  switch i32 %2, label %.loopexit44 [
    i32 0, label %.split
    i32 1, label %.preheader
    i32 2, label %.preheader37
    i32 3, label %.preheader39
    i32 4, label %.preheader41
  ]

.loopexit44:                                      ; preds = %.preheader, %.lr.ph, %.preheader37, %.preheader39, %.preheader41
  ret void

.preheader41:                                     ; preds = %.lr.ph
  %3 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3HIR12GenericBound15as_TypeEqualityEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
  %4 = getelementptr inbounds i8, ptr %3, i64 8
  %5 = load ptr, ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 168
  %7 = load ptr, ptr %6, align 8
  tail call void %7(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %8 = load ptr, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 168
  %10 = load ptr, ptr %9, align 8
  tail call void %10(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %4)
  br label %.loopexit44

.preheader39:                                     ; preds = %.lr.ph
  %11 = tail call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
  %12 = getelementptr inbounds i8, ptr %11, i64 8
  %13 = getelementptr inbounds i8, ptr %11, i64 16
  %14 = load ptr, ptr %0, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %14, i64 168
  %16 = load ptr, ptr %15, align 8
  tail call void %16(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %17 = load ptr, ptr %0, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 184
  %19 = load ptr, ptr %18, align 8
  tail call void %19(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(144) %13)
  br label %.loopexit44

.preheader37:                                     ; preds = %.lr.ph
  %20 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZN3HIR12GenericBound15as_TypeLifetimeEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
  %21 = load ptr, ptr %0, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 168
  %23 = load ptr, ptr %22, align 8
  tail call void %23(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %20)
  br label %.loopexit44

.preheader:                                       ; preds = %.lr.ph
  %24 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3HIR12GenericBound11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
  br label %.loopexit44

.split:                                           ; preds = %.lr.ph
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 389, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3HIR7Visitor19visit_generic_boundERNS_12GenericBoundE) #3
  unreachable
}

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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