; LLVM IR from thepowersgang/mrustc :: src/hir_typeck (helpers)

; 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.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.547 = type { ptr, ptr, ptr }
%"class.std::function.221" = type { %"class.std::_Function_base", ptr }
%class.anon.548 = type { ptr, ptr, ptr, ptr }
%class.anon.549 = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.HIR::TypeData_Path" = type { %"class.HIR::Path", %"class.HIR::TypePathBinding", %"class.std::unique_ptr.29" }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"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.29" }
%"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.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.26, %class.ThinVector.27, %class.ThinVector.28 }
%class.ThinVector.26 = type { ptr }
%class.ThinVector.27 = type { ptr }
%class.ThinVector.28 = type { ptr }
%"class.HIR::TypePathBinding" = type { i32, %"union.HIR::TypePathBinding::DataUnion" }
%"union.HIR::TypePathBinding::DataUnion" = type { ptr }
%"class.std::unique_ptr.29" = type { %"struct.std::__uniq_ptr_data.30" }
%"struct.std::__uniq_ptr_data.30" = type { %"class.std::__uniq_ptr_impl.31" }
%"class.std::__uniq_ptr_impl.31" = type { %"class.std::tuple.32" }
%"class.std::tuple.32" = type { %"struct.std::_Tuple_impl.33" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }

@__func__._ZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEE = external hidden unnamed_addr constant [23 x i8], align 1

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK15TraitResolution21iterate_bounds_traitsERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathESt8functionIFbNS3_7CompareES6_RKNS3_11GenericPathERKN18TraitResolveCommon11CachedBoundEEE(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef %5) #5 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca i1, align 1
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %class.TraceLog, align 8
  %15 = alloca %"class.std::function", align 8
  %16 = alloca %class.anon.547, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i8, align 1
  %23 = alloca %"class.std::function.221", align 8
  %24 = alloca %class.anon.548, align 8
  %25 = alloca i8, align 1
  %26 = alloca %"class.std::function.221", align 8
  %27 = alloca %class.anon.549, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  %28 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #6
  %29 = call noundef zeroext i1 @_Z13debug_enabledv()
  %30 = zext i1 %29 to i64
  %31 = select i1 %29, ptr @__func__._ZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEE, ptr null
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  %32 = getelementptr inbounds %class.anon.547, ptr %16, i32 0, i32 0
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %33, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds %class.anon.547, ptr %16, i32 0, i32 1
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %35, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds %class.anon.547, ptr %16, i32 0, i32 2
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %37, ptr %36, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS8_10PathParamsERKNS8_7TypeRefES_IFb7ImplRefNS8_7CompareEEEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef %31, ptr noundef %15)
          to label %38 unwind label %52

38:                                               ; preds = %6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store ptr null, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  %40 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %41 unwind label %56

41:                                               ; preds = %38
  %42 = invoke noundef ptr @_ZNK3HIR8TypeData8opt_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %40)
          to label %43 unwind label %56

43:                                               ; preds = %41
  store ptr %42, ptr %20, align 8, !tbaa !5
  %44 = load ptr, ptr %20, align 8, !tbaa !5
  %45 = icmp ne ptr %44, null
  br i1 %45, label %46, label %60

46:                                               ; preds = %43
  %47 = load ptr, ptr %20, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %47, i32 0, i32 0
  %49 = getelementptr inbounds %"class.HIR::Path", ptr %48, i32 0, i32 0
  %50 = invoke noundef ptr @_ZNK3HIR4Path4Data13opt_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %49)
          to label %51 unwind label %56

51:                                               ; preds = %46
  store ptr %50, ptr %19, align 8, !tbaa !5
  br label %60

52:                                               ; preds = %6
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %17, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  br label %155

56:                                               ; preds = %46, %41, %38
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %17, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %154

60:                                               ; preds = %51, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %63 unwind label %75

63:                                               ; preds = %60
  %64 = invoke noundef zeroext i1 @_ZNK3HIR8TypeData8is_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %62)
          to label %65 unwind label %75

65:                                               ; preds = %63
  br i1 %64, label %66, label %79

66:                                               ; preds = %65
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %69 unwind label %75

69:                                               ; preds = %66
  %70 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %68)
          to label %71 unwind label %75

71:                                               ; preds = %69
  %72 = invoke noundef zeroext i1 @_ZNK3HIR8TypeData10Data_Infer6is_litEv(ptr noundef nonnull align 4 dereferenceable(8) %70)
          to label %73 unwind label %75

73:                                               ; preds = %71
  br i1 %72, label %79, label %74

74:                                               ; preds = %73
  store i1 false, ptr %7, align 1
  store i32 1, ptr %21, align 4
  br label %152

75:                                               ; preds = %71, %69, %66, %63, %60
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %17, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %18, align 4
  br label %154

79:                                               ; preds = %73, %65
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #6
  %83 = getelementptr inbounds %class.anon.548, ptr %24, i32 0, i32 0
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %84, ptr %83, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.anon.548, ptr %24, i32 0, i32 1
  store ptr %28, ptr %85, align 8, !tbaa !9
  %86 = getelementptr inbounds %class.anon.548, ptr %24, i32 0, i32 2
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %87, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds %class.anon.548, ptr %24, i32 0, i32 3
  store ptr %5, ptr %88, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFbN3HIR7CompareERKNS0_7TypeRefERKNS0_11GenericPathERKN18TraitResolveCommon11CachedBoundEEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKNS0_10SimplePathERKNS0_10PathParamsES4_S_IFb7ImplRefS1_EEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %89 unwind label %98

89:                                               ; preds = %79
  %90 = invoke noundef zeroext i1 @_ZNK15TraitResolution21iterate_bounds_traitsERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathESt8functionIFbNS3_7CompareES6_RKNS3_11GenericPathERKN18TraitResolveCommon11CachedBoundEEE(ptr noundef nonnull align 8 dereferenceable(280) %28, ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef %23)
          to label %91 unwind label %102

91:                                               ; preds = %89
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  %92 = zext i1 %90 to i8
  store i8 %92, ptr %22, align 1, !tbaa !11
  %93 = load i8, ptr %22, align 1, !tbaa !11, !range !13, !noundef !14
  %94 = trunc i8 %93 to i1
  br i1 %94, label %95, label %107

95:                                               ; preds = %91
  %96 = load i8, ptr %22, align 1, !tbaa !11, !range !13, !noundef !14
  %97 = trunc i8 %96 to i1
  store i1 %97, ptr %7, align 1
  store i32 1, ptr %21, align 4
  br label %108

98:                                               ; preds = %79
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %17, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %18, align 4
  br label %106

102:                                              ; preds = %89
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %17, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  br label %106

106:                                              ; preds = %102, %98
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %154

107:                                              ; preds = %91
  store i32 0, ptr %21, align 4
  br label %108

108:                                              ; preds = %107, %95
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  %109 = load i32, ptr %21, align 4
  switch i32 %109, label %152 [
    i32 0, label %110
  ]

110:                                              ; preds = %108
  %111 = load ptr, ptr %19, align 8, !tbaa !5
  %112 = icmp ne ptr %111, null
  br i1 %112, label %113, label %151

113:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = load ptr, ptr %19, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %19, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %117, i32 0, i32 1
  %119 = getelementptr inbounds %"class.HIR::GenericPath", ptr %118, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 56, ptr %27) #6
  %120 = getelementptr inbounds %class.anon.549, ptr %27, i32 0, i32 0
  store ptr %28, ptr %120, align 8, !tbaa !15
  %121 = getelementptr inbounds %class.anon.549, ptr %27, i32 0, i32 1
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %122, ptr %121, align 8, !tbaa !5
  %123 = getelementptr inbounds %class.anon.549, ptr %27, i32 0, i32 2
  store ptr %19, ptr %123, align 8, !tbaa !5
  %124 = getelementptr inbounds %class.anon.549, ptr %27, i32 0, i32 3
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %125, ptr %124, align 8, !tbaa !5
  %126 = getelementptr inbounds %class.anon.549, ptr %27, i32 0, i32 4
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %127, ptr %126, align 8, !tbaa !5
  %128 = getelementptr inbounds %class.anon.549, ptr %27, i32 0, i32 5
  store ptr %5, ptr %128, align 8, !tbaa !5
  %129 = getelementptr inbounds %class.anon.549, ptr %27, i32 0, i32 6
  %130 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %130, ptr %129, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFbN3HIR7CompareERKNS0_7TypeRefERKNS0_11GenericPathERKN18TraitResolveCommon11CachedBoundEEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKNS0_10SimplePathERKNS0_10PathParamsES4_S_IFb7ImplRefS1_EEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(56) %27)
          to label %131 unwind label %138

131:                                              ; preds = %113
  %132 = invoke noundef zeroext i1 @_ZNK15TraitResolution21iterate_bounds_traitsERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathESt8functionIFbNS3_7CompareES6_RKNS3_11GenericPathERKN18TraitResolveCommon11CachedBoundEEE(ptr noundef nonnull align 8 dereferenceable(280) %28, ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef %26)
          to label %133 unwind label %142

133:                                              ; preds = %131
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %27) #6
  %134 = zext i1 %132 to i8
  store i8 %134, ptr %25, align 1, !tbaa !11
  %135 = load i8, ptr %25, align 1, !tbaa !11, !range !13, !noundef !14
  %136 = trunc i8 %135 to i1
  br i1 %136, label %137, label %147

137:                                              ; preds = %133
  store i1 true, ptr %7, align 1
  store i32 1, ptr %21, align 4
  br label %148

138:                                              ; preds = %113
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %17, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %18, align 4
  br label %146

142:                                              ; preds = %131
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %17, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %146

146:                                              ; preds = %142, %138
  call void @llvm.lifetime.end.p0(i64 56, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  br label %154

147:                                              ; preds = %133
  store i32 0, ptr %21, align 4
  br label %148

148:                                              ; preds = %147, %137
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  %149 = load i32, ptr %21, align 4
  switch i32 %149, label %152 [
    i32 0, label %150
  ]

150:                                              ; preds = %148
  br label %151

151:                                              ; preds = %150, %110
  store i1 false, ptr %7, align 1
  store i32 1, ptr %21, align 4
  br label %152

152:                                              ; preds = %151, %148, %108, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #6
  %153 = load i1, ptr %7, align 1
  ret i1 %153

154:                                              ; preds = %146, %106, %75, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #6
  br label %155

155:                                              ; preds = %154, %52
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #6
  br label %156

156:                                              ; preds = %155
  %157 = load ptr, ptr %17, align 8
  %158 = load i32, ptr %18, align 4
  %159 = insertvalue { ptr, i32 } poison, ptr %157, 0
  %160 = insertvalue { ptr, i32 } %159, i32 %158, 1
  resume { ptr, i32 } %160
}

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS8_10PathParamsERKNS8_7TypeRefES_IFb7ImplRefNS8_7CompareEEEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFbN3HIR7CompareERKNS0_7TypeRefERKNS0_11GenericPathERKN18TraitResolveCommon11CachedBoundEEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKNS0_10SimplePathERKNS0_10PathParamsES4_S_IFb7ImplRefS1_EEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFbN3HIR7CompareERKNS0_7TypeRefERKNS0_11GenericPathERKN18TraitResolveCommon11CachedBoundEEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKNS0_10SimplePathERKNS0_10PathParamsES4_S_IFb7ImplRefS1_EEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #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 "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 = { 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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEEE3$_1", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEEE3$_2", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}


; 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.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.547 = type { ptr, ptr, ptr }
%"class.std::function.221" = type { %"class.std::_Function_base", ptr }
%class.anon.548 = type { ptr, ptr, ptr, ptr }
%class.anon.549 = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@__func__._ZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEE = external hidden unnamed_addr constant [23 x i8], align 1

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK15TraitResolution21iterate_bounds_traitsERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathESt8functionIFbNS3_7CompareES6_RKNS3_11GenericPathERKN18TraitResolveCommon11CachedBoundEEE(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef %5) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %class.TraceLog, align 8
  %8 = alloca %"class.std::function", align 8
  %9 = alloca %class.anon.547, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::function.221", align 8
  %12 = alloca %class.anon.548, align 8
  %13 = alloca %"class.std::function.221", align 8
  %14 = alloca %class.anon.549, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #6
  %15 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %16 = select i1 %15, ptr @__func__._ZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEE, ptr null
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  store ptr %2, ptr %9, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %3, ptr %17, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %4, ptr %18, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS8_10PathParamsERKNS8_7TypeRefES_IFb7ImplRefNS8_7CompareEEEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %16, ptr noundef nonnull %8)
          to label %19 unwind label %24

19:                                               ; preds = %6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  store ptr null, ptr %10, align 8, !tbaa !5
  %20 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %21 = call noundef ptr @_ZNK3HIR8TypeData8opt_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %20)
  %.not = icmp eq ptr %21, null
  br i1 %.not, label %26, label %22

22:                                               ; preds = %19
  %23 = call noundef ptr @_ZNK3HIR4Path4Data13opt_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %21)
  store ptr %23, ptr %10, align 8, !tbaa !5
  br label %26

24:                                               ; preds = %6
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %69

26:                                               ; preds = %22, %19
  %27 = phi ptr [ %23, %22 ], [ null, %19 ]
  %28 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %29 = call noundef zeroext i1 @_ZNK3HIR8TypeData8is_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %28)
  br i1 %29, label %30, label %37

30:                                               ; preds = %26
  %31 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %32 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %31)
  %33 = invoke noundef zeroext i1 @_ZNK3HIR8TypeData10Data_Infer6is_litEv(ptr noundef nonnull align 4 dereferenceable(8) %32)
          to label %34 unwind label %35

34:                                               ; preds = %30
  br i1 %33, label %37, label %67

35:                                               ; preds = %30
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %68

37:                                               ; preds = %34, %26
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  store ptr %3, ptr %12, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %0, ptr %38, align 8, !tbaa !9
  %39 = getelementptr inbounds i8, ptr %12, i64 16
  store ptr %1, ptr %39, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %12, i64 24
  store ptr %5, ptr %40, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFbN3HIR7CompareERKNS0_7TypeRefERKNS0_11GenericPathERKN18TraitResolveCommon11CachedBoundEEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKNS0_10SimplePathERKNS0_10PathParamsES4_S_IFb7ImplRefS1_EEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %41 unwind label %44

41:                                               ; preds = %37
  %42 = invoke noundef zeroext i1 @_ZNK15TraitResolution21iterate_bounds_traitsERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathESt8functionIFbNS3_7CompareES6_RKNS3_11GenericPathERKN18TraitResolveCommon11CachedBoundEEE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %11)
          to label %43 unwind label %46

43:                                               ; preds = %41
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br i1 %42, label %67, label %49

44:                                               ; preds = %37
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %41
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %48

48:                                               ; preds = %46, %44
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %68

49:                                               ; preds = %43
  %.not38 = icmp eq ptr %27, null
  br i1 %.not38, label %66, label %50

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %14) #6
  store ptr %0, ptr %14, align 8, !tbaa !11
  %51 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr %1, ptr %51, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %14, i64 16
  store ptr %10, ptr %52, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %14, i64 24
  store ptr %2, ptr %53, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %14, i64 32
  store ptr %3, ptr %54, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %14, i64 40
  store ptr %5, ptr %55, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %14, i64 48
  store ptr %4, ptr %56, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFbN3HIR7CompareERKNS0_7TypeRefERKNS0_11GenericPathERKN18TraitResolveCommon11CachedBoundEEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKNS0_10SimplePathERKNS0_10PathParamsES4_S_IFb7ImplRefS1_EEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(56) %14)
          to label %57 unwind label %61

57:                                               ; preds = %50
  %58 = getelementptr inbounds i8, ptr %27, i64 8
  %59 = invoke noundef zeroext i1 @_ZNK15TraitResolution21iterate_bounds_traitsERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathESt8functionIFbNS3_7CompareES6_RKNS3_11GenericPathERKN18TraitResolveCommon11CachedBoundEEE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull %13)
          to label %60 unwind label %63

60:                                               ; preds = %57
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %14) #6
  br i1 %59, label %67, label %66

61:                                               ; preds = %50
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %65

63:                                               ; preds = %57
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %65

65:                                               ; preds = %63, %61
  %.pn39 = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %14) #6
  br label %68

66:                                               ; preds = %60, %49
  br label %67

67:                                               ; preds = %34, %60, %43, %66
  %.2 = phi i1 [ false, %66 ], [ true, %60 ], [ true, %43 ], [ false, %34 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  ret i1 %.2

68:                                               ; preds = %65, %48, %35
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %65 ], [ %.pn, %48 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  br label %69

69:                                               ; preds = %68, %24
  %.pn39.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %68 ], [ %25, %24 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  resume { ptr, i32 } %.pn39.pn.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS8_10PathParamsERKNS8_7TypeRefES_IFb7ImplRefNS8_7CompareEEEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFbN3HIR7CompareERKNS0_7TypeRefERKNS0_11GenericPathERKN18TraitResolveCommon11CachedBoundEEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKNS0_10SimplePathERKNS0_10PathParamsES4_S_IFb7ImplRefS1_EEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFbN3HIR7CompareERKNS0_7TypeRefERKNS0_11GenericPathERKN18TraitResolveCommon11CachedBoundEEEC2IZNK15TraitResolution22find_trait_impls_boundERK4SpanRKNS0_10SimplePathERKNS0_10PathParamsES4_S_IFb7ImplRefS1_EEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #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 "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 = { 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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEEE3$_1", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSZNK15TraitResolution22find_trait_impls_boundERK4SpanRKN3HIR10SimplePathERKNS3_10PathParamsERKNS3_7TypeRefESt8functionIFb7ImplRefNS3_7CompareEEEE3$_2", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}


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