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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.Span = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%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.std::unique_ptr.60" = type { %"struct.std::__uniq_ptr_data.61" }
%"struct.std::__uniq_ptr_data.61" = type { %"class.std::__uniq_ptr_impl.62" }
%"class.std::__uniq_ptr_impl.62" = type { %"class.std::tuple.63" }
%"class.std::tuple.63" = type { %"struct.std::_Tuple_impl.64" }
%"struct.std::_Tuple_impl.64" = type { %"struct.std::_Head_base.67" }
%"struct.std::_Head_base.67" = type { ptr }
%struct.Context = type { ptr, %"class.std::vector", %class.HMTypeInferrence, %class.TraitResolution, i32, %"class.std::vector.23", %"class.std::vector.28", %"class.std::vector.33", %"class.std::vector.38", %"class.std::vector.43", %"class.std::vector.47", %"class.std::map.52", %"struct.HIR::SimplePath" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0", %"class.std::vector.5", i8, [7 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.18" }
%struct.TraitResolveCommon = type { ptr, ptr, ptr, %"class.std::map", %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" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = 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.13", [8 x i8] }>
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = 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.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = 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.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = 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.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = 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.43" = 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.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = 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.52" = type { %"class.std::_Rb_tree.53" }
%"class.std::_Rb_tree.53" = 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" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.anon.530 = 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.59" }
%"struct.std::_Head_base.59" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.531" = type { ptr }
%"struct.Context::Associated" = type <{ i32, [4 x i8], %struct.Span, %"class.HIR::TypeRef", %"struct.HIR::SimplePath", %"struct.HIR::PathParams", %"class.HIR::TypeRef", %class.RcString, i8, [7 x i8] }>
%"struct.HIR::PathParams" = type { %class.ThinVector.69, %class.ThinVector.70, %class.ThinVector.71 }
%class.ThinVector.69 = type { ptr }
%class.ThinVector.70 = type { ptr }
%class.ThinVector.71 = type { ptr }
%class.RcString = type { ptr }
%"class.__gnu_cxx::__normal_iterator.532" = type { ptr }
%"class.(anonymous namespace)::ExprVisitor_Revisit" = type <{ %"class.HIR::ExprVisitor", ptr, i8, i8, [6 x i8] }>
%"class.HIR::ExprVisitor" = type { ptr }
%"struct.HMTypeInferrence::FmtType" = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.72" = type { ptr }
%struct.FmtLambda = type { %"class.std::function" }
%class.anon.533 = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.73" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.534" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.535" = type { ptr }
%class.anon.536 = type { ptr }
%"struct.std::_Rb_tree_const_iterator.537" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.538" = type { ptr }
%class.anon.539 = type { i8 }
%class.anon.541 = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.500" = type { ptr }
%class.anon.542 = type { ptr, ptr }
%class.anon.543 = type { ptr, ptr }
%class.anon.544 = type { ptr, ptr }
%class.anon.545 = type { ptr }
%class.anon.546 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.548" = type { ptr }
%"class.(anonymous namespace)::ExprVisitor_Apply" = type { %"class.HIR::ExprVisitorDef", ptr, ptr }
%"class.HIR::ExprVisitorDef" = type { %"class.HIR::ExprVisitor" }
%struct.CompactTypes = type { %"class.HIR::ExprVisitorDef", %"class.std::map.549" }
%"class.std::map.549" = type { %"class.std::_Rb_tree.550" }
%"class.std::_Rb_tree.550" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, HIR::TypeRef>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, HIR::TypeRef>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, HIR::TypeRef>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, HIR::TypeRef>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.__gnu_cxx::__normal_iterator.513" = type { ptr }
%class.StaticTraitResolve = type { ptr, %struct.TraitResolveCommon, i32, %"class.std::map.555", %"class.std::map.555", %"class.std::map.555", %"class.std::map.549" }
%"class.std::map.555" = type { %"class.std::_Rb_tree.556" }
%"class.std::_Rb_tree.556" = type { %"struct.std::_Rb_tree<HIR::TypeRef, std::pair<const HIR::TypeRef, bool>, std::_Select1st<std::pair<const HIR::TypeRef, bool>>, std::less<HIR::TypeRef>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::TypeRef, std::pair<const HIR::TypeRef, bool>, std::_Select1st<std::pair<const HIR::TypeRef, bool>>, std::less<HIR::TypeRef>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%struct.VisitMethodConst = type { %"class.HIR::ExprVisitorDef", ptr, ptr }
%"struct.typeck::ModuleState" = type { ptr, ptr, ptr, ptr, %"class.std::vector.525", %"class.std::vector.244" }
%"class.std::vector.525" = type { %"struct.std::_Vector_base.526" }
%"struct.std::_Vector_base.526" = type { %"struct.std::_Vector_base<std::pair<const HIR::SimplePath *, const HIR::Trait *>, std::allocator<std::pair<const HIR::SimplePath *, const HIR::Trait *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<const HIR::SimplePath *, const HIR::Trait *>, std::allocator<std::pair<const HIR::SimplePath *, const HIR::Trait *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<const HIR::SimplePath *, const HIR::Trait *>, std::allocator<std::pair<const HIR::SimplePath *, const HIR::Trait *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<const HIR::SimplePath *, const HIR::Trait *>, std::allocator<std::pair<const HIR::SimplePath *, const HIR::Trait *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.244" = type { %"struct.std::_Vector_base.245" }
%"struct.std::_Vector_base.245" = type { %"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Context::Coercion" = type { i32, %"class.HIR::TypeRef", ptr }
%"class.HIR::ExprNode" = type <{ ptr, %struct.Span, %"class.HIR::TypeRef", i32, [4 x i8] }>
%"struct.Context::IVarPossible" = type { i8, i8, i8, i8, i8, %"class.std::vector.504", %"class.std::vector.504", %"class.std::set", %"class.std::vector.133" }
%"class.std::vector.504" = type { %"struct.std::_Vector_base.505" }
%"struct.std::_Vector_base.505" = type { %"struct.std::_Vector_base<Context::IVarPossible::CoerceTy, std::allocator<Context::IVarPossible::CoerceTy>>::_Vector_impl" }
%"struct.std::_Vector_base<Context::IVarPossible::CoerceTy, std::allocator<Context::IVarPossible::CoerceTy>>::_Vector_impl" = type { %"struct.std::_Vector_base<Context::IVarPossible::CoerceTy, std::allocator<Context::IVarPossible::CoerceTy>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Context::IVarPossible::CoerceTy, std::allocator<Context::IVarPossible::CoerceTy>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree.509" }
%"class.std::_Rb_tree.509" = type { %"struct.std::_Rb_tree<HIR::TypeRef, HIR::TypeRef, std::_Identity<HIR::TypeRef>, std::less<HIR::TypeRef>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::TypeRef, HIR::TypeRef, std::_Identity<HIR::TypeRef>, std::less<HIR::TypeRef>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.133" = type { %"struct.std::_Vector_base.134" }
%"struct.std::_Vector_base.134" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Context::IVarPossible::CoerceTy" = type { i32, %"class.HIR::TypeRef" }
%"struct.HIR::TypeData::Data_Infer" = type { i32, i32 }
%"class.HIR::ExprPtr" = type { %"class.HIR::ExprPtrInner", %"class.std::vector.133", %"class.std::vector.133", %"class.MIR::FunctionPointer", %"class.HIR::ExprStatePtr" }
%"class.HIR::ExprPtrInner" = type { ptr }
%"class.MIR::FunctionPointer" = type { ptr }
%"class.HIR::ExprStatePtr" = type { ptr }
%"struct.Context::Binding" = type { %class.RcString, %"class.HIR::TypeRef" }

@__dso_handle = external hidden global i8
@g_debug_indent_level = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.21 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE = external hidden unnamed_addr constant [18 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE = external hidden unnamed_addr constant [104 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [23 x i8], align 1
@_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp = external hidden global %struct.Span, align 8
@_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp = external hidden global i64, align 8
@.str.66 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #0

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

declare noundef zeroext i1 @_Z13debug_enabledv() #2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN16HMTypeInferrence7FmtTypeE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK16HMTypeInferrence8fmt_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #1 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN7Context10AssociatedE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(73)) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK9FmtLambda(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9FmtLambdaC2ESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Context12equate_typesERK4SpanRKN3HIR7TypeRefES6_(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)) #1 align 2

declare noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

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

declare void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #2

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

declare void @_ZN16HMTypeInferrence11set_ivar_toEjN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49), i32 noundef, ptr noundef) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 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)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16HMTypeInferrence11mark_changeEv(ptr noundef nonnull align 8 dereferenceable(49)) #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #0

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN16HMTypeInferrence8get_typeEj(ptr noundef nonnull align 8 dereferenceable(49), i32 noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(72) %3) #1 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.TraceLog, align 8
  %10 = alloca %"class.std::unique_ptr.60", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %struct.Context, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %class.TraceLog, align 8
  %17 = alloca %"class.std::function", align 8
  %18 = alloca %class.anon.530, align 8
  %19 = alloca i64, align 8
  %20 = alloca %"class.std::unique_ptr", align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.HIR::TypeRef", align 8
  %24 = alloca %"class.HIR::TypeRef", align 8
  %25 = alloca %"class.HIR::TypeRef", align 8
  %26 = alloca %"class.HIR::TypeRef", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca %"struct.Context::Associated", align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"class.HIR::TypeRef", align 8
  %40 = alloca %"class.HIR::TypeRef", align 8
  %41 = alloca %"class.HIR::TypeRef", align 8
  %42 = alloca %"class.HIR::TypeRef", align 8
  %43 = alloca %"class.HIR::TypeRef", align 8
  %44 = alloca %"class.HIR::TypeRef", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %47 = alloca ptr, align 8
  %48 = alloca %"class.(anonymous namespace)::ExprVisitor_Revisit", align 8
  %49 = alloca %"struct.HMTypeInferrence::FmtType", align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.72", align 8
  %52 = alloca %"class.std::vector.43", align 8
  %53 = alloca i64, align 8
  %54 = alloca i64, align 8
  %55 = alloca ptr, align 8
  %56 = alloca %struct.FmtLambda, align 8
  %57 = alloca %"class.std::function", align 8
  %58 = alloca %class.anon.533, align 8
  %59 = alloca i64, align 8
  %60 = alloca %"struct.std::_Bit_reference", align 8
  %61 = alloca %"class.__gnu_cxx::__normal_iterator.73", align 8
  %62 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %63 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %65 = alloca i32, align 4
  %66 = alloca ptr, align 8
  %67 = alloca %"class.__gnu_cxx::__normal_iterator.535", align 8
  %68 = alloca %"class.__gnu_cxx::__normal_iterator.535", align 8
  %69 = alloca ptr, align 8
  %70 = alloca ptr, align 8
  %71 = alloca %"class.__gnu_cxx::__normal_iterator.535", align 8
  %72 = alloca %"class.__gnu_cxx::__normal_iterator.535", align 8
  %73 = alloca ptr, align 8
  %74 = alloca i32, align 4
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %78 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %79 = alloca ptr, align 8
  %80 = alloca %"class.(anonymous namespace)::ExprVisitor_Revisit", align 8
  %81 = alloca %"struct.HMTypeInferrence::FmtType", align 8
  %82 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %83 = alloca %"class.__gnu_cxx::__normal_iterator.72", align 8
  %84 = alloca %"class.std::vector.43", align 8
  %85 = alloca i64, align 8
  %86 = alloca i64, align 8
  %87 = alloca ptr, align 8
  %88 = alloca %struct.FmtLambda, align 8
  %89 = alloca %"class.std::function", align 8
  %90 = alloca %class.anon.536, align 8
  %91 = alloca i64, align 8
  %92 = alloca %"struct.std::_Bit_reference", align 8
  %93 = alloca %"class.__gnu_cxx::__normal_iterator.73", align 8
  %94 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %95 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %96 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %97 = alloca i32, align 4
  %98 = alloca i32, align 4
  %99 = alloca i32, align 4
  %100 = alloca ptr, align 8
  %101 = alloca ptr, align 8
  %102 = alloca %"class.HIR::TypeRef", align 8
  %103 = alloca %"struct.std::_Rb_tree_const_iterator.537", align 8
  %104 = alloca %"class.std::unique_ptr", align 8
  %105 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %106 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %107 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %108 = alloca ptr, align 8
  %109 = alloca ptr, align 8
  %110 = alloca %"class.HIR::TypeRef", align 8
  %111 = alloca %"class.HIR::TypeRef", align 8
  %112 = alloca ptr, align 8
  %113 = alloca %"class.__gnu_cxx::__normal_iterator.538", align 8
  %114 = alloca %"class.__gnu_cxx::__normal_iterator.538", align 8
  %115 = alloca ptr, align 8
  %116 = alloca %struct.Span, align 8
  %117 = alloca %"class.std::function", align 8
  %118 = alloca %class.anon.539, align 1
  %119 = alloca ptr, align 8
  %120 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %121 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %122 = alloca ptr, align 8
  %123 = alloca ptr, align 8
  %124 = alloca ptr, align 8
  %125 = alloca ptr, align 8
  %126 = alloca %struct.Span, align 8
  %127 = alloca %"class.std::function", align 8
  %128 = alloca %class.anon.541, align 8
  %129 = alloca ptr, align 8
  %130 = alloca %"class.__gnu_cxx::__normal_iterator.500", align 8
  %131 = alloca %"class.__gnu_cxx::__normal_iterator.500", align 8
  %132 = alloca ptr, align 8
  %133 = alloca ptr, align 8
  %134 = alloca %"class.HIR::TypeRef", align 8
  %135 = alloca i1, align 1
  %136 = alloca i1, align 1
  %137 = alloca %struct.Span, align 8
  %138 = alloca %"class.std::function", align 8
  %139 = alloca %class.anon.542, align 8
  %140 = alloca %struct.Span, align 8
  %141 = alloca %"class.std::function", align 8
  %142 = alloca %class.anon.543, align 8
  %143 = alloca ptr, align 8
  %144 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %145 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %146 = alloca ptr, align 8
  %147 = alloca ptr, align 8
  %148 = alloca %struct.Span, align 8
  %149 = alloca %"class.std::function", align 8
  %150 = alloca %class.anon.544, align 8
  %151 = alloca ptr, align 8
  %152 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %153 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %154 = alloca ptr, align 8
  %155 = alloca %struct.Span, align 8
  %156 = alloca %"class.std::function", align 8
  %157 = alloca %class.anon.545, align 8
  %158 = alloca %struct.Span, align 8
  %159 = alloca %"class.std::function", align 8
  %160 = alloca %class.anon.546, align 1
  %161 = alloca ptr, align 8
  %162 = alloca %"class.__gnu_cxx::__normal_iterator.548", align 8
  %163 = alloca %"class.__gnu_cxx::__normal_iterator.548", align 8
  %164 = alloca ptr, align 8
  %165 = alloca %"class.HIR::TypeRef", align 8
  %166 = alloca %"class.(anonymous namespace)::ExprVisitor_Apply", align 8
  %167 = alloca %struct.CompactTypes, align 8
  %168 = alloca ptr, align 8
  %169 = alloca %"class.__gnu_cxx::__normal_iterator.513", align 8
  %170 = alloca %"class.__gnu_cxx::__normal_iterator.513", align 8
  %171 = alloca ptr, align 8
  %172 = alloca ptr, align 8
  %173 = alloca %"class.__gnu_cxx::__normal_iterator.513", align 8
  %174 = alloca %"class.__gnu_cxx::__normal_iterator.513", align 8
  %175 = alloca ptr, align 8
  %176 = alloca %class.StaticTraitResolve, align 8
  %177 = alloca %struct.VisitMethodConst, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #0
  %178 = call noundef zeroext i1 @_Z13debug_enabledv()
  %179 = zext i1 %178 to i64
  %180 = select i1 %178, ptr @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef %180)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #0
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN3HIR7ExprPtr11into_uniqueEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.60") align 8 %10, ptr noundef nonnull align 8 dereferenceable(72) %181)
          to label %182 unwind label %189

182:                                              ; preds = %4
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %183, i32 0, i32 5
  %185 = call noundef zeroext i1 @_ZNKSt6vectorIN3HIR10SimplePathESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %184) #0
  %186 = xor i1 %185, true
  br i1 %186, label %187, label %188

187:                                              ; preds = %182
  br label %194

188:                                              ; preds = %182
  call void @__assert_fail(ptr noundef @.str.53, ptr noundef @.str.21, i32 noundef 7796, ptr noundef @__PRETTY_FUNCTION__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE) #10
  unreachable

189:                                              ; preds = %4
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %11, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %12, align 4
  br label %2278

193:                                              ; No predecessors!
  br label %194

194:                                              ; preds = %193, %187
  call void @llvm.lifetime.start.p0(i64 592, ptr %13) #0
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %195, i32 0, i32 0
  %197 = load ptr, ptr %196, align 8, !tbaa !9
  %198 = load ptr, ptr %5, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %198, i32 0, i32 2
  %200 = load ptr, ptr %199, align 8, !tbaa !19
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %201, i32 0, i32 3
  %203 = load ptr, ptr %202, align 8, !tbaa !20
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %204, i32 0, i32 5
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIN3HIR10SimplePathESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %205) #0
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %207, i32 0, i32 1
  %209 = load ptr, ptr %208, align 8, !tbaa !21
  invoke void @_ZN7ContextC2ERKN3HIR5CrateEPKNS0_13GenericParamsES6_RKNS0_10SimplePathEPKNS0_11GenericPathE(ptr noundef nonnull align 8 dereferenceable(592) %13, ptr noundef nonnull align 8 dereferenceable(944) %197, ptr noundef %200, ptr noundef %203, ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef %209)
          to label %210 unwind label %249

210:                                              ; preds = %194
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_Z33Typecheck_Code_CS__EnumerateRulesR7ContextRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS7_7TypeRefEESaISA_EERKS9_RNS7_7ExprPtrERSt10unique_ptrINS7_8ExprNodeESt14default_deleteISJ_EE(ptr noundef nonnull align 8 dereferenceable(592) %13, ptr noundef nonnull align 8 dereferenceable(80) %211, ptr noundef nonnull align 8 dereferenceable(24) %212, ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef nonnull align 8 dereferenceable(72) %214, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %215 unwind label %253

215:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #0
  store i32 1000, ptr %14, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #0
  store i32 0, ptr %15, align 4, !tbaa !22
  br label %216

216:                                              ; preds = %1753, %215
  %217 = invoke noundef zeroext i1 @_ZN7Context12take_changedEv(ptr noundef nonnull align 8 dereferenceable(592) %13)
          to label %218 unwind label %257

218:                                              ; preds = %216
  br i1 %217, label %219, label %222

219:                                              ; preds = %218
  %220 = load i32, ptr %15, align 4, !tbaa !22
  %221 = icmp ult i32 %220, 1000
  br label %222

222:                                              ; preds = %219, %218
  %223 = phi i1 [ false, %218 ], [ %221, %219 ]
  br i1 %223, label %224, label %1756

224:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #0
  %225 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %226 unwind label %261

226:                                              ; preds = %224
  %227 = zext i1 %225 to i64
  %228 = select i1 %225, ptr @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #0
  %229 = getelementptr inbounds %class.anon.530, ptr %18, i32 0, i32 0
  store ptr %15, ptr %229, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef %228, ptr noundef %17)
          to label %230 unwind label %265

230:                                              ; preds = %226
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  invoke void @_ZNK7Context4dumpEv(ptr noundef nonnull align 8 dereferenceable(592) %13)
          to label %231 unwind label %269

231:                                              ; preds = %230
  %232 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %233 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %232)
          to label %234 unwind label %269

234:                                              ; preds = %231
  br i1 %233, label %660, label %235

235:                                              ; preds = %234
  br label %236

236:                                              ; preds = %235
  %237 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %238 unwind label %269

238:                                              ; preds = %236
  br i1 %237, label %239, label %273

239:                                              ; preds = %238
  %240 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %240, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %242 unwind label %269

242:                                              ; preds = %239
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef @.str.54)
          to label %244 unwind label %269

244:                                              ; preds = %242
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef @_ZSt3decRSt8ios_base)
          to label %246 unwind label %269

246:                                              ; preds = %244
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %248 unwind label %269

248:                                              ; preds = %246
  br label %273

249:                                              ; preds = %194
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %11, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %12, align 4
  br label %2277

253:                                              ; preds = %210
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %11, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %12, align 4
  br label %2276

257:                                              ; preds = %2209, %2207, %2205, %2202, %2199, %2130, %2125, %2123, %2121, %2118, %2116, %2113, %2110, %2074, %2071, %2066, %2064, %2060, %2058, %2056, %2053, %2051, %2048, %2045, %2028, %1786, %1783, %1767, %216
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %11, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %12, align 4
  br label %2275

261:                                              ; preds = %224
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %11, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %12, align 4
  br label %1755

265:                                              ; preds = %226
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %11, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  br label %1755

269:                                              ; preds = %1748, %1619, %1617, %1615, %1612, %1609, %1604, %1526, %1524, %1522, %1519, %1516, %1511, %1507, %1503, %1498, %1496, %1494, %1491, %1488, %1483, %1451, %1449, %1447, %1444, %1441, %1436, %1404, %1402, %1400, %1397, %1394, %1389, %1167, %1165, %1163, %1160, %1157, %1152, %1119, %1117, %1115, %1112, %1109, %1104, %1072, %1070, %1068, %1065, %1062, %1057, %1025, %1023, %1021, %1018, %1015, %1010, %912, %910, %908, %905, %902, %897, %675, %673, %671, %668, %665, %660, %424, %422, %420, %417, %414, %246, %244, %242, %239, %236, %231, %230
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %11, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %12, align 4
  br label %1754

273:                                              ; preds = %248, %238
  br label %274

274:                                              ; preds = %273
  br label %275

275:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #0
  store i64 0, ptr %19, align 8, !tbaa !24
  br label %276

276:                                              ; preds = %410, %275
  %277 = load i64, ptr %19, align 8, !tbaa !24
  %278 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  %279 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %278) #0
  %280 = icmp ult i64 %277, %279
  br i1 %280, label %282, label %281

281:                                              ; preds = %276
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #0
  br label %413

282:                                              ; preds = %276
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #0
  %283 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  %284 = load i64, ptr %19, align 8, !tbaa !24
  %285 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %283, i64 noundef %284) #0
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %285) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #0
  %286 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  %287 = getelementptr inbounds %"struct.Context::Coercion", ptr %286, i32 0, i32 2
  %288 = load ptr, ptr %287, align 8, !tbaa !26
  %289 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %288) #0
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %289)
          to label %291 unwind label %348

291:                                              ; preds = %282
  store ptr %290, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #0
  %292 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  %293 = getelementptr inbounds %"struct.Context::Coercion", ptr %292, i32 0, i32 2
  %294 = load ptr, ptr %293, align 8, !tbaa !26
  %295 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %294) #0
  %296 = getelementptr inbounds %"class.HIR::ExprNode", ptr %295, i32 0, i32 2
  store ptr %296, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #0
  %297 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 3
  %298 = load ptr, ptr %21, align 8, !tbaa !5
  %299 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %299)
          to label %300 unwind label %352

300:                                              ; preds = %291
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %23, ptr noundef nonnull align 8 dereferenceable(280) %297, ptr noundef nonnull align 8 dereferenceable(8) %298, ptr noundef %24)
          to label %301 unwind label %356

301:                                              ; preds = %300
  %302 = load ptr, ptr %22, align 8, !tbaa !5
  %303 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %302, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %304 unwind label %360

304:                                              ; preds = %301
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #0
  %305 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 3
  %306 = load ptr, ptr %21, align 8, !tbaa !5
  %307 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  %308 = getelementptr inbounds %"struct.Context::Coercion", ptr %307, i32 0, i32 1
  invoke void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %308)
          to label %309 unwind label %366

309:                                              ; preds = %304
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %25, ptr noundef nonnull align 8 dereferenceable(280) %305, ptr noundef nonnull align 8 dereferenceable(8) %306, ptr noundef %26)
          to label %310 unwind label %370

310:                                              ; preds = %309
  %311 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  %312 = getelementptr inbounds %"struct.Context::Coercion", ptr %311, i32 0, i32 1
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %312, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %314 unwind label %374

314:                                              ; preds = %310
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #0
  %315 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  %316 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_112check_coerceER7ContextRKNS0_8CoercionE(ptr noundef nonnull align 8 dereferenceable(592) %13, ptr noundef nonnull align 8 dereferenceable(24) %315)
          to label %317 unwind label %380

317:                                              ; preds = %314
  br i1 %316, label %318, label %403

318:                                              ; preds = %317
  br label %319

319:                                              ; preds = %318
  %320 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %321 unwind label %380

321:                                              ; preds = %319
  br i1 %320, label %322, label %384

322:                                              ; preds = %321
  %323 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %323, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %325 unwind label %380

325:                                              ; preds = %322
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %324, ptr noundef @.str.55)
          to label %327 unwind label %380

327:                                              ; preds = %325
  %328 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  %329 = getelementptr inbounds %"struct.Context::Coercion", ptr %328, i32 0, i32 0
  %330 = load i32, ptr %329, align 8, !tbaa !29
  %331 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %326, i32 noundef %330)
          to label %332 unwind label %380

332:                                              ; preds = %327
  %333 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %331, ptr noundef @.str.1)
          to label %334 unwind label %380

334:                                              ; preds = %332
  %335 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  %336 = getelementptr inbounds %"struct.Context::Coercion", ptr %335, i32 0, i32 1
  %337 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %333, ptr noundef nonnull align 8 dereferenceable(8) %336)
          to label %338 unwind label %380

338:                                              ; preds = %334
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %337, ptr noundef @.str.10)
          to label %340 unwind label %380

340:                                              ; preds = %338
  %341 = load ptr, ptr %22, align 8, !tbaa !5
  %342 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %339, ptr noundef nonnull align 8 dereferenceable(8) %341)
          to label %343 unwind label %380

343:                                              ; preds = %340
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %342, ptr noundef @_ZSt3decRSt8ios_base)
          to label %345 unwind label %380

345:                                              ; preds = %343
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %344, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %347 unwind label %380

347:                                              ; preds = %345
  br label %384

348:                                              ; preds = %282
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %11, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %12, align 4
  br label %412

352:                                              ; preds = %291
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %11, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %12, align 4
  br label %365

356:                                              ; preds = %300
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %11, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %12, align 4
  br label %364

360:                                              ; preds = %301
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %11, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %12, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #0
  br label %364

364:                                              ; preds = %360, %356
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #0
  br label %365

365:                                              ; preds = %364, %352
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #0
  br label %411

366:                                              ; preds = %304
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %11, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %12, align 4
  br label %379

370:                                              ; preds = %309
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %11, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %12, align 4
  br label %378

374:                                              ; preds = %310
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %11, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %12, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #0
  br label %378

378:                                              ; preds = %374, %370
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #0
  br label %379

379:                                              ; preds = %378, %366
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #0
  br label %411

380:                                              ; preds = %345, %343, %340, %338, %334, %332, %327, %325, %322, %319, %314
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %11, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %12, align 4
  br label %411

384:                                              ; preds = %347, %321
  br label %385

385:                                              ; preds = %384
  br label %386

386:                                              ; preds = %385
  %387 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #0
  %388 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  %389 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %388) #0
  %390 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.531", ptr %29, i32 0, i32 0
  store ptr %389, ptr %390, align 8
  %391 = load i64, ptr %19, align 8, !tbaa !24
  %392 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %29, i64 noundef %391) #0
  %393 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.531", ptr %28, i32 0, i32 0
  store ptr %392, ptr %393, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #0
  %394 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  %395 = load ptr, ptr %394, align 8
  %396 = invoke ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %387, ptr %395)
          to label %397 unwind label %399

397:                                              ; preds = %386
  %398 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.531", ptr %30, i32 0, i32 0
  store ptr %396, ptr %398, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #0
  br label %410

399:                                              ; preds = %386
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %11, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #0
  br label %411

403:                                              ; preds = %317
  %404 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  %405 = load i64, ptr %19, align 8, !tbaa !24
  %406 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %404, i64 noundef %405) #0
  %407 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %406, ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  %408 = load i64, ptr %19, align 8, !tbaa !24
  %409 = add i64 %408, 1
  store i64 %409, ptr %19, align 8, !tbaa !24
  br label %410

410:                                              ; preds = %403, %397
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #0
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #0
  br label %276, !llvm.loop !30

411:                                              ; preds = %399, %380, %379, %365
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #0
  br label %412

412:                                              ; preds = %411, %348
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #0
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #0
  br label %1754

413:                                              ; preds = %281
  br label %414

414:                                              ; preds = %413
  %415 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %416 unwind label %269

416:                                              ; preds = %414
  br i1 %415, label %417, label %427

417:                                              ; preds = %416
  %418 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %419 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %418, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %420 unwind label %269

420:                                              ; preds = %417
  %421 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %419, ptr noundef @.str.56)
          to label %422 unwind label %269

422:                                              ; preds = %420
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %421, ptr noundef @_ZSt3decRSt8ios_base)
          to label %424 unwind label %269

424:                                              ; preds = %422
  %425 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %423, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %426 unwind label %269

426:                                              ; preds = %424
  br label %427

427:                                              ; preds = %426, %416
  br label %428

428:                                              ; preds = %427
  br label %429

429:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #0
  %430 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  %431 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %430) #0
  %432 = mul i64 %431, 4
  %433 = trunc i64 %432 to i32
  store i32 %433, ptr %31, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #0
  store i32 0, ptr %32, align 4, !tbaa !22
  br label %434

434:                                              ; preds = %655, %429
  %435 = load i32, ptr %32, align 4, !tbaa !22
  %436 = zext i32 %435 to i64
  %437 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  %438 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %437) #0
  %439 = icmp ult i64 %436, %438
  br i1 %439, label %441, label %440

440:                                              ; preds = %434
  store i32 12, ptr %33, align 4
  br label %658

441:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 80, ptr %34) #0
  %442 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  %443 = load i32, ptr %32, align 4, !tbaa !22
  %444 = zext i32 %443 to i64
  %445 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %442, i64 noundef %444) #0
  invoke void @_ZN7Context10AssociatedC2EOS0_(ptr noundef nonnull align 8 dereferenceable(73) %34, ptr noundef nonnull align 8 dereferenceable(73) %445)
          to label %446 unwind label %462

446:                                              ; preds = %441
  br label %447

447:                                              ; preds = %446
  %448 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %449 unwind label %466

449:                                              ; preds = %447
  br i1 %448, label %450, label %470

450:                                              ; preds = %449
  %451 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %452 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %451, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %453 unwind label %466

453:                                              ; preds = %450
  %454 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %452, ptr noundef @.str.57)
          to label %455 unwind label %466

455:                                              ; preds = %453
  %456 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN7Context10AssociatedE(ptr noundef nonnull align 8 dereferenceable(8) %454, ptr noundef nonnull align 8 dereferenceable(73) %34)
          to label %457 unwind label %466

457:                                              ; preds = %455
  %458 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %456, ptr noundef @_ZSt3decRSt8ios_base)
          to label %459 unwind label %466

459:                                              ; preds = %457
  %460 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %458, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %461 unwind label %466

461:                                              ; preds = %459
  br label %470

462:                                              ; preds = %441
  %463 = landingpad { ptr, i32 }
          cleanup
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %11, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %12, align 4
  br label %657

466:                                              ; preds = %646, %644, %642, %639, %636, %622, %611, %585, %583, %581, %579, %575, %573, %570, %568, %565, %562, %558, %523, %459, %457, %455, %453, %450, %447
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %11, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %12, align 4
  br label %656

470:                                              ; preds = %461, %449
  br label %471

471:                                              ; preds = %470
  br label %472

472:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #0
  %473 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 5
  %474 = getelementptr inbounds %"struct.HIR::PathParams", ptr %473, i32 0, i32 1
  store ptr %474, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #0
  %475 = load ptr, ptr %35, align 8, !tbaa !5
  %476 = invoke noundef ptr @_ZN10ThinVectorIN3HIR7TypeRefEE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %475)
          to label %477 unwind label %486

477:                                              ; preds = %472
  store ptr %476, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #0
  %478 = load ptr, ptr %35, align 8, !tbaa !5
  %479 = invoke noundef ptr @_ZN10ThinVectorIN3HIR7TypeRefEE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %478)
          to label %480 unwind label %490

480:                                              ; preds = %477
  store ptr %479, ptr %37, align 8, !tbaa !5
  br label %481

481:                                              ; preds = %504, %480
  %482 = load ptr, ptr %36, align 8, !tbaa !5
  %483 = load ptr, ptr %37, align 8, !tbaa !5
  %484 = icmp ne ptr %482, %483
  br i1 %484, label %494, label %485

485:                                              ; preds = %481
  store i32 16, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #0
  br label %523

486:                                              ; preds = %472
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %11, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %12, align 4
  br label %522

490:                                              ; preds = %477
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %11, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %12, align 4
  br label %521

494:                                              ; preds = %481
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #0
  %495 = load ptr, ptr %36, align 8, !tbaa !5
  store ptr %495, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #0
  %496 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 3
  %497 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 2
  %498 = load ptr, ptr %38, align 8, !tbaa !5
  invoke void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %498)
          to label %499 unwind label %507

499:                                              ; preds = %494
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %39, ptr noundef nonnull align 8 dereferenceable(280) %496, ptr noundef nonnull align 8 dereferenceable(8) %497, ptr noundef %40)
          to label %500 unwind label %511

500:                                              ; preds = %499
  %501 = load ptr, ptr %38, align 8, !tbaa !5
  %502 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %501, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %503 unwind label %515

503:                                              ; preds = %500
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #0
  br label %504

504:                                              ; preds = %503
  %505 = load ptr, ptr %36, align 8, !tbaa !5
  %506 = getelementptr inbounds %"class.HIR::TypeRef", ptr %505, i32 1
  store ptr %506, ptr %36, align 8, !tbaa !5
  br label %481

507:                                              ; preds = %494
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %11, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %12, align 4
  br label %520

511:                                              ; preds = %499
  %512 = landingpad { ptr, i32 }
          cleanup
  %513 = extractvalue { ptr, i32 } %512, 0
  store ptr %513, ptr %11, align 8
  %514 = extractvalue { ptr, i32 } %512, 1
  store i32 %514, ptr %12, align 4
  br label %519

515:                                              ; preds = %500
  %516 = landingpad { ptr, i32 }
          cleanup
  %517 = extractvalue { ptr, i32 } %516, 0
  store ptr %517, ptr %11, align 8
  %518 = extractvalue { ptr, i32 } %516, 1
  store i32 %518, ptr %12, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #0
  br label %519

519:                                              ; preds = %515, %511
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #0
  br label %520

520:                                              ; preds = %519, %507
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #0
  br label %521

521:                                              ; preds = %520, %490
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #0
  br label %522

522:                                              ; preds = %521, %486
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #0
  br label %656

523:                                              ; preds = %485
  %524 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 7
  %525 = invoke noundef zeroext i1 @_ZNK8RcStringneEPKc(ptr noundef nonnull align 8 dereferenceable(8) %524, ptr noundef @.str.22)
          to label %526 unwind label %466

526:                                              ; preds = %523
  br i1 %525, label %527, label %550

527:                                              ; preds = %526
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #0
  %528 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 3
  %529 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 2
  %530 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 3
  invoke void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %530)
          to label %531 unwind label %536

531:                                              ; preds = %527
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %41, ptr noundef nonnull align 8 dereferenceable(280) %528, ptr noundef nonnull align 8 dereferenceable(8) %529, ptr noundef %42)
          to label %532 unwind label %540

532:                                              ; preds = %531
  %533 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 3
  %534 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %533, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %535 unwind label %544

535:                                              ; preds = %532
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #0
  br label %550

536:                                              ; preds = %527
  %537 = landingpad { ptr, i32 }
          cleanup
  %538 = extractvalue { ptr, i32 } %537, 0
  store ptr %538, ptr %11, align 8
  %539 = extractvalue { ptr, i32 } %537, 1
  store i32 %539, ptr %12, align 4
  br label %549

540:                                              ; preds = %531
  %541 = landingpad { ptr, i32 }
          cleanup
  %542 = extractvalue { ptr, i32 } %541, 0
  store ptr %542, ptr %11, align 8
  %543 = extractvalue { ptr, i32 } %541, 1
  store i32 %543, ptr %12, align 4
  br label %548

544:                                              ; preds = %532
  %545 = landingpad { ptr, i32 }
          cleanup
  %546 = extractvalue { ptr, i32 } %545, 0
  store ptr %546, ptr %11, align 8
  %547 = extractvalue { ptr, i32 } %545, 1
  store i32 %547, ptr %12, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #0
  br label %548

548:                                              ; preds = %544, %540
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #0
  br label %549

549:                                              ; preds = %548, %536
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #0
  br label %656

550:                                              ; preds = %535, %526
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #0
  %551 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 3
  %552 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 2
  %553 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 6
  invoke void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %553)
          to label %554 unwind label %588

554:                                              ; preds = %550
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %43, ptr noundef nonnull align 8 dereferenceable(280) %551, ptr noundef nonnull align 8 dereferenceable(8) %552, ptr noundef %44)
          to label %555 unwind label %592

555:                                              ; preds = %554
  %556 = getelementptr inbounds %"struct.Context::Associated", ptr %34, i32 0, i32 6
  %557 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %556, ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %558 unwind label %596

558:                                              ; preds = %555
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #0
  %559 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_116check_associatedER7ContextRKNS0_10AssociatedE(ptr noundef nonnull align 8 dereferenceable(592) %13, ptr noundef nonnull align 8 dereferenceable(73) %34)
          to label %560 unwind label %466

560:                                              ; preds = %558
  br i1 %559, label %561, label %622

561:                                              ; preds = %560
  br label %562

562:                                              ; preds = %561
  %563 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %564 unwind label %466

564:                                              ; preds = %562
  br i1 %563, label %565, label %602

565:                                              ; preds = %564
  %566 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %567 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %566, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %568 unwind label %466

568:                                              ; preds = %565
  %569 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %567, ptr noundef @.str.58)
          to label %570 unwind label %466

570:                                              ; preds = %568
  %571 = load i32, ptr %32, align 4, !tbaa !22
  %572 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %569, i32 noundef %571)
          to label %573 unwind label %466

573:                                              ; preds = %570
  %574 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %572, ptr noundef @.str.59)
          to label %575 unwind label %466

575:                                              ; preds = %573
  %576 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  %577 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %576) #0
  %578 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %574, i64 noundef %577)
          to label %579 unwind label %466

579:                                              ; preds = %575
  %580 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %578, ptr noundef @.str.60)
          to label %581 unwind label %466

581:                                              ; preds = %579
  %582 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN7Context10AssociatedE(ptr noundef nonnull align 8 dereferenceable(8) %580, ptr noundef nonnull align 8 dereferenceable(73) %34)
          to label %583 unwind label %466

583:                                              ; preds = %581
  %584 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %582, ptr noundef @_ZSt3decRSt8ios_base)
          to label %585 unwind label %466

585:                                              ; preds = %583
  %586 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %584, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %587 unwind label %466

587:                                              ; preds = %585
  br label %602

588:                                              ; preds = %550
  %589 = landingpad { ptr, i32 }
          cleanup
  %590 = extractvalue { ptr, i32 } %589, 0
  store ptr %590, ptr %11, align 8
  %591 = extractvalue { ptr, i32 } %589, 1
  store i32 %591, ptr %12, align 4
  br label %601

592:                                              ; preds = %554
  %593 = landingpad { ptr, i32 }
          cleanup
  %594 = extractvalue { ptr, i32 } %593, 0
  store ptr %594, ptr %11, align 8
  %595 = extractvalue { ptr, i32 } %593, 1
  store i32 %595, ptr %12, align 4
  br label %600

596:                                              ; preds = %555
  %597 = landingpad { ptr, i32 }
          cleanup
  %598 = extractvalue { ptr, i32 } %597, 0
  store ptr %598, ptr %11, align 8
  %599 = extractvalue { ptr, i32 } %597, 1
  store i32 %599, ptr %12, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #0
  br label %600

600:                                              ; preds = %596, %592
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #0
  br label %601

601:                                              ; preds = %600, %588
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #0
  br label %656

602:                                              ; preds = %587, %564
  br label %603

603:                                              ; preds = %602
  br label %604

604:                                              ; preds = %603
  %605 = load i32, ptr %32, align 4, !tbaa !22
  %606 = zext i32 %605 to i64
  %607 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  %608 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %607) #0
  %609 = sub i64 %608, 1
  %610 = icmp ne i64 %606, %609
  br i1 %610, label %611, label %620

611:                                              ; preds = %604
  %612 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  %613 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %612) #0
  %614 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  %615 = load i32, ptr %32, align 4, !tbaa !22
  %616 = zext i32 %615 to i64
  %617 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %614, i64 noundef %616) #0
  %618 = invoke noundef nonnull align 8 dereferenceable(73) ptr @_ZN7Context10AssociatedaSEOS0_(ptr noundef nonnull align 8 dereferenceable(73) %617, ptr noundef nonnull align 8 dereferenceable(73) %613)
          to label %619 unwind label %466

619:                                              ; preds = %611
  br label %620

620:                                              ; preds = %619, %604
  %621 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  call void @_ZNSt6vectorIN7Context10AssociatedESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %621) #0
  br label %631

622:                                              ; preds = %560
  %623 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  %624 = load i32, ptr %32, align 4, !tbaa !22
  %625 = zext i32 %624 to i64
  %626 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %623, i64 noundef %625) #0
  %627 = invoke noundef nonnull align 8 dereferenceable(73) ptr @_ZN7Context10AssociatedaSEOS0_(ptr noundef nonnull align 8 dereferenceable(73) %626, ptr noundef nonnull align 8 dereferenceable(73) %34)
          to label %628 unwind label %466

628:                                              ; preds = %622
  %629 = load i32, ptr %32, align 4, !tbaa !22
  %630 = add i32 %629, 1
  store i32 %630, ptr %32, align 4, !tbaa !22
  br label %631

631:                                              ; preds = %628, %620
  %632 = load i32, ptr %31, align 4, !tbaa !22
  %633 = add i32 %632, -1
  store i32 %633, ptr %31, align 4, !tbaa !22
  %634 = icmp eq i32 %632, 0
  br i1 %634, label %635, label %652

635:                                              ; preds = %631
  br label %636

636:                                              ; preds = %635
  %637 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %638 unwind label %466

638:                                              ; preds = %636
  br i1 %637, label %639, label %649

639:                                              ; preds = %638
  %640 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %641 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %640, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %642 unwind label %466

642:                                              ; preds = %639
  %643 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %641, ptr noundef @.str.61)
          to label %644 unwind label %466

644:                                              ; preds = %642
  %645 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %643, ptr noundef @_ZSt3decRSt8ios_base)
          to label %646 unwind label %466

646:                                              ; preds = %644
  %647 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %645, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %648 unwind label %466

648:                                              ; preds = %646
  br label %649

649:                                              ; preds = %648, %638
  br label %650

650:                                              ; preds = %649
  br label %651

651:                                              ; preds = %650
  store i32 12, ptr %33, align 4
  br label %653

652:                                              ; preds = %631
  store i32 0, ptr %33, align 4
  br label %653

653:                                              ; preds = %652, %651
  call void @_ZN7Context10AssociatedD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %34) #0
  call void @llvm.lifetime.end.p0(i64 80, ptr %34) #0
  %654 = load i32, ptr %33, align 4
  switch i32 %654, label %658 [
    i32 0, label %655
  ]

655:                                              ; preds = %653
  br label %434, !llvm.loop !32

656:                                              ; preds = %601, %549, %522, %466
  call void @_ZN7Context10AssociatedD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %34) #0
  br label %657

657:                                              ; preds = %656, %462
  call void @llvm.lifetime.end.p0(i64 80, ptr %34) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #0
  br label %1754

658:                                              ; preds = %653, %440
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #0
  br label %659

659:                                              ; preds = %658
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #0
  br label %660

660:                                              ; preds = %659, %234
  %661 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %662 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %661)
          to label %663 unwind label %269

663:                                              ; preds = %660
  br i1 %662, label %897, label %664

664:                                              ; preds = %663
  br label %665

665:                                              ; preds = %664
  %666 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %667 unwind label %269

667:                                              ; preds = %665
  br i1 %666, label %668, label %678

668:                                              ; preds = %667
  %669 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %670 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %669, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %671 unwind label %269

671:                                              ; preds = %668
  %672 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %670, ptr noundef @.str.62)
          to label %673 unwind label %269

673:                                              ; preds = %671
  %674 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %672, ptr noundef @_ZSt3decRSt8ios_base)
          to label %675 unwind label %269

675:                                              ; preds = %673
  %676 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %674, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %677 unwind label %269

677:                                              ; preds = %675
  br label %678

678:                                              ; preds = %677, %667
  br label %679

679:                                              ; preds = %678
  br label %680

680:                                              ; preds = %679
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #0
  %681 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 7
  %682 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %681) #0
  %683 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.532", ptr %45, i32 0, i32 0
  store ptr %682, ptr %683, align 8
  br label %684

684:                                              ; preds = %795, %680
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #0
  %685 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 7
  %686 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %685) #0
  %687 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.532", ptr %46, i32 0, i32 0
  store ptr %686, ptr %687, align 8
  %688 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #0
  br i1 %688, label %690, label %689

689:                                              ; preds = %684
  store i32 24, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #0
  br label %798

690:                                              ; preds = %684
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #0
  %691 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #0
  %692 = load ptr, ptr %691, align 8, !tbaa !5
  store ptr %692, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #0
  invoke void @_ZN12_GLOBAL__N_119ExprVisitor_RevisitC2ER7Contextb(ptr noundef nonnull align 8 dereferenceable(18) %48, ptr noundef nonnull align 8 dereferenceable(592) %13, i1 noundef zeroext false)
          to label %693 unwind label %732

693:                                              ; preds = %690
  br label %694

694:                                              ; preds = %693
  %695 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %696 unwind label %736

696:                                              ; preds = %694
  br i1 %695, label %697, label %744

697:                                              ; preds = %696
  %698 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %699 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %698, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %700 unwind label %736

700:                                              ; preds = %697
  %701 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %699, ptr noundef @.str.63)
          to label %702 unwind label %736

702:                                              ; preds = %700
  %703 = load ptr, ptr %47, align 8, !tbaa !5
  %704 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %701, ptr noundef %703)
          to label %705 unwind label %736

705:                                              ; preds = %702
  %706 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %704, ptr noundef @.str.1)
          to label %707 unwind label %736

707:                                              ; preds = %705
  %708 = load ptr, ptr %47, align 8, !tbaa !5
  %709 = load ptr, ptr %708, align 8, !tbaa !33
  %710 = getelementptr inbounds ptr, ptr %709, i64 -1
  %711 = load ptr, ptr %710, align 8
  %712 = call noundef ptr @_ZNKSt9type_info4nameEv(ptr noundef nonnull align 8 dereferenceable(16) %711) #0
  %713 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %706, ptr noundef %712)
          to label %714 unwind label %736

714:                                              ; preds = %707
  %715 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %713, ptr noundef @.str.13)
          to label %716 unwind label %736

716:                                              ; preds = %714
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #0
  %717 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %718 = load ptr, ptr %47, align 8, !tbaa !5
  %719 = getelementptr inbounds %"class.HIR::ExprNode", ptr %718, i32 0, i32 2
  %720 = invoke { ptr, ptr } @_ZNK16HMTypeInferrence8fmt_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49) %717, ptr noundef nonnull align 8 dereferenceable(8) %719)
          to label %721 unwind label %740

721:                                              ; preds = %716
  %722 = getelementptr inbounds { ptr, ptr }, ptr %49, i32 0, i32 0
  %723 = extractvalue { ptr, ptr } %720, 0
  store ptr %723, ptr %722, align 8
  %724 = getelementptr inbounds { ptr, ptr }, ptr %49, i32 0, i32 1
  %725 = extractvalue { ptr, ptr } %720, 1
  store ptr %725, ptr %724, align 8
  %726 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN16HMTypeInferrence7FmtTypeE(ptr noundef nonnull align 8 dereferenceable(8) %715, ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %727 unwind label %740

727:                                              ; preds = %721
  %728 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %726, ptr noundef @_ZSt3decRSt8ios_base)
          to label %729 unwind label %740

729:                                              ; preds = %727
  %730 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %728, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %731 unwind label %740

731:                                              ; preds = %729
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #0
  br label %744

732:                                              ; preds = %690
  %733 = landingpad { ptr, i32 }
          cleanup
  %734 = extractvalue { ptr, i32 } %733, 0
  store ptr %734, ptr %11, align 8
  %735 = extractvalue { ptr, i32 } %733, 1
  store i32 %735, ptr %12, align 4
  br label %797

736:                                              ; preds = %777, %775, %768, %766, %763, %761, %758, %755, %751, %746, %714, %707, %705, %702, %700, %697, %694
  %737 = landingpad { ptr, i32 }
          cleanup
  %738 = extractvalue { ptr, i32 } %737, 0
  store ptr %738, ptr %11, align 8
  %739 = extractvalue { ptr, i32 } %737, 1
  store i32 %739, ptr %12, align 4
  br label %796

740:                                              ; preds = %729, %727, %721, %716
  %741 = landingpad { ptr, i32 }
          cleanup
  %742 = extractvalue { ptr, i32 } %741, 0
  store ptr %742, ptr %11, align 8
  %743 = extractvalue { ptr, i32 } %741, 1
  store i32 %743, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #0
  br label %796

744:                                              ; preds = %731, %696
  br label %745

745:                                              ; preds = %744
  br label %746

746:                                              ; preds = %745
  %747 = load ptr, ptr %47, align 8, !tbaa !5
  %748 = load ptr, ptr %747, align 8, !tbaa !33
  %749 = getelementptr inbounds ptr, ptr %748, i64 0
  %750 = load ptr, ptr %749, align 8
  invoke void %750(ptr noundef nonnull align 8 dereferenceable(28) %747, ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %751 unwind label %736

751:                                              ; preds = %746
  %752 = invoke noundef zeroext i1 @_ZNK12_GLOBAL__N_119ExprVisitor_Revisit14node_completedEv(ptr noundef nonnull align 8 dereferenceable(18) %48)
          to label %753 unwind label %736

753:                                              ; preds = %751
  br i1 %752, label %754, label %793

754:                                              ; preds = %753
  br label %755

755:                                              ; preds = %754
  %756 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %757 unwind label %736

757:                                              ; preds = %755
  br i1 %756, label %758, label %780

758:                                              ; preds = %757
  %759 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %760 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %759, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %761 unwind label %736

761:                                              ; preds = %758
  %762 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %760, ptr noundef @.str.64)
          to label %763 unwind label %736

763:                                              ; preds = %761
  %764 = load ptr, ptr %47, align 8, !tbaa !5
  %765 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %762, ptr noundef %764)
          to label %766 unwind label %736

766:                                              ; preds = %763
  %767 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %765, ptr noundef @.str.60)
          to label %768 unwind label %736

768:                                              ; preds = %766
  %769 = load ptr, ptr %47, align 8, !tbaa !5
  %770 = load ptr, ptr %769, align 8, !tbaa !33
  %771 = getelementptr inbounds ptr, ptr %770, i64 -1
  %772 = load ptr, ptr %771, align 8
  %773 = call noundef ptr @_ZNKSt9type_info4nameEv(ptr noundef nonnull align 8 dereferenceable(16) %772) #0
  %774 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %767, ptr noundef %773)
          to label %775 unwind label %736

775:                                              ; preds = %768
  %776 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %774, ptr noundef @_ZSt3decRSt8ios_base)
          to label %777 unwind label %736

777:                                              ; preds = %775
  %778 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %776, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %779 unwind label %736

779:                                              ; preds = %777
  br label %780

780:                                              ; preds = %779, %757
  br label %781

781:                                              ; preds = %780
  br label %782

782:                                              ; preds = %781
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #0
  %783 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 7
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEC2IPS3_vEERKNS0_IT_S8_EE(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %45) #0
  %784 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.72", ptr %51, i32 0, i32 0
  %785 = load ptr, ptr %784, align 8
  %786 = invoke ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS2_S4_EE(ptr noundef nonnull align 8 dereferenceable(24) %783, ptr %785)
          to label %787 unwind label %789

787:                                              ; preds = %782
  %788 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.532", ptr %50, i32 0, i32 0
  store ptr %786, ptr %788, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %45, ptr align 8 %50, i64 8, i1 false), !tbaa.struct !35
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #0
  br label %795

789:                                              ; preds = %782
  %790 = landingpad { ptr, i32 }
          cleanup
  %791 = extractvalue { ptr, i32 } %790, 0
  store ptr %791, ptr %11, align 8
  %792 = extractvalue { ptr, i32 } %790, 1
  store i32 %792, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #0
  br label %796

793:                                              ; preds = %753
  %794 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #0
  br label %795

795:                                              ; preds = %793, %787
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %48) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #0
  br label %684, !llvm.loop !36

796:                                              ; preds = %789, %740, %736
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %48) #0
  br label %797

797:                                              ; preds = %796, %732
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #0
  br label %1754

798:                                              ; preds = %689
  call void @llvm.lifetime.start.p0(i64 40, ptr %52) #0
  call void @_ZNSt6vectorIbSaIbEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %52) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #0
  %799 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  %800 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %799) #0
  store i64 %800, ptr %53, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #0
  store i64 0, ptr %54, align 8, !tbaa !24
  br label %801

801:                                              ; preds = %852, %798
  %802 = load i64, ptr %54, align 8, !tbaa !24
  %803 = load i64, ptr %53, align 8, !tbaa !24
  %804 = icmp ult i64 %802, %803
  br i1 %804, label %806, label %805

805:                                              ; preds = %801
  store i32 30, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #0
  br label %856

806:                                              ; preds = %801
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #0
  %807 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  %808 = load i64, ptr %54, align 8, !tbaa !24
  %809 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %807, i64 noundef %808) #0
  %810 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %809) #0
  store ptr %810, ptr %55, align 8, !tbaa !5
  br label %811

811:                                              ; preds = %806
  %812 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %813 unwind label %829

813:                                              ; preds = %811
  br i1 %812, label %814, label %842

814:                                              ; preds = %813
  %815 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %816 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %815, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %817 unwind label %829

817:                                              ; preds = %814
  %818 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %816, ptr noundef @.str.63)
          to label %819 unwind label %829

819:                                              ; preds = %817
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #0
  %820 = getelementptr inbounds %class.anon.533, ptr %58, i32 0, i32 0
  %821 = load ptr, ptr %55, align 8, !tbaa !5
  store ptr %821, ptr %820, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(8) %58) #0
  invoke void @_ZN9FmtLambdaC2ESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef %57)
          to label %822 unwind label %833

822:                                              ; preds = %819
  %823 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK9FmtLambda(ptr noundef nonnull align 8 dereferenceable(8) %818, ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %824 unwind label %837

824:                                              ; preds = %822
  %825 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %823, ptr noundef @_ZSt3decRSt8ios_base)
          to label %826 unwind label %837

826:                                              ; preds = %824
  %827 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %825, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %828 unwind label %837

828:                                              ; preds = %826
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #0
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #0
  br label %842

829:                                              ; preds = %850, %844, %817, %814, %811
  %830 = landingpad { ptr, i32 }
          cleanup
  %831 = extractvalue { ptr, i32 } %830, 0
  store ptr %831, ptr %11, align 8
  %832 = extractvalue { ptr, i32 } %830, 1
  store i32 %832, ptr %12, align 4
  br label %855

833:                                              ; preds = %819
  %834 = landingpad { ptr, i32 }
          cleanup
  %835 = extractvalue { ptr, i32 } %834, 0
  store ptr %835, ptr %11, align 8
  %836 = extractvalue { ptr, i32 } %834, 1
  store i32 %836, ptr %12, align 4
  br label %841

837:                                              ; preds = %826, %824, %822
  %838 = landingpad { ptr, i32 }
          cleanup
  %839 = extractvalue { ptr, i32 } %838, 0
  store ptr %839, ptr %11, align 8
  %840 = extractvalue { ptr, i32 } %838, 1
  store i32 %840, ptr %12, align 4
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #0
  br label %841

841:                                              ; preds = %837, %833
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #0
  br label %855

842:                                              ; preds = %828, %813
  br label %843

843:                                              ; preds = %842
  br label %844

844:                                              ; preds = %843
  %845 = load ptr, ptr %55, align 8, !tbaa !5
  %846 = load ptr, ptr %845, align 8, !tbaa !33
  %847 = getelementptr inbounds ptr, ptr %846, i64 4
  %848 = load ptr, ptr %847, align 8
  %849 = invoke noundef zeroext i1 %848(ptr noundef nonnull align 8 dereferenceable(8) %845, ptr noundef nonnull align 8 dereferenceable(592) %13, i1 noundef zeroext false)
          to label %850 unwind label %829

850:                                              ; preds = %844
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %52, i1 noundef zeroext %849)
          to label %851 unwind label %829

851:                                              ; preds = %850
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #0
  br label %852

852:                                              ; preds = %851
  %853 = load i64, ptr %54, align 8, !tbaa !24
  %854 = add i64 %853, 1
  store i64 %854, ptr %54, align 8, !tbaa !24
  br label %801, !llvm.loop !37

855:                                              ; preds = %841, %829
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #0
  br label %896

856:                                              ; preds = %805
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #0
  %857 = load i64, ptr %53, align 8, !tbaa !24
  store i64 %857, ptr %59, align 8, !tbaa !24
  br label %858

858:                                              ; preds = %893, %856
  %859 = load i64, ptr %59, align 8, !tbaa !24
  %860 = add i64 %859, -1
  store i64 %860, ptr %59, align 8, !tbaa !24
  %861 = icmp ne i64 %859, 0
  br i1 %861, label %863, label %862

862:                                              ; preds = %858
  store i32 35, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #0
  br label %895

863:                                              ; preds = %858
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #0
  %864 = load i64, ptr %59, align 8, !tbaa !24
  %865 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %52, i64 noundef %864)
          to label %866 unwind label %885

866:                                              ; preds = %863
  %867 = getelementptr inbounds { ptr, i64 }, ptr %60, i32 0, i32 0
  %868 = extractvalue { ptr, i64 } %865, 0
  store ptr %868, ptr %867, align 8
  %869 = getelementptr inbounds { ptr, i64 }, ptr %60, i32 0, i32 1
  %870 = extractvalue { ptr, i64 } %865, 1
  store i64 %870, ptr %869, align 8
  %871 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %60) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #0
  br i1 %871, label %872, label %893

872:                                              ; preds = %866
  %873 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #0
  %874 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  %875 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %874) #0
  %876 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.534", ptr %63, i32 0, i32 0
  store ptr %875, ptr %876, align 8
  %877 = load i64, ptr %59, align 8, !tbaa !24
  %878 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %63, i64 noundef %877) #0
  %879 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.534", ptr %62, i32 0, i32 0
  store ptr %878, ptr %879, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(8) %62) #0
  %880 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.73", ptr %61, i32 0, i32 0
  %881 = load ptr, ptr %880, align 8
  %882 = invoke ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %873, ptr %881)
          to label %883 unwind label %889

883:                                              ; preds = %872
  %884 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.534", ptr %64, i32 0, i32 0
  store ptr %882, ptr %884, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #0
  br label %893

885:                                              ; preds = %863
  %886 = landingpad { ptr, i32 }
          cleanup
  %887 = extractvalue { ptr, i32 } %886, 0
  store ptr %887, ptr %11, align 8
  %888 = extractvalue { ptr, i32 } %886, 1
  store i32 %888, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #0
  br label %894

889:                                              ; preds = %872
  %890 = landingpad { ptr, i32 }
          cleanup
  %891 = extractvalue { ptr, i32 } %890, 0
  store ptr %891, ptr %11, align 8
  %892 = extractvalue { ptr, i32 } %890, 1
  store i32 %892, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #0
  br label %894

893:                                              ; preds = %883, %866
  br label %858, !llvm.loop !38

894:                                              ; preds = %889, %885
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #0
  br label %896

895:                                              ; preds = %862
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #0
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %52) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %52) #0
  br label %897

896:                                              ; preds = %894, %855
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #0
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %52) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %52) #0
  br label %1754

897:                                              ; preds = %895, %663
  %898 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %899 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %898)
          to label %900 unwind label %269

900:                                              ; preds = %897
  br i1 %899, label %1010, label %901

901:                                              ; preds = %900
  br label %902

902:                                              ; preds = %901
  %903 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %904 unwind label %269

904:                                              ; preds = %902
  br i1 %903, label %905, label %915

905:                                              ; preds = %904
  %906 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %907 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %906, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %908 unwind label %269

908:                                              ; preds = %905
  %909 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %907, ptr noundef @.str.65)
          to label %910 unwind label %269

910:                                              ; preds = %908
  %911 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %909, ptr noundef @_ZSt3decRSt8ios_base)
          to label %912 unwind label %269

912:                                              ; preds = %910
  %913 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %911, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %914 unwind label %269

914:                                              ; preds = %912
  br label %915

915:                                              ; preds = %914, %904
  br label %916

916:                                              ; preds = %915
  br label %917

917:                                              ; preds = %916
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #0
  store i32 0, ptr %65, align 4, !tbaa !22
  br label %918

918:                                              ; preds = %1005, %917
  %919 = load i32, ptr %65, align 4, !tbaa !22
  %920 = zext i32 %919 to i64
  %921 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %922 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %921) #0
  %923 = icmp ult i64 %920, %922
  br i1 %923, label %925, label %924

924:                                              ; preds = %918
  store i32 39, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #0
  br label %1009

925:                                              ; preds = %918
  %926 = load i32, ptr %65, align 4, !tbaa !22
  %927 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %928 = load i32, ptr %65, align 4, !tbaa !22
  %929 = zext i32 %928 to i64
  %930 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %927, i64 noundef %929) #0
  %931 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %13, i32 noundef %926, ptr noundef nonnull align 8 dereferenceable(128) %930, i32 noundef 0)
          to label %932 unwind label %957

932:                                              ; preds = %925
  br i1 %931, label %933, label %1003

933:                                              ; preds = %932
  %934 = load atomic i8, ptr @_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp acquire, align 8
  %935 = icmp eq i8 %934, 0
  br i1 %935, label %936, label %942, !prof !39

936:                                              ; preds = %933
  %937 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp) #0
  %938 = icmp ne i32 %937, 0
  br i1 %938, label %939, label %942

939:                                              ; preds = %936
  invoke void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8) @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp)
          to label %940 unwind label %961

940:                                              ; preds = %939
  %941 = call i32 @__cxa_atexit(ptr @_ZN4SpanD1Ev, ptr @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp) #0
  br label %942

942:                                              ; preds = %940, %936, %933
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #0
  %943 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %944 = load i32, ptr %65, align 4, !tbaa !22
  %945 = zext i32 %944 to i64
  %946 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %943, i64 noundef %945) #0
  %947 = getelementptr inbounds %"struct.Context::IVarPossible", ptr %946, i32 0, i32 5
  store ptr %947, ptr %66, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #0
  %948 = load ptr, ptr %66, align 8, !tbaa !5
  %949 = call ptr @_ZNSt6vectorIN7Context12IVarPossible8CoerceTyESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %948) #0
  %950 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.535", ptr %67, i32 0, i32 0
  store ptr %949, ptr %950, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #0
  %951 = load ptr, ptr %66, align 8, !tbaa !5
  %952 = call ptr @_ZNSt6vectorIN7Context12IVarPossible8CoerceTyESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %951) #0
  %953 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.535", ptr %68, i32 0, i32 0
  store ptr %952, ptr %953, align 8
  br label %954

954:                                              ; preds = %970, %942
  %955 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(8) %68) #0
  br i1 %955, label %965, label %956

956:                                              ; preds = %954
  store i32 42, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #0
  br label %976

957:                                              ; preds = %925
  %958 = landingpad { ptr, i32 }
          cleanup
  %959 = extractvalue { ptr, i32 } %958, 0
  store ptr %959, ptr %11, align 8
  %960 = extractvalue { ptr, i32 } %958, 1
  store i32 %960, ptr %12, align 4
  br label %1008

961:                                              ; preds = %939
  %962 = landingpad { ptr, i32 }
          cleanup
  %963 = extractvalue { ptr, i32 } %962, 0
  store ptr %963, ptr %11, align 8
  %964 = extractvalue { ptr, i32 } %962, 1
  store i32 %964, ptr %12, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp) #0
  br label %1008

965:                                              ; preds = %954
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #0
  %966 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %67) #0
  store ptr %966, ptr %69, align 8, !tbaa !5
  %967 = load ptr, ptr %69, align 8, !tbaa !5
  %968 = getelementptr inbounds %"struct.Context::IVarPossible::CoerceTy", ptr %967, i32 0, i32 1
  invoke void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %13, ptr noundef nonnull align 8 dereferenceable(8) @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp, ptr noundef nonnull align 8 dereferenceable(8) %968, i32 noundef 1)
          to label %969 unwind label %972

969:                                              ; preds = %965
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #0
  br label %970

970:                                              ; preds = %969
  %971 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %67) #0
  br label %954

972:                                              ; preds = %965
  %973 = landingpad { ptr, i32 }
          cleanup
  %974 = extractvalue { ptr, i32 } %973, 0
  store ptr %974, ptr %11, align 8
  %975 = extractvalue { ptr, i32 } %973, 1
  store i32 %975, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #0
  br label %1008

976:                                              ; preds = %956
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #0
  %977 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %978 = load i32, ptr %65, align 4, !tbaa !22
  %979 = zext i32 %978 to i64
  %980 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %977, i64 noundef %979) #0
  %981 = getelementptr inbounds %"struct.Context::IVarPossible", ptr %980, i32 0, i32 6
  store ptr %981, ptr %70, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #0
  %982 = load ptr, ptr %70, align 8, !tbaa !5
  %983 = call ptr @_ZNSt6vectorIN7Context12IVarPossible8CoerceTyESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %982) #0
  %984 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.535", ptr %71, i32 0, i32 0
  store ptr %983, ptr %984, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #0
  %985 = load ptr, ptr %70, align 8, !tbaa !5
  %986 = call ptr @_ZNSt6vectorIN7Context12IVarPossible8CoerceTyESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %985) #0
  %987 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.535", ptr %72, i32 0, i32 0
  store ptr %986, ptr %987, align 8
  br label %988

988:                                              ; preds = %996, %976
  %989 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %72) #0
  br i1 %989, label %991, label %990

990:                                              ; preds = %988
  store i32 44, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #0
  br label %1002

991:                                              ; preds = %988
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #0
  %992 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #0
  store ptr %992, ptr %73, align 8, !tbaa !5
  %993 = load ptr, ptr %73, align 8, !tbaa !5
  %994 = getelementptr inbounds %"struct.Context::IVarPossible::CoerceTy", ptr %993, i32 0, i32 1
  invoke void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %13, ptr noundef nonnull align 8 dereferenceable(8) @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp, ptr noundef nonnull align 8 dereferenceable(8) %994, i32 noundef 0)
          to label %995 unwind label %998

995:                                              ; preds = %991
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #0
  br label %996

996:                                              ; preds = %995
  %997 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #0
  br label %988

998:                                              ; preds = %991
  %999 = landingpad { ptr, i32 }
          cleanup
  %1000 = extractvalue { ptr, i32 } %999, 0
  store ptr %1000, ptr %11, align 8
  %1001 = extractvalue { ptr, i32 } %999, 1
  store i32 %1001, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #0
  br label %1008

1002:                                             ; preds = %990
  br label %1004

1003:                                             ; preds = %932
  br label %1004

1004:                                             ; preds = %1003, %1002
  br label %1005

1005:                                             ; preds = %1004
  %1006 = load i32, ptr %65, align 4, !tbaa !22
  %1007 = add i32 %1006, 1
  store i32 %1007, ptr %65, align 4, !tbaa !22
  br label %918, !llvm.loop !40

1008:                                             ; preds = %998, %972, %961, %957
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #0
  br label %1754

1009:                                             ; preds = %924
  br label %1010

1010:                                             ; preds = %1009, %900
  %1011 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1012 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1011)
          to label %1013 unwind label %269

1013:                                             ; preds = %1010
  br i1 %1012, label %1057, label %1014

1014:                                             ; preds = %1013
  br label %1015

1015:                                             ; preds = %1014
  %1016 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1017 unwind label %269

1017:                                             ; preds = %1015
  br i1 %1016, label %1018, label %1028

1018:                                             ; preds = %1017
  %1019 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1020 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1019, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1021 unwind label %269

1021:                                             ; preds = %1018
  %1022 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1020, ptr noundef @.str.66)
          to label %1023 unwind label %269

1023:                                             ; preds = %1021
  %1024 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1022, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1025 unwind label %269

1025:                                             ; preds = %1023
  %1026 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1024, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1027 unwind label %269

1027:                                             ; preds = %1025
  br label %1028

1028:                                             ; preds = %1027, %1017
  br label %1029

1029:                                             ; preds = %1028
  br label %1030

1030:                                             ; preds = %1029
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #0
  store i32 0, ptr %74, align 4, !tbaa !22
  br label %1031

1031:                                             ; preds = %1052, %1030
  %1032 = load i32, ptr %74, align 4, !tbaa !22
  %1033 = zext i32 %1032 to i64
  %1034 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1035 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1034) #0
  %1036 = icmp ult i64 %1033, %1035
  br i1 %1036, label %1038, label %1037

1037:                                             ; preds = %1031
  store i32 48, ptr %33, align 4
  br label %1055

1038:                                             ; preds = %1031
  %1039 = load i32, ptr %74, align 4, !tbaa !22
  %1040 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1041 = load i32, ptr %74, align 4, !tbaa !22
  %1042 = zext i32 %1041 to i64
  %1043 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1040, i64 noundef %1042) #0
  %1044 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %13, i32 noundef %1039, ptr noundef nonnull align 8 dereferenceable(128) %1043, i32 noundef 1)
          to label %1045 unwind label %1047

1045:                                             ; preds = %1038
  br i1 %1044, label %1046, label %1051

1046:                                             ; preds = %1045
  store i32 48, ptr %33, align 4
  br label %1055

1047:                                             ; preds = %1038
  %1048 = landingpad { ptr, i32 }
          cleanup
  %1049 = extractvalue { ptr, i32 } %1048, 0
  store ptr %1049, ptr %11, align 8
  %1050 = extractvalue { ptr, i32 } %1048, 1
  store i32 %1050, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #0
  br label %1754

1051:                                             ; preds = %1045
  br label %1052

1052:                                             ; preds = %1051
  %1053 = load i32, ptr %74, align 4, !tbaa !22
  %1054 = add i32 %1053, 1
  store i32 %1054, ptr %74, align 4, !tbaa !22
  br label %1031, !llvm.loop !41

1055:                                             ; preds = %1046, %1037
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #0
  br label %1056

1056:                                             ; preds = %1055
  br label %1057

1057:                                             ; preds = %1056, %1013
  %1058 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1059 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1058)
          to label %1060 unwind label %269

1060:                                             ; preds = %1057
  br i1 %1059, label %1104, label %1061

1061:                                             ; preds = %1060
  br label %1062

1062:                                             ; preds = %1061
  %1063 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1064 unwind label %269

1064:                                             ; preds = %1062
  br i1 %1063, label %1065, label %1075

1065:                                             ; preds = %1064
  %1066 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1067 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1066, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1068 unwind label %269

1068:                                             ; preds = %1065
  %1069 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1067, ptr noundef @.str.67)
          to label %1070 unwind label %269

1070:                                             ; preds = %1068
  %1071 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1069, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1072 unwind label %269

1072:                                             ; preds = %1070
  %1073 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1071, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1074 unwind label %269

1074:                                             ; preds = %1072
  br label %1075

1075:                                             ; preds = %1074, %1064
  br label %1076

1076:                                             ; preds = %1075
  br label %1077

1077:                                             ; preds = %1076
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #0
  store i32 0, ptr %75, align 4, !tbaa !22
  br label %1078

1078:                                             ; preds = %1099, %1077
  %1079 = load i32, ptr %75, align 4, !tbaa !22
  %1080 = zext i32 %1079 to i64
  %1081 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1082 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1081) #0
  %1083 = icmp ult i64 %1080, %1082
  br i1 %1083, label %1085, label %1084

1084:                                             ; preds = %1078
  store i32 53, ptr %33, align 4
  br label %1102

1085:                                             ; preds = %1078
  %1086 = load i32, ptr %75, align 4, !tbaa !22
  %1087 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1088 = load i32, ptr %75, align 4, !tbaa !22
  %1089 = zext i32 %1088 to i64
  %1090 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1087, i64 noundef %1089) #0
  %1091 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %13, i32 noundef %1086, ptr noundef nonnull align 8 dereferenceable(128) %1090, i32 noundef 2)
          to label %1092 unwind label %1094

1092:                                             ; preds = %1085
  br i1 %1091, label %1093, label %1098

1093:                                             ; preds = %1092
  store i32 53, ptr %33, align 4
  br label %1102

1094:                                             ; preds = %1085
  %1095 = landingpad { ptr, i32 }
          cleanup
  %1096 = extractvalue { ptr, i32 } %1095, 0
  store ptr %1096, ptr %11, align 8
  %1097 = extractvalue { ptr, i32 } %1095, 1
  store i32 %1097, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #0
  br label %1754

1098:                                             ; preds = %1092
  br label %1099

1099:                                             ; preds = %1098
  %1100 = load i32, ptr %75, align 4, !tbaa !22
  %1101 = add i32 %1100, 1
  store i32 %1101, ptr %75, align 4, !tbaa !22
  br label %1078, !llvm.loop !42

1102:                                             ; preds = %1093, %1084
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #0
  br label %1103

1103:                                             ; preds = %1102
  br label %1104

1104:                                             ; preds = %1103, %1060
  %1105 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1106 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1105)
          to label %1107 unwind label %269

1107:                                             ; preds = %1104
  br i1 %1106, label %1152, label %1108

1108:                                             ; preds = %1107
  br label %1109

1109:                                             ; preds = %1108
  %1110 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1111 unwind label %269

1111:                                             ; preds = %1109
  br i1 %1110, label %1112, label %1122

1112:                                             ; preds = %1111
  %1113 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1113, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1115 unwind label %269

1115:                                             ; preds = %1112
  %1116 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1114, ptr noundef @.str.68)
          to label %1117 unwind label %269

1117:                                             ; preds = %1115
  %1118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1116, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1119 unwind label %269

1119:                                             ; preds = %1117
  %1120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1118, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1121 unwind label %269

1121:                                             ; preds = %1119
  br label %1122

1122:                                             ; preds = %1121, %1111
  br label %1123

1123:                                             ; preds = %1122
  br label %1124

1124:                                             ; preds = %1123
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #0
  store i32 0, ptr %76, align 4, !tbaa !22
  br label %1125

1125:                                             ; preds = %1147, %1124
  %1126 = load i32, ptr %76, align 4, !tbaa !22
  %1127 = zext i32 %1126 to i64
  %1128 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1129 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1128) #0
  %1130 = icmp ult i64 %1127, %1129
  br i1 %1130, label %1132, label %1131

1131:                                             ; preds = %1125
  store i32 58, ptr %33, align 4
  br label %1150

1132:                                             ; preds = %1125
  %1133 = load i32, ptr %76, align 4, !tbaa !22
  %1134 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1135 = load i32, ptr %76, align 4, !tbaa !22
  %1136 = zext i32 %1135 to i64
  %1137 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1134, i64 noundef %1136) #0
  %1138 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %13, i32 noundef %1133, ptr noundef nonnull align 8 dereferenceable(128) %1137, i32 noundef 3)
          to label %1139 unwind label %1141

1139:                                             ; preds = %1132
  br i1 %1138, label %1140, label %1145

1140:                                             ; preds = %1139
  store i32 58, ptr %33, align 4
  br label %1150

1141:                                             ; preds = %1132
  %1142 = landingpad { ptr, i32 }
          cleanup
  %1143 = extractvalue { ptr, i32 } %1142, 0
  store ptr %1143, ptr %11, align 8
  %1144 = extractvalue { ptr, i32 } %1142, 1
  store i32 %1144, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #0
  br label %1754

1145:                                             ; preds = %1139
  br label %1146

1146:                                             ; preds = %1145
  br label %1147

1147:                                             ; preds = %1146
  %1148 = load i32, ptr %76, align 4, !tbaa !22
  %1149 = add i32 %1148, 1
  store i32 %1149, ptr %76, align 4, !tbaa !22
  br label %1125, !llvm.loop !43

1150:                                             ; preds = %1140, %1131
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #0
  br label %1151

1151:                                             ; preds = %1150
  br label %1152

1152:                                             ; preds = %1151, %1107
  %1153 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1154 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1153)
          to label %1155 unwind label %269

1155:                                             ; preds = %1152
  br i1 %1154, label %1389, label %1156

1156:                                             ; preds = %1155
  br label %1157

1157:                                             ; preds = %1156
  %1158 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1159 unwind label %269

1159:                                             ; preds = %1157
  br i1 %1158, label %1160, label %1170

1160:                                             ; preds = %1159
  %1161 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1161, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1163 unwind label %269

1163:                                             ; preds = %1160
  %1164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1162, ptr noundef @.str.69)
          to label %1165 unwind label %269

1165:                                             ; preds = %1163
  %1166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1164, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1167 unwind label %269

1167:                                             ; preds = %1165
  %1168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1166, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1169 unwind label %269

1169:                                             ; preds = %1167
  br label %1170

1170:                                             ; preds = %1169, %1159
  br label %1171

1171:                                             ; preds = %1170
  br label %1172

1172:                                             ; preds = %1171
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #0
  %1173 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 7
  %1174 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1173) #0
  %1175 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.532", ptr %77, i32 0, i32 0
  store ptr %1174, ptr %1175, align 8
  br label %1176

1176:                                             ; preds = %1287, %1172
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #0
  %1177 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 7
  %1178 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1177) #0
  %1179 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.532", ptr %78, i32 0, i32 0
  store ptr %1178, ptr %1179, align 8
  %1180 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %78) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #0
  br i1 %1180, label %1182, label %1181

1181:                                             ; preds = %1176
  store i32 63, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #0
  br label %1290

1182:                                             ; preds = %1176
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #0
  %1183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %77) #0
  %1184 = load ptr, ptr %1183, align 8, !tbaa !5
  store ptr %1184, ptr %79, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %80) #0
  invoke void @_ZN12_GLOBAL__N_119ExprVisitor_RevisitC2ER7Contextb(ptr noundef nonnull align 8 dereferenceable(18) %80, ptr noundef nonnull align 8 dereferenceable(592) %13, i1 noundef zeroext true)
          to label %1185 unwind label %1224

1185:                                             ; preds = %1182
  br label %1186

1186:                                             ; preds = %1185
  %1187 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1188 unwind label %1228

1188:                                             ; preds = %1186
  br i1 %1187, label %1189, label %1236

1189:                                             ; preds = %1188
  %1190 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1190, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1192 unwind label %1228

1192:                                             ; preds = %1189
  %1193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1191, ptr noundef @.str.63)
          to label %1194 unwind label %1228

1194:                                             ; preds = %1192
  %1195 = load ptr, ptr %79, align 8, !tbaa !5
  %1196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %1193, ptr noundef %1195)
          to label %1197 unwind label %1228

1197:                                             ; preds = %1194
  %1198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1196, ptr noundef @.str.1)
          to label %1199 unwind label %1228

1199:                                             ; preds = %1197
  %1200 = load ptr, ptr %79, align 8, !tbaa !5
  %1201 = load ptr, ptr %1200, align 8, !tbaa !33
  %1202 = getelementptr inbounds ptr, ptr %1201, i64 -1
  %1203 = load ptr, ptr %1202, align 8
  %1204 = call noundef ptr @_ZNKSt9type_info4nameEv(ptr noundef nonnull align 8 dereferenceable(16) %1203) #0
  %1205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1198, ptr noundef %1204)
          to label %1206 unwind label %1228

1206:                                             ; preds = %1199
  %1207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1205, ptr noundef @.str.13)
          to label %1208 unwind label %1228

1208:                                             ; preds = %1206
  call void @llvm.lifetime.start.p0(i64 16, ptr %81) #0
  %1209 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1210 = load ptr, ptr %79, align 8, !tbaa !5
  %1211 = getelementptr inbounds %"class.HIR::ExprNode", ptr %1210, i32 0, i32 2
  %1212 = invoke { ptr, ptr } @_ZNK16HMTypeInferrence8fmt_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49) %1209, ptr noundef nonnull align 8 dereferenceable(8) %1211)
          to label %1213 unwind label %1232

1213:                                             ; preds = %1208
  %1214 = getelementptr inbounds { ptr, ptr }, ptr %81, i32 0, i32 0
  %1215 = extractvalue { ptr, ptr } %1212, 0
  store ptr %1215, ptr %1214, align 8
  %1216 = getelementptr inbounds { ptr, ptr }, ptr %81, i32 0, i32 1
  %1217 = extractvalue { ptr, ptr } %1212, 1
  store ptr %1217, ptr %1216, align 8
  %1218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN16HMTypeInferrence7FmtTypeE(ptr noundef nonnull align 8 dereferenceable(8) %1207, ptr noundef nonnull align 8 dereferenceable(16) %81)
          to label %1219 unwind label %1232

1219:                                             ; preds = %1213
  %1220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1218, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1221 unwind label %1232

1221:                                             ; preds = %1219
  %1222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1220, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1223 unwind label %1232

1223:                                             ; preds = %1221
  call void @llvm.lifetime.end.p0(i64 16, ptr %81) #0
  br label %1236

1224:                                             ; preds = %1182
  %1225 = landingpad { ptr, i32 }
          cleanup
  %1226 = extractvalue { ptr, i32 } %1225, 0
  store ptr %1226, ptr %11, align 8
  %1227 = extractvalue { ptr, i32 } %1225, 1
  store i32 %1227, ptr %12, align 4
  br label %1289

1228:                                             ; preds = %1269, %1267, %1260, %1258, %1255, %1253, %1250, %1247, %1243, %1238, %1206, %1199, %1197, %1194, %1192, %1189, %1186
  %1229 = landingpad { ptr, i32 }
          cleanup
  %1230 = extractvalue { ptr, i32 } %1229, 0
  store ptr %1230, ptr %11, align 8
  %1231 = extractvalue { ptr, i32 } %1229, 1
  store i32 %1231, ptr %12, align 4
  br label %1288

1232:                                             ; preds = %1221, %1219, %1213, %1208
  %1233 = landingpad { ptr, i32 }
          cleanup
  %1234 = extractvalue { ptr, i32 } %1233, 0
  store ptr %1234, ptr %11, align 8
  %1235 = extractvalue { ptr, i32 } %1233, 1
  store i32 %1235, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %81) #0
  br label %1288

1236:                                             ; preds = %1223, %1188
  br label %1237

1237:                                             ; preds = %1236
  br label %1238

1238:                                             ; preds = %1237
  %1239 = load ptr, ptr %79, align 8, !tbaa !5
  %1240 = load ptr, ptr %1239, align 8, !tbaa !33
  %1241 = getelementptr inbounds ptr, ptr %1240, i64 0
  %1242 = load ptr, ptr %1241, align 8
  invoke void %1242(ptr noundef nonnull align 8 dereferenceable(28) %1239, ptr noundef nonnull align 8 dereferenceable(8) %80)
          to label %1243 unwind label %1228

1243:                                             ; preds = %1238
  %1244 = invoke noundef zeroext i1 @_ZNK12_GLOBAL__N_119ExprVisitor_Revisit14node_completedEv(ptr noundef nonnull align 8 dereferenceable(18) %80)
          to label %1245 unwind label %1228

1245:                                             ; preds = %1243
  br i1 %1244, label %1246, label %1285

1246:                                             ; preds = %1245
  br label %1247

1247:                                             ; preds = %1246
  %1248 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1249 unwind label %1228

1249:                                             ; preds = %1247
  br i1 %1248, label %1250, label %1272

1250:                                             ; preds = %1249
  %1251 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1251, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1253 unwind label %1228

1253:                                             ; preds = %1250
  %1254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1252, ptr noundef @.str.64)
          to label %1255 unwind label %1228

1255:                                             ; preds = %1253
  %1256 = load ptr, ptr %79, align 8, !tbaa !5
  %1257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %1254, ptr noundef %1256)
          to label %1258 unwind label %1228

1258:                                             ; preds = %1255
  %1259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1257, ptr noundef @.str.60)
          to label %1260 unwind label %1228

1260:                                             ; preds = %1258
  %1261 = load ptr, ptr %79, align 8, !tbaa !5
  %1262 = load ptr, ptr %1261, align 8, !tbaa !33
  %1263 = getelementptr inbounds ptr, ptr %1262, i64 -1
  %1264 = load ptr, ptr %1263, align 8
  %1265 = call noundef ptr @_ZNKSt9type_info4nameEv(ptr noundef nonnull align 8 dereferenceable(16) %1264) #0
  %1266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1259, ptr noundef %1265)
          to label %1267 unwind label %1228

1267:                                             ; preds = %1260
  %1268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1266, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1269 unwind label %1228

1269:                                             ; preds = %1267
  %1270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1268, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1271 unwind label %1228

1271:                                             ; preds = %1269
  br label %1272

1272:                                             ; preds = %1271, %1249
  br label %1273

1273:                                             ; preds = %1272
  br label %1274

1274:                                             ; preds = %1273
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #0
  %1275 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 7
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEC2IPS3_vEERKNS0_IT_S8_EE(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %77) #0
  %1276 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.72", ptr %83, i32 0, i32 0
  %1277 = load ptr, ptr %1276, align 8
  %1278 = invoke ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS2_S4_EE(ptr noundef nonnull align 8 dereferenceable(24) %1275, ptr %1277)
          to label %1279 unwind label %1281

1279:                                             ; preds = %1274
  %1280 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.532", ptr %82, i32 0, i32 0
  store ptr %1278, ptr %1280, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %77, ptr align 8 %82, i64 8, i1 false), !tbaa.struct !35
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #0
  br label %1287

1281:                                             ; preds = %1274
  %1282 = landingpad { ptr, i32 }
          cleanup
  %1283 = extractvalue { ptr, i32 } %1282, 0
  store ptr %1283, ptr %11, align 8
  %1284 = extractvalue { ptr, i32 } %1282, 1
  store i32 %1284, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #0
  br label %1288

1285:                                             ; preds = %1245
  %1286 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %77) #0
  br label %1287

1287:                                             ; preds = %1285, %1279
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %80) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %80) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #0
  br label %1176, !llvm.loop !44

1288:                                             ; preds = %1281, %1232, %1228
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %80) #0
  br label %1289

1289:                                             ; preds = %1288, %1224
  call void @llvm.lifetime.end.p0(i64 24, ptr %80) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #0
  br label %1754

1290:                                             ; preds = %1181
  call void @llvm.lifetime.start.p0(i64 40, ptr %84) #0
  call void @_ZNSt6vectorIbSaIbEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %84) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #0
  %1291 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  %1292 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1291) #0
  store i64 %1292, ptr %85, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #0
  store i64 0, ptr %86, align 8, !tbaa !24
  br label %1293

1293:                                             ; preds = %1344, %1290
  %1294 = load i64, ptr %86, align 8, !tbaa !24
  %1295 = load i64, ptr %85, align 8, !tbaa !24
  %1296 = icmp ult i64 %1294, %1295
  br i1 %1296, label %1298, label %1297

1297:                                             ; preds = %1293
  store i32 69, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #0
  br label %1348

1298:                                             ; preds = %1293
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #0
  %1299 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  %1300 = load i64, ptr %86, align 8, !tbaa !24
  %1301 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1299, i64 noundef %1300) #0
  %1302 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1301) #0
  store ptr %1302, ptr %87, align 8, !tbaa !5
  br label %1303

1303:                                             ; preds = %1298
  %1304 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1305 unwind label %1321

1305:                                             ; preds = %1303
  br i1 %1304, label %1306, label %1334

1306:                                             ; preds = %1305
  %1307 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1307, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1309 unwind label %1321

1309:                                             ; preds = %1306
  %1310 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1308, ptr noundef @.str.63)
          to label %1311 unwind label %1321

1311:                                             ; preds = %1309
  call void @llvm.lifetime.start.p0(i64 32, ptr %88) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #0
  %1312 = getelementptr inbounds %class.anon.536, ptr %90, i32 0, i32 0
  %1313 = load ptr, ptr %87, align 8, !tbaa !5
  store ptr %1313, ptr %1312, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef nonnull align 8 dereferenceable(8) %90) #0
  invoke void @_ZN9FmtLambdaC2ESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef %89)
          to label %1314 unwind label %1325

1314:                                             ; preds = %1311
  %1315 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK9FmtLambda(ptr noundef nonnull align 8 dereferenceable(8) %1310, ptr noundef nonnull align 8 dereferenceable(32) %88)
          to label %1316 unwind label %1329

1316:                                             ; preds = %1314
  %1317 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1315, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1318 unwind label %1329

1318:                                             ; preds = %1316
  %1319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1317, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1320 unwind label %1329

1320:                                             ; preds = %1318
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %88) #0
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %88) #0
  br label %1334

1321:                                             ; preds = %1342, %1336, %1309, %1306, %1303
  %1322 = landingpad { ptr, i32 }
          cleanup
  %1323 = extractvalue { ptr, i32 } %1322, 0
  store ptr %1323, ptr %11, align 8
  %1324 = extractvalue { ptr, i32 } %1322, 1
  store i32 %1324, ptr %12, align 4
  br label %1347

1325:                                             ; preds = %1311
  %1326 = landingpad { ptr, i32 }
          cleanup
  %1327 = extractvalue { ptr, i32 } %1326, 0
  store ptr %1327, ptr %11, align 8
  %1328 = extractvalue { ptr, i32 } %1326, 1
  store i32 %1328, ptr %12, align 4
  br label %1333

1329:                                             ; preds = %1318, %1316, %1314
  %1330 = landingpad { ptr, i32 }
          cleanup
  %1331 = extractvalue { ptr, i32 } %1330, 0
  store ptr %1331, ptr %11, align 8
  %1332 = extractvalue { ptr, i32 } %1330, 1
  store i32 %1332, ptr %12, align 4
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %88) #0
  br label %1333

1333:                                             ; preds = %1329, %1325
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %88) #0
  br label %1347

1334:                                             ; preds = %1320, %1305
  br label %1335

1335:                                             ; preds = %1334
  br label %1336

1336:                                             ; preds = %1335
  %1337 = load ptr, ptr %87, align 8, !tbaa !5
  %1338 = load ptr, ptr %1337, align 8, !tbaa !33
  %1339 = getelementptr inbounds ptr, ptr %1338, i64 4
  %1340 = load ptr, ptr %1339, align 8
  %1341 = invoke noundef zeroext i1 %1340(ptr noundef nonnull align 8 dereferenceable(8) %1337, ptr noundef nonnull align 8 dereferenceable(592) %13, i1 noundef zeroext true)
          to label %1342 unwind label %1321

1342:                                             ; preds = %1336
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %84, i1 noundef zeroext %1341)
          to label %1343 unwind label %1321

1343:                                             ; preds = %1342
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #0
  br label %1344

1344:                                             ; preds = %1343
  %1345 = load i64, ptr %86, align 8, !tbaa !24
  %1346 = add i64 %1345, 1
  store i64 %1346, ptr %86, align 8, !tbaa !24
  br label %1293, !llvm.loop !45

1347:                                             ; preds = %1333, %1321
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #0
  br label %1388

1348:                                             ; preds = %1297
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #0
  %1349 = load i64, ptr %85, align 8, !tbaa !24
  store i64 %1349, ptr %91, align 8, !tbaa !24
  br label %1350

1350:                                             ; preds = %1385, %1348
  %1351 = load i64, ptr %91, align 8, !tbaa !24
  %1352 = add i64 %1351, -1
  store i64 %1352, ptr %91, align 8, !tbaa !24
  %1353 = icmp ne i64 %1351, 0
  br i1 %1353, label %1355, label %1354

1354:                                             ; preds = %1350
  store i32 74, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #0
  br label %1387

1355:                                             ; preds = %1350
  call void @llvm.lifetime.start.p0(i64 16, ptr %92) #0
  %1356 = load i64, ptr %91, align 8, !tbaa !24
  %1357 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %84, i64 noundef %1356)
          to label %1358 unwind label %1377

1358:                                             ; preds = %1355
  %1359 = getelementptr inbounds { ptr, i64 }, ptr %92, i32 0, i32 0
  %1360 = extractvalue { ptr, i64 } %1357, 0
  store ptr %1360, ptr %1359, align 8
  %1361 = getelementptr inbounds { ptr, i64 }, ptr %92, i32 0, i32 1
  %1362 = extractvalue { ptr, i64 } %1357, 1
  store i64 %1362, ptr %1361, align 8
  %1363 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %92) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %92) #0
  br i1 %1363, label %1364, label %1385

1364:                                             ; preds = %1358
  %1365 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #0
  %1366 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  %1367 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1366) #0
  %1368 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.534", ptr %95, i32 0, i32 0
  store ptr %1367, ptr %1368, align 8
  %1369 = load i64, ptr %91, align 8, !tbaa !24
  %1370 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %95, i64 noundef %1369) #0
  %1371 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.534", ptr %94, i32 0, i32 0
  store ptr %1370, ptr %1371, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 8 dereferenceable(8) %94) #0
  %1372 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.73", ptr %93, i32 0, i32 0
  %1373 = load ptr, ptr %1372, align 8
  %1374 = invoke ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %1365, ptr %1373)
          to label %1375 unwind label %1381

1375:                                             ; preds = %1364
  %1376 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.534", ptr %96, i32 0, i32 0
  store ptr %1374, ptr %1376, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #0
  br label %1385

1377:                                             ; preds = %1355
  %1378 = landingpad { ptr, i32 }
          cleanup
  %1379 = extractvalue { ptr, i32 } %1378, 0
  store ptr %1379, ptr %11, align 8
  %1380 = extractvalue { ptr, i32 } %1378, 1
  store i32 %1380, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %92) #0
  br label %1386

1381:                                             ; preds = %1364
  %1382 = landingpad { ptr, i32 }
          cleanup
  %1383 = extractvalue { ptr, i32 } %1382, 0
  store ptr %1383, ptr %11, align 8
  %1384 = extractvalue { ptr, i32 } %1382, 1
  store i32 %1384, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #0
  br label %1386

1385:                                             ; preds = %1375, %1358
  br label %1350, !llvm.loop !46

1386:                                             ; preds = %1381, %1377
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #0
  br label %1388

1387:                                             ; preds = %1354
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #0
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %84) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %84) #0
  br label %1389

1388:                                             ; preds = %1386, %1347
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #0
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %84) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %84) #0
  br label %1754

1389:                                             ; preds = %1387, %1155
  %1390 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1391 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1390)
          to label %1392 unwind label %269

1392:                                             ; preds = %1389
  br i1 %1391, label %1436, label %1393

1393:                                             ; preds = %1392
  br label %1394

1394:                                             ; preds = %1393
  %1395 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1396 unwind label %269

1396:                                             ; preds = %1394
  br i1 %1395, label %1397, label %1407

1397:                                             ; preds = %1396
  %1398 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1399 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1398, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1400 unwind label %269

1400:                                             ; preds = %1397
  %1401 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1399, ptr noundef @.str.70)
          to label %1402 unwind label %269

1402:                                             ; preds = %1400
  %1403 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1401, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1404 unwind label %269

1404:                                             ; preds = %1402
  %1405 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1403, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1406 unwind label %269

1406:                                             ; preds = %1404
  br label %1407

1407:                                             ; preds = %1406, %1396
  br label %1408

1408:                                             ; preds = %1407
  br label %1409

1409:                                             ; preds = %1408
  call void @llvm.lifetime.start.p0(i64 4, ptr %97) #0
  store i32 0, ptr %97, align 4, !tbaa !22
  br label %1410

1410:                                             ; preds = %1431, %1409
  %1411 = load i32, ptr %97, align 4, !tbaa !22
  %1412 = zext i32 %1411 to i64
  %1413 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1414 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1413) #0
  %1415 = icmp ult i64 %1412, %1414
  br i1 %1415, label %1417, label %1416

1416:                                             ; preds = %1410
  store i32 78, ptr %33, align 4
  br label %1434

1417:                                             ; preds = %1410
  %1418 = load i32, ptr %97, align 4, !tbaa !22
  %1419 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1420 = load i32, ptr %97, align 4, !tbaa !22
  %1421 = zext i32 %1420 to i64
  %1422 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1419, i64 noundef %1421) #0
  %1423 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %13, i32 noundef %1418, ptr noundef nonnull align 8 dereferenceable(128) %1422, i32 noundef 4)
          to label %1424 unwind label %1426

1424:                                             ; preds = %1417
  br i1 %1423, label %1425, label %1430

1425:                                             ; preds = %1424
  store i32 78, ptr %33, align 4
  br label %1434

1426:                                             ; preds = %1417
  %1427 = landingpad { ptr, i32 }
          cleanup
  %1428 = extractvalue { ptr, i32 } %1427, 0
  store ptr %1428, ptr %11, align 8
  %1429 = extractvalue { ptr, i32 } %1427, 1
  store i32 %1429, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #0
  br label %1754

1430:                                             ; preds = %1424
  br label %1431

1431:                                             ; preds = %1430
  %1432 = load i32, ptr %97, align 4, !tbaa !22
  %1433 = add i32 %1432, 1
  store i32 %1433, ptr %97, align 4, !tbaa !22
  br label %1410, !llvm.loop !47

1434:                                             ; preds = %1425, %1416
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #0
  br label %1435

1435:                                             ; preds = %1434
  br label %1436

1436:                                             ; preds = %1435, %1392
  %1437 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1438 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1437)
          to label %1439 unwind label %269

1439:                                             ; preds = %1436
  br i1 %1438, label %1483, label %1440

1440:                                             ; preds = %1439
  br label %1441

1441:                                             ; preds = %1440
  %1442 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1443 unwind label %269

1443:                                             ; preds = %1441
  br i1 %1442, label %1444, label %1454

1444:                                             ; preds = %1443
  %1445 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1446 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1445, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1447 unwind label %269

1447:                                             ; preds = %1444
  %1448 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1446, ptr noundef @.str.71)
          to label %1449 unwind label %269

1449:                                             ; preds = %1447
  %1450 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1448, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1451 unwind label %269

1451:                                             ; preds = %1449
  %1452 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1450, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1453 unwind label %269

1453:                                             ; preds = %1451
  br label %1454

1454:                                             ; preds = %1453, %1443
  br label %1455

1455:                                             ; preds = %1454
  br label %1456

1456:                                             ; preds = %1455
  call void @llvm.lifetime.start.p0(i64 4, ptr %98) #0
  store i32 0, ptr %98, align 4, !tbaa !22
  br label %1457

1457:                                             ; preds = %1478, %1456
  %1458 = load i32, ptr %98, align 4, !tbaa !22
  %1459 = zext i32 %1458 to i64
  %1460 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1461 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1460) #0
  %1462 = icmp ult i64 %1459, %1461
  br i1 %1462, label %1464, label %1463

1463:                                             ; preds = %1457
  store i32 83, ptr %33, align 4
  br label %1481

1464:                                             ; preds = %1457
  %1465 = load i32, ptr %98, align 4, !tbaa !22
  %1466 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1467 = load i32, ptr %98, align 4, !tbaa !22
  %1468 = zext i32 %1467 to i64
  %1469 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1466, i64 noundef %1468) #0
  %1470 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %13, i32 noundef %1465, ptr noundef nonnull align 8 dereferenceable(128) %1469, i32 noundef 5)
          to label %1471 unwind label %1473

1471:                                             ; preds = %1464
  br i1 %1470, label %1472, label %1477

1472:                                             ; preds = %1471
  store i32 83, ptr %33, align 4
  br label %1481

1473:                                             ; preds = %1464
  %1474 = landingpad { ptr, i32 }
          cleanup
  %1475 = extractvalue { ptr, i32 } %1474, 0
  store ptr %1475, ptr %11, align 8
  %1476 = extractvalue { ptr, i32 } %1474, 1
  store i32 %1476, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %98) #0
  br label %1754

1477:                                             ; preds = %1471
  br label %1478

1478:                                             ; preds = %1477
  %1479 = load i32, ptr %98, align 4, !tbaa !22
  %1480 = add i32 %1479, 1
  store i32 %1480, ptr %98, align 4, !tbaa !22
  br label %1457, !llvm.loop !48

1481:                                             ; preds = %1472, %1463
  call void @llvm.lifetime.end.p0(i64 4, ptr %98) #0
  br label %1482

1482:                                             ; preds = %1481
  br label %1483

1483:                                             ; preds = %1482, %1439
  %1484 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1485 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1484)
          to label %1486 unwind label %269

1486:                                             ; preds = %1483
  br i1 %1485, label %1511, label %1487

1487:                                             ; preds = %1486
  br label %1488

1488:                                             ; preds = %1487
  %1489 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1490 unwind label %269

1490:                                             ; preds = %1488
  br i1 %1489, label %1491, label %1501

1491:                                             ; preds = %1490
  %1492 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1493 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1492, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1494 unwind label %269

1494:                                             ; preds = %1491
  %1495 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1493, ptr noundef @.str.72)
          to label %1496 unwind label %269

1496:                                             ; preds = %1494
  %1497 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1495, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1498 unwind label %269

1498:                                             ; preds = %1496
  %1499 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1497, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1500 unwind label %269

1500:                                             ; preds = %1498
  br label %1501

1501:                                             ; preds = %1500, %1490
  br label %1502

1502:                                             ; preds = %1501
  br label %1503

1503:                                             ; preds = %1502
  %1504 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1505 = invoke noundef zeroext i1 @_ZN16HMTypeInferrence14apply_defaultsEv(ptr noundef nonnull align 8 dereferenceable(49) %1504)
          to label %1506 unwind label %269

1506:                                             ; preds = %1503
  br i1 %1505, label %1507, label %1510

1507:                                             ; preds = %1506
  %1508 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  invoke void @_ZN16HMTypeInferrence11mark_changeEv(ptr noundef nonnull align 8 dereferenceable(49) %1508)
          to label %1509 unwind label %269

1509:                                             ; preds = %1507
  br label %1510

1510:                                             ; preds = %1509, %1506
  br label %1511

1511:                                             ; preds = %1510, %1486
  %1512 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1513 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1512)
          to label %1514 unwind label %269

1514:                                             ; preds = %1511
  br i1 %1513, label %1604, label %1515

1515:                                             ; preds = %1514
  br label %1516

1516:                                             ; preds = %1515
  %1517 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1518 unwind label %269

1518:                                             ; preds = %1516
  br i1 %1517, label %1519, label %1529

1519:                                             ; preds = %1518
  %1520 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1521 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1520, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1522 unwind label %269

1522:                                             ; preds = %1519
  %1523 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1521, ptr noundef @.str.73)
          to label %1524 unwind label %269

1524:                                             ; preds = %1522
  %1525 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1523, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1526 unwind label %269

1526:                                             ; preds = %1524
  %1527 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1525, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1528 unwind label %269

1528:                                             ; preds = %1526
  br label %1529

1529:                                             ; preds = %1528, %1518
  br label %1530

1530:                                             ; preds = %1529
  br label %1531

1531:                                             ; preds = %1530
  call void @llvm.lifetime.start.p0(i64 4, ptr %99) #0
  store i32 0, ptr %99, align 4, !tbaa !22
  br label %1532

1532:                                             ; preds = %1600, %1531
  %1533 = load i32, ptr %99, align 4, !tbaa !22
  %1534 = zext i32 %1533 to i64
  %1535 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1536 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1535) #0
  %1537 = icmp ult i64 %1534, %1536
  br i1 %1537, label %1539, label %1538

1538:                                             ; preds = %1532
  store i32 90, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %99) #0
  br label %1603

1539:                                             ; preds = %1532
  call void @llvm.lifetime.start.p0(i64 8, ptr %100) #0
  %1540 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  %1541 = load i32, ptr %99, align 4, !tbaa !22
  %1542 = zext i32 %1541 to i64
  %1543 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1540, i64 noundef %1542) #0
  store ptr %1543, ptr %100, align 8, !tbaa !5
  %1544 = load ptr, ptr %100, align 8, !tbaa !5
  %1545 = getelementptr inbounds %"struct.Context::IVarPossible", ptr %1544, i32 0, i32 7
  %1546 = call noundef zeroext i1 @_ZNKSt3setIN3HIR7TypeRefESt4lessIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %1545) #0
  br i1 %1546, label %1599, label %1547

1547:                                             ; preds = %1539
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #0
  %1548 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1549 = load i32, ptr %99, align 4, !tbaa !22
  %1550 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN16HMTypeInferrence8get_typeEj(ptr noundef nonnull align 8 dereferenceable(49) %1548, i32 noundef %1549)
          to label %1551 unwind label %1573

1551:                                             ; preds = %1547
  store ptr %1550, ptr %101, align 8, !tbaa !5
  %1552 = load ptr, ptr %101, align 8, !tbaa !5
  %1553 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1552)
          to label %1554 unwind label %1573

1554:                                             ; preds = %1551
  %1555 = invoke noundef zeroext i1 @_ZNK3HIR8TypeData8is_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %1553)
          to label %1556 unwind label %1573

1556:                                             ; preds = %1554
  br i1 %1555, label %1557, label %1597

1557:                                             ; preds = %1556
  %1558 = load ptr, ptr %101, align 8, !tbaa !5
  %1559 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %1558)
          to label %1560 unwind label %1573

1560:                                             ; preds = %1557
  %1561 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %1559)
          to label %1562 unwind label %1573

1562:                                             ; preds = %1560
  %1563 = getelementptr inbounds %"struct.HIR::TypeData::Data_Infer", ptr %1561, i32 0, i32 0
  %1564 = load i32, ptr %1563, align 4, !tbaa !49
  %1565 = load i32, ptr %99, align 4, !tbaa !22
  %1566 = icmp eq i32 %1564, %1565
  br i1 %1566, label %1567, label %1597

1567:                                             ; preds = %1562
  %1568 = load ptr, ptr %100, align 8, !tbaa !5
  %1569 = getelementptr inbounds %"struct.Context::IVarPossible", ptr %1568, i32 0, i32 7
  %1570 = call noundef i64 @_ZNKSt3setIN3HIR7TypeRefESt4lessIS1_ESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %1569) #0
  %1571 = icmp ne i64 %1570, 1
  br i1 %1571, label %1572, label %1577

1572:                                             ; preds = %1567
  br label %1596

1573:                                             ; preds = %1560, %1557, %1554, %1551, %1547
  %1574 = landingpad { ptr, i32 }
          cleanup
  %1575 = extractvalue { ptr, i32 } %1574, 0
  store ptr %1575, ptr %11, align 8
  %1576 = extractvalue { ptr, i32 } %1574, 1
  store i32 %1576, ptr %12, align 4
  br label %1598

1577:                                             ; preds = %1567
  %1578 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1579 = load i32, ptr %99, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %103) #0
  %1580 = load ptr, ptr %100, align 8, !tbaa !5
  %1581 = getelementptr inbounds %"struct.Context::IVarPossible", ptr %1580, i32 0, i32 7
  %1582 = call ptr @_ZNKSt3setIN3HIR7TypeRefESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %1581) #0
  %1583 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.537", ptr %103, i32 0, i32 0
  store ptr %1582, ptr %1583, align 8
  %1584 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN3HIR7TypeRefEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %103) #0
  invoke void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %102, ptr noundef nonnull align 8 dereferenceable(8) %1584)
          to label %1585 unwind label %1587

1585:                                             ; preds = %1577
  invoke void @_ZN16HMTypeInferrence11set_ivar_toEjN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49) %1578, i32 noundef %1579, ptr noundef %102)
          to label %1586 unwind label %1591

1586:                                             ; preds = %1585
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %102) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %103) #0
  br label %1596

1587:                                             ; preds = %1577
  %1588 = landingpad { ptr, i32 }
          cleanup
  %1589 = extractvalue { ptr, i32 } %1588, 0
  store ptr %1589, ptr %11, align 8
  %1590 = extractvalue { ptr, i32 } %1588, 1
  store i32 %1590, ptr %12, align 4
  br label %1595

1591:                                             ; preds = %1585
  %1592 = landingpad { ptr, i32 }
          cleanup
  %1593 = extractvalue { ptr, i32 } %1592, 0
  store ptr %1593, ptr %11, align 8
  %1594 = extractvalue { ptr, i32 } %1592, 1
  store i32 %1594, ptr %12, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %102) #0
  br label %1595

1595:                                             ; preds = %1591, %1587
  call void @llvm.lifetime.end.p0(i64 8, ptr %103) #0
  br label %1598

1596:                                             ; preds = %1586, %1572
  br label %1597

1597:                                             ; preds = %1596, %1562, %1556
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #0
  br label %1599

1598:                                             ; preds = %1595, %1573
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %99) #0
  br label %1754

1599:                                             ; preds = %1597, %1539
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #0
  br label %1600

1600:                                             ; preds = %1599
  %1601 = load i32, ptr %99, align 4, !tbaa !22
  %1602 = add i32 %1601, 1
  store i32 %1602, ptr %99, align 4, !tbaa !22
  br label %1532, !llvm.loop !52

1603:                                             ; preds = %1538
  br label %1604

1604:                                             ; preds = %1603, %1514
  %1605 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  %1606 = invoke noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %1605)
          to label %1607 unwind label %269

1607:                                             ; preds = %1604
  br i1 %1606, label %1727, label %1608

1608:                                             ; preds = %1607
  br label %1609

1609:                                             ; preds = %1608
  %1610 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1611 unwind label %269

1611:                                             ; preds = %1609
  br i1 %1610, label %1612, label %1622

1612:                                             ; preds = %1611
  %1613 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1614 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1613, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1615 unwind label %269

1615:                                             ; preds = %1612
  %1616 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1614, ptr noundef @.str.74)
          to label %1617 unwind label %269

1617:                                             ; preds = %1615
  %1618 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1616, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1619 unwind label %269

1619:                                             ; preds = %1617
  %1620 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1618, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1621 unwind label %269

1621:                                             ; preds = %1619
  br label %1622

1622:                                             ; preds = %1621, %1611
  br label %1623

1623:                                             ; preds = %1622
  br label %1624

1624:                                             ; preds = %1623
  %1625 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  %1626 = call noundef zeroext i1 @_ZNKSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %1625) #0
  br i1 %1626, label %1726, label %1627

1627:                                             ; preds = %1624
  call void @llvm.lifetime.start.p0(i64 8, ptr %104) #0
  %1628 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  %1629 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %1628) #0
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull align 8 dereferenceable(8) %1629) #0
  %1630 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %106) #0
  %1631 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  %1632 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1631) #0
  %1633 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.531", ptr %106, i32 0, i32 0
  store ptr %1632, ptr %1633, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull align 8 dereferenceable(8) %106) #0
  %1634 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %105, i32 0, i32 0
  %1635 = load ptr, ptr %1634, align 8
  %1636 = invoke ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %1630, ptr %1635)
          to label %1637 unwind label %1689

1637:                                             ; preds = %1627
  %1638 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.531", ptr %107, i32 0, i32 0
  store ptr %1636, ptr %1638, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %108) #0
  %1639 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  %1640 = getelementptr inbounds %"struct.Context::Coercion", ptr %1639, i32 0, i32 2
  %1641 = load ptr, ptr %1640, align 8, !tbaa !26
  %1642 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1641) #0
  %1643 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %1642)
          to label %1644 unwind label %1693

1644:                                             ; preds = %1637
  store ptr %1643, ptr %108, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %109) #0
  %1645 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  %1646 = getelementptr inbounds %"struct.Context::Coercion", ptr %1645, i32 0, i32 2
  %1647 = load ptr, ptr %1646, align 8, !tbaa !26
  %1648 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1647) #0
  %1649 = getelementptr inbounds %"class.HIR::ExprNode", ptr %1648, i32 0, i32 2
  store ptr %1649, ptr %109, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %110) #0
  %1650 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 3
  %1651 = load ptr, ptr %108, align 8, !tbaa !5
  %1652 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  %1653 = getelementptr inbounds %"struct.Context::Coercion", ptr %1652, i32 0, i32 1
  invoke void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef nonnull align 8 dereferenceable(8) %1653)
          to label %1654 unwind label %1697

1654:                                             ; preds = %1644
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %110, ptr noundef nonnull align 8 dereferenceable(280) %1650, ptr noundef nonnull align 8 dereferenceable(8) %1651, ptr noundef %111)
          to label %1655 unwind label %1701

1655:                                             ; preds = %1654
  %1656 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  %1657 = getelementptr inbounds %"struct.Context::Coercion", ptr %1656, i32 0, i32 1
  %1658 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %1657, ptr noundef nonnull align 8 dereferenceable(8) %110)
          to label %1659 unwind label %1705

1659:                                             ; preds = %1655
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %110) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %111) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #0
  br label %1660

1660:                                             ; preds = %1659
  %1661 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1662 unwind label %1711

1662:                                             ; preds = %1660
  br i1 %1661, label %1663, label %1715

1663:                                             ; preds = %1662
  %1664 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %1665 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1664, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1666 unwind label %1711

1666:                                             ; preds = %1663
  %1667 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1665, ptr noundef @.str.75)
          to label %1668 unwind label %1711

1668:                                             ; preds = %1666
  %1669 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  %1670 = getelementptr inbounds %"struct.Context::Coercion", ptr %1669, i32 0, i32 0
  %1671 = load i32, ptr %1670, align 8, !tbaa !29
  %1672 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %1667, i32 noundef %1671)
          to label %1673 unwind label %1711

1673:                                             ; preds = %1668
  %1674 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1672, ptr noundef @.str.1)
          to label %1675 unwind label %1711

1675:                                             ; preds = %1673
  %1676 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  %1677 = getelementptr inbounds %"struct.Context::Coercion", ptr %1676, i32 0, i32 1
  %1678 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %1674, ptr noundef nonnull align 8 dereferenceable(8) %1677)
          to label %1679 unwind label %1711

1679:                                             ; preds = %1675
  %1680 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1678, ptr noundef @.str.10)
          to label %1681 unwind label %1711

1681:                                             ; preds = %1679
  %1682 = load ptr, ptr %109, align 8, !tbaa !5
  %1683 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %1680, ptr noundef nonnull align 8 dereferenceable(8) %1682)
          to label %1684 unwind label %1711

1684:                                             ; preds = %1681
  %1685 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1683, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1686 unwind label %1711

1686:                                             ; preds = %1684
  %1687 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1685, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1688 unwind label %1711

1688:                                             ; preds = %1686
  br label %1715

1689:                                             ; preds = %1627
  %1690 = landingpad { ptr, i32 }
          cleanup
  %1691 = extractvalue { ptr, i32 } %1690, 0
  store ptr %1691, ptr %11, align 8
  %1692 = extractvalue { ptr, i32 } %1690, 1
  store i32 %1692, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #0
  br label %1725

1693:                                             ; preds = %1637
  %1694 = landingpad { ptr, i32 }
          cleanup
  %1695 = extractvalue { ptr, i32 } %1694, 0
  store ptr %1695, ptr %11, align 8
  %1696 = extractvalue { ptr, i32 } %1694, 1
  store i32 %1696, ptr %12, align 4
  br label %1724

1697:                                             ; preds = %1644
  %1698 = landingpad { ptr, i32 }
          cleanup
  %1699 = extractvalue { ptr, i32 } %1698, 0
  store ptr %1699, ptr %11, align 8
  %1700 = extractvalue { ptr, i32 } %1698, 1
  store i32 %1700, ptr %12, align 4
  br label %1710

1701:                                             ; preds = %1654
  %1702 = landingpad { ptr, i32 }
          cleanup
  %1703 = extractvalue { ptr, i32 } %1702, 0
  store ptr %1703, ptr %11, align 8
  %1704 = extractvalue { ptr, i32 } %1702, 1
  store i32 %1704, ptr %12, align 4
  br label %1709

1705:                                             ; preds = %1655
  %1706 = landingpad { ptr, i32 }
          cleanup
  %1707 = extractvalue { ptr, i32 } %1706, 0
  store ptr %1707, ptr %11, align 8
  %1708 = extractvalue { ptr, i32 } %1706, 1
  store i32 %1708, ptr %12, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %110) #0
  br label %1709

1709:                                             ; preds = %1705, %1701
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %111) #0
  br label %1710

1710:                                             ; preds = %1709, %1697
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #0
  br label %1723

1711:                                             ; preds = %1717, %1686, %1684, %1681, %1679, %1675, %1673, %1668, %1666, %1663, %1660
  %1712 = landingpad { ptr, i32 }
          cleanup
  %1713 = extractvalue { ptr, i32 } %1712, 0
  store ptr %1713, ptr %11, align 8
  %1714 = extractvalue { ptr, i32 } %1712, 1
  store i32 %1714, ptr %12, align 4
  br label %1723

1715:                                             ; preds = %1688, %1662
  br label %1716

1716:                                             ; preds = %1715
  br label %1717

1717:                                             ; preds = %1716
  %1718 = load ptr, ptr %108, align 8, !tbaa !5
  %1719 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  %1720 = getelementptr inbounds %"struct.Context::Coercion", ptr %1719, i32 0, i32 1
  %1721 = load ptr, ptr %109, align 8, !tbaa !5
  invoke void @_ZN7Context12equate_typesERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(592) %13, ptr noundef nonnull align 8 dereferenceable(8) %1718, ptr noundef nonnull align 8 dereferenceable(8) %1720, ptr noundef nonnull align 8 dereferenceable(8) %1721)
          to label %1722 unwind label %1711

1722:                                             ; preds = %1717
  call void @llvm.lifetime.end.p0(i64 8, ptr %109) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #0
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #0
  br label %1726

1723:                                             ; preds = %1711, %1710
  call void @llvm.lifetime.end.p0(i64 8, ptr %109) #0
  br label %1724

1724:                                             ; preds = %1723, %1693
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #0
  br label %1725

1725:                                             ; preds = %1724, %1689
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %104) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #0
  br label %1754

1726:                                             ; preds = %1722, %1624
  br label %1727

1727:                                             ; preds = %1726, %1607
  call void @llvm.lifetime.start.p0(i64 8, ptr %112) #0
  %1728 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 10
  store ptr %1728, ptr %112, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %113) #0
  %1729 = load ptr, ptr %112, align 8, !tbaa !5
  %1730 = call ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1729) #0
  %1731 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.538", ptr %113, i32 0, i32 0
  store ptr %1730, ptr %1731, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %114) #0
  %1732 = load ptr, ptr %112, align 8, !tbaa !5
  %1733 = call ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1732) #0
  %1734 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.538", ptr %114, i32 0, i32 0
  store ptr %1733, ptr %1734, align 8
  br label %1735

1735:                                             ; preds = %1742, %1727
  %1736 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossibleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef nonnull align 8 dereferenceable(8) %114) #0
  br i1 %1736, label %1738, label %1737

1737:                                             ; preds = %1735
  store i32 97, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %114) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #0
  br label %1748

1738:                                             ; preds = %1735
  call void @llvm.lifetime.start.p0(i64 8, ptr %115) #0
  %1739 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossibleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %113) #0
  store ptr %1739, ptr %115, align 8, !tbaa !5
  %1740 = load ptr, ptr %115, align 8, !tbaa !5
  invoke void @_ZN7Context12IVarPossible5resetEv(ptr noundef nonnull align 8 dereferenceable(128) %1740)
          to label %1741 unwind label %1744

1741:                                             ; preds = %1738
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #0
  br label %1742

1742:                                             ; preds = %1741
  %1743 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossibleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %113) #0
  br label %1735

1744:                                             ; preds = %1738
  %1745 = landingpad { ptr, i32 }
          cleanup
  %1746 = extractvalue { ptr, i32 } %1745, 0
  store ptr %1746, ptr %11, align 8
  %1747 = extractvalue { ptr, i32 } %1745, 1
  store i32 %1747, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %114) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #0
  br label %1754

1748:                                             ; preds = %1737
  %1749 = load i32, ptr %15, align 4, !tbaa !22
  %1750 = add i32 %1749, 1
  store i32 %1750, ptr %15, align 4, !tbaa !22
  %1751 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 3
  %1752 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 2
  invoke void @_ZN15TraitResolution13compact_ivarsER16HMTypeInferrence(ptr noundef nonnull align 8 dereferenceable(280) %1751, ptr noundef nonnull align 8 dereferenceable(49) %1752)
          to label %1753 unwind label %269

1753:                                             ; preds = %1748
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #0
  br label %216, !llvm.loop !53

1754:                                             ; preds = %1744, %1725, %1598, %1473, %1426, %1388, %1289, %1141, %1094, %1047, %1008, %896, %797, %657, %412, %269
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #0
  br label %1755

1755:                                             ; preds = %1754, %265, %261
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #0
  br label %2275

1756:                                             ; preds = %222
  %1757 = load i32, ptr %15, align 4, !tbaa !22
  %1758 = icmp eq i32 %1757, 1000
  br i1 %1758, label %1759, label %1783

1759:                                             ; preds = %1756
  br label %1760

1760:                                             ; preds = %1759
  call void @llvm.lifetime.start.p0(i64 8, ptr %116) #0
  %1761 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #0
  %1762 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %1761)
          to label %1763 unwind label %1768

1763:                                             ; preds = %1760
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef nonnull align 8 dereferenceable(8) %1762)
          to label %1764 unwind label %1768

1764:                                             ; preds = %1763
  call void @llvm.lifetime.start.p0(i64 1, ptr %118) #0
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %117, ptr noundef nonnull align 1 dereferenceable(1) %118) #0
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef %117)
          to label %1765 unwind label %1772

1765:                                             ; preds = %1764
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %117) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %118) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %116) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %116) #0
  %1766 = call ptr @__cxa_allocate_exception(i64 16) #0
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %1766, ptr noundef @.str.16)
          to label %1767 unwind label %1777

1767:                                             ; preds = %1765
  invoke void @__cxa_throw(ptr %1766, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #11
          to label %2284 unwind label %257

1768:                                             ; preds = %1763, %1760
  %1769 = landingpad { ptr, i32 }
          cleanup
  %1770 = extractvalue { ptr, i32 } %1769, 0
  store ptr %1770, ptr %11, align 8
  %1771 = extractvalue { ptr, i32 } %1769, 1
  store i32 %1771, ptr %12, align 4
  br label %1776

1772:                                             ; preds = %1764
  %1773 = landingpad { ptr, i32 }
          cleanup
  %1774 = extractvalue { ptr, i32 } %1773, 0
  store ptr %1774, ptr %11, align 8
  %1775 = extractvalue { ptr, i32 } %1773, 1
  store i32 %1775, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %117) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %118) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %116) #0
  br label %1776

1776:                                             ; preds = %1772, %1768
  call void @llvm.lifetime.end.p0(i64 8, ptr %116) #0
  br label %2275

1777:                                             ; preds = %1765
  %1778 = landingpad { ptr, i32 }
          cleanup
  %1779 = extractvalue { ptr, i32 } %1778, 0
  store ptr %1779, ptr %11, align 8
  %1780 = extractvalue { ptr, i32 } %1778, 1
  store i32 %1780, ptr %12, align 4
  call void @__cxa_free_exception(ptr %1766) #0
  br label %2275

1781:                                             ; No predecessors!
  br label %1782

1782:                                             ; preds = %1781
  br label %1783

1783:                                             ; preds = %1782, %1756
  %1784 = invoke noundef zeroext i1 @_ZNK7Context9has_rulesEv(ptr noundef nonnull align 8 dereferenceable(592) %13)
          to label %1785 unwind label %257

1785:                                             ; preds = %1783
  br i1 %1784, label %1786, label %2044

1786:                                             ; preds = %1785
  invoke void @_ZNK7Context4dumpEv(ptr noundef nonnull align 8 dereferenceable(592) %13)
          to label %1787 unwind label %257

1787:                                             ; preds = %1786
  call void @llvm.lifetime.start.p0(i64 8, ptr %119) #0
  %1788 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 5
  store ptr %1788, ptr %119, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %120) #0
  %1789 = load ptr, ptr %119, align 8, !tbaa !5
  %1790 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1789) #0
  %1791 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.531", ptr %120, i32 0, i32 0
  store ptr %1790, ptr %1791, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %121) #0
  %1792 = load ptr, ptr %119, align 8, !tbaa !5
  %1793 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1792) #0
  %1794 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.531", ptr %121, i32 0, i32 0
  store ptr %1793, ptr %1794, align 8
  br label %1795

1795:                                             ; preds = %1825, %1787
  %1796 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef nonnull align 8 dereferenceable(8) %121) #0
  br i1 %1796, label %1798, label %1797

1797:                                             ; preds = %1795
  store i32 101, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %121) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %120) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %119) #0
  br label %1846

1798:                                             ; preds = %1795
  call void @llvm.lifetime.start.p0(i64 8, ptr %122) #0
  %1799 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %120) #0
  store ptr %1799, ptr %122, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %123) #0
  %1800 = load ptr, ptr %122, align 8, !tbaa !5
  %1801 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1800) #0
  store ptr %1801, ptr %123, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %124) #0
  %1802 = load ptr, ptr %123, align 8, !tbaa !5
  %1803 = getelementptr inbounds %"struct.Context::Coercion", ptr %1802, i32 0, i32 2
  %1804 = load ptr, ptr %1803, align 8, !tbaa !26
  %1805 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1804) #0
  %1806 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %1805)
          to label %1807 unwind label %1827

1807:                                             ; preds = %1798
  store ptr %1806, ptr %124, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %125) #0
  %1808 = load ptr, ptr %123, align 8, !tbaa !5
  %1809 = getelementptr inbounds %"struct.Context::Coercion", ptr %1808, i32 0, i32 2
  %1810 = load ptr, ptr %1809, align 8, !tbaa !26
  %1811 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1810) #0
  %1812 = getelementptr inbounds %"class.HIR::ExprNode", ptr %1811, i32 0, i32 2
  store ptr %1812, ptr %125, align 8, !tbaa !5
  br label %1813

1813:                                             ; preds = %1807
  call void @llvm.lifetime.start.p0(i64 8, ptr %126) #0
  %1814 = load ptr, ptr %124, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull align 8 dereferenceable(8) %1814)
          to label %1815 unwind label %1831

1815:                                             ; preds = %1813
  call void @llvm.lifetime.start.p0(i64 24, ptr %128) #0
  %1816 = getelementptr inbounds %class.anon.541, ptr %128, i32 0, i32 0
  store ptr %13, ptr %1816, align 8, !tbaa !5
  %1817 = getelementptr inbounds %class.anon.541, ptr %128, i32 0, i32 1
  %1818 = load ptr, ptr %123, align 8, !tbaa !5
  store ptr %1818, ptr %1817, align 8, !tbaa !5
  %1819 = getelementptr inbounds %class.anon.541, ptr %128, i32 0, i32 2
  %1820 = load ptr, ptr %125, align 8, !tbaa !5
  store ptr %1820, ptr %1819, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %127, ptr noundef nonnull align 8 dereferenceable(24) %128)
          to label %1821 unwind label %1835

1821:                                             ; preds = %1815
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %126, i32 noundef 0, ptr noundef %127)
          to label %1822 unwind label %1839

1822:                                             ; preds = %1821
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %127) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %128) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %126) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %126) #0
  br label %1823

1823:                                             ; preds = %1822
  br label %1824

1824:                                             ; preds = %1823
  call void @llvm.lifetime.end.p0(i64 8, ptr %125) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %124) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %123) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %122) #0
  br label %1825

1825:                                             ; preds = %1824
  %1826 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %120) #0
  br label %1795

1827:                                             ; preds = %1798
  %1828 = landingpad { ptr, i32 }
          cleanup
  %1829 = extractvalue { ptr, i32 } %1828, 0
  store ptr %1829, ptr %11, align 8
  %1830 = extractvalue { ptr, i32 } %1828, 1
  store i32 %1830, ptr %12, align 4
  br label %1845

1831:                                             ; preds = %1813
  %1832 = landingpad { ptr, i32 }
          cleanup
  %1833 = extractvalue { ptr, i32 } %1832, 0
  store ptr %1833, ptr %11, align 8
  %1834 = extractvalue { ptr, i32 } %1832, 1
  store i32 %1834, ptr %12, align 4
  br label %1844

1835:                                             ; preds = %1815
  %1836 = landingpad { ptr, i32 }
          cleanup
  %1837 = extractvalue { ptr, i32 } %1836, 0
  store ptr %1837, ptr %11, align 8
  %1838 = extractvalue { ptr, i32 } %1836, 1
  store i32 %1838, ptr %12, align 4
  br label %1843

1839:                                             ; preds = %1821
  %1840 = landingpad { ptr, i32 }
          cleanup
  %1841 = extractvalue { ptr, i32 } %1840, 0
  store ptr %1841, ptr %11, align 8
  %1842 = extractvalue { ptr, i32 } %1840, 1
  store i32 %1842, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %127) #0
  br label %1843

1843:                                             ; preds = %1839, %1835
  call void @llvm.lifetime.end.p0(i64 24, ptr %128) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %126) #0
  br label %1844

1844:                                             ; preds = %1843, %1831
  call void @llvm.lifetime.end.p0(i64 8, ptr %126) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %125) #0
  br label %1845

1845:                                             ; preds = %1844, %1827
  call void @llvm.lifetime.end.p0(i64 8, ptr %124) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %123) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %122) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %121) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %120) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %119) #0
  br label %2275

1846:                                             ; preds = %1797
  call void @llvm.lifetime.start.p0(i64 8, ptr %129) #0
  %1847 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 6
  store ptr %1847, ptr %129, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %130) #0
  %1848 = load ptr, ptr %129, align 8, !tbaa !5
  %1849 = call ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1848) #0
  %1850 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.500", ptr %130, i32 0, i32 0
  store ptr %1849, ptr %1850, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %131) #0
  %1851 = load ptr, ptr %129, align 8, !tbaa !5
  %1852 = call ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1851) #0
  %1853 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.500", ptr %131, i32 0, i32 0
  store ptr %1852, ptr %1853, align 8
  br label %1854

1854:                                             ; preds = %1937, %1846
  %1855 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context10AssociatedESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull align 8 dereferenceable(8) %131) #0
  br i1 %1855, label %1857, label %1856

1856:                                             ; preds = %1854
  store i32 105, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %131) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %130) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %129) #0
  br label %1940

1857:                                             ; preds = %1854
  call void @llvm.lifetime.start.p0(i64 8, ptr %132) #0
  %1858 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context10AssociatedESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %130) #0
  store ptr %1858, ptr %132, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %133) #0
  %1859 = load ptr, ptr %132, align 8, !tbaa !5
  %1860 = getelementptr inbounds %"struct.Context::Associated", ptr %1859, i32 0, i32 2
  store ptr %1860, ptr %133, align 8, !tbaa !5
  %1861 = load ptr, ptr %132, align 8, !tbaa !5
  %1862 = getelementptr inbounds %"struct.Context::Associated", ptr %1861, i32 0, i32 7
  store i1 false, ptr %135, align 1
  store i1 false, ptr %136, align 1
  %1863 = invoke noundef zeroext i1 @_ZNK8RcStringeqEPKc(ptr noundef nonnull align 8 dereferenceable(8) %1862, ptr noundef @.str.22)
          to label %1864 unwind label %1889

1864:                                             ; preds = %1857
  br i1 %1863, label %1871, label %1865

1865:                                             ; preds = %1864
  %1866 = load ptr, ptr %132, align 8, !tbaa !5
  %1867 = getelementptr inbounds %"struct.Context::Associated", ptr %1866, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %134) #0
  store i1 true, ptr %135, align 1
  invoke void @_ZN3HIR7TypeRefC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %134)
          to label %1868 unwind label %1893

1868:                                             ; preds = %1865
  store i1 true, ptr %136, align 1
  %1869 = invoke noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %1867, ptr noundef nonnull align 8 dereferenceable(8) %134)
          to label %1870 unwind label %1897

1870:                                             ; preds = %1868
  br label %1871

1871:                                             ; preds = %1870, %1864
  %1872 = phi i1 [ true, %1864 ], [ %1869, %1870 ]
  %1873 = load i1, ptr %136, align 1
  br i1 %1873, label %1874, label %1875

1874:                                             ; preds = %1871
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %134) #0
  br label %1875

1875:                                             ; preds = %1874, %1871
  %1876 = load i1, ptr %135, align 1
  br i1 %1876, label %1877, label %1878

1877:                                             ; preds = %1875
  call void @llvm.lifetime.end.p0(i64 8, ptr %134) #0
  br label %1878

1878:                                             ; preds = %1877, %1875
  br i1 %1872, label %1879, label %1917

1879:                                             ; preds = %1878
  br label %1880

1880:                                             ; preds = %1879
  call void @llvm.lifetime.start.p0(i64 8, ptr %137) #0
  %1881 = load ptr, ptr %133, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull align 8 dereferenceable(8) %1881)
          to label %1882 unwind label %1908

1882:                                             ; preds = %1880
  call void @llvm.lifetime.start.p0(i64 16, ptr %139) #0
  %1883 = getelementptr inbounds %class.anon.542, ptr %139, i32 0, i32 0
  store ptr %13, ptr %1883, align 8, !tbaa !5
  %1884 = getelementptr inbounds %class.anon.542, ptr %139, i32 0, i32 1
  %1885 = load ptr, ptr %132, align 8, !tbaa !5
  store ptr %1885, ptr %1884, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %138, ptr noundef nonnull align 8 dereferenceable(16) %139) #0
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %137, i32 noundef 0, ptr noundef %138)
          to label %1886 unwind label %1912

1886:                                             ; preds = %1882
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %138) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %139) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %137) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %137) #0
  br label %1887

1887:                                             ; preds = %1886
  br label %1888

1888:                                             ; preds = %1887
  br label %1936

1889:                                             ; preds = %1857
  %1890 = landingpad { ptr, i32 }
          cleanup
  %1891 = extractvalue { ptr, i32 } %1890, 0
  store ptr %1891, ptr %11, align 8
  %1892 = extractvalue { ptr, i32 } %1890, 1
  store i32 %1892, ptr %12, align 4
  br label %1939

1893:                                             ; preds = %1865
  %1894 = landingpad { ptr, i32 }
          cleanup
  %1895 = extractvalue { ptr, i32 } %1894, 0
  store ptr %1895, ptr %11, align 8
  %1896 = extractvalue { ptr, i32 } %1894, 1
  store i32 %1896, ptr %12, align 4
  br label %1904

1897:                                             ; preds = %1868
  %1898 = landingpad { ptr, i32 }
          cleanup
  %1899 = extractvalue { ptr, i32 } %1898, 0
  store ptr %1899, ptr %11, align 8
  %1900 = extractvalue { ptr, i32 } %1898, 1
  store i32 %1900, ptr %12, align 4
  %1901 = load i1, ptr %136, align 1
  br i1 %1901, label %1902, label %1903

1902:                                             ; preds = %1897
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %134) #0
  br label %1903

1903:                                             ; preds = %1902, %1897
  br label %1904

1904:                                             ; preds = %1903, %1893
  %1905 = load i1, ptr %135, align 1
  br i1 %1905, label %1906, label %1907

1906:                                             ; preds = %1904
  call void @llvm.lifetime.end.p0(i64 8, ptr %134) #0
  br label %1907

1907:                                             ; preds = %1906, %1904
  br label %1939

1908:                                             ; preds = %1880
  %1909 = landingpad { ptr, i32 }
          cleanup
  %1910 = extractvalue { ptr, i32 } %1909, 0
  store ptr %1910, ptr %11, align 8
  %1911 = extractvalue { ptr, i32 } %1909, 1
  store i32 %1911, ptr %12, align 4
  br label %1916

1912:                                             ; preds = %1882
  %1913 = landingpad { ptr, i32 }
          cleanup
  %1914 = extractvalue { ptr, i32 } %1913, 0
  store ptr %1914, ptr %11, align 8
  %1915 = extractvalue { ptr, i32 } %1913, 1
  store i32 %1915, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %138) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %139) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %137) #0
  br label %1916

1916:                                             ; preds = %1912, %1908
  call void @llvm.lifetime.end.p0(i64 8, ptr %137) #0
  br label %1939

1917:                                             ; preds = %1878
  br label %1918

1918:                                             ; preds = %1917
  call void @llvm.lifetime.start.p0(i64 8, ptr %140) #0
  %1919 = load ptr, ptr %133, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull align 8 dereferenceable(8) %1919)
          to label %1920 unwind label %1927

1920:                                             ; preds = %1918
  call void @llvm.lifetime.start.p0(i64 16, ptr %142) #0
  %1921 = getelementptr inbounds %class.anon.543, ptr %142, i32 0, i32 0
  store ptr %13, ptr %1921, align 8, !tbaa !5
  %1922 = getelementptr inbounds %class.anon.543, ptr %142, i32 0, i32 1
  %1923 = load ptr, ptr %132, align 8, !tbaa !5
  store ptr %1923, ptr %1922, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %141, ptr noundef nonnull align 8 dereferenceable(16) %142) #0
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %140, i32 noundef 0, ptr noundef %141)
          to label %1924 unwind label %1931

1924:                                             ; preds = %1920
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %141) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %142) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %140) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %140) #0
  br label %1925

1925:                                             ; preds = %1924
  br label %1926

1926:                                             ; preds = %1925
  br label %1936

1927:                                             ; preds = %1918
  %1928 = landingpad { ptr, i32 }
          cleanup
  %1929 = extractvalue { ptr, i32 } %1928, 0
  store ptr %1929, ptr %11, align 8
  %1930 = extractvalue { ptr, i32 } %1928, 1
  store i32 %1930, ptr %12, align 4
  br label %1935

1931:                                             ; preds = %1920
  %1932 = landingpad { ptr, i32 }
          cleanup
  %1933 = extractvalue { ptr, i32 } %1932, 0
  store ptr %1933, ptr %11, align 8
  %1934 = extractvalue { ptr, i32 } %1932, 1
  store i32 %1934, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %141) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %142) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %140) #0
  br label %1935

1935:                                             ; preds = %1931, %1927
  call void @llvm.lifetime.end.p0(i64 8, ptr %140) #0
  br label %1939

1936:                                             ; preds = %1926, %1888
  call void @llvm.lifetime.end.p0(i64 8, ptr %133) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %132) #0
  br label %1937

1937:                                             ; preds = %1936
  %1938 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context10AssociatedESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %130) #0
  br label %1854

1939:                                             ; preds = %1935, %1916, %1907, %1889
  call void @llvm.lifetime.end.p0(i64 8, ptr %133) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %132) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %131) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %130) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %129) #0
  br label %2275

1940:                                             ; preds = %1856
  call void @llvm.lifetime.start.p0(i64 8, ptr %143) #0
  %1941 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 7
  store ptr %1941, ptr %143, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %144) #0
  %1942 = load ptr, ptr %143, align 8, !tbaa !5
  %1943 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1942) #0
  %1944 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.532", ptr %144, i32 0, i32 0
  store ptr %1943, ptr %1944, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %145) #0
  %1945 = load ptr, ptr %143, align 8, !tbaa !5
  %1946 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1945) #0
  %1947 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.532", ptr %145, i32 0, i32 0
  store ptr %1946, ptr %1947, align 8
  br label %1948

1948:                                             ; preds = %1966, %1940
  %1949 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef nonnull align 8 dereferenceable(8) %145) #0
  br i1 %1949, label %1951, label %1950

1950:                                             ; preds = %1948
  store i32 111, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %145) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %144) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %143) #0
  br label %1982

1951:                                             ; preds = %1948
  call void @llvm.lifetime.start.p0(i64 8, ptr %146) #0
  %1952 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %144) #0
  store ptr %1952, ptr %146, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %147) #0
  %1953 = load ptr, ptr %146, align 8, !tbaa !5
  %1954 = load ptr, ptr %1953, align 8, !tbaa !5
  %1955 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %1954)
          to label %1956 unwind label %1968

1956:                                             ; preds = %1951
  store ptr %1955, ptr %147, align 8, !tbaa !5
  br label %1957

1957:                                             ; preds = %1956
  call void @llvm.lifetime.start.p0(i64 8, ptr %148) #0
  %1958 = load ptr, ptr %147, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull align 8 dereferenceable(8) %1958)
          to label %1959 unwind label %1972

1959:                                             ; preds = %1957
  call void @llvm.lifetime.start.p0(i64 16, ptr %150) #0
  %1960 = getelementptr inbounds %class.anon.544, ptr %150, i32 0, i32 0
  store ptr %13, ptr %1960, align 8, !tbaa !5
  %1961 = getelementptr inbounds %class.anon.544, ptr %150, i32 0, i32 1
  %1962 = load ptr, ptr %146, align 8, !tbaa !5
  store ptr %1962, ptr %1961, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_8vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %149, ptr noundef nonnull align 8 dereferenceable(16) %150) #0
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %148, i32 noundef 0, ptr noundef %149)
          to label %1963 unwind label %1976

1963:                                             ; preds = %1959
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %149) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %150) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %148) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %148) #0
  br label %1964

1964:                                             ; preds = %1963
  br label %1965

1965:                                             ; preds = %1964
  call void @llvm.lifetime.end.p0(i64 8, ptr %147) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %146) #0
  br label %1966

1966:                                             ; preds = %1965
  %1967 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %144) #0
  br label %1948

1968:                                             ; preds = %1951
  %1969 = landingpad { ptr, i32 }
          cleanup
  %1970 = extractvalue { ptr, i32 } %1969, 0
  store ptr %1970, ptr %11, align 8
  %1971 = extractvalue { ptr, i32 } %1969, 1
  store i32 %1971, ptr %12, align 4
  br label %1981

1972:                                             ; preds = %1957
  %1973 = landingpad { ptr, i32 }
          cleanup
  %1974 = extractvalue { ptr, i32 } %1973, 0
  store ptr %1974, ptr %11, align 8
  %1975 = extractvalue { ptr, i32 } %1973, 1
  store i32 %1975, ptr %12, align 4
  br label %1980

1976:                                             ; preds = %1959
  %1977 = landingpad { ptr, i32 }
          cleanup
  %1978 = extractvalue { ptr, i32 } %1977, 0
  store ptr %1978, ptr %11, align 8
  %1979 = extractvalue { ptr, i32 } %1977, 1
  store i32 %1979, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %149) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %150) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %148) #0
  br label %1980

1980:                                             ; preds = %1976, %1972
  call void @llvm.lifetime.end.p0(i64 8, ptr %148) #0
  br label %1981

1981:                                             ; preds = %1980, %1968
  call void @llvm.lifetime.end.p0(i64 8, ptr %147) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %146) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %145) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %144) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %143) #0
  br label %2275

1982:                                             ; preds = %1950
  call void @llvm.lifetime.start.p0(i64 8, ptr %151) #0
  %1983 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 8
  store ptr %1983, ptr %151, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %152) #0
  %1984 = load ptr, ptr %151, align 8, !tbaa !5
  %1985 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1984) #0
  %1986 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.534", ptr %152, i32 0, i32 0
  store ptr %1985, ptr %1986, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %153) #0
  %1987 = load ptr, ptr %151, align 8, !tbaa !5
  %1988 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1987) #0
  %1989 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.534", ptr %153, i32 0, i32 0
  store ptr %1988, ptr %1989, align 8
  br label %1990

1990:                                             ; preds = %2009, %1982
  %1991 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %152, ptr noundef nonnull align 8 dereferenceable(8) %153) #0
  br i1 %1991, label %1993, label %1992

1992:                                             ; preds = %1990
  store i32 115, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %153) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %152) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %151) #0
  br label %2020

1993:                                             ; preds = %1990
  call void @llvm.lifetime.start.p0(i64 8, ptr %154) #0
  %1994 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %152) #0
  store ptr %1994, ptr %154, align 8, !tbaa !5
  br label %1995

1995:                                             ; preds = %1993
  call void @llvm.lifetime.start.p0(i64 8, ptr %155) #0
  %1996 = load ptr, ptr %154, align 8, !tbaa !5
  %1997 = call noundef ptr @_ZNKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1996) #0
  %1998 = load ptr, ptr %1997, align 8, !tbaa !33
  %1999 = getelementptr inbounds ptr, ptr %1998, i64 2
  %2000 = load ptr, ptr %1999, align 8
  %2001 = invoke noundef nonnull align 8 dereferenceable(8) ptr %2000(ptr noundef nonnull align 8 dereferenceable(8) %1997)
          to label %2002 unwind label %2011

2002:                                             ; preds = %1995
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef nonnull align 8 dereferenceable(8) %2001)
          to label %2003 unwind label %2011

2003:                                             ; preds = %2002
  call void @llvm.lifetime.start.p0(i64 8, ptr %157) #0
  %2004 = getelementptr inbounds %class.anon.545, ptr %157, i32 0, i32 0
  %2005 = load ptr, ptr %154, align 8, !tbaa !5
  store ptr %2005, ptr %2004, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_9vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %156, ptr noundef nonnull align 8 dereferenceable(8) %157) #0
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %155, i32 noundef 0, ptr noundef %156)
          to label %2006 unwind label %2015

2006:                                             ; preds = %2003
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %156) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %157) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %155) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %155) #0
  br label %2007

2007:                                             ; preds = %2006
  br label %2008

2008:                                             ; preds = %2007
  call void @llvm.lifetime.end.p0(i64 8, ptr %154) #0
  br label %2009

2009:                                             ; preds = %2008
  %2010 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %152) #0
  br label %1990

2011:                                             ; preds = %2002, %1995
  %2012 = landingpad { ptr, i32 }
          cleanup
  %2013 = extractvalue { ptr, i32 } %2012, 0
  store ptr %2013, ptr %11, align 8
  %2014 = extractvalue { ptr, i32 } %2012, 1
  store i32 %2014, ptr %12, align 4
  br label %2019

2015:                                             ; preds = %2003
  %2016 = landingpad { ptr, i32 }
          cleanup
  %2017 = extractvalue { ptr, i32 } %2016, 0
  store ptr %2017, ptr %11, align 8
  %2018 = extractvalue { ptr, i32 } %2016, 1
  store i32 %2018, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %156) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %157) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %155) #0
  br label %2019

2019:                                             ; preds = %2015, %2011
  call void @llvm.lifetime.end.p0(i64 8, ptr %155) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %154) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %153) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %152) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %151) #0
  br label %2275

2020:                                             ; preds = %1992
  br label %2021

2021:                                             ; preds = %2020
  call void @llvm.lifetime.start.p0(i64 8, ptr %158) #0
  %2022 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #0
  %2023 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %2022)
          to label %2024 unwind label %2029

2024:                                             ; preds = %2021
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull align 8 dereferenceable(8) %2023)
          to label %2025 unwind label %2029

2025:                                             ; preds = %2024
  call void @llvm.lifetime.start.p0(i64 1, ptr %160) #0
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE4$_10vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %159, ptr noundef nonnull align 1 dereferenceable(1) %160) #0
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef %159)
          to label %2026 unwind label %2033

2026:                                             ; preds = %2025
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %159) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %160) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %158) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %158) #0
  %2027 = call ptr @__cxa_allocate_exception(i64 16) #0
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %2027, ptr noundef @.str.16)
          to label %2028 unwind label %2038

2028:                                             ; preds = %2026
  invoke void @__cxa_throw(ptr %2027, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #11
          to label %2284 unwind label %257

2029:                                             ; preds = %2024, %2021
  %2030 = landingpad { ptr, i32 }
          cleanup
  %2031 = extractvalue { ptr, i32 } %2030, 0
  store ptr %2031, ptr %11, align 8
  %2032 = extractvalue { ptr, i32 } %2030, 1
  store i32 %2032, ptr %12, align 4
  br label %2037

2033:                                             ; preds = %2025
  %2034 = landingpad { ptr, i32 }
          cleanup
  %2035 = extractvalue { ptr, i32 } %2034, 0
  store ptr %2035, ptr %11, align 8
  %2036 = extractvalue { ptr, i32 } %2034, 1
  store i32 %2036, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %159) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %160) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %158) #0
  br label %2037

2037:                                             ; preds = %2033, %2029
  call void @llvm.lifetime.end.p0(i64 8, ptr %158) #0
  br label %2275

2038:                                             ; preds = %2026
  %2039 = landingpad { ptr, i32 }
          cleanup
  %2040 = extractvalue { ptr, i32 } %2039, 0
  store ptr %2040, ptr %11, align 8
  %2041 = extractvalue { ptr, i32 } %2039, 1
  store i32 %2041, ptr %12, align 4
  call void @__cxa_free_exception(ptr %2027) #0
  br label %2275

2042:                                             ; No predecessors!
  br label %2043

2043:                                             ; preds = %2042
  br label %2044

2044:                                             ; preds = %2043, %1785
  br label %2045

2045:                                             ; preds = %2044
  %2046 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %2047 unwind label %257

2047:                                             ; preds = %2045
  br i1 %2046, label %2048, label %2069

2048:                                             ; preds = %2047
  %2049 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %2050 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %2049, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %2051 unwind label %257

2051:                                             ; preds = %2048
  %2052 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %2050, ptr noundef @.str.76)
          to label %2053 unwind label %257

2053:                                             ; preds = %2051
  %2054 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #0
  %2055 = invoke noundef ptr @_ZNK3HIR8ExprNode9type_nameEv(ptr noundef nonnull align 8 dereferenceable(28) %2054)
          to label %2056 unwind label %257

2056:                                             ; preds = %2053
  %2057 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %2052, ptr noundef %2055)
          to label %2058 unwind label %257

2058:                                             ; preds = %2056
  %2059 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %2057, ptr noundef @.str.1)
          to label %2060 unwind label %257

2060:                                             ; preds = %2058
  %2061 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #0
  %2062 = getelementptr inbounds %"class.HIR::ExprNode", ptr %2061, i32 0, i32 2
  %2063 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %2059, ptr noundef nonnull align 8 dereferenceable(8) %2062)
          to label %2064 unwind label %257

2064:                                             ; preds = %2060
  %2065 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %2063, ptr noundef @_ZSt3decRSt8ios_base)
          to label %2066 unwind label %257

2066:                                             ; preds = %2064
  %2067 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %2065, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %2068 unwind label %257

2068:                                             ; preds = %2066
  br label %2069

2069:                                             ; preds = %2068, %2047
  br label %2070

2070:                                             ; preds = %2069
  br label %2071

2071:                                             ; preds = %2070
  %2072 = load ptr, ptr %8, align 8, !tbaa !5
  %2073 = call noundef ptr @_ZNSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #0
  invoke void @_ZN3HIR7ExprPtr5resetEPNS_8ExprNodeE(ptr noundef nonnull align 8 dereferenceable(72) %2072, ptr noundef %2073)
          to label %2074 unwind label %257

2074:                                             ; preds = %2071
  %2075 = load ptr, ptr %8, align 8, !tbaa !5
  %2076 = getelementptr inbounds %"class.HIR::ExprPtr", ptr %2075, i32 0, i32 1
  %2077 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 1
  %2078 = call noundef i64 @_ZNKSt6vectorIN7Context7BindingESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2077) #0
  invoke void @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %2076, i64 noundef %2078)
          to label %2079 unwind label %257

2079:                                             ; preds = %2074
  call void @llvm.lifetime.start.p0(i64 8, ptr %161) #0
  %2080 = getelementptr inbounds %struct.Context, ptr %13, i32 0, i32 1
  store ptr %2080, ptr %161, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %162) #0
  %2081 = load ptr, ptr %161, align 8, !tbaa !5
  %2082 = call ptr @_ZNSt6vectorIN7Context7BindingESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2081) #0
  %2083 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.548", ptr %162, i32 0, i32 0
  store ptr %2082, ptr %2083, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %163) #0
  %2084 = load ptr, ptr %161, align 8, !tbaa !5
  %2085 = call ptr @_ZNSt6vectorIN7Context7BindingESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2084) #0
  %2086 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.548", ptr %163, i32 0, i32 0
  store ptr %2085, ptr %2086, align 8
  br label %2087

2087:                                             ; preds = %2098, %2079
  %2088 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context7BindingESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %162, ptr noundef nonnull align 8 dereferenceable(8) %163) #0
  br i1 %2088, label %2090, label %2089

2089:                                             ; preds = %2087
  store i32 123, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %163) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %162) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %161) #0
  br label %2109

2090:                                             ; preds = %2087
  call void @llvm.lifetime.start.p0(i64 8, ptr %164) #0
  %2091 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context7BindingESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %162) #0
  store ptr %2091, ptr %164, align 8, !tbaa !5
  %2092 = load ptr, ptr %8, align 8, !tbaa !5
  %2093 = getelementptr inbounds %"class.HIR::ExprPtr", ptr %2092, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %165) #0
  %2094 = load ptr, ptr %164, align 8, !tbaa !5
  %2095 = getelementptr inbounds %"struct.Context::Binding", ptr %2094, i32 0, i32 1
  invoke void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %165, ptr noundef nonnull align 8 dereferenceable(8) %2095)
          to label %2096 unwind label %2100

2096:                                             ; preds = %2090
  invoke void @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %2093, ptr noundef nonnull align 8 dereferenceable(8) %165)
          to label %2097 unwind label %2104

2097:                                             ; preds = %2096
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %165) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %165) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %164) #0
  br label %2098

2098:                                             ; preds = %2097
  %2099 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context7BindingESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %162) #0
  br label %2087

2100:                                             ; preds = %2090
  %2101 = landingpad { ptr, i32 }
          cleanup
  %2102 = extractvalue { ptr, i32 } %2101, 0
  store ptr %2102, ptr %11, align 8
  %2103 = extractvalue { ptr, i32 } %2101, 1
  store i32 %2103, ptr %12, align 4
  br label %2108

2104:                                             ; preds = %2096
  %2105 = landingpad { ptr, i32 }
          cleanup
  %2106 = extractvalue { ptr, i32 } %2105, 0
  store ptr %2106, ptr %11, align 8
  %2107 = extractvalue { ptr, i32 } %2105, 1
  store i32 %2107, ptr %12, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %165) #0
  br label %2108

2108:                                             ; preds = %2104, %2100
  call void @llvm.lifetime.end.p0(i64 8, ptr %165) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %164) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %163) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %162) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %161) #0
  br label %2275

2109:                                             ; preds = %2089
  br label %2110

2110:                                             ; preds = %2109
  %2111 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %2112 unwind label %257

2112:                                             ; preds = %2110
  br i1 %2111, label %2113, label %2128

2113:                                             ; preds = %2112
  %2114 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %2115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %2114, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %2116 unwind label %257

2116:                                             ; preds = %2113
  %2117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %2115, ptr noundef @.str.77)
          to label %2118 unwind label %257

2118:                                             ; preds = %2116
  %2119 = load i32, ptr %15, align 4, !tbaa !22
  %2120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %2117, i32 noundef %2119)
          to label %2121 unwind label %257

2121:                                             ; preds = %2118
  %2122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %2120, ptr noundef @.str.78)
          to label %2123 unwind label %257

2123:                                             ; preds = %2121
  %2124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %2122, ptr noundef @_ZSt3decRSt8ios_base)
          to label %2125 unwind label %257

2125:                                             ; preds = %2123
  %2126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %2124, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %2127 unwind label %257

2127:                                             ; preds = %2125
  br label %2128

2128:                                             ; preds = %2127, %2112
  br label %2129

2129:                                             ; preds = %2128
  br label %2130

2130:                                             ; preds = %2129
  invoke void @_ZNK7Context4dumpEv(ptr noundef nonnull align 8 dereferenceable(592) %13)
          to label %2131 unwind label %257

2131:                                             ; preds = %2130
  call void @llvm.lifetime.start.p0(i64 24, ptr %166) #0
  invoke void @_ZN12_GLOBAL__N_117ExprVisitor_ApplyC2ERK7Context(ptr noundef nonnull align 8 dereferenceable(24) %166, ptr noundef nonnull align 8 dereferenceable(592) %13)
          to label %2132 unwind label %2153

2132:                                             ; preds = %2131
  %2133 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_117ExprVisitor_Apply14visit_node_ptrERN3HIR7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(24) %166, ptr noundef nonnull align 8 dereferenceable(72) %2133)
          to label %2134 unwind label %2157

2134:                                             ; preds = %2132
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %166) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %166) #0
  call void @llvm.lifetime.start.p0(i64 56, ptr %167) #0
  call void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %167) #0
  %2135 = load ptr, ptr %8, align 8, !tbaa !5
  %2136 = invoke noundef ptr @_ZN3HIR7ExprPtrptEv(ptr noundef nonnull align 8 dereferenceable(72) %2135)
          to label %2137 unwind label %2162

2137:                                             ; preds = %2134
  %2138 = load ptr, ptr %2136, align 8, !tbaa !33
  %2139 = getelementptr inbounds ptr, ptr %2138, i64 0
  %2140 = load ptr, ptr %2139, align 8
  invoke void %2140(ptr noundef nonnull align 8 dereferenceable(28) %2136, ptr noundef nonnull align 8 dereferenceable(8) %167)
          to label %2141 unwind label %2162

2141:                                             ; preds = %2137
  call void @llvm.lifetime.start.p0(i64 8, ptr %168) #0
  %2142 = load ptr, ptr %8, align 8, !tbaa !5
  %2143 = getelementptr inbounds %"class.HIR::ExprPtr", ptr %2142, i32 0, i32 1
  store ptr %2143, ptr %168, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %169) #0
  %2144 = load ptr, ptr %168, align 8, !tbaa !5
  %2145 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2144) #0
  %2146 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.513", ptr %169, i32 0, i32 0
  store ptr %2145, ptr %2146, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %170) #0
  %2147 = load ptr, ptr %168, align 8, !tbaa !5
  %2148 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2147) #0
  %2149 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.513", ptr %170, i32 0, i32 0
  store ptr %2148, ptr %2149, align 8
  br label %2150

2150:                                             ; preds = %2170, %2141
  %2151 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %169, ptr noundef nonnull align 8 dereferenceable(8) %170) #0
  br i1 %2151, label %2166, label %2152

2152:                                             ; preds = %2150
  store i32 127, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %170) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %169) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %168) #0
  br label %2176

2153:                                             ; preds = %2131
  %2154 = landingpad { ptr, i32 }
          cleanup
  %2155 = extractvalue { ptr, i32 } %2154, 0
  store ptr %2155, ptr %11, align 8
  %2156 = extractvalue { ptr, i32 } %2154, 1
  store i32 %2156, ptr %12, align 4
  br label %2161

2157:                                             ; preds = %2132
  %2158 = landingpad { ptr, i32 }
          cleanup
  %2159 = extractvalue { ptr, i32 } %2158, 0
  store ptr %2159, ptr %11, align 8
  %2160 = extractvalue { ptr, i32 } %2158, 1
  store i32 %2160, ptr %12, align 4
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %166) #0
  br label %2161

2161:                                             ; preds = %2157, %2153
  call void @llvm.lifetime.end.p0(i64 24, ptr %166) #0
  br label %2275

2162:                                             ; preds = %2137, %2134
  %2163 = landingpad { ptr, i32 }
          cleanup
  %2164 = extractvalue { ptr, i32 } %2163, 0
  store ptr %2164, ptr %11, align 8
  %2165 = extractvalue { ptr, i32 } %2163, 1
  store i32 %2165, ptr %12, align 4
  br label %2212

2166:                                             ; preds = %2150
  call void @llvm.lifetime.start.p0(i64 8, ptr %171) #0
  %2167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %169) #0
  store ptr %2167, ptr %171, align 8, !tbaa !5
  %2168 = load ptr, ptr %171, align 8, !tbaa !5
  invoke void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypes10visit_typeERS7_(ptr noundef nonnull align 8 dereferenceable(56) %167, ptr noundef nonnull align 8 dereferenceable(8) %2168)
          to label %2169 unwind label %2172

2169:                                             ; preds = %2166
  call void @llvm.lifetime.end.p0(i64 8, ptr %171) #0
  br label %2170

2170:                                             ; preds = %2169
  %2171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %169) #0
  br label %2150

2172:                                             ; preds = %2166
  %2173 = landingpad { ptr, i32 }
          cleanup
  %2174 = extractvalue { ptr, i32 } %2173, 0
  store ptr %2174, ptr %11, align 8
  %2175 = extractvalue { ptr, i32 } %2173, 1
  store i32 %2175, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %171) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %170) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %169) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %168) #0
  br label %2212

2176:                                             ; preds = %2152
  call void @llvm.lifetime.start.p0(i64 8, ptr %172) #0
  %2177 = load ptr, ptr %8, align 8, !tbaa !5
  %2178 = getelementptr inbounds %"class.HIR::ExprPtr", ptr %2177, i32 0, i32 2
  store ptr %2178, ptr %172, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %173) #0
  %2179 = load ptr, ptr %172, align 8, !tbaa !5
  %2180 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2179) #0
  %2181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.513", ptr %173, i32 0, i32 0
  store ptr %2180, ptr %2181, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %174) #0
  %2182 = load ptr, ptr %172, align 8, !tbaa !5
  %2183 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2182) #0
  %2184 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.513", ptr %174, i32 0, i32 0
  store ptr %2183, ptr %2184, align 8
  br label %2185

2185:                                             ; preds = %2192, %2176
  %2186 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef nonnull align 8 dereferenceable(8) %174) #0
  br i1 %2186, label %2188, label %2187

2187:                                             ; preds = %2185
  store i32 129, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %174) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %173) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %172) #0
  br label %2198

2188:                                             ; preds = %2185
  call void @llvm.lifetime.start.p0(i64 8, ptr %175) #0
  %2189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %173) #0
  store ptr %2189, ptr %175, align 8, !tbaa !5
  %2190 = load ptr, ptr %175, align 8, !tbaa !5
  invoke void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypes10visit_typeERS7_(ptr noundef nonnull align 8 dereferenceable(56) %167, ptr noundef nonnull align 8 dereferenceable(8) %2190)
          to label %2191 unwind label %2194

2191:                                             ; preds = %2188
  call void @llvm.lifetime.end.p0(i64 8, ptr %175) #0
  br label %2192

2192:                                             ; preds = %2191
  %2193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %173) #0
  br label %2185

2194:                                             ; preds = %2188
  %2195 = landingpad { ptr, i32 }
          cleanup
  %2196 = extractvalue { ptr, i32 } %2195, 0
  store ptr %2196, ptr %11, align 8
  %2197 = extractvalue { ptr, i32 } %2195, 1
  store i32 %2197, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %175) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %174) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %173) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %172) #0
  br label %2212

2198:                                             ; preds = %2187
  call void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %167) #0
  call void @llvm.lifetime.end.p0(i64 56, ptr %167) #0
  br label %2199

2199:                                             ; preds = %2198
  %2200 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %2201 unwind label %257

2201:                                             ; preds = %2199
  br i1 %2200, label %2202, label %2213

2202:                                             ; preds = %2201
  %2203 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %2204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %2203, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %2205 unwind label %257

2205:                                             ; preds = %2202
  %2206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %2204, ptr noundef @.str.79)
          to label %2207 unwind label %257

2207:                                             ; preds = %2205
  %2208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %2206, ptr noundef @_ZSt3decRSt8ios_base)
          to label %2209 unwind label %257

2209:                                             ; preds = %2207
  %2210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %2208, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %2211 unwind label %257

2211:                                             ; preds = %2209
  br label %2213

2212:                                             ; preds = %2194, %2172, %2162
  call void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %167) #0
  call void @llvm.lifetime.end.p0(i64 56, ptr %167) #0
  br label %2275

2213:                                             ; preds = %2211, %2201
  br label %2214

2214:                                             ; preds = %2213
  br label %2215

2215:                                             ; preds = %2214
  call void @llvm.lifetime.start.p0(i64 424, ptr %176) #0
  %2216 = load ptr, ptr %5, align 8, !tbaa !5
  %2217 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %2216, i32 0, i32 0
  %2218 = load ptr, ptr %2217, align 8, !tbaa !9
  invoke void @_ZN18StaticTraitResolveC2ERKN3HIR5CrateE(ptr noundef nonnull align 8 dereferenceable(424) %176, ptr noundef nonnull align 8 dereferenceable(944) %2218)
          to label %2219 unwind label %2244

2219:                                             ; preds = %2215
  %2220 = load ptr, ptr %5, align 8, !tbaa !5
  %2221 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %2220, i32 0, i32 2
  %2222 = load ptr, ptr %2221, align 8, !tbaa !19
  %2223 = load ptr, ptr %5, align 8, !tbaa !5
  %2224 = getelementptr inbounds %"struct.typeck::ModuleState", ptr %2223, i32 0, i32 3
  %2225 = load ptr, ptr %2224, align 8, !tbaa !20
  invoke void @_ZN18StaticTraitResolve21set_both_generics_rawEPKN3HIR13GenericParamsES3_(ptr noundef nonnull align 8 dereferenceable(424) %176, ptr noundef %2222, ptr noundef %2225)
          to label %2226 unwind label %2248

2226:                                             ; preds = %2219
  %2227 = load ptr, ptr %6, align 8, !tbaa !5
  %2228 = load ptr, ptr %7, align 8, !tbaa !5
  %2229 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_Z33Typecheck_Expressions_ValidateOneRK18StaticTraitResolveRKSt6vectorISt4pairIN3HIR7PatternENS4_7TypeRefEESaIS7_EERKS6_RKNS4_7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(424) %176, ptr noundef nonnull align 8 dereferenceable(24) %2227, ptr noundef nonnull align 8 dereferenceable(8) %2228, ptr noundef nonnull align 8 dereferenceable(72) %2229)
          to label %2230 unwind label %2248

2230:                                             ; preds = %2226
  br label %2231

2231:                                             ; preds = %2230
  %2232 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %2233 unwind label %2248

2233:                                             ; preds = %2231
  br i1 %2232, label %2234, label %2252

2234:                                             ; preds = %2233
  %2235 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !22
  %2236 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %2235, ptr noundef @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %2237 unwind label %2248

2237:                                             ; preds = %2234
  %2238 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %2236, ptr noundef @.str.80)
          to label %2239 unwind label %2248

2239:                                             ; preds = %2237
  %2240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %2238, ptr noundef @_ZSt3decRSt8ios_base)
          to label %2241 unwind label %2248

2241:                                             ; preds = %2239
  %2242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %2240, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %2243 unwind label %2248

2243:                                             ; preds = %2241
  br label %2252

2244:                                             ; preds = %2215
  %2245 = landingpad { ptr, i32 }
          cleanup
  %2246 = extractvalue { ptr, i32 } %2245, 0
  store ptr %2246, ptr %11, align 8
  %2247 = extractvalue { ptr, i32 } %2245, 1
  store i32 %2247, ptr %12, align 4
  br label %2274

2248:                                             ; preds = %2241, %2239, %2237, %2234, %2231, %2226, %2219
  %2249 = landingpad { ptr, i32 }
          cleanup
  %2250 = extractvalue { ptr, i32 } %2249, 0
  store ptr %2250, ptr %11, align 8
  %2251 = extractvalue { ptr, i32 } %2249, 1
  store i32 %2251, ptr %12, align 4
  br label %2273

2252:                                             ; preds = %2243, %2233
  br label %2253

2253:                                             ; preds = %2252
  br label %2254

2254:                                             ; preds = %2253
  call void @llvm.lifetime.start.p0(i64 24, ptr %177) #0
  %2255 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN16VisitMethodConstC2ES2_RK18StaticTraitResolve(ptr noundef nonnull align 8 dereferenceable(24) %177, ptr noundef nonnull align 8 dereferenceable(80) %2255, ptr noundef nonnull align 8 dereferenceable(424) %176)
          to label %2256 unwind label %2264

2256:                                             ; preds = %2254
  %2257 = load ptr, ptr %8, align 8, !tbaa !5
  %2258 = invoke noundef ptr @_ZN3HIR7ExprPtrptEv(ptr noundef nonnull align 8 dereferenceable(72) %2257)
          to label %2259 unwind label %2268

2259:                                             ; preds = %2256
  %2260 = load ptr, ptr %2258, align 8, !tbaa !33
  %2261 = getelementptr inbounds ptr, ptr %2260, i64 0
  %2262 = load ptr, ptr %2261, align 8
  invoke void %2262(ptr noundef nonnull align 8 dereferenceable(28) %2258, ptr noundef nonnull align 8 dereferenceable(8) %177)
          to label %2263 unwind label %2268

2263:                                             ; preds = %2259
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %177) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %177) #0
  call void @_ZN18StaticTraitResolveD2Ev(ptr noundef nonnull align 8 dereferenceable(424) %176) #0
  call void @llvm.lifetime.end.p0(i64 424, ptr %176) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #0
  call void @_ZN7ContextD2Ev(ptr noundef nonnull align 8 dereferenceable(592) %13) #0
  call void @llvm.lifetime.end.p0(i64 592, ptr %13) #0
  call void @_ZNSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #0
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #0
  ret void

2264:                                             ; preds = %2254
  %2265 = landingpad { ptr, i32 }
          cleanup
  %2266 = extractvalue { ptr, i32 } %2265, 0
  store ptr %2266, ptr %11, align 8
  %2267 = extractvalue { ptr, i32 } %2265, 1
  store i32 %2267, ptr %12, align 4
  br label %2272

2268:                                             ; preds = %2259, %2256
  %2269 = landingpad { ptr, i32 }
          cleanup
  %2270 = extractvalue { ptr, i32 } %2269, 0
  store ptr %2270, ptr %11, align 8
  %2271 = extractvalue { ptr, i32 } %2269, 1
  store i32 %2271, ptr %12, align 4
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %177) #0
  br label %2272

2272:                                             ; preds = %2268, %2264
  call void @llvm.lifetime.end.p0(i64 24, ptr %177) #0
  br label %2273

2273:                                             ; preds = %2272, %2248
  call void @_ZN18StaticTraitResolveD2Ev(ptr noundef nonnull align 8 dereferenceable(424) %176) #0
  br label %2274

2274:                                             ; preds = %2273, %2244
  call void @llvm.lifetime.end.p0(i64 424, ptr %176) #0
  br label %2275

2275:                                             ; preds = %2274, %2212, %2161, %2108, %2038, %2037, %2019, %1981, %1939, %1845, %1777, %1776, %1755, %257
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #0
  br label %2276

2276:                                             ; preds = %2275, %253
  call void @_ZN7ContextD2Ev(ptr noundef nonnull align 8 dereferenceable(592) %13) #0
  br label %2277

2277:                                             ; preds = %2276, %249
  call void @llvm.lifetime.end.p0(i64 592, ptr %13) #0
  call void @_ZNSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #0
  br label %2278

2278:                                             ; preds = %2277, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #0
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #0
  br label %2279

2279:                                             ; preds = %2278
  %2280 = load ptr, ptr %11, align 8
  %2281 = load i32, ptr %12, align 4
  %2282 = insertvalue { ptr, i32 } poison, ptr %2280, 0
  %2283 = insertvalue { ptr, i32 } %2282, i32 %2281, 1
  resume { ptr, i32 } %2283

2284:                                             ; preds = %2028, %1767
  unreachable
}

declare void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #2

declare void @_ZN3HIR7ExprPtr11into_uniqueEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.60") align 8, ptr noundef nonnull align 8 dereferenceable(72)) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ContextC2ERKN3HIR5CrateEPKNS0_13GenericParamsES6_RKNS0_10SimplePathEPKNS0_11GenericPathE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(944), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #1 align 2

declare void @_Z33Typecheck_Code_CS__EnumerateRulesR7ContextRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS7_7TypeRefEESaISA_EERKS9_RNS7_7ExprPtrERSt10unique_ptrINS7_8ExprNodeESt14default_deleteISJ_EE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7Context12take_changedEv(ptr noundef nonnull align 8 dereferenceable(592)) #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_112check_coerceER7ContextRKNS0_8CoercionE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7Context10AssociatedC2EOS0_(ptr noundef nonnull align 8 dereferenceable(73), ptr noundef nonnull align 8 dereferenceable(73)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_116check_associatedER7ContextRKNS0_10AssociatedE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(73)) #1

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_119ExprVisitor_RevisitC2ER7Contextb(ptr noundef nonnull align 8 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(592), i1 noundef zeroext) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK12_GLOBAL__N_119ExprVisitor_Revisit14node_completedEv(ptr noundef nonnull align 8 dereferenceable(18)) #5 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592), i32 noundef, ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #1

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

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #0

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN16HMTypeInferrence14apply_defaultsEv(ptr noundef nonnull align 8 dereferenceable(49)) #2

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN15TraitResolution13compact_ivarsER16HMTypeInferrence(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(49)) #2

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

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

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

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

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

declare void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) #2

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef ptr @_ZNK3HIR8ExprNode9type_nameEv(ptr noundef nonnull align 8 dereferenceable(28)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR7ExprPtr5resetEPNS_8ExprNodeE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) #1 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_117ExprVisitor_Apply14visit_node_ptrERN3HIR7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypes10visit_typeERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolveC2ERKN3HIR5CrateE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(944)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolve21set_both_generics_rawEPKN3HIR13GenericParamsES3_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef, ptr noundef) #1 align 2

declare void @_Z33Typecheck_Expressions_ValidateOneRK18StaticTraitResolveRKSt6vectorISt4pairIN3HIR7PatternENS4_7TypeRefEESaIS7_EERKS6_RKNS4_7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(72)) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN16VisitMethodConstC2ES2_RK18StaticTraitResolve(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(424)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7ContextD2Ev(ptr noundef nonnull align 8 dereferenceable(592)) 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 #5 align 2

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

attributes #0 = { nounwind }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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 #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #10 = { noreturn nounwind }
attributes #11 = { 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 = !{!"_ZTSN6typeck11ModuleStateE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !15, i64 56}
!11 = !{!"_ZTSSt6vectorISt4pairIPKN3HIR10SimplePathEPKNS1_5TraitEESaIS8_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN3HIR10SimplePathEPKNS1_5TraitEESaIS8_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN3HIR10SimplePathEPKNS1_5TraitEESaIS8_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN3HIR10SimplePathEPKNS1_5TraitEESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTSSt6vectorIN3HIR10SimplePathESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN3HIR10SimplePathESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3HIR10SimplePathESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3HIR10SimplePathESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!10, !6, i64 16}
!20 = !{!10, !6, i64 24}
!21 = !{!10, !6, i64 8}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !7, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!27, !6, i64 16}
!27 = !{!"_ZTSN7Context8CoercionE", !23, i64 0, !28, i64 8, !6, i64 16}
!28 = !{!"_ZTSN3HIR7TypeRefE", !6, i64 0}
!29 = !{!27, !23, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = !{!34, !34, i64 0}
!34 = !{!"vtable pointer", !8, i64 0}
!35 = !{i64 0, i64 8, !5}
!36 = distinct !{!36, !31}
!37 = distinct !{!37, !31}
!38 = distinct !{!38, !31}
!39 = !{!"branch_weights", i32 1, i32 1048575}
!40 = distinct !{!40, !31}
!41 = distinct !{!41, !31}
!42 = distinct !{!42, !31}
!43 = distinct !{!43, !31}
!44 = distinct !{!44, !31}
!45 = distinct !{!45, !31}
!46 = distinct !{!46, !31}
!47 = distinct !{!47, !31}
!48 = distinct !{!48, !31}
!49 = !{!50, !23, i64 0}
!50 = !{!"_ZTSN3HIR8TypeData10Data_InferE", !23, i64 0, !51, i64 4}
!51 = !{!"_ZTSN3HIR10InferClassE", !7, i64 0}
!52 = distinct !{!52, !31}
!53 = distinct !{!53, !31}


; 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"

%struct.Span = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%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.std::unique_ptr.60" = type { %"struct.std::__uniq_ptr_data.61" }
%"struct.std::__uniq_ptr_data.61" = type { %"class.std::__uniq_ptr_impl.62" }
%"class.std::__uniq_ptr_impl.62" = type { %"class.std::tuple.63" }
%"class.std::tuple.63" = type { %"struct.std::_Tuple_impl.64" }
%"struct.std::_Tuple_impl.64" = type { %"struct.std::_Head_base.67" }
%"struct.std::_Head_base.67" = type { ptr }
%struct.Context = type { ptr, %"class.std::vector", %class.HMTypeInferrence, %class.TraitResolution, i32, %"class.std::vector.23", %"class.std::vector.28", %"class.std::vector.33", %"class.std::vector.38", %"class.std::vector.43", %"class.std::vector.47", %"class.std::map.52", %"struct.HIR::SimplePath" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0", %"class.std::vector.5", i8, [7 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.18" }
%struct.TraitResolveCommon = type { ptr, ptr, ptr, %"class.std::map", %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" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = 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.13", [8 x i8] }>
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = 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.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = 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.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = 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.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = 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.43" = 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.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = 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.52" = type { %"class.std::_Rb_tree.53" }
%"class.std::_Rb_tree.53" = 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" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.anon.530 = 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.59" }
%"struct.std::_Head_base.59" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.531" = type { ptr }
%"struct.Context::Associated" = type <{ i32, [4 x i8], %struct.Span, %"class.HIR::TypeRef", %"struct.HIR::SimplePath", %"struct.HIR::PathParams", %"class.HIR::TypeRef", %class.RcString, i8, [7 x i8] }>
%"struct.HIR::PathParams" = type { %class.ThinVector.69, %class.ThinVector.70, %class.ThinVector.71 }
%class.ThinVector.69 = type { ptr }
%class.ThinVector.70 = type { ptr }
%class.ThinVector.71 = type { ptr }
%class.RcString = type { ptr }
%"class.__gnu_cxx::__normal_iterator.532" = type { ptr }
%"class.(anonymous namespace)::ExprVisitor_Revisit" = type <{ %"class.HIR::ExprVisitor", ptr, i8, i8, [6 x i8] }>
%"class.HIR::ExprVisitor" = type { ptr }
%"struct.HMTypeInferrence::FmtType" = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.72" = type { ptr }
%struct.FmtLambda = type { %"class.std::function" }
%class.anon.533 = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.73" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.534" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.535" = type { ptr }
%class.anon.536 = type { ptr }
%"struct.std::_Rb_tree_const_iterator.537" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.538" = type { ptr }
%class.anon.539 = type { i8 }
%class.anon.541 = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.500" = type { ptr }
%class.anon.542 = type { ptr, ptr }
%class.anon.543 = type { ptr, ptr }
%class.anon.544 = type { ptr, ptr }
%class.anon.545 = type { ptr }
%class.anon.546 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.548" = type { ptr }
%"class.(anonymous namespace)::ExprVisitor_Apply" = type { %"class.HIR::ExprVisitorDef", ptr, ptr }
%"class.HIR::ExprVisitorDef" = type { %"class.HIR::ExprVisitor" }
%struct.CompactTypes = type { %"class.HIR::ExprVisitorDef", %"class.std::map.549" }
%"class.std::map.549" = type { %"class.std::_Rb_tree.550" }
%"class.std::_Rb_tree.550" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, HIR::TypeRef>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, HIR::TypeRef>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, HIR::TypeRef>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, HIR::TypeRef>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.__gnu_cxx::__normal_iterator.513" = type { ptr }
%class.StaticTraitResolve = type { ptr, %struct.TraitResolveCommon, i32, %"class.std::map.555", %"class.std::map.555", %"class.std::map.555", %"class.std::map.549" }
%"class.std::map.555" = type { %"class.std::_Rb_tree.556" }
%"class.std::_Rb_tree.556" = type { %"struct.std::_Rb_tree<HIR::TypeRef, std::pair<const HIR::TypeRef, bool>, std::_Select1st<std::pair<const HIR::TypeRef, bool>>, std::less<HIR::TypeRef>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::TypeRef, std::pair<const HIR::TypeRef, bool>, std::_Select1st<std::pair<const HIR::TypeRef, bool>>, std::less<HIR::TypeRef>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%struct.VisitMethodConst = type { %"class.HIR::ExprVisitorDef", ptr, ptr }

@__dso_handle = external hidden global i8
@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.21 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE = external hidden unnamed_addr constant [18 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE = external hidden unnamed_addr constant [104 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [23 x i8], align 1
@_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp = external hidden global %struct.Span, align 8
@_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp = external hidden global i64, align 8
@.str.66 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #0

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN16HMTypeInferrence7FmtTypeE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK16HMTypeInferrence8fmt_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN7Context10AssociatedE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK9FmtLambda(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9FmtLambdaC2ESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Context12equate_typesERK4SpanRKN3HIR7TypeRefES6_(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)) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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 #7

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

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

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

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

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

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

declare void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

declare void @_ZN16HMTypeInferrence11set_ivar_toEjN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49), i32 noundef, ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 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 #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16HMTypeInferrence11mark_changeEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN16HMTypeInferrence8get_typeEj(ptr noundef nonnull align 8 dereferenceable(49), i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(72) %3) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %"class.std::unique_ptr.60", align 8
  %7 = alloca %struct.Context, align 8
  %8 = alloca i32, align 4
  %9 = alloca %class.TraceLog, align 8
  %10 = alloca %"class.std::function", align 8
  %11 = alloca %class.anon.530, align 8
  %12 = alloca %"class.std::unique_ptr", align 8
  %13 = alloca %"class.HIR::TypeRef", align 8
  %14 = alloca %"class.HIR::TypeRef", align 8
  %15 = alloca %"class.HIR::TypeRef", align 8
  %16 = alloca %"class.HIR::TypeRef", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %20 = alloca %"struct.Context::Associated", align 8
  %21 = alloca %"class.HIR::TypeRef", align 8
  %22 = alloca %"class.HIR::TypeRef", align 8
  %23 = alloca %"class.HIR::TypeRef", align 8
  %24 = alloca %"class.HIR::TypeRef", align 8
  %25 = alloca %"class.HIR::TypeRef", align 8
  %26 = alloca %"class.HIR::TypeRef", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %29 = alloca %"class.(anonymous namespace)::ExprVisitor_Revisit", align 8
  %30 = alloca %"struct.HMTypeInferrence::FmtType", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.72", align 8
  %32 = alloca %"class.std::vector.43", align 8
  %33 = alloca %struct.FmtLambda, align 8
  %34 = alloca %"class.std::function", align 8
  %35 = alloca %class.anon.533, align 8
  %36 = alloca %"struct.std::_Bit_reference", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.73", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.535", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator.535", align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.535", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.535", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %46 = alloca %"class.(anonymous namespace)::ExprVisitor_Revisit", align 8
  %47 = alloca %"struct.HMTypeInferrence::FmtType", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.72", align 8
  %49 = alloca %"class.std::vector.43", align 8
  %50 = alloca %struct.FmtLambda, align 8
  %51 = alloca %"class.std::function", align 8
  %52 = alloca %class.anon.536, align 8
  %53 = alloca %"struct.std::_Bit_reference", align 8
  %54 = alloca %"class.__gnu_cxx::__normal_iterator.73", align 8
  %55 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %57 = alloca %"class.HIR::TypeRef", align 8
  %58 = alloca %"struct.std::_Rb_tree_const_iterator.537", align 8
  %59 = alloca %"class.std::unique_ptr", align 8
  %60 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %61 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %62 = alloca %"class.HIR::TypeRef", align 8
  %63 = alloca %"class.HIR::TypeRef", align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator.538", align 8
  %65 = alloca %"class.__gnu_cxx::__normal_iterator.538", align 8
  %66 = alloca %struct.Span, align 8
  %67 = alloca %"class.std::function", align 8
  %68 = alloca %class.anon.539, align 1
  %69 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %70 = alloca %"class.__gnu_cxx::__normal_iterator.531", align 8
  %71 = alloca %struct.Span, align 8
  %72 = alloca %"class.std::function", align 8
  %73 = alloca %class.anon.541, align 8
  %74 = alloca %"class.__gnu_cxx::__normal_iterator.500", align 8
  %75 = alloca %"class.__gnu_cxx::__normal_iterator.500", align 8
  %76 = alloca %"class.HIR::TypeRef", align 8
  %77 = alloca %struct.Span, align 8
  %78 = alloca %"class.std::function", align 8
  %79 = alloca %class.anon.542, align 8
  %80 = alloca %struct.Span, align 8
  %81 = alloca %"class.std::function", align 8
  %82 = alloca %class.anon.543, align 8
  %83 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %84 = alloca %"class.__gnu_cxx::__normal_iterator.532", align 8
  %85 = alloca %struct.Span, align 8
  %86 = alloca %"class.std::function", align 8
  %87 = alloca %class.anon.544, align 8
  %88 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %89 = alloca %"class.__gnu_cxx::__normal_iterator.534", align 8
  %90 = alloca %struct.Span, align 8
  %91 = alloca %"class.std::function", align 8
  %92 = alloca %class.anon.545, align 8
  %93 = alloca %struct.Span, align 8
  %94 = alloca %"class.std::function", align 8
  %95 = alloca %class.anon.546, align 1
  %96 = alloca %"class.__gnu_cxx::__normal_iterator.548", align 8
  %97 = alloca %"class.__gnu_cxx::__normal_iterator.548", align 8
  %98 = alloca %"class.HIR::TypeRef", align 8
  %99 = alloca %"class.(anonymous namespace)::ExprVisitor_Apply", align 8
  %100 = alloca %struct.CompactTypes, align 8
  %101 = alloca %"class.__gnu_cxx::__normal_iterator.513", align 8
  %102 = alloca %"class.__gnu_cxx::__normal_iterator.513", align 8
  %103 = alloca %"class.__gnu_cxx::__normal_iterator.513", align 8
  %104 = alloca %"class.__gnu_cxx::__normal_iterator.513", align 8
  %105 = alloca %class.StaticTraitResolve, align 8
  %106 = alloca %struct.VisitMethodConst, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #9
  %107 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %108 = select i1 %107, ptr @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %108)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  invoke void @_ZN3HIR7ExprPtr11into_uniqueEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.60") align 8 %6, ptr noundef nonnull align 8 dereferenceable(72) %3)
          to label %109 unwind label %113

109:                                              ; preds = %4
  %110 = getelementptr inbounds i8, ptr %0, i64 56
  %111 = call noundef zeroext i1 @_ZNKSt6vectorIN3HIR10SimplePathESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #9
  br i1 %111, label %112, label %115

112:                                              ; preds = %109
  call void @__assert_fail(ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.21, i32 noundef 7796, ptr noundef nonnull @__PRETTY_FUNCTION__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE) #10
  unreachable

113:                                              ; preds = %4
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %1262

115:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 592, ptr nonnull %7) #9
  %116 = load ptr, ptr %0, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %0, i64 16
  %118 = load ptr, ptr %117, align 8, !tbaa !18
  %119 = getelementptr inbounds i8, ptr %0, i64 24
  %120 = load ptr, ptr %119, align 8, !tbaa !19
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIN3HIR10SimplePathESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #9
  %122 = getelementptr inbounds i8, ptr %0, i64 8
  %123 = load ptr, ptr %122, align 8, !tbaa !20
  invoke void @_ZN7ContextC2ERKN3HIR5CrateEPKNS0_13GenericParamsES6_RKNS0_10SimplePathEPKNS0_11GenericPathE(ptr noundef nonnull align 8 dereferenceable(592) %7, ptr noundef nonnull align 8 dereferenceable(944) %116, ptr noundef %118, ptr noundef %120, ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef %123)
          to label %124 unwind label %167

124:                                              ; preds = %115
  invoke void @_Z33Typecheck_Code_CS__EnumerateRulesR7ContextRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS7_7TypeRefEESaISA_EERKS9_RNS7_7ExprPtrERSt10unique_ptrINS7_8ExprNodeESt14default_deleteISJ_EE(ptr noundef nonnull align 8 dereferenceable(592) %7, ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %125 unwind label %169

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #9
  store i32 0, ptr %8, align 4, !tbaa !21
  %126 = getelementptr inbounds i8, ptr %7, i64 32
  %127 = getelementptr inbounds i8, ptr %7, i64 376
  %128 = getelementptr inbounds i8, ptr %7, i64 88
  %129 = getelementptr inbounds i8, ptr %7, i64 400
  %130 = getelementptr inbounds i8, ptr %20, i64 40
  %131 = getelementptr inbounds i8, ptr %20, i64 8
  %132 = getelementptr inbounds i8, ptr %20, i64 64
  %133 = getelementptr inbounds i8, ptr %20, i64 16
  %134 = getelementptr inbounds i8, ptr %20, i64 56
  %135 = getelementptr inbounds i8, ptr %7, i64 424
  %136 = getelementptr inbounds i8, ptr %30, i64 8
  %137 = getelementptr inbounds i8, ptr %7, i64 448
  %138 = getelementptr inbounds i8, ptr %36, i64 8
  %139 = getelementptr inbounds i8, ptr %7, i64 512
  %140 = getelementptr inbounds i8, ptr %47, i64 8
  %141 = getelementptr inbounds i8, ptr %53, i64 8
  br label %142

142:                                              ; preds = %986, %125
  %143 = invoke noundef zeroext i1 @_ZN7Context12take_changedEv(ptr noundef nonnull align 8 dereferenceable(592) %7)
          to label %144 unwind label %.loopexit327

144:                                              ; preds = %142
  %145 = load i32, ptr %8, align 4
  %146 = icmp ult i32 %145, 1000
  %147 = select i1 %143, i1 %146, i1 false
  br i1 %147, label %148, label %989

148:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #9
  %149 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %150 unwind label %171

150:                                              ; preds = %148
  %151 = select i1 %149, ptr @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  store ptr %8, ptr %11, align 8, !tbaa !23
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef %151, ptr noundef nonnull %10)
          to label %152 unwind label %173

152:                                              ; preds = %150
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  invoke void @_ZNK7Context4dumpEv(ptr noundef nonnull align 8 dereferenceable(592) %7)
          to label %153 unwind label %175

153:                                              ; preds = %152
  %154 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %154, label %.loopexit325, label %155

155:                                              ; preds = %153
  %156 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %157 unwind label %175

157:                                              ; preds = %155
  br i1 %156, label %158, label %177

158:                                              ; preds = %157
  %159 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %159, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %161 unwind label %175

161:                                              ; preds = %158
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %160, ptr noundef nonnull @.str.54)
          to label %163 unwind label %175

163:                                              ; preds = %161
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %162, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %165 unwind label %175

165:                                              ; preds = %163
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %177 unwind label %175

167:                                              ; preds = %115
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %1261

169:                                              ; preds = %124
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %1260

.loopexit327:                                     ; preds = %142
  %lpad.loopexit329 = landingpad { ptr, i32 }
          cleanup
  br label %1259

.loopexit.split-lp328:                            ; preds = %.invoke, %1007, %1126, %1129, %1132, %1134, %1137, %1139, %1141, %1145, %1147, %1149, %1151, %._crit_edge440, %1172, %1175, %1177, %1180, %1182, %1184, %1186, %._crit_edge446, %1218, %1221, %1223, %1225
  %lpad.loopexit.split-lp330 = landingpad { ptr, i32 }
          cleanup
  br label %1259

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

173:                                              ; preds = %150
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %988

175:                                              ; preds = %._crit_edge437, %915, %913, %911, %908, %905, %867, %865, %863, %860, %857, %854, %851, %849, %847, %845, %842, %839, %823, %821, %819, %816, %813, %797, %795, %793, %790, %787, %652, %650, %648, %645, %642, %626, %624, %622, %619, %616, %600, %598, %596, %593, %590, %574, %572, %570, %567, %564, %516, %514, %512, %509, %506, %371, %369, %367, %364, %361, %258, %256, %254, %251, %._crit_edge, %165, %163, %161, %158, %155, %152
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %987

177:                                              ; preds = %165, %157
  %178 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  %.not459 = icmp eq i64 %178, 0
  br i1 %.not459, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %246, %177
  %179 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %250 unwind label %175

.lr.ph:                                           ; preds = %177, %246
  %.0218375 = phi i64 [ %.1219, %246 ], [ 0, %177 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %180 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef %.0218375) #9
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %180) #9
  %181 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %182 = getelementptr inbounds i8, ptr %181, i64 16
  %183 = load ptr, ptr %182, align 8, !tbaa !24
  %184 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %183) #9
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %184)
  %186 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %187 = getelementptr inbounds i8, ptr %186, i64 16
  %188 = load ptr, ptr %187, align 8, !tbaa !24
  %189 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %188) #9
  %190 = getelementptr inbounds i8, ptr %189, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  call void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %190)
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %13, ptr noundef nonnull align 8 dereferenceable(280) %128, ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull %14)
          to label %191 unwind label %228

191:                                              ; preds = %.lr.ph
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %193 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %194 = getelementptr inbounds i8, ptr %193, i64 8
  call void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %194)
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %15, ptr noundef nonnull align 8 dereferenceable(280) %128, ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull %16)
          to label %195 unwind label %230

195:                                              ; preds = %191
  %196 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %197 = getelementptr inbounds i8, ptr %196, i64 8
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  %199 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %200 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_112check_coerceER7ContextRKNS0_8CoercionE(ptr noundef nonnull align 8 dereferenceable(592) %7, ptr noundef nonnull align 8 dereferenceable(24) %199)
          to label %201 unwind label %232

201:                                              ; preds = %195
  br i1 %200, label %202, label %242

202:                                              ; preds = %201
  %203 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %204 unwind label %232

204:                                              ; preds = %202
  br i1 %203, label %205, label %234

205:                                              ; preds = %204
  %206 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %206, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %208 unwind label %232

208:                                              ; preds = %205
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %207, ptr noundef nonnull @.str.55)
          to label %210 unwind label %232

210:                                              ; preds = %208
  %211 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %212 = load i32, ptr %211, align 8, !tbaa !27
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %209, i32 noundef %212)
          to label %214 unwind label %232

214:                                              ; preds = %210
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef nonnull @.str.1)
          to label %216 unwind label %232

216:                                              ; preds = %214
  %217 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %218 = getelementptr inbounds i8, ptr %217, i64 8
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef nonnull align 8 dereferenceable(8) %218)
          to label %220 unwind label %232

220:                                              ; preds = %216
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %219, ptr noundef nonnull @.str.10)
          to label %222 unwind label %232

222:                                              ; preds = %220
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef nonnull align 8 dereferenceable(8) %190)
          to label %224 unwind label %232

224:                                              ; preds = %222
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %226 unwind label %232

226:                                              ; preds = %224
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %225, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %234 unwind label %232

228:                                              ; preds = %.lr.ph
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %249

230:                                              ; preds = %191
  %231 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  br label %249

232:                                              ; preds = %226, %224, %222, %220, %216, %214, %210, %208, %205, %202, %195
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %249

234:                                              ; preds = %226, %204
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %235 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  store ptr %235, ptr %19, align 8
  %236 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %19, i64 noundef %.0218375) #9
  store ptr %236, ptr %18, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  %237 = load ptr, ptr %17, align 8
  %238 = invoke ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %127, ptr %237)
          to label %239 unwind label %240

239:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %246

240:                                              ; preds = %234
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %249

242:                                              ; preds = %201
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef %.0218375) #9
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %245 = add nuw i64 %.0218375, 1
  br label %246

246:                                              ; preds = %242, %239
  %.1219 = phi i64 [ %.0218375, %239 ], [ %245, %242 ]
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  %247 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  %248 = icmp ult i64 %.1219, %247
  br i1 %248, label %.lr.ph, label %._crit_edge, !llvm.loop !28

249:                                              ; preds = %240, %232, %230, %228
  %.pn277 = phi { ptr, i32 } [ %241, %240 ], [ %233, %232 ], [ %231, %230 ], [ %229, %228 ]
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %987

250:                                              ; preds = %._crit_edge
  br i1 %179, label %251, label %260

251:                                              ; preds = %250
  %252 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %252, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %254 unwind label %175

254:                                              ; preds = %251
  %255 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %253, ptr noundef nonnull @.str.56)
          to label %256 unwind label %175

256:                                              ; preds = %254
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %255, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %258 unwind label %175

258:                                              ; preds = %256
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %257, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %260 unwind label %175

260:                                              ; preds = %258, %250
  %261 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %262 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %.not460 = icmp eq i64 %262, 0
  br i1 %.not460, label %.loopexit325, label %.lr.ph384.preheader

.lr.ph384.preheader:                              ; preds = %260
  %.tr = trunc i64 %261 to i32
  %263 = shl i32 %.tr, 2
  br label %.lr.ph384

.critedge:                                        ; preds = %344
  %264 = add i32 %.0220382, -1
  call void @_ZN7Context10AssociatedD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %20) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #9
  %265 = zext i32 %.1222 to i64
  %266 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %267 = icmp ugt i64 %266, %265
  br i1 %267, label %.lr.ph384, label %.loopexit325

.lr.ph384:                                        ; preds = %.lr.ph384.preheader, %.critedge
  %268 = phi i64 [ %265, %.critedge ], [ 0, %.lr.ph384.preheader ]
  %.0220382 = phi i32 [ %264, %.critedge ], [ %263, %.lr.ph384.preheader ]
  %.0221381 = phi i32 [ %.1222, %.critedge ], [ 0, %.lr.ph384.preheader ]
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %20) #9
  %269 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %268) #9
  invoke void @_ZN7Context10AssociatedC2EOS0_(ptr noundef nonnull align 8 dereferenceable(73) %20, ptr noundef nonnull align 8 dereferenceable(73) %269)
          to label %270 unwind label %284

270:                                              ; preds = %.lr.ph384
  %271 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %272 unwind label %.loopexit326

272:                                              ; preds = %270
  br i1 %271, label %273, label %286

273:                                              ; preds = %272
  %274 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %274, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %276 unwind label %.loopexit326

276:                                              ; preds = %273
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %275, ptr noundef nonnull @.str.57)
          to label %278 unwind label %.loopexit326

278:                                              ; preds = %276
  %279 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN7Context10AssociatedE(ptr noundef nonnull align 8 dereferenceable(8) %277, ptr noundef nonnull align 8 dereferenceable(73) %20)
          to label %280 unwind label %.loopexit326

280:                                              ; preds = %278
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %279, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %282 unwind label %.loopexit326

282:                                              ; preds = %280
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %281, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %286 unwind label %.loopexit326

284:                                              ; preds = %.lr.ph384
  %285 = landingpad { ptr, i32 }
          cleanup
  br label %359

.loopexit326:                                     ; preds = %270, %273, %276, %278, %280, %282, %._crit_edge380, %302, %306, %309, %312, %314, %316, %318, %321, %323, %325, %327, %334, %339
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %358

.loopexit.split-lp:                               ; preds = %345, %348, %351, %353, %355
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %358

286:                                              ; preds = %282, %272
  %287 = call noundef ptr @_ZN10ThinVectorIN3HIR7TypeRefEE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %130)
  %288 = call noundef ptr @_ZN10ThinVectorIN3HIR7TypeRefEE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %130)
  %.not376 = icmp eq ptr %287, %288
  br i1 %.not376, label %._crit_edge380, label %.lr.ph379

._crit_edge380:                                   ; preds = %290, %286
  %289 = invoke noundef zeroext i1 @_ZNK8RcStringneEPKc(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull @.str.22)
          to label %295 unwind label %.loopexit326

.lr.ph379:                                        ; preds = %286, %290
  %.0224377 = phi ptr [ %292, %290 ], [ %287, %286 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  call void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %.0224377)
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %21, ptr noundef nonnull align 8 dereferenceable(280) %128, ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull %22)
          to label %290 unwind label %293

290:                                              ; preds = %.lr.ph379
  %291 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %.0224377, ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  %292 = getelementptr inbounds i8, ptr %.0224377, i64 8
  %.not = icmp eq ptr %292, %288
  br i1 %.not, label %._crit_edge380, label %.lr.ph379

293:                                              ; preds = %.lr.ph379
  %294 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %358

295:                                              ; preds = %._crit_edge380
  br i1 %289, label %296, label %301

296:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  call void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %133)
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %23, ptr noundef nonnull align 8 dereferenceable(280) %128, ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull %24)
          to label %297 unwind label %299

297:                                              ; preds = %296
  %298 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br label %301

299:                                              ; preds = %296
  %300 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br label %358

301:                                              ; preds = %297, %295
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  call void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %134)
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %25, ptr noundef nonnull align 8 dereferenceable(280) %128, ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull %26)
          to label %302 unwind label %329

302:                                              ; preds = %301
  %303 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull align 8 dereferenceable(8) %25)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  %304 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_116check_associatedER7ContextRKNS0_10AssociatedE(ptr noundef nonnull align 8 dereferenceable(592) %7, ptr noundef nonnull align 8 dereferenceable(73) %20)
          to label %305 unwind label %.loopexit326

305:                                              ; preds = %302
  br i1 %304, label %306, label %339

306:                                              ; preds = %305
  %307 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %308 unwind label %.loopexit326

308:                                              ; preds = %306
  br i1 %307, label %309, label %331

309:                                              ; preds = %308
  %310 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %310, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %312 unwind label %.loopexit326

312:                                              ; preds = %309
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %311, ptr noundef nonnull @.str.58)
          to label %314 unwind label %.loopexit326

314:                                              ; preds = %312
  %315 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %313, i32 noundef %.0221381)
          to label %316 unwind label %.loopexit326

316:                                              ; preds = %314
  %317 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %315, ptr noundef nonnull @.str.59)
          to label %318 unwind label %.loopexit326

318:                                              ; preds = %316
  %319 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %317, i64 noundef %319)
          to label %321 unwind label %.loopexit326

321:                                              ; preds = %318
  %322 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %320, ptr noundef nonnull @.str.60)
          to label %323 unwind label %.loopexit326

323:                                              ; preds = %321
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN7Context10AssociatedE(ptr noundef nonnull align 8 dereferenceable(8) %322, ptr noundef nonnull align 8 dereferenceable(73) %20)
          to label %325 unwind label %.loopexit326

325:                                              ; preds = %323
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %324, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %327 unwind label %.loopexit326

327:                                              ; preds = %325
  %328 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %326, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %331 unwind label %.loopexit326

329:                                              ; preds = %301
  %330 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %358

331:                                              ; preds = %327, %308
  %332 = call noundef i64 @_ZNKSt6vectorIN7Context10AssociatedESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %333 = add i64 %332, -1
  %.not272 = icmp eq i64 %333, %268
  br i1 %.not272, label %338, label %334

334:                                              ; preds = %331
  %335 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %336 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %268) #9
  %337 = invoke noundef nonnull align 8 dereferenceable(73) ptr @_ZN7Context10AssociatedaSEOS0_(ptr noundef nonnull align 8 dereferenceable(73) %336, ptr noundef nonnull align 8 dereferenceable(73) %335)
          to label %338 unwind label %.loopexit326

338:                                              ; preds = %334, %331
  call void @_ZNSt6vectorIN7Context10AssociatedESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  br label %344

339:                                              ; preds = %305
  %340 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %268) #9
  %341 = invoke noundef nonnull align 8 dereferenceable(73) ptr @_ZN7Context10AssociatedaSEOS0_(ptr noundef nonnull align 8 dereferenceable(73) %340, ptr noundef nonnull align 8 dereferenceable(73) %20)
          to label %342 unwind label %.loopexit326

342:                                              ; preds = %339
  %343 = add i32 %.0221381, 1
  br label %344

344:                                              ; preds = %342, %338
  %.1222 = phi i32 [ %.0221381, %338 ], [ %343, %342 ]
  %.not273 = icmp eq i32 %.0220382, 0
  br i1 %.not273, label %345, label %.critedge

345:                                              ; preds = %344
  %346 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %347 unwind label %.loopexit.split-lp

347:                                              ; preds = %345
  br i1 %346, label %348, label %357

348:                                              ; preds = %347
  %349 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %349, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %351 unwind label %.loopexit.split-lp

351:                                              ; preds = %348
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %350, ptr noundef nonnull @.str.61)
          to label %353 unwind label %.loopexit.split-lp

353:                                              ; preds = %351
  %354 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %352, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %355 unwind label %.loopexit.split-lp

355:                                              ; preds = %353
  %356 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %354, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %357 unwind label %.loopexit.split-lp

357:                                              ; preds = %347, %355
  call void @_ZN7Context10AssociatedD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %20) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #9
  br label %.loopexit325, !llvm.loop !30

358:                                              ; preds = %.loopexit326, %.loopexit.split-lp, %329, %299, %293
  %.pn274 = phi { ptr, i32 } [ %294, %293 ], [ %330, %329 ], [ %300, %299 ], [ %lpad.loopexit, %.loopexit326 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN7Context10AssociatedD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %20) #9
  br label %359

359:                                              ; preds = %358, %284
  %.pn274.pn = phi { ptr, i32 } [ %.pn274, %358 ], [ %285, %284 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #9
  br label %987

.loopexit325:                                     ; preds = %.critedge, %260, %357, %153
  %360 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %360, label %504, label %361

361:                                              ; preds = %.loopexit325
  %362 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %363 unwind label %175

363:                                              ; preds = %361
  br i1 %362, label %364, label %373

364:                                              ; preds = %363
  %365 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %366 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %365, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %367 unwind label %175

367:                                              ; preds = %364
  %368 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %366, ptr noundef nonnull @.str.62)
          to label %369 unwind label %175

369:                                              ; preds = %367
  %370 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %368, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %371 unwind label %175

371:                                              ; preds = %369
  %372 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %370, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %373 unwind label %175

373:                                              ; preds = %371, %363
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #9
  %374 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  store ptr %374, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  %375 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  store ptr %375, ptr %28, align 8
  %376 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  br i1 %376, label %.lr.ph386, label %._crit_edge387

._crit_edge387:                                   ; preds = %450, %373
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %32) #9
  call void @_ZNSt6vectorIbSaIbEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #9
  %377 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #9
  %.not461 = icmp eq i64 %377, 0
  br i1 %.not461, label %._crit_edge393, label %.lr.ph390

.lr.ph386:                                        ; preds = %373, %450
  %378 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  %379 = load ptr, ptr %378, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #9
  call void @_ZN12_GLOBAL__N_119ExprVisitor_RevisitC2ER7Contextb(ptr noundef nonnull align 8 dereferenceable(18) %29, ptr noundef nonnull align 8 dereferenceable(592) %7, i1 noundef zeroext false)
  %380 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %381 unwind label %411

381:                                              ; preds = %.lr.ph386
  br i1 %380, label %382, label %415

382:                                              ; preds = %381
  %383 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %383, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %385 unwind label %411

385:                                              ; preds = %382
  %386 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %384, ptr noundef nonnull @.str.63)
          to label %387 unwind label %411

387:                                              ; preds = %385
  %388 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %386, ptr noundef %379)
          to label %389 unwind label %411

389:                                              ; preds = %387
  %390 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %388, ptr noundef nonnull @.str.1)
          to label %391 unwind label %411

391:                                              ; preds = %389
  %392 = load ptr, ptr %379, align 8, !tbaa !31
  %393 = getelementptr inbounds i8, ptr %392, i64 -8
  %394 = load ptr, ptr %393, align 8
  %395 = call noundef ptr @_ZNKSt9type_info4nameEv(ptr noundef nonnull align 8 dereferenceable(16) %394) #9
  %396 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %390, ptr noundef %395)
          to label %397 unwind label %411

397:                                              ; preds = %391
  %398 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %396, ptr noundef nonnull @.str.13)
          to label %399 unwind label %411

399:                                              ; preds = %397
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #9
  %400 = getelementptr inbounds i8, ptr %379, i64 16
  %401 = invoke { ptr, ptr } @_ZNK16HMTypeInferrence8fmt_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49) %126, ptr noundef nonnull align 8 dereferenceable(8) %400)
          to label %402 unwind label %413

402:                                              ; preds = %399
  %403 = extractvalue { ptr, ptr } %401, 0
  store ptr %403, ptr %30, align 8
  %404 = extractvalue { ptr, ptr } %401, 1
  store ptr %404, ptr %136, align 8
  %405 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN16HMTypeInferrence7FmtTypeE(ptr noundef nonnull align 8 dereferenceable(8) %398, ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %406 unwind label %413

406:                                              ; preds = %402
  %407 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %405, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %408 unwind label %413

408:                                              ; preds = %406
  %409 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %407, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %410 unwind label %413

410:                                              ; preds = %408
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #9
  br label %415

411:                                              ; preds = %440, %438, %432, %430, %428, %426, %423, %420, %415, %397, %391, %389, %387, %385, %382, %.lr.ph386
  %412 = landingpad { ptr, i32 }
          cleanup
  br label %453

413:                                              ; preds = %408, %406, %402, %399
  %414 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #9
  br label %453

415:                                              ; preds = %410, %381
  %416 = load ptr, ptr %379, align 8, !tbaa !31
  %417 = load ptr, ptr %416, align 8
  invoke void %417(ptr noundef nonnull align 8 dereferenceable(28) %379, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %418 unwind label %411

418:                                              ; preds = %415
  %419 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_119ExprVisitor_Revisit14node_completedEv(ptr noundef nonnull align 8 dereferenceable(18) %29)
  br i1 %419, label %420, label %448

420:                                              ; preds = %418
  %421 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %422 unwind label %411

422:                                              ; preds = %420
  br i1 %421, label %423, label %442

423:                                              ; preds = %422
  %424 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %425 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %424, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %426 unwind label %411

426:                                              ; preds = %423
  %427 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %425, ptr noundef nonnull @.str.64)
          to label %428 unwind label %411

428:                                              ; preds = %426
  %429 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %427, ptr noundef nonnull %379)
          to label %430 unwind label %411

430:                                              ; preds = %428
  %431 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %429, ptr noundef nonnull @.str.60)
          to label %432 unwind label %411

432:                                              ; preds = %430
  %433 = load ptr, ptr %379, align 8, !tbaa !31
  %434 = getelementptr inbounds i8, ptr %433, i64 -8
  %435 = load ptr, ptr %434, align 8
  %436 = call noundef ptr @_ZNKSt9type_info4nameEv(ptr noundef nonnull align 8 dereferenceable(16) %435) #9
  %437 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %431, ptr noundef %436)
          to label %438 unwind label %411

438:                                              ; preds = %432
  %439 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %437, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %440 unwind label %411

440:                                              ; preds = %438
  %441 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %439, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %442 unwind label %411

442:                                              ; preds = %440, %422
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEC2IPS3_vEERKNS0_IT_S8_EE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  %443 = load ptr, ptr %31, align 8
  %444 = invoke ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS2_S4_EE(ptr noundef nonnull align 8 dereferenceable(24) %135, ptr %443)
          to label %445 unwind label %446

445:                                              ; preds = %442
  store ptr %444, ptr %27, align 8, !tbaa !23
  br label %450

446:                                              ; preds = %442
  %447 = landingpad { ptr, i32 }
          cleanup
  br label %453

448:                                              ; preds = %418
  %449 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  br label %450

450:                                              ; preds = %448, %445
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  %451 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  store ptr %451, ptr %28, align 8
  %452 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  br i1 %452, label %.lr.ph386, label %._crit_edge387, !llvm.loop !33

453:                                              ; preds = %446, %413, %411
  %.pn287 = phi { ptr, i32 } [ %447, %446 ], [ %412, %411 ], [ %414, %413 ]
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  br label %987

.lr.ph390:                                        ; preds = %._crit_edge387, %484
  %.0225388 = phi i64 [ %485, %484 ], [ 0, %._crit_edge387 ]
  %454 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %.0225388) #9
  %455 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %454) #9
  %456 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %457 unwind label %471

457:                                              ; preds = %.lr.ph390
  br i1 %456, label %458, label %478

458:                                              ; preds = %457
  %459 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %460 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %459, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %461 unwind label %471

461:                                              ; preds = %458
  %462 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %460, ptr noundef nonnull @.str.63)
          to label %463 unwind label %471

463:                                              ; preds = %461
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #9
  store ptr %455, ptr %35, align 8, !tbaa !23
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  invoke void @_ZN9FmtLambdaC2ESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull %34)
          to label %464 unwind label %473

464:                                              ; preds = %463
  %465 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK9FmtLambda(ptr noundef nonnull align 8 dereferenceable(8) %462, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %466 unwind label %475

466:                                              ; preds = %464
  %467 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %465, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %468 unwind label %475

468:                                              ; preds = %466
  %469 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %467, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %470 unwind label %475

470:                                              ; preds = %468
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  br label %478

471:                                              ; preds = %483, %478, %461, %458, %.lr.ph390
  %472 = landingpad { ptr, i32 }
          cleanup
  br label %503

473:                                              ; preds = %463
  %474 = landingpad { ptr, i32 }
          cleanup
  br label %477

475:                                              ; preds = %468, %466, %464
  %476 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  br label %477

477:                                              ; preds = %475, %473
  %.pn282 = phi { ptr, i32 } [ %476, %475 ], [ %474, %473 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  br label %503

478:                                              ; preds = %470, %457
  %479 = load ptr, ptr %455, align 8, !tbaa !31
  %480 = getelementptr inbounds i8, ptr %479, i64 32
  %481 = load ptr, ptr %480, align 8
  %482 = invoke noundef zeroext i1 %481(ptr noundef nonnull align 8 dereferenceable(8) %455, ptr noundef nonnull align 8 dereferenceable(592) %7, i1 noundef zeroext false)
          to label %483 unwind label %471

483:                                              ; preds = %478
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %32, i1 noundef zeroext %482)
          to label %484 unwind label %471

484:                                              ; preds = %483
  %485 = add nuw i64 %.0225388, 1
  %exitcond.not = icmp eq i64 %485, %377
  br i1 %exitcond.not, label %.lr.ph392, label %.lr.ph390, !llvm.loop !34

._crit_edge393:                                   ; preds = %502, %._crit_edge387
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #9
  br label %504

.lr.ph392:                                        ; preds = %484, %502
  %.in = phi i64 [ %486, %502 ], [ %377, %484 ]
  %486 = add i64 %.in, -1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #9
  %487 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %32, i64 noundef %486)
          to label %488 unwind label %498

488:                                              ; preds = %.lr.ph392
  %489 = extractvalue { ptr, i64 } %487, 0
  store ptr %489, ptr %36, align 8
  %490 = extractvalue { ptr, i64 } %487, 1
  store i64 %490, ptr %138, align 8
  %491 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %36) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #9
  br i1 %491, label %492, label %502

492:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #9
  %493 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #9
  store ptr %493, ptr %39, align 8
  %494 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %39, i64 noundef %486) #9
  store ptr %494, ptr %38, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #9
  %495 = load ptr, ptr %37, align 8
  %496 = invoke ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %137, ptr %495)
          to label %497 unwind label %500

497:                                              ; preds = %492
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #9
  br label %502

498:                                              ; preds = %.lr.ph392
  %499 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #9
  br label %503

500:                                              ; preds = %492
  %501 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #9
  br label %503

502:                                              ; preds = %497, %488
  %.not279 = icmp eq i64 %486, 0
  br i1 %.not279, label %._crit_edge393, label %.lr.ph392, !llvm.loop !35

503:                                              ; preds = %498, %500, %471, %477
  %.pn284.pn = phi { ptr, i32 } [ %472, %471 ], [ %.pn282, %477 ], [ %501, %500 ], [ %499, %498 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #9
  br label %987

504:                                              ; preds = %._crit_edge393, %.loopexit325
  %505 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %505, label %.loopexit323, label %506

506:                                              ; preds = %504
  %507 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %508 unwind label %175

508:                                              ; preds = %506
  br i1 %507, label %509, label %518

509:                                              ; preds = %508
  %510 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %511 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %510, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %512 unwind label %175

512:                                              ; preds = %509
  %513 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %511, ptr noundef nonnull @.str.65)
          to label %514 unwind label %175

514:                                              ; preds = %512
  %515 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %513, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %516 unwind label %175

516:                                              ; preds = %514
  %517 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %515, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %518 unwind label %175

518:                                              ; preds = %516, %508
  %519 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %.not462 = icmp eq i64 %519, 0
  br i1 %.not462, label %.loopexit323, label %.lr.ph402

.lr.ph402:                                        ; preds = %518, %558
  %520 = phi i64 [ %560, %558 ], [ 0, %518 ]
  %.0227400 = phi i32 [ %559, %558 ], [ 0, %518 ]
  %521 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %520) #9
  %522 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %7, i32 noundef %.0227400, ptr noundef nonnull align 8 dereferenceable(128) %521, i32 noundef 0)
          to label %523 unwind label %542

523:                                              ; preds = %.lr.ph402
  br i1 %522, label %524, label %558

524:                                              ; preds = %523
  %525 = load atomic i8, ptr @_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp acquire, align 8
  %526 = icmp eq i8 %525, 0
  br i1 %526, label %527, label %531, !prof !36

527:                                              ; preds = %524
  %528 = call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp) #9
  %.not289 = icmp eq i32 %528, 0
  br i1 %.not289, label %531, label %529

529:                                              ; preds = %527
  call void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8) @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp)
  %530 = call i32 @__cxa_atexit(ptr nonnull @_ZN4SpanD1Ev, ptr nonnull @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp, ptr nonnull @__dso_handle) #9
  call void @__cxa_guard_release(ptr nonnull @_ZGVZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp) #9
  br label %531

531:                                              ; preds = %529, %527, %524
  %532 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %520) #9
  %533 = getelementptr inbounds i8, ptr %532, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #9
  %534 = call ptr @_ZNSt6vectorIN7Context12IVarPossible8CoerceTyESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %533) #9
  store ptr %534, ptr %40, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #9
  %535 = call ptr @_ZNSt6vectorIN7Context12IVarPossible8CoerceTyESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %533) #9
  store ptr %535, ptr %41, align 8
  %536 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #9
  br i1 %536, label %.lr.ph395, label %._crit_edge396

._crit_edge396:                                   ; preds = %546, %531
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #9
  %537 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %520) #9
  %538 = getelementptr inbounds i8, ptr %537, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #9
  %539 = call ptr @_ZNSt6vectorIN7Context12IVarPossible8CoerceTyESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %538) #9
  store ptr %539, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #9
  %540 = call ptr @_ZNSt6vectorIN7Context12IVarPossible8CoerceTyESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %538) #9
  store ptr %540, ptr %43, align 8
  %541 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  br i1 %541, label %.lr.ph398, label %._crit_edge399

542:                                              ; preds = %.lr.ph402
  %543 = landingpad { ptr, i32 }
          cleanup
  br label %987

.lr.ph395:                                        ; preds = %531, %546
  %544 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #9
  %545 = getelementptr inbounds i8, ptr %544, i64 8
  invoke void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %7, ptr noundef nonnull align 8 dereferenceable(8) @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp, ptr noundef nonnull align 8 dereferenceable(8) %545, i32 noundef 1)
          to label %546 unwind label %549

546:                                              ; preds = %.lr.ph395
  %547 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #9
  %548 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #9
  br i1 %548, label %.lr.ph395, label %._crit_edge396

549:                                              ; preds = %.lr.ph395
  %550 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #9
  br label %987

._crit_edge399:                                   ; preds = %553, %._crit_edge396
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #9
  br label %558

.lr.ph398:                                        ; preds = %._crit_edge396, %553
  %551 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #9
  %552 = getelementptr inbounds i8, ptr %551, i64 8
  invoke void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %7, ptr noundef nonnull align 8 dereferenceable(8) @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEE2sp, ptr noundef nonnull align 8 dereferenceable(8) %552, i32 noundef 0)
          to label %553 unwind label %556

553:                                              ; preds = %.lr.ph398
  %554 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #9
  %555 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossible8CoerceTyESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  br i1 %555, label %.lr.ph398, label %._crit_edge399

556:                                              ; preds = %.lr.ph398
  %557 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #9
  br label %987

558:                                              ; preds = %._crit_edge399, %523
  %559 = add i32 %.0227400, 1
  %560 = zext i32 %559 to i64
  %561 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %562 = icmp ugt i64 %561, %560
  br i1 %562, label %.lr.ph402, label %.loopexit323, !llvm.loop !37

.loopexit323:                                     ; preds = %558, %518, %504
  %563 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %563, label %.loopexit322, label %564

564:                                              ; preds = %.loopexit323
  %565 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %566 unwind label %175

566:                                              ; preds = %564
  br i1 %565, label %567, label %576

567:                                              ; preds = %566
  %568 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %569 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %568, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %570 unwind label %175

570:                                              ; preds = %567
  %571 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %569, ptr noundef nonnull @.str.66)
          to label %572 unwind label %175

572:                                              ; preds = %570
  %573 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %571, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %574 unwind label %175

574:                                              ; preds = %572
  %575 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %573, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %576 unwind label %175

576:                                              ; preds = %574, %566
  %577 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %.not463 = icmp eq i64 %577, 0
  br i1 %.not463, label %.loopexit322, label %.lr.ph405

578:                                              ; preds = %586
  %579 = add i32 %.0228403, 1
  %580 = zext i32 %579 to i64
  %581 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %582 = icmp ugt i64 %581, %580
  br i1 %582, label %.lr.ph405, label %.loopexit322, !llvm.loop !38

.lr.ph405:                                        ; preds = %576, %578
  %583 = phi i64 [ %580, %578 ], [ 0, %576 ]
  %.0228403 = phi i32 [ %579, %578 ], [ 0, %576 ]
  %584 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %583) #9
  %585 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %7, i32 noundef %.0228403, ptr noundef nonnull align 8 dereferenceable(128) %584, i32 noundef 1)
          to label %586 unwind label %587

586:                                              ; preds = %.lr.ph405
  br i1 %585, label %.loopexit322, label %578

587:                                              ; preds = %.lr.ph405
  %588 = landingpad { ptr, i32 }
          cleanup
  br label %987

.loopexit322:                                     ; preds = %586, %578, %576, %.loopexit323
  %589 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %589, label %.loopexit321, label %590

590:                                              ; preds = %.loopexit322
  %591 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %592 unwind label %175

592:                                              ; preds = %590
  br i1 %591, label %593, label %602

593:                                              ; preds = %592
  %594 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %595 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %594, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %596 unwind label %175

596:                                              ; preds = %593
  %597 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %595, ptr noundef nonnull @.str.67)
          to label %598 unwind label %175

598:                                              ; preds = %596
  %599 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %597, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %600 unwind label %175

600:                                              ; preds = %598
  %601 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %599, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %602 unwind label %175

602:                                              ; preds = %600, %592
  %603 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %.not464 = icmp eq i64 %603, 0
  br i1 %.not464, label %.loopexit321, label %.lr.ph409

604:                                              ; preds = %612
  %605 = add i32 %.0231407, 1
  %606 = zext i32 %605 to i64
  %607 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %608 = icmp ugt i64 %607, %606
  br i1 %608, label %.lr.ph409, label %.loopexit321, !llvm.loop !39

.lr.ph409:                                        ; preds = %602, %604
  %609 = phi i64 [ %606, %604 ], [ 0, %602 ]
  %.0231407 = phi i32 [ %605, %604 ], [ 0, %602 ]
  %610 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %609) #9
  %611 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %7, i32 noundef %.0231407, ptr noundef nonnull align 8 dereferenceable(128) %610, i32 noundef 2)
          to label %612 unwind label %613

612:                                              ; preds = %.lr.ph409
  br i1 %611, label %.loopexit321, label %604

613:                                              ; preds = %.lr.ph409
  %614 = landingpad { ptr, i32 }
          cleanup
  br label %987

.loopexit321:                                     ; preds = %612, %604, %602, %.loopexit322
  %615 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %615, label %.loopexit320, label %616

616:                                              ; preds = %.loopexit321
  %617 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %618 unwind label %175

618:                                              ; preds = %616
  br i1 %617, label %619, label %628

619:                                              ; preds = %618
  %620 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %621 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %620, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %622 unwind label %175

622:                                              ; preds = %619
  %623 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %621, ptr noundef nonnull @.str.68)
          to label %624 unwind label %175

624:                                              ; preds = %622
  %625 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %623, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %626 unwind label %175

626:                                              ; preds = %624
  %627 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %625, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %628 unwind label %175

628:                                              ; preds = %626, %618
  %629 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %.not465 = icmp eq i64 %629, 0
  br i1 %.not465, label %.loopexit320, label %.lr.ph413

630:                                              ; preds = %638
  %631 = add i32 %.0232411, 1
  %632 = zext i32 %631 to i64
  %633 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %634 = icmp ugt i64 %633, %632
  br i1 %634, label %.lr.ph413, label %.loopexit320, !llvm.loop !40

.lr.ph413:                                        ; preds = %628, %630
  %635 = phi i64 [ %632, %630 ], [ 0, %628 ]
  %.0232411 = phi i32 [ %631, %630 ], [ 0, %628 ]
  %636 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %635) #9
  %637 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %7, i32 noundef %.0232411, ptr noundef nonnull align 8 dereferenceable(128) %636, i32 noundef 3)
          to label %638 unwind label %639

638:                                              ; preds = %.lr.ph413
  br i1 %637, label %.loopexit320, label %630

639:                                              ; preds = %.lr.ph413
  %640 = landingpad { ptr, i32 }
          cleanup
  br label %987

.loopexit320:                                     ; preds = %638, %630, %628, %.loopexit321
  %641 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %641, label %785, label %642

642:                                              ; preds = %.loopexit320
  %643 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %644 unwind label %175

644:                                              ; preds = %642
  br i1 %643, label %645, label %654

645:                                              ; preds = %644
  %646 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %647 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %646, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %648 unwind label %175

648:                                              ; preds = %645
  %649 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %647, ptr noundef nonnull @.str.69)
          to label %650 unwind label %175

650:                                              ; preds = %648
  %651 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %649, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %652 unwind label %175

652:                                              ; preds = %650
  %653 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %651, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %654 unwind label %175

654:                                              ; preds = %652, %644
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #9
  %655 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  store ptr %655, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #9
  %656 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  store ptr %656, ptr %45, align 8
  %657 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #9
  br i1 %657, label %.lr.ph416, label %._crit_edge417

._crit_edge417:                                   ; preds = %731, %654
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %49) #9
  call void @_ZNSt6vectorIbSaIbEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #9
  %658 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #9
  %.not466 = icmp eq i64 %658, 0
  br i1 %.not466, label %._crit_edge423, label %.lr.ph420

.lr.ph416:                                        ; preds = %654, %731
  %659 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  %660 = load ptr, ptr %659, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %46) #9
  call void @_ZN12_GLOBAL__N_119ExprVisitor_RevisitC2ER7Contextb(ptr noundef nonnull align 8 dereferenceable(18) %46, ptr noundef nonnull align 8 dereferenceable(592) %7, i1 noundef zeroext true)
  %661 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %662 unwind label %692

662:                                              ; preds = %.lr.ph416
  br i1 %661, label %663, label %696

663:                                              ; preds = %662
  %664 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %665 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %664, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %666 unwind label %692

666:                                              ; preds = %663
  %667 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %665, ptr noundef nonnull @.str.63)
          to label %668 unwind label %692

668:                                              ; preds = %666
  %669 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %667, ptr noundef %660)
          to label %670 unwind label %692

670:                                              ; preds = %668
  %671 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %669, ptr noundef nonnull @.str.1)
          to label %672 unwind label %692

672:                                              ; preds = %670
  %673 = load ptr, ptr %660, align 8, !tbaa !31
  %674 = getelementptr inbounds i8, ptr %673, i64 -8
  %675 = load ptr, ptr %674, align 8
  %676 = call noundef ptr @_ZNKSt9type_info4nameEv(ptr noundef nonnull align 8 dereferenceable(16) %675) #9
  %677 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %671, ptr noundef %676)
          to label %678 unwind label %692

678:                                              ; preds = %672
  %679 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %677, ptr noundef nonnull @.str.13)
          to label %680 unwind label %692

680:                                              ; preds = %678
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %47) #9
  %681 = getelementptr inbounds i8, ptr %660, i64 16
  %682 = invoke { ptr, ptr } @_ZNK16HMTypeInferrence8fmt_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49) %126, ptr noundef nonnull align 8 dereferenceable(8) %681)
          to label %683 unwind label %694

683:                                              ; preds = %680
  %684 = extractvalue { ptr, ptr } %682, 0
  store ptr %684, ptr %47, align 8
  %685 = extractvalue { ptr, ptr } %682, 1
  store ptr %685, ptr %140, align 8
  %686 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN16HMTypeInferrence7FmtTypeE(ptr noundef nonnull align 8 dereferenceable(8) %679, ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %687 unwind label %694

687:                                              ; preds = %683
  %688 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %686, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %689 unwind label %694

689:                                              ; preds = %687
  %690 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %688, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %691 unwind label %694

691:                                              ; preds = %689
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #9
  br label %696

692:                                              ; preds = %721, %719, %713, %711, %709, %707, %704, %701, %696, %678, %672, %670, %668, %666, %663, %.lr.ph416
  %693 = landingpad { ptr, i32 }
          cleanup
  br label %734

694:                                              ; preds = %689, %687, %683, %680
  %695 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #9
  br label %734

696:                                              ; preds = %691, %662
  %697 = load ptr, ptr %660, align 8, !tbaa !31
  %698 = load ptr, ptr %697, align 8
  invoke void %698(ptr noundef nonnull align 8 dereferenceable(28) %660, ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %699 unwind label %692

699:                                              ; preds = %696
  %700 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_119ExprVisitor_Revisit14node_completedEv(ptr noundef nonnull align 8 dereferenceable(18) %46)
  br i1 %700, label %701, label %729

701:                                              ; preds = %699
  %702 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %703 unwind label %692

703:                                              ; preds = %701
  br i1 %702, label %704, label %723

704:                                              ; preds = %703
  %705 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %706 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %705, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %707 unwind label %692

707:                                              ; preds = %704
  %708 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %706, ptr noundef nonnull @.str.64)
          to label %709 unwind label %692

709:                                              ; preds = %707
  %710 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %708, ptr noundef nonnull %660)
          to label %711 unwind label %692

711:                                              ; preds = %709
  %712 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %710, ptr noundef nonnull @.str.60)
          to label %713 unwind label %692

713:                                              ; preds = %711
  %714 = load ptr, ptr %660, align 8, !tbaa !31
  %715 = getelementptr inbounds i8, ptr %714, i64 -8
  %716 = load ptr, ptr %715, align 8
  %717 = call noundef ptr @_ZNKSt9type_info4nameEv(ptr noundef nonnull align 8 dereferenceable(16) %716) #9
  %718 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %712, ptr noundef %717)
          to label %719 unwind label %692

719:                                              ; preds = %713
  %720 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %718, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %721 unwind label %692

721:                                              ; preds = %719
  %722 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %720, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %723 unwind label %692

723:                                              ; preds = %721, %703
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEC2IPS3_vEERKNS0_IT_S8_EE(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  %724 = load ptr, ptr %48, align 8
  %725 = invoke ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS2_S4_EE(ptr noundef nonnull align 8 dereferenceable(24) %135, ptr %724)
          to label %726 unwind label %727

726:                                              ; preds = %723
  store ptr %725, ptr %44, align 8, !tbaa !23
  br label %731

727:                                              ; preds = %723
  %728 = landingpad { ptr, i32 }
          cleanup
  br label %734

729:                                              ; preds = %699
  %730 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  br label %731

731:                                              ; preds = %729, %726
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %46) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #9
  %732 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  store ptr %732, ptr %45, align 8
  %733 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #9
  br i1 %733, label %.lr.ph416, label %._crit_edge417, !llvm.loop !41

734:                                              ; preds = %727, %694, %692
  %.pn300 = phi { ptr, i32 } [ %728, %727 ], [ %693, %692 ], [ %695, %694 ]
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %46) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #9
  br label %987

.lr.ph420:                                        ; preds = %._crit_edge417, %765
  %.0233418 = phi i64 [ %766, %765 ], [ 0, %._crit_edge417 ]
  %735 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %.0233418) #9
  %736 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %735) #9
  %737 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %738 unwind label %752

738:                                              ; preds = %.lr.ph420
  br i1 %737, label %739, label %759

739:                                              ; preds = %738
  %740 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %741 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %740, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %742 unwind label %752

742:                                              ; preds = %739
  %743 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %741, ptr noundef nonnull @.str.63)
          to label %744 unwind label %752

744:                                              ; preds = %742
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %50) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #9
  store ptr %736, ptr %52, align 8, !tbaa !23
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(8) %52) #9
  invoke void @_ZN9FmtLambdaC2ESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull %51)
          to label %745 unwind label %754

745:                                              ; preds = %744
  %746 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK9FmtLambda(ptr noundef nonnull align 8 dereferenceable(8) %743, ptr noundef nonnull align 8 dereferenceable(32) %50)
          to label %747 unwind label %756

747:                                              ; preds = %745
  %748 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %746, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %749 unwind label %756

749:                                              ; preds = %747
  %750 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %748, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %751 unwind label %756

751:                                              ; preds = %749
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #9
  br label %759

752:                                              ; preds = %764, %759, %742, %739, %.lr.ph420
  %753 = landingpad { ptr, i32 }
          cleanup
  br label %784

754:                                              ; preds = %744
  %755 = landingpad { ptr, i32 }
          cleanup
  br label %758

756:                                              ; preds = %749, %747, %745
  %757 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  br label %758

758:                                              ; preds = %756, %754
  %.pn295 = phi { ptr, i32 } [ %757, %756 ], [ %755, %754 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #9
  br label %784

759:                                              ; preds = %751, %738
  %760 = load ptr, ptr %736, align 8, !tbaa !31
  %761 = getelementptr inbounds i8, ptr %760, i64 32
  %762 = load ptr, ptr %761, align 8
  %763 = invoke noundef zeroext i1 %762(ptr noundef nonnull align 8 dereferenceable(8) %736, ptr noundef nonnull align 8 dereferenceable(592) %7, i1 noundef zeroext true)
          to label %764 unwind label %752

764:                                              ; preds = %759
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %49, i1 noundef zeroext %763)
          to label %765 unwind label %752

765:                                              ; preds = %764
  %766 = add nuw i64 %.0233418, 1
  %exitcond514.not = icmp eq i64 %766, %658
  br i1 %exitcond514.not, label %.lr.ph422, label %.lr.ph420, !llvm.loop !42

._crit_edge423:                                   ; preds = %783, %._crit_edge417
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %49) #9
  br label %785

.lr.ph422:                                        ; preds = %765, %783
  %.in467 = phi i64 [ %767, %783 ], [ %658, %765 ]
  %767 = add i64 %.in467, -1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %53) #9
  %768 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %49, i64 noundef %767)
          to label %769 unwind label %779

769:                                              ; preds = %.lr.ph422
  %770 = extractvalue { ptr, i64 } %768, 0
  store ptr %770, ptr %53, align 8
  %771 = extractvalue { ptr, i64 } %768, 1
  store i64 %771, ptr %141, align 8
  %772 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %53) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %53) #9
  br i1 %772, label %773, label %783

773:                                              ; preds = %769
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %55) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %56) #9
  %774 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #9
  store ptr %774, ptr %56, align 8
  %775 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %56, i64 noundef %767) #9
  store ptr %775, ptr %55, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull align 8 dereferenceable(8) %55) #9
  %776 = load ptr, ptr %54, align 8
  %777 = invoke ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %137, ptr %776)
          to label %778 unwind label %781

778:                                              ; preds = %773
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #9
  br label %783

779:                                              ; preds = %.lr.ph422
  %780 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %53) #9
  br label %784

781:                                              ; preds = %773
  %782 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #9
  br label %784

783:                                              ; preds = %778, %769
  %.not292 = icmp eq i64 %767, 0
  br i1 %.not292, label %._crit_edge423, label %.lr.ph422, !llvm.loop !43

784:                                              ; preds = %779, %781, %752, %758
  %.pn297.pn = phi { ptr, i32 } [ %753, %752 ], [ %.pn295, %758 ], [ %782, %781 ], [ %780, %779 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %49) #9
  br label %987

785:                                              ; preds = %._crit_edge423, %.loopexit320
  %786 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %786, label %.loopexit319, label %787

787:                                              ; preds = %785
  %788 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %789 unwind label %175

789:                                              ; preds = %787
  br i1 %788, label %790, label %799

790:                                              ; preds = %789
  %791 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %792 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %791, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %793 unwind label %175

793:                                              ; preds = %790
  %794 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %792, ptr noundef nonnull @.str.70)
          to label %795 unwind label %175

795:                                              ; preds = %793
  %796 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %794, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %797 unwind label %175

797:                                              ; preds = %795
  %798 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %796, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %799 unwind label %175

799:                                              ; preds = %797, %789
  %800 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %.not468 = icmp eq i64 %800, 0
  br i1 %.not468, label %.loopexit319, label %.lr.ph426

801:                                              ; preds = %809
  %802 = add i32 %.0235424, 1
  %803 = zext i32 %802 to i64
  %804 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %805 = icmp ugt i64 %804, %803
  br i1 %805, label %.lr.ph426, label %.loopexit319, !llvm.loop !44

.lr.ph426:                                        ; preds = %799, %801
  %806 = phi i64 [ %803, %801 ], [ 0, %799 ]
  %.0235424 = phi i32 [ %802, %801 ], [ 0, %799 ]
  %807 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %806) #9
  %808 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %7, i32 noundef %.0235424, ptr noundef nonnull align 8 dereferenceable(128) %807, i32 noundef 4)
          to label %809 unwind label %810

809:                                              ; preds = %.lr.ph426
  br i1 %808, label %.loopexit319, label %801

810:                                              ; preds = %.lr.ph426
  %811 = landingpad { ptr, i32 }
          cleanup
  br label %987

.loopexit319:                                     ; preds = %809, %801, %799, %785
  %812 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %812, label %.loopexit318, label %813

813:                                              ; preds = %.loopexit319
  %814 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %815 unwind label %175

815:                                              ; preds = %813
  br i1 %814, label %816, label %825

816:                                              ; preds = %815
  %817 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %818 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %817, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %819 unwind label %175

819:                                              ; preds = %816
  %820 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %818, ptr noundef nonnull @.str.71)
          to label %821 unwind label %175

821:                                              ; preds = %819
  %822 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %820, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %823 unwind label %175

823:                                              ; preds = %821
  %824 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %822, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %825 unwind label %175

825:                                              ; preds = %823, %815
  %826 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %.not469 = icmp eq i64 %826, 0
  br i1 %.not469, label %.loopexit318, label %.lr.ph430

827:                                              ; preds = %835
  %828 = add i32 %.0236428, 1
  %829 = zext i32 %828 to i64
  %830 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %831 = icmp ugt i64 %830, %829
  br i1 %831, label %.lr.ph430, label %.loopexit318, !llvm.loop !45

.lr.ph430:                                        ; preds = %825, %827
  %832 = phi i64 [ %829, %827 ], [ 0, %825 ]
  %.0236428 = phi i32 [ %828, %827 ], [ 0, %825 ]
  %833 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %832) #9
  %834 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592) %7, i32 noundef %.0236428, ptr noundef nonnull align 8 dereferenceable(128) %833, i32 noundef 5)
          to label %835 unwind label %836

835:                                              ; preds = %.lr.ph430
  br i1 %834, label %.loopexit318, label %827

836:                                              ; preds = %.lr.ph430
  %837 = landingpad { ptr, i32 }
          cleanup
  br label %987

.loopexit318:                                     ; preds = %835, %827, %825, %.loopexit319
  %838 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %838, label %855, label %839

839:                                              ; preds = %.loopexit318
  %840 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %841 unwind label %175

841:                                              ; preds = %839
  br i1 %840, label %842, label %851

842:                                              ; preds = %841
  %843 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %844 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %843, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %845 unwind label %175

845:                                              ; preds = %842
  %846 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %844, ptr noundef nonnull @.str.72)
          to label %847 unwind label %175

847:                                              ; preds = %845
  %848 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %846, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %849 unwind label %175

849:                                              ; preds = %847
  %850 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %848, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %851 unwind label %175

851:                                              ; preds = %849, %841
  %852 = invoke noundef zeroext i1 @_ZN16HMTypeInferrence14apply_defaultsEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
          to label %853 unwind label %175

853:                                              ; preds = %851
  br i1 %852, label %854, label %855

854:                                              ; preds = %853
  invoke void @_ZN16HMTypeInferrence11mark_changeEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
          to label %855 unwind label %175

855:                                              ; preds = %853, %854, %.loopexit318
  %856 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %856, label %.loopexit, label %857

857:                                              ; preds = %855
  %858 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %859 unwind label %175

859:                                              ; preds = %857
  br i1 %858, label %860, label %869

860:                                              ; preds = %859
  %861 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %862 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %861, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %863 unwind label %175

863:                                              ; preds = %860
  %864 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %862, ptr noundef nonnull @.str.73)
          to label %865 unwind label %175

865:                                              ; preds = %863
  %866 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %864, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %867 unwind label %175

867:                                              ; preds = %865
  %868 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %866, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %869 unwind label %175

869:                                              ; preds = %867, %859
  %870 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %.not470 = icmp eq i64 %870, 0
  br i1 %.not470, label %.loopexit, label %.lr.ph434

.lr.ph434:                                        ; preds = %869, %899
  %871 = phi i64 [ %901, %899 ], [ 0, %869 ]
  %.0237432 = phi i32 [ %900, %899 ], [ 0, %869 ]
  %872 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %871) #9
  %873 = getelementptr inbounds i8, ptr %872, i64 56
  %874 = call noundef zeroext i1 @_ZNKSt3setIN3HIR7TypeRefESt4lessIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %873) #9
  br i1 %874, label %899, label %875

875:                                              ; preds = %.lr.ph434
  %876 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN16HMTypeInferrence8get_typeEj(ptr noundef nonnull align 8 dereferenceable(49) %126, i32 noundef %.0237432)
          to label %877 unwind label %887

877:                                              ; preds = %875
  %878 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %876)
  %879 = call noundef zeroext i1 @_ZNK3HIR8TypeData8is_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %878)
  br i1 %879, label %880, label %899

880:                                              ; preds = %877
  %881 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %876)
  %882 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %881)
  %883 = load i32, ptr %882, align 4, !tbaa !46
  %884 = icmp eq i32 %883, %.0237432
  br i1 %884, label %885, label %899

885:                                              ; preds = %880
  %886 = call noundef i64 @_ZNKSt3setIN3HIR7TypeRefESt4lessIS1_ESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %873) #9
  %.not302 = icmp eq i64 %886, 1
  br i1 %.not302, label %889, label %899

887:                                              ; preds = %875
  %888 = landingpad { ptr, i32 }
          cleanup
  br label %987

889:                                              ; preds = %885
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %58) #9
  %890 = call ptr @_ZNKSt3setIN3HIR7TypeRefESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %873) #9
  store ptr %890, ptr %58, align 8
  %891 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorIN3HIR7TypeRefEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %58) #9
  invoke void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %57, ptr noundef nonnull align 8 dereferenceable(8) %891)
          to label %892 unwind label %894

892:                                              ; preds = %889
  invoke void @_ZN16HMTypeInferrence11set_ivar_toEjN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(49) %126, i32 noundef %.0237432, ptr noundef nonnull %57)
          to label %893 unwind label %896

893:                                              ; preds = %892
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %58) #9
  br label %899

894:                                              ; preds = %889
  %895 = landingpad { ptr, i32 }
          cleanup
  br label %898

896:                                              ; preds = %892
  %897 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #9
  br label %898

898:                                              ; preds = %896, %894
  %.pn303 = phi { ptr, i32 } [ %897, %896 ], [ %895, %894 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %58) #9
  br label %987

899:                                              ; preds = %877, %880, %885, %893, %.lr.ph434
  %900 = add i32 %.0237432, 1
  %901 = zext i32 %900 to i64
  %902 = call noundef i64 @_ZNKSt6vectorIN7Context12IVarPossibleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  %903 = icmp ugt i64 %902, %901
  br i1 %903, label %.lr.ph434, label %.loopexit, !llvm.loop !49

.loopexit:                                        ; preds = %899, %869, %855
  %904 = call noundef zeroext i1 @_ZNK16HMTypeInferrence12peek_changedEv(ptr noundef nonnull align 8 dereferenceable(49) %126)
  br i1 %904, label %977, label %905

905:                                              ; preds = %.loopexit
  %906 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %907 unwind label %175

907:                                              ; preds = %905
  br i1 %906, label %908, label %917

908:                                              ; preds = %907
  %909 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %910 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %909, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %911 unwind label %175

911:                                              ; preds = %908
  %912 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %910, ptr noundef nonnull @.str.74)
          to label %913 unwind label %175

913:                                              ; preds = %911
  %914 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %912, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %915 unwind label %175

915:                                              ; preds = %913
  %916 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %914, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %917 unwind label %175

917:                                              ; preds = %915, %907
  %918 = call noundef zeroext i1 @_ZNKSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  br i1 %918, label %977, label %919

919:                                              ; preds = %917
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %59) #9
  %920 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 8 dereferenceable(8) %920) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %61) #9
  %921 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  store ptr %921, ptr %61, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 8 dereferenceable(8) %61) #9
  %922 = load ptr, ptr %60, align 8
  %923 = invoke ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %127, ptr %922)
          to label %924 unwind label %966

924:                                              ; preds = %919
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %61) #9
  %925 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %926 = getelementptr inbounds i8, ptr %925, i64 16
  %927 = load ptr, ptr %926, align 8, !tbaa !24
  %928 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %927) #9
  %929 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %928)
  %930 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %931 = getelementptr inbounds i8, ptr %930, i64 16
  %932 = load ptr, ptr %931, align 8, !tbaa !24
  %933 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %932) #9
  %934 = getelementptr inbounds i8, ptr %933, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %62) #9
  %935 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %936 = getelementptr inbounds i8, ptr %935, i64 8
  call void @_ZN3HIR7TypeRefC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %936)
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %62, ptr noundef nonnull align 8 dereferenceable(280) %128, ptr noundef nonnull align 8 dereferenceable(8) %929, ptr noundef nonnull %63)
          to label %937 unwind label %968

937:                                              ; preds = %924
  %938 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %939 = getelementptr inbounds i8, ptr %938, i64 8
  %940 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %939, ptr noundef nonnull align 8 dereferenceable(8) %62)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %62) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %63) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %62) #9
  %941 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %942 unwind label %970

942:                                              ; preds = %937
  br i1 %941, label %943, label %972

943:                                              ; preds = %942
  %944 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %945 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %944, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %946 unwind label %970

946:                                              ; preds = %943
  %947 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %945, ptr noundef nonnull @.str.75)
          to label %948 unwind label %970

948:                                              ; preds = %946
  %949 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %950 = load i32, ptr %949, align 8, !tbaa !27
  %951 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %947, i32 noundef %950)
          to label %952 unwind label %970

952:                                              ; preds = %948
  %953 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %951, ptr noundef nonnull @.str.1)
          to label %954 unwind label %970

954:                                              ; preds = %952
  %955 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %956 = getelementptr inbounds i8, ptr %955, i64 8
  %957 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %953, ptr noundef nonnull align 8 dereferenceable(8) %956)
          to label %958 unwind label %970

958:                                              ; preds = %954
  %959 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %957, ptr noundef nonnull @.str.10)
          to label %960 unwind label %970

960:                                              ; preds = %958
  %961 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %959, ptr noundef nonnull align 8 dereferenceable(8) %934)
          to label %962 unwind label %970

962:                                              ; preds = %960
  %963 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %961, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %964 unwind label %970

964:                                              ; preds = %962
  %965 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %963, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %972 unwind label %970

966:                                              ; preds = %919
  %967 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %61) #9
  br label %976

968:                                              ; preds = %924
  %969 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %63) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %62) #9
  br label %976

970:                                              ; preds = %972, %964, %962, %960, %958, %954, %952, %948, %946, %943, %937
  %971 = landingpad { ptr, i32 }
          cleanup
  br label %976

972:                                              ; preds = %964, %942
  %973 = call noundef ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %974 = getelementptr inbounds i8, ptr %973, i64 8
  invoke void @_ZN7Context12equate_typesERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(592) %7, ptr noundef nonnull align 8 dereferenceable(8) %929, ptr noundef nonnull align 8 dereferenceable(8) %974, ptr noundef nonnull align 8 dereferenceable(8) %934)
          to label %975 unwind label %970

975:                                              ; preds = %972
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #9
  br label %977

976:                                              ; preds = %968, %970, %966
  %.pn306.pn = phi { ptr, i32 } [ %967, %966 ], [ %971, %970 ], [ %969, %968 ]
  call void @_ZNSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #9
  br label %987

977:                                              ; preds = %917, %975, %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %64) #9
  %978 = call ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  store ptr %978, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %65) #9
  %979 = call ptr @_ZNSt6vectorIN7Context12IVarPossibleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #9
  store ptr %979, ptr %65, align 8
  %980 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossibleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(8) %65) #9
  br i1 %980, label %.lr.ph436, label %._crit_edge437

._crit_edge437:                                   ; preds = %.lr.ph436, %977
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %64) #9
  %981 = load i32, ptr %8, align 4, !tbaa !21
  %982 = add i32 %981, 1
  store i32 %982, ptr %8, align 4, !tbaa !21
  invoke void @_ZN15TraitResolution13compact_ivarsER16HMTypeInferrence(ptr noundef nonnull align 8 dereferenceable(280) %128, ptr noundef nonnull align 8 dereferenceable(49) %126)
          to label %986 unwind label %175

.lr.ph436:                                        ; preds = %977, %.lr.ph436
  %983 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossibleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #9
  call void @_ZN7Context12IVarPossible5resetEv(ptr noundef nonnull align 8 dereferenceable(128) %983)
  %984 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context12IVarPossibleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #9
  %985 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context12IVarPossibleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(8) %65) #9
  br i1 %985, label %.lr.ph436, label %._crit_edge437

986:                                              ; preds = %._crit_edge437
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #9
  br label %142, !llvm.loop !50

987:                                              ; preds = %887, %898, %542, %549, %556, %976, %836, %810, %784, %734, %639, %613, %587, %503, %453, %359, %249, %175
  %.pn309 = phi { ptr, i32 } [ %176, %175 ], [ %.pn306.pn, %976 ], [ %837, %836 ], [ %811, %810 ], [ %.pn300, %734 ], [ %.pn297.pn, %784 ], [ %640, %639 ], [ %614, %613 ], [ %588, %587 ], [ %.pn287, %453 ], [ %.pn284.pn, %503 ], [ %.pn277, %249 ], [ %.pn274.pn, %359 ], [ %550, %549 ], [ %557, %556 ], [ %543, %542 ], [ %.pn303, %898 ], [ %888, %887 ]
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #9
  br label %988

988:                                              ; preds = %987, %173, %171
  %.pn309.pn = phi { ptr, i32 } [ %.pn309, %987 ], [ %174, %173 ], [ %172, %171 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #9
  br label %1259

989:                                              ; preds = %144
  %990 = icmp eq i32 %145, 1000
  br i1 %990, label %991, label %1005

991:                                              ; preds = %989
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %66) #9
  %992 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %993 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %992)
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(8) %993)
          to label %994 unwind label %998

994:                                              ; preds = %991
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %68) #9
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull align 1 dereferenceable(1) %68) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull %67)
          to label %995 unwind label %1000

995:                                              ; preds = %994
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #9
  %996 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %996, ptr noundef nonnull @.str.16)
          to label %.invoke unwind label %1003

.invoke:                                          ; preds = %1117, %995
  %997 = phi ptr [ %996, %995 ], [ %1118, %1117 ]
  invoke void @__cxa_throw(ptr nonnull %997, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #11
          to label %.cont unwind label %.loopexit.split-lp328

.cont:                                            ; preds = %.invoke
  unreachable

998:                                              ; preds = %991
  %999 = landingpad { ptr, i32 }
          cleanup
  br label %1002

1000:                                             ; preds = %994
  %1001 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #9
  br label %1002

1002:                                             ; preds = %1000, %998
  %.pn270 = phi { ptr, i32 } [ %1001, %1000 ], [ %999, %998 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #9
  br label %1259

1003:                                             ; preds = %995
  %1004 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %996) #9
  br label %1259

1005:                                             ; preds = %989
  %1006 = call noundef zeroext i1 @_ZNK7Context9has_rulesEv(ptr noundef nonnull align 8 dereferenceable(592) %7)
  br i1 %1006, label %1007, label %1126

1007:                                             ; preds = %1005
  invoke void @_ZNK7Context4dumpEv(ptr noundef nonnull align 8 dereferenceable(592) %7)
          to label %1008 unwind label %.loopexit.split-lp328

1008:                                             ; preds = %1007
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %69) #9
  %1009 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  store ptr %1009, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %70) #9
  %1010 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context8CoercionESt14default_deleteIS2_EESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  store ptr %1010, ptr %70, align 8
  %1011 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(8) %70) #9
  br i1 %1011, label %.lr.ph448, label %._crit_edge449

.lr.ph448:                                        ; preds = %1008
  %1012 = getelementptr inbounds i8, ptr %73, i64 8
  %1013 = getelementptr inbounds i8, ptr %73, i64 16
  br label %1019

._crit_edge449:                                   ; preds = %1031, %1008
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %70) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %69) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %74) #9
  %1014 = call ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  store ptr %1014, ptr %74, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %75) #9
  %1015 = call ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  store ptr %1015, ptr %75, align 8
  %1016 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context10AssociatedESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %75) #9
  br i1 %1016, label %.lr.ph451, label %._crit_edge452

.lr.ph451:                                        ; preds = %._crit_edge449
  %1017 = getelementptr inbounds i8, ptr %82, i64 8
  %1018 = getelementptr inbounds i8, ptr %79, i64 8
  br label %1046

1019:                                             ; preds = %.lr.ph448, %1031
  %1020 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %69) #9
  %1021 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrIN7Context8CoercionESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1020) #9
  %1022 = getelementptr inbounds i8, ptr %1021, i64 16
  %1023 = load ptr, ptr %1022, align 8, !tbaa !24
  %1024 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1023) #9
  %1025 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %1024)
  %1026 = load ptr, ptr %1022, align 8, !tbaa !24
  %1027 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1026) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %71) #9
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %1025)
          to label %1028 unwind label %1034

1028:                                             ; preds = %1019
  %1029 = getelementptr inbounds i8, ptr %1027, i64 16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %73) #9
  store ptr %7, ptr %73, align 8, !tbaa !23
  store ptr %1021, ptr %1012, align 8, !tbaa !23
  store ptr %1029, ptr %1013, align 8, !tbaa !23
  invoke void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %1030 unwind label %1036

1030:                                             ; preds = %1028
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %71, i32 noundef 0, ptr noundef nonnull %72)
          to label %1031 unwind label %1038

1031:                                             ; preds = %1030
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %73) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %71) #9
  %1032 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %69) #9
  %1033 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7Context8CoercionESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(8) %70) #9
  br i1 %1033, label %1019, label %._crit_edge449

1034:                                             ; preds = %1019
  %1035 = landingpad { ptr, i32 }
          cleanup
  br label %1041

1036:                                             ; preds = %1028
  %1037 = landingpad { ptr, i32 }
          cleanup
  br label %1040

1038:                                             ; preds = %1030
  %1039 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  br label %1040

1040:                                             ; preds = %1038, %1036
  %.pn267 = phi { ptr, i32 } [ %1039, %1038 ], [ %1037, %1036 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %73) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #9
  br label %1041

1041:                                             ; preds = %1040, %1034
  %.pn267.pn = phi { ptr, i32 } [ %.pn267, %1040 ], [ %1035, %1034 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %71) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %70) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %69) #9
  br label %1259

._crit_edge452:                                   ; preds = %1078, %._crit_edge449
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %75) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %74) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %83) #9
  %1042 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  store ptr %1042, ptr %83, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %84) #9
  %1043 = call ptr @_ZNSt6vectorIPN3HIR8ExprNodeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #9
  store ptr %1043, ptr %84, align 8
  %1044 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %84) #9
  br i1 %1044, label %.lr.ph454, label %._crit_edge455

.lr.ph454:                                        ; preds = %._crit_edge452
  %1045 = getelementptr inbounds i8, ptr %87, i64 8
  br label %1085

1046:                                             ; preds = %.lr.ph451, %1078
  %1047 = call noundef nonnull align 8 dereferenceable(73) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context10AssociatedESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %74) #9
  %1048 = getelementptr inbounds i8, ptr %1047, i64 8
  %1049 = getelementptr inbounds i8, ptr %1047, i64 64
  %1050 = invoke noundef zeroext i1 @_ZNK8RcStringeqEPKc(ptr noundef nonnull align 8 dereferenceable(8) %1049, ptr noundef nonnull @.str.22)
          to label %1051 unwind label %1058

1051:                                             ; preds = %1046
  br i1 %1050, label %.critedge317.thread, label %1052

1052:                                             ; preds = %1051
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %76) #9
  invoke void @_ZN3HIR7TypeRefC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76)
          to label %1053 unwind label %1060

1053:                                             ; preds = %1052
  %1054 = getelementptr inbounds i8, ptr %1047, i64 16
  %1055 = invoke noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %1054, ptr noundef nonnull align 8 dereferenceable(8) %76)
          to label %.critedge317 unwind label %1062

.critedge317:                                     ; preds = %1053
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %76) #9
  br i1 %1055, label %.critedge317.thread, label %1070

.critedge317.thread:                              ; preds = %1051, %.critedge317
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %77) #9
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %1048)
          to label %1056 unwind label %1065

1056:                                             ; preds = %.critedge317.thread
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %79) #9
  store ptr %7, ptr %79, align 8, !tbaa !23
  store ptr %1047, ptr %1018, align 8, !tbaa !23
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(16) %79) #9
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %77, i32 noundef 0, ptr noundef nonnull %78)
          to label %1057 unwind label %1067

1057:                                             ; preds = %1056
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %79) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %77) #9
  br label %1078

1058:                                             ; preds = %1046
  %1059 = landingpad { ptr, i32 }
          cleanup
  br label %1081

1060:                                             ; preds = %1052
  %1061 = landingpad { ptr, i32 }
          cleanup
  br label %1064

1062:                                             ; preds = %1053
  %1063 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #9
  br label %1064

1064:                                             ; preds = %1060, %1062
  %.pn260 = phi { ptr, i32 } [ %1063, %1062 ], [ %1061, %1060 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %76) #9
  br label %1081

1065:                                             ; preds = %.critedge317.thread
  %1066 = landingpad { ptr, i32 }
          cleanup
  br label %1069

1067:                                             ; preds = %1056
  %1068 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %79) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #9
  br label %1069

1069:                                             ; preds = %1067, %1065
  %.pn264 = phi { ptr, i32 } [ %1068, %1067 ], [ %1066, %1065 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %77) #9
  br label %1081

1070:                                             ; preds = %.critedge317
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %80) #9
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 8 dereferenceable(8) %1048)
          to label %1071 unwind label %1073

1071:                                             ; preds = %1070
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %82) #9
  store ptr %7, ptr %82, align 8, !tbaa !23
  store ptr %1047, ptr %1017, align 8, !tbaa !23
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull align 8 dereferenceable(16) %82) #9
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %80, i32 noundef 0, ptr noundef nonnull %81)
          to label %1072 unwind label %1075

1072:                                             ; preds = %1071
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %82) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %80) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %80) #9
  br label %1078

1073:                                             ; preds = %1070
  %1074 = landingpad { ptr, i32 }
          cleanup
  br label %1077

1075:                                             ; preds = %1071
  %1076 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %82) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %80) #9
  br label %1077

1077:                                             ; preds = %1075, %1073
  %.pn262 = phi { ptr, i32 } [ %1076, %1075 ], [ %1074, %1073 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %80) #9
  br label %1081

1078:                                             ; preds = %1072, %1057
  %1079 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context10AssociatedESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %74) #9
  %1080 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context10AssociatedESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %75) #9
  br i1 %1080, label %1046, label %._crit_edge452

1081:                                             ; preds = %1064, %1077, %1069, %1058
  %.pn264.pn = phi { ptr, i32 } [ %.pn264, %1069 ], [ %.pn262, %1077 ], [ %.pn260, %1064 ], [ %1059, %1058 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %75) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %74) #9
  br label %1259

._crit_edge455:                                   ; preds = %1090, %._crit_edge452
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %84) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %88) #9
  %1082 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #9
  store ptr %1082, ptr %88, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %89) #9
  %1083 = call ptr @_ZNSt6vectorISt10unique_ptrIN7Context9RevisitorESt14default_deleteIS2_EESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #9
  store ptr %1083, ptr %89, align 8
  %1084 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %89) #9
  br i1 %1084, label %.lr.ph457, label %._crit_edge458

1085:                                             ; preds = %.lr.ph454, %1090
  %1086 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %83) #9
  %1087 = load ptr, ptr %1086, align 8, !tbaa !23
  %1088 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %1087)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %85) #9
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull align 8 dereferenceable(8) %1088)
          to label %1089 unwind label %1093

1089:                                             ; preds = %1085
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %87) #9
  store ptr %7, ptr %87, align 8, !tbaa !23
  store ptr %1086, ptr %1045, align 8, !tbaa !23
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_8vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef nonnull align 8 dereferenceable(16) %87) #9
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %85, i32 noundef 0, ptr noundef nonnull %86)
          to label %1090 unwind label %1095

1090:                                             ; preds = %1089
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %87) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %85) #9
  %1091 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %83) #9
  %1092 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3HIR8ExprNodeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %84) #9
  br i1 %1092, label %1085, label %._crit_edge455

1093:                                             ; preds = %1085
  %1094 = landingpad { ptr, i32 }
          cleanup
  br label %1097

1095:                                             ; preds = %1089
  %1096 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %87) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #9
  br label %1097

1097:                                             ; preds = %1095, %1093
  %.pn258 = phi { ptr, i32 } [ %1096, %1095 ], [ %1094, %1093 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %85) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %84) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #9
  br label %1259

._crit_edge458:                                   ; preds = %1108, %._crit_edge455
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %89) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %88) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %93) #9
  %1098 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %1099 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8ExprNode4spanEv(ptr noundef nonnull align 8 dereferenceable(28) %1098)
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 8 dereferenceable(8) %1099)
          to label %1116 unwind label %1119

.lr.ph457:                                        ; preds = %._crit_edge455, %1108
  %1100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %88) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %90) #9
  %1101 = call noundef ptr @_ZNKSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1100) #9
  %1102 = load ptr, ptr %1101, align 8, !tbaa !31
  %1103 = getelementptr inbounds i8, ptr %1102, i64 16
  %1104 = load ptr, ptr %1103, align 8
  %1105 = invoke noundef nonnull align 8 dereferenceable(8) ptr %1104(ptr noundef nonnull align 8 dereferenceable(8) %1101)
          to label %1106 unwind label %1111

1106:                                             ; preds = %.lr.ph457
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull align 8 dereferenceable(8) %1105)
          to label %1107 unwind label %1111

1107:                                             ; preds = %1106
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %92) #9
  store ptr %1100, ptr %92, align 8, !tbaa !23
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE3$_9vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull align 8 dereferenceable(8) %92) #9
  invoke void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %90, i32 noundef 0, ptr noundef nonnull %91)
          to label %1108 unwind label %1113

1108:                                             ; preds = %1107
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %91) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %92) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %90) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %90) #9
  %1109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %88) #9
  %1110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7Context9RevisitorESt14default_deleteIS3_EESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %89) #9
  br i1 %1110, label %.lr.ph457, label %._crit_edge458

1111:                                             ; preds = %1106, %.lr.ph457
  %1112 = landingpad { ptr, i32 }
          cleanup
  br label %1115

1113:                                             ; preds = %1107
  %1114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %91) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %92) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %90) #9
  br label %1115

1115:                                             ; preds = %1113, %1111
  %.pn256 = phi { ptr, i32 } [ %1114, %1113 ], [ %1112, %1111 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %90) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %89) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %88) #9
  br label %1259

1116:                                             ; preds = %._crit_edge458
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %95) #9
  call void @"_ZNSt8functionIFvRSoEEC2IZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENSA_7TypeRefEESaISD_EERKSC_RNSA_7ExprPtrEE4$_10vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %94, ptr noundef nonnull align 1 dereferenceable(1) %95) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull %94)
          to label %1117 unwind label %1121

1117:                                             ; preds = %1116
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %95) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %93) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %93) #9
  %1118 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %1118, ptr noundef nonnull @.str.16)
          to label %.invoke unwind label %1124

1119:                                             ; preds = %._crit_edge458
  %1120 = landingpad { ptr, i32 }
          cleanup
  br label %1123

1121:                                             ; preds = %1116
  %1122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %95) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %93) #9
  br label %1123

1123:                                             ; preds = %1121, %1119
  %.pn254 = phi { ptr, i32 } [ %1122, %1121 ], [ %1120, %1119 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %93) #9
  br label %1259

1124:                                             ; preds = %1117
  %1125 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %1118) #9
  br label %1259

1126:                                             ; preds = %1005
  %1127 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1128 unwind label %.loopexit.split-lp328

1128:                                             ; preds = %1126
  br i1 %1127, label %1129, label %1149

1129:                                             ; preds = %1128
  %1130 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %1131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1130, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1132 unwind label %.loopexit.split-lp328

1132:                                             ; preds = %1129
  %1133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1131, ptr noundef nonnull @.str.76)
          to label %1134 unwind label %.loopexit.split-lp328

1134:                                             ; preds = %1132
  %1135 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %1136 = invoke noundef ptr @_ZNK3HIR8ExprNode9type_nameEv(ptr noundef nonnull align 8 dereferenceable(28) %1135)
          to label %1137 unwind label %.loopexit.split-lp328

1137:                                             ; preds = %1134
  %1138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1133, ptr noundef %1136)
          to label %1139 unwind label %.loopexit.split-lp328

1139:                                             ; preds = %1137
  %1140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1138, ptr noundef nonnull @.str.1)
          to label %1141 unwind label %.loopexit.split-lp328

1141:                                             ; preds = %1139
  %1142 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %1143 = getelementptr inbounds i8, ptr %1142, i64 16
  %1144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %1140, ptr noundef nonnull align 8 dereferenceable(8) %1143)
          to label %1145 unwind label %.loopexit.split-lp328

1145:                                             ; preds = %1141
  %1146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1144, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %1147 unwind label %.loopexit.split-lp328

1147:                                             ; preds = %1145
  %1148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1146, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1149 unwind label %.loopexit.split-lp328

1149:                                             ; preds = %1147, %1128
  %1150 = call noundef ptr @_ZNSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  invoke void @_ZN3HIR7ExprPtr5resetEPNS_8ExprNodeE(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef %1150)
          to label %1151 unwind label %.loopexit.split-lp328

1151:                                             ; preds = %1149
  %1152 = getelementptr inbounds i8, ptr %3, i64 8
  %1153 = getelementptr inbounds i8, ptr %7, i64 8
  %1154 = call noundef i64 @_ZNKSt6vectorIN7Context7BindingESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1153) #9
  invoke void @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %1152, i64 noundef %1154)
          to label %1155 unwind label %.loopexit.split-lp328

1155:                                             ; preds = %1151
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %96) #9
  %1156 = call ptr @_ZNSt6vectorIN7Context7BindingESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1153) #9
  store ptr %1156, ptr %96, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %97) #9
  %1157 = call ptr @_ZNSt6vectorIN7Context7BindingESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1153) #9
  store ptr %1157, ptr %97, align 8
  %1158 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context7BindingESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 8 dereferenceable(8) %97) #9
  br i1 %1158, label %.lr.ph439, label %._crit_edge440

._crit_edge440:                                   ; preds = %1163, %1155
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %97) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %96) #9
  %1159 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1171 unwind label %.loopexit.split-lp328

.lr.ph439:                                        ; preds = %1155, %1163
  %1160 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7Context7BindingESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %96) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %98) #9
  %1161 = getelementptr inbounds i8, ptr %1160, i64 8
  invoke void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %98, ptr noundef nonnull align 8 dereferenceable(8) %1161)
          to label %1162 unwind label %1166

1162:                                             ; preds = %.lr.ph439
  invoke void @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %1152, ptr noundef nonnull align 8 dereferenceable(8) %98)
          to label %1163 unwind label %1168

1163:                                             ; preds = %1162
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %98) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %98) #9
  %1164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7Context7BindingESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %96) #9
  %1165 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7Context7BindingESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 8 dereferenceable(8) %97) #9
  br i1 %1165, label %.lr.ph439, label %._crit_edge440

1166:                                             ; preds = %.lr.ph439
  %1167 = landingpad { ptr, i32 }
          cleanup
  br label %1170

1168:                                             ; preds = %1162
  %1169 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %98) #9
  br label %1170

1170:                                             ; preds = %1168, %1166
  %.pn252 = phi { ptr, i32 } [ %1169, %1168 ], [ %1167, %1166 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %98) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %97) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %96) #9
  br label %1259

1171:                                             ; preds = %._crit_edge440
  br i1 %1159, label %1172, label %1186

1172:                                             ; preds = %1171
  %1173 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %1174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1173, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1175 unwind label %.loopexit.split-lp328

1175:                                             ; preds = %1172
  %1176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1174, ptr noundef nonnull @.str.77)
          to label %1177 unwind label %.loopexit.split-lp328

1177:                                             ; preds = %1175
  %1178 = load i32, ptr %8, align 4, !tbaa !21
  %1179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %1176, i32 noundef %1178)
          to label %1180 unwind label %.loopexit.split-lp328

1180:                                             ; preds = %1177
  %1181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1179, ptr noundef nonnull @.str.78)
          to label %1182 unwind label %.loopexit.split-lp328

1182:                                             ; preds = %1180
  %1183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1181, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %1184 unwind label %.loopexit.split-lp328

1184:                                             ; preds = %1182
  %1185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1183, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1186 unwind label %.loopexit.split-lp328

1186:                                             ; preds = %1184, %1171
  invoke void @_ZNK7Context4dumpEv(ptr noundef nonnull align 8 dereferenceable(592) %7)
          to label %1187 unwind label %.loopexit.split-lp328

1187:                                             ; preds = %1186
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %99) #9
  call void @_ZN12_GLOBAL__N_117ExprVisitor_ApplyC2ERK7Context(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 8 dereferenceable(592) %7)
  invoke void @_ZN12_GLOBAL__N_117ExprVisitor_Apply14visit_node_ptrERN3HIR7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 8 dereferenceable(72) %3)
          to label %1188 unwind label %1200

1188:                                             ; preds = %1187
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %99) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %99) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %100) #9
  call void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %100) #9
  %1189 = call noundef ptr @_ZN3HIR7ExprPtrptEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %1190 = load ptr, ptr %1189, align 8, !tbaa !31
  %1191 = load ptr, ptr %1190, align 8
  invoke void %1191(ptr noundef nonnull align 8 dereferenceable(28) %1189, ptr noundef nonnull align 8 dereferenceable(8) %100)
          to label %1192 unwind label %1202

1192:                                             ; preds = %1188
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %101) #9
  %1193 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1152) #9
  store ptr %1193, ptr %101, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %102) #9
  %1194 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1152) #9
  store ptr %1194, ptr %102, align 8
  %1195 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull align 8 dereferenceable(8) %102) #9
  br i1 %1195, label %.lr.ph442, label %._crit_edge443

._crit_edge443:                                   ; preds = %1205, %1192
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %102) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %101) #9
  %1196 = getelementptr inbounds i8, ptr %3, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %103) #9
  %1197 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1196) #9
  store ptr %1197, ptr %103, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %104) #9
  %1198 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1196) #9
  store ptr %1198, ptr %104, align 8
  %1199 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull align 8 dereferenceable(8) %104) #9
  br i1 %1199, label %.lr.ph445, label %._crit_edge446

1200:                                             ; preds = %1187
  %1201 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %99) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %99) #9
  br label %1259

1202:                                             ; preds = %1188
  %1203 = landingpad { ptr, i32 }
          cleanup
  br label %1227

.lr.ph442:                                        ; preds = %1192, %1205
  %1204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %101) #9
  invoke void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypes10visit_typeERS7_(ptr noundef nonnull align 8 dereferenceable(56) %100, ptr noundef nonnull align 8 dereferenceable(8) %1204)
          to label %1205 unwind label %1208

1205:                                             ; preds = %.lr.ph442
  %1206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %101) #9
  %1207 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull align 8 dereferenceable(8) %102) #9
  br i1 %1207, label %.lr.ph442, label %._crit_edge443

1208:                                             ; preds = %.lr.ph442
  %1209 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %102) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %101) #9
  br label %1227

._crit_edge446:                                   ; preds = %1212, %._crit_edge443
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %104) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %103) #9
  call void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %100) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %100) #9
  %1210 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1217 unwind label %.loopexit.split-lp328

.lr.ph445:                                        ; preds = %._crit_edge443, %1212
  %1211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %103) #9
  invoke void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypes10visit_typeERS7_(ptr noundef nonnull align 8 dereferenceable(56) %100, ptr noundef nonnull align 8 dereferenceable(8) %1211)
          to label %1212 unwind label %1215

1212:                                             ; preds = %.lr.ph445
  %1213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %103) #9
  %1214 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull align 8 dereferenceable(8) %104) #9
  br i1 %1214, label %.lr.ph445, label %._crit_edge446

1215:                                             ; preds = %.lr.ph445
  %1216 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %104) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %103) #9
  br label %1227

1217:                                             ; preds = %._crit_edge446
  br i1 %1210, label %1218, label %1228

1218:                                             ; preds = %1217
  %1219 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %1220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1219, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1221 unwind label %.loopexit.split-lp328

1221:                                             ; preds = %1218
  %1222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1220, ptr noundef nonnull @.str.79)
          to label %1223 unwind label %.loopexit.split-lp328

1223:                                             ; preds = %1221
  %1224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1222, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %1225 unwind label %.loopexit.split-lp328

1225:                                             ; preds = %1223
  %1226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1224, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1228 unwind label %.loopexit.split-lp328

1227:                                             ; preds = %1215, %1208, %1202
  %.pn250 = phi { ptr, i32 } [ %1209, %1208 ], [ %1216, %1215 ], [ %1203, %1202 ]
  call void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %100) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %100) #9
  br label %1259

1228:                                             ; preds = %1225, %1217
  call void @llvm.lifetime.start.p0(i64 424, ptr nonnull %105) #9
  %1229 = load ptr, ptr %0, align 8, !tbaa !5
  invoke void @_ZN18StaticTraitResolveC2ERKN3HIR5CrateE(ptr noundef nonnull align 8 dereferenceable(424) %105, ptr noundef nonnull align 8 dereferenceable(944) %1229)
          to label %1230 unwind label %1246

1230:                                             ; preds = %1228
  %1231 = load ptr, ptr %117, align 8, !tbaa !18
  %1232 = load ptr, ptr %119, align 8, !tbaa !19
  invoke void @_ZN18StaticTraitResolve21set_both_generics_rawEPKN3HIR13GenericParamsES3_(ptr noundef nonnull align 8 dereferenceable(424) %105, ptr noundef %1231, ptr noundef %1232)
          to label %1233 unwind label %1248

1233:                                             ; preds = %1230
  invoke void @_Z33Typecheck_Expressions_ValidateOneRK18StaticTraitResolveRKSt6vectorISt4pairIN3HIR7PatternENS4_7TypeRefEESaIS7_EERKS6_RKNS4_7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(424) %105, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(72) %3)
          to label %1234 unwind label %1248

1234:                                             ; preds = %1233
  %1235 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1236 unwind label %1248

1236:                                             ; preds = %1234
  br i1 %1235, label %1237, label %1250

1237:                                             ; preds = %1236
  %1238 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !21
  %1239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1238, ptr noundef nonnull @__func__._Z17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrE)
          to label %1240 unwind label %1248

1240:                                             ; preds = %1237
  %1241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1239, ptr noundef nonnull @.str.80)
          to label %1242 unwind label %1248

1242:                                             ; preds = %1240
  %1243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1241, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %1244 unwind label %1248

1244:                                             ; preds = %1242
  %1245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1243, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1250 unwind label %1248

1246:                                             ; preds = %1228
  %1247 = landingpad { ptr, i32 }
          cleanup
  br label %1258

1248:                                             ; preds = %1244, %1242, %1240, %1237, %1234, %1233, %1230
  %1249 = landingpad { ptr, i32 }
          cleanup
  br label %1257

1250:                                             ; preds = %1244, %1236
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %106) #9
  call void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN16VisitMethodConstC2ES2_RK18StaticTraitResolve(ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(424) %105)
  %1251 = call noundef ptr @_ZN3HIR7ExprPtrptEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %1252 = load ptr, ptr %1251, align 8, !tbaa !31
  %1253 = load ptr, ptr %1252, align 8
  invoke void %1253(ptr noundef nonnull align 8 dereferenceable(28) %1251, ptr noundef nonnull align 8 dereferenceable(8) %106)
          to label %1254 unwind label %1255

1254:                                             ; preds = %1250
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %106) #9
  call void @_ZN18StaticTraitResolveD2Ev(ptr noundef nonnull align 8 dereferenceable(424) %105) #9
  call void @llvm.lifetime.end.p0(i64 424, ptr nonnull %105) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  call void @_ZN7ContextD2Ev(ptr noundef nonnull align 8 dereferenceable(592) %7) #9
  call void @llvm.lifetime.end.p0(i64 592, ptr nonnull %7) #9
  call void @_ZNSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #9
  ret void

1255:                                             ; preds = %1250
  %1256 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR11ExprVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %106) #9
  br label %1257

1257:                                             ; preds = %1255, %1248
  %.pn = phi { ptr, i32 } [ %1256, %1255 ], [ %1249, %1248 ]
  call void @_ZN18StaticTraitResolveD2Ev(ptr noundef nonnull align 8 dereferenceable(424) %105) #9
  br label %1258

1258:                                             ; preds = %1257, %1246
  %.pn.pn = phi { ptr, i32 } [ %.pn, %1257 ], [ %1247, %1246 ]
  call void @llvm.lifetime.end.p0(i64 424, ptr nonnull %105) #9
  br label %1259

1259:                                             ; preds = %.loopexit327, %.loopexit.split-lp328, %1258, %1227, %1200, %1170, %1124, %1123, %1115, %1097, %1081, %1041, %1003, %1002, %988
  %.pn309.pn.pn = phi { ptr, i32 } [ %.pn309.pn, %988 ], [ %1004, %1003 ], [ %.pn270, %1002 ], [ %.pn267.pn, %1041 ], [ %.pn264.pn, %1081 ], [ %.pn258, %1097 ], [ %.pn256, %1115 ], [ %1125, %1124 ], [ %.pn254, %1123 ], [ %.pn252, %1170 ], [ %.pn250, %1227 ], [ %.pn.pn, %1258 ], [ %1201, %1200 ], [ %lpad.loopexit329, %.loopexit327 ], [ %lpad.loopexit.split-lp330, %.loopexit.split-lp328 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  br label %1260

1260:                                             ; preds = %1259, %169
  %.pn309.pn.pn.pn = phi { ptr, i32 } [ %.pn309.pn.pn, %1259 ], [ %170, %169 ]
  call void @_ZN7ContextD2Ev(ptr noundef nonnull align 8 dereferenceable(592) %7) #9
  br label %1261

1261:                                             ; preds = %1260, %167
  %.pn309.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn309.pn.pn.pn, %1260 ], [ %168, %167 ]
  call void @llvm.lifetime.end.p0(i64 592, ptr nonnull %7) #9
  call void @_ZNSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  br label %1262

1262:                                             ; preds = %1261, %113
  %.pn309.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn309.pn.pn.pn.pn, %1261 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #9
  resume { ptr, i32 } %.pn309.pn.pn.pn.pn.pn
}

declare void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #2

declare void @_ZN3HIR7ExprPtr11into_uniqueEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.60") align 8, ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ContextC2ERKN3HIR5CrateEPKNS0_13GenericParamsES6_RKNS0_10SimplePathEPKNS0_11GenericPathE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(944), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #1 align 2

declare void @_Z33Typecheck_Code_CS__EnumerateRulesR7ContextRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS7_7TypeRefEESaISA_EERKS9_RNS7_7ExprPtrERSt10unique_ptrINS7_8ExprNodeESt14default_deleteISJ_EE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7Context12take_changedEv(ptr noundef nonnull align 8 dereferenceable(592)) local_unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_112check_coerceER7ContextRKNS0_8CoercionE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(73) ptr @_ZNSt6vectorIN7Context10AssociatedESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7Context10AssociatedC2EOS0_(ptr noundef nonnull align 8 dereferenceable(73), ptr noundef nonnull align 8 dereferenceable(73)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_116check_associatedER7ContextRKNS0_10AssociatedE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #1

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_119ExprVisitor_RevisitC2ER7Contextb(ptr noundef nonnull align 8 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(592), i1 noundef zeroext) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK12_GLOBAL__N_119ExprVisitor_Revisit14node_completedEv(ptr noundef nonnull align 8 dereferenceable(18)) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_115check_ivar_possER7ContextjRNS0_12IVarPossibleENS_20IvarPossFallbackTypeE(ptr noundef nonnull align 8 dereferenceable(592), i32 noundef, ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN16HMTypeInferrence14apply_defaultsEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN15TraitResolution13compact_ivarsER16HMTypeInferrence(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #2

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

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

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

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

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

declare void @_ZNK4Span7warningE11WarningTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef ptr @_ZNK3HIR8ExprNode9type_nameEv(ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR7ExprPtr5resetEPNS_8ExprNodeE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_117ExprVisitor_Apply14visit_node_ptrERN3HIR7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypes10visit_typeERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN12CompactTypesD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolveC2ERKN3HIR5CrateE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(944)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolve21set_both_generics_rawEPKN3HIR13GenericParamsES3_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

declare void @_Z33Typecheck_Expressions_ValidateOneRK18StaticTraitResolveRKSt6vectorISt4pairIN3HIR7PatternENS4_7TypeRefEESaIS7_EERKS6_RKNS4_7ExprPtrE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZZ17Typecheck_Code_CSRKN6typeck11ModuleStateERSt6vectorISt4pairIN3HIR7PatternENS5_7TypeRefEESaIS8_EERKS7_RNS5_7ExprPtrEEN16VisitMethodConstC2ES2_RK18StaticTraitResolve(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(424)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7ContextD2Ev(ptr noundef nonnull align 8 dereferenceable(592)) 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 #5 align 2

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

attributes #0 = { nofree nounwind }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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 #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { 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, !7, i64 0}
!6 = !{!"_ZTSN6typeck11ModuleStateE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !14, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorISt4pairIPKN3HIR10SimplePathEPKNS1_5TraitEESaIS8_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseISt4pairIPKN3HIR10SimplePathEPKNS1_5TraitEESaIS8_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN3HIR10SimplePathEPKNS1_5TraitEESaIS8_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseISt4pairIPKN3HIR10SimplePathEPKNS1_5TraitEESaIS8_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"_ZTSSt6vectorIN3HIR10SimplePathESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN3HIR10SimplePathESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3HIR10SimplePathESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3HIR10SimplePathESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!18 = !{!6, !7, i64 16}
!19 = !{!6, !7, i64 24}
!20 = !{!6, !7, i64 8}
!21 = !{!22, !22, i64 0}
!22 = !{!"int", !8, i64 0}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !7, i64 16}
!25 = !{!"_ZTSN7Context8CoercionE", !22, i64 0, !26, i64 8, !7, i64 16}
!26 = !{!"_ZTSN3HIR7TypeRefE", !7, i64 0}
!27 = !{!25, !22, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !9, i64 0}
!33 = distinct !{!33, !29}
!34 = distinct !{!34, !29}
!35 = distinct !{!35, !29}
!36 = !{!"branch_weights", i32 1, i32 1048575}
!37 = distinct !{!37, !29}
!38 = distinct !{!38, !29}
!39 = distinct !{!39, !29}
!40 = distinct !{!40, !29}
!41 = distinct !{!41, !29}
!42 = distinct !{!42, !29}
!43 = distinct !{!43, !29}
!44 = distinct !{!44, !29}
!45 = distinct !{!45, !29}
!46 = !{!47, !22, i64 0}
!47 = !{!"_ZTSN3HIR8TypeData10Data_InferE", !22, i64 0, !48, i64 4}
!48 = !{!"_ZTSN3HIR10InferClassE", !8, i64 0}
!49 = distinct !{!49, !29}
!50 = distinct !{!50, !29}


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