; LLVM IR from thepowersgang/mrustc :: src/hir_conv (constant_evaluation)

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

%"class.HIR::TypeRef" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.EncodedLiteral = type { %"class.std::vector.97", %"class.std::vector.235" }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.235" = type { %"struct.std::_Vector_base.236" }
%"struct.std::_Vector_base.236" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.559 = type { ptr }
%class.anon.560 = type { ptr }
%"struct.(anonymous namespace)::NewvalState" = type <{ %"class.HIR::Evaluator::Newval", ptr, ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.HIR::Evaluator::Newval" = type { ptr }
%struct.Span = type { ptr }
%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.HIR::Evaluator" = type { %struct.Span, %class.StaticTraitResolve, ptr, i32, i32, %"class.std::vector.46" }
%class.StaticTraitResolve = type { ptr, %struct.TraitResolveCommon, i32, %"class.std::map.4", %"class.std::map.4", %"class.std::map.4", %"class.std::map.9" }
%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", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"class.std::map.4" = type { %"class.std::_Rb_tree.5" }
%"class.std::_Rb_tree.5" = 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" }
%"class.std::map.9" = type { %"class.std::_Rb_tree.10" }
%"class.std::_Rb_tree.10" = 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.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = type { %"struct.std::_Vector_base<HIR::Evaluator::CsePtr, std::allocator<HIR::Evaluator::CsePtr>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::Evaluator::CsePtr, std::allocator<HIR::Evaluator::CsePtr>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::Evaluator::CsePtr, std::allocator<HIR::Evaluator::CsePtr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::Evaluator::CsePtr, std::allocator<HIR::Evaluator::CsePtr>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.561 = type { i8 }
%class.anon.563 = type { ptr }
%struct.MonomorphState = type { %class.MonomorphiserPP, %"class.HIR::TypeRef", ptr, ptr, %"struct.HIR::PathParams" }
%class.MonomorphiserPP = type { %class.Monomorphiser }
%class.Monomorphiser = type { ptr, ptr, %"class.HIR::ItemPath", %"class.std::vector.31" }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl" }
%"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.20, %class.ThinVector.21, %class.ThinVector.22 }
%class.ThinVector.20 = type { ptr }
%class.ThinVector.21 = type { ptr }
%class.ThinVector.22 = type { ptr }
%"class.HIR::ConstGeneric" = type { i32, %"union.HIR::ConstGeneric::DataUnion" }
%"union.HIR::ConstGeneric::DataUnion" = type { %"class.std::unique_ptr.113", [8 x i8] }
%"class.std::unique_ptr.113" = type { %"struct.std::__uniq_ptr_data.114" }
%"struct.std::__uniq_ptr_data.114" = type { %"class.std::__uniq_ptr_impl.115" }
%"class.std::__uniq_ptr_impl.115" = type { %"class.std::tuple.116" }
%"class.std::tuple.116" = type { %"struct.std::_Tuple_impl.117" }
%"struct.std::_Tuple_impl.117" = type { %"struct.std::_Head_base.120" }
%"struct.std::_Head_base.120" = type { ptr }
%"class.HIR::EncodedLiteralPtr" = type { ptr }
%"struct.HIR::ConstGeneric_Unevaluated" = type { %"struct.HIR::PathParams", %"struct.HIR::PathParams", %"class.std::shared_ptr.554" }
%"class.std::shared_ptr.554" = type { %"class.std::__shared_ptr.555" }
%"class.std::__shared_ptr.555" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.HIR::GenericParams" = type { %"class.std::vector.165", %"class.std::vector.170", %"class.std::vector.175", %"class.std::vector.180" }
%"class.std::vector.165" = type { %"struct.std::_Vector_base.166" }
%"struct.std::_Vector_base.166" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.170" = type { %"struct.std::_Vector_base.171" }
%"struct.std::_Vector_base.171" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.175" = type { %"struct.std::_Vector_base.176" }
%"struct.std::_Vector_base.176" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.180" = type { %"struct.std::_Vector_base.181" }
%"struct.std::_Vector_base.181" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::ValueParamDef" = type { %class.RcString, %"class.HIR::TypeRef", %"class.HIR::ExprPtr" }
%class.RcString = type { ptr }
%"class.HIR::ExprPtr" = type { %"class.HIR::ExprPtrInner", %"class.std::vector.41", %"class.std::vector.41", %"class.MIR::FunctionPointer", %"class.HIR::ExprStatePtr" }
%"class.HIR::ExprPtrInner" = type { ptr }
%"class.std::vector.41" = type { %"struct.std::_Vector_base.42" }
%"struct.std::_Vector_base.42" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::FunctionPointer" = type { ptr }
%"class.HIR::ExprStatePtr" = type { ptr }

@_ZTIN12_GLOBAL__N_15DeferE = external hidden constant { ptr, ptr }, align 8
@_ZTISt13runtime_error = external constant ptr
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [7 x i8], align 1
@__func__._Z40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS2_10SimplePathEPKNS2_13GenericParamsESB_RSA_RNS2_10PathParamsE = external hidden unnamed_addr constant [41 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14MonomorphStateC2EOS_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4 align 2

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

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

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

declare void @__cxa_free_exception(ptr)

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

declare noundef zeroext i1 @_Z13debug_enabledv() #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14MonomorphStateC2Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR9Evaluator17evaluate_constantERKNS_8ItemPathERKNS_7ExprPtrENS_7TypeRefE14MonomorphState(ptr dead_on_unwind noalias writable sret(%struct.EncodedLiteral) align 8, ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, ptr noundef) #4 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) #4 align 2

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

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK3HIR5Crate15get_mod_by_pathERK4SpanRKNS_10SimplePathEbb(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext, i1 noundef zeroext) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEA2_cEOT_S8_RKT0_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(2)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEA7_cEOT_S8_RKT0_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(7)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR9EvaluatorC2ERK4SpanRKNS_5CrateERNS0_6NewvalE(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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

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

declare void @_ZN3HIR17EncodedLiteralPtrC1E14EncodedLiteral(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #5

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare void @__cxa_end_catch()

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS2_10SimplePathEPKNS2_13GenericParamsESB_RSA_RNS2_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(944) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull align 8 dereferenceable(96) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) #4 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %class.TraceLog, align 8
  %27 = alloca %"class.std::function", align 8
  %28 = alloca %class.anon.559, align 8
  %29 = alloca %"class.std::function", align 8
  %30 = alloca %class.anon.560, align 8
  %31 = alloca %"struct.(anonymous namespace)::NewvalState", align 8
  %32 = alloca %struct.Span, align 8
  %33 = alloca %"class.HIR::ItemPath", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"struct.HIR::Evaluator", align 8
  %36 = alloca i64, align 8
  %37 = alloca %struct.Span, align 8
  %38 = alloca %"class.std::function", align 8
  %39 = alloca %class.anon.561, align 1
  %40 = alloca ptr, align 8
  %41 = alloca %struct.Span, align 8
  %42 = alloca %"class.std::function", align 8
  %43 = alloca %class.anon.563, align 8
  %44 = alloca %struct.MonomorphState, align 8
  %45 = alloca %struct.EncodedLiteral, align 8
  %46 = alloca %"class.HIR::ItemPath", align 8
  %47 = alloca %"class.HIR::ItemPath", align 8
  %48 = alloca %"class.HIR::TypeRef", align 8
  %49 = alloca %struct.MonomorphState, align 8
  %50 = alloca %"class.HIR::ConstGeneric", align 8
  %51 = alloca %"class.HIR::EncodedLiteralPtr", align 8
  %52 = alloca %struct.EncodedLiteral, align 8
  %53 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %54 = load ptr, ptr %14, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.HIR::PathParams", ptr %54, i32 0, i32 2
  store ptr %55, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %56 = load ptr, ptr %15, align 8, !tbaa !5
  %57 = call noundef ptr @_ZN10ThinVectorIN3HIR12ConstGenericEE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %56)
  store ptr %57, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %58 = load ptr, ptr %15, align 8, !tbaa !5
  %59 = call noundef ptr @_ZN10ThinVectorIN3HIR12ConstGenericEE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %58)
  store ptr %59, ptr %17, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %321, %7
  %61 = load ptr, ptr %16, align 8, !tbaa !5
  %62 = load ptr, ptr %17, align 8, !tbaa !5
  %63 = icmp ne ptr %61, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %324

65:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %66 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %66, ptr %18, align 8, !tbaa !5
  %67 = load ptr, ptr %18, align 8, !tbaa !5
  %68 = call noundef zeroext i1 @_ZNK3HIR12ConstGeneric14is_UnevaluatedEv(ptr noundef nonnull align 8 dereferenceable(24) %67)
  br i1 %68, label %69, label %320

69:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %70 = load ptr, ptr %18, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR12ConstGeneric14as_UnevaluatedEv(ptr noundef nonnull align 8 dereferenceable(24) %70)
  %72 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt10unique_ptrIN3HIR24ConstGeneric_UnevaluatedESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #8
  store ptr %72, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %73 = load ptr, ptr %19, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.HIR::ConstGeneric_Unevaluated", ptr %73, i32 0, i32 2
  %75 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt19__shared_ptr_accessIN3HIR7ExprPtrELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  store ptr %75, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 376, ptr %22) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %76 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEA7_cEOT_S8_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %22, ptr noundef nonnull align 1 dereferenceable(7) @.str.76)
          to label %77 unwind label %118

77:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %78 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %78, ptr %25, align 8, !tbaa !5
  %79 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEPN3HIR12ConstGenericEEOT_SA_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %76, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %80 unwind label %122

80:                                               ; preds = %77
  %81 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEA2_cEOT_S8_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %79, ptr noundef nonnull align 1 dereferenceable(2) @.str.75)
          to label %82 unwind label %122

82:                                               ; preds = %80
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(112) %81)
          to label %83 unwind label %122

83:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #8
  %84 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %85 unwind label %127

85:                                               ; preds = %83
  %86 = zext i1 %84 to i64
  %87 = select i1 %84, ptr @__func__._Z40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS2_10SimplePathEPKNS2_13GenericParamsESB_RSA_RNS2_10PathParamsE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %88 = getelementptr inbounds %class.anon.559, ptr %28, i32 0, i32 0
  store ptr %21, ptr %88, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS7_10SimplePathEPKNS7_13GenericParamsESG_RSF_RNS7_10PathParamsEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %89 = getelementptr inbounds %class.anon.560, ptr %30, i32 0, i32 0
  store ptr %21, ptr %89, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS7_10SimplePathEPKNS7_13GenericParamsESG_RSF_RNS7_10PathParamsEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef %87, ptr noundef %27, ptr noundef %29)
          to label %90 unwind label %131

90:                                               ; preds = %85
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #8
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  invoke void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %92 unwind label %135

92:                                               ; preds = %90
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = invoke noundef nonnull align 8 dereferenceable(216) ptr @_ZNK3HIR5Crate15get_mod_by_pathERK4SpanRKNS_10SimplePathEbb(ptr noundef nonnull align 8 dereferenceable(944) %91, ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %93, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %95 unwind label %139

95:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 56, ptr %33) #8
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN3HIR8ItemPathC2ERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(8) %96)
          to label %97 unwind label %143

97:                                               ; preds = %95
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %98 unwind label %143

98:                                               ; preds = %97
  invoke void @_ZN12_GLOBAL__N_111NewvalStateC2ERKN3HIR6ModuleERKNS1_8ItemPathENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(60) %31, ptr noundef nonnull align 8 dereferenceable(216) %94, ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef %34)
          to label %99 unwind label %147

99:                                               ; preds = %98
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %33) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 472, ptr %35) #8
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN3HIR9EvaluatorC2ERK4SpanRKNS_5CrateERNS0_6NewvalE(ptr noundef nonnull align 8 dereferenceable(472) %35, ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull align 8 dereferenceable(944) %101, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %102 unwind label %154

102:                                              ; preds = %99
  %103 = getelementptr inbounds %"struct.HIR::Evaluator", ptr %35, i32 0, i32 1
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN18StaticTraitResolve21set_both_generics_rawEPKN3HIR13GenericParamsES3_(ptr noundef nonnull align 8 dereferenceable(424) %103, ptr noundef %104, ptr noundef %105)
          to label %106 unwind label %158

106:                                              ; preds = %102
  %107 = load ptr, ptr %19, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.HIR::ConstGeneric_Unevaluated", ptr %107, i32 0, i32 0
  %109 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_120params_contain_ivarsERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(24) %108)
          to label %110 unwind label %162

110:                                              ; preds = %106
  br i1 %109, label %116, label %111

111:                                              ; preds = %110
  %112 = load ptr, ptr %19, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.HIR::ConstGeneric_Unevaluated", ptr %112, i32 0, i32 1
  %114 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_120params_contain_ivarsERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(24) %113)
          to label %115 unwind label %162

115:                                              ; preds = %111
  br i1 %114, label %116, label %166

116:                                              ; preds = %115, %110
  %117 = call ptr @__cxa_allocate_exception(i64 1) #8
  invoke void @__cxa_throw(ptr %117, ptr @_ZTIN12_GLOBAL__N_15DeferE, ptr null) #9
          to label %330 unwind label %162

118:                                              ; preds = %69
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %23, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %24, align 4
  br label %126

122:                                              ; preds = %82, %80, %77
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %23, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %126

126:                                              ; preds = %122, %118
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %22) #8
  br label %319

127:                                              ; preds = %83
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %23, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %24, align 4
  br label %318

131:                                              ; preds = %85
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %23, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %24, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %318

135:                                              ; preds = %90
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %23, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %24, align 4
  br label %153

139:                                              ; preds = %92
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %23, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %24, align 4
  br label %152

143:                                              ; preds = %97, %95
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %23, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %24, align 4
  br label %151

147:                                              ; preds = %98
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %23, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %151

151:                                              ; preds = %147, %143
  call void @llvm.lifetime.end.p0(i64 56, ptr %33) #8
  br label %152

152:                                              ; preds = %151, %139
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br label %153

153:                                              ; preds = %152, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %317

154:                                              ; preds = %99
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %23, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %24, align 4
  br label %316

158:                                              ; preds = %102
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %23, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %24, align 4
  br label %315

162:                                              ; preds = %116, %111, %106
  %163 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %23, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %24, align 4
  br label %302

166:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %167 = load ptr, ptr %18, align 8, !tbaa !5
  %168 = load ptr, ptr %14, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.HIR::PathParams", ptr %168, i32 0, i32 2
  %170 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN10ThinVectorIN3HIR12ConstGenericEE5frontEv(ptr noundef nonnull align 8 dereferenceable(8) %169)
          to label %171 unwind label %188

171:                                              ; preds = %166
  %172 = ptrtoint ptr %167 to i64
  %173 = ptrtoint ptr %170 to i64
  %174 = sub i64 %172, %173
  %175 = sdiv exact i64 %174, 24
  store i64 %175, ptr %36, align 8, !tbaa !9
  br label %176

176:                                              ; preds = %171
  %177 = load i64, ptr %36, align 8, !tbaa !9
  %178 = load ptr, ptr %13, align 8, !tbaa !5
  %179 = getelementptr inbounds %"class.HIR::GenericParams", ptr %178, i32 0, i32 2
  %180 = call noundef i64 @_ZNKSt6vectorIN3HIR13ValueParamDefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %179) #8
  %181 = icmp ult i64 %177, %180
  br i1 %181, label %205, label %182

182:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %183)
          to label %184 unwind label %192

184:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZ40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS7_10SimplePathEPKNS7_13GenericParamsESG_RSF_RNS7_10PathParamsEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef %38)
          to label %185 unwind label %196

185:                                              ; preds = %184
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  %186 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %186, ptr noundef @.str.29)
          to label %187 unwind label %201

187:                                              ; preds = %185
  invoke void @__cxa_throw(ptr %186, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %330 unwind label %188

188:                                              ; preds = %187, %166
  %189 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %23, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %24, align 4
  br label %301

192:                                              ; preds = %182
  %193 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %23, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %24, align 4
  br label %200

196:                                              ; preds = %184
  %197 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %23, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %24, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  br label %200

200:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %301

201:                                              ; preds = %185
  %202 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %23, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %24, align 4
  call void @__cxa_free_exception(ptr %186) #8
  br label %301

205:                                              ; preds = %176
  br label %206

206:                                              ; preds = %205
  br label %207

207:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %208 = load ptr, ptr %13, align 8, !tbaa !5
  %209 = getelementptr inbounds %"class.HIR::GenericParams", ptr %208, i32 0, i32 2
  %210 = load i64, ptr %36, align 8, !tbaa !9
  %211 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt6vectorIN3HIR13ValueParamDefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %209, i64 noundef %210) #8
  %212 = getelementptr inbounds %"struct.HIR::ValueParamDef", ptr %211, i32 0, i32 1
  store ptr %212, ptr %40, align 8, !tbaa !5
  br label %213

213:                                              ; preds = %207
  %214 = load ptr, ptr %40, align 8, !tbaa !5
  %215 = invoke noundef zeroext i1 @_Z24monomorphise_type_neededRKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(8) %214, i1 noundef zeroext false)
          to label %216 unwind label %225

216:                                              ; preds = %213
  br i1 %215, label %217, label %242

217:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %218 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %218)
          to label %219 unwind label %229

219:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %220 = getelementptr inbounds %class.anon.563, ptr %43, i32 0, i32 0
  %221 = load ptr, ptr %40, align 8, !tbaa !5
  store ptr %221, ptr %220, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS7_10SimplePathEPKNS7_13GenericParamsESG_RSF_RNS7_10PathParamsEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef %42)
          to label %222 unwind label %233

222:                                              ; preds = %219
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  %223 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %223, ptr noundef @.str.29)
          to label %224 unwind label %238

224:                                              ; preds = %222
  invoke void @__cxa_throw(ptr %223, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %330 unwind label %225

225:                                              ; preds = %224, %213
  %226 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %23, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %24, align 4
  br label %300

229:                                              ; preds = %217
  %230 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %23, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %24, align 4
  br label %237

233:                                              ; preds = %219
  %234 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %23, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %24, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  br label %237

237:                                              ; preds = %233, %229
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %300

238:                                              ; preds = %222
  %239 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %23, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %24, align 4
  call void @__cxa_free_exception(ptr %223) #8
  br label %300

242:                                              ; preds = %216
  br label %243

243:                                              ; preds = %242
  br label %244

244:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 144, ptr %44) #8
  invoke void @_ZN14MonomorphStateC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %44)
          to label %245 unwind label %266

245:                                              ; preds = %244
  %246 = load ptr, ptr %19, align 8, !tbaa !5
  %247 = getelementptr inbounds %"struct.HIR::ConstGeneric_Unevaluated", ptr %246, i32 0, i32 0
  %248 = getelementptr inbounds %struct.MonomorphState, ptr %44, i32 0, i32 2
  store ptr %247, ptr %248, align 8, !tbaa !11
  %249 = load ptr, ptr %19, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.HIR::ConstGeneric_Unevaluated", ptr %249, i32 0, i32 1
  %251 = getelementptr inbounds %struct.MonomorphState, ptr %44, i32 0, i32 3
  store ptr %250, ptr %251, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 48, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %47) #8
  %252 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN3HIR8ItemPathC2ERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 8 dereferenceable(8) %252)
          to label %253 unwind label %270

253:                                              ; preds = %245
  %254 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  invoke void @_ZN3HIR8ItemPathC2ERKS0_PKc(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef %254)
          to label %255 unwind label %270

255:                                              ; preds = %253
  %256 = load ptr, ptr %20, align 8, !tbaa !5
  %257 = load ptr, ptr %40, align 8, !tbaa !5
  invoke void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %48, ptr noundef nonnull align 8 dereferenceable(8) %257)
          to label %258 unwind label %270

258:                                              ; preds = %255
  invoke void @_ZN14MonomorphStateC2EOS_(ptr noundef nonnull align 8 dereferenceable(144) %49, ptr noundef nonnull align 8 dereferenceable(144) %44)
          to label %259 unwind label %274

259:                                              ; preds = %258
  invoke void @_ZN3HIR9Evaluator17evaluate_constantERKNS_8ItemPathERKNS_7ExprPtrENS_7TypeRefE14MonomorphState(ptr dead_on_unwind writable sret(%struct.EncodedLiteral) align 8 %45, ptr noundef nonnull align 8 dereferenceable(472) %35, ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 8 dereferenceable(72) %256, ptr noundef %48, ptr noundef %49)
          to label %260 unwind label %278

260:                                              ; preds = %259
  call void @_ZN14MonomorphStateD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %49) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #8
  call void @_ZN14EncodedLiteralC2EOS_(ptr noundef nonnull align 8 dereferenceable(48) %52, ptr noundef nonnull align 8 dereferenceable(48) %45) #8
  invoke void @_ZN3HIR17EncodedLiteralPtrC1E14EncodedLiteral(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef %52)
          to label %261 unwind label %284

261:                                              ; preds = %260
  invoke void @_ZN3HIR12ConstGeneric14make_EvaluatedENS_17EncodedLiteralPtrE(ptr dead_on_unwind writable sret(%"class.HIR::ConstGeneric") align 8 %50, ptr noundef %51)
          to label %262 unwind label %288

262:                                              ; preds = %261
  %263 = load ptr, ptr %18, align 8, !tbaa !5
  %264 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3HIR12ConstGenericaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %263, ptr noundef nonnull align 8 dereferenceable(24) %50)
          to label %265 unwind label %292

265:                                              ; preds = %262
  call void @_ZN3HIR12ConstGenericD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #8
  call void @_ZN3HIR17EncodedLiteralPtrD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  call void @_ZN14EncodedLiteralD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #8
  call void @_ZN14EncodedLiteralD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #8
  call void @_ZN14MonomorphStateD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %44) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %310

266:                                              ; preds = %244
  %267 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %23, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %24, align 4
  br label %299

270:                                              ; preds = %255, %253, %245
  %271 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %23, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %24, align 4
  br label %283

274:                                              ; preds = %258
  %275 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %23, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %24, align 4
  br label %282

278:                                              ; preds = %259
  %279 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %23, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %24, align 4
  call void @_ZN14MonomorphStateD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %49) #8
  br label %282

282:                                              ; preds = %278, %274
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br label %283

283:                                              ; preds = %282, %270
  call void @llvm.lifetime.end.p0(i64 56, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %46) #8
  br label %298

284:                                              ; preds = %260
  %285 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %23, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %24, align 4
  br label %297

288:                                              ; preds = %261
  %289 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %23, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %24, align 4
  br label %296

292:                                              ; preds = %262
  %293 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %23, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %24, align 4
  call void @_ZN3HIR12ConstGenericD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #8
  br label %296

296:                                              ; preds = %292, %288
  call void @_ZN3HIR17EncodedLiteralPtrD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  br label %297

297:                                              ; preds = %296, %284
  call void @_ZN14EncodedLiteralD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #8
  call void @_ZN14EncodedLiteralD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #8
  br label %298

298:                                              ; preds = %297, %283
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #8
  call void @_ZN14MonomorphStateD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %44) #8
  br label %299

299:                                              ; preds = %298, %266
  call void @llvm.lifetime.end.p0(i64 144, ptr %44) #8
  br label %300

300:                                              ; preds = %299, %238, %237, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %301

301:                                              ; preds = %300, %201, %200, %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %302

302:                                              ; preds = %301, %162
  %303 = load i32, ptr %24, align 4
  %304 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN12_GLOBAL__N_15DeferE) #8
  %305 = icmp eq i32 %303, %304
  br i1 %305, label %306, label %315

306:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %307 = load ptr, ptr %23, align 8
  %308 = call ptr @__cxa_begin_catch(ptr %307) #8
  store ptr %308, ptr %53, align 8
  invoke void @__cxa_end_catch()
          to label %309 unwind label %311

309:                                              ; preds = %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  br label %310

310:                                              ; preds = %309, %265
  call void @_ZN3HIR9EvaluatorD2Ev(ptr noundef nonnull align 8 dereferenceable(472) %35) #8
  call void @llvm.lifetime.end.p0(i64 472, ptr %35) #8
  call void @_ZN12_GLOBAL__N_111NewvalStateD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %31) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %320

311:                                              ; preds = %306
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %23, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  br label %315

315:                                              ; preds = %311, %302, %158
  call void @_ZN3HIR9EvaluatorD2Ev(ptr noundef nonnull align 8 dereferenceable(472) %35) #8
  br label %316

316:                                              ; preds = %315, %154
  call void @llvm.lifetime.end.p0(i64 472, ptr %35) #8
  call void @_ZN12_GLOBAL__N_111NewvalStateD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %31) #8
  br label %317

317:                                              ; preds = %316, %153
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #8
  br label %318

318:                                              ; preds = %317, %131, %127
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %319

319:                                              ; preds = %318, %126
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %325

320:                                              ; preds = %310, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %321

321:                                              ; preds = %320
  %322 = load ptr, ptr %16, align 8, !tbaa !5
  %323 = getelementptr inbounds %"class.HIR::ConstGeneric", ptr %322, i32 1
  store ptr %323, ptr %16, align 8, !tbaa !5
  br label %60

324:                                              ; preds = %64
  ret void

325:                                              ; preds = %319
  %326 = load ptr, ptr %23, align 8
  %327 = load i32, ptr %24, align 4
  %328 = insertvalue { ptr, i32 } poison, ptr %326, 0
  %329 = insertvalue { ptr, i32 } %328, i32 %327, 1
  resume { ptr, i32 } %329

330:                                              ; preds = %224, %187, %116
  unreachable
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEPN3HIR12ConstGenericEEOT_SA_RKT0_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_111NewvalStateC2ERKN3HIR6ModuleERKNS1_8ItemPathENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_120params_contain_ivarsERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(24)) #4

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

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

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

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

declare noundef zeroext i1 @_Z24monomorphise_type_neededRKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR12ConstGeneric14make_EvaluatedENS_17EncodedLiteralPtrE(ptr dead_on_unwind noalias writable sret(%"class.HIR::ConstGeneric") align 8, ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111NewvalStateD2Ev(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #0 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 104}
!12 = !{!"_ZTS14MonomorphState", !13, i64 0, !20, i64 96, !6, i64 104, !6, i64 112, !21, i64 120}
!13 = !{!"_ZTS15MonomorphiserPP", !14, i64 0}
!14 = !{!"_ZTS13Monomorphiser", !6, i64 8, !15, i64 16, !16, i64 72}
!15 = !{!"_ZTSN3HIR8ItemPathE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!16 = !{!"_ZTSSt6vectorIPKN3HIR13GenericParamsESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIPKN3HIR13GenericParamsESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPKN3HIR13GenericParamsESaIS3_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPKN3HIR13GenericParamsESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSN3HIR7TypeRefE", !6, i64 0}
!21 = !{!"_ZTSN3HIR10PathParamsE", !22, i64 0, !23, i64 8, !24, i64 16}
!22 = !{!"_ZTS10ThinVectorIN3HIR11LifetimeRefEE", !6, i64 0}
!23 = !{!"_ZTS10ThinVectorIN3HIR7TypeRefEE", !6, i64 0}
!24 = !{!"_ZTS10ThinVectorIN3HIR12ConstGenericEE", !6, i64 0}
!25 = !{!12, !6, i64 112}


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

%"class.HIR::TypeRef" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.EncodedLiteral = type { %"class.std::vector.97", %"class.std::vector.235" }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.235" = type { %"struct.std::_Vector_base.236" }
%"struct.std::_Vector_base.236" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.559 = type { ptr }
%class.anon.560 = type { ptr }
%"struct.(anonymous namespace)::NewvalState" = type <{ %"class.HIR::Evaluator::Newval", ptr, ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.HIR::Evaluator::Newval" = type { ptr }
%struct.Span = type { ptr }
%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.HIR::Evaluator" = type { %struct.Span, %class.StaticTraitResolve, ptr, i32, i32, %"class.std::vector.46" }
%class.StaticTraitResolve = type { ptr, %struct.TraitResolveCommon, i32, %"class.std::map.4", %"class.std::map.4", %"class.std::map.4", %"class.std::map.9" }
%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", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"class.std::map.4" = type { %"class.std::_Rb_tree.5" }
%"class.std::_Rb_tree.5" = 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" }
%"class.std::map.9" = type { %"class.std::_Rb_tree.10" }
%"class.std::_Rb_tree.10" = 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.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = type { %"struct.std::_Vector_base<HIR::Evaluator::CsePtr, std::allocator<HIR::Evaluator::CsePtr>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::Evaluator::CsePtr, std::allocator<HIR::Evaluator::CsePtr>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::Evaluator::CsePtr, std::allocator<HIR::Evaluator::CsePtr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::Evaluator::CsePtr, std::allocator<HIR::Evaluator::CsePtr>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.561 = type { i8 }
%class.anon.563 = type { ptr }
%struct.MonomorphState = type { %class.MonomorphiserPP, %"class.HIR::TypeRef", ptr, ptr, %"struct.HIR::PathParams" }
%class.MonomorphiserPP = type { %class.Monomorphiser }
%class.Monomorphiser = type { ptr, ptr, %"class.HIR::ItemPath", %"class.std::vector.31" }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl" }
%"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.20, %class.ThinVector.21, %class.ThinVector.22 }
%class.ThinVector.20 = type { ptr }
%class.ThinVector.21 = type { ptr }
%class.ThinVector.22 = type { ptr }
%"class.HIR::ConstGeneric" = type { i32, %"union.HIR::ConstGeneric::DataUnion" }
%"union.HIR::ConstGeneric::DataUnion" = type { %"class.std::unique_ptr.113", [8 x i8] }
%"class.std::unique_ptr.113" = type { %"struct.std::__uniq_ptr_data.114" }
%"struct.std::__uniq_ptr_data.114" = type { %"class.std::__uniq_ptr_impl.115" }
%"class.std::__uniq_ptr_impl.115" = type { %"class.std::tuple.116" }
%"class.std::tuple.116" = type { %"struct.std::_Tuple_impl.117" }
%"struct.std::_Tuple_impl.117" = type { %"struct.std::_Head_base.120" }
%"struct.std::_Head_base.120" = type { ptr }
%"class.HIR::EncodedLiteralPtr" = type { ptr }

@_ZTIN12_GLOBAL__N_15DeferE = external hidden constant { ptr, ptr }, align 8
@_ZTISt13runtime_error = external constant ptr
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [7 x i8], align 1
@__func__._Z40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS2_10SimplePathEPKNS2_13GenericParamsESB_RSA_RNS2_10PathParamsE = external hidden unnamed_addr constant [41 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14MonomorphStateC2EOS_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4 align 2

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

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

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

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 #3

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14MonomorphStateC2Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR9Evaluator17evaluate_constantERKNS_8ItemPathERKNS_7ExprPtrENS_7TypeRefE14MonomorphState(ptr dead_on_unwind noalias writable sret(%struct.EncodedLiteral) align 8, ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, ptr noundef) local_unnamed_addr #4 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 #4 align 2

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

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK3HIR5Crate15get_mod_by_pathERK4SpanRKNS_10SimplePathEbb(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEA2_cEOT_S8_RKT0_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEA7_cEOT_S8_RKT0_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(7)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR9EvaluatorC2ERK4SpanRKNS_5CrateERNS0_6NewvalE(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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

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

declare void @_ZN3HIR17EncodedLiteralPtrC1E14EncodedLiteral(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #5

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare void @__cxa_end_catch() local_unnamed_addr

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS2_10SimplePathEPKNS2_13GenericParamsESB_RSA_RNS2_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(944) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull align 8 dereferenceable(96) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %class.TraceLog, align 8
  %12 = alloca %"class.std::function", align 8
  %13 = alloca %class.anon.559, align 8
  %14 = alloca %"class.std::function", align 8
  %15 = alloca %class.anon.560, align 8
  %16 = alloca %"struct.(anonymous namespace)::NewvalState", align 8
  %17 = alloca %struct.Span, align 8
  %18 = alloca %"class.HIR::ItemPath", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"struct.HIR::Evaluator", align 8
  %21 = alloca %struct.Span, align 8
  %22 = alloca %"class.std::function", align 8
  %23 = alloca %class.anon.561, align 1
  %24 = alloca %struct.Span, align 8
  %25 = alloca %"class.std::function", align 8
  %26 = alloca %class.anon.563, align 8
  %27 = alloca %struct.MonomorphState, align 8
  %28 = alloca %struct.EncodedLiteral, align 8
  %29 = alloca %"class.HIR::ItemPath", align 8
  %30 = alloca %"class.HIR::ItemPath", align 8
  %31 = alloca %"class.HIR::TypeRef", align 8
  %32 = alloca %struct.MonomorphState, align 8
  %33 = alloca %"class.HIR::ConstGeneric", align 8
  %34 = alloca %"class.HIR::EncodedLiteralPtr", align 8
  %35 = alloca %struct.EncodedLiteral, align 8
  %36 = getelementptr inbounds i8, ptr %6, i64 16
  %37 = tail call noundef ptr @_ZN10ThinVectorIN3HIR12ConstGenericEE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
  %38 = tail call noundef ptr @_ZN10ThinVectorIN3HIR12ConstGenericEE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
  %.not83 = icmp eq ptr %37, %38
  br i1 %.not83, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %7
  %39 = getelementptr inbounds i8, ptr %20, i64 8
  %40 = getelementptr inbounds i8, ptr %5, i64 48
  %41 = getelementptr inbounds i8, ptr %27, i64 104
  %42 = getelementptr inbounds i8, ptr %27, i64 112
  br label %43

._crit_edge:                                      ; preds = %194, %7
  ret void

43:                                               ; preds = %.lr.ph, %194
  %.084 = phi ptr [ %37, %.lr.ph ], [ %195, %194 ]
  %44 = call noundef zeroext i1 @_ZNK3HIR12ConstGeneric14is_UnevaluatedEv(ptr noundef nonnull align 8 dereferenceable(24) %.084)
  br i1 %44, label %45, label %194

45:                                               ; preds = %43
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR12ConstGeneric14as_UnevaluatedEv(ptr noundef nonnull align 8 dereferenceable(24) %.084)
  %47 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt10unique_ptrIN3HIR24ConstGeneric_UnevaluatedESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  %48 = getelementptr inbounds i8, ptr %47, i64 48
  %49 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt19__shared_ptr_accessIN3HIR7ExprPtrELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %9) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9)
  %50 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEA7_cEOT_S8_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %9, ptr noundef nonnull align 1 dereferenceable(7) @.str.76)
          to label %51 unwind label %75

51:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  store ptr %.084, ptr %10, align 8, !tbaa !5
  %52 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEPN3HIR12ConstGenericEEOT_SA_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %50, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %53 unwind label %77

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEA2_cEOT_S8_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %52, ptr noundef nonnull align 1 dereferenceable(2) @.str.75)
          to label %55 unwind label %77

55:                                               ; preds = %53
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(112) %54)
          to label %56 unwind label %77

56:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #8
  %57 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %58 unwind label %80

58:                                               ; preds = %56
  %59 = select i1 %57, ptr @__func__._Z40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS2_10SimplePathEPKNS2_13GenericParamsESB_RSA_RNS2_10PathParamsE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  store ptr %8, ptr %13, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS7_10SimplePathEPKNS7_13GenericParamsESG_RSF_RNS7_10PathParamsEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  store ptr %8, ptr %15, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS7_10SimplePathEPKNS7_13GenericParamsESG_RSF_RNS7_10PathParamsEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef %59, ptr noundef nonnull %12, ptr noundef nonnull %14)
          to label %60 unwind label %84

60:                                               ; preds = %58
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  call void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %61 = invoke noundef nonnull align 8 dereferenceable(216) ptr @_ZNK3HIR5Crate15get_mod_by_pathERK4SpanRKNS_10SimplePathEbb(ptr noundef nonnull align 8 dereferenceable(944) %1, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %2, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %62 unwind label %88

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %18) #8
  call void @_ZN3HIR8ItemPathC2ERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(56) %18, ptr noundef nonnull align 8 dereferenceable(8) %2)
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %63 unwind label %90

63:                                               ; preds = %62
  invoke void @_ZN12_GLOBAL__N_111NewvalStateC2ERKN3HIR6ModuleERKNS1_8ItemPathENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(60) %16, ptr noundef nonnull align 8 dereferenceable(216) %61, ptr noundef nonnull align 8 dereferenceable(56) %18, ptr noundef nonnull %19)
          to label %64 unwind label %92

64:                                               ; preds = %63
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %18) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 472, ptr nonnull %20) #8
  invoke void @_ZN3HIR9EvaluatorC2ERK4SpanRKNS_5CrateERNS0_6NewvalE(ptr noundef nonnull align 8 dereferenceable(472) %20, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(944) %1, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %65 unwind label %96

65:                                               ; preds = %64
  invoke void @_ZN18StaticTraitResolve21set_both_generics_rawEPKN3HIR13GenericParamsES3_(ptr noundef nonnull align 8 dereferenceable(424) %39, ptr noundef %3, ptr noundef %4)
          to label %66 unwind label %100

66:                                               ; preds = %65
  %67 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_120params_contain_ivarsERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(24) %47)
          to label %68 unwind label %104

68:                                               ; preds = %66
  br i1 %67, label %73, label %69

69:                                               ; preds = %68
  %70 = getelementptr inbounds i8, ptr %47, i64 24
  %71 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_120params_contain_ivarsERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(24) %70)
          to label %72 unwind label %104

72:                                               ; preds = %69
  br i1 %71, label %73, label %106

73:                                               ; preds = %72, %68
  %74 = call ptr @__cxa_allocate_exception(i64 1) #8
  invoke void @__cxa_throw(ptr %74, ptr nonnull @_ZTIN12_GLOBAL__N_15DeferE, ptr null) #9
          to label %196 unwind label %104

75:                                               ; preds = %45
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %79

77:                                               ; preds = %55, %53, %51
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %79

79:                                               ; preds = %77, %75
  %.pn = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  %.039 = extractvalue { ptr, i32 } %.pn, 0
  %.040 = extractvalue { ptr, i32 } %.pn, 1
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %9) #8
  br label %191

80:                                               ; preds = %56
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  %83 = extractvalue { ptr, i32 } %81, 1
  br label %190

84:                                               ; preds = %58
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  %87 = extractvalue { ptr, i32 } %85, 1
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %190

88:                                               ; preds = %60
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %95

90:                                               ; preds = %62
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %63
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  br label %94

94:                                               ; preds = %92, %90
  %.pn61 = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %18) #8
  br label %95

95:                                               ; preds = %94, %88
  %.pn61.pn = phi { ptr, i32 } [ %.pn61, %94 ], [ %89, %88 ]
  %.2 = extractvalue { ptr, i32 } %.pn61.pn, 0
  %.242 = extractvalue { ptr, i32 } %.pn61.pn, 1
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %189

96:                                               ; preds = %64
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  %99 = extractvalue { ptr, i32 } %97, 1
  br label %188

100:                                              ; preds = %65
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  %103 = extractvalue { ptr, i32 } %101, 1
  br label %.loopexit

104:                                              ; preds = %73, %69, %66
  %105 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %178

106:                                              ; preds = %72
  %107 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN10ThinVectorIN3HIR12ConstGenericEE5frontEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %108 unwind label %120

108:                                              ; preds = %106
  %109 = ptrtoint ptr %.084 to i64
  %110 = ptrtoint ptr %107 to i64
  %111 = sub i64 %109, %110
  %112 = sdiv exact i64 %111, 24
  %113 = call noundef i64 @_ZNKSt6vectorIN3HIR13ValueParamDefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  %114 = icmp ult i64 %112, %113
  br i1 %114, label %129, label %115

115:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %116 unwind label %122

116:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZ40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS7_10SimplePathEPKNS7_13GenericParamsESG_RSF_RNS7_10PathParamsEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull %22)
          to label %117 unwind label %124

117:                                              ; preds = %116
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  %118 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %118, ptr noundef nonnull @.str.29)
          to label %119 unwind label %127

119:                                              ; preds = %117
  invoke void @__cxa_throw(ptr nonnull %118, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %196 unwind label %120

120:                                              ; preds = %119, %106
  %121 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %178

122:                                              ; preds = %115
  %123 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %126

124:                                              ; preds = %116
  %125 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br label %126

126:                                              ; preds = %124, %122
  %.pn64 = phi { ptr, i32 } [ %125, %124 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %178

127:                                              ; preds = %117
  %128 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  call void @__cxa_free_exception(ptr %118) #8
  br label %178

129:                                              ; preds = %108
  %130 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt6vectorIN3HIR13ValueParamDefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %112) #8
  %131 = getelementptr inbounds i8, ptr %130, i64 8
  %132 = invoke noundef zeroext i1 @_Z24monomorphise_type_neededRKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(8) %131, i1 noundef zeroext false)
          to label %133 unwind label %139

133:                                              ; preds = %129
  br i1 %132, label %134, label %148

134:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %135 unwind label %141

135:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  store ptr %131, ptr %26, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ40ConvertHIR_ConstantEvaluate_MethodParamsRK4SpanRKN3HIR5CrateERKNS7_10SimplePathEPKNS7_13GenericParamsESG_RSF_RNS7_10PathParamsEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull %25)
          to label %136 unwind label %143

136:                                              ; preds = %135
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  %137 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %137, ptr noundef nonnull @.str.29)
          to label %138 unwind label %146

138:                                              ; preds = %136
  invoke void @__cxa_throw(ptr nonnull %137, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %196 unwind label %139

139:                                              ; preds = %138, %129
  %140 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %178

141:                                              ; preds = %134
  %142 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %145

143:                                              ; preds = %135
  %144 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  br label %145

145:                                              ; preds = %143, %141
  %.pn74 = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  br label %178

146:                                              ; preds = %136
  %147 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  call void @__cxa_free_exception(ptr %137) #8
  br label %178

148:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %27) #8
  invoke void @_ZN14MonomorphStateC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %27)
          to label %149 unwind label %158

149:                                              ; preds = %148
  store ptr %47, ptr %41, align 8, !tbaa !9
  store ptr %70, ptr %42, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %28) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %29) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %30) #8
  call void @_ZN3HIR8ItemPathC2ERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %150 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @_ZN3HIR8ItemPathC2ERKS0_PKc(ptr noundef nonnull align 8 dereferenceable(56) %29, ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef %150)
  invoke void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %31, ptr noundef nonnull align 8 dereferenceable(8) %131)
          to label %151 unwind label %160

151:                                              ; preds = %149
  invoke void @_ZN14MonomorphStateC2EOS_(ptr noundef nonnull align 8 dereferenceable(144) %32, ptr noundef nonnull align 8 dereferenceable(144) %27)
          to label %152 unwind label %162

152:                                              ; preds = %151
  invoke void @_ZN3HIR9Evaluator17evaluate_constantERKNS_8ItemPathERKNS_7ExprPtrENS_7TypeRefE14MonomorphState(ptr dead_on_unwind nonnull writable sret(%struct.EncodedLiteral) align 8 %28, ptr noundef nonnull align 8 dereferenceable(472) %20, ptr noundef nonnull align 8 dereferenceable(56) %29, ptr noundef nonnull align 8 dereferenceable(72) %49, ptr noundef nonnull %31, ptr noundef nonnull %32)
          to label %153 unwind label %164

153:                                              ; preds = %152
  call void @_ZN14MonomorphStateD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %32) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %29) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #8
  call void @_ZN14EncodedLiteralC2EOS_(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull align 8 dereferenceable(48) %28) #8
  invoke void @_ZN3HIR17EncodedLiteralPtrC1E14EncodedLiteral(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull %35)
          to label %154 unwind label %168

154:                                              ; preds = %153
  invoke void @_ZN3HIR12ConstGeneric14make_EvaluatedENS_17EncodedLiteralPtrE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ConstGeneric") align 8 %33, ptr noundef nonnull %34)
          to label %155 unwind label %170

155:                                              ; preds = %154
  %156 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3HIR12ConstGenericaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %.084, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %157 unwind label %172

157:                                              ; preds = %155
  call void @_ZN3HIR12ConstGenericD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @_ZN3HIR17EncodedLiteralPtrD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  call void @_ZN14EncodedLiteralD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  call void @_ZN14EncodedLiteralD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #8
  call void @_ZN14MonomorphStateD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %27) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %27) #8
  br label %183

158:                                              ; preds = %148
  %159 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %177

160:                                              ; preds = %149
  %161 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %167

162:                                              ; preds = %151
  %163 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %166

164:                                              ; preds = %152
  %165 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  call void @_ZN14MonomorphStateD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %32) #8
  br label %166

166:                                              ; preds = %164, %162
  %.pn66 = phi { ptr, i32 } [ %165, %164 ], [ %163, %162 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  br label %167

167:                                              ; preds = %166, %160
  %.pn66.pn = phi { ptr, i32 } [ %.pn66, %166 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %29) #8
  br label %176

168:                                              ; preds = %153
  %169 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %175

170:                                              ; preds = %154
  %171 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  br label %174

172:                                              ; preds = %155
  %173 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_15DeferE
  call void @_ZN3HIR12ConstGenericD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  br label %174

174:                                              ; preds = %172, %170
  %.pn69 = phi { ptr, i32 } [ %173, %172 ], [ %171, %170 ]
  call void @_ZN3HIR17EncodedLiteralPtrD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br label %175

175:                                              ; preds = %174, %168
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %174 ], [ %169, %168 ]
  call void @_ZN14EncodedLiteralD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  call void @_ZN14EncodedLiteralD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #8
  br label %176

176:                                              ; preds = %175, %167
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %175 ], [ %.pn66.pn, %167 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #8
  call void @_ZN14MonomorphStateD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %27) #8
  br label %177

177:                                              ; preds = %176, %158
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn, %176 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %27) #8
  br label %178

178:                                              ; preds = %120, %126, %127, %177, %146, %145, %139, %104
  %.pn79 = phi { ptr, i32 } [ %105, %104 ], [ %121, %120 ], [ %128, %127 ], [ %.pn64, %126 ], [ %140, %139 ], [ %147, %146 ], [ %.pn74, %145 ], [ %.pn69.pn.pn.pn, %177 ]
  %.13 = extractvalue { ptr, i32 } %.pn79, 0
  %.1353 = extractvalue { ptr, i32 } %.pn79, 1
  %179 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN12_GLOBAL__N_15DeferE) #8
  %180 = icmp eq i32 %.1353, %179
  br i1 %180, label %181, label %.loopexit

181:                                              ; preds = %178
  %182 = call ptr @__cxa_begin_catch(ptr %.13) #8
  invoke void @__cxa_end_catch()
          to label %183 unwind label %184

183:                                              ; preds = %181, %157
  call void @_ZN3HIR9EvaluatorD2Ev(ptr noundef nonnull align 8 dereferenceable(472) %20) #8
  call void @llvm.lifetime.end.p0(i64 472, ptr nonnull %20) #8
  call void @_ZN12_GLOBAL__N_111NewvalStateD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %16) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %194

184:                                              ; preds = %181
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  %187 = extractvalue { ptr, i32 } %185, 1
  br label %.loopexit

.loopexit:                                        ; preds = %178, %184, %100
  %.1454 = phi i32 [ %187, %184 ], [ %103, %100 ], [ %.1353, %178 ]
  %.14 = phi ptr [ %186, %184 ], [ %102, %100 ], [ %.13, %178 ]
  call void @_ZN3HIR9EvaluatorD2Ev(ptr noundef nonnull align 8 dereferenceable(472) %20) #8
  br label %188

188:                                              ; preds = %.loopexit, %96
  %.1555 = phi i32 [ %.1454, %.loopexit ], [ %99, %96 ]
  %.15 = phi ptr [ %.14, %.loopexit ], [ %98, %96 ]
  call void @llvm.lifetime.end.p0(i64 472, ptr nonnull %20) #8
  call void @_ZN12_GLOBAL__N_111NewvalStateD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %16) #8
  br label %189

189:                                              ; preds = %188, %95
  %.1656 = phi i32 [ %.1555, %188 ], [ %.242, %95 ]
  %.16 = phi ptr [ %.15, %188 ], [ %.2, %95 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #8
  br label %190

190:                                              ; preds = %189, %84, %80
  %.1757 = phi i32 [ %.1656, %189 ], [ %87, %84 ], [ %83, %80 ]
  %.17 = phi ptr [ %.16, %189 ], [ %86, %84 ], [ %82, %80 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %191

191:                                              ; preds = %190, %79
  %.1858 = phi i32 [ %.1757, %190 ], [ %.040, %79 ]
  %.18 = phi ptr [ %.17, %190 ], [ %.039, %79 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  %192 = insertvalue { ptr, i32 } poison, ptr %.18, 0
  %193 = insertvalue { ptr, i32 } %192, i32 %.1858, 1
  resume { ptr, i32 } %193

194:                                              ; preds = %183, %43
  %195 = getelementptr inbounds i8, ptr %.084, i64 24
  %.not = icmp eq ptr %195, %38
  br i1 %.not, label %._crit_edge, label %43

196:                                              ; preds = %138, %119, %73
  unreachable
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEPN3HIR12ConstGenericEEOT_SA_RKT0_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_111NewvalStateC2ERKN3HIR6ModuleERKNS1_8ItemPathENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_120params_contain_ivarsERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

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

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

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

declare noundef zeroext i1 @_Z24monomorphise_type_neededRKN3HIR7TypeRefEb(ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR12ConstGeneric14make_EvaluatedENS_17EncodedLiteralPtrE(ptr dead_on_unwind noalias writable sret(%"class.HIR::ConstGeneric") align 8, ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111NewvalStateD2Ev(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #0 align 2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nofree nosync nounwind memory(none) }
attributes #8 = { nounwind }
attributes #9 = { 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 104}
!10 = !{!"_ZTS14MonomorphState", !11, i64 0, !18, i64 96, !6, i64 104, !6, i64 112, !19, i64 120}
!11 = !{!"_ZTS15MonomorphiserPP", !12, i64 0}
!12 = !{!"_ZTS13Monomorphiser", !6, i64 8, !13, i64 16, !14, i64 72}
!13 = !{!"_ZTSN3HIR8ItemPathE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!14 = !{!"_ZTSSt6vectorIPKN3HIR13GenericParamsESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPKN3HIR13GenericParamsESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPKN3HIR13GenericParamsESaIS3_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPKN3HIR13GenericParamsESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSN3HIR7TypeRefE", !6, i64 0}
!19 = !{!"_ZTSN3HIR10PathParamsE", !20, i64 0, !21, i64 8, !22, i64 16}
!20 = !{!"_ZTS10ThinVectorIN3HIR11LifetimeRefEE", !6, i64 0}
!21 = !{!"_ZTS10ThinVectorIN3HIR7TypeRefEE", !6, i64 0}
!22 = !{!"_ZTS10ThinVectorIN3HIR12ConstGenericEE", !6, i64 0}
!23 = !{!10, !6, i64 112}


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