; LLVM IR from thepowersgang/mrustc :: src/ast/ast.ll (ZNK3AST4Enum5cloneEv)

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

%"class.AST::AttributeList" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::StructItem" = type { %"class.AST::AttributeList", %"class.AST::Visibility", %class.RcString, %class.TypeRef }
%"class.AST::Visibility" = type <{ %"class.std::shared_ptr", %"class.std::shared_ptr.114", i32, [4 x i8] }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.114" = type { %"class.std::__shared_ptr.115" }
%"class.std::__shared_ptr.115" = type { ptr, %"class.std::__shared_count" }
%class.RcString = type { ptr }
%class.TypeRef = type { %struct.Span, %class.TypeData }
%struct.Span = type { ptr }
%class.TypeData = type { i32, %"union.TypeData::DataUnion" }
%"union.TypeData::DataUnion" = type { %"struct.TypeData::Data_ErasedType", [32 x i8] }
%"struct.TypeData::Data_ErasedType" = type { %"class.std::vector.141", %"class.std::vector.141", %"class.std::vector.146" }
%"class.std::vector.141" = type { %"struct.std::_Vector_base.142" }
%"struct.std::_Vector_base.142" = type { %"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl" }
%"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.146" = type { %"struct.std::_Vector_base.147" }
%"struct.std::_Vector_base.147" = type { %"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::TupleItem" = type { %"class.AST::AttributeList", %"class.AST::Visibility", %class.TypeRef }
%"class.AST::GenericParams" = type { %"class.std::vector.151", %"class.std::vector.156" }
%"class.std::vector.151" = type { %"struct.std::_Vector_base.152" }
%"struct.std::_Vector_base.152" = type { %"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.156" = type { %"struct.std::_Vector_base.157" }
%"struct.std::_Vector_base.157" = type { %"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Enum" = type { %"class.AST::GenericParams", %"class.std::vector.245", %"struct.AST::Enum::Markings" }
%"class.std::vector.245" = type { %"struct.std::_Vector_base.246" }
%"struct.std::_Vector_base.246" = type { %"struct.std::_Vector_base<AST::EnumVariant, std::allocator<AST::EnumVariant>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::EnumVariant, std::allocator<AST::EnumVariant>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::EnumVariant, std::allocator<AST::EnumVariant>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::EnumVariant, std::allocator<AST::EnumVariant>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Enum::Markings" = type <{ i32, i8, [3 x i8] }>
%"class.__gnu_cxx::__normal_iterator.251" = type { ptr }
%"struct.AST::EnumVariant" = type { %"class.AST::AttributeList", %class.RcString, %"class.AST::EnumVariantData" }
%"class.AST::EnumVariantData" = type { i32, %"union.AST::EnumVariantData::DataUnion" }
%"union.AST::EnumVariantData::DataUnion" = type { %"struct.AST::EnumVariantData::Data_Tuple" }
%"struct.AST::EnumVariantData::Data_Tuple" = type { %"class.std::vector.235" }
%"class.std::vector.235" = type { %"struct.std::_Vector_base.236" }
%"struct.std::_Vector_base.236" = type { %"struct.std::_Vector_base<AST::TupleItem, std::allocator<AST::TupleItem>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::TupleItem, std::allocator<AST::TupleItem>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::TupleItem, std::allocator<AST::TupleItem>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::TupleItem, std::allocator<AST::TupleItem>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Expr" = type { %"class.std::shared_ptr.138" }
%"class.std::shared_ptr.138" = type { %"class.std::__shared_ptr.139" }
%"class.std::__shared_ptr.139" = type { ptr, %"class.std::__shared_count" }
%"class.__gnu_cxx::__normal_iterator.252" = type { ptr }
%"class.std::vector.240" = type { %"struct.std::_Vector_base.241" }
%"struct.std::_Vector_base.241" = type { %"struct.std::_Vector_base<AST::StructItem, std::allocator<AST::StructItem>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::StructItem, std::allocator<AST::StructItem>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::StructItem, std::allocator<AST::StructItem>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::StructItem, std::allocator<AST::StructItem>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.253" = type { ptr }
%"struct.AST::EnumVariantData::Data_Value" = type { %"class.AST::Expr" }
%"struct.AST::EnumVariantData::Data_Struct" = type { %"class.std::vector.240" }

@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3AST4Enum5cloneEv = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST13AttributeList5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.AST::AttributeList") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST10StructItem5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.AST::StructItem") align 8, ptr noundef nonnull align 8 dereferenceable(192)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST9TupleItem5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.AST::TupleItem") align 8, ptr noundef nonnull align 8 dereferenceable(184)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST13GenericParams5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.AST::GenericParams") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3AST4Enum5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.AST::Enum") align 8 %0, ptr noundef nonnull align 8 dereferenceable(80) %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector.245", align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.251", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.251", align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.AST::EnumVariant", align 8
  %15 = alloca %"class.AST::AttributeList", align 8
  %16 = alloca %class.RcString, align 8
  %17 = alloca %"class.AST::Expr", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::vector.235", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.252", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.252", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.AST::TupleItem", align 8
  %25 = alloca %"struct.AST::EnumVariant", align 8
  %26 = alloca %"class.AST::AttributeList", align 8
  %27 = alloca %class.RcString, align 8
  %28 = alloca %"class.std::vector.235", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.std::vector.240", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.253", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.253", align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"struct.AST::StructItem", align 8
  %36 = alloca %"struct.AST::EnumVariant", align 8
  %37 = alloca %"class.AST::AttributeList", align 8
  %38 = alloca %class.RcString, align 8
  %39 = alloca %"class.std::vector.240", align 8
  %40 = alloca %"class.AST::GenericParams", align 8
  %41 = alloca %"class.std::vector.245", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %42 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #7
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %43 = getelementptr inbounds %"class.AST::Enum", ptr %42, i32 0, i32 1
  store ptr %43, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = call ptr @_ZNKSt6vectorIN3AST11EnumVariantESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  %46 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.251", ptr %7, i32 0, i32 0
  store ptr %45, ptr %46, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = call ptr @_ZNKSt6vectorIN3AST11EnumVariantESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #7
  %49 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.251", ptr %8, i32 0, i32 0
  store ptr %48, ptr %49, align 8
  br label %50

50:                                               ; preds = %245, %2
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST11EnumVariantESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br i1 %51, label %53, label %52

52:                                               ; preds = %50
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %248

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %54 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST11EnumVariantESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  store ptr %54, ptr %10, align 8, !tbaa !5
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %55, i32 0, i32 2
  %57 = invoke noundef i32 @_ZNK3AST15EnumVariantData3tagEv(ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %58 unwind label %59

58:                                               ; preds = %53
  switch i32 %57, label %244 [
    i32 0, label %63
    i32 1, label %64
    i32 2, label %110
    i32 3, label %177
  ]

59:                                               ; preds = %53
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %11, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %12, align 4
  br label %247

63:                                               ; preds = %58
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.14, i32 noundef 326, ptr noundef @__PRETTY_FUNCTION__._ZNK3AST4Enum5cloneEv) #8
  unreachable

64:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %65, i32 0, i32 2
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST15EnumVariantData8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %68 unwind label %81

68:                                               ; preds = %64
  store ptr %67, ptr %13, align 8, !tbaa !5
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #7
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %70, i32 0, i32 0
  invoke void @_ZNK3AST13AttributeList5cloneEv(ptr dead_on_unwind writable sret(%"class.AST::AttributeList") align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %72 unwind label %85

72:                                               ; preds = %68
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %73, i32 0, i32 1
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %75 unwind label %89

75:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %76 = load ptr, ptr %13, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.AST::EnumVariantData::Data_Value", ptr %76, i32 0, i32 0
  invoke void @_ZNK3AST4Expr5cloneEv(ptr dead_on_unwind writable sret(%"class.AST::Expr") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %77)
          to label %78 unwind label %93

78:                                               ; preds = %75
  invoke void @_ZN3AST11EnumVariantC2ENS_13AttributeListE8RcStringONS_4ExprE(ptr noundef nonnull align 8 dereferenceable(64) %14, ptr noundef %15, ptr noundef %16, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %79 unwind label %97

79:                                               ; preds = %78
  invoke void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(64) %14)
          to label %80 unwind label %101

80:                                               ; preds = %79
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #7
  call void @_ZN3AST4ExprD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %244

81:                                               ; preds = %64
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %11, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %12, align 4
  br label %109

85:                                               ; preds = %68
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %11, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %12, align 4
  br label %108

89:                                               ; preds = %72
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %11, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %12, align 4
  br label %107

93:                                               ; preds = %75
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %11, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %12, align 4
  br label %106

97:                                               ; preds = %78
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %11, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %12, align 4
  br label %105

101:                                              ; preds = %79
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %11, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %12, align 4
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #7
  br label %105

105:                                              ; preds = %101, %97
  call void @_ZN3AST4ExprD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %106

106:                                              ; preds = %105, %93
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  br label %107

107:                                              ; preds = %106, %89
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %108

108:                                              ; preds = %107, %85
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #7
  br label %109

109:                                              ; preds = %108, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %247

110:                                              ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %111, i32 0, i32 2
  %113 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST15EnumVariantData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(32) %112)
          to label %114 unwind label %127

114:                                              ; preds = %110
  store ptr %113, ptr %18, align 8, !tbaa !5
  %115 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %116 = load ptr, ptr %18, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.AST::EnumVariantData::Data_Tuple", ptr %116, i32 0, i32 0
  store ptr %117, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %118 = load ptr, ptr %20, align 8, !tbaa !5
  %119 = call ptr @_ZNKSt6vectorIN3AST9TupleItemESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %118) #7
  %120 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.252", ptr %21, i32 0, i32 0
  store ptr %119, ptr %120, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %121 = load ptr, ptr %20, align 8, !tbaa !5
  %122 = call ptr @_ZNKSt6vectorIN3AST9TupleItemESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %121) #7
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.252", ptr %22, i32 0, i32 0
  store ptr %122, ptr %123, align 8
  br label %124

124:                                              ; preds = %136, %114
  %125 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST9TupleItemESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %125, label %131, label %126

126:                                              ; preds = %124
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %147

127:                                              ; preds = %110
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %11, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %12, align 4
  br label %176

131:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %132 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST9TupleItemESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  store ptr %132, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 184, ptr %24) #7
  %133 = load ptr, ptr %23, align 8, !tbaa !5
  invoke void @_ZNK3AST9TupleItem5cloneEv(ptr dead_on_unwind writable sret(%"struct.AST::TupleItem") align 8 %24, ptr noundef nonnull align 8 dereferenceable(184) %133)
          to label %134 unwind label %138

134:                                              ; preds = %131
  invoke void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(184) %24)
          to label %135 unwind label %142

135:                                              ; preds = %134
  call void @_ZN3AST9TupleItemD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %24) #7
  call void @llvm.lifetime.end.p0(i64 184, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %136

136:                                              ; preds = %135
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST9TupleItemESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br label %124

138:                                              ; preds = %131
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %11, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %12, align 4
  br label %146

142:                                              ; preds = %134
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %11, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %12, align 4
  call void @_ZN3AST9TupleItemD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %24) #7
  br label %146

146:                                              ; preds = %142, %138
  call void @llvm.lifetime.end.p0(i64 184, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %175

147:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #7
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %148, i32 0, i32 0
  invoke void @_ZNK3AST13AttributeList5cloneEv(ptr dead_on_unwind writable sret(%"class.AST::AttributeList") align 8 %26, ptr noundef nonnull align 8 dereferenceable(24) %149)
          to label %150 unwind label %156

150:                                              ; preds = %147
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %151, i32 0, i32 1
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %152)
          to label %153 unwind label %160

153:                                              ; preds = %150
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  invoke void @_ZN3AST11EnumVariantC2ENS_13AttributeListE8RcStringSt6vectorINS_9TupleItemESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef %26, ptr noundef %27, ptr noundef %28)
          to label %154 unwind label %164

154:                                              ; preds = %153
  invoke void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(64) %25)
          to label %155 unwind label %168

155:                                              ; preds = %154
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #7
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #7
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %244

156:                                              ; preds = %147
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %11, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %12, align 4
  br label %174

160:                                              ; preds = %150
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %11, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %12, align 4
  br label %173

164:                                              ; preds = %153
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %11, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %12, align 4
  br label %172

168:                                              ; preds = %154
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %11, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %12, align 4
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #7
  br label %172

172:                                              ; preds = %168, %164
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br label %173

173:                                              ; preds = %172, %160
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %174

174:                                              ; preds = %173, %156
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #7
  br label %175

175:                                              ; preds = %174, %146
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  br label %176

176:                                              ; preds = %175, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %247

177:                                              ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %178, i32 0, i32 2
  %180 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST15EnumVariantData9as_StructEv(ptr noundef nonnull align 8 dereferenceable(32) %179)
          to label %181 unwind label %194

181:                                              ; preds = %177
  store ptr %180, ptr %29, align 8, !tbaa !5
  %182 = load ptr, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #7
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %183 = load ptr, ptr %29, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.AST::EnumVariantData::Data_Struct", ptr %183, i32 0, i32 0
  store ptr %184, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %185 = load ptr, ptr %31, align 8, !tbaa !5
  %186 = call ptr @_ZNKSt6vectorIN3AST10StructItemESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %185) #7
  %187 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.253", ptr %32, i32 0, i32 0
  store ptr %186, ptr %187, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %188 = load ptr, ptr %31, align 8, !tbaa !5
  %189 = call ptr @_ZNKSt6vectorIN3AST10StructItemESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %188) #7
  %190 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.253", ptr %33, i32 0, i32 0
  store ptr %189, ptr %190, align 8
  br label %191

191:                                              ; preds = %203, %181
  %192 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST10StructItemESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br i1 %192, label %198, label %193

193:                                              ; preds = %191
  store i32 7, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %214

194:                                              ; preds = %177
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %11, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %12, align 4
  br label %243

198:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %199 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST10StructItemESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  store ptr %199, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 192, ptr %35) #7
  %200 = load ptr, ptr %34, align 8, !tbaa !5
  invoke void @_ZNK3AST10StructItem5cloneEv(ptr dead_on_unwind writable sret(%"struct.AST::StructItem") align 8 %35, ptr noundef nonnull align 8 dereferenceable(192) %200)
          to label %201 unwind label %205

201:                                              ; preds = %198
  invoke void @_ZNSt6vectorIN3AST10StructItemESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(192) %35)
          to label %202 unwind label %209

202:                                              ; preds = %201
  call void @_ZN3AST10StructItemD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %35) #7
  call void @llvm.lifetime.end.p0(i64 192, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %203

203:                                              ; preds = %202
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST10StructItemESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  br label %191

205:                                              ; preds = %198
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %11, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %12, align 4
  br label %213

209:                                              ; preds = %201
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %11, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %12, align 4
  call void @_ZN3AST10StructItemD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %35) #7
  br label %213

213:                                              ; preds = %209, %205
  call void @llvm.lifetime.end.p0(i64 192, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %242

214:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #7
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %215, i32 0, i32 0
  invoke void @_ZNK3AST13AttributeList5cloneEv(ptr dead_on_unwind writable sret(%"class.AST::AttributeList") align 8 %37, ptr noundef nonnull align 8 dereferenceable(24) %216)
          to label %217 unwind label %223

217:                                              ; preds = %214
  %218 = load ptr, ptr %10, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.AST::EnumVariant", ptr %218, i32 0, i32 1
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %219)
          to label %220 unwind label %227

220:                                              ; preds = %217
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  invoke void @_ZN3AST11EnumVariantC2ENS_13AttributeListE8RcStringSt6vectorINS_10StructItemESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(64) %36, ptr noundef %37, ptr noundef %38, ptr noundef %39)
          to label %221 unwind label %231

221:                                              ; preds = %220
  invoke void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(64) %36)
          to label %222 unwind label %235

222:                                              ; preds = %221
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %36) #7
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #7
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %244

223:                                              ; preds = %214
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %11, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %12, align 4
  br label %241

227:                                              ; preds = %217
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %11, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %12, align 4
  br label %240

231:                                              ; preds = %220
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %11, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %12, align 4
  br label %239

235:                                              ; preds = %221
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %11, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %12, align 4
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %36) #7
  br label %239

239:                                              ; preds = %235, %231
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  br label %240

240:                                              ; preds = %239, %227
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  br label %241

241:                                              ; preds = %240, %223
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #7
  br label %242

242:                                              ; preds = %241, %213
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  br label %243

243:                                              ; preds = %242, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %247

244:                                              ; preds = %222, %155, %80, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %245

245:                                              ; preds = %244
  %246 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST11EnumVariantESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br label %50

247:                                              ; preds = %243, %176, %109, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %260

248:                                              ; preds = %52
  %249 = getelementptr inbounds %"class.AST::Enum", ptr %42, i32 0, i32 0
  invoke void @_ZNK3AST13GenericParams5cloneEv(ptr dead_on_unwind writable sret(%"class.AST::GenericParams") align 8 %40, ptr noundef nonnull align 8 dereferenceable(48) %249)
          to label %250 unwind label %252

250:                                              ; preds = %248
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  invoke void @_ZN3AST4EnumC2ENS_13GenericParamsESt6vectorINS_11EnumVariantESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef %40, ptr noundef %41)
          to label %251 unwind label %256

251:                                              ; preds = %250
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  call void @_ZN3AST13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #7
  store i32 1, ptr %9, align 4
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  ret void

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

256:                                              ; preds = %250
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %11, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %12, align 4
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  call void @_ZN3AST13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #7
  br label %260

260:                                              ; preds = %256, %252, %247
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  br label %261

261:                                              ; preds = %260
  %262 = load ptr, ptr %11, align 8
  %263 = load i32, ptr %12, align 4
  %264 = insertvalue { ptr, i32 } poison, ptr %262, 0
  %265 = insertvalue { ptr, i32 } %264, i32 %263, 1
  resume { ptr, i32 } %265
}

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

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

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

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

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

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

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

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

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

declare void @_ZNK3AST4Expr5cloneEv(ptr dead_on_unwind writable sret(%"class.AST::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST11EnumVariantC2ENS_13AttributeListE8RcStringONS_4ExprE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

%"class.AST::AttributeList" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::StructItem" = type { %"class.AST::AttributeList", %"class.AST::Visibility", %class.RcString, %class.TypeRef }
%"class.AST::Visibility" = type <{ %"class.std::shared_ptr", %"class.std::shared_ptr.114", i32, [4 x i8] }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.114" = type { %"class.std::__shared_ptr.115" }
%"class.std::__shared_ptr.115" = type { ptr, %"class.std::__shared_count" }
%class.RcString = type { ptr }
%class.TypeRef = type { %struct.Span, %class.TypeData }
%struct.Span = type { ptr }
%class.TypeData = type { i32, %"union.TypeData::DataUnion" }
%"union.TypeData::DataUnion" = type { %"struct.TypeData::Data_ErasedType", [32 x i8] }
%"struct.TypeData::Data_ErasedType" = type { %"class.std::vector.141", %"class.std::vector.141", %"class.std::vector.146" }
%"class.std::vector.141" = type { %"struct.std::_Vector_base.142" }
%"struct.std::_Vector_base.142" = type { %"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl" }
%"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.146" = type { %"struct.std::_Vector_base.147" }
%"struct.std::_Vector_base.147" = type { %"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::TupleItem" = type { %"class.AST::AttributeList", %"class.AST::Visibility", %class.TypeRef }
%"class.AST::GenericParams" = type { %"class.std::vector.151", %"class.std::vector.156" }
%"class.std::vector.151" = type { %"struct.std::_Vector_base.152" }
%"struct.std::_Vector_base.152" = type { %"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.156" = type { %"struct.std::_Vector_base.157" }
%"struct.std::_Vector_base.157" = type { %"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Enum" = type { %"class.AST::GenericParams", %"class.std::vector.245", %"struct.AST::Enum::Markings" }
%"class.std::vector.245" = type { %"struct.std::_Vector_base.246" }
%"struct.std::_Vector_base.246" = type { %"struct.std::_Vector_base<AST::EnumVariant, std::allocator<AST::EnumVariant>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::EnumVariant, std::allocator<AST::EnumVariant>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::EnumVariant, std::allocator<AST::EnumVariant>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::EnumVariant, std::allocator<AST::EnumVariant>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Enum::Markings" = type <{ i32, i8, [3 x i8] }>
%"class.__gnu_cxx::__normal_iterator.251" = type { ptr }
%"struct.AST::EnumVariant" = type { %"class.AST::AttributeList", %class.RcString, %"class.AST::EnumVariantData" }
%"class.AST::EnumVariantData" = type { i32, %"union.AST::EnumVariantData::DataUnion" }
%"union.AST::EnumVariantData::DataUnion" = type { %"struct.AST::EnumVariantData::Data_Tuple" }
%"struct.AST::EnumVariantData::Data_Tuple" = type { %"class.std::vector.235" }
%"class.std::vector.235" = type { %"struct.std::_Vector_base.236" }
%"struct.std::_Vector_base.236" = type { %"struct.std::_Vector_base<AST::TupleItem, std::allocator<AST::TupleItem>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::TupleItem, std::allocator<AST::TupleItem>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::TupleItem, std::allocator<AST::TupleItem>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::TupleItem, std::allocator<AST::TupleItem>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Expr" = type { %"class.std::shared_ptr.138" }
%"class.std::shared_ptr.138" = type { %"class.std::__shared_ptr.139" }
%"class.std::__shared_ptr.139" = type { ptr, %"class.std::__shared_count" }
%"class.__gnu_cxx::__normal_iterator.252" = type { ptr }
%"class.std::vector.240" = type { %"struct.std::_Vector_base.241" }
%"struct.std::_Vector_base.241" = type { %"struct.std::_Vector_base<AST::StructItem, std::allocator<AST::StructItem>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::StructItem, std::allocator<AST::StructItem>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::StructItem, std::allocator<AST::StructItem>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::StructItem, std::allocator<AST::StructItem>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.253" = type { ptr }

@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3AST4Enum5cloneEv = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST13AttributeList5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.AST::AttributeList") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST10StructItem5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.AST::StructItem") align 8, ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST9TupleItem5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.AST::TupleItem") align 8, ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST13GenericParams5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.AST::GenericParams") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3AST4Enum5cloneEv(ptr dead_on_unwind noalias writable sret(%"class.AST::Enum") align 8 %0, ptr noundef nonnull align 8 dereferenceable(80) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.245", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.251", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.251", align 8
  %6 = alloca %"struct.AST::EnumVariant", align 8
  %7 = alloca %"class.AST::AttributeList", align 8
  %8 = alloca %class.RcString, align 8
  %9 = alloca %"class.AST::Expr", align 8
  %10 = alloca %"class.std::vector.235", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.252", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.252", align 8
  %13 = alloca %"struct.AST::TupleItem", align 8
  %14 = alloca %"struct.AST::EnumVariant", align 8
  %15 = alloca %"class.AST::AttributeList", align 8
  %16 = alloca %class.RcString, align 8
  %17 = alloca %"class.std::vector.235", align 8
  %18 = alloca %"class.std::vector.240", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.253", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.253", align 8
  %21 = alloca %"struct.AST::StructItem", align 8
  %22 = alloca %"struct.AST::EnumVariant", align 8
  %23 = alloca %"class.AST::AttributeList", align 8
  %24 = alloca %class.RcString, align 8
  %25 = alloca %"class.std::vector.240", align 8
  %26 = alloca %"class.AST::GenericParams", align 8
  %27 = alloca %"class.std::vector.245", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %28 = getelementptr inbounds i8, ptr %1, i64 48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %29 = call ptr @_ZNKSt6vectorIN3AST11EnumVariantESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  store ptr %29, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %30 = call ptr @_ZNKSt6vectorIN3AST11EnumVariantESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  store ptr %30, ptr %5, align 8
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST11EnumVariantESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %31, label %.lr.ph60, label %._crit_edge61

._crit_edge61:                                    ; preds = %110, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  invoke void @_ZNK3AST13GenericParams5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.AST::GenericParams") align 8 %26, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %114 unwind label %115

.lr.ph60:                                         ; preds = %2, %110
  %32 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST11EnumVariantESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %33 = getelementptr inbounds i8, ptr %32, i64 32
  %34 = call noundef i32 @_ZNK3AST15EnumVariantData3tagEv(ptr noundef nonnull align 8 dereferenceable(32) %33)
  switch i32 %34, label %110 [
    i32 0, label %35
    i32 1, label %36
    i32 2, label %54
    i32 3, label %82
  ]

35:                                               ; preds = %.lr.ph60
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, i32 noundef 326, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3AST4Enum5cloneEv) #8
  unreachable

36:                                               ; preds = %.lr.ph60
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST15EnumVariantData8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(32) %33)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #7
  invoke void @_ZNK3AST13AttributeList5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.AST::AttributeList") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %38 unwind label %43

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %32, i64 24
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %39)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  invoke void @_ZNK3AST4Expr5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.AST::Expr") align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %40 unwind label %45

40:                                               ; preds = %38
  invoke void @_ZN3AST11EnumVariantC2ENS_13AttributeListE8RcStringONS_4ExprE(ptr noundef nonnull align 8 dereferenceable(64) %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %41 unwind label %47

41:                                               ; preds = %40
  invoke void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(64) %6)
          to label %42 unwind label %49

42:                                               ; preds = %41
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %6) #7
  call void @_ZN3AST4ExprD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #7
  br label %110

43:                                               ; preds = %36
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %53

45:                                               ; preds = %38
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %52

47:                                               ; preds = %40
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %51

49:                                               ; preds = %41
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %6) #7
  br label %51

51:                                               ; preds = %49, %47
  %.pn50 = phi { ptr, i32 } [ %50, %49 ], [ %48, %47 ]
  call void @_ZN3AST4ExprD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  br label %52

52:                                               ; preds = %51, %45
  %.pn50.pn = phi { ptr, i32 } [ %.pn50, %51 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %53

53:                                               ; preds = %52, %43
  %.pn50.pn.pn = phi { ptr, i32 } [ %.pn50.pn, %52 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #7
  br label %113

54:                                               ; preds = %.lr.ph60
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST15EnumVariantData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(32) %33)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %56 = call ptr @_ZNKSt6vectorIN3AST9TupleItemESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  store ptr %56, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %57 = call ptr @_ZNKSt6vectorIN3AST9TupleItemESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #7
  store ptr %57, ptr %12, align 8
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST9TupleItemESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %58, label %.lr.ph57, label %._crit_edge58

._crit_edge58:                                    ; preds = %61, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #7
  invoke void @_ZNK3AST13AttributeList5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.AST::AttributeList") align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %69 unwind label %73

.lr.ph57:                                         ; preds = %54, %61
  %59 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST9TupleItemESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.start.p0(i64 184, ptr nonnull %13) #7
  invoke void @_ZNK3AST9TupleItem5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.AST::TupleItem") align 8 %13, ptr noundef nonnull align 8 dereferenceable(184) %59)
          to label %60 unwind label %64

60:                                               ; preds = %.lr.ph57
  invoke void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(184) %13)
          to label %61 unwind label %66

61:                                               ; preds = %60
  call void @_ZN3AST9TupleItemD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %13) #7
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %13) #7
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST9TupleItemESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %63 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST9TupleItemESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %63, label %.lr.ph57, label %._crit_edge58

64:                                               ; preds = %.lr.ph57
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %60
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST9TupleItemD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %13) #7
  br label %68

68:                                               ; preds = %66, %64
  %.pn47 = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %81

69:                                               ; preds = %._crit_edge58
  %70 = getelementptr inbounds i8, ptr %32, i64 24
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %70)
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  invoke void @_ZN3AST11EnumVariantC2ENS_13AttributeListE8RcStringSt6vectorINS_9TupleItemESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(64) %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17)
          to label %71 unwind label %75

71:                                               ; preds = %69
  invoke void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(64) %14)
          to label %72 unwind label %77

72:                                               ; preds = %71
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #7
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #7
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %110

73:                                               ; preds = %._crit_edge58
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %80

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

77:                                               ; preds = %71
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #7
  br label %79

79:                                               ; preds = %77, %75
  %.pn44 = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %80

80:                                               ; preds = %79, %73
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %79 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #7
  br label %81

81:                                               ; preds = %80, %68
  %.pn47.pn = phi { ptr, i32 } [ %.pn47, %68 ], [ %.pn44.pn, %80 ]
  call void @_ZNSt6vectorIN3AST9TupleItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %113

82:                                               ; preds = %.lr.ph60
  %83 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST15EnumVariantData9as_StructEv(ptr noundef nonnull align 8 dereferenceable(32) %33)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %84 = call ptr @_ZNKSt6vectorIN3AST10StructItemESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #7
  store ptr %84, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %85 = call ptr @_ZNKSt6vectorIN3AST10StructItemESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #7
  store ptr %85, ptr %20, align 8
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST10StructItemESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %86, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %89, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #7
  invoke void @_ZNK3AST13AttributeList5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.AST::AttributeList") align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %97 unwind label %101

.lr.ph:                                           ; preds = %82, %89
  %87 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST10StructItemESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %21) #7
  invoke void @_ZNK3AST10StructItem5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.AST::StructItem") align 8 %21, ptr noundef nonnull align 8 dereferenceable(192) %87)
          to label %88 unwind label %92

88:                                               ; preds = %.lr.ph
  invoke void @_ZNSt6vectorIN3AST10StructItemESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(192) %21)
          to label %89 unwind label %94

89:                                               ; preds = %88
  call void @_ZN3AST10StructItemD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %21) #7
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %21) #7
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST10StructItemESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %91 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST10StructItemESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %91, label %.lr.ph, label %._crit_edge

92:                                               ; preds = %.lr.ph
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %96

94:                                               ; preds = %88
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST10StructItemD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %21) #7
  br label %96

96:                                               ; preds = %94, %92
  %.pn41 = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %109

97:                                               ; preds = %._crit_edge
  %98 = getelementptr inbounds i8, ptr %32, i64 24
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %98)
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  invoke void @_ZN3AST11EnumVariantC2ENS_13AttributeListE8RcStringSt6vectorINS_10StructItemESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(64) %22, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %25)
          to label %99 unwind label %103

99:                                               ; preds = %97
  invoke void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(64) %22)
          to label %100 unwind label %105

100:                                              ; preds = %99
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #7
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #7
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %110

101:                                              ; preds = %._crit_edge
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %108

103:                                              ; preds = %97
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %99
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST11EnumVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #7
  br label %107

107:                                              ; preds = %105, %103
  %.pn = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  br label %108

108:                                              ; preds = %107, %101
  %.pn.pn = phi { ptr, i32 } [ %.pn, %107 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #7
  br label %109

109:                                              ; preds = %108, %96
  %.pn41.pn = phi { ptr, i32 } [ %.pn41, %96 ], [ %.pn.pn, %108 ]
  call void @_ZNSt6vectorIN3AST10StructItemESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %113

110:                                              ; preds = %100, %72, %42, %.lr.ph60
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST11EnumVariantESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %112 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST11EnumVariantESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %112, label %.lr.ph60, label %._crit_edge61

113:                                              ; preds = %109, %81, %53
  %.pn41.pn.pn = phi { ptr, i32 } [ %.pn41.pn, %109 ], [ %.pn47.pn, %81 ], [ %.pn50.pn.pn, %53 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %117

114:                                              ; preds = %._crit_edge61
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @_ZN3AST4EnumC2ENS_13GenericParamsESt6vectorINS_11EnumVariantESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull %26, ptr noundef nonnull %27)
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  call void @_ZN3AST13GenericParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  ret void

115:                                              ; preds = %._crit_edge61
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %117

117:                                              ; preds = %115, %113
  %.pn41.pn.pn.pn = phi { ptr, i32 } [ %.pn41.pn.pn, %113 ], [ %116, %115 ]
  call void @_ZNSt6vectorIN3AST11EnumVariantESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn41.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

declare void @_ZNK3AST4Expr5cloneEv(ptr dead_on_unwind writable sret(%"class.AST::Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST11EnumVariantC2ENS_13AttributeListE8RcStringONS_4ExprE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass