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

; 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.197 = type { ptr }
%class.anon.198 = type { ptr }
%"class.__gnu_cxx::__normal_iterator.152" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.153" = type { ptr }
%"struct.HIR::TypeData::Data_Infer" = type { i32, i32 }
%"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 }
%"struct.HIR::TypeData::Data_Borrow" = type { %"struct.HIR::LifetimeRef", i32, %"class.HIR::TypeRef" }
%"struct.HIR::LifetimeRef" = type { i32 }
%"struct.HIR::TypeData::Data_Pointer" = type { i32, %"class.HIR::TypeRef" }
%"struct.HIR::TypeData::Data_Slice" = type { %"class.HIR::TypeRef" }
%"struct.HIR::TypeData::Data_Array" = type { %"class.HIR::TypeRef", %"class.HIR::ArraySize" }
%"class.HIR::ArraySize" = type { i32, %"union.HIR::ArraySize::DataUnion" }
%"union.HIR::ArraySize::DataUnion" = type { %"class.HIR::ConstGeneric" }
%"class.HIR::ConstGeneric" = type { i32, %"union.HIR::ConstGeneric::DataUnion" }
%"union.HIR::ConstGeneric::DataUnion" = type { %"class.std::unique_ptr.16", [8 x i8] }
%"class.std::unique_ptr.16" = type { %"struct.std::__uniq_ptr_data.17" }
%"struct.std::__uniq_ptr_data.17" = type { %"class.std::__uniq_ptr_impl.18" }
%"class.std::__uniq_ptr_impl.18" = type { %"class.std::tuple.19" }
%"class.std::tuple.19" = type { %"struct.std::_Tuple_impl.20" }
%"struct.std::_Tuple_impl.20" = type { %"struct.std::_Head_base.23" }
%"struct.std::_Head_base.23" = type { ptr }
%"struct.HIR::TypeData::Data_NamedFunction" = type { %"class.HIR::Path", %"class.HIR::TypeData_NamedFunction_Ty" }
%"class.HIR::TypeData_NamedFunction_Ty" = type { i32, %"union.HIR::TypeData_NamedFunction_Ty::DataUnion" }
%"union.HIR::TypeData_NamedFunction_Ty::DataUnion" = type { %"struct.HIR::TypeData_NamedFunction_Ty::Data_EnumConstructor" }
%"struct.HIR::TypeData_NamedFunction_Ty::Data_EnumConstructor" = type { ptr, i64 }
%"struct.HIR::TypeData_FunctionPointer" = type { %"class.HIR::GenericParams", i8, i8, %class.RcString, %"class.HIR::TypeRef", %"class.std::vector.60" }
%"class.HIR::GenericParams" = type { %"class.std::vector.65", %"class.std::vector.70", %"class.std::vector.75", %"class.std::vector.80" }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = 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.70" = type { %"struct.std::_Vector_base.71" }
%"struct.std::_Vector_base.71" = 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.75" = type { %"struct.std::_Vector_base.76" }
%"struct.std::_Vector_base.76" = 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.80" = type { %"struct.std::_Vector_base.81" }
%"struct.std::_Vector_base.81" = 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.std::vector.60" = type { %"struct.std::_Vector_base.61" }
%"struct.std::_Vector_base.61" = 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 }
%"struct.HIR::TypeData_TraitObject" = type <{ %"class.HIR::TraitPath", %"class.std::vector.45", %"struct.HIR::LifetimeRef", [4 x i8] }>
%"class.HIR::TraitPath" = type { %"class.std::unique_ptr.29", %"class.HIR::GenericPath", %"class.std::map", %"class.std::map.40", ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyEqual>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyEqual>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyEqual>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyEqual>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyBound>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyBound>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyBound>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyBound>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<HIR::GenericPath, std::allocator<HIR::GenericPath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GenericPath, std::allocator<HIR::GenericPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GenericPath, std::allocator<HIR::GenericPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GenericPath, std::allocator<HIR::GenericPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::TypeData_ErasedType" = type { i8, %"class.std::vector.50", %"class.std::vector.55", %"class.HIR::TypeData_ErasedType_Inner" }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = type { %"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.55" = type { %"struct.std::_Vector_base.56" }
%"struct.std::_Vector_base.56" = type { %"struct.std::_Vector_base<HIR::LifetimeRef, std::allocator<HIR::LifetimeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::LifetimeRef, std::allocator<HIR::LifetimeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::LifetimeRef, std::allocator<HIR::LifetimeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::LifetimeRef, std::allocator<HIR::LifetimeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::TypeData_ErasedType_Inner" = type { i32, %"union.HIR::TypeData_ErasedType_Inner::DataUnion" }
%"union.HIR::TypeData_ErasedType_Inner::DataUnion" = type { %"struct.HIR::TypeData_ErasedType_Inner::Data_Alias", [56 x i8] }
%"struct.HIR::TypeData_ErasedType_Inner::Data_Alias" = type { %"struct.HIR::PathParams", %"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 }
%"struct.HIR::TypeData_ErasedType_Inner::Data_Fcn" = type <{ %"class.HIR::Path", i32, [4 x i8] }>

@.str.7 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb = external hidden unnamed_addr constant [79 x i8], align 1
@_ZTIPKc = external constant ptr

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

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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184)) #4 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)) #4 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i1 noundef zeroext %2) #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca %class.TraceLog, align 8
  %9 = alloca %"class.std::function", align 8
  %10 = alloca %class.anon.197, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %class.anon.198, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.152", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.152", align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.153", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.153", align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca i8, align 1
  %39 = alloca ptr, align 8
  %40 = alloca i8, align 1
  %41 = alloca ptr, align 8
  %42 = alloca i8, align 1
  %43 = alloca ptr, align 8
  %44 = alloca i8, align 1
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.152", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.152", align 8
  %50 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %51 = zext i1 %2 to i8
  store i8 %51, ptr %7, align 1, !tbaa !9
  %52 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #8
  %53 = call noundef zeroext i1 @_Z13debug_enabledv()
  %54 = zext i1 %53 to i64
  %55 = select i1 %53, ptr @__func__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %56 = getelementptr inbounds %class.anon.197, ptr %10, i32 0, i32 0
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %57, ptr %56, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef %55, ptr noundef %9)
          to label %58 unwind label %65

58:                                               ; preds = %3
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %59 = getelementptr inbounds %class.anon.198, ptr %13, i32 0, i32 0
  store ptr %52, ptr %59, align 8, !tbaa !11
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
          to label %62 unwind label %69

62:                                               ; preds = %58
  %63 = invoke noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184) %61)
          to label %64 unwind label %69

64:                                               ; preds = %62
  switch i32 %63, label %537 [
    i32 0, label %73
    i32 1, label %74
    i32 3, label %94
    i32 2, label %105
    i32 5, label %116
    i32 4, label %127
    i32 11, label %144
    i32 12, label %161
    i32 9, label %178
    i32 8, label %195
    i32 15, label %212
    i32 16, label %223
    i32 13, label %234
    i32 14, label %251
    i32 6, label %302
    i32 7, label %356
    i32 10, label %493
  ]

65:                                               ; preds = %3
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %11, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %542

69:                                               ; preds = %537, %62, %58
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %11, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %12, align 4
  br label %541

73:                                               ; preds = %64
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.7, i32 noundef 1066, ptr noundef @__PRETTY_FUNCTION__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb) #9
  unreachable

74:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %75)
          to label %77 unwind label %88

77:                                               ; preds = %74
  %78 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %76)
          to label %79 unwind label %88

79:                                               ; preds = %77
  store ptr %78, ptr %14, align 8, !tbaa !5
  %80 = load ptr, ptr %14, align 8, !tbaa !5
  %81 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %82 = trunc i8 %81 to i1
  br i1 %82, label %83, label %92

83:                                               ; preds = %79
  %84 = load ptr, ptr %14, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.HIR::TypeData::Data_Infer", ptr %84, i32 0, i32 0
  %86 = load i32, ptr %85, align 4, !tbaa !15
  %87 = icmp eq i32 %86, -1
  store i1 %87, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %93

88:                                               ; preds = %77, %74
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %11, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %541

92:                                               ; preds = %79
  store i1 true, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %93

93:                                               ; preds = %92, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %539

94:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %95)
          to label %97 unwind label %101

97:                                               ; preds = %94
  %98 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3HIR8TypeData12as_PrimitiveEv(ptr noundef nonnull align 8 dereferenceable(184) %96)
          to label %99 unwind label %101

99:                                               ; preds = %97
  store ptr %98, ptr %16, align 8, !tbaa !5
  %100 = load ptr, ptr %16, align 8, !tbaa !5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %539

101:                                              ; preds = %97, %94
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %11, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %541

105:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %106)
          to label %108 unwind label %112

108:                                              ; preds = %105
  %109 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3HIR8TypeData10as_DivergeEv(ptr noundef nonnull align 8 dereferenceable(184) %107)
          to label %110 unwind label %112

110:                                              ; preds = %108
  store ptr %109, ptr %17, align 8, !tbaa !5
  %111 = load ptr, ptr %17, align 8, !tbaa !5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %539

112:                                              ; preds = %108, %105
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %11, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %541

116:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %117)
          to label %119 unwind label %123

119:                                              ; preds = %116
  %120 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3HIR8TypeData10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(184) %118)
          to label %121 unwind label %123

121:                                              ; preds = %119
  store ptr %120, ptr %18, align 8, !tbaa !5
  %122 = load ptr, ptr %18, align 8, !tbaa !5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %539

123:                                              ; preds = %119, %116
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %11, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %541

127:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %128)
          to label %130 unwind label %140

130:                                              ; preds = %127
  %131 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNK3HIR8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %129)
          to label %132 unwind label %140

132:                                              ; preds = %130
  store ptr %131, ptr %19, align 8, !tbaa !5
  %133 = load ptr, ptr %19, align 8, !tbaa !5
  %134 = load ptr, ptr %19, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %134, i32 0, i32 0
  %136 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %137 = trunc i8 %136 to i1
  %138 = invoke noundef zeroext i1 @"_ZZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbENK3$_1clERKNS0_4PathEb"(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(88) %135, i1 noundef zeroext %137)
          to label %139 unwind label %140

139:                                              ; preds = %132
  store i1 %138, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %539

140:                                              ; preds = %132, %130, %127
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %11, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %541

144:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %145)
          to label %147 unwind label %157

147:                                              ; preds = %144
  %148 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(184) %146)
          to label %149 unwind label %157

149:                                              ; preds = %147
  store ptr %148, ptr %20, align 8, !tbaa !5
  %150 = load ptr, ptr %20, align 8, !tbaa !5
  %151 = load ptr, ptr %20, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.HIR::TypeData::Data_Borrow", ptr %151, i32 0, i32 2
  %153 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %154 = trunc i8 %153 to i1
  %155 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(8) %152, i1 noundef zeroext %154)
          to label %156 unwind label %157

156:                                              ; preds = %149
  store i1 %155, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %539

157:                                              ; preds = %149, %147, %144
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %11, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %541

161:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %162)
          to label %164 unwind label %174

164:                                              ; preds = %161
  %165 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData10as_PointerEv(ptr noundef nonnull align 8 dereferenceable(184) %163)
          to label %166 unwind label %174

166:                                              ; preds = %164
  store ptr %165, ptr %21, align 8, !tbaa !5
  %167 = load ptr, ptr %21, align 8, !tbaa !5
  %168 = load ptr, ptr %21, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.HIR::TypeData::Data_Pointer", ptr %168, i32 0, i32 1
  %170 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %171 = trunc i8 %170 to i1
  %172 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(8) %169, i1 noundef zeroext %171)
          to label %173 unwind label %174

173:                                              ; preds = %166
  store i1 %172, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %539

174:                                              ; preds = %166, %164, %161
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %11, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %541

178:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %179)
          to label %181 unwind label %191

181:                                              ; preds = %178
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(184) %180)
          to label %183 unwind label %191

183:                                              ; preds = %181
  store ptr %182, ptr %22, align 8, !tbaa !5
  %184 = load ptr, ptr %22, align 8, !tbaa !5
  %185 = load ptr, ptr %22, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.HIR::TypeData::Data_Slice", ptr %185, i32 0, i32 0
  %187 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %188 = trunc i8 %187 to i1
  %189 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(8) %186, i1 noundef zeroext %188)
          to label %190 unwind label %191

190:                                              ; preds = %183
  store i1 %189, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %539

191:                                              ; preds = %183, %181, %178
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %11, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %541

195:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %196)
          to label %198 unwind label %208

198:                                              ; preds = %195
  %199 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR8TypeData8as_ArrayEv(ptr noundef nonnull align 8 dereferenceable(184) %197)
          to label %200 unwind label %208

200:                                              ; preds = %198
  store ptr %199, ptr %23, align 8, !tbaa !5
  %201 = load ptr, ptr %23, align 8, !tbaa !5
  %202 = load ptr, ptr %23, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.HIR::TypeData::Data_Array", ptr %202, i32 0, i32 0
  %204 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %205 = trunc i8 %204 to i1
  %206 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(8) %203, i1 noundef zeroext %205)
          to label %207 unwind label %208

207:                                              ; preds = %200
  store i1 %206, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %539

208:                                              ; preds = %200, %198, %195
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %11, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %541

212:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  %214 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %213)
          to label %215 unwind label %219

215:                                              ; preds = %212
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData10as_ClosureEv(ptr noundef nonnull align 8 dereferenceable(184) %214)
          to label %217 unwind label %219

217:                                              ; preds = %215
  store ptr %216, ptr %24, align 8, !tbaa !5
  %218 = load ptr, ptr %24, align 8, !tbaa !5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %539

219:                                              ; preds = %215, %212
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %11, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %541

223:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %224 = load ptr, ptr %6, align 8, !tbaa !5
  %225 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %224)
          to label %226 unwind label %230

226:                                              ; preds = %223
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData12as_GeneratorEv(ptr noundef nonnull align 8 dereferenceable(184) %225)
          to label %228 unwind label %230

228:                                              ; preds = %226
  store ptr %227, ptr %25, align 8, !tbaa !5
  %229 = load ptr, ptr %25, align 8, !tbaa !5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %539

230:                                              ; preds = %226, %223
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %11, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %541

234:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %235)
          to label %237 unwind label %247

237:                                              ; preds = %234
  %238 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNK3HIR8TypeData16as_NamedFunctionEv(ptr noundef nonnull align 8 dereferenceable(184) %236)
          to label %239 unwind label %247

239:                                              ; preds = %237
  store ptr %238, ptr %26, align 8, !tbaa !5
  %240 = load ptr, ptr %26, align 8, !tbaa !5
  %241 = load ptr, ptr %26, align 8, !tbaa !5
  %242 = getelementptr inbounds %"struct.HIR::TypeData::Data_NamedFunction", ptr %241, i32 0, i32 0
  %243 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %244 = trunc i8 %243 to i1
  %245 = invoke noundef zeroext i1 @"_ZZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbENK3$_1clERKNS0_4PathEb"(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(88) %242, i1 noundef zeroext %244)
          to label %246 unwind label %247

246:                                              ; preds = %239
  store i1 %245, ptr %4, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %539

247:                                              ; preds = %239, %237, %234
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %11, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %541

251:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %252)
          to label %254 unwind label %269

254:                                              ; preds = %251
  %255 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3HIR8TypeData11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(184) %253)
          to label %256 unwind label %269

256:                                              ; preds = %254
  store ptr %255, ptr %27, align 8, !tbaa !5
  %257 = load ptr, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %258 = load ptr, ptr %27, align 8, !tbaa !5
  %259 = getelementptr inbounds %"struct.HIR::TypeData_FunctionPointer", ptr %258, i32 0, i32 5
  store ptr %259, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %260 = load ptr, ptr %28, align 8, !tbaa !5
  %261 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %260) #8
  %262 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.152", ptr %29, i32 0, i32 0
  store ptr %261, ptr %262, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %263 = load ptr, ptr %28, align 8, !tbaa !5
  %264 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %263) #8
  %265 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.152", ptr %30, i32 0, i32 0
  store ptr %264, ptr %265, align 8
  br label %266

266:                                              ; preds = %289, %256
  %267 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br i1 %267, label %273, label %268

268:                                              ; preds = %266
  store i32 3, ptr %15, align 4
  br label %291

269:                                              ; preds = %293, %254, %251
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %11, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %12, align 4
  br label %301

273:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %274 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  store ptr %274, ptr %31, align 8, !tbaa !5
  %275 = load ptr, ptr %31, align 8, !tbaa !5
  %276 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %277 = trunc i8 %276 to i1
  %278 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(8) %275, i1 noundef zeroext %277)
          to label %279 unwind label %281

279:                                              ; preds = %273
  br i1 %278, label %280, label %285

280:                                              ; preds = %279
  store i1 true, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %286

281:                                              ; preds = %273
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %11, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %301

285:                                              ; preds = %279
  store i32 0, ptr %15, align 4
  br label %286

286:                                              ; preds = %285, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  %287 = load i32, ptr %15, align 4
  switch i32 %287, label %291 [
    i32 0, label %288
  ]

288:                                              ; preds = %286
  br label %289

289:                                              ; preds = %288
  %290 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  br label %266

291:                                              ; preds = %286, %268
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  %292 = load i32, ptr %15, align 4
  switch i32 %292, label %300 [
    i32 3, label %293
  ]

293:                                              ; preds = %291
  %294 = load ptr, ptr %27, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.HIR::TypeData_FunctionPointer", ptr %294, i32 0, i32 4
  %296 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %297 = trunc i8 %296 to i1
  %298 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(8) %295, i1 noundef zeroext %297)
          to label %299 unwind label %269

299:                                              ; preds = %293
  store i1 %298, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %300

300:                                              ; preds = %299, %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %539

301:                                              ; preds = %281, %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %541

302:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %303)
          to label %305 unwind label %320

305:                                              ; preds = %302
  %306 = invoke noundef nonnull align 8 dereferenceable(172) ptr @_ZNK3HIR8TypeData14as_TraitObjectEv(ptr noundef nonnull align 8 dereferenceable(184) %304)
          to label %307 unwind label %320

307:                                              ; preds = %305
  store ptr %306, ptr %32, align 8, !tbaa !5
  %308 = load ptr, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %309 = load ptr, ptr %32, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.HIR::TypeData_TraitObject", ptr %309, i32 0, i32 1
  store ptr %310, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %311 = load ptr, ptr %33, align 8, !tbaa !5
  %312 = call ptr @_ZNKSt6vectorIN3HIR11GenericPathESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %311) #8
  %313 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.153", ptr %34, i32 0, i32 0
  store ptr %312, ptr %313, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %314 = load ptr, ptr %33, align 8, !tbaa !5
  %315 = call ptr @_ZNKSt6vectorIN3HIR11GenericPathESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %314) #8
  %316 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.153", ptr %35, i32 0, i32 0
  store ptr %315, ptr %316, align 8
  br label %317

317:                                              ; preds = %341, %307
  %318 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br i1 %318, label %324, label %319

319:                                              ; preds = %317
  store i32 5, ptr %15, align 4
  br label %343

320:                                              ; preds = %345, %305, %302
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %11, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %12, align 4
  br label %355

324:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %325 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  store ptr %325, ptr %36, align 8, !tbaa !5
  %326 = load ptr, ptr %36, align 8, !tbaa !5
  %327 = getelementptr inbounds %"class.HIR::GenericPath", ptr %326, i32 0, i32 1
  %328 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %329 = trunc i8 %328 to i1
  %330 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence24pathparams_contain_ivarsERKN3HIR10PathParamsEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(24) %327, i1 noundef zeroext %329)
          to label %331 unwind label %333

331:                                              ; preds = %324
  br i1 %330, label %332, label %337

332:                                              ; preds = %331
  store i1 true, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %338

333:                                              ; preds = %324
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %11, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %355

337:                                              ; preds = %331
  store i32 0, ptr %15, align 4
  br label %338

338:                                              ; preds = %337, %332
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  %339 = load i32, ptr %15, align 4
  switch i32 %339, label %343 [
    i32 0, label %340
  ]

340:                                              ; preds = %338
  br label %341

341:                                              ; preds = %340
  %342 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br label %317

343:                                              ; preds = %338, %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  %344 = load i32, ptr %15, align 4
  switch i32 %344, label %354 [
    i32 5, label %345
  ]

345:                                              ; preds = %343
  %346 = load ptr, ptr %32, align 8, !tbaa !5
  %347 = getelementptr inbounds %"struct.HIR::TypeData_TraitObject", ptr %346, i32 0, i32 0
  %348 = getelementptr inbounds %"class.HIR::TraitPath", ptr %347, i32 0, i32 1
  %349 = getelementptr inbounds %"class.HIR::GenericPath", ptr %348, i32 0, i32 1
  %350 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %351 = trunc i8 %350 to i1
  %352 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence24pathparams_contain_ivarsERKN3HIR10PathParamsEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(24) %349, i1 noundef zeroext %351)
          to label %353 unwind label %320

353:                                              ; preds = %345
  store i1 %352, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %354

354:                                              ; preds = %353, %343
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %539

355:                                              ; preds = %333, %320
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %541

356:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %357 = load ptr, ptr %6, align 8, !tbaa !5
  %358 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %357)
          to label %359 unwind label %367

359:                                              ; preds = %356
  %360 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3HIR8TypeData13as_ErasedTypeEv(ptr noundef nonnull align 8 dereferenceable(184) %358)
          to label %361 unwind label %367

361:                                              ; preds = %359
  store ptr %360, ptr %37, align 8, !tbaa !5
  %362 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #8
  store i8 1, ptr %38, align 1, !tbaa !9
  br label %363

363:                                              ; preds = %485, %361
  %364 = load i8, ptr %38, align 1, !tbaa !9, !range !13, !noundef !14
  %365 = trunc i8 %364 to i1
  br i1 %365, label %371, label %366

366:                                              ; preds = %363
  store i32 7, ptr %15, align 4
  br label %486

367:                                              ; preds = %359, %356
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %11, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %12, align 4
  br label %492

371:                                              ; preds = %363
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %372 = load ptr, ptr %37, align 8, !tbaa !5
  %373 = getelementptr inbounds %"struct.HIR::TypeData_ErasedType", ptr %372, i32 0, i32 3
  store ptr %373, ptr %39, align 8, !tbaa !5
  br label %374

374:                                              ; preds = %480, %371
  %375 = load i8, ptr %38, align 1, !tbaa !9, !range !13, !noundef !14
  %376 = trunc i8 %375 to i1
  br i1 %376, label %378, label %377

377:                                              ; preds = %374
  store i32 10, ptr %15, align 4
  br label %481

378:                                              ; preds = %374
  %379 = load ptr, ptr %39, align 8, !tbaa !5
  %380 = invoke noundef i32 @_ZNK3HIR25TypeData_ErasedType_Inner3tagEv(ptr noundef nonnull align 8 dereferenceable(104) %379)
          to label %381 unwind label %382

381:                                              ; preds = %378
  switch i32 %380, label %479 [
    i32 0, label %386
    i32 1, label %387
    i32 2, label %420
    i32 3, label %452
  ]

382:                                              ; preds = %378
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %11, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %12, align 4
  br label %483

386:                                              ; preds = %381
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.7, i32 noundef 1048, ptr noundef @__PRETTY_FUNCTION__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb) #9
  unreachable

387:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #8
  store i8 1, ptr %40, align 1, !tbaa !9
  br label %388

388:                                              ; preds = %416, %387
  %389 = load i8, ptr %40, align 1, !tbaa !9, !range !13, !noundef !14
  %390 = trunc i8 %389 to i1
  br i1 %390, label %392, label %391

391:                                              ; preds = %388
  store i32 14, ptr %15, align 4
  br label %417

392:                                              ; preds = %388
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %393 = load ptr, ptr %39, align 8, !tbaa !5
  %394 = invoke noundef nonnull align 8 dereferenceable(92) ptr @_ZNK3HIR25TypeData_ErasedType_Inner6as_FcnEv(ptr noundef nonnull align 8 dereferenceable(104) %393)
          to label %395 unwind label %401

395:                                              ; preds = %392
  store ptr %394, ptr %41, align 8, !tbaa !5
  br label %396

396:                                              ; preds = %412, %395
  %397 = load ptr, ptr %41, align 8, !tbaa !5
  %398 = load i8, ptr %40, align 1, !tbaa !9, !range !13, !noundef !14
  %399 = trunc i8 %398 to i1
  br i1 %399, label %405, label %400

400:                                              ; preds = %396
  store i32 17, ptr %15, align 4
  br label %413

401:                                              ; preds = %405, %392
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %11, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  br label %483

405:                                              ; preds = %396
  %406 = load ptr, ptr %41, align 8, !tbaa !5
  %407 = getelementptr inbounds %"struct.HIR::TypeData_ErasedType_Inner::Data_Fcn", ptr %406, i32 0, i32 0
  %408 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %409 = trunc i8 %408 to i1
  %410 = invoke noundef zeroext i1 @"_ZZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbENK3$_1clERKNS0_4PathEb"(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(88) %407, i1 noundef zeroext %409)
          to label %411 unwind label %401

411:                                              ; preds = %405
  store i1 %410, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %413

412:                                              ; No predecessors!
  store i8 0, ptr %40, align 1, !tbaa !9
  br label %396, !llvm.loop !19

413:                                              ; preds = %411, %400
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  %414 = load i32, ptr %15, align 4
  switch i32 %414, label %417 [
    i32 17, label %415
  ]

415:                                              ; preds = %413
  br label %416

416:                                              ; preds = %415
  store i8 0, ptr %40, align 1, !tbaa !9
  br label %388, !llvm.loop !21

417:                                              ; preds = %413, %391
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  %418 = load i32, ptr %15, align 4
  switch i32 %418, label %481 [
    i32 14, label %419
  ]

419:                                              ; preds = %417
  br label %479

420:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #8
  store i8 1, ptr %42, align 1, !tbaa !9
  br label %421

421:                                              ; preds = %448, %420
  %422 = load i8, ptr %42, align 1, !tbaa !9, !range !13, !noundef !14
  %423 = trunc i8 %422 to i1
  br i1 %423, label %425, label %424

424:                                              ; preds = %421
  store i32 20, ptr %15, align 4
  br label %449

425:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %426 = load ptr, ptr %39, align 8, !tbaa !5
  %427 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR25TypeData_ErasedType_Inner8as_KnownEv(ptr noundef nonnull align 8 dereferenceable(104) %426)
          to label %428 unwind label %434

428:                                              ; preds = %425
  store ptr %427, ptr %43, align 8, !tbaa !5
  br label %429

429:                                              ; preds = %444, %428
  %430 = load ptr, ptr %43, align 8, !tbaa !5
  %431 = load i8, ptr %42, align 1, !tbaa !9, !range !13, !noundef !14
  %432 = trunc i8 %431 to i1
  br i1 %432, label %438, label %433

433:                                              ; preds = %429
  store i32 23, ptr %15, align 4
  br label %445

434:                                              ; preds = %438, %425
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %11, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  br label %483

438:                                              ; preds = %429
  %439 = load ptr, ptr %43, align 8, !tbaa !5
  %440 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %441 = trunc i8 %440 to i1
  %442 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(8) %439, i1 noundef zeroext %441)
          to label %443 unwind label %434

443:                                              ; preds = %438
  store i1 %442, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %445

444:                                              ; No predecessors!
  store i8 0, ptr %42, align 1, !tbaa !9
  br label %429, !llvm.loop !22

445:                                              ; preds = %443, %433
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  %446 = load i32, ptr %15, align 4
  switch i32 %446, label %449 [
    i32 23, label %447
  ]

447:                                              ; preds = %445
  br label %448

448:                                              ; preds = %447
  store i8 0, ptr %42, align 1, !tbaa !9
  br label %421, !llvm.loop !23

449:                                              ; preds = %445, %424
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  %450 = load i32, ptr %15, align 4
  switch i32 %450, label %481 [
    i32 20, label %451
  ]

451:                                              ; preds = %449
  br label %479

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

453:                                              ; preds = %475, %452
  %454 = load i8, ptr %44, align 1, !tbaa !9, !range !13, !noundef !14
  %455 = trunc i8 %454 to i1
  br i1 %455, label %457, label %456

456:                                              ; preds = %453
  store i32 26, ptr %15, align 4
  br label %476

457:                                              ; preds = %453
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %458 = load ptr, ptr %39, align 8, !tbaa !5
  %459 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR25TypeData_ErasedType_Inner8as_AliasEv(ptr noundef nonnull align 8 dereferenceable(104) %458)
          to label %460 unwind label %466

460:                                              ; preds = %457
  store ptr %459, ptr %45, align 8, !tbaa !5
  br label %461

461:                                              ; preds = %471, %460
  %462 = load ptr, ptr %45, align 8, !tbaa !5
  %463 = load i8, ptr %44, align 1, !tbaa !9, !range !13, !noundef !14
  %464 = trunc i8 %463 to i1
  br i1 %464, label %470, label %465

465:                                              ; preds = %461
  store i32 29, ptr %15, align 4
  br label %472

466:                                              ; preds = %457
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %11, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  br label %483

470:                                              ; preds = %461
  store i1 false, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %472

471:                                              ; No predecessors!
  store i8 0, ptr %44, align 1, !tbaa !9
  br label %461, !llvm.loop !24

472:                                              ; preds = %470, %465
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  %473 = load i32, ptr %15, align 4
  switch i32 %473, label %476 [
    i32 29, label %474
  ]

474:                                              ; preds = %472
  br label %475

475:                                              ; preds = %474
  store i8 0, ptr %44, align 1, !tbaa !9
  br label %453, !llvm.loop !25

476:                                              ; preds = %472, %456
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  %477 = load i32, ptr %15, align 4
  switch i32 %477, label %481 [
    i32 26, label %478
  ]

478:                                              ; preds = %476
  br label %479

479:                                              ; preds = %478, %451, %419, %381
  br label %480

480:                                              ; preds = %479
  store i8 0, ptr %38, align 1, !tbaa !9
  br label %374, !llvm.loop !26

481:                                              ; preds = %476, %449, %417, %377
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  %482 = load i32, ptr %15, align 4
  switch i32 %482, label %486 [
    i32 10, label %484
  ]

483:                                              ; preds = %466, %434, %401, %382
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  br label %492

484:                                              ; preds = %481
  br label %485

485:                                              ; preds = %484
  store i8 0, ptr %38, align 1, !tbaa !9
  br label %363, !llvm.loop !27

486:                                              ; preds = %481, %366
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  %487 = load i32, ptr %15, align 4
  switch i32 %487, label %489 [
    i32 7, label %488
  ]

488:                                              ; preds = %486
  store i32 0, ptr %15, align 4
  br label %489

489:                                              ; preds = %488, %486
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  %490 = load i32, ptr %15, align 4
  switch i32 %490, label %539 [
    i32 0, label %491
  ]

491:                                              ; preds = %489
  br label %537

492:                                              ; preds = %483, %367
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %541

493:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %494 = load ptr, ptr %6, align 8, !tbaa !5
  %495 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %494)
          to label %496 unwind label %510

496:                                              ; preds = %493
  %497 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR8TypeData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(184) %495)
          to label %498 unwind label %510

498:                                              ; preds = %496
  store ptr %497, ptr %46, align 8, !tbaa !5
  %499 = load ptr, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %500 = load ptr, ptr %46, align 8, !tbaa !5
  store ptr %500, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %501 = load ptr, ptr %47, align 8, !tbaa !5
  %502 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %501) #8
  %503 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.152", ptr %48, i32 0, i32 0
  store ptr %502, ptr %503, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %504 = load ptr, ptr %47, align 8, !tbaa !5
  %505 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %504) #8
  %506 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.152", ptr %49, i32 0, i32 0
  store ptr %505, ptr %506, align 8
  br label %507

507:                                              ; preds = %530, %498
  %508 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  br i1 %508, label %514, label %509

509:                                              ; preds = %507
  store i32 32, ptr %15, align 4
  br label %532

510:                                              ; preds = %496, %493
  %511 = landingpad { ptr, i32 }
          cleanup
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %11, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %12, align 4
  br label %536

514:                                              ; preds = %507
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %515 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  store ptr %515, ptr %50, align 8, !tbaa !5
  %516 = load ptr, ptr %50, align 8, !tbaa !5
  %517 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %518 = trunc i8 %517 to i1
  %519 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %52, ptr noundef nonnull align 8 dereferenceable(8) %516, i1 noundef zeroext %518)
          to label %520 unwind label %522

520:                                              ; preds = %514
  br i1 %519, label %521, label %526

521:                                              ; preds = %520
  store i1 true, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %527

522:                                              ; preds = %514
  %523 = landingpad { ptr, i32 }
          cleanup
  %524 = extractvalue { ptr, i32 } %523, 0
  store ptr %524, ptr %11, align 8
  %525 = extractvalue { ptr, i32 } %523, 1
  store i32 %525, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %536

526:                                              ; preds = %520
  store i32 0, ptr %15, align 4
  br label %527

527:                                              ; preds = %526, %521
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  %528 = load i32, ptr %15, align 4
  switch i32 %528, label %532 [
    i32 0, label %529
  ]

529:                                              ; preds = %527
  br label %530

530:                                              ; preds = %529
  %531 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br label %507

532:                                              ; preds = %527, %509
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  %533 = load i32, ptr %15, align 4
  switch i32 %533, label %535 [
    i32 32, label %534
  ]

534:                                              ; preds = %532
  store i1 false, ptr %4, align 1
  store i32 1, ptr %15, align 4
  br label %535

535:                                              ; preds = %534, %532
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %539

536:                                              ; preds = %522, %510
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %541

537:                                              ; preds = %491, %64
  %538 = call ptr @__cxa_allocate_exception(i64 8) #8
  store ptr @.str.15, ptr %538, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %538, ptr @_ZTIPKc, ptr null) #10
          to label %548 unwind label %69

539:                                              ; preds = %535, %489, %354, %300, %246, %228, %217, %207, %190, %173, %156, %139, %121, %110, %99, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #8
  %540 = load i1, ptr %4, align 1
  ret i1 %540

541:                                              ; preds = %536, %492, %355, %301, %247, %230, %219, %208, %191, %174, %157, %140, %123, %112, %101, %88, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #8
  br label %542

542:                                              ; preds = %541, %65
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #8
  br label %543

543:                                              ; preds = %542
  %544 = load ptr, ptr %11, align 8
  %545 = load i32, ptr %12, align 4
  %546 = insertvalue { ptr, i32 } poison, ptr %544, 0
  %547 = insertvalue { ptr, i32 } %546, i32 %545, 1
  resume { ptr, i32 } %547

548:                                              ; preds = %537
  unreachable
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbENK3$_1clERKNS0_4PathEb"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88), i1 noundef zeroext) #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { noreturn }

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

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


; 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.197 = type { ptr }
%class.anon.198 = type { ptr }
%"class.__gnu_cxx::__normal_iterator.152" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.153" = type { ptr }

@.str.7 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb = external hidden unnamed_addr constant [79 x i8], align 1
@_ZTIPKc = external constant ptr

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

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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #4 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 #4 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i1 noundef zeroext %2) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.TraceLog, align 8
  %5 = alloca %"class.std::function", align 8
  %6 = alloca %class.anon.197, align 8
  %7 = alloca %class.anon.198, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.152", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.152", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.153", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.153", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.152", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.152", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #8
  %14 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %15 = select i1 %14, ptr @__func__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  store ptr %1, ptr %6, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef %15, ptr noundef nonnull %5)
          to label %16 unwind label %19

16:                                               ; preds = %3
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  store ptr %0, ptr %7, align 8, !tbaa !9
  %17 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %18 = call noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184) %17)
  switch i32 %18, label %.thread161 [
    i32 0, label %23
    i32 1, label %24
    i32 3, label %29
    i32 2, label %32
    i32 5, label %35
    i32 4, label %38
    i32 11, label %44
    i32 12, label %51
    i32 9, label %58
    i32 8, label %64
    i32 15, label %70
    i32 16, label %73
    i32 13, label %76
    i32 14, label %82
    i32 6, label %102
    i32 7, label %.split
    i32 10, label %136
  ]

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

21:                                               ; preds = %.thread161
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %153

23:                                               ; preds = %16
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, i32 noundef 1066, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb) #9
  unreachable

24:                                               ; preds = %16
  %25 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %26 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %25)
  %27 = load i32, ptr %26, align 4
  %28 = icmp eq i32 %27, -1
  %not. = xor i1 %2, true
  %.0 = select i1 %not., i1 true, i1 %28
  br label %152

29:                                               ; preds = %16
  %30 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %31 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3HIR8TypeData12as_PrimitiveEv(ptr noundef nonnull align 8 dereferenceable(184) %30)
  br label %152

32:                                               ; preds = %16
  %33 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3HIR8TypeData10as_DivergeEv(ptr noundef nonnull align 8 dereferenceable(184) %33)
  br label %152

35:                                               ; preds = %16
  %36 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %37 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3HIR8TypeData10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(184) %36)
  br label %152

38:                                               ; preds = %16
  %39 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %40 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK3HIR8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %39)
  %41 = invoke noundef zeroext i1 @"_ZZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbENK3$_1clERKNS0_4PathEb"(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(88) %40, i1 noundef zeroext %2)
          to label %152 unwind label %42

42:                                               ; preds = %38
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %153

44:                                               ; preds = %16
  %45 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(184) %45)
  %47 = getelementptr inbounds i8, ptr %46, i64 8
  %48 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %47, i1 noundef zeroext %2)
          to label %152 unwind label %49

49:                                               ; preds = %44
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %153

51:                                               ; preds = %16
  %52 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData10as_PointerEv(ptr noundef nonnull align 8 dereferenceable(184) %52)
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %54, i1 noundef zeroext %2)
          to label %152 unwind label %56

56:                                               ; preds = %51
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %153

58:                                               ; preds = %16
  %59 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(184) %59)
  %61 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %60, i1 noundef zeroext %2)
          to label %152 unwind label %62

62:                                               ; preds = %58
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %153

64:                                               ; preds = %16
  %65 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %66 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR8TypeData8as_ArrayEv(ptr noundef nonnull align 8 dereferenceable(184) %65)
  %67 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %66, i1 noundef zeroext %2)
          to label %152 unwind label %68

68:                                               ; preds = %64
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %153

70:                                               ; preds = %16
  %71 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData10as_ClosureEv(ptr noundef nonnull align 8 dereferenceable(184) %71)
  br label %152

73:                                               ; preds = %16
  %74 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData12as_GeneratorEv(ptr noundef nonnull align 8 dereferenceable(184) %74)
  br label %152

76:                                               ; preds = %16
  %77 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %78 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK3HIR8TypeData16as_NamedFunctionEv(ptr noundef nonnull align 8 dereferenceable(184) %77)
  %79 = invoke noundef zeroext i1 @"_ZZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbENK3$_1clERKNS0_4PathEb"(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(88) %78, i1 noundef zeroext %2)
          to label %152 unwind label %80

80:                                               ; preds = %76
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %153

82:                                               ; preds = %16
  %83 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %84 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3HIR8TypeData11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(184) %83)
  %85 = getelementptr inbounds i8, ptr %84, i64 120
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %86 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #8
  store ptr %86, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %87 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #8
  store ptr %87, ptr %9, align 8
  %88 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br i1 %88, label %.lr.ph187, label %._crit_edge188

89:                                               ; preds = %._crit_edge188
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %153

.lr.ph187:                                        ; preds = %82, %96
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %92 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %91, i1 noundef zeroext %2)
          to label %95 unwind label %93

93:                                               ; preds = %.lr.ph187
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %153

95:                                               ; preds = %.lr.ph187
  br i1 %92, label %99, label %96

96:                                               ; preds = %95
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br i1 %98, label %.lr.ph187, label %._crit_edge188

99:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %152

._crit_edge188:                                   ; preds = %96, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %100 = getelementptr inbounds i8, ptr %84, i64 112
  %101 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %100, i1 noundef zeroext %2)
          to label %152 unwind label %89

102:                                              ; preds = %16
  %103 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %104 = call noundef nonnull align 8 dereferenceable(172) ptr @_ZNK3HIR8TypeData14as_TraitObjectEv(ptr noundef nonnull align 8 dereferenceable(184) %103)
  %105 = getelementptr inbounds i8, ptr %104, i64 144
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %106 = call ptr @_ZNKSt6vectorIN3HIR11GenericPathESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #8
  store ptr %106, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %107 = call ptr @_ZNKSt6vectorIN3HIR11GenericPathESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #8
  store ptr %107, ptr %11, align 8
  %108 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  br i1 %108, label %.lr.ph185, label %._crit_edge

109:                                              ; preds = %._crit_edge
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %153

.lr.ph185:                                        ; preds = %102, %117
  %111 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %112 = getelementptr inbounds i8, ptr %111, i64 8
  %113 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence24pathparams_contain_ivarsERKN3HIR10PathParamsEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(24) %112, i1 noundef zeroext %2)
          to label %116 unwind label %114

114:                                              ; preds = %.lr.ph185
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %153

116:                                              ; preds = %.lr.ph185
  br i1 %113, label %120, label %117

117:                                              ; preds = %116
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %119 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR11GenericPathESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  br i1 %119, label %.lr.ph185, label %._crit_edge

120:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %152

._crit_edge:                                      ; preds = %117, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  %121 = getelementptr inbounds i8, ptr %104, i64 16
  %122 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence24pathparams_contain_ivarsERKN3HIR10PathParamsEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(24) %121, i1 noundef zeroext %2)
          to label %152 unwind label %109

.split:                                           ; preds = %16
  %123 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %124 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3HIR8TypeData13as_ErasedTypeEv(ptr noundef nonnull align 8 dereferenceable(184) %123)
  %125 = getelementptr inbounds i8, ptr %124, i64 56
  %126 = call noundef i32 @_ZNK3HIR25TypeData_ErasedType_Inner3tagEv(ptr noundef nonnull align 8 dereferenceable(104) %125)
  switch i32 %126, label %.thread161 [
    i32 0, label %.split173.us
    i32 1, label %.split175.us
    i32 2, label %.split178.us
    i32 3, label %.split182.us
  ], !llvm.loop !11

.split173.us:                                     ; preds = %.split
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, i32 noundef 1048, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb) #9
  unreachable

.split175.us:                                     ; preds = %.split
  %127 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZNK3HIR25TypeData_ErasedType_Inner6as_FcnEv(ptr noundef nonnull align 8 dereferenceable(104) %125)
  %128 = invoke noundef zeroext i1 @"_ZZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbENK3$_1clERKNS0_4PathEb"(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(88) %127, i1 noundef zeroext %2)
          to label %152 unwind label %129

129:                                              ; preds = %.split175.us
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %153

.split178.us:                                     ; preds = %.split
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR25TypeData_ErasedType_Inner8as_KnownEv(ptr noundef nonnull align 8 dereferenceable(104) %125)
  %132 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %131, i1 noundef zeroext %2)
          to label %152 unwind label %133

133:                                              ; preds = %.split178.us
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %153

.split182.us:                                     ; preds = %.split
  %135 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR25TypeData_ErasedType_Inner8as_AliasEv(ptr noundef nonnull align 8 dereferenceable(104) %125)
  br label %152

136:                                              ; preds = %16
  %137 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %138 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR8TypeData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(184) %137)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %139 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #8
  store ptr %139, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %140 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #8
  store ptr %140, ptr %13, align 8
  %141 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br i1 %141, label %.lr.ph, label %.critedge159

.lr.ph:                                           ; preds = %136, %147
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %143 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(8) %142, i1 noundef zeroext %2)
          to label %146 unwind label %144

144:                                              ; preds = %.lr.ph
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %153

146:                                              ; preds = %.lr.ph
  br i1 %143, label %150, label %147

147:                                              ; preds = %146
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %149 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br i1 %149, label %.lr.ph, label %.critedge159

150:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %152

.critedge159:                                     ; preds = %147, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %152

.thread161:                                       ; preds = %.split, %16
  %151 = call ptr @__cxa_allocate_exception(i64 8) #8
  store ptr @.str.15, ptr %151, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr nonnull %151, ptr nonnull @_ZTIPKc, ptr null) #10
          to label %155 unwind label %21

152:                                              ; preds = %.split182.us, %.split175.us, %.split178.us, %120, %99, %150, %.critedge159, %._crit_edge, %._crit_edge188, %76, %64, %58, %51, %44, %38, %73, %70, %35, %32, %29, %24
  %.27 = phi i1 [ false, %73 ], [ false, %70 ], [ false, %35 ], [ false, %32 ], [ false, %29 ], [ %.0, %24 ], [ %41, %38 ], [ %48, %44 ], [ %55, %51 ], [ %61, %58 ], [ %67, %64 ], [ %79, %76 ], [ true, %99 ], [ %101, %._crit_edge188 ], [ true, %120 ], [ %122, %._crit_edge ], [ false, %.critedge159 ], [ true, %150 ], [ %132, %.split178.us ], [ %128, %.split175.us ], [ false, %.split182.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #8
  ret i1 %.27

153:                                              ; preds = %129, %133, %109, %114, %89, %93, %144, %80, %68, %62, %56, %49, %42, %21
  %.pn153 = phi { ptr, i32 } [ %22, %21 ], [ %145, %144 ], [ %81, %80 ], [ %69, %68 ], [ %63, %62 ], [ %57, %56 ], [ %50, %49 ], [ %43, %42 ], [ %90, %89 ], [ %94, %93 ], [ %110, %109 ], [ %115, %114 ], [ %134, %133 ], [ %130, %129 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #8
  br label %154

154:                                              ; preds = %153, %19
  %.pn153.pn = phi { ptr, i32 } [ %.pn153, %153 ], [ %20, %19 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn153.pn

155:                                              ; preds = %.thread161
  unreachable
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZNK16HMTypeInferrence19type_contains_ivarsERKN3HIR7TypeRefEbENK3$_1clERKNS0_4PathEb"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88), i1 noundef zeroext) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { noreturn }

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

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


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