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

; 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::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%class.TraceLog = type { ptr, %"class.std::function.179" }
%"class.std::function.179" = 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.358 = type { ptr }
%"struct.std::_Rb_tree_iterator.381" = type { ptr }
%"struct.std::_Rb_tree_iterator.384" = type { ptr }
%"class.HIR::TypeImpl" = type { %"class.HIR::GenericParams", %"class.HIR::TypeRef", %"class.std::map.348", %"class.std::map.353", %"struct.HIR::SimplePath" }
%"class.HIR::GenericParams" = type { %"class.std::vector.188", %"class.std::vector.193", %"class.std::vector.198", %"class.std::vector.203" }
%"class.std::vector.188" = type { %"struct.std::_Vector_base.189" }
%"struct.std::_Vector_base.189" = 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.193" = type { %"struct.std::_Vector_base.194" }
%"struct.std::_Vector_base.194" = 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.198" = type { %"struct.std::_Vector_base.199" }
%"struct.std::_Vector_base.199" = 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.203" = type { %"struct.std::_Vector_base.204" }
%"struct.std::_Vector_base.204" = 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::TypeRef" = type { ptr }
%"class.std::map.348" = type { %"class.std::_Rb_tree.349" }
%"class.std::_Rb_tree.349" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Function>>, std::_Select1st<std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Function>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Function>>, std::_Select1st<std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Function>>>, 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.353" = type { %"class.std::_Rb_tree.354" }
%"class.std::_Rb_tree.354" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Constant>>, std::_Select1st<std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Constant>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Constant>>, std::_Select1st<std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Constant>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"class.HIR::Visitor" = type { ptr, ptr }
%"struct.std::pair.382" = type { %class.RcString, %"struct.HIR::TypeImpl::VisImplEnt" }
%class.RcString = type { ptr }
%"struct.HIR::TypeImpl::VisImplEnt" = type { %"class.HIR::Publicity", i8, %"class.HIR::Function" }
%"class.HIR::Publicity" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.HIR::Function" = type { i8, %"struct.HIR::Linkage", i32, %"class.HIR::TypeRef", %class.RcString, i8, i8, %"class.HIR::GenericParams", %"class.std::vector.338", i8, %"class.HIR::TypeRef", %"class.HIR::ExprPtr", %"struct.HIR::Function::Markings" }
%"struct.HIR::Linkage" = type { i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.338" = type { %"struct.std::_Vector_base.339" }
%"struct.std::_Vector_base.339" = type { %"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::ExprPtr" = type { %"class.HIR::ExprPtrInner", %"class.std::vector.314", %"class.std::vector.314", %"class.MIR::FunctionPointer", %"class.HIR::ExprStatePtr" }
%"class.HIR::ExprPtrInner" = type { ptr }
%"class.std::vector.314" = type { %"struct.std::_Vector_base.315" }
%"struct.std::_Vector_base.315" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::FunctionPointer" = type { ptr }
%"class.HIR::ExprStatePtr" = type { ptr }
%"struct.HIR::Function::Markings" = type { %"class.std::vector.343", i8, i32 }
%"class.std::vector.343" = type { %"struct.std::_Vector_base.344" }
%"struct.std::_Vector_base.344" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.385" = type { %class.RcString, %"struct.HIR::TypeImpl::VisImplEnt.387" }
%"struct.HIR::TypeImpl::VisImplEnt.387" = type { %"class.HIR::Publicity", i8, %"class.HIR::Constant" }
%"class.HIR::Constant" = type { %"class.HIR::GenericParams", %"class.HIR::TypeRef", %"class.HIR::ExprPtr", %struct.EncodedLiteral, i32, %"class.std::map.329" }
%struct.EncodedLiteral = type { %"class.std::vector.319", %"class.std::vector.324" }
%"class.std::vector.319" = type { %"struct.std::_Vector_base.320" }
%"struct.std::_Vector_base.320" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.324" = type { %"struct.std::_Vector_base.325" }
%"struct.std::_Vector_base.325" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.329" = type { %"class.std::_Rb_tree.330" }
%"class.std::_Rb_tree.330" = type { %"struct.std::_Rb_tree<HIR::Path, std::pair<const HIR::Path, EncodedLiteral>, std::_Select1st<std::pair<const HIR::Path, EncodedLiteral>>, std::less<HIR::Path>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::Path, std::pair<const HIR::Path, EncodedLiteral>, std::_Select1st<std::pair<const HIR::Path, EncodedLiteral>>, std::less<HIR::Path>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@g_debug_indent_level = external global i32, align 4
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@__func__._ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind noalias writable sret(%"class.HIR::ItemPath") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(208) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.HIR::ItemPath", align 8
  %6 = alloca %class.TraceLog, align 8
  %7 = alloca %"class.std::function.179", align 8
  %8 = alloca %class.anon.358, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator.381", align 8
  %13 = alloca %"struct.std::_Rb_tree_iterator.381", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.HIR::ItemPath", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator.384", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator.384", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.HIR::ItemPath", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr %5) #6
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %"class.HIR::TypeImpl", ptr %22, i32 0, i32 1
  call void @_ZN3HIR8ItemPathC2ERKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #6
  %24 = call noundef zeroext i1 @_Z13debug_enabledv()
  %25 = zext i1 %24 to i64
  %26 = select i1 %24, ptr @__func__._ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %27 = getelementptr inbounds %class.anon.358, ptr %8, i32 0, i32 0
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %28, ptr %27, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor15visit_type_implERNS4_8TypeImplEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef %26, ptr noundef %7)
          to label %29 unwind label %39

29:                                               ; preds = %2
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %30 = getelementptr inbounds %"class.HIR::Visitor", ptr %21, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %47

33:                                               ; preds = %29
  %34 = getelementptr inbounds %"class.HIR::Visitor", ptr %21, i32 0, i32 1
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.HIR::TypeImpl", ptr %36, i32 0, i32 0
  invoke void @_ZN18StaticTraitResolve21set_impl_generics_rawE12MetadataTypeRKN3HIR13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(424) %35, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(96) %37)
          to label %38 unwind label %43

38:                                               ; preds = %33
  br label %47

39:                                               ; preds = %2
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %9, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %10, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %169

43:                                               ; preds = %163, %53, %47, %33
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %9, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %10, align 4
  br label %168

47:                                               ; preds = %38, %29
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.HIR::TypeImpl", ptr %48, i32 0, i32 0
  %50 = load ptr, ptr %21, align 8, !tbaa !11
  %51 = getelementptr inbounds ptr, ptr %50, i64 17
  %52 = load ptr, ptr %51, align 8
  invoke void %52(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(96) %49)
          to label %53 unwind label %43

53:                                               ; preds = %47
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.HIR::TypeImpl", ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %21, align 8, !tbaa !11
  %57 = getelementptr inbounds ptr, ptr %56, i64 21
  %58 = load ptr, ptr %57, align 8
  invoke void %58(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %59 unwind label %43

59:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.HIR::TypeImpl", ptr %60, i32 0, i32 2
  store ptr %61, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = call ptr @_ZNSt3mapI8RcStringN3HIR8TypeImpl10VisImplEntINS1_8FunctionEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %62) #6
  %64 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.381", ptr %12, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = call ptr @_ZNSt3mapI8RcStringN3HIR8TypeImpl10VisImplEntINS1_8FunctionEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %65) #6
  %67 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.381", ptr %13, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  br label %68

68:                                               ; preds = %107, %59
  %69 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8FunctionEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %69, label %71, label %70

70:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %109

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %72 = call noundef nonnull align 8 dereferenceable(384) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8FunctionEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  store ptr %72, ptr %14, align 8, !tbaa !5
  br label %73

73:                                               ; preds = %71
  %74 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %75 unwind label %90

75:                                               ; preds = %73
  br i1 %74, label %76, label %94

76:                                               ; preds = %75
  %77 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %77, ptr noundef @__func__._ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE)
          to label %79 unwind label %90

79:                                               ; preds = %76
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef @.str.5)
          to label %81 unwind label %90

81:                                               ; preds = %79
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.std::pair.382", ptr %82, i32 0, i32 0
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 8 dereferenceable(8) %83)
          to label %85 unwind label %90

85:                                               ; preds = %81
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef @_ZSt3decRSt8ios_base)
          to label %87 unwind label %90

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %89 unwind label %90

89:                                               ; preds = %87
  br label %94

90:                                               ; preds = %99, %96, %87, %85, %81, %79, %76, %73
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %9, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %168

94:                                               ; preds = %89, %75
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95
  %97 = load ptr, ptr %14, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.std::pair.382", ptr %97, i32 0, i32 0
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %15, ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(8) %98)
          to label %99 unwind label %90

99:                                               ; preds = %96
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.std::pair.382", ptr %100, i32 0, i32 1
  %102 = getelementptr inbounds %"struct.HIR::TypeImpl::VisImplEnt", ptr %101, i32 0, i32 2
  %103 = load ptr, ptr %21, align 8, !tbaa !11
  %104 = getelementptr inbounds ptr, ptr %103, i64 14
  %105 = load ptr, ptr %104, align 8
  invoke void %105(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef byval(%"class.HIR::ItemPath") align 8 %15, ptr noundef nonnull align 8 dereferenceable(352) %102)
          to label %106 unwind label %90

106:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %107

107:                                              ; preds = %106
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8FunctionEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %68

109:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %"class.HIR::TypeImpl", ptr %110, i32 0, i32 3
  store ptr %111, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %112 = load ptr, ptr %16, align 8, !tbaa !5
  %113 = call ptr @_ZNSt3mapI8RcStringN3HIR8TypeImpl10VisImplEntINS1_8ConstantEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %112) #6
  %114 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.384", ptr %17, i32 0, i32 0
  store ptr %113, ptr %114, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %115 = load ptr, ptr %16, align 8, !tbaa !5
  %116 = call ptr @_ZNSt3mapI8RcStringN3HIR8TypeImpl10VisImplEntINS1_8ConstantEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %115) #6
  %117 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.384", ptr %18, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  br label %118

118:                                              ; preds = %157, %109
  %119 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8ConstantEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br i1 %119, label %121, label %120

120:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %159

121:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %122 = call noundef nonnull align 8 dereferenceable(312) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8ConstantEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  store ptr %122, ptr %19, align 8, !tbaa !5
  br label %123

123:                                              ; preds = %121
  %124 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %125 unwind label %140

125:                                              ; preds = %123
  br i1 %124, label %126, label %144

126:                                              ; preds = %125
  %127 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %127, ptr noundef @__func__._ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE)
          to label %129 unwind label %140

129:                                              ; preds = %126
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef @.str.2)
          to label %131 unwind label %140

131:                                              ; preds = %129
  %132 = load ptr, ptr %19, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.std::pair.385", ptr %132, i32 0, i32 0
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull align 8 dereferenceable(8) %133)
          to label %135 unwind label %140

135:                                              ; preds = %131
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef @_ZSt3decRSt8ios_base)
          to label %137 unwind label %140

137:                                              ; preds = %135
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %139 unwind label %140

139:                                              ; preds = %137
  br label %144

140:                                              ; preds = %149, %146, %137, %135, %131, %129, %126, %123
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %9, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %168

144:                                              ; preds = %139, %125
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145
  %147 = load ptr, ptr %19, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.std::pair.385", ptr %147, i32 0, i32 0
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %20, ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(8) %148)
          to label %149 unwind label %140

149:                                              ; preds = %146
  %150 = load ptr, ptr %19, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.std::pair.385", ptr %150, i32 0, i32 1
  %152 = getelementptr inbounds %"struct.HIR::TypeImpl::VisImplEnt.387", ptr %151, i32 0, i32 2
  %153 = load ptr, ptr %21, align 8, !tbaa !11
  %154 = getelementptr inbounds ptr, ptr %153, i64 16
  %155 = load ptr, ptr %154, align 8
  invoke void %155(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef byval(%"class.HIR::ItemPath") align 8 %20, ptr noundef nonnull align 8 dereferenceable(280) %152)
          to label %156 unwind label %140

156:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %157

157:                                              ; preds = %156
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8ConstantEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br label %118

159:                                              ; preds = %120
  %160 = getelementptr inbounds %"class.HIR::Visitor", ptr %21, i32 0, i32 1
  %161 = load ptr, ptr %160, align 8, !tbaa !9
  %162 = icmp ne ptr %161, null
  br i1 %162, label %163, label %167

163:                                              ; preds = %159
  %164 = getelementptr inbounds %"class.HIR::Visitor", ptr %21, i32 0, i32 1
  %165 = load ptr, ptr %164, align 8, !tbaa !9
  invoke void @_ZN18StaticTraitResolve19clear_impl_genericsEv(ptr noundef nonnull align 8 dereferenceable(424) %165)
          to label %166 unwind label %43

166:                                              ; preds = %163
  br label %167

167:                                              ; preds = %166, %159
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #6
  ret void

168:                                              ; preds = %140, %90, %43
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #6
  br label %169

169:                                              ; preds = %168, %39
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #6
  br label %170

170:                                              ; preds = %169
  %171 = load ptr, ptr %9, align 8
  %172 = load i32, ptr %10, align 4
  %173 = insertvalue { ptr, i32 } poison, ptr %171, 0
  %174 = insertvalue { ptr, i32 } %173, i32 %172, 1
  resume { ptr, i32 } %174
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolve21set_impl_generics_rawE12MetadataTypeRKN3HIR13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(424), i32 noundef, ptr noundef nonnull align 8 dereferenceable(96)) #3 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolve19clear_impl_genericsEv(ptr noundef nonnull align 8 dereferenceable(424)) #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 = { 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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"_ZTSN3HIR7VisitorE", !6, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}


; 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::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%class.TraceLog = type { ptr, %"class.std::function.179" }
%"class.std::function.179" = 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.358 = type { ptr }
%"struct.std::_Rb_tree_iterator.381" = type { ptr }
%"struct.std::_Rb_tree_iterator.384" = type { ptr }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@__func__._ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind noalias writable sret(%"class.HIR::ItemPath") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(208) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.HIR::ItemPath", align 8
  %4 = alloca %class.TraceLog, align 8
  %5 = alloca %"class.std::function.179", align 8
  %6 = alloca %class.anon.358, align 8
  %7 = alloca %"struct.std::_Rb_tree_iterator.381", align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator.381", align 8
  %9 = alloca %"class.HIR::ItemPath", align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator.384", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator.384", align 8
  %12 = alloca %"class.HIR::ItemPath", align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #6
  %13 = getelementptr inbounds i8, ptr %1, i64 96
  call void @_ZN3HIR8ItemPathC2ERKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #6
  %14 = call noundef zeroext i1 @_Z13debug_enabledv()
  %15 = select i1 %14, ptr @__func__._ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  store ptr %1, ptr %6, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor15visit_type_implERNS4_8TypeImplEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef %15, ptr noundef nonnull %5)
          to label %16 unwind label %20

16:                                               ; preds = %2
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %24, label %19

19:                                               ; preds = %16
  invoke void @_ZN18StaticTraitResolve21set_impl_generics_rawE12MetadataTypeRKN3HIR13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(424) %18, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %24 unwind label %22

20:                                               ; preds = %2
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %95

22:                                               ; preds = %92, %28, %24, %19
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %94

24:                                               ; preds = %19, %16
  %25 = load ptr, ptr %0, align 8, !tbaa !11
  %26 = getelementptr inbounds i8, ptr %25, i64 136
  %27 = load ptr, ptr %26, align 8
  invoke void %27(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %28 unwind label %22

28:                                               ; preds = %24
  %29 = load ptr, ptr %0, align 8, !tbaa !11
  %30 = getelementptr inbounds i8, ptr %29, i64 168
  %31 = load ptr, ptr %30, align 8
  invoke void %31(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %32 unwind label %22

32:                                               ; preds = %28
  %33 = getelementptr inbounds i8, ptr %1, i64 104
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %34 = call ptr @_ZNSt3mapI8RcStringN3HIR8TypeImpl10VisImplEntINS1_8FunctionEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %33) #6
  store ptr %34, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %35 = call ptr @_ZNSt3mapI8RcStringN3HIR8TypeImpl10VisImplEntINS1_8FunctionEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %33) #6
  store ptr %35, ptr %8, align 8
  %36 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8FunctionEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %36, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %63, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %37 = getelementptr inbounds i8, ptr %1, i64 152
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %38 = call ptr @_ZNSt3mapI8RcStringN3HIR8TypeImpl10VisImplEntINS1_8ConstantEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  store ptr %38, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %39 = call ptr @_ZNSt3mapI8RcStringN3HIR8TypeImpl10VisImplEntINS1_8ConstantEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  store ptr %39, ptr %11, align 8
  %40 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8ConstantEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %40, label %.lr.ph27, label %._crit_edge28

.lr.ph:                                           ; preds = %32, %63
  %41 = call noundef nonnull align 8 dereferenceable(384) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8FunctionEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %42 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %43 unwind label %55

43:                                               ; preds = %.lr.ph
  br i1 %42, label %44, label %57

44:                                               ; preds = %43
  %45 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %45, ptr noundef nonnull @__func__._ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE)
          to label %47 unwind label %55

47:                                               ; preds = %44
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull @.str.5)
          to label %49 unwind label %55

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %51 unwind label %55

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %53 unwind label %55

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %57 unwind label %55

55:                                               ; preds = %58, %57, %53, %51, %49, %47, %44, %.lr.ph
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %94

57:                                               ; preds = %53, %43
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %9, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %58 unwind label %55

58:                                               ; preds = %57
  %59 = getelementptr inbounds i8, ptr %41, i64 32
  %60 = load ptr, ptr %0, align 8, !tbaa !11
  %61 = getelementptr inbounds i8, ptr %60, i64 112
  %62 = load ptr, ptr %61, align 8
  invoke void %62(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %9, ptr noundef nonnull align 8 dereferenceable(352) %59)
          to label %63 unwind label %55

63:                                               ; preds = %58
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8FunctionEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %65 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8FunctionEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %65, label %.lr.ph, label %._crit_edge

._crit_edge28:                                    ; preds = %89, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %66 = load ptr, ptr %17, align 8, !tbaa !9
  %.not23 = icmp eq ptr %66, null
  br i1 %.not23, label %93, label %92

.lr.ph27:                                         ; preds = %._crit_edge, %89
  %67 = call noundef nonnull align 8 dereferenceable(312) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8ConstantEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %68 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %69 unwind label %81

69:                                               ; preds = %.lr.ph27
  br i1 %68, label %70, label %83

70:                                               ; preds = %69
  %71 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %71, ptr noundef nonnull @__func__._ZN3HIR7Visitor15visit_type_implERNS_8TypeImplE)
          to label %73 unwind label %81

73:                                               ; preds = %70
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull @.str.2)
          to label %75 unwind label %81

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %77 unwind label %81

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %79 unwind label %81

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %83 unwind label %81

81:                                               ; preds = %84, %83, %79, %77, %75, %73, %70, %.lr.ph27
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %94

83:                                               ; preds = %79, %69
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %12, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %84 unwind label %81

84:                                               ; preds = %83
  %85 = getelementptr inbounds i8, ptr %67, i64 32
  %86 = load ptr, ptr %0, align 8, !tbaa !11
  %87 = getelementptr inbounds i8, ptr %86, i64 128
  %88 = load ptr, ptr %87, align 8
  invoke void %88(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %12, ptr noundef nonnull align 8 dereferenceable(280) %85)
          to label %89 unwind label %81

89:                                               ; preds = %84
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8ConstantEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %91 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR8TypeImpl10VisImplEntINS3_8ConstantEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %91, label %.lr.ph27, label %._crit_edge28

92:                                               ; preds = %._crit_edge28
  invoke void @_ZN18StaticTraitResolve19clear_impl_genericsEv(ptr noundef nonnull align 8 dereferenceable(424) %66)
          to label %93 unwind label %22

93:                                               ; preds = %92, %._crit_edge28
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  ret void

94:                                               ; preds = %81, %55, %22
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %82, %81 ], [ %23, %22 ]
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #6
  br label %95

95:                                               ; preds = %94, %20
  %.pn.pn = phi { ptr, i32 } [ %.pn, %94 ], [ %21, %20 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolve21set_impl_generics_rawE12MetadataTypeRKN3HIR13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(424), i32 noundef, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolve19clear_impl_genericsEv(ptr noundef nonnull align 8 dereferenceable(424)) local_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 = { 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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"_ZTSN3HIR7VisitorE", !6, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass