; LLVM IR from thepowersgang/mrustc :: src/mir (from_hir_match)

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

%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::Terminator" = type { i32, %"union.MIR::Terminator::DataUnion" }
%"union.MIR::Terminator::DataUnion" = type { %"struct.MIR::Terminator::Data_Call" }
%"struct.MIR::Terminator::Data_Call" = type { i32, i32, %"struct.MIR::LValue", %"class.MIR::CallTarget", %"class.std::vector.18" }
%"class.MIR::CallTarget" = type { i32, %"union.MIR::CallTarget::DataUnion" }
%"union.MIR::CallTarget::DataUnion" = type { %"class.HIR::Path" }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr.115" }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.23, %class.ThinVector.24, %class.ThinVector.25 }
%class.ThinVector.23 = type { ptr }
%class.ThinVector.24 = type { ptr }
%class.ThinVector.25 = type { ptr }
%"class.std::unique_ptr.115" = type { %"struct.std::__uniq_ptr_data.116" }
%"struct.std::__uniq_ptr_data.116" = type { %"class.std::__uniq_ptr_impl.117" }
%"class.std::__uniq_ptr_impl.117" = type { %"class.std::tuple.118" }
%"class.std::tuple.118" = type { %"struct.std::_Tuple_impl.119" }
%"struct.std::_Tuple_impl.119" = type { %"struct.std::_Head_base.122" }
%"struct.std::_Head_base.122" = type { ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::Constant" = type { i32, %"union.MIR::Constant::DataUnion" }
%"union.MIR::Constant::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.MIR::Constant::Data_Uint" = type <{ %class.U128, i32, [4 x i8] }>
%class.U128 = type { i64, i64 }
%"class.MIR::RValue" = type { i32, %"union.MIR::RValue::DataUnion" }
%"union.MIR::RValue::DataUnion" = type { %"struct.MIR::RValue::Data_BinOp" }
%"struct.MIR::RValue::Data_BinOp" = type { %"class.MIR::Param", i32, %"class.MIR::Param" }
%"class.MIR::Param" = type { i32, %"union.MIR::Param::DataUnion" }
%"union.MIR::Param::DataUnion" = type { %"struct.MIR::Param::Data_Borrow" }
%"struct.MIR::Param::Data_Borrow" = type { i32, %"struct.MIR::LValue" }
%"struct.MIR::RValue::Data_DstMeta" = type { %"struct.MIR::LValue" }
%struct.Span = type { ptr }
%"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.614 = type { i8 }
%"struct.MIR::Terminator::Data_If" = type { %"struct.MIR::LValue", i32, i32 }
%class.anon.616 = type { ptr }
%class.anon.617 = type { ptr }
%"struct.MIR::RValue::Data_MakeDst" = type { %"class.MIR::Param", %"class.MIR::Param" }
%class.anon.618 = type { ptr }
%class.MatchGenGrouped = type { ptr, ptr, ptr, ptr, ptr, i64 }
%"struct.PatternRule::Data_Slice" = type { i32, %"class.std::vector.136" }
%"class.std::vector.136" = type { %"struct.std::_Vector_base.137" }
%"struct.std::_Vector_base.137" = type { %"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl" }
%"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl" = type { %"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaIS5_EEmRKS4_IjSaIjEEj = external hidden unnamed_addr constant [186 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

declare noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440)) #1

declare void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440), i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3MIR6LValue5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind noalias writable sret(%"class.MIR::Terminator") align 8, i32 noundef) #2 align 2

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR8Constant9make_UintENS0_9Data_UintE(ptr dead_on_unwind noalias writable sret(%"class.MIR::Constant") align 8, ptr noundef byval(%"struct.MIR::Constant::Data_Uint") align 8) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR10Terminator7make_IfENS0_7Data_IfE(ptr dead_on_unwind noalias writable sret(%"class.MIR::Terminator") align 8, ptr noundef) #2 align 2

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

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

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

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

declare void @_ZN10MirBuilder14lvalue_or_tempERK4SpanRKN3HIR7TypeRefEN3MIR6RValueE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(440), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3MIR6LValue15clone_unwrappedEj(ptr dead_on_unwind noalias writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR6RValue12make_MakeDstENS0_12Data_MakeDstE(ptr dead_on_unwind noalias writable sret(%"class.MIR::RValue") align 8, ptr noundef) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3HIR7TypeRef10new_borrowENS_10BorrowTypeES0_(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeRef") align 8, i32 noundef, ptr noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR6RValue12make_DstMetaENS0_12Data_DstMetaE(ptr dead_on_unwind noalias writable sret(%"class.MIR::RValue") align 8, ptr noundef) #2 align 2

declare void @_ZNK10MirBuilder14get_ptr_to_dstERK4SpanRKN3MIR6LValueE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(440), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #1

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaIS5_EEmRKS4_IjSaIjEEj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %4, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %6) #2 align 2 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 i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.MIR::LValue", align 8
  %16 = alloca %"class.HIR::TypeRef", align 8
  %17 = alloca %"class.MIR::RValue", align 8
  %18 = alloca %"struct.MIR::RValue::Data_DstMeta", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %struct.Span, align 8
  %27 = alloca %"class.std::function", align 8
  %28 = alloca %class.anon.614, align 1
  %29 = alloca %"class.MIR::Constant", align 8
  %30 = alloca %"struct.MIR::Constant::Data_Uint", align 8
  %31 = alloca i64, align 8
  %32 = alloca i32, align 4
  %33 = alloca %"struct.MIR::LValue", align 8
  %34 = alloca %"struct.MIR::LValue", align 8
  %35 = alloca %"class.MIR::Param", align 8
  %36 = alloca %"class.MIR::Constant", align 8
  %37 = alloca %"class.MIR::Terminator", align 8
  %38 = alloca %"struct.MIR::Terminator::Data_If", align 8
  %39 = alloca i32, align 4
  %40 = alloca %"struct.MIR::LValue", align 8
  %41 = alloca %"struct.MIR::LValue", align 8
  %42 = alloca %"class.MIR::Param", align 8
  %43 = alloca %"class.MIR::Constant", align 8
  %44 = alloca %"class.MIR::Terminator", align 8
  %45 = alloca %"struct.MIR::Terminator::Data_If", align 8
  %46 = alloca ptr, align 8
  %47 = alloca %struct.Span, align 8
  %48 = alloca %"class.std::function", align 8
  %49 = alloca %class.anon.616, align 8
  %50 = alloca ptr, align 8
  %51 = alloca %"class.MIR::Constant", align 8
  %52 = alloca %"struct.MIR::Constant::Data_Uint", align 8
  %53 = alloca i32, align 4
  %54 = alloca %struct.Span, align 8
  %55 = alloca %"class.std::function", align 8
  %56 = alloca %class.anon.617, align 8
  %57 = alloca %"struct.MIR::LValue", align 8
  %58 = alloca %"class.HIR::TypeRef", align 8
  %59 = alloca %"class.HIR::TypeRef", align 8
  %60 = alloca %"class.HIR::TypeRef", align 8
  %61 = alloca %"class.MIR::RValue", align 8
  %62 = alloca %"struct.MIR::RValue::Data_MakeDst", align 8
  %63 = alloca %"class.MIR::Constant", align 8
  %64 = alloca %"class.MIR::Constant", align 8
  %65 = alloca i1, align 1
  %66 = alloca %"struct.MIR::LValue", align 8
  %67 = alloca %"struct.MIR::LValue", align 8
  %68 = alloca %"class.MIR::Param", align 8
  %69 = alloca %"struct.MIR::LValue", align 8
  %70 = alloca %"class.MIR::Terminator", align 8
  %71 = alloca %"struct.MIR::Terminator::Data_If", align 8
  %72 = alloca %struct.Span, align 8
  %73 = alloca %"class.std::function", align 8
  %74 = alloca %class.anon.618, align 8
  %75 = alloca %"class.MIR::Terminator", 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 i64 %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  store i32 %6, ptr %14, align 4, !tbaa !11
  %76 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #8
  %77 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8, !tbaa !13
  %79 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  call void @_ZN3HIR7TypeRefC2ENS_8CoreTypeE(ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef 0)
  %81 = getelementptr inbounds %"struct.MIR::RValue::Data_DstMeta", ptr %18, i32 0, i32 0
  %82 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !13
  %84 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8, !tbaa !15
  invoke void @_ZNK10MirBuilder14get_ptr_to_dstERK4SpanRKN3MIR6LValueE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %81, ptr noundef nonnull align 8 dereferenceable(440) %83, ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %86 unwind label %95

86:                                               ; preds = %7
  invoke void @_ZN3MIR6RValue12make_DstMetaENS0_12Data_DstMetaE(ptr dead_on_unwind writable sret(%"class.MIR::RValue") align 8 %17, ptr noundef %18)
          to label %87 unwind label %99

87:                                               ; preds = %86
  invoke void @_ZN10MirBuilder14lvalue_or_tempERK4SpanRKN3HIR7TypeRefEN3MIR6RValueE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %15, ptr noundef nonnull align 8 dereferenceable(440) %78, ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef %17)
          to label %88 unwind label %103

88:                                               ; preds = %87
  call void @_ZN3MIR6RValueD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #8
  call void @_ZN3MIR6RValue12Data_DstMetaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store i64 0, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store i64 0, ptr %22, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %581, %88
  %90 = load i64, ptr %22, align 8, !tbaa !9
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %91) #8
  %93 = icmp ult i64 %90, %92
  br i1 %93, label %109, label %94

94:                                               ; preds = %89
  store i32 2, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %586

95:                                               ; preds = %7
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %19, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %20, align 4
  br label %108

99:                                               ; preds = %86
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %19, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %20, align 4
  br label %107

103:                                              ; preds = %87
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %19, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %20, align 4
  call void @_ZN3MIR6RValueD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #8
  br label %107

107:                                              ; preds = %103, %99
  call void @_ZN3MIR6RValue12Data_DstMetaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %108

108:                                              ; preds = %107, %95
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %601

109:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = load i64, ptr %22, align 8, !tbaa !9
  %112 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %111) #8
  %113 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %112, i64 noundef 0)
          to label %114 unwind label %135

114:                                              ; preds = %109
  %115 = load i64, ptr %12, align 8, !tbaa !9
  %116 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %115) #8
  store ptr %116, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %117 = load ptr, ptr %24, align 8, !tbaa !5
  %118 = invoke noundef ptr @_ZNK11PatternRule9opt_SliceEv(ptr noundef nonnull align 8 dereferenceable(120) %117)
          to label %119 unwind label %139

119:                                              ; preds = %114
  store ptr %118, ptr %25, align 8, !tbaa !5
  %120 = load ptr, ptr %25, align 8, !tbaa !5
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %329

122:                                              ; preds = %119
  br label %123

123:                                              ; preds = %122
  %124 = load ptr, ptr %25, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %124, i32 0, i32 1
  %126 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %125) #8
  %127 = icmp eq i64 %126, 0
  br i1 %127, label %156, label %128

128:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %129 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8, !tbaa !15
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %130)
          to label %131 unwind label %143

131:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaISA_EEmRKS9_IjSaIjEEjE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef %27)
          to label %132 unwind label %147

132:                                              ; preds = %131
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  %133 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %133, ptr noundef @.str.10)
          to label %134 unwind label %152

134:                                              ; preds = %132
  invoke void @__cxa_throw(ptr %133, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %607 unwind label %139

135:                                              ; preds = %573, %109
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %19, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %20, align 4
  br label %585

139:                                              ; preds = %134, %114
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %19, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %20, align 4
  br label %584

143:                                              ; preds = %128
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %19, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %20, align 4
  br label %151

147:                                              ; preds = %131
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %19, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %20, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  br label %151

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

152:                                              ; preds = %132
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %19, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %20, align 4
  call void @__cxa_free_exception(ptr %133) #8
  br label %584

156:                                              ; preds = %123
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 40, ptr %29) #8
  %159 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %30, i32 0, i32 0
  %160 = load ptr, ptr %25, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %160, i32 0, i32 0
  %162 = load i32, ptr %161, align 8, !tbaa !16
  %163 = zext i32 %162 to i64
  invoke void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %159, i64 noundef %163, i64 noundef 0)
          to label %164 unwind label %176

164:                                              ; preds = %158
  %165 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %30, i32 0, i32 1
  store i32 0, ptr %165, align 8, !tbaa !22
  invoke void @_ZN3MIR8Constant9make_UintENS0_9Data_UintE(ptr dead_on_unwind writable sret(%"class.MIR::Constant") align 8 %29, ptr noundef byval(%"struct.MIR::Constant::Data_Uint") align 8 %30)
          to label %166 unwind label %176

166:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %167

167:                                              ; preds = %200, %166
  %168 = load i64, ptr %31, align 8, !tbaa !9
  %169 = load ptr, ptr %11, align 8, !tbaa !5
  %170 = load i64, ptr %22, align 8, !tbaa !9
  %171 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %170) #8
  %172 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %171)
          to label %173 unwind label %180

173:                                              ; preds = %167
  %174 = icmp ult i64 %168, %172
  br i1 %174, label %184, label %175

175:                                              ; preds = %173
  store i32 7, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %203

176:                                              ; preds = %164, %158
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %19, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %20, align 4
  br label %328

180:                                              ; preds = %167
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %19, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %327

184:                                              ; preds = %173
  %185 = load ptr, ptr %13, align 8, !tbaa !5
  %186 = load i64, ptr %21, align 8, !tbaa !9
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %186) #8
  %188 = load i32, ptr %187, align 4, !tbaa !11
  %189 = load ptr, ptr %13, align 8, !tbaa !5
  %190 = load i64, ptr %21, align 8, !tbaa !9
  %191 = load i64, ptr %31, align 8, !tbaa !9
  %192 = add i64 %190, %191
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %192) #8
  %194 = load i32, ptr %193, align 4, !tbaa !11
  %195 = icmp eq i32 %188, %194
  br i1 %195, label %196, label %197

196:                                              ; preds = %184
  br label %199

197:                                              ; preds = %184
  call void @__assert_fail(ptr noundef @.str.89, ptr noundef @.str.17, i32 noundef 3705, ptr noundef @__PRETTY_FUNCTION__._ZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaIS5_EEmRKS4_IjSaIjEEj) #10
  unreachable

198:                                              ; No predecessors!
  br label %199

199:                                              ; preds = %198, %196
  br label %200

200:                                              ; preds = %199
  %201 = load i64, ptr %31, align 8, !tbaa !9
  %202 = add i64 %201, 1
  store i64 %202, ptr %31, align 8, !tbaa !9
  br label %167, !llvm.loop !26

203:                                              ; preds = %175
  %204 = load ptr, ptr %25, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %204, i32 0, i32 0
  %206 = load i32, ptr %205, align 8, !tbaa !16
  %207 = icmp ugt i32 %206, 0
  br i1 %207, label %208, label %269

208:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %209 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %210 = load ptr, ptr %209, align 8, !tbaa !13
  %211 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %210)
          to label %212 unwind label %231

212:                                              ; preds = %208
  store i32 %211, ptr %32, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #8
  invoke void @_ZNK3MIR6LValue5cloneEv(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %34, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %213 unwind label %235

213:                                              ; preds = %212
  invoke void @_ZNK3MIR8Constant5cloneEv(ptr dead_on_unwind writable sret(%"class.MIR::Constant") align 8 %36, ptr noundef nonnull align 8 dereferenceable(40) %29)
          to label %214 unwind label %239

214:                                              ; preds = %213
  invoke void @_ZN3MIR5ParamC2ENS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef %36)
          to label %215 unwind label %243

215:                                              ; preds = %214
  invoke void @_ZN15MatchGenGrouped12push_compareEN3MIR6LValueENS0_6eBinOpENS0_5ParamE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %33, ptr noundef nonnull align 8 dereferenceable(48) %76, ptr noundef %34, i32 noundef 18, ptr noundef %35)
          to label %216 unwind label %247

216:                                              ; preds = %215
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %36) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  %217 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %218 = load ptr, ptr %217, align 8, !tbaa !13
  %219 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %38, i32 0, i32 0
  invoke void @_ZN3MIR6LValueC2EOS0_(ptr noundef nonnull align 8 dereferenceable(32) %219, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %220 unwind label %253

220:                                              ; preds = %216
  %221 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %38, i32 0, i32 1
  %222 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %222, ptr %221, align 8, !tbaa !28
  %223 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %38, i32 0, i32 2
  %224 = load i32, ptr %32, align 4, !tbaa !11
  store i32 %224, ptr %223, align 4, !tbaa !36
  invoke void @_ZN3MIR10Terminator7make_IfENS0_7Data_IfE(ptr dead_on_unwind writable sret(%"class.MIR::Terminator") align 8 %37, ptr noundef %38)
          to label %225 unwind label %257

225:                                              ; preds = %220
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %218, ptr noundef %37)
          to label %226 unwind label %261

226:                                              ; preds = %225
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %37) #8
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #8
  %227 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %228 = load ptr, ptr %227, align 8, !tbaa !13
  %229 = load i32, ptr %32, align 4, !tbaa !11
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %228, i32 noundef %229)
          to label %230 unwind label %253

230:                                              ; preds = %226
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %269

231:                                              ; preds = %208
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %19, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %20, align 4
  br label %268

235:                                              ; preds = %212
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %19, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %20, align 4
  br label %267

239:                                              ; preds = %213
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %19, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %20, align 4
  br label %252

243:                                              ; preds = %214
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %19, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %20, align 4
  br label %251

247:                                              ; preds = %215
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %19, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %20, align 4
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #8
  br label %251

251:                                              ; preds = %247, %243
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %36) #8
  br label %252

252:                                              ; preds = %251, %239
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %267

253:                                              ; preds = %226, %216
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %19, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %20, align 4
  br label %266

257:                                              ; preds = %220
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %19, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %20, align 4
  br label %265

261:                                              ; preds = %225
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %19, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %20, align 4
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %37) #8
  br label %265

265:                                              ; preds = %261, %257
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #8
  br label %266

266:                                              ; preds = %265, %253
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  br label %267

267:                                              ; preds = %266, %252, %235
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #8
  br label %268

268:                                              ; preds = %267, %231
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %327

269:                                              ; preds = %230, %203
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %270 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %271 = load ptr, ptr %270, align 8, !tbaa !13
  %272 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %271)
          to label %273 unwind label %294

273:                                              ; preds = %269
  store i32 %272, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #8
  invoke void @_ZNK3MIR6LValue5cloneEv(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %41, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %274 unwind label %298

274:                                              ; preds = %273
  call void @_ZN3MIR8ConstantC2EOS0_(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef nonnull align 8 dereferenceable(40) %29) #8
  invoke void @_ZN3MIR5ParamC2ENS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(48) %42, ptr noundef %43)
          to label %275 unwind label %302

275:                                              ; preds = %274
  invoke void @_ZN15MatchGenGrouped12push_compareEN3MIR6LValueENS0_6eBinOpENS0_5ParamE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %40, ptr noundef nonnull align 8 dereferenceable(48) %76, ptr noundef %41, i32 noundef 14, ptr noundef %42)
          to label %276 unwind label %306

276:                                              ; preds = %275
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  %277 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %278 = load ptr, ptr %277, align 8, !tbaa !13
  %279 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %45, i32 0, i32 0
  invoke void @_ZN3MIR6LValueC2EOS0_(ptr noundef nonnull align 8 dereferenceable(32) %279, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %280 unwind label %311

280:                                              ; preds = %276
  %281 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %45, i32 0, i32 1
  %282 = load ptr, ptr %13, align 8, !tbaa !5
  %283 = load i64, ptr %21, align 8, !tbaa !9
  %284 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %282, i64 noundef %283) #8
  %285 = load i32, ptr %284, align 4, !tbaa !11
  store i32 %285, ptr %281, align 8, !tbaa !28
  %286 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %45, i32 0, i32 2
  %287 = load i32, ptr %39, align 4, !tbaa !11
  store i32 %287, ptr %286, align 4, !tbaa !36
  invoke void @_ZN3MIR10Terminator7make_IfENS0_7Data_IfE(ptr dead_on_unwind writable sret(%"class.MIR::Terminator") align 8 %44, ptr noundef %45)
          to label %288 unwind label %315

288:                                              ; preds = %280
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %278, ptr noundef %44)
          to label %289 unwind label %319

289:                                              ; preds = %288
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %44) #8
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #8
  %290 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %291 = load ptr, ptr %290, align 8, !tbaa !13
  %292 = load i32, ptr %39, align 4, !tbaa !11
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %291, i32 noundef %292)
          to label %293 unwind label %311

293:                                              ; preds = %289
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #8
  br label %573

294:                                              ; preds = %269
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %19, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %20, align 4
  br label %326

298:                                              ; preds = %273
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %19, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %20, align 4
  br label %325

302:                                              ; preds = %274
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %19, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %20, align 4
  br label %310

306:                                              ; preds = %275
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %19, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %20, align 4
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #8
  br label %310

310:                                              ; preds = %306, %302
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  br label %325

311:                                              ; preds = %289, %276
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %19, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %20, align 4
  br label %324

315:                                              ; preds = %280
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %19, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %20, align 4
  br label %323

319:                                              ; preds = %288
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %19, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %20, align 4
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %44) #8
  br label %323

323:                                              ; preds = %319, %315
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #8
  br label %324

324:                                              ; preds = %323, %311
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  br label %325

325:                                              ; preds = %324, %310, %298
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  br label %326

326:                                              ; preds = %325, %294
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %327

327:                                              ; preds = %326, %268, %180
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #8
  br label %328

328:                                              ; preds = %327, %176
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #8
  br label %584

329:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %330 = load ptr, ptr %24, align 8, !tbaa !5
  %331 = invoke noundef ptr @_ZNK11PatternRule9opt_ValueEv(ptr noundef nonnull align 8 dereferenceable(120) %330)
          to label %332 unwind label %348

332:                                              ; preds = %329
  store ptr %331, ptr %46, align 8, !tbaa !5
  %333 = load ptr, ptr %46, align 8, !tbaa !5
  %334 = icmp ne ptr %333, null
  br i1 %334, label %335, label %546

335:                                              ; preds = %332
  br label %336

336:                                              ; preds = %335
  %337 = load ptr, ptr %46, align 8, !tbaa !5
  %338 = invoke noundef zeroext i1 @_ZNK3MIR8Constant8is_BytesEv(ptr noundef nonnull align 8 dereferenceable(40) %337)
          to label %339 unwind label %348

339:                                              ; preds = %336
  br i1 %338, label %365, label %340

340:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %341 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 0
  %342 = load ptr, ptr %341, align 8, !tbaa !15
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %342)
          to label %343 unwind label %352

343:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %344 = getelementptr inbounds %class.anon.616, ptr %49, i32 0, i32 0
  store ptr %46, ptr %344, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaISA_EEmRKS9_IjSaIjEEjE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef %48)
          to label %345 unwind label %356

345:                                              ; preds = %343
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  %346 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %346, ptr noundef @.str.10)
          to label %347 unwind label %361

347:                                              ; preds = %345
  invoke void @__cxa_throw(ptr %346, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %607 unwind label %348

348:                                              ; preds = %555, %347, %336, %329
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %19, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %20, align 4
  br label %572

352:                                              ; preds = %340
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %19, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %20, align 4
  br label %360

356:                                              ; preds = %343
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %19, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %20, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  br label %360

360:                                              ; preds = %356, %352
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %572

361:                                              ; preds = %345
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %19, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %20, align 4
  call void @__cxa_free_exception(ptr %346) #8
  br label %572

365:                                              ; preds = %339
  br label %366

366:                                              ; preds = %365
  br label %367

367:                                              ; preds = %366
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %368 = load ptr, ptr %46, align 8, !tbaa !5
  %369 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3MIR8Constant8as_BytesEv(ptr noundef nonnull align 8 dereferenceable(40) %368)
          to label %370 unwind label %397

370:                                              ; preds = %367
  store ptr %369, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %51) #8
  %371 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %52, i32 0, i32 0
  %372 = load ptr, ptr %50, align 8, !tbaa !5
  %373 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %372) #8
  invoke void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %371, i64 noundef %373, i64 noundef 0)
          to label %374 unwind label %401

374:                                              ; preds = %370
  %375 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %52, i32 0, i32 1
  store i32 0, ptr %375, align 8, !tbaa !22
  invoke void @_ZN3MIR8Constant9make_UintENS0_9Data_UintE(ptr dead_on_unwind writable sret(%"class.MIR::Constant") align 8 %51, ptr noundef byval(%"struct.MIR::Constant::Data_Uint") align 8 %52)
          to label %376 unwind label %401

376:                                              ; preds = %374
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #8
  %377 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %378 = load ptr, ptr %377, align 8, !tbaa !13
  %379 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %378)
          to label %380 unwind label %405

380:                                              ; preds = %376
  store i32 %379, ptr %53, align 4, !tbaa !11
  br label %381

381:                                              ; preds = %380
  %382 = getelementptr inbounds %"struct.MIR::LValue", ptr %2, i32 0, i32 1
  %383 = call noundef zeroext i1 @_ZNKSt6vectorIN3MIR6LValue7WrapperESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %382) #8
  br i1 %383, label %389, label %384

384:                                              ; preds = %381
  %385 = getelementptr inbounds %"struct.MIR::LValue", ptr %2, i32 0, i32 1
  %386 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN3MIR6LValue7WrapperESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %385) #8
  %387 = invoke noundef zeroext i1 @_ZNK3MIR6LValue7Wrapper8is_DerefEv(ptr noundef nonnull align 4 dereferenceable(4) %386)
          to label %388 unwind label %405

388:                                              ; preds = %384
  br i1 %387, label %422, label %389

389:                                              ; preds = %388, %381
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #8
  %390 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 0
  %391 = load ptr, ptr %390, align 8, !tbaa !15
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull align 8 dereferenceable(8) %391)
          to label %392 unwind label %409

392:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #8
  %393 = getelementptr inbounds %class.anon.617, ptr %56, i32 0, i32 0
  store ptr %2, ptr %393, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaISA_EEmRKS9_IjSaIjEEjE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(8) %56) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef %55)
          to label %394 unwind label %413

394:                                              ; preds = %392
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  %395 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %395, ptr noundef @.str.10)
          to label %396 unwind label %418

396:                                              ; preds = %394
  invoke void @__cxa_throw(ptr %395, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %607 unwind label %405

397:                                              ; preds = %367
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %19, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %20, align 4
  br label %545

401:                                              ; preds = %374, %370
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %19, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %20, align 4
  br label %544

405:                                              ; preds = %396, %384, %376
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %19, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %20, align 4
  br label %543

409:                                              ; preds = %389
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %19, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %20, align 4
  br label %417

413:                                              ; preds = %392
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %19, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %20, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  br label %417

417:                                              ; preds = %413, %409
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  br label %543

418:                                              ; preds = %394
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %19, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %20, align 4
  call void @__cxa_free_exception(ptr %395) #8
  br label %543

422:                                              ; preds = %388
  br label %423

423:                                              ; preds = %422
  br label %424

424:                                              ; preds = %423
  call void @llvm.lifetime.start.p0(i64 32, ptr %57) #8
  %425 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %426 = load ptr, ptr %425, align 8, !tbaa !13
  %427 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 0
  %428 = load ptr, ptr %427, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #8
  invoke void @_ZN3HIR7TypeRefC2ENS_8CoreTypeE(ptr noundef nonnull align 8 dereferenceable(8) %60, i32 noundef 2)
          to label %429 unwind label %462

429:                                              ; preds = %424
  invoke void @_ZN3HIR7TypeRef9new_sliceES0_(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %59, ptr noundef %60)
          to label %430 unwind label %466

430:                                              ; preds = %429
  invoke void @_ZN3HIR7TypeRef10new_borrowENS_10BorrowTypeES0_(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %58, i32 noundef 0, ptr noundef %59)
          to label %431 unwind label %470

431:                                              ; preds = %430
  %432 = getelementptr inbounds %"struct.MIR::RValue::Data_MakeDst", ptr %62, i32 0, i32 0
  %433 = load ptr, ptr %46, align 8, !tbaa !5
  invoke void @_ZNK3MIR8Constant5cloneEv(ptr dead_on_unwind writable sret(%"class.MIR::Constant") align 8 %63, ptr noundef nonnull align 8 dereferenceable(40) %433)
          to label %434 unwind label %474

434:                                              ; preds = %431
  invoke void @_ZN3MIR5ParamC2ENS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(48) %432, ptr noundef %63)
          to label %435 unwind label %478

435:                                              ; preds = %434
  store i1 true, ptr %65, align 1
  %436 = getelementptr inbounds %"struct.MIR::RValue::Data_MakeDst", ptr %62, i32 0, i32 1
  invoke void @_ZNK3MIR8Constant5cloneEv(ptr dead_on_unwind writable sret(%"class.MIR::Constant") align 8 %64, ptr noundef nonnull align 8 dereferenceable(40) %51)
          to label %437 unwind label %482

437:                                              ; preds = %435
  invoke void @_ZN3MIR5ParamC2ENS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(48) %436, ptr noundef %64)
          to label %438 unwind label %486

438:                                              ; preds = %437
  store i1 false, ptr %65, align 1
  invoke void @_ZN3MIR6RValue12make_MakeDstENS0_12Data_MakeDstE(ptr dead_on_unwind writable sret(%"class.MIR::RValue") align 8 %61, ptr noundef %62)
          to label %439 unwind label %490

439:                                              ; preds = %438
  invoke void @_ZN10MirBuilder14lvalue_or_tempERK4SpanRKN3HIR7TypeRefEN3MIR6RValueE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %57, ptr noundef nonnull align 8 dereferenceable(440) %426, ptr noundef nonnull align 8 dereferenceable(8) %428, ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef %61)
          to label %440 unwind label %494

440:                                              ; preds = %439
  call void @_ZN3MIR6RValueD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %61) #8
  call void @_ZN3MIR6RValue12Data_MakeDstD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %62) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %64) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %58) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #8
  invoke void @_ZNK3MIR6LValue15clone_unwrappedEj(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %67, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef 1)
          to label %441 unwind label %509

441:                                              ; preds = %440
  invoke void @_ZN3MIR6LValueC2EOS0_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %442 unwind label %513

442:                                              ; preds = %441
  invoke void @_ZN3MIR5ParamC2ENS_6LValueE(ptr noundef nonnull align 8 dereferenceable(48) %68, ptr noundef %69)
          to label %443 unwind label %517

443:                                              ; preds = %442
  invoke void @_ZN15MatchGenGrouped12push_compareEN3MIR6LValueENS0_6eBinOpENS0_5ParamE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8 %66, ptr noundef nonnull align 8 dereferenceable(48) %76, ptr noundef %67, i32 noundef 14, ptr noundef %68)
          to label %444 unwind label %521

444:                                              ; preds = %443
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  %445 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %446 = load ptr, ptr %445, align 8, !tbaa !13
  %447 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %71, i32 0, i32 0
  invoke void @_ZN3MIR6LValueC2EOS0_(ptr noundef nonnull align 8 dereferenceable(32) %447, ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %448 unwind label %527

448:                                              ; preds = %444
  %449 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %71, i32 0, i32 1
  %450 = load ptr, ptr %13, align 8, !tbaa !5
  %451 = load i64, ptr %21, align 8, !tbaa !9
  %452 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %450, i64 noundef %451) #8
  %453 = load i32, ptr %452, align 4, !tbaa !11
  store i32 %453, ptr %449, align 8, !tbaa !28
  %454 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %71, i32 0, i32 2
  %455 = load i32, ptr %53, align 4, !tbaa !11
  store i32 %455, ptr %454, align 4, !tbaa !36
  invoke void @_ZN3MIR10Terminator7make_IfENS0_7Data_IfE(ptr dead_on_unwind writable sret(%"class.MIR::Terminator") align 8 %70, ptr noundef %71)
          to label %456 unwind label %531

456:                                              ; preds = %448
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %446, ptr noundef %70)
          to label %457 unwind label %535

457:                                              ; preds = %456
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %70) #8
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %71) #8
  %458 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %459 = load ptr, ptr %458, align 8, !tbaa !13
  %460 = load i32, ptr %53, align 4, !tbaa !11
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %459, i32 noundef %460)
          to label %461 unwind label %527

461:                                              ; preds = %457
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %571

462:                                              ; preds = %424
  %463 = landingpad { ptr, i32 }
          cleanup
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %19, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %20, align 4
  br label %508

466:                                              ; preds = %429
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %19, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %20, align 4
  br label %507

470:                                              ; preds = %430
  %471 = landingpad { ptr, i32 }
          cleanup
  %472 = extractvalue { ptr, i32 } %471, 0
  store ptr %472, ptr %19, align 8
  %473 = extractvalue { ptr, i32 } %471, 1
  store i32 %473, ptr %20, align 4
  br label %506

474:                                              ; preds = %431
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %19, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %20, align 4
  br label %505

478:                                              ; preds = %434
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %19, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %20, align 4
  br label %504

482:                                              ; preds = %435
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %19, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %20, align 4
  br label %500

486:                                              ; preds = %437
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %19, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %20, align 4
  br label %499

490:                                              ; preds = %438
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %19, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %20, align 4
  br label %498

494:                                              ; preds = %439
  %495 = landingpad { ptr, i32 }
          cleanup
  %496 = extractvalue { ptr, i32 } %495, 0
  store ptr %496, ptr %19, align 8
  %497 = extractvalue { ptr, i32 } %495, 1
  store i32 %497, ptr %20, align 4
  call void @_ZN3MIR6RValueD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %61) #8
  br label %498

498:                                              ; preds = %494, %490
  call void @_ZN3MIR6RValue12Data_MakeDstD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %62) #8
  br label %499

499:                                              ; preds = %498, %486
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %64) #8
  br label %500

500:                                              ; preds = %499, %482
  %501 = load i1, ptr %65, align 1
  br i1 %501, label %502, label %503

502:                                              ; preds = %500
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %432) #8
  br label %503

503:                                              ; preds = %502, %500
  br label %504

504:                                              ; preds = %503, %478
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #8
  br label %505

505:                                              ; preds = %504, %474
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %58) #8
  br label %506

506:                                              ; preds = %505, %470
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  br label %507

507:                                              ; preds = %506, %466
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  br label %508

508:                                              ; preds = %507, %462
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  br label %542

509:                                              ; preds = %440
  %510 = landingpad { ptr, i32 }
          cleanup
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %19, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %20, align 4
  br label %541

513:                                              ; preds = %441
  %514 = landingpad { ptr, i32 }
          cleanup
  %515 = extractvalue { ptr, i32 } %514, 0
  store ptr %515, ptr %19, align 8
  %516 = extractvalue { ptr, i32 } %514, 1
  store i32 %516, ptr %20, align 4
  br label %526

517:                                              ; preds = %442
  %518 = landingpad { ptr, i32 }
          cleanup
  %519 = extractvalue { ptr, i32 } %518, 0
  store ptr %519, ptr %19, align 8
  %520 = extractvalue { ptr, i32 } %518, 1
  store i32 %520, ptr %20, align 4
  br label %525

521:                                              ; preds = %443
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %19, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %20, align 4
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #8
  br label %525

525:                                              ; preds = %521, %517
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  br label %526

526:                                              ; preds = %525, %513
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  br label %541

527:                                              ; preds = %457, %444
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %19, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %20, align 4
  br label %540

531:                                              ; preds = %448
  %532 = landingpad { ptr, i32 }
          cleanup
  %533 = extractvalue { ptr, i32 } %532, 0
  store ptr %533, ptr %19, align 8
  %534 = extractvalue { ptr, i32 } %532, 1
  store i32 %534, ptr %20, align 4
  br label %539

535:                                              ; preds = %456
  %536 = landingpad { ptr, i32 }
          cleanup
  %537 = extractvalue { ptr, i32 } %536, 0
  store ptr %537, ptr %19, align 8
  %538 = extractvalue { ptr, i32 } %536, 1
  store i32 %538, ptr %20, align 4
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %70) #8
  br label %539

539:                                              ; preds = %535, %531
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %71) #8
  br label %540

540:                                              ; preds = %539, %527
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #8
  br label %541

541:                                              ; preds = %540, %526, %509
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #8
  br label %542

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

543:                                              ; preds = %542, %418, %417, %405
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #8
  br label %544

544:                                              ; preds = %543, %401
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #8
  br label %545

545:                                              ; preds = %544, %397
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %572

546:                                              ; preds = %332
  br label %547

547:                                              ; preds = %546
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #8
  %548 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 0
  %549 = load ptr, ptr %548, align 8, !tbaa !15
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(8) %549)
          to label %550 unwind label %556

550:                                              ; preds = %547
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #8
  %551 = getelementptr inbounds %class.anon.618, ptr %74, i32 0, i32 0
  %552 = load ptr, ptr %24, align 8, !tbaa !5
  store ptr %552, ptr %551, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaISA_EEmRKS9_IjSaIjEEjE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 8 dereferenceable(8) %74) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef %73)
          to label %553 unwind label %560

553:                                              ; preds = %550
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  %554 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %554, ptr noundef @.str.10)
          to label %555 unwind label %565

555:                                              ; preds = %553
  invoke void @__cxa_throw(ptr %554, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %607 unwind label %348

556:                                              ; preds = %547
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %19, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %20, align 4
  br label %564

560:                                              ; preds = %550
  %561 = landingpad { ptr, i32 }
          cleanup
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %19, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %20, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #8
  br label %564

564:                                              ; preds = %560, %556
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  br label %572

565:                                              ; preds = %553
  %566 = landingpad { ptr, i32 }
          cleanup
  %567 = extractvalue { ptr, i32 } %566, 0
  store ptr %567, ptr %19, align 8
  %568 = extractvalue { ptr, i32 } %566, 1
  store i32 %568, ptr %20, align 4
  call void @__cxa_free_exception(ptr %554) #8
  br label %572

569:                                              ; No predecessors!
  br label %570

570:                                              ; preds = %569
  br label %571

571:                                              ; preds = %570, %461
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %573

572:                                              ; preds = %565, %564, %545, %361, %360, %348
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %584

573:                                              ; preds = %571, %293
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  %574 = load ptr, ptr %11, align 8, !tbaa !5
  %575 = load i64, ptr %22, align 8, !tbaa !9
  %576 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %574, i64 noundef %575) #8
  %577 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %576)
          to label %578 unwind label %135

578:                                              ; preds = %573
  %579 = load i64, ptr %21, align 8, !tbaa !9
  %580 = add i64 %579, %577
  store i64 %580, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %581

581:                                              ; preds = %578
  %582 = load i64, ptr %22, align 8, !tbaa !9
  %583 = add i64 %582, 1
  store i64 %583, ptr %22, align 8, !tbaa !9
  br label %89, !llvm.loop !37

584:                                              ; preds = %572, %328, %152, %151, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %585

585:                                              ; preds = %584, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %600

586:                                              ; preds = %94
  %587 = getelementptr inbounds %class.MatchGenGrouped, ptr %76, i32 0, i32 1
  %588 = load ptr, ptr %587, align 8, !tbaa !13
  %589 = load i32, ptr %14, align 4, !tbaa !11
  invoke void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind writable sret(%"class.MIR::Terminator") align 8 %75, i32 noundef %589)
          to label %590 unwind label %592

590:                                              ; preds = %586
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %588, ptr noundef %75)
          to label %591 unwind label %596

591:                                              ; preds = %590
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %75) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  ret void

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

596:                                              ; preds = %590
  %597 = landingpad { ptr, i32 }
          cleanup
  %598 = extractvalue { ptr, i32 } %597, 0
  store ptr %598, ptr %19, align 8
  %599 = extractvalue { ptr, i32 } %597, 1
  store i32 %599, ptr %20, align 4
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %75) #8
  br label %600

600:                                              ; preds = %596, %592, %585
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %601

601:                                              ; preds = %600, %108
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  br label %602

602:                                              ; preds = %601
  %603 = load ptr, ptr %19, align 8
  %604 = load i32, ptr %20, align 4
  %605 = insertvalue { ptr, i32 } poison, ptr %603, 0
  %606 = insertvalue { ptr, i32 } %605, i32 %604, 1
  resume { ptr, i32 } %606

607:                                              ; preds = %555, %396, %347, %134
  unreachable
}

declare void @_ZNK3MIR8Constant5cloneEv(ptr dead_on_unwind writable sret(%"class.MIR::Constant") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15MatchGenGrouped12push_compareEN3MIR6LValueENS0_6eBinOpENS0_5ParamE(ptr dead_on_unwind noalias writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i32 noundef, ptr noundef) #2 align 2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTS15MatchGenGrouped", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40}
!15 = !{!14, !6, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"_ZTSN11PatternRule10Data_SliceE", !12, i64 0, !18, i64 8}
!18 = !{!"_ZTSSt6vectorI11PatternRuleSaIS0_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseI11PatternRuleSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!23, !25, i64 16}
!23 = !{!"_ZTSN3MIR8Constant9Data_UintE", !24, i64 0, !25, i64 16}
!24 = !{!"_ZTS4U128", !10, i64 0, !10, i64 8}
!25 = !{!"_ZTSN3HIR8CoreTypeE", !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!29, !12, i64 32}
!29 = !{!"_ZTSN3MIR10Terminator7Data_IfE", !30, i64 0, !12, i64 32, !12, i64 36}
!30 = !{!"_ZTSN3MIR6LValueE", !31, i64 0, !32, i64 8}
!31 = !{!"_ZTSN3MIR6LValue7StorageE", !10, i64 0}
!32 = !{!"_ZTSSt6vectorIN3MIR6LValue7WrapperESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!29, !12, i64 36}
!37 = distinct !{!37, !27}


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

%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::Terminator" = type { i32, %"union.MIR::Terminator::DataUnion" }
%"union.MIR::Terminator::DataUnion" = type { %"struct.MIR::Terminator::Data_Call" }
%"struct.MIR::Terminator::Data_Call" = type { i32, i32, %"struct.MIR::LValue", %"class.MIR::CallTarget", %"class.std::vector.18" }
%"class.MIR::CallTarget" = type { i32, %"union.MIR::CallTarget::DataUnion" }
%"union.MIR::CallTarget::DataUnion" = type { %"class.HIR::Path" }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr.115" }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.23, %class.ThinVector.24, %class.ThinVector.25 }
%class.ThinVector.23 = type { ptr }
%class.ThinVector.24 = type { ptr }
%class.ThinVector.25 = type { ptr }
%"class.std::unique_ptr.115" = type { %"struct.std::__uniq_ptr_data.116" }
%"struct.std::__uniq_ptr_data.116" = type { %"class.std::__uniq_ptr_impl.117" }
%"class.std::__uniq_ptr_impl.117" = type { %"class.std::tuple.118" }
%"class.std::tuple.118" = type { %"struct.std::_Tuple_impl.119" }
%"struct.std::_Tuple_impl.119" = type { %"struct.std::_Head_base.122" }
%"struct.std::_Head_base.122" = type { ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::Constant" = type { i32, %"union.MIR::Constant::DataUnion" }
%"union.MIR::Constant::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.MIR::Constant::Data_Uint" = type <{ %class.U128, i32, [4 x i8] }>
%class.U128 = type { i64, i64 }
%"class.MIR::RValue" = type { i32, %"union.MIR::RValue::DataUnion" }
%"union.MIR::RValue::DataUnion" = type { %"struct.MIR::RValue::Data_BinOp" }
%"struct.MIR::RValue::Data_BinOp" = type { %"class.MIR::Param", i32, %"class.MIR::Param" }
%"class.MIR::Param" = type { i32, %"union.MIR::Param::DataUnion" }
%"union.MIR::Param::DataUnion" = type { %"struct.MIR::Param::Data_Borrow" }
%"struct.MIR::Param::Data_Borrow" = type { i32, %"struct.MIR::LValue" }
%"struct.MIR::RValue::Data_DstMeta" = type { %"struct.MIR::LValue" }
%struct.Span = type { ptr }
%"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.614 = type { i8 }
%"struct.MIR::Terminator::Data_If" = type { %"struct.MIR::LValue", i32, i32 }
%class.anon.616 = type { ptr }
%class.anon.617 = type { ptr }
%"struct.MIR::RValue::Data_MakeDst" = type { %"class.MIR::Param", %"class.MIR::Param" }
%class.anon.618 = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaIS5_EEmRKS4_IjSaIjEEj = external hidden unnamed_addr constant [186 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

declare noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440)) local_unnamed_addr #1

declare void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3MIR6LValue5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind noalias writable sret(%"class.MIR::Terminator") align 8, i32 noundef) local_unnamed_addr #2 align 2

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR8Constant9make_UintENS0_9Data_UintE(ptr dead_on_unwind noalias writable sret(%"class.MIR::Constant") align 8, ptr noundef byval(%"struct.MIR::Constant::Data_Uint") align 8) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

declare void @_ZN10MirBuilder14lvalue_or_tempERK4SpanRKN3HIR7TypeRefEN3MIR6RValueE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(440), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3MIR6LValue15clone_unwrappedEj(ptr dead_on_unwind noalias writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3HIR7TypeRef10new_borrowENS_10BorrowTypeES0_(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeRef") align 8, i32 noundef, ptr noundef) local_unnamed_addr #6 align 2

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

declare void @_ZNK10MirBuilder14get_ptr_to_dstERK4SpanRKN3MIR6LValueE(ptr dead_on_unwind writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(440), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaIS5_EEmRKS4_IjSaIjEEj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr nocapture noundef readnone %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %4, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %6) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"struct.MIR::LValue", align 8
  %9 = alloca %"class.HIR::TypeRef", align 8
  %10 = alloca %"class.MIR::RValue", align 8
  %11 = alloca %"struct.MIR::RValue::Data_DstMeta", align 8
  %12 = alloca %struct.Span, align 8
  %13 = alloca %"class.std::function", align 8
  %14 = alloca %class.anon.614, align 1
  %15 = alloca %"class.MIR::Constant", align 8
  %16 = alloca %"struct.MIR::Constant::Data_Uint", align 8
  %17 = alloca %"struct.MIR::LValue", align 8
  %18 = alloca %"struct.MIR::LValue", align 8
  %19 = alloca %"class.MIR::Param", align 8
  %20 = alloca %"class.MIR::Constant", align 8
  %21 = alloca %"class.MIR::Terminator", align 8
  %22 = alloca %"struct.MIR::Terminator::Data_If", align 8
  %23 = alloca %"struct.MIR::LValue", align 8
  %24 = alloca %"struct.MIR::LValue", align 8
  %25 = alloca %"class.MIR::Param", align 8
  %26 = alloca %"class.MIR::Constant", align 8
  %27 = alloca %"class.MIR::Terminator", align 8
  %28 = alloca %"struct.MIR::Terminator::Data_If", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %struct.Span, align 8
  %31 = alloca %"class.std::function", align 8
  %32 = alloca %class.anon.616, align 8
  %33 = alloca %"class.MIR::Constant", align 8
  %34 = alloca %"struct.MIR::Constant::Data_Uint", align 8
  %35 = alloca %struct.Span, align 8
  %36 = alloca %"class.std::function", align 8
  %37 = alloca %class.anon.617, align 8
  %38 = alloca %"struct.MIR::LValue", align 8
  %39 = alloca %"class.HIR::TypeRef", align 8
  %40 = alloca %"class.HIR::TypeRef", align 8
  %41 = alloca %"class.HIR::TypeRef", align 8
  %42 = alloca %"class.MIR::RValue", align 8
  %43 = alloca %"struct.MIR::RValue::Data_MakeDst", align 8
  %44 = alloca %"class.MIR::Constant", align 8
  %45 = alloca %"class.MIR::Constant", align 8
  %46 = alloca %"struct.MIR::LValue", align 8
  %47 = alloca %"struct.MIR::LValue", align 8
  %48 = alloca %"class.MIR::Param", align 8
  %49 = alloca %"struct.MIR::LValue", align 8
  %50 = alloca %"class.MIR::Terminator", align 8
  %51 = alloca %"struct.MIR::Terminator::Data_If", align 8
  %52 = alloca %struct.Span, align 8
  %53 = alloca %"class.std::function", align 8
  %54 = alloca %class.anon.618, align 8
  %55 = alloca %"class.MIR::Terminator", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  %56 = getelementptr inbounds i8, ptr %0, i64 8
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = load ptr, ptr %0, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN3HIR7TypeRefC2ENS_8CoreTypeE(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0)
  %59 = load ptr, ptr %56, align 8, !tbaa !5
  %60 = load ptr, ptr %0, align 8, !tbaa !11
  invoke void @_ZNK10MirBuilder14get_ptr_to_dstERK4SpanRKN3MIR6LValueE(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %11, ptr noundef nonnull align 8 dereferenceable(440) %59, ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %61 unwind label %76

61:                                               ; preds = %7
  invoke void @_ZN3MIR6RValue12make_DstMetaENS0_12Data_DstMetaE(ptr dead_on_unwind nonnull writable sret(%"class.MIR::RValue") align 8 %10, ptr noundef nonnull %11)
          to label %62 unwind label %78

62:                                               ; preds = %61
  invoke void @_ZN10MirBuilder14lvalue_or_tempERK4SpanRKN3HIR7TypeRefEN3MIR6RValueE(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %8, ptr noundef nonnull align 8 dereferenceable(440) %57, ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull %10)
          to label %63 unwind label %80

63:                                               ; preds = %62
  call void @_ZN3MIR6RValueD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #8
  call void @_ZN3MIR6RValue12Data_DstMetaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  %64 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %.not194 = icmp eq i64 %64, 0
  br i1 %.not194, label %._crit_edge193, label %.lr.ph192

.lr.ph192:                                        ; preds = %63
  %65 = getelementptr inbounds i8, ptr %16, i64 16
  %66 = getelementptr inbounds i8, ptr %22, i64 32
  %67 = getelementptr inbounds i8, ptr %22, i64 36
  %68 = getelementptr inbounds i8, ptr %28, i64 32
  %69 = getelementptr inbounds i8, ptr %28, i64 36
  %70 = getelementptr inbounds i8, ptr %34, i64 16
  %71 = getelementptr inbounds i8, ptr %2, i64 8
  %72 = getelementptr inbounds i8, ptr %43, i64 48
  %73 = getelementptr inbounds i8, ptr %51, i64 32
  %74 = getelementptr inbounds i8, ptr %51, i64 36
  br label %84

._crit_edge193:                                   ; preds = %325, %63
  %75 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Terminator") align 8 %55, i32 noundef %6)
          to label %332 unwind label %334

76:                                               ; preds = %7
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %83

78:                                               ; preds = %61
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

80:                                               ; preds = %62
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR6RValueD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #8
  br label %82

82:                                               ; preds = %80, %78
  %.pn = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @_ZN3MIR6RValue12Data_DstMetaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %83

83:                                               ; preds = %82, %76
  %.pn.pn = phi { ptr, i32 } [ %.pn, %82 ], [ %77, %76 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %339

84:                                               ; preds = %.lr.ph192, %325
  %.082190 = phi i64 [ 0, %.lr.ph192 ], [ %328, %325 ]
  %.083188 = phi i64 [ 0, %.lr.ph192 ], [ %329, %325 ]
  %85 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.083188) #8
  %86 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %85, i64 noundef 0)
  %87 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %4) #8
  %88 = call noundef ptr @_ZNK11PatternRule9opt_SliceEv(ptr noundef nonnull align 8 dereferenceable(120) %87)
  %.not = icmp eq ptr %88, null
  br i1 %.not, label %198, label %89

89:                                               ; preds = %84
  %90 = getelementptr inbounds i8, ptr %88, i64 8
  %91 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #8
  %92 = icmp eq i64 %91, 0
  br i1 %92, label %108, label %93

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %94 = load ptr, ptr %0, align 8, !tbaa !11
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %94)
          to label %95 unwind label %101

95:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaISA_EEmRKS9_IjSaIjEEjE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull %13)
          to label %96 unwind label %103

96:                                               ; preds = %95
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  %97 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %97, ptr noundef nonnull @.str.10)
          to label %98 unwind label %106

98:                                               ; preds = %96
  invoke void @__cxa_throw(ptr nonnull %97, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %340 unwind label %99

99:                                               ; preds = %98
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %338

101:                                              ; preds = %93
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %105

103:                                              ; preds = %95
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br label %105

105:                                              ; preds = %103, %101
  %.pn118 = phi { ptr, i32 } [ %104, %103 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %338

106:                                              ; preds = %96
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %97) #8
  br label %338

108:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #8
  %109 = load i32, ptr %88, align 8, !tbaa !12
  %110 = zext i32 %109 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %16, i64 noundef %110, i64 noundef 0)
  store i32 0, ptr %65, align 8, !tbaa !19
  invoke void @_ZN3MIR8Constant9make_UintENS0_9Data_UintE(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Constant") align 8 %15, ptr noundef nonnull byval(%"struct.MIR::Constant::Data_Uint") align 8 %16)
          to label %.preheader unwind label %119

.preheader:                                       ; preds = %108
  %111 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.083188) #8
  %112 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %111)
  %.not195 = icmp eq i64 %112, 0
  br i1 %.not195, label %._crit_edge, label %.lr.ph

113:                                              ; preds = %.lr.ph
  %114 = add nuw i64 %.084187, 1
  %115 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.083188) #8
  %116 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %115)
  %117 = icmp ult i64 %114, %116
  br i1 %117, label %.lr.ph, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %113, %.preheader
  %118 = load i32, ptr %88, align 8, !tbaa !12
  %.not120 = icmp eq i32 %118, 0
  br i1 %.not120, label %163, label %128

119:                                              ; preds = %108
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %197

.lr.ph:                                           ; preds = %.preheader, %113
  %.084187 = phi i64 [ %114, %113 ], [ 0, %.preheader ]
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.082190) #8
  %122 = load i32, ptr %121, align 4, !tbaa !25
  %123 = add i64 %.084187, %.082190
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %123) #8
  %125 = load i32, ptr %124, align 4, !tbaa !25
  %126 = icmp eq i32 %122, %125
  br i1 %126, label %113, label %127

127:                                              ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str.89, ptr noundef nonnull @.str.17, i32 noundef 3705, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaIS5_EEmRKS4_IjSaIjEEj) #10
  unreachable

128:                                              ; preds = %._crit_edge
  %129 = load ptr, ptr %56, align 8, !tbaa !5
  %130 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %129)
          to label %131 unwind label %142

131:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #8
  invoke void @_ZNK3MIR6LValue5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %132 unwind label %144

132:                                              ; preds = %131
  invoke void @_ZNK3MIR8Constant5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Constant") align 8 %20, ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %133 unwind label %146

133:                                              ; preds = %132
  invoke void @_ZN3MIR5ParamC2ENS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull %20)
          to label %134 unwind label %148

134:                                              ; preds = %133
  invoke void @_ZN15MatchGenGrouped12push_compareEN3MIR6LValueENS0_6eBinOpENS0_5ParamE(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %17, ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %18, i32 noundef 18, ptr noundef nonnull %19)
          to label %135 unwind label %150

135:                                              ; preds = %134
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  %136 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3MIR6LValueC2EOS0_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %137 unwind label %154

137:                                              ; preds = %135
  store i32 %6, ptr %66, align 8, !tbaa !26
  store i32 %130, ptr %67, align 4, !tbaa !34
  invoke void @_ZN3MIR10Terminator7make_IfENS0_7Data_IfE(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Terminator") align 8 %21, ptr noundef nonnull %22)
          to label %138 unwind label %156

138:                                              ; preds = %137
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %136, ptr noundef nonnull %21)
          to label %139 unwind label %158

139:                                              ; preds = %138
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %21) #8
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #8
  %140 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %140, i32 noundef %130)
          to label %141 unwind label %154

141:                                              ; preds = %139
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  br label %163

142:                                              ; preds = %128
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %196

144:                                              ; preds = %131
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %162

146:                                              ; preds = %132
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %153

148:                                              ; preds = %133
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %152

150:                                              ; preds = %134
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #8
  br label %152

152:                                              ; preds = %150, %148
  %.pn121 = phi { ptr, i32 } [ %151, %150 ], [ %149, %148 ]
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #8
  br label %153

153:                                              ; preds = %152, %146
  %.pn121.pn = phi { ptr, i32 } [ %.pn121, %152 ], [ %147, %146 ]
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %162

154:                                              ; preds = %139, %135
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %161

156:                                              ; preds = %137
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %138
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %21) #8
  br label %160

160:                                              ; preds = %158, %156
  %.pn124 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #8
  br label %161

161:                                              ; preds = %160, %154
  %.pn126 = phi { ptr, i32 } [ %155, %154 ], [ %.pn124, %160 ]
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %162

162:                                              ; preds = %161, %153, %144
  %.pn126.pn = phi { ptr, i32 } [ %.pn126, %161 ], [ %.pn121.pn, %153 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  br label %196

163:                                              ; preds = %141, %._crit_edge
  %164 = load ptr, ptr %56, align 8, !tbaa !5
  %165 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %164)
          to label %166 unwind label %178

166:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #8
  invoke void @_ZNK3MIR6LValue5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %24, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %167 unwind label %180

167:                                              ; preds = %166
  call void @_ZN3MIR8ConstantC2EOS0_(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef nonnull align 8 dereferenceable(40) %15) #8
  invoke void @_ZN3MIR5ParamC2ENS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull %26)
          to label %168 unwind label %182

168:                                              ; preds = %167
  invoke void @_ZN15MatchGenGrouped12push_compareEN3MIR6LValueENS0_6eBinOpENS0_5ParamE(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %23, ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %24, i32 noundef 14, ptr noundef nonnull %25)
          to label %169 unwind label %184

169:                                              ; preds = %168
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  %170 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3MIR6LValueC2EOS0_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %171 unwind label %187

171:                                              ; preds = %169
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.082190) #8
  %173 = load i32, ptr %172, align 4, !tbaa !25
  store i32 %173, ptr %68, align 8, !tbaa !26
  store i32 %165, ptr %69, align 4, !tbaa !34
  invoke void @_ZN3MIR10Terminator7make_IfENS0_7Data_IfE(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Terminator") align 8 %27, ptr noundef nonnull %28)
          to label %174 unwind label %189

174:                                              ; preds = %171
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %170, ptr noundef nonnull %27)
          to label %175 unwind label %191

175:                                              ; preds = %174
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %27) #8
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #8
  %176 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %176, i32 noundef %165)
          to label %177 unwind label %187

177:                                              ; preds = %175
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #8
  br label %325

178:                                              ; preds = %163
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %196

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

182:                                              ; preds = %167
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %186

184:                                              ; preds = %168
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #8
  br label %186

186:                                              ; preds = %184, %182
  %.pn130 = phi { ptr, i32 } [ %185, %184 ], [ %183, %182 ]
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  br label %195

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

189:                                              ; preds = %171
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %193

191:                                              ; preds = %174
  %192 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %27) #8
  br label %193

193:                                              ; preds = %191, %189
  %.pn132 = phi { ptr, i32 } [ %192, %191 ], [ %190, %189 ]
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #8
  br label %194

194:                                              ; preds = %193, %187
  %.pn134 = phi { ptr, i32 } [ %188, %187 ], [ %.pn132, %193 ]
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  br label %195

195:                                              ; preds = %194, %186, %180
  %.pn134.pn = phi { ptr, i32 } [ %.pn134, %194 ], [ %.pn130, %186 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #8
  br label %196

196:                                              ; preds = %178, %195, %142, %162
  %.pn134.pn.pn.pn = phi { ptr, i32 } [ %.pn126.pn, %162 ], [ %143, %142 ], [ %.pn134.pn, %195 ], [ %179, %178 ]
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #8
  br label %197

197:                                              ; preds = %196, %119
  %.pn134.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn134.pn.pn.pn, %196 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #8
  br label %338

198:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #8
  %199 = call noundef ptr @_ZNK11PatternRule9opt_ValueEv(ptr noundef nonnull align 8 dereferenceable(120) %87)
  store ptr %199, ptr %29, align 8, !tbaa !35
  %.not89 = icmp eq ptr %199, null
  br i1 %.not89, label %311, label %200

200:                                              ; preds = %198
  %201 = call noundef zeroext i1 @_ZNK3MIR8Constant8is_BytesEv(ptr noundef nonnull align 8 dereferenceable(40) %199)
  br i1 %201, label %216, label %202

202:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #8
  %203 = load ptr, ptr %0, align 8, !tbaa !11
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %203)
          to label %204 unwind label %209

204:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #8
  store ptr %29, ptr %32, align 8, !tbaa !35
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaISA_EEmRKS9_IjSaIjEEjE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull %31)
          to label %205 unwind label %211

205:                                              ; preds = %204
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  %206 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %206, ptr noundef nonnull @.str.10)
          to label %.invoke unwind label %214

207:                                              ; preds = %.invoke
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %324

209:                                              ; preds = %202
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %213

211:                                              ; preds = %204
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br label %213

213:                                              ; preds = %211, %209
  %.pn92 = phi { ptr, i32 } [ %212, %211 ], [ %210, %209 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  br label %324

214:                                              ; preds = %205
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %206) #8
  br label %324

216:                                              ; preds = %200
  %217 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3MIR8Constant8as_BytesEv(ptr noundef nonnull align 8 dereferenceable(40) %199)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #8
  %218 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %217) #8
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %34, i64 noundef %218, i64 noundef 0)
  store i32 0, ptr %70, align 8, !tbaa !19
  invoke void @_ZN3MIR8Constant9make_UintENS0_9Data_UintE(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Constant") align 8 %33, ptr noundef nonnull byval(%"struct.MIR::Constant::Data_Uint") align 8 %34)
          to label %219 unwind label %233

219:                                              ; preds = %216
  %220 = load ptr, ptr %56, align 8, !tbaa !5
  %221 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %220)
          to label %222 unwind label %.loopexit

222:                                              ; preds = %219
  %223 = call noundef zeroext i1 @_ZNKSt6vectorIN3MIR6LValue7WrapperESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  br i1 %223, label %227, label %224

224:                                              ; preds = %222
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN3MIR6LValue7WrapperESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  %226 = call noundef zeroext i1 @_ZNK3MIR6LValue7Wrapper8is_DerefEv(ptr noundef nonnull align 4 dereferenceable(4) %225)
  br i1 %226, label %242, label %227

227:                                              ; preds = %224, %222
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #8
  %228 = load ptr, ptr %0, align 8, !tbaa !11
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %228)
          to label %229 unwind label %235

229:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #8
  store ptr %2, ptr %37, align 8, !tbaa !35
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaISA_EEmRKS9_IjSaIjEEjE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull %36)
          to label %230 unwind label %237

230:                                              ; preds = %229
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  %231 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %231, ptr noundef nonnull @.str.10)
          to label %232 unwind label %240

232:                                              ; preds = %230
  invoke void @__cxa_throw(ptr nonnull %231, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %340 unwind label %.loopexit.split-lp

233:                                              ; preds = %216
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %310

.loopexit:                                        ; preds = %219
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %309

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

235:                                              ; preds = %227
  %236 = landingpad { ptr, i32 }
          cleanup
  br label %239

237:                                              ; preds = %229
  %238 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br label %239

239:                                              ; preds = %237, %235
  %.pn112 = phi { ptr, i32 } [ %238, %237 ], [ %236, %235 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  br label %309

240:                                              ; preds = %230
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %231) #8
  br label %309

242:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #8
  %243 = load ptr, ptr %56, align 8, !tbaa !5
  %244 = load ptr, ptr %0, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #8
  invoke void @_ZN3HIR7TypeRefC2ENS_8CoreTypeE(ptr noundef nonnull align 8 dereferenceable(8) %41, i32 noundef 2)
          to label %245 unwind label %266

245:                                              ; preds = %242
  invoke void @_ZN3HIR7TypeRef9new_sliceES0_(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %40, ptr noundef nonnull %41)
          to label %246 unwind label %268

246:                                              ; preds = %245
  invoke void @_ZN3HIR7TypeRef10new_borrowENS_10BorrowTypeES0_(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %39, i32 noundef 0, ptr noundef nonnull %40)
          to label %247 unwind label %270

247:                                              ; preds = %246
  invoke void @_ZNK3MIR8Constant5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Constant") align 8 %44, ptr noundef nonnull align 8 dereferenceable(40) %199)
          to label %248 unwind label %272

248:                                              ; preds = %247
  invoke void @_ZN3MIR5ParamC2ENS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull %44)
          to label %249 unwind label %274

249:                                              ; preds = %248
  invoke void @_ZNK3MIR8Constant5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Constant") align 8 %45, ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %250 unwind label %.thread

250:                                              ; preds = %249
  invoke void @_ZN3MIR5ParamC2ENS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(48) %72, ptr noundef nonnull %45)
          to label %251 unwind label %.thread146

251:                                              ; preds = %250
  invoke void @_ZN3MIR6RValue12make_MakeDstENS0_12Data_MakeDstE(ptr dead_on_unwind nonnull writable sret(%"class.MIR::RValue") align 8 %42, ptr noundef nonnull %43)
          to label %252 unwind label %278

252:                                              ; preds = %251
  invoke void @_ZN10MirBuilder14lvalue_or_tempERK4SpanRKN3HIR7TypeRefEN3MIR6RValueE(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %38, ptr noundef nonnull align 8 dereferenceable(440) %243, ptr noundef nonnull align 8 dereferenceable(8) %244, ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull %42)
          to label %253 unwind label %280

253:                                              ; preds = %252
  call void @_ZN3MIR6RValueD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #8
  call void @_ZN3MIR6RValue12Data_MakeDstD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %43) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %44) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %46) #8
  invoke void @_ZNK3MIR6LValue15clone_unwrappedEj(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %47, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef 1)
          to label %254 unwind label %289

254:                                              ; preds = %253
  invoke void @_ZN3MIR6LValueC2EOS0_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %255 unwind label %291

255:                                              ; preds = %254
  invoke void @_ZN3MIR5ParamC2ENS_6LValueE(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef nonnull %49)
          to label %256 unwind label %293

256:                                              ; preds = %255
  invoke void @_ZN15MatchGenGrouped12push_compareEN3MIR6LValueENS0_6eBinOpENS0_5ParamE(ptr dead_on_unwind nonnull writable sret(%"struct.MIR::LValue") align 8 %46, ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %47, i32 noundef 14, ptr noundef nonnull %48)
          to label %257 unwind label %295

257:                                              ; preds = %256
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  %258 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN3MIR6LValueC2EOS0_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %259 unwind label %299

259:                                              ; preds = %257
  %260 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.082190) #8
  %261 = load i32, ptr %260, align 4, !tbaa !25
  store i32 %261, ptr %73, align 8, !tbaa !26
  store i32 %221, ptr %74, align 4, !tbaa !34
  invoke void @_ZN3MIR10Terminator7make_IfENS0_7Data_IfE(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Terminator") align 8 %50, ptr noundef nonnull %51)
          to label %262 unwind label %301

262:                                              ; preds = %259
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %258, ptr noundef nonnull %50)
          to label %263 unwind label %303

263:                                              ; preds = %262
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %50) #8
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #8
  %264 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %264, i32 noundef %221)
          to label %265 unwind label %299

265:                                              ; preds = %263
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  br label %325

266:                                              ; preds = %242
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %288

268:                                              ; preds = %245
  %269 = landingpad { ptr, i32 }
          cleanup
  br label %287

270:                                              ; preds = %246
  %271 = landingpad { ptr, i32 }
          cleanup
  br label %286

272:                                              ; preds = %247
  %273 = landingpad { ptr, i32 }
          cleanup
  br label %285

274:                                              ; preds = %248
  %275 = landingpad { ptr, i32 }
          cleanup
  br label %284

.thread:                                          ; preds = %249
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %283

.thread146:                                       ; preds = %250
  %277 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #8
  br label %283

278:                                              ; preds = %251
  %279 = landingpad { ptr, i32 }
          cleanup
  br label %282

280:                                              ; preds = %252
  %281 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR6RValueD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #8
  br label %282

282:                                              ; preds = %278, %280
  %.pn94 = phi { ptr, i32 } [ %281, %280 ], [ %279, %278 ]
  call void @_ZN3MIR6RValue12Data_MakeDstD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %43) #8
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #8
  br label %284

283:                                              ; preds = %.thread146, %.thread
  %.pn94.pn.pn145 = phi { ptr, i32 } [ %276, %.thread ], [ %277, %.thread146 ]
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #8
  br label %284

284:                                              ; preds = %282, %283, %274
  %.pn94.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn145, %283 ], [ %.pn94, %282 ], [ %275, %274 ]
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %44) #8
  br label %285

285:                                              ; preds = %284, %272
  %.pn94.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn.pn, %284 ], [ %273, %272 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  br label %286

286:                                              ; preds = %285, %270
  %.pn94.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn.pn.pn, %285 ], [ %271, %270 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  br label %287

287:                                              ; preds = %286, %268
  %.pn94.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn.pn.pn.pn, %286 ], [ %269, %268 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  br label %288

288:                                              ; preds = %287, %266
  %.pn94.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn.pn.pn.pn.pn, %287 ], [ %267, %266 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  br label %308

289:                                              ; preds = %253
  %290 = landingpad { ptr, i32 }
          cleanup
  br label %307

291:                                              ; preds = %254
  %292 = landingpad { ptr, i32 }
          cleanup
  br label %298

293:                                              ; preds = %255
  %294 = landingpad { ptr, i32 }
          cleanup
  br label %297

295:                                              ; preds = %256
  %296 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR5ParamD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #8
  br label %297

297:                                              ; preds = %295, %293
  %.pn103 = phi { ptr, i32 } [ %296, %295 ], [ %294, %293 ]
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #8
  br label %298

298:                                              ; preds = %297, %291
  %.pn103.pn = phi { ptr, i32 } [ %.pn103, %297 ], [ %292, %291 ]
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  br label %307

299:                                              ; preds = %263, %257
  %300 = landingpad { ptr, i32 }
          cleanup
  br label %306

301:                                              ; preds = %259
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %305

303:                                              ; preds = %262
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %50) #8
  br label %305

305:                                              ; preds = %303, %301
  %.pn106 = phi { ptr, i32 } [ %304, %303 ], [ %302, %301 ]
  call void @_ZN3MIR10Terminator7Data_IfD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #8
  br label %306

306:                                              ; preds = %305, %299
  %.pn108 = phi { ptr, i32 } [ %300, %299 ], [ %.pn106, %305 ]
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  br label %307

307:                                              ; preds = %306, %298, %289
  %.pn108.pn = phi { ptr, i32 } [ %.pn108, %306 ], [ %.pn103.pn, %298 ], [ %290, %289 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  br label %308

308:                                              ; preds = %307, %288
  %.pn108.pn.pn = phi { ptr, i32 } [ %.pn108.pn, %307 ], [ %.pn94.pn.pn.pn.pn.pn.pn.pn, %288 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #8
  br label %309

309:                                              ; preds = %.loopexit, %.loopexit.split-lp, %308, %240, %239
  %.pn114 = phi { ptr, i32 } [ %241, %240 ], [ %.pn112, %239 ], [ %.pn108.pn.pn, %308 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN3MIR8ConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #8
  br label %310

310:                                              ; preds = %309, %233
  %.pn114.pn = phi { ptr, i32 } [ %.pn114, %309 ], [ %234, %233 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #8
  br label %324

311:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #8
  %312 = load ptr, ptr %0, align 8, !tbaa !11
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %312)
          to label %313 unwind label %317

313:                                              ; preds = %311
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #8
  store ptr %87, ptr %54, align 8, !tbaa !35
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped19gen_dispatch__sliceEN3HIR7TypeRefEN3MIR6LValueERKSt6vectorI14t_rules_subsetSaISA_EEmRKS9_IjSaIjEEjE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull %53)
          to label %314 unwind label %319

314:                                              ; preds = %313
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #8
  %315 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %315, ptr noundef nonnull @.str.10)
          to label %.invoke unwind label %322

.invoke:                                          ; preds = %205, %314
  %316 = phi ptr [ %315, %314 ], [ %206, %205 ]
  invoke void @__cxa_throw(ptr nonnull %316, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %.cont unwind label %207

.cont:                                            ; preds = %.invoke
  unreachable

317:                                              ; preds = %311
  %318 = landingpad { ptr, i32 }
          cleanup
  br label %321

319:                                              ; preds = %313
  %320 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  br label %321

321:                                              ; preds = %319, %317
  %.pn90 = phi { ptr, i32 } [ %320, %319 ], [ %318, %317 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #8
  br label %324

322:                                              ; preds = %314
  %323 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %315) #8
  br label %324

324:                                              ; preds = %322, %321, %310, %214, %213, %207
  %.pn114.pn.pn = phi { ptr, i32 } [ %.pn114.pn, %310 ], [ %208, %207 ], [ %215, %214 ], [ %.pn92, %213 ], [ %323, %322 ], [ %.pn90, %321 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  br label %338

325:                                              ; preds = %265, %177
  %326 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.083188) #8
  %327 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %326)
  %328 = add i64 %327, %.082190
  %329 = add nuw i64 %.083188, 1
  %330 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %331 = icmp ult i64 %329, %330
  br i1 %331, label %84, label %._crit_edge193, !llvm.loop !36

332:                                              ; preds = %._crit_edge193
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %75, ptr noundef nonnull %55)
          to label %333 unwind label %336

333:                                              ; preds = %332
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %55) #8
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  ret void

334:                                              ; preds = %._crit_edge193
  %335 = landingpad { ptr, i32 }
          cleanup
  br label %338

336:                                              ; preds = %332
  %337 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %55) #8
  br label %338

338:                                              ; preds = %99, %105, %106, %197, %324, %336, %334
  %.pn134.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %337, %336 ], [ %335, %334 ], [ %.pn134.pn.pn.pn.pn, %197 ], [ %100, %99 ], [ %107, %106 ], [ %.pn118, %105 ], [ %.pn114.pn.pn, %324 ]
  call void @_ZN3MIR6LValueD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %339

339:                                              ; preds = %338, %83
  %.pn134.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn134.pn.pn.pn.pn.pn.pn, %338 ], [ %.pn.pn, %83 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  resume { ptr, i32 } %.pn134.pn.pn.pn.pn.pn.pn.pn

340:                                              ; preds = %232, %98
  unreachable
}

declare void @_ZNK3MIR8Constant5cloneEv(ptr dead_on_unwind writable sret(%"class.MIR::Constant") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15MatchGenGrouped12push_compareEN3MIR6LValueENS0_6eBinOpENS0_5ParamE(ptr dead_on_unwind noalias writable sret(%"struct.MIR::LValue") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"_ZTS15MatchGenGrouped", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTSN11PatternRule10Data_SliceE", !14, i64 0, !15, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!"_ZTSSt6vectorI11PatternRuleSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseI11PatternRuleSaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!20, !22, i64 16}
!20 = !{!"_ZTSN3MIR8Constant9Data_UintE", !21, i64 0, !22, i64 16}
!21 = !{!"_ZTS4U128", !10, i64 0, !10, i64 8}
!22 = !{!"_ZTSN3HIR8CoreTypeE", !8, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!14, !14, i64 0}
!26 = !{!27, !14, i64 32}
!27 = !{!"_ZTSN3MIR10Terminator7Data_IfE", !28, i64 0, !14, i64 32, !14, i64 36}
!28 = !{!"_ZTSN3MIR6LValueE", !29, i64 0, !30, i64 8}
!29 = !{!"_ZTSN3MIR6LValue7StorageE", !10, i64 0}
!30 = !{!"_ZTSSt6vectorIN3MIR6LValue7WrapperESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!34 = !{!27, !14, i64 36}
!35 = !{!7, !7, i64 0}
!36 = distinct !{!36, !24}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass