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

; 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.138 = type { ptr }
%class.anon.139 = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector, %class.ThinVector.15, %class.ThinVector.16 }
%class.ThinVector = type { ptr }
%class.ThinVector.15 = type { ptr }
%class.ThinVector.16 = type { ptr }
%struct.Span = type { ptr }
%class.anon.370 = type { ptr }
%class.anon.387 = type { ptr, ptr }
%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.388" = type { ptr }
%class.anon.422 = type { ptr, ptr }
%class.anon.423 = type { ptr, ptr }
%class.anon.424 = type { ptr, ptr }
%class.anon.425 = type { ptr }
%"struct.HIR::ExprCallCache" = type { %"class.std::vector.51", ptr, ptr, ptr, %"class.std::unique_ptr.140" }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.140" = type { %"struct.std::__uniq_ptr_data.141" }
%"struct.std::__uniq_ptr_data.141" = type { %"class.std::__uniq_ptr_impl.142" }
%"class.std::__uniq_ptr_impl.142" = type { %"class.std::tuple.143" }
%"class.std::tuple.143" = type { %"struct.std::_Tuple_impl.144" }
%"struct.std::_Tuple_impl.144" = type { %"struct.std::_Head_base.147" }
%"struct.std::_Head_base.147" = type { ptr }
%"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" }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector.17 }
%class.ThinVector.17 = type { ptr }
%class.RcString = type { ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.19" }
%"struct.std::_Head_base.19" = type { ptr }
%struct.Context = type { ptr, %"class.std::vector.56", %class.HMTypeInferrence, %class.TraitResolution, i32, %"class.std::vector.87", %"class.std::vector.92", %"class.std::vector.97", %"class.std::vector.102", %"class.std::vector.107", %"class.std::vector.111", %"class.std::map.116", %"struct.HIR::SimplePath" }
%"class.std::vector.56" = type { %"struct.std::_Vector_base.57" }
%"struct.std::_Vector_base.57" = type { %"struct.std::_Vector_base<Context::Binding, std::allocator<Context::Binding>>::_Vector_impl" }
%"struct.std::_Vector_base<Context::Binding, std::allocator<Context::Binding>>::_Vector_impl" = type { %"struct.std::_Vector_base<Context::Binding, std::allocator<Context::Binding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Context::Binding, std::allocator<Context::Binding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HMTypeInferrence = type <{ %"class.std::vector.61", %"class.std::vector.66", i8, [7 x i8] }>
%"class.std::vector.61" = type { %"struct.std::_Vector_base.62" }
%"struct.std::_Vector_base.62" = type { %"struct.std::_Vector_base<HMTypeInferrence::IVar, std::allocator<HMTypeInferrence::IVar>>::_Vector_impl" }
%"struct.std::_Vector_base<HMTypeInferrence::IVar, std::allocator<HMTypeInferrence::IVar>>::_Vector_impl" = type { %"struct.std::_Vector_base<HMTypeInferrence::IVar, std::allocator<HMTypeInferrence::IVar>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HMTypeInferrence::IVar, std::allocator<HMTypeInferrence::IVar>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.66" = type { %"struct.std::_Vector_base.67" }
%"struct.std::_Vector_base.67" = type { %"struct.std::_Vector_base<HMTypeInferrence::IVarValue, std::allocator<HMTypeInferrence::IVarValue>>::_Vector_impl" }
%"struct.std::_Vector_base<HMTypeInferrence::IVarValue, std::allocator<HMTypeInferrence::IVarValue>>::_Vector_impl" = type { %"struct.std::_Vector_base<HMTypeInferrence::IVarValue, std::allocator<HMTypeInferrence::IVarValue>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HMTypeInferrence::IVarValue, std::allocator<HMTypeInferrence::IVarValue>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TraitResolution = type { %struct.TraitResolveCommon, ptr, ptr, ptr, ptr, ptr, %"class.std::vector.82" }
%struct.TraitResolveCommon = type { ptr, ptr, ptr, %"class.std::map.71", %class.RangeVecMap, %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath" }
%"class.std::map.71" = type { %"class.std::_Rb_tree.72" }
%"class.std::_Rb_tree.72" = type { %"struct.std::_Rb_tree<HIR::TypeRef, std::pair<const HIR::TypeRef, TraitResolveCommon::CachedEquality>, std::_Select1st<std::pair<const HIR::TypeRef, TraitResolveCommon::CachedEquality>>, std::less<HIR::TypeRef>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::TypeRef, std::pair<const HIR::TypeRef, TraitResolveCommon::CachedEquality>, std::_Select1st<std::pair<const HIR::TypeRef, TraitResolveCommon::CachedEquality>>, std::less<HIR::TypeRef>>::_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.RangeVecMap = type <{ %"class.std::vector.77", [8 x i8] }>
%"class.std::vector.77" = type { %"struct.std::_Vector_base.78" }
%"struct.std::_Vector_base.78" = type { %"struct.std::_Vector_base<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>, std::allocator<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>, std::allocator<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>, std::allocator<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>, std::allocator<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.82" = type { %"struct.std::_Vector_base.83" }
%"struct.std::_Vector_base.83" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TypeRef>, std::allocator<std::unique_ptr<HIR::TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TypeRef>, std::allocator<std::unique_ptr<HIR::TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TypeRef>, std::allocator<std::unique_ptr<HIR::TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TypeRef>, std::allocator<std::unique_ptr<HIR::TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<std::unique_ptr<Context::Coercion>, std::allocator<std::unique_ptr<Context::Coercion>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<Context::Coercion>, std::allocator<std::unique_ptr<Context::Coercion>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<Context::Coercion>, std::allocator<std::unique_ptr<Context::Coercion>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<Context::Coercion>, std::allocator<std::unique_ptr<Context::Coercion>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.92" = type { %"struct.std::_Vector_base.93" }
%"struct.std::_Vector_base.93" = type { %"struct.std::_Vector_base<Context::Associated, std::allocator<Context::Associated>>::_Vector_impl" }
%"struct.std::_Vector_base<Context::Associated, std::allocator<Context::Associated>>::_Vector_impl" = type { %"struct.std::_Vector_base<Context::Associated, std::allocator<Context::Associated>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Context::Associated, std::allocator<Context::Associated>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<HIR::ExprNode *, std::allocator<HIR::ExprNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ExprNode *, std::allocator<HIR::ExprNode *>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ExprNode *, std::allocator<HIR::ExprNode *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ExprNode *, std::allocator<HIR::ExprNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.102" = type { %"struct.std::_Vector_base.103" }
%"struct.std::_Vector_base.103" = type { %"struct.std::_Vector_base<std::unique_ptr<Context::Revisitor>, std::allocator<std::unique_ptr<Context::Revisitor>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<Context::Revisitor>, std::allocator<std::unique_ptr<Context::Revisitor>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<Context::Revisitor>, std::allocator<std::unique_ptr<Context::Revisitor>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<Context::Revisitor>, std::allocator<std::unique_ptr<Context::Revisitor>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.107" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = type { %"struct.std::_Vector_base<Context::IVarPossible, std::allocator<Context::IVarPossible>>::_Vector_impl" }
%"struct.std::_Vector_base<Context::IVarPossible, std::allocator<Context::IVarPossible>>::_Vector_impl" = type { %"struct.std::_Vector_base<Context::IVarPossible, std::allocator<Context::IVarPossible>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Context::IVarPossible, std::allocator<Context::IVarPossible>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.116" = type { %"class.std::_Rb_tree.117" }
%"class.std::_Rb_tree.117" = type { %"struct.std::_Rb_tree<HIR::TypeData_ErasedType_AliasInner *, std::pair<HIR::TypeData_ErasedType_AliasInner *const, Context::TaitEntry>, std::_Select1st<std::pair<HIR::TypeData_ErasedType_AliasInner *const, Context::TaitEntry>>, std::less<HIR::TypeData_ErasedType_AliasInner *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::TypeData_ErasedType_AliasInner *, std::pair<HIR::TypeData_ErasedType_AliasInner *const, Context::TaitEntry>, std::_Select1st<std::pair<HIR::TypeData_ErasedType_AliasInner *const, Context::TaitEntry>>, std::less<HIR::TypeData_ErasedType_AliasInner *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.HIR::Function" = type { i8, %"struct.HIR::Linkage", i32, %"class.HIR::TypeRef", %class.RcString, i8, i8, %"class.HIR::GenericParams", %"class.std::vector.305", i8, %"class.HIR::TypeRef", %"class.HIR::ExprPtr", %"struct.HIR::Function::Markings" }
%"struct.HIR::Linkage" = type { i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.304 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.304 = type { i64, [8 x i8] }
%"class.HIR::GenericParams" = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.305" = type { %"struct.std::_Vector_base.306" }
%"struct.std::_Vector_base.306" = type { %"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::ExprPtr" = type { %"class.HIR::ExprPtrInner", %"class.std::vector.51", %"class.std::vector.51", %"class.MIR::FunctionPointer", %"class.HIR::ExprStatePtr" }
%"class.HIR::ExprPtrInner" = type { ptr }
%"class.MIR::FunctionPointer" = type { ptr }
%"class.HIR::ExprStatePtr" = type { ptr }
%"struct.HIR::Function::Markings" = type { %"class.std::vector.310", i8, i32 }
%"class.std::vector.310" = type { %"struct.std::_Vector_base.311" }
%"struct.std::_Vector_base.311" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::Trait" = type { %"class.HIR::GenericParams", %"struct.HIR::LifetimeRef", %"class.std::vector.33", i8, %"class.std::unordered_map.315", %"class.std::unordered_map.329", %"class.std::unordered_multimap", %"class.std::unordered_map.356", i32, %"class.std::vector.33", %"struct.HIR::SimplePath" }
%"struct.HIR::LifetimeRef" = type { i32 }
%"class.std::unordered_map.315" = type { %"class.std::_Hashtable.316" }
%"class.std::_Hashtable.316" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.329" = type { %"class.std::_Hashtable.330" }
%"class.std::_Hashtable.330" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_multimap" = type { %"class.std::_Hashtable.343" }
%"class.std::_Hashtable.343" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.356" = type { %"class.std::_Hashtable.357" }
%"class.std::_Hashtable.357" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = 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 }
%"struct.std::pair.389" = type { %"struct.HIR::Pattern", %"class.HIR::TypeRef" }
%"struct.HIR::Pattern" = type <{ %"class.std::vector.391", %"class.HIR::Pattern::Data", i32, [4 x i8] }>
%"class.std::vector.391" = type { %"struct.std::_Vector_base.392" }
%"struct.std::_Vector_base.392" = type { %"struct.std::_Vector_base<HIR::PatternBinding, std::allocator<HIR::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::PatternBinding, std::allocator<HIR::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::PatternBinding, std::allocator<HIR::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::PatternBinding, std::allocator<HIR::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::Pattern::Data" = type { i32, %"union.HIR::Pattern::Data::DataUnion" }
%"union.HIR::Pattern::Data::DataUnion" = type { %"struct.HIR::Pattern::Data::Data_PathValue", [64 x i8] }
%"struct.HIR::Pattern::Data::Data_PathValue" = type { %"class.HIR::Path", %"class.HIR::Pattern::PathBinding" }
%"class.HIR::Pattern::PathBinding" = type { i32, %"union.HIR::Pattern::PathBinding::DataUnion" }
%"union.HIR::Pattern::PathBinding::DataUnion" = type { %"struct.HIR::Pattern::PathBinding::Data_Enum" }
%"struct.HIR::Pattern::PathBinding::Data_Enum" = type { ptr, i32 }

@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE = external hidden unnamed_addr constant [26 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@__PRETTY_FUNCTION__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE = external hidden unnamed_addr constant [106 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9typecheck15fix_param_countERK4SpanR7ContextRKN3HIR7TypeRefEbRKNS5_4PathERKNS5_13GenericParamsERNS5_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96), i1 noundef zeroext) #3

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

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

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

; Function Attrs: nounwind
declare void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(56) %3) #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %class.TraceLog, align 8
  %11 = alloca %"class.std::function", align 8
  %12 = alloca %class.anon.138, align 8
  %13 = alloca %"class.std::function", align 8
  %14 = alloca %class.anon.139, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i8, align 1
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i8, align 1
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.HIR::TypeRef", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"struct.HIR::PathParams", align 8
  %27 = alloca i1, align 1
  %28 = alloca i8, align 1
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca %struct.Span, align 8
  %32 = alloca %"class.std::function", align 8
  %33 = alloca %class.anon.370, align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"struct.HIR::PathParams", align 8
  %36 = alloca %"struct.HIR::PathParams", align 8
  %37 = alloca i1, align 1
  %38 = alloca i8, align 1
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca %struct.Span, align 8
  %42 = alloca %"class.std::function", align 8
  %43 = alloca %class.anon.387, align 8
  %44 = alloca i8, align 1
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca %"class.HIR::ItemPath", align 8
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator.388", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.388", align 8
  %52 = alloca ptr, align 8
  %53 = alloca %class.TraceLog, align 8
  %54 = alloca %"class.std::function", align 8
  %55 = alloca %class.anon.422, align 8
  %56 = alloca %"class.std::function", align 8
  %57 = alloca %class.anon.423, align 8
  %58 = alloca %"class.HIR::TypeRef", align 8
  %59 = alloca %class.TraceLog, align 8
  %60 = alloca %"class.std::function", align 8
  %61 = alloca %class.anon.424, align 8
  %62 = alloca %"class.std::function", align 8
  %63 = alloca %class.anon.425, align 8
  %64 = alloca %"class.HIR::TypeRef", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #10
  %65 = call noundef zeroext i1 @_Z13debug_enabledv()
  %66 = zext i1 %65 to i64
  %67 = select i1 %65, ptr @__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %68 = getelementptr inbounds %class.anon.138, ptr %12, i32 0, i32 0
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %69, ptr %68, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %70 = getelementptr inbounds %class.anon.139, ptr %14, i32 0, i32 0
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %71, ptr %70, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef %67, ptr noundef %11, ptr noundef %13)
          to label %72 unwind label %79

72:                                               ; preds = %4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %73, i32 0, i32 0
  %75 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #10
  %76 = icmp eq i64 %75, 0
  br i1 %76, label %77, label %78

77:                                               ; preds = %72
  br label %84

78:                                               ; preds = %72
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.3, i32 noundef 209, ptr noundef @__PRETTY_FUNCTION__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE) #11
  unreachable

79:                                               ; preds = %4
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %15, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  br label %585

83:                                               ; No predecessors!
  br label %84

84:                                               ; preds = %83, %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #10
  store i8 1, ptr %18, align 1, !tbaa !9
  br label %85

85:                                               ; preds = %441, %84
  %86 = load i8, ptr %18, align 1, !tbaa !9, !range !11, !noundef !12
  %87 = trunc i8 %86 to i1
  br i1 %87, label %89, label %88

88:                                               ; preds = %85
  store i32 2, ptr %19, align 4
  br label %442

89:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds %"class.HIR::Path", ptr %90, i32 0, i32 0
  store ptr %91, ptr %20, align 8, !tbaa !5
  br label %92

92:                                               ; preds = %436, %89
  %93 = load i8, ptr %18, align 1, !tbaa !9, !range !11, !noundef !12
  %94 = trunc i8 %93 to i1
  br i1 %94, label %96, label %95

95:                                               ; preds = %92
  store i32 5, ptr %19, align 4
  br label %437

96:                                               ; preds = %92
  %97 = load ptr, ptr %20, align 8, !tbaa !5
  %98 = invoke noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %97)
          to label %99 unwind label %100

99:                                               ; preds = %96
  switch i32 %98, label %435 [
    i32 0, label %104
    i32 1, label %105
    i32 3, label %192
    i32 4, label %347
    i32 2, label %400
  ]

100:                                              ; preds = %96
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %15, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %16, align 4
  br label %439

104:                                              ; preds = %99
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 316, ptr noundef @__PRETTY_FUNCTION__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE) #11
  unreachable

105:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #10
  store i8 1, ptr %21, align 1, !tbaa !9
  br label %106

106:                                              ; preds = %190, %105
  %107 = load i8, ptr %21, align 1, !tbaa !9, !range !11, !noundef !12
  %108 = trunc i8 %107 to i1
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  store i32 9, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #10
  br label %191

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %111 = load ptr, ptr %20, align 8, !tbaa !5
  %112 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %111)
          to label %113 unwind label %119

113:                                              ; preds = %110
  store ptr %112, ptr %22, align 8, !tbaa !5
  br label %114

114:                                              ; preds = %156, %113
  %115 = load ptr, ptr %22, align 8, !tbaa !5
  %116 = load i8, ptr %21, align 1, !tbaa !9, !range !11, !noundef !12
  %117 = trunc i8 %116 to i1
  br i1 %117, label %123, label %118

118:                                              ; preds = %114
  store i32 12, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %189

119:                                              ; preds = %110
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %15, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %16, align 4
  br label %188

123:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.Context, ptr %124, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8, !tbaa !13
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = load ptr, ptr %22, align 8, !tbaa !5
  %129 = getelementptr inbounds %"class.HIR::GenericPath", ptr %128, i32 0, i32 0
  %130 = invoke noundef nonnull align 8 dereferenceable(352) ptr @_ZNK3HIR5Crate20get_function_by_pathERK4SpanRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(944) %126, ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef nonnull align 8 dereferenceable(8) %129)
          to label %131 unwind label %157

131:                                              ; preds = %123
  store ptr %130, ptr %23, align 8, !tbaa !5
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  invoke void @_ZN3HIR7TypeRefC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %134 unwind label %161

134:                                              ; preds = %131
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = load ptr, ptr %23, align 8, !tbaa !5
  %137 = getelementptr inbounds %"class.HIR::Function", ptr %136, i32 0, i32 7
  %138 = load ptr, ptr %22, align 8, !tbaa !5
  %139 = getelementptr inbounds %"class.HIR::GenericPath", ptr %138, i32 0, i32 1
  invoke void @_ZN9typecheck15fix_param_countERK4SpanR7ContextRKN3HIR7TypeRefEbRKNS5_4PathERKNS5_13GenericParamsERNS5_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull align 8 dereferenceable(592) %133, ptr noundef nonnull align 8 dereferenceable(8) %24, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(88) %135, ptr noundef nonnull align 8 dereferenceable(96) %137, ptr noundef nonnull align 8 dereferenceable(24) %139)
          to label %140 unwind label %165

140:                                              ; preds = %134
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  %141 = load ptr, ptr %23, align 8, !tbaa !5
  store ptr %141, ptr %17, align 8, !tbaa !5
  %142 = load ptr, ptr %23, align 8, !tbaa !5
  %143 = getelementptr inbounds %"class.HIR::Function", ptr %142, i32 0, i32 7
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %144, i32 0, i32 1
  store ptr %143, ptr %145, align 8, !tbaa !83
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %146 = load ptr, ptr %22, align 8, !tbaa !5
  %147 = getelementptr inbounds %"class.HIR::GenericPath", ptr %146, i32 0, i32 1
  store ptr %147, ptr %25, align 8, !tbaa !5
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %148, i32 0, i32 4
  %150 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 152) #12
          to label %151 unwind label %170

151:                                              ; preds = %140
  store i1 true, ptr %27, align 1
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZN3HIR10PathParamsC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %154 unwind label %174

154:                                              ; preds = %151
  invoke void @_ZZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheEEN9MonomorphC2ES1_PKNS5_7TypeRefEPKNS5_10PathParamsERSF_SE_(ptr noundef nonnull align 8 dereferenceable(152) %150, ptr noundef nonnull align 8 dereferenceable(592) %152, ptr noundef null, ptr noundef null, ptr noundef nonnull align 8 dereferenceable(24) %153, ptr noundef %26)
          to label %155 unwind label %178

155:                                              ; preds = %154
  store i1 false, ptr %27, align 1
  call void @_ZNSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EE5resetEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef %150) #10
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %156

156:                                              ; preds = %155
  store i8 0, ptr %21, align 1, !tbaa !9
  br label %114, !llvm.loop !95

157:                                              ; preds = %123
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %15, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %16, align 4
  br label %187

161:                                              ; preds = %131
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %15, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %16, align 4
  br label %169

165:                                              ; preds = %134
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %15, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %16, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  br label %169

169:                                              ; preds = %165, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br label %187

170:                                              ; preds = %140
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %15, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %16, align 4
  br label %186

174:                                              ; preds = %151
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %15, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %16, align 4
  br label %182

178:                                              ; preds = %154
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %15, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %16, align 4
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  br label %182

182:                                              ; preds = %178, %174
  %183 = load i1, ptr %27, align 1
  br i1 %183, label %184, label %185

184:                                              ; preds = %182
  call void @_ZdlPvm(ptr noundef %150, i64 noundef 152) #13
  br label %185

185:                                              ; preds = %184, %182
  br label %186

186:                                              ; preds = %185, %170
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %187

187:                                              ; preds = %186, %169, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %188

188:                                              ; preds = %187, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #10
  br label %439

189:                                              ; preds = %118
  br label %190

190:                                              ; preds = %189
  store i8 0, ptr %21, align 1, !tbaa !9
  br label %106, !llvm.loop !97

191:                                              ; preds = %109
  br label %435

192:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #10
  store i8 1, ptr %28, align 1, !tbaa !9
  br label %193

193:                                              ; preds = %345, %192
  %194 = load i8, ptr %28, align 1, !tbaa !9, !range !11, !noundef !12
  %195 = trunc i8 %194 to i1
  br i1 %195, label %197, label %196

196:                                              ; preds = %193
  store i32 15, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #10
  br label %346

197:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %198 = load ptr, ptr %20, align 8, !tbaa !5
  %199 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN3HIR4Path4Data12as_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %198)
          to label %200 unwind label %206

200:                                              ; preds = %197
  store ptr %199, ptr %29, align 8, !tbaa !5
  br label %201

201:                                              ; preds = %320, %200
  %202 = load ptr, ptr %29, align 8, !tbaa !5
  %203 = load i8, ptr %28, align 1, !tbaa !9, !range !11, !noundef !12
  %204 = trunc i8 %203 to i1
  br i1 %204, label %210, label %205

205:                                              ; preds = %201
  store i32 18, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  br label %344

206:                                              ; preds = %197
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %15, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %16, align 4
  br label %343

210:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.Context, ptr %211, i32 0, i32 0
  %213 = load ptr, ptr %212, align 8, !tbaa !13
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = load ptr, ptr %29, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %215, i32 0, i32 1
  %217 = getelementptr inbounds %"class.HIR::GenericPath", ptr %216, i32 0, i32 0
  %218 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3HIR5Crate17get_trait_by_pathERK4SpanRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(944) %213, ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef nonnull align 8 dereferenceable(8) %217)
          to label %219 unwind label %247

219:                                              ; preds = %210
  store ptr %218, ptr %30, align 8, !tbaa !5
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  %222 = load ptr, ptr %29, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %222, i32 0, i32 0
  %224 = load ptr, ptr %8, align 8, !tbaa !5
  %225 = load ptr, ptr %30, align 8, !tbaa !5
  %226 = getelementptr inbounds %"class.HIR::Trait", ptr %225, i32 0, i32 0
  %227 = load ptr, ptr %29, align 8, !tbaa !5
  %228 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %227, i32 0, i32 1
  %229 = getelementptr inbounds %"class.HIR::GenericPath", ptr %228, i32 0, i32 1
  invoke void @_ZN9typecheck15fix_param_countERK4SpanR7ContextRKN3HIR7TypeRefEbRKNS5_4PathERKNS5_13GenericParamsERNS5_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %220, ptr noundef nonnull align 8 dereferenceable(592) %221, ptr noundef nonnull align 8 dereferenceable(8) %223, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(88) %224, ptr noundef nonnull align 8 dereferenceable(96) %226, ptr noundef nonnull align 8 dereferenceable(24) %229)
          to label %230 unwind label %247

230:                                              ; preds = %219
  %231 = load ptr, ptr %30, align 8, !tbaa !5
  %232 = getelementptr inbounds %"class.HIR::Trait", ptr %231, i32 0, i32 5
  %233 = load ptr, ptr %29, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %233, i32 0, i32 2
  %235 = invoke noundef i64 @_ZNKSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5countERS8_(ptr noundef nonnull align 8 dereferenceable(56) %232, ptr noundef nonnull align 8 dereferenceable(8) %234)
          to label %236 unwind label %247

236:                                              ; preds = %230
  %237 = icmp eq i64 %235, 0
  br i1 %237, label %238, label %266

238:                                              ; preds = %236
  br label %239

239:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %240)
          to label %241 unwind label %251

241:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %242 = getelementptr inbounds %class.anon.370, ptr %33, i32 0, i32 0
  %243 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %243, ptr %242, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #10
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef %32)
          to label %244 unwind label %255

244:                                              ; preds = %241
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  %245 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %245, ptr noundef @.str.7)
          to label %246 unwind label %260

246:                                              ; preds = %244
  invoke void @__cxa_throw(ptr %245, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #14
          to label %591 unwind label %247

247:                                              ; preds = %246, %230, %219, %210
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %15, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %16, align 4
  br label %342

251:                                              ; preds = %239
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %15, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %16, align 4
  br label %259

255:                                              ; preds = %241
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %15, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  br label %259

259:                                              ; preds = %255, %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %342

260:                                              ; preds = %244
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %15, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %16, align 4
  call void @__cxa_free_exception(ptr %245) #10
  br label %342

264:                                              ; No predecessors!
  br label %265

265:                                              ; preds = %264
  br label %266

266:                                              ; preds = %265, %236
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %267 = load ptr, ptr %30, align 8, !tbaa !5
  %268 = getelementptr inbounds %"class.HIR::Trait", ptr %267, i32 0, i32 5
  %269 = load ptr, ptr %29, align 8, !tbaa !5
  %270 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %269, i32 0, i32 2
  %271 = invoke noundef nonnull align 8 dereferenceable(368) ptr @_ZNKSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE2atERS8_(ptr noundef nonnull align 8 dereferenceable(56) %268, ptr noundef nonnull align 8 dereferenceable(8) %270)
          to label %272 unwind label %321

272:                                              ; preds = %266
  %273 = invoke noundef nonnull align 8 dereferenceable(352) ptr @_ZNK3HIR14TraitValueItem11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(368) %271)
          to label %274 unwind label %321

274:                                              ; preds = %272
  store ptr %273, ptr %34, align 8, !tbaa !5
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = load ptr, ptr %29, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %277, i32 0, i32 0
  %279 = load ptr, ptr %8, align 8, !tbaa !5
  %280 = load ptr, ptr %34, align 8, !tbaa !5
  %281 = getelementptr inbounds %"class.HIR::Function", ptr %280, i32 0, i32 7
  %282 = load ptr, ptr %29, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %282, i32 0, i32 3
  invoke void @_ZN9typecheck15fix_param_countERK4SpanR7ContextRKN3HIR7TypeRefEbRKNS5_4PathERKNS5_13GenericParamsERNS5_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %275, ptr noundef nonnull align 8 dereferenceable(592) %276, ptr noundef nonnull align 8 dereferenceable(8) %278, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(88) %279, ptr noundef nonnull align 8 dereferenceable(96) %281, ptr noundef nonnull align 8 dereferenceable(24) %283)
          to label %284 unwind label %321

284:                                              ; preds = %274
  %285 = load ptr, ptr %34, align 8, !tbaa !5
  %286 = getelementptr inbounds %"class.HIR::Function", ptr %285, i32 0, i32 7
  %287 = load ptr, ptr %9, align 8, !tbaa !5
  %288 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %287, i32 0, i32 1
  store ptr %286, ptr %288, align 8, !tbaa !83
  %289 = load ptr, ptr %30, align 8, !tbaa !5
  %290 = getelementptr inbounds %"class.HIR::Trait", ptr %289, i32 0, i32 0
  %291 = load ptr, ptr %9, align 8, !tbaa !5
  %292 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %291, i32 0, i32 2
  store ptr %290, ptr %292, align 8, !tbaa !98
  %293 = load ptr, ptr %6, align 8, !tbaa !5
  %294 = load ptr, ptr %7, align 8, !tbaa !5
  %295 = load ptr, ptr %29, align 8, !tbaa !5
  %296 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %295, i32 0, i32 0
  %297 = load ptr, ptr %29, align 8, !tbaa !5
  %298 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %297, i32 0, i32 1
  %299 = getelementptr inbounds %"class.HIR::GenericPath", ptr %298, i32 0, i32 0
  %300 = load ptr, ptr %29, align 8, !tbaa !5
  %301 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %300, i32 0, i32 1
  %302 = getelementptr inbounds %"class.HIR::GenericPath", ptr %301, i32 0, i32 1
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %35, ptr noundef nonnull align 8 dereferenceable(24) %302)
          to label %303 unwind label %321

303:                                              ; preds = %284
  invoke void @_ZN7Context15add_trait_boundERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(592) %293, ptr noundef nonnull align 8 dereferenceable(8) %294, ptr noundef nonnull align 8 dereferenceable(8) %296, ptr noundef nonnull align 8 dereferenceable(8) %299, ptr noundef %35)
          to label %304 unwind label %325

304:                                              ; preds = %303
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #10
  %305 = load ptr, ptr %34, align 8, !tbaa !5
  store ptr %305, ptr %17, align 8, !tbaa !5
  %306 = load ptr, ptr %9, align 8, !tbaa !5
  %307 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %306, i32 0, i32 4
  %308 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 152) #12
          to label %309 unwind label %321

309:                                              ; preds = %304
  store i1 true, ptr %37, align 1
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = load ptr, ptr %29, align 8, !tbaa !5
  %312 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %311, i32 0, i32 0
  %313 = load ptr, ptr %29, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %313, i32 0, i32 1
  %315 = getelementptr inbounds %"class.HIR::GenericPath", ptr %314, i32 0, i32 1
  %316 = load ptr, ptr %29, align 8, !tbaa !5
  %317 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %316, i32 0, i32 3
  invoke void @_ZN3HIR10PathParamsC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %318 unwind label %329

318:                                              ; preds = %309
  invoke void @_ZZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheEEN9MonomorphC2ES1_PKNS5_7TypeRefEPKNS5_10PathParamsERSF_SE_(ptr noundef nonnull align 8 dereferenceable(152) %308, ptr noundef nonnull align 8 dereferenceable(592) %310, ptr noundef %312, ptr noundef %315, ptr noundef nonnull align 8 dereferenceable(24) %317, ptr noundef %36)
          to label %319 unwind label %333

319:                                              ; preds = %318
  store i1 false, ptr %37, align 1
  call void @_ZNSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EE5resetEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %307, ptr noundef %308) #10
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %320

320:                                              ; preds = %319
  store i8 0, ptr %28, align 1, !tbaa !9
  br label %201, !llvm.loop !99

321:                                              ; preds = %304, %284, %274, %272, %266
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %15, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %16, align 4
  br label %341

325:                                              ; preds = %303
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %15, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %16, align 4
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #10
  br label %341

329:                                              ; preds = %309
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %15, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %16, align 4
  br label %337

333:                                              ; preds = %318
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %15, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %16, align 4
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #10
  br label %337

337:                                              ; preds = %333, %329
  %338 = load i1, ptr %37, align 1
  br i1 %338, label %339, label %340

339:                                              ; preds = %337
  call void @_ZdlPvm(ptr noundef %308, i64 noundef 152) #13
  br label %340

340:                                              ; preds = %339, %337
  br label %341

341:                                              ; preds = %340, %325, %321
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br label %342

342:                                              ; preds = %341, %260, %259, %247
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %343

343:                                              ; preds = %342, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #10
  br label %439

344:                                              ; preds = %205
  br label %345

345:                                              ; preds = %344
  store i8 0, ptr %28, align 1, !tbaa !9
  br label %193, !llvm.loop !100

346:                                              ; preds = %196
  br label %435

347:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #10
  store i8 1, ptr %38, align 1, !tbaa !9
  br label %348

348:                                              ; preds = %398, %347
  %349 = load i8, ptr %38, align 1, !tbaa !9, !range !11, !noundef !12
  %350 = trunc i8 %349 to i1
  br i1 %350, label %352, label %351

351:                                              ; preds = %348
  store i32 23, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #10
  br label %399

352:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  %353 = load ptr, ptr %20, align 8, !tbaa !5
  %354 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN3HIR4Path4Data14as_UfcsUnknownEv(ptr noundef nonnull align 8 dereferenceable(88) %353)
          to label %355 unwind label %361

355:                                              ; preds = %352
  store ptr %354, ptr %39, align 8, !tbaa !5
  br label %356

356:                                              ; preds = %395, %355
  %357 = load ptr, ptr %39, align 8, !tbaa !5
  %358 = load i8, ptr %38, align 1, !tbaa !9, !range !11, !noundef !12
  %359 = trunc i8 %358 to i1
  br i1 %359, label %365, label %360

360:                                              ; preds = %356
  store i32 26, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  br label %397

361:                                              ; preds = %352
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %15, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %16, align 4
  br label %396

365:                                              ; preds = %356
  br label %366

366:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  store ptr @__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  %367 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %367)
          to label %368 unwind label %375

368:                                              ; preds = %366
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #10
  %369 = getelementptr inbounds %class.anon.387, ptr %43, i32 0, i32 0
  store ptr %40, ptr %369, align 8, !tbaa !5
  %370 = getelementptr inbounds %class.anon.387, ptr %43, i32 0, i32 1
  %371 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %371, ptr %370, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(16) %43) #10
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef %42)
          to label %372 unwind label %379

372:                                              ; preds = %368
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  %373 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %373, ptr noundef @.str.14)
          to label %374 unwind label %384

374:                                              ; preds = %372
  invoke void @__cxa_throw(ptr %373, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #14
          to label %591 unwind label %388

375:                                              ; preds = %366
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %15, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %16, align 4
  br label %383

379:                                              ; preds = %368
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %15, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #10
  br label %383

383:                                              ; preds = %379, %375
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  br label %392

384:                                              ; preds = %372
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %15, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %16, align 4
  call void @__cxa_free_exception(ptr %373) #10
  br label %392

388:                                              ; preds = %374
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %15, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %16, align 4
  br label %392

392:                                              ; preds = %388, %384, %383
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  br label %396

393:                                              ; No predecessors!
  br label %394

394:                                              ; preds = %393
  br label %395

395:                                              ; preds = %394
  store i8 0, ptr %38, align 1, !tbaa !9
  br label %356, !llvm.loop !101

396:                                              ; preds = %392, %361
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #10
  br label %439

397:                                              ; preds = %360
  br label %398

398:                                              ; preds = %397
  store i8 0, ptr %38, align 1, !tbaa !9
  br label %348, !llvm.loop !102

399:                                              ; preds = %351
  br label %435

400:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #10
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %401

401:                                              ; preds = %431, %400
  %402 = load i8, ptr %44, align 1, !tbaa !9, !range !11, !noundef !12
  %403 = trunc i8 %402 to i1
  br i1 %403, label %405, label %404

404:                                              ; preds = %401
  store i32 31, ptr %19, align 4
  br label %432

405:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  %406 = load ptr, ptr %20, align 8, !tbaa !5
  %407 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN3HIR4Path4Data15as_UfcsInherentEv(ptr noundef nonnull align 8 dereferenceable(88) %406)
          to label %408 unwind label %414

408:                                              ; preds = %405
  store ptr %407, ptr %45, align 8, !tbaa !5
  br label %409

409:                                              ; preds = %427, %408
  %410 = load ptr, ptr %45, align 8, !tbaa !5
  %411 = load i8, ptr %44, align 1, !tbaa !9, !range !11, !noundef !12
  %412 = trunc i8 %411 to i1
  br i1 %412, label %418, label %413

413:                                              ; preds = %409
  store i32 34, ptr %19, align 4
  br label %428

414:                                              ; preds = %418, %405
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %15, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #10
  br label %439

418:                                              ; preds = %409
  %419 = load ptr, ptr %6, align 8, !tbaa !5
  %420 = load ptr, ptr %7, align 8, !tbaa !5
  %421 = load ptr, ptr %8, align 8, !tbaa !5
  %422 = load ptr, ptr %9, align 8, !tbaa !5
  %423 = invoke noundef zeroext i1 @_ZN9typecheck38visit_call_populate_cache_UfcsInherentER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheERPKNS5_8FunctionE(ptr noundef nonnull align 8 dereferenceable(592) %419, ptr noundef nonnull align 8 dereferenceable(8) %420, ptr noundef nonnull align 8 dereferenceable(88) %421, ptr noundef nonnull align 8 dereferenceable(56) %422, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %424 unwind label %414

424:                                              ; preds = %418
  br i1 %423, label %426, label %425

425:                                              ; preds = %424
  store i1 false, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %428

426:                                              ; preds = %424
  br label %427

427:                                              ; preds = %426
  store i8 0, ptr %44, align 1, !tbaa !9
  br label %409, !llvm.loop !103

428:                                              ; preds = %425, %413
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  %429 = load i32, ptr %19, align 4
  switch i32 %429, label %432 [
    i32 34, label %430
  ]

430:                                              ; preds = %428
  br label %431

431:                                              ; preds = %430
  store i8 0, ptr %44, align 1, !tbaa !9
  br label %401, !llvm.loop !104

432:                                              ; preds = %428, %404
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #10
  %433 = load i32, ptr %19, align 4
  switch i32 %433, label %437 [
    i32 31, label %434
  ]

434:                                              ; preds = %432
  br label %435

435:                                              ; preds = %434, %399, %346, %191, %99
  br label %436

436:                                              ; preds = %435
  store i8 0, ptr %18, align 1, !tbaa !9
  br label %92, !llvm.loop !105

437:                                              ; preds = %432, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  %438 = load i32, ptr %19, align 4
  switch i32 %438, label %442 [
    i32 5, label %440
  ]

439:                                              ; preds = %414, %396, %343, %188, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  br label %584

440:                                              ; preds = %437
  br label %441

441:                                              ; preds = %440
  store i8 0, ptr %18, align 1, !tbaa !9
  br label %85, !llvm.loop !106

442:                                              ; preds = %437, %88
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  %443 = load i32, ptr %19, align 4
  switch i32 %443, label %582 [
    i32 2, label %444
  ]

444:                                              ; preds = %442
  %445 = load ptr, ptr %17, align 8, !tbaa !5
  %446 = icmp ne ptr %445, null
  br i1 %446, label %447, label %448

447:                                              ; preds = %444
  br label %450

448:                                              ; preds = %444
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 360, ptr noundef @__PRETTY_FUNCTION__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE) #11
  unreachable

449:                                              ; No predecessors!
  br label %450

450:                                              ; preds = %449, %447
  %451 = load ptr, ptr %17, align 8, !tbaa !5
  %452 = load ptr, ptr %9, align 8, !tbaa !5
  %453 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %452, i32 0, i32 3
  store ptr %451, ptr %453, align 8, !tbaa !107
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %454 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %454, ptr %46, align 8, !tbaa !5
  %455 = load ptr, ptr %9, align 8, !tbaa !5
  %456 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %455, i32 0, i32 4
  %457 = call noundef ptr @_ZNKSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %456) #10
  %458 = load ptr, ptr %6, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.Context, ptr %458, i32 0, i32 0
  %460 = load ptr, ptr %459, align 8, !tbaa !13
  %461 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN3HIR8ItemPathC2ERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 8 dereferenceable(88) %461)
          to label %462 unwind label %478

462:                                              ; preds = %450
  invoke void @_ZN13Monomorphiser19set_consteval_stateERKN3HIR5CrateENS0_8ItemPathE(ptr noundef nonnull align 8 dereferenceable(96) %457, ptr noundef nonnull align 8 dereferenceable(944) %460, ptr noundef byval(%"class.HIR::ItemPath") align 8 %47)
          to label %463 unwind label %478

463:                                              ; preds = %462
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  %464 = load ptr, ptr %9, align 8, !tbaa !5
  %465 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %464, i32 0, i32 4
  %466 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNKSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %465) #10
  store ptr %466, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #10
  %467 = load ptr, ptr %46, align 8, !tbaa !5
  %468 = getelementptr inbounds %"class.HIR::Function", ptr %467, i32 0, i32 8
  store ptr %468, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #10
  %469 = load ptr, ptr %49, align 8, !tbaa !5
  %470 = call ptr @_ZNKSt6vectorISt4pairIN3HIR7PatternENS1_7TypeRefEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %469) #10
  %471 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.388", ptr %50, i32 0, i32 0
  store ptr %470, ptr %471, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  %472 = load ptr, ptr %49, align 8, !tbaa !5
  %473 = call ptr @_ZNKSt6vectorISt4pairIN3HIR7PatternENS1_7TypeRefEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %472) #10
  %474 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.388", ptr %51, i32 0, i32 0
  store ptr %473, ptr %474, align 8
  br label %475

475:                                              ; preds = %508, %463
  %476 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51) #10
  br i1 %476, label %482, label %477

477:                                              ; preds = %475
  store i32 37, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  br label %528

478:                                              ; preds = %462, %450
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %15, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %16, align 4
  br label %581

482:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  %483 = call noundef nonnull align 8 dereferenceable(224) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #10
  store ptr %483, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %53) #10
  %484 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %485 unwind label %510

485:                                              ; preds = %482
  %486 = zext i1 %484 to i64
  %487 = select i1 %484, ptr @__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE, ptr null
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #10
  %488 = getelementptr inbounds %class.anon.422, ptr %55, i32 0, i32 0
  %489 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %489, ptr %488, align 8, !tbaa !5
  %490 = getelementptr inbounds %class.anon.422, ptr %55, i32 0, i32 1
  %491 = load ptr, ptr %52, align 8, !tbaa !5
  store ptr %491, ptr %490, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(16) %55) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #10
  %492 = getelementptr inbounds %class.anon.423, ptr %57, i32 0, i32 0
  %493 = load ptr, ptr %52, align 8, !tbaa !5
  store ptr %493, ptr %492, align 8, !tbaa !5
  %494 = getelementptr inbounds %class.anon.423, ptr %57, i32 0, i32 1
  %495 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %495, ptr %494, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(16) %57) #10
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %53, ptr noundef %487, ptr noundef %54, ptr noundef %56)
          to label %496 unwind label %514

496:                                              ; preds = %485
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #10
  %497 = load ptr, ptr %9, align 8, !tbaa !5
  %498 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %497, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #10
  %499 = load ptr, ptr %48, align 8, !tbaa !5
  %500 = load ptr, ptr %7, align 8, !tbaa !5
  %501 = load ptr, ptr %52, align 8, !tbaa !5
  %502 = getelementptr inbounds %"struct.std::pair.389", ptr %501, i32 0, i32 1
  %503 = load ptr, ptr %499, align 8, !tbaa !108
  %504 = getelementptr inbounds ptr, ptr %503, i64 5
  %505 = load ptr, ptr %504, align 8
  invoke void %505(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %58, ptr noundef nonnull align 8 dereferenceable(96) %499, ptr noundef nonnull align 8 dereferenceable(8) %500, ptr noundef nonnull align 8 dereferenceable(8) %502, i1 noundef zeroext false)
          to label %506 unwind label %518

506:                                              ; preds = %496
  invoke void @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %498, ptr noundef nonnull align 8 dereferenceable(8) %58)
          to label %507 unwind label %522

507:                                              ; preds = %506
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %58) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %53) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  br label %508

508:                                              ; preds = %507
  %509 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #10
  br label %475

510:                                              ; preds = %482
  %511 = landingpad { ptr, i32 }
          cleanup
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %15, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %16, align 4
  br label %527

514:                                              ; preds = %485
  %515 = landingpad { ptr, i32 }
          cleanup
  %516 = extractvalue { ptr, i32 } %515, 0
  store ptr %516, ptr %15, align 8
  %517 = extractvalue { ptr, i32 } %515, 1
  store i32 %517, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #10
  br label %527

518:                                              ; preds = %496
  %519 = landingpad { ptr, i32 }
          cleanup
  %520 = extractvalue { ptr, i32 } %519, 0
  store ptr %520, ptr %15, align 8
  %521 = extractvalue { ptr, i32 } %519, 1
  store i32 %521, ptr %16, align 4
  br label %526

522:                                              ; preds = %506
  %523 = landingpad { ptr, i32 }
          cleanup
  %524 = extractvalue { ptr, i32 } %523, 0
  store ptr %524, ptr %15, align 8
  %525 = extractvalue { ptr, i32 } %523, 1
  store i32 %525, ptr %16, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %58) #10
  br label %526

526:                                              ; preds = %522, %518
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %53) #10
  br label %527

527:                                              ; preds = %526, %514, %510
  call void @llvm.lifetime.end.p0(i64 40, ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  br label %580

528:                                              ; preds = %477
  call void @llvm.lifetime.start.p0(i64 40, ptr %59) #10
  %529 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %530 unwind label %558

530:                                              ; preds = %528
  %531 = zext i1 %529 to i64
  %532 = select i1 %529, ptr @__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE, ptr null
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #10
  %533 = getelementptr inbounds %class.anon.424, ptr %61, i32 0, i32 0
  %534 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %534, ptr %533, align 8, !tbaa !5
  %535 = getelementptr inbounds %class.anon.424, ptr %61, i32 0, i32 1
  %536 = load ptr, ptr %46, align 8, !tbaa !5
  store ptr %536, ptr %535, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(16) %61) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #10
  %537 = getelementptr inbounds %class.anon.425, ptr %63, i32 0, i32 0
  %538 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %538, ptr %537, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(8) %63) #10
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %59, ptr noundef %532, ptr noundef %60, ptr noundef %62)
          to label %539 unwind label %562

539:                                              ; preds = %530
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #10
  %540 = load ptr, ptr %9, align 8, !tbaa !5
  %541 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %540, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #10
  %542 = load ptr, ptr %48, align 8, !tbaa !5
  %543 = load ptr, ptr %7, align 8, !tbaa !5
  %544 = load ptr, ptr %46, align 8, !tbaa !5
  %545 = getelementptr inbounds %"class.HIR::Function", ptr %544, i32 0, i32 10
  %546 = load ptr, ptr %542, align 8, !tbaa !108
  %547 = getelementptr inbounds ptr, ptr %546, i64 5
  %548 = load ptr, ptr %547, align 8
  invoke void %548(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %64, ptr noundef nonnull align 8 dereferenceable(96) %542, ptr noundef nonnull align 8 dereferenceable(8) %543, ptr noundef nonnull align 8 dereferenceable(8) %545, i1 noundef zeroext false)
          to label %549 unwind label %566

549:                                              ; preds = %539
  invoke void @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %541, ptr noundef nonnull align 8 dereferenceable(8) %64)
          to label %550 unwind label %570

550:                                              ; preds = %549
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %64) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %59) #10
  %551 = load ptr, ptr %6, align 8, !tbaa !5
  %552 = load ptr, ptr %7, align 8, !tbaa !5
  %553 = load ptr, ptr %9, align 8, !tbaa !5
  %554 = getelementptr inbounds %"struct.HIR::ExprCallCache", ptr %553, i32 0, i32 1
  %555 = load ptr, ptr %554, align 8, !tbaa !83
  %556 = load ptr, ptr %48, align 8, !tbaa !5
  invoke void @_ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb(ptr noundef nonnull align 8 dereferenceable(592) %551, ptr noundef nonnull align 8 dereferenceable(8) %552, ptr noundef nonnull align 8 dereferenceable(96) %555, ptr noundef nonnull align 8 dereferenceable(96) %556, i1 noundef zeroext false)
          to label %557 unwind label %576

557:                                              ; preds = %550
  store i1 true, ptr %5, align 1
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  br label %582

558:                                              ; preds = %528
  %559 = landingpad { ptr, i32 }
          cleanup
  %560 = extractvalue { ptr, i32 } %559, 0
  store ptr %560, ptr %15, align 8
  %561 = extractvalue { ptr, i32 } %559, 1
  store i32 %561, ptr %16, align 4
  br label %575

562:                                              ; preds = %530
  %563 = landingpad { ptr, i32 }
          cleanup
  %564 = extractvalue { ptr, i32 } %563, 0
  store ptr %564, ptr %15, align 8
  %565 = extractvalue { ptr, i32 } %563, 1
  store i32 %565, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #10
  br label %575

566:                                              ; preds = %539
  %567 = landingpad { ptr, i32 }
          cleanup
  %568 = extractvalue { ptr, i32 } %567, 0
  store ptr %568, ptr %15, align 8
  %569 = extractvalue { ptr, i32 } %567, 1
  store i32 %569, ptr %16, align 4
  br label %574

570:                                              ; preds = %549
  %571 = landingpad { ptr, i32 }
          cleanup
  %572 = extractvalue { ptr, i32 } %571, 0
  store ptr %572, ptr %15, align 8
  %573 = extractvalue { ptr, i32 } %571, 1
  store i32 %573, ptr %16, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %64) #10
  br label %574

574:                                              ; preds = %570, %566
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #10
  br label %575

575:                                              ; preds = %574, %562, %558
  call void @llvm.lifetime.end.p0(i64 40, ptr %59) #10
  br label %580

576:                                              ; preds = %550
  %577 = landingpad { ptr, i32 }
          cleanup
  %578 = extractvalue { ptr, i32 } %577, 0
  store ptr %578, ptr %15, align 8
  %579 = extractvalue { ptr, i32 } %577, 1
  store i32 %579, ptr %16, align 4
  br label %580

580:                                              ; preds = %576, %575, %527
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  br label %581

581:                                              ; preds = %580, %478
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  br label %584

582:                                              ; preds = %557, %442
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #10
  %583 = load i1, ptr %5, align 1
  ret i1 %583

584:                                              ; preds = %581, %439
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #10
  br label %585

585:                                              ; preds = %584, %79
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #10
  br label %586

586:                                              ; preds = %585
  %587 = load ptr, ptr %15, align 8
  %588 = load i32, ptr %16, align 4
  %589 = insertvalue { ptr, i32 } poison, ptr %587, 0
  %590 = insertvalue { ptr, i32 } %589, i32 %588, 1
  resume { ptr, i32 } %590

591:                                              ; preds = %374, %246
  unreachable
}

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(352) ptr @_ZNK3HIR5Crate20get_function_by_pathERK4SpanRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3HIR7TypeRefC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 align 2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #8

declare void @_ZN3HIR10PathParamsC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheEEN9MonomorphC2ES1_PKNS5_7TypeRefEPKNS5_10PathParamsERSF_SE_(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(592), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #3 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #9

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

declare noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3HIR5Crate17get_trait_by_pathERK4SpanRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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

declare void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9typecheck38visit_call_populate_cache_UfcsInherentER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheERPKNS5_8FunctionE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13Monomorphiser19set_consteval_stateERKN3HIR5CrateENS0_8ItemPathE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(944), ptr noundef byval(%"class.HIR::ItemPath") align 8) #6 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTS7Context", !6, i64 0, !15, i64 8, !19, i64 32, !28, i64 88, !51, i64 368, !52, i64 376, !56, i64 400, !60, i64 424, !64, i64 448, !68, i64 472, !74, i64 512, !78, i64 536, !45, i64 584}
!15 = !{!"_ZTSSt6vectorIN7Context7BindingESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN7Context7BindingESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN7Context7BindingESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN7Context7BindingESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTS16HMTypeInferrence", !20, i64 0, !24, i64 24, !10, i64 48}
!20 = !{!"_ZTSSt6vectorIN16HMTypeInferrence4IVarESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN16HMTypeInferrence4IVarESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN16HMTypeInferrence4IVarESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN16HMTypeInferrence4IVarESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorIN16HMTypeInferrence9IVarValueESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN16HMTypeInferrence9IVarValueESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN16HMTypeInferrence9IVarValueESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN16HMTypeInferrence9IVarValueESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTS15TraitResolution", !29, i64 0, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !47, i64 256}
!29 = !{!"_ZTS18TraitResolveCommon", !6, i64 0, !6, i64 8, !6, i64 16, !30, i64 24, !39, i64 72, !45, i64 104, !45, i64 112, !45, i64 120, !45, i64 128, !45, i64 136, !45, i64 144, !45, i64 152, !45, i64 160, !45, i64 168, !45, i64 176, !45, i64 184, !45, i64 192, !45, i64 200, !45, i64 208}
!30 = !{!"_ZTSSt3mapIN3HIR7TypeRefEN18TraitResolveCommon14CachedEqualityESt4lessIS1_ESaISt4pairIKS1_S3_EEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeIN3HIR7TypeRefESt4pairIKS1_N18TraitResolveCommon14CachedEqualityEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeIN3HIR7TypeRefESt4pairIKS1_N18TraitResolveCommon14CachedEqualityEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !33, i64 0, !35, i64 8}
!33 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN3HIR7TypeRefEEE", !34, i64 0}
!34 = !{!"_ZTSSt4lessIN3HIR7TypeRefEE"}
!35 = !{!"_ZTSSt15_Rb_tree_header", !36, i64 0, !38, i64 32}
!36 = !{!"_ZTSSt18_Rb_tree_node_base", !37, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!37 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!38 = !{!"long", !7, i64 0}
!39 = !{!"_ZTS11RangeVecMapISt4pairIN3HIR7TypeRefENS1_11GenericPathEEN18TraitResolveCommon11CachedBoundENS5_14CachedBoundCmpEE", !40, i64 0, !44, i64 24}
!40 = !{!"_ZTSSt6vectorISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSN18TraitResolveCommon14CachedBoundCmpE"}
!45 = !{!"_ZTSN3HIR10SimplePathE", !46, i64 0}
!46 = !{!"_ZTS10ThinVectorI8RcStringE", !6, i64 0}
!47 = !{!"_ZTSSt6vectorISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!"int", !7, i64 0}
!52 = !{!"_ZTSSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!56 = !{!"_ZTSSt6vectorIN7Context10AssociatedESaIS1_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseIN7Context10AssociatedESaIS1_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIN7Context10AssociatedESaIS1_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIN7Context10AssociatedESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!60 = !{!"_ZTSSt6vectorIPN3HIR8ExprNodeESaIS2_EE", !61, i64 0}
!61 = !{!"_ZTSSt12_Vector_baseIPN3HIR8ExprNodeESaIS2_EE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIPN3HIR8ExprNodeESaIS2_EE12_Vector_implE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIPN3HIR8ExprNodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!64 = !{!"_ZTSSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE", !65, i64 0}
!65 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!68 = !{!"_ZTSSt6vectorIbSaIbEE", !69, i64 0}
!69 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !70, i64 0}
!70 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !71, i64 0}
!71 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !72, i64 0, !72, i64 16, !6, i64 32}
!72 = !{!"_ZTSSt13_Bit_iterator", !73, i64 0}
!73 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !51, i64 8}
!74 = !{!"_ZTSSt6vectorIN7Context12IVarPossibleESaIS1_EE", !75, i64 0}
!75 = !{!"_ZTSSt12_Vector_baseIN7Context12IVarPossibleESaIS1_EE", !76, i64 0}
!76 = !{!"_ZTSNSt12_Vector_baseIN7Context12IVarPossibleESaIS1_EE12_Vector_implE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseIN7Context12IVarPossibleESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!78 = !{!"_ZTSSt3mapIPN3HIR30TypeData_ErasedType_AliasInnerEN7Context9TaitEntryESt4lessIS2_ESaISt4pairIKS2_S4_EEE", !79, i64 0}
!79 = !{!"_ZTSSt8_Rb_treeIPN3HIR30TypeData_ErasedType_AliasInnerESt4pairIKS2_N7Context9TaitEntryEESt10_Select1stIS7_ESt4lessIS2_ESaIS7_EE", !80, i64 0}
!80 = !{!"_ZTSNSt8_Rb_treeIPN3HIR30TypeData_ErasedType_AliasInnerESt4pairIKS2_N7Context9TaitEntryEESt10_Select1stIS7_ESt4lessIS2_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !81, i64 0, !35, i64 8}
!81 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN3HIR30TypeData_ErasedType_AliasInnerEEE", !82, i64 0}
!82 = !{!"_ZTSSt4lessIPN3HIR30TypeData_ErasedType_AliasInnerEE"}
!83 = !{!84, !6, i64 24}
!84 = !{!"_ZTSN3HIR13ExprCallCacheE", !85, i64 0, !6, i64 24, !6, i64 32, !6, i64 40, !89, i64 48}
!85 = !{!"_ZTSSt6vectorIN3HIR7TypeRefESaIS1_EE", !86, i64 0}
!86 = !{!"_ZTSSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE", !87, i64 0}
!87 = !{!"_ZTSNSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE12_Vector_implE", !88, i64 0}
!88 = !{!"_ZTSNSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!89 = !{!"_ZTSSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EE", !90, i64 0}
!90 = !{!"_ZTSSt15__uniq_ptr_dataI13MonomorphiserSt14default_deleteIS0_ELb1ELb1EE", !91, i64 0}
!91 = !{!"_ZTSSt15__uniq_ptr_implI13MonomorphiserSt14default_deleteIS0_EE", !92, i64 0}
!92 = !{!"_ZTSSt5tupleIJP13MonomorphiserSt14default_deleteIS0_EEE", !93, i64 0}
!93 = !{!"_ZTSSt11_Tuple_implILm0EJP13MonomorphiserSt14default_deleteIS0_EEE", !94, i64 0}
!94 = !{!"_ZTSSt10_Head_baseILm0EP13MonomorphiserLb0EE", !6, i64 0}
!95 = distinct !{!95, !96}
!96 = !{!"llvm.loop.mustprogress"}
!97 = distinct !{!97, !96}
!98 = !{!84, !6, i64 32}
!99 = distinct !{!99, !96}
!100 = distinct !{!100, !96}
!101 = distinct !{!101, !96}
!102 = distinct !{!102, !96}
!103 = distinct !{!103, !96}
!104 = distinct !{!104, !96}
!105 = distinct !{!105, !96}
!106 = distinct !{!106, !96}
!107 = !{!84, !6, i64 40}
!108 = !{!109, !109, i64 0}
!109 = !{!"vtable pointer", !8, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.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.138 = type { ptr }
%class.anon.139 = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector, %class.ThinVector.15, %class.ThinVector.16 }
%class.ThinVector = type { ptr }
%class.ThinVector.15 = type { ptr }
%class.ThinVector.16 = type { ptr }
%struct.Span = type { ptr }
%class.anon.370 = type { ptr }
%class.anon.387 = type { ptr, ptr }
%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.388" = type { ptr }
%class.anon.422 = type { ptr, ptr }
%class.anon.423 = type { ptr, ptr }
%class.anon.424 = type { ptr, ptr }
%class.anon.425 = type { ptr }

@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE = external hidden unnamed_addr constant [26 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@__PRETTY_FUNCTION__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE = external hidden unnamed_addr constant [106 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9typecheck15fix_param_countERK4SpanR7ContextRKN3HIR7TypeRefEbRKNS5_4PathERKNS5_13GenericParamsERNS5_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96), i1 noundef zeroext) local_unnamed_addr #3

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

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

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

; Function Attrs: nounwind
declare void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(56) %3) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %"class.std::function", align 8
  %7 = alloca %class.anon.138, align 8
  %8 = alloca %"class.std::function", align 8
  %9 = alloca %class.anon.139, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.HIR::TypeRef", align 8
  %12 = alloca %"struct.HIR::PathParams", align 8
  %13 = alloca %struct.Span, align 8
  %14 = alloca %"class.std::function", align 8
  %15 = alloca %class.anon.370, align 8
  %16 = alloca %"struct.HIR::PathParams", align 8
  %17 = alloca %"struct.HIR::PathParams", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %struct.Span, align 8
  %20 = alloca %"class.std::function", align 8
  %21 = alloca %class.anon.387, align 8
  %22 = alloca %"class.HIR::ItemPath", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.388", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.388", align 8
  %25 = alloca %class.TraceLog, align 8
  %26 = alloca %"class.std::function", align 8
  %27 = alloca %class.anon.422, align 8
  %28 = alloca %"class.std::function", align 8
  %29 = alloca %class.anon.423, align 8
  %30 = alloca %"class.HIR::TypeRef", align 8
  %31 = alloca %class.TraceLog, align 8
  %32 = alloca %"class.std::function", align 8
  %33 = alloca %class.anon.424, align 8
  %34 = alloca %"class.std::function", align 8
  %35 = alloca %class.anon.425, align 8
  %36 = alloca %"class.HIR::TypeRef", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #10
  %37 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %38 = select i1 %37, ptr @__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  store ptr %2, ptr %9, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %38, ptr noundef nonnull %6, ptr noundef nonnull %8)
          to label %39 unwind label %43

39:                                               ; preds = %4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  %40 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  %41 = icmp eq i64 %40, 0
  br i1 %41, label %.lr.ph323, label %42

42:                                               ; preds = %39
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.3, i32 noundef 209, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE) #11
  unreachable

43:                                               ; preds = %4
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  br label %196

.lr.ph323:                                        ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  store ptr null, ptr %10, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %3, i64 24
  %46 = getelementptr inbounds i8, ptr %3, i64 32
  %47 = getelementptr inbounds i8, ptr %3, i64 48
  %48 = call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  switch i32 %48, label %.critedge191 [
    i32 0, label %55
    i32 1, label %.preheader.split.split
    i32 3, label %.lr.ph
    i32 4, label %116
    i32 2, label %.critedge.preheader.split
  ]

.critedge.preheader.split:                        ; preds = %.lr.ph323
  %49 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN3HIR4Path4Data15as_UfcsInherentEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  %50 = invoke noundef zeroext i1 @_ZN9typecheck38visit_call_populate_cache_UfcsInherentER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheERPKNS5_8FunctionE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %133 unwind label %.split

.preheader.split.split:                           ; preds = %.lr.ph323
  %51 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  %52 = getelementptr inbounds i8, ptr %51, i64 8
  %53 = load ptr, ptr %0, align 8, !tbaa !9
  %54 = invoke noundef nonnull align 8 dereferenceable(352) ptr @_ZNK3HIR5Crate20get_function_by_pathERK4SpanRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(944) %53, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %56 unwind label %.split249.split

55:                                               ; preds = %.lr.ph323
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 316, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE) #11
  unreachable

56:                                               ; preds = %.preheader.split.split
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  invoke void @_ZN3HIR7TypeRefC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %57 unwind label %.split252.split

57:                                               ; preds = %56
  %58 = getelementptr inbounds i8, ptr %54, i64 112
  invoke void @_ZN9typecheck15fix_param_countERK4SpanR7ContextRKN3HIR7TypeRefEbRKNS5_4PathERKNS5_13GenericParamsERNS5_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %11, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(96) %58, ptr noundef nonnull align 8 dereferenceable(24) %52)
          to label %59 unwind label %.split255.split

59:                                               ; preds = %57
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  store ptr %54, ptr %10, align 8, !tbaa !5
  store ptr %58, ptr %45, align 8, !tbaa !80
  %60 = invoke noalias noundef nonnull dereferenceable(152) ptr @_Znwm(i64 noundef 152) #12
          to label %61 unwind label %.split258.split

61:                                               ; preds = %59
  invoke void @_ZN3HIR10PathParamsC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %62 unwind label %.split261.split

62:                                               ; preds = %61
  invoke void @_ZZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheEEN9MonomorphC2ES1_PKNS5_7TypeRefEPKNS5_10PathParamsERSF_SE_(ptr noundef nonnull align 8 dereferenceable(152) %60, ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef null, ptr noundef null, ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull %12)
          to label %.critedge191.sink.split unwind label %.split265.split

.split249.split:                                  ; preds = %.preheader.split.split
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %195

.split252.split:                                  ; preds = %56
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %66

.split255.split:                                  ; preds = %57
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  br label %66

66:                                               ; preds = %.split255.split, %.split252.split
  %.pn176 = phi { ptr, i32 } [ %65, %.split255.split ], [ %64, %.split252.split ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %195

.split258.split:                                  ; preds = %59
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %195

.split261.split:                                  ; preds = %61
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %70

.split265.split:                                  ; preds = %62
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  br label %70

70:                                               ; preds = %.split261.split, %.split265.split
  %.pn178 = phi { ptr, i32 } [ %69, %.split265.split ], [ %68, %.split261.split ]
  call void @_ZdlPvm(ptr noundef nonnull %60, i64 noundef 152) #13
  br label %195

.lr.ph:                                           ; preds = %.lr.ph323
  %71 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN3HIR4Path4Data12as_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  %72 = getelementptr inbounds i8, ptr %71, i64 8
  %73 = getelementptr inbounds i8, ptr %71, i64 16
  %74 = getelementptr inbounds i8, ptr %71, i64 40
  %75 = getelementptr inbounds i8, ptr %71, i64 48
  %76 = load ptr, ptr %0, align 8, !tbaa !9
  %77 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3HIR5Crate17get_trait_by_pathERK4SpanRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(944) %76, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %72)
          to label %78 unwind label %.loopexit193

78:                                               ; preds = %.lr.ph
  invoke void @_ZN9typecheck15fix_param_countERK4SpanR7ContextRKN3HIR7TypeRefEbRKNS5_4PathERKNS5_13GenericParamsERNS5_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %71, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(96) %77, ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %79 unwind label %.loopexit193

79:                                               ; preds = %78
  %80 = getelementptr inbounds i8, ptr %77, i64 192
  %81 = invoke noundef i64 @_ZNKSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5countERS8_(ptr noundef nonnull align 8 dereferenceable(56) %80, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %82 unwind label %.loopexit193

82:                                               ; preds = %79
  %83 = icmp eq i64 %81, 0
  br i1 %83, label %84, label %96

84:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %85 unwind label %89

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  store ptr %71, ptr %15, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %14)
          to label %86 unwind label %91

86:                                               ; preds = %85
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  %87 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %87, ptr noundef nonnull @.str.7)
          to label %88 unwind label %94

88:                                               ; preds = %86
  invoke void @__cxa_throw(ptr nonnull %87, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #14
          to label %197 unwind label %.loopexit.split-lp

.loopexit193:                                     ; preds = %.lr.ph, %78, %79
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %195

.loopexit.split-lp:                               ; preds = %88
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %195

89:                                               ; preds = %84
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %93

91:                                               ; preds = %85
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  br label %93

93:                                               ; preds = %91, %89
  %.pn172 = phi { ptr, i32 } [ %92, %91 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %195

94:                                               ; preds = %86
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %87) #10
  br label %195

96:                                               ; preds = %82
  %97 = invoke noundef nonnull align 8 dereferenceable(368) ptr @_ZNKSt13unordered_mapI8RcStringN3HIR14TraitValueItemESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE2atERS8_(ptr noundef nonnull align 8 dereferenceable(56) %80, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %98 unwind label %107

98:                                               ; preds = %96
  %99 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZNK3HIR14TraitValueItem11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(368) %97)
  %100 = getelementptr inbounds i8, ptr %99, i64 112
  invoke void @_ZN9typecheck15fix_param_countERK4SpanR7ContextRKN3HIR7TypeRefEbRKNS5_4PathERKNS5_13GenericParamsERNS5_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %71, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(96) %100, ptr noundef nonnull align 8 dereferenceable(24) %75)
          to label %101 unwind label %107

101:                                              ; preds = %98
  store ptr %100, ptr %45, align 8, !tbaa !80
  store ptr %77, ptr %46, align 8, !tbaa !92
  invoke void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %102 unwind label %107

102:                                              ; preds = %101
  invoke void @_ZN7Context15add_trait_boundERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull %16)
          to label %103 unwind label %109

103:                                              ; preds = %102
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  store ptr %99, ptr %10, align 8, !tbaa !5
  %104 = invoke noalias noundef nonnull dereferenceable(152) ptr @_Znwm(i64 noundef 152) #12
          to label %105 unwind label %107

105:                                              ; preds = %103
  invoke void @_ZN3HIR10PathParamsC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %106 unwind label %111

106:                                              ; preds = %105
  invoke void @_ZZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheEEN9MonomorphC2ES1_PKNS5_7TypeRefEPKNS5_10PathParamsERSF_SE_(ptr noundef nonnull align 8 dereferenceable(152) %104, ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull %71, ptr noundef nonnull %73, ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull %17)
          to label %.critedge191.sink.split unwind label %113

107:                                              ; preds = %103, %101, %98, %96
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %195

109:                                              ; preds = %102
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  br label %195

111:                                              ; preds = %105
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %115

113:                                              ; preds = %106
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  br label %115

115:                                              ; preds = %111, %113
  %.pn169 = phi { ptr, i32 } [ %114, %113 ], [ %112, %111 ]
  call void @_ZdlPvm(ptr noundef nonnull %104, i64 noundef 152) #13
  br label %195

116:                                              ; preds = %.lr.ph323
  %117 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3HIR4Path4Data14as_UfcsUnknownEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  store ptr @__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %118 unwind label %123

118:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #10
  store ptr %18, ptr %21, align 8, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %21, i64 8
  store ptr %2, ptr %119, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(16) %21) #10
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull %20)
          to label %120 unwind label %125

120:                                              ; preds = %118
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  %121 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %121, ptr noundef nonnull @.str.14)
          to label %122 unwind label %128

122:                                              ; preds = %120
  invoke void @__cxa_throw(ptr nonnull %121, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #14
          to label %197 unwind label %130

123:                                              ; preds = %116
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %127

125:                                              ; preds = %118
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  br label %127

127:                                              ; preds = %125, %123
  %.pn165 = phi { ptr, i32 } [ %126, %125 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  br label %132

128:                                              ; preds = %120
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %121) #10
  br label %132

130:                                              ; preds = %122
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %132

132:                                              ; preds = %130, %128, %127
  %.pn167 = phi { ptr, i32 } [ %131, %130 ], [ %129, %128 ], [ %.pn165, %127 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  br label %195

.split:                                           ; preds = %.critedge.preheader.split
  %lpad.loopexit335 = landingpad { ptr, i32 }
          cleanup
  br label %195

133:                                              ; preds = %.critedge.preheader.split
  br i1 %50, label %.critedge191, label %.split226, !llvm.loop !93

.critedge191.sink.split:                          ; preds = %106, %62
  %.sink337 = phi ptr [ %60, %62 ], [ %104, %106 ]
  %.sink = phi ptr [ %12, %62 ], [ %17, %106 ]
  call void @_ZNSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EE5resetEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull %.sink337) #10
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %.sink) #10
  br label %.critedge191

.critedge191:                                     ; preds = %.critedge191.sink.split, %.lr.ph323, %133
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %.not = icmp eq ptr %134, null
  br i1 %.not, label %135, label %136

135:                                              ; preds = %.critedge191
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 360, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE) #11
  unreachable

136:                                              ; preds = %.critedge191
  %137 = getelementptr inbounds i8, ptr %3, i64 40
  store ptr %134, ptr %137, align 8, !tbaa !95
  %138 = call noundef ptr @_ZNKSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #10
  %139 = load ptr, ptr %0, align 8, !tbaa !9
  call void @_ZN3HIR8ItemPathC2ERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(56) %22, ptr noundef nonnull align 8 dereferenceable(88) %2)
  call void @_ZN13Monomorphiser19set_consteval_stateERKN3HIR5CrateENS0_8ItemPathE(ptr noundef nonnull align 8 dereferenceable(96) %138, ptr noundef nonnull align 8 dereferenceable(944) %139, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %22)
  %140 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNKSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #10
  %141 = getelementptr inbounds i8, ptr %134, i64 208
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #10
  %142 = call ptr @_ZNKSt6vectorISt4pairIN3HIR7PatternENS1_7TypeRefEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %141) #10
  store ptr %142, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #10
  %143 = call ptr @_ZNKSt6vectorISt4pairIN3HIR7PatternENS1_7TypeRefEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %141) #10
  store ptr %143, ptr %24, align 8
  %144 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  br i1 %144, label %.lr.ph325, label %._crit_edge

.lr.ph325:                                        ; preds = %136
  %145 = getelementptr inbounds i8, ptr %27, i64 8
  %146 = getelementptr inbounds i8, ptr %29, i64 8
  br label %148

._crit_edge:                                      ; preds = %159, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %31) #10
  %147 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %172 unwind label %183

148:                                              ; preds = %.lr.ph325, %159
  %149 = call noundef nonnull align 8 dereferenceable(224) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %25) #10
  %150 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %151 unwind label %162

151:                                              ; preds = %148
  %152 = select i1 %150, ptr @__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE, ptr null
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #10
  store ptr %2, ptr %27, align 8, !tbaa !5
  store ptr %149, ptr %145, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(16) %27) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #10
  store ptr %149, ptr %29, align 8, !tbaa !5
  store ptr %3, ptr %146, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(16) %29) #10
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef %152, ptr noundef nonnull %26, ptr noundef nonnull %28)
          to label %153 unwind label %164

153:                                              ; preds = %151
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #10
  %154 = getelementptr inbounds i8, ptr %149, i64 216
  %155 = load ptr, ptr %140, align 8, !tbaa !96
  %156 = getelementptr inbounds i8, ptr %155, i64 40
  %157 = load ptr, ptr %156, align 8
  invoke void %157(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %30, ptr noundef nonnull align 8 dereferenceable(96) %140, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %154, i1 noundef zeroext false)
          to label %158 unwind label %166

158:                                              ; preds = %153
  invoke void @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %159 unwind label %168

159:                                              ; preds = %158
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #10
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  %161 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  br i1 %161, label %148, label %._crit_edge

162:                                              ; preds = %148
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %171

164:                                              ; preds = %151
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #10
  br label %171

166:                                              ; preds = %153
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %170

168:                                              ; preds = %158
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  br label %170

170:                                              ; preds = %168, %166
  %.pn161 = phi { ptr, i32 } [ %169, %168 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #10
  br label %171

171:                                              ; preds = %170, %164, %162
  %.pn161.pn = phi { ptr, i32 } [ %.pn161, %170 ], [ %165, %164 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #10
  br label %195

172:                                              ; preds = %._crit_edge
  %173 = select i1 %147, ptr @__func__._ZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheE, ptr null
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #10
  store ptr %2, ptr %33, align 8, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %33, i64 8
  store ptr %134, ptr %174, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(16) %33) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #10
  store ptr %3, ptr %35, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNSA_13ExprCallCacheEE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #10
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %31, ptr noundef %173, ptr noundef nonnull %32, ptr noundef nonnull %34)
          to label %175 unwind label %185

175:                                              ; preds = %172
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #10
  %176 = getelementptr inbounds i8, ptr %134, i64 240
  %177 = load ptr, ptr %140, align 8, !tbaa !96
  %178 = getelementptr inbounds i8, ptr %177, i64 40
  %179 = load ptr, ptr %178, align 8
  invoke void %179(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %36, ptr noundef nonnull align 8 dereferenceable(96) %140, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %176, i1 noundef zeroext false)
          to label %180 unwind label %187

180:                                              ; preds = %175
  invoke void @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %181 unwind label %189

181:                                              ; preds = %180
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %31) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #10
  %182 = load ptr, ptr %45, align 8, !tbaa !80
  invoke void @_ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(96) %182, ptr noundef nonnull align 8 dereferenceable(96) %140, i1 noundef zeroext false)
          to label %.split226 unwind label %193

183:                                              ; preds = %._crit_edge
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %192

185:                                              ; preds = %172
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #10
  br label %192

187:                                              ; preds = %175
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %180
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #10
  br label %191

191:                                              ; preds = %189, %187
  %.pn = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %31) #10
  br label %192

192:                                              ; preds = %191, %185, %183
  %.pn.pn = phi { ptr, i32 } [ %.pn, %191 ], [ %186, %185 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #10
  br label %195

193:                                              ; preds = %181
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %195

.split226:                                        ; preds = %133, %181
  %.8 = phi i1 [ true, %181 ], [ false, %133 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #10
  ret i1 %.8

195:                                              ; preds = %.loopexit193, %.loopexit.split-lp, %171, %192, %193, %132, %.split, %.split258.split, %70, %66, %.split249.split, %107, %109, %115, %94, %93
  %.pn161.pn.pn.pn = phi { ptr, i32 } [ %lpad.loopexit335, %.split ], [ %.pn167, %132 ], [ %.pn176, %66 ], [ %63, %.split249.split ], [ %.pn178, %70 ], [ %67, %.split258.split ], [ %95, %94 ], [ %.pn172, %93 ], [ %.pn169, %115 ], [ %108, %107 ], [ %110, %109 ], [ %.pn161.pn, %171 ], [ %194, %193 ], [ %.pn.pn, %192 ], [ %lpad.loopexit, %.loopexit193 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #10
  br label %196

196:                                              ; preds = %195, %43
  %.pn161.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn161.pn.pn.pn, %195 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #10
  resume { ptr, i32 } %.pn161.pn.pn.pn.pn

197:                                              ; preds = %122, %88
  unreachable
}

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(352) ptr @_ZNK3HIR5Crate20get_function_by_pathERK4SpanRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3HIR7TypeRefC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 align 2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #8

declare void @_ZN3HIR10PathParamsC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN9typecheck25visit_call_populate_cacheER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheEEN9MonomorphC2ES1_PKNS5_7TypeRefEPKNS5_10PathParamsERSF_SE_(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(592), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #3 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #9

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

declare noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3HIR5Crate17get_trait_by_pathERK4SpanRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

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

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

declare void @_ZNK3HIR10PathParams5cloneEv(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9typecheck38visit_call_populate_cache_UfcsInherentER7ContextRK4SpanRN3HIR4PathERNS5_13ExprCallCacheERPKNS5_8FunctionE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13Monomorphiser19set_consteval_stateERKN3HIR5CrateENS0_8ItemPathE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(944), ptr noundef byval(%"class.HIR::ItemPath") align 8) local_unnamed_addr #6 align 2

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { nobuiltin allocsize(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 #9 = { nobuiltin 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin nounwind }
attributes #14 = { 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 = !{!"_ZTS7Context", !6, i64 0, !11, i64 8, !15, i64 32, !25, i64 88, !48, i64 368, !49, i64 376, !53, i64 400, !57, i64 424, !61, i64 448, !65, i64 472, !71, i64 512, !75, i64 536, !42, i64 584}
!11 = !{!"_ZTSSt6vectorIN7Context7BindingESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIN7Context7BindingESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN7Context7BindingESaIS1_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN7Context7BindingESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTS16HMTypeInferrence", !16, i64 0, !20, i64 24, !24, i64 48}
!16 = !{!"_ZTSSt6vectorIN16HMTypeInferrence4IVarESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN16HMTypeInferrence4IVarESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN16HMTypeInferrence4IVarESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN16HMTypeInferrence4IVarESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIN16HMTypeInferrence9IVarValueESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN16HMTypeInferrence9IVarValueESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN16HMTypeInferrence9IVarValueESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN16HMTypeInferrence9IVarValueESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTS15TraitResolution", !26, i64 0, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !44, i64 256}
!26 = !{!"_ZTS18TraitResolveCommon", !6, i64 0, !6, i64 8, !6, i64 16, !27, i64 24, !36, i64 72, !42, i64 104, !42, i64 112, !42, i64 120, !42, i64 128, !42, i64 136, !42, i64 144, !42, i64 152, !42, i64 160, !42, i64 168, !42, i64 176, !42, i64 184, !42, i64 192, !42, i64 200, !42, i64 208}
!27 = !{!"_ZTSSt3mapIN3HIR7TypeRefEN18TraitResolveCommon14CachedEqualityESt4lessIS1_ESaISt4pairIKS1_S3_EEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeIN3HIR7TypeRefESt4pairIKS1_N18TraitResolveCommon14CachedEqualityEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeIN3HIR7TypeRefESt4pairIKS1_N18TraitResolveCommon14CachedEqualityEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !30, i64 0, !32, i64 8}
!30 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN3HIR7TypeRefEEE", !31, i64 0}
!31 = !{!"_ZTSSt4lessIN3HIR7TypeRefEE"}
!32 = !{!"_ZTSSt15_Rb_tree_header", !33, i64 0, !35, i64 32}
!33 = !{!"_ZTSSt18_Rb_tree_node_base", !34, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!34 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!35 = !{!"long", !7, i64 0}
!36 = !{!"_ZTS11RangeVecMapISt4pairIN3HIR7TypeRefENS1_11GenericPathEEN18TraitResolveCommon11CachedBoundENS5_14CachedBoundCmpEE", !37, i64 0, !41, i64 24}
!37 = !{!"_ZTSSt6vectorISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSN18TraitResolveCommon14CachedBoundCmpE"}
!42 = !{!"_ZTSN3HIR10SimplePathE", !43, i64 0}
!43 = !{!"_ZTS10ThinVectorI8RcStringE", !6, i64 0}
!44 = !{!"_ZTSSt6vectorISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"int", !7, i64 0}
!49 = !{!"_ZTSSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!53 = !{!"_ZTSSt6vectorIN7Context10AssociatedESaIS1_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIN7Context10AssociatedESaIS1_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIN7Context10AssociatedESaIS1_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIN7Context10AssociatedESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!"_ZTSSt6vectorIPN3HIR8ExprNodeESaIS2_EE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseIPN3HIR8ExprNodeESaIS2_EE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIPN3HIR8ExprNodeESaIS2_EE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIPN3HIR8ExprNodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!61 = !{!"_ZTSSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!65 = !{!"_ZTSSt6vectorIbSaIbEE", !66, i64 0}
!66 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !67, i64 0}
!67 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !69, i64 0, !69, i64 16, !6, i64 32}
!69 = !{!"_ZTSSt13_Bit_iterator", !70, i64 0}
!70 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !48, i64 8}
!71 = !{!"_ZTSSt6vectorIN7Context12IVarPossibleESaIS1_EE", !72, i64 0}
!72 = !{!"_ZTSSt12_Vector_baseIN7Context12IVarPossibleESaIS1_EE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIN7Context12IVarPossibleESaIS1_EE12_Vector_implE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIN7Context12IVarPossibleESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!75 = !{!"_ZTSSt3mapIPN3HIR30TypeData_ErasedType_AliasInnerEN7Context9TaitEntryESt4lessIS2_ESaISt4pairIKS2_S4_EEE", !76, i64 0}
!76 = !{!"_ZTSSt8_Rb_treeIPN3HIR30TypeData_ErasedType_AliasInnerESt4pairIKS2_N7Context9TaitEntryEESt10_Select1stIS7_ESt4lessIS2_ESaIS7_EE", !77, i64 0}
!77 = !{!"_ZTSNSt8_Rb_treeIPN3HIR30TypeData_ErasedType_AliasInnerESt4pairIKS2_N7Context9TaitEntryEESt10_Select1stIS7_ESt4lessIS2_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !78, i64 0, !32, i64 8}
!78 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN3HIR30TypeData_ErasedType_AliasInnerEEE", !79, i64 0}
!79 = !{!"_ZTSSt4lessIPN3HIR30TypeData_ErasedType_AliasInnerEE"}
!80 = !{!81, !6, i64 24}
!81 = !{!"_ZTSN3HIR13ExprCallCacheE", !82, i64 0, !6, i64 24, !6, i64 32, !6, i64 40, !86, i64 48}
!82 = !{!"_ZTSSt6vectorIN3HIR7TypeRefESaIS1_EE", !83, i64 0}
!83 = !{!"_ZTSSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE", !84, i64 0}
!84 = !{!"_ZTSNSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE12_Vector_implE", !85, i64 0}
!85 = !{!"_ZTSNSt12_Vector_baseIN3HIR7TypeRefESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!86 = !{!"_ZTSSt10unique_ptrI13MonomorphiserSt14default_deleteIS0_EE", !87, i64 0}
!87 = !{!"_ZTSSt15__uniq_ptr_dataI13MonomorphiserSt14default_deleteIS0_ELb1ELb1EE", !88, i64 0}
!88 = !{!"_ZTSSt15__uniq_ptr_implI13MonomorphiserSt14default_deleteIS0_EE", !89, i64 0}
!89 = !{!"_ZTSSt5tupleIJP13MonomorphiserSt14default_deleteIS0_EEE", !90, i64 0}
!90 = !{!"_ZTSSt11_Tuple_implILm0EJP13MonomorphiserSt14default_deleteIS0_EEE", !91, i64 0}
!91 = !{!"_ZTSSt10_Head_baseILm0EP13MonomorphiserLb0EE", !6, i64 0}
!92 = !{!81, !6, i64 32}
!93 = distinct !{!93, !94}
!94 = !{!"llvm.loop.mustprogress"}
!95 = !{!81, !6, i64 40}
!96 = !{!97, !97, i64 0}
!97 = !{!"vtable pointer", !8, i64 0}


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