; LLVM IR from ASDAlexander77/TypeScriptCompiler :: tsc/tsc-new-parser (node_factory)

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

%struct.ptr = type { %"class.std::shared_ptr" }
%"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 }
%struct.ptr.792 = type { %"class.std::shared_ptr.793" }
%"class.std::shared_ptr.793" = type { %"class.std::__shared_ptr.794" }
%"class.std::__shared_ptr.794" = type { ptr, %"class.std::__shared_count" }
%struct.ptr.17 = type { %"class.std::shared_ptr.18" }
%"class.std::shared_ptr.18" = type { %"class.std::__shared_ptr.19" }
%"class.std::__shared_ptr.19" = type { ptr, %"class.std::__shared_count" }
%"struct.ts::data::ImportOrExportSpecifier" = type <{ %"struct.ts::data::NamedDeclaration", %struct.ptr.760, %struct.ptr, %struct.ptr, i8, [7 x i8] }>
%"struct.ts::data::NamedDeclaration" = type { %"struct.ts::data::Declaration", %struct.ptr.17 }
%"struct.ts::data::Declaration" = type { %"struct.ts::data::DeclarationStatement", %struct.ptr.58, %struct.ptr.58 }
%"struct.ts::data::DeclarationStatement" = type { %"struct.ts::data::Statement" }
%"struct.ts::data::Statement" = type { %"struct.ts::data::PrimaryExpression" }
%"struct.ts::data::PrimaryExpression" = type { %"struct.ts::data::MemberExpression" }
%"struct.ts::data::MemberExpression" = type { %"struct.ts::data::LeftHandSideExpression" }
%"struct.ts::data::LeftHandSideExpression" = type { %"struct.ts::data::UpdateExpression" }
%"struct.ts::data::UpdateExpression" = type { %"struct.ts::data::UnaryExpression" }
%"struct.ts::data::UnaryExpression" = type { %"struct.ts::data::ExpressionWithTypeArguments" }
%"struct.ts::data::ExpressionWithTypeArguments" = type { %"struct.ts::data::NodeWithTypeArguments", %struct.ptr.54 }
%"struct.ts::data::NodeWithTypeArguments" = type { %"struct.ts::data::Expression", %"struct.ts::data::NodeArray.46" }
%"struct.ts::data::Expression" = type { %"struct.ts::data::TypeNode" }
%"struct.ts::data::TypeNode" = type { %"struct.ts::data::JSDocContainer" }
%"struct.ts::data::JSDocContainer" = type { %"struct.ts::data::Node.base", [3 x i8], %"struct.ts::data::NodeArray.30", %"struct.ts::data::NodeArray.38" }
%"struct.ts::data::Node.base" = type <{ ptr, %"struct.ts::data::TextRange", i32, i32, i32, i32, [4 x i8], %"struct.ts::data::NodeArray", i32, [4 x i8], %struct.ptr.17, %struct.ptr.17, i32, i8 }>
%"struct.ts::data::TextRange" = type { %"struct.ts::pos_type", i32 }
%"struct.ts::pos_type" = type { i32, i32 }
%"struct.ts::data::NodeArray" = type <{ %"struct.ts::data::ReadonlyArray", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray" = type { %"class.std::vector.21" }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<ptr<ts::data::Node>, std::allocator<ptr<ts::data::Node>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::Node>, std::allocator<ptr<ts::data::Node>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::Node>, std::allocator<ptr<ts::data::Node>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::Node>, std::allocator<ptr<ts::data::Node>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ts::data::NodeArray.30" = type <{ %"struct.ts::data::ReadonlyArray.31", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray.31" = type { %"class.std::vector.32" }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<ptr<ts::data::JSDoc>, std::allocator<ptr<ts::data::JSDoc>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::JSDoc>, std::allocator<ptr<ts::data::JSDoc>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::JSDoc>, std::allocator<ptr<ts::data::JSDoc>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::JSDoc>, std::allocator<ptr<ts::data::JSDoc>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ts::data::NodeArray.38" = type <{ %"struct.ts::data::ReadonlyArray.39", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray.39" = type { %"class.std::vector.40" }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<ptr<ts::data::JSDocTag>, std::allocator<ptr<ts::data::JSDocTag>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::JSDocTag>, std::allocator<ptr<ts::data::JSDocTag>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::JSDocTag>, std::allocator<ptr<ts::data::JSDocTag>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::JSDocTag>, std::allocator<ptr<ts::data::JSDocTag>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ts::data::NodeArray.46" = type <{ %"struct.ts::data::ReadonlyArray.47", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray.47" = type { %"class.std::vector.48" }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<ptr<ts::data::TypeNode>, std::allocator<ptr<ts::data::TypeNode>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::TypeNode>, std::allocator<ptr<ts::data::TypeNode>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::TypeNode>, std::allocator<ptr<ts::data::TypeNode>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::TypeNode>, std::allocator<ptr<ts::data::TypeNode>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ptr.54 = type { %"class.std::shared_ptr.55" }
%"class.std::shared_ptr.55" = type { %"class.std::__shared_ptr.56" }
%"class.std::__shared_ptr.56" = type { ptr, %"class.std::__shared_count" }
%struct.ptr.58 = type { %"class.std::shared_ptr.59" }
%"class.std::shared_ptr.59" = type { %"class.std::__shared_ptr.60" }
%"class.std::__shared_ptr.60" = type { ptr, %"class.std::__shared_count" }
%struct.ptr.760 = type { %"class.std::shared_ptr.761" }
%"class.std::shared_ptr.761" = type { %"class.std::__shared_ptr.762" }
%"class.std::__shared_ptr.762" = type { ptr, %"class.std::__shared_count" }
%"struct.ts::data::Node" = type <{ ptr, %"struct.ts::data::TextRange", i32, i32, i32, i32, [4 x i8], %"struct.ts::data::NodeArray", i32, [4 x i8], %struct.ptr.17, %struct.ptr.17, i32, i8, [3 x i8] }>

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2tscoENS_14TransformFlagsE(i32 noundef) #2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2ts11NodeFactory6asNameE3ptrINS_4data10IdentifierEE(ptr dead_on_unwind noalias writable sret(%struct.ptr) align 8, ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsaNERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory21createExportSpecifierEb3ptrINS_4data10IdentifierEES4_(ptr dead_on_unwind noalias writable sret(%struct.ptr.792) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, i1 noundef zeroext %2, ptr noundef %3, ptr noundef %4) #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i1, align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.ptr, align 8
  %15 = alloca %struct.ptr, align 8
  %16 = alloca %struct.ptr, align 8
  %17 = alloca %struct.ptr, align 8
  %18 = alloca %struct.ptr.17, align 8
  %19 = alloca %struct.ptr, align 8
  %20 = alloca %struct.ptr.17, align 8
  %21 = alloca %struct.ptr, align 8
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  %22 = zext i1 %2 to i8
  store i8 %22, ptr %8, align 1, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %23 = load ptr, ptr %7, align 8
  store i1 false, ptr %11, align 1
  call void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data15ExportSpecifierEES4_EEDa10SyntaxKind(ptr dead_on_unwind writable sret(%struct.ptr.792) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %23, i32 noundef 281)
  %24 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %25 = trunc i8 %24 to i1
  %26 = invoke noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %27 unwind label %67

27:                                               ; preds = %5
  %28 = getelementptr inbounds %"struct.ts::data::ImportOrExportSpecifier", ptr %26, i32 0, i32 4
  %29 = zext i1 %25 to i8
  store i8 %29, ptr %28, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %3) #4
  invoke void @_ZN2ts11NodeFactory6asNameE3ptrINS_4data10IdentifierEE(ptr dead_on_unwind writable sret(%struct.ptr) align 8 %14, ptr noundef nonnull align 8 dereferenceable(232) %23, ptr noundef %15)
          to label %30 unwind label %71

30:                                               ; preds = %27
  %31 = invoke noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %32 unwind label %75

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"struct.ts::data::ImportOrExportSpecifier", ptr %31, i32 0, i32 2
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3ptrIN2ts4data10IdentifierEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %14) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  invoke void @_ZN2ts11NodeFactory6asNameE3ptrINS_4data10IdentifierEE(ptr dead_on_unwind writable sret(%struct.ptr) align 8 %16, ptr noundef nonnull align 8 dereferenceable(232) %23, ptr noundef %17)
          to label %35 unwind label %80

35:                                               ; preds = %32
  %36 = invoke noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %37 unwind label %84

37:                                               ; preds = %35
  %38 = getelementptr inbounds %"struct.ts::data::ImportOrExportSpecifier", ptr %36, i32 0, i32 3
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3ptrIN2ts4data10IdentifierEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  %40 = invoke noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %41 unwind label %67

41:                                               ; preds = %37
  %42 = getelementptr inbounds %"struct.ts::data::ImportOrExportSpecifier", ptr %40, i32 0, i32 2
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %42) #4
  invoke void @_ZN3ptrIN2ts4data4NodeEEC2INS1_10IdentifierEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %19)
          to label %43 unwind label %89

43:                                               ; preds = %41
  %44 = invoke noundef i32 @_ZN2ts11NodeFactory19propagateChildFlagsE3ptrINS_4data4NodeEE(ptr noundef nonnull align 8 dereferenceable(232) %23, ptr noundef %18)
          to label %45 unwind label %93

45:                                               ; preds = %43
  %46 = invoke noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %47 unwind label %93

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"struct.ts::data::ImportOrExportSpecifier", ptr %46, i32 0, i32 3
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %48) #4
  invoke void @_ZN3ptrIN2ts4data4NodeEEC2INS1_10IdentifierEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %21)
          to label %49 unwind label %97

49:                                               ; preds = %47
  %50 = invoke noundef i32 @_ZN2ts11NodeFactory19propagateChildFlagsE3ptrINS_4data4NodeEE(ptr noundef nonnull align 8 dereferenceable(232) %23, ptr noundef %20)
          to label %51 unwind label %101

51:                                               ; preds = %49
  %52 = invoke noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef %44, i32 noundef %50)
          to label %53 unwind label %101

53:                                               ; preds = %51
  %54 = invoke noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %55 unwind label %101

55:                                               ; preds = %53
  %56 = getelementptr inbounds %"struct.ts::data::Node", ptr %54, i32 0, i32 5
  %57 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %56, i32 noundef %52)
          to label %58 unwind label %101

58:                                               ; preds = %55
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #4
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #4
  %59 = invoke noundef i32 @_ZN2tscoENS_14TransformFlagsE(i32 noundef 67108864)
          to label %60 unwind label %67

60:                                               ; preds = %58
  %61 = invoke noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %62 unwind label %67

62:                                               ; preds = %60
  %63 = getelementptr inbounds %"struct.ts::data::Node", ptr %61, i32 0, i32 5
  %64 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsaNERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %63, i32 noundef %59)
          to label %65 unwind label %67

65:                                               ; preds = %62
  store i1 true, ptr %11, align 1
  %66 = load i1, ptr %11, align 1
  br i1 %66, label %109, label %108

67:                                               ; preds = %62, %60, %58, %37, %5
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %12, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %13, align 4
  br label %110

71:                                               ; preds = %27
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %12, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %13, align 4
  br label %79

75:                                               ; preds = %30
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %12, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %13, align 4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #4
  br label %79

79:                                               ; preds = %75, %71
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  br label %110

80:                                               ; preds = %32
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %12, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %13, align 4
  br label %88

84:                                               ; preds = %35
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %12, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %13, align 4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  br label %88

88:                                               ; preds = %84, %80
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  br label %110

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

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

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

101:                                              ; preds = %55, %53, %51, %49
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %12, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %13, align 4
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  br label %105

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

106:                                              ; preds = %105, %93
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #4
  br label %107

107:                                              ; preds = %106, %89
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #4
  br label %110

108:                                              ; preds = %65
  call void @_ZN3ptrIN2ts4data15ExportSpecifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  br label %109

109:                                              ; preds = %108, %65
  ret void

110:                                              ; preds = %107, %88, %79, %67
  call void @_ZN3ptrIN2ts4data15ExportSpecifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  br label %111

111:                                              ; preds = %110
  %112 = load ptr, ptr %12, align 8
  %113 = load i32, ptr %13, align 4
  %114 = insertvalue { ptr, i32 } poison, ptr %112, 0
  %115 = insertvalue { ptr, i32 } %114, i32 %113, 1
  resume { ptr, i32 } %115
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data15ExportSpecifierEES4_EEDa10SyntaxKind(ptr dead_on_unwind noalias writable sret(%struct.ptr.792) align 8, ptr noundef nonnull align 8 dereferenceable(232), i32 noundef) #1 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !10, i64 392}
!14 = !{!"_ZTSN2ts4data23ImportOrExportSpecifierE", !15, i64 0, !72, i64 344, !75, i64 360, !75, i64 376, !10, i64 392}
!15 = !{!"_ZTSN2ts4data16NamedDeclarationE", !16, i64 0, !43, i64 328}
!16 = !{!"_ZTSN2ts4data11DeclarationE", !17, i64 0, !69, i64 296, !69, i64 312}
!17 = !{!"_ZTSN2ts4data20DeclarationStatementE", !18, i64 0}
!18 = !{!"_ZTSN2ts4data9StatementE", !19, i64 0}
!19 = !{!"_ZTSN2ts4data17PrimaryExpressionE", !20, i64 0}
!20 = !{!"_ZTSN2ts4data16MemberExpressionE", !21, i64 0}
!21 = !{!"_ZTSN2ts4data22LeftHandSideExpressionE", !22, i64 0}
!22 = !{!"_ZTSN2ts4data16UpdateExpressionE", !23, i64 0}
!23 = !{!"_ZTSN2ts4data15UnaryExpressionE", !24, i64 0}
!24 = !{!"_ZTSN2ts4data27ExpressionWithTypeArgumentsE", !25, i64 0, !66, i64 280}
!25 = !{!"_ZTSN2ts4data21NodeWithTypeArgumentsE", !26, i64 0, !60, i64 232}
!26 = !{!"_ZTSN2ts4data10ExpressionE", !27, i64 0}
!27 = !{!"_ZTSN2ts4data8TypeNodeE", !28, i64 0}
!28 = !{!"_ZTSN2ts4data14JSDocContainerE", !29, i64 0, !48, i64 136, !54, i64 184}
!29 = !{!"_ZTSN2ts4data4NodeE", !30, i64 8, !33, i64 20, !34, i64 24, !35, i64 28, !36, i64 32, !37, i64 40, !32, i64 88, !43, i64 96, !43, i64 112, !47, i64 128, !10, i64 132}
!30 = !{!"_ZTSN2ts4data9TextRangeE", !31, i64 0, !32, i64 8}
!31 = !{!"_ZTSN2ts8pos_typeE", !32, i64 0, !32, i64 4}
!32 = !{!"int", !7, i64 0}
!33 = !{!"_ZTS10SyntaxKind", !7, i64 0}
!34 = !{!"_ZTSN2ts9NodeFlagsE", !7, i64 0}
!35 = !{!"_ZTSN2ts13ModifierFlagsE", !7, i64 0}
!36 = !{!"_ZTSN2ts14TransformFlagsE", !7, i64 0}
!37 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_4NodeEEEE", !38, i64 0, !30, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !36, i64 40}
!38 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_4NodeEEEE", !39, i64 0}
!39 = !{!"_ZTSSt6vectorI3ptrIN2ts4data4NodeEESaIS4_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTS3ptrIN2ts4data4NodeEE", !44, i64 0}
!44 = !{!"_ZTSSt10shared_ptrIN2ts4data4NodeEE", !45, i64 0}
!45 = !{!"_ZTSSt12__shared_ptrIN2ts4data4NodeELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !46, i64 8}
!46 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!47 = !{!"_ZTSN2ts13InternalFlagsE", !7, i64 0}
!48 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_5JSDocEEEE", !49, i64 0, !30, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !36, i64 40}
!49 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_5JSDocEEEE", !50, i64 0}
!50 = !{!"_ZTSSt6vectorI3ptrIN2ts4data5JSDocEESaIS4_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8JSDocTagEEEE", !55, i64 0, !30, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !36, i64 40}
!55 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_8JSDocTagEEEE", !56, i64 0}
!56 = !{!"_ZTSSt6vectorI3ptrIN2ts4data8JSDocTagEESaIS4_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!60 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEE", !61, i64 0, !30, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !36, i64 40}
!61 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_8TypeNodeEEEE", !62, i64 0}
!62 = !{!"_ZTSSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EE", !63, i64 0}
!63 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE12_Vector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!66 = !{!"_ZTS3ptrIN2ts4data22LeftHandSideExpressionEE", !67, i64 0}
!67 = !{!"_ZTSSt10shared_ptrIN2ts4data22LeftHandSideExpressionEE", !68, i64 0}
!68 = !{!"_ZTSSt12__shared_ptrIN2ts4data22LeftHandSideExpressionELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !46, i64 8}
!69 = !{!"_ZTS3ptrIN2ts4data6SymbolEE", !70, i64 0}
!70 = !{!"_ZTSSt10shared_ptrIN2ts4data6SymbolEE", !71, i64 0}
!71 = !{!"_ZTSSt12__shared_ptrIN2ts4data6SymbolELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !46, i64 8}
!72 = !{!"_ZTS3ptrIN2ts4data12NamedImportsEE", !73, i64 0}
!73 = !{!"_ZTSSt10shared_ptrIN2ts4data12NamedImportsEE", !74, i64 0}
!74 = !{!"_ZTSSt12__shared_ptrIN2ts4data12NamedImportsELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !46, i64 8}
!75 = !{!"_ZTS3ptrIN2ts4data10IdentifierEE", !76, i64 0}
!76 = !{!"_ZTSSt10shared_ptrIN2ts4data10IdentifierEE", !77, i64 0}
!77 = !{!"_ZTSSt12__shared_ptrIN2ts4data10IdentifierELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !46, i64 8}


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

%struct.ptr = type { %"class.std::shared_ptr" }
%"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 }
%struct.ptr.792 = type { %"class.std::shared_ptr.793" }
%"class.std::shared_ptr.793" = type { %"class.std::__shared_ptr.794" }
%"class.std::__shared_ptr.794" = type { ptr, %"class.std::__shared_count" }
%struct.ptr.17 = type { %"class.std::shared_ptr.18" }
%"class.std::shared_ptr.18" = type { %"class.std::__shared_ptr.19" }
%"class.std::__shared_ptr.19" = type { ptr, %"class.std::__shared_count" }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2tscoENS_14TransformFlagsE(i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2ts11NodeFactory6asNameE3ptrINS_4data10IdentifierEE(ptr dead_on_unwind noalias writable sret(%struct.ptr) align 8, ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsaNERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory21createExportSpecifierEb3ptrINS_4data10IdentifierEES4_(ptr dead_on_unwind noalias writable sret(%struct.ptr.792) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, i1 noundef zeroext %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %struct.ptr, align 8
  %7 = alloca %struct.ptr, align 8
  %8 = alloca %struct.ptr, align 8
  %9 = alloca %struct.ptr, align 8
  %10 = alloca %struct.ptr.17, align 8
  %11 = alloca %struct.ptr, align 8
  %12 = alloca %struct.ptr.17, align 8
  %13 = alloca %struct.ptr, align 8
  %14 = zext i1 %2 to i8
  tail call void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data15ExportSpecifierEES4_EEDa10SyntaxKind(ptr dead_on_unwind writable sret(%struct.ptr.792) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, i32 noundef 281)
  %15 = tail call noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %16 = getelementptr inbounds i8, ptr %15, i64 392
  store i8 %14, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %3) #4
  call void @_ZN2ts11NodeFactory6asNameE3ptrINS_4data10IdentifierEE(ptr dead_on_unwind nonnull writable sret(%struct.ptr) align 8 %6, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %7)
  %17 = call noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %18 = getelementptr inbounds i8, ptr %17, i64 360
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3ptrIN2ts4data10IdentifierEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  call void @_ZN2ts11NodeFactory6asNameE3ptrINS_4data10IdentifierEE(ptr dead_on_unwind nonnull writable sret(%struct.ptr) align 8 %8, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %9)
  %20 = call noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %21 = getelementptr inbounds i8, ptr %20, i64 376
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3ptrIN2ts4data10IdentifierEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  %23 = call noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %24 = getelementptr inbounds i8, ptr %23, i64 360
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %24) #4
  call void @_ZN3ptrIN2ts4data4NodeEEC2INS1_10IdentifierEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull %11)
  %25 = invoke noundef i32 @_ZN2ts11NodeFactory19propagateChildFlagsE3ptrINS_4data4NodeEE(ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %10)
          to label %26 unwind label %39

26:                                               ; preds = %5
  %27 = call noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %28 = getelementptr inbounds i8, ptr %27, i64 376
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %28) #4
  call void @_ZN3ptrIN2ts4data4NodeEEC2INS1_10IdentifierEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull %13)
  %29 = invoke noundef i32 @_ZN2ts11NodeFactory19propagateChildFlagsE3ptrINS_4data4NodeEE(ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %12)
          to label %30 unwind label %41

30:                                               ; preds = %26
  %31 = call noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef %25, i32 noundef %29)
  %32 = call noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %33 = getelementptr inbounds i8, ptr %32, i64 32
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %33, i32 noundef %31)
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #4
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  %35 = call noundef i32 @_ZN2tscoENS_14TransformFlagsE(i32 noundef 67108864)
  %36 = call noundef ptr @_ZN3ptrIN2ts4data15ExportSpecifierEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %37 = getelementptr inbounds i8, ptr %36, i64 32
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsaNERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %37, i32 noundef %35)
  ret void

39:                                               ; preds = %5
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %43

41:                                               ; preds = %26
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #4
  br label %43

43:                                               ; preds = %41, %39
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #4
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  call void @_ZN3ptrIN2ts4data15ExportSpecifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data15ExportSpecifierEES4_EEDa10SyntaxKind(ptr dead_on_unwind noalias writable sret(%struct.ptr.792) align 8, ptr noundef nonnull align 8 dereferenceable(232), i32 noundef) local_unnamed_addr #1 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !38, i64 392}
!6 = !{!"_ZTSN2ts4data23ImportOrExportSpecifierE", !7, i64 0, !68, i64 344, !71, i64 360, !71, i64 376, !38, i64 392}
!7 = !{!"_ZTSN2ts4data16NamedDeclarationE", !8, i64 0, !39, i64 328}
!8 = !{!"_ZTSN2ts4data11DeclarationE", !9, i64 0, !65, i64 296, !65, i64 312}
!9 = !{!"_ZTSN2ts4data20DeclarationStatementE", !10, i64 0}
!10 = !{!"_ZTSN2ts4data9StatementE", !11, i64 0}
!11 = !{!"_ZTSN2ts4data17PrimaryExpressionE", !12, i64 0}
!12 = !{!"_ZTSN2ts4data16MemberExpressionE", !13, i64 0}
!13 = !{!"_ZTSN2ts4data22LeftHandSideExpressionE", !14, i64 0}
!14 = !{!"_ZTSN2ts4data16UpdateExpressionE", !15, i64 0}
!15 = !{!"_ZTSN2ts4data15UnaryExpressionE", !16, i64 0}
!16 = !{!"_ZTSN2ts4data27ExpressionWithTypeArgumentsE", !17, i64 0, !62, i64 280}
!17 = !{!"_ZTSN2ts4data21NodeWithTypeArgumentsE", !18, i64 0, !56, i64 232}
!18 = !{!"_ZTSN2ts4data10ExpressionE", !19, i64 0}
!19 = !{!"_ZTSN2ts4data8TypeNodeE", !20, i64 0}
!20 = !{!"_ZTSN2ts4data14JSDocContainerE", !21, i64 0, !44, i64 136, !50, i64 184}
!21 = !{!"_ZTSN2ts4data4NodeE", !22, i64 8, !27, i64 20, !28, i64 24, !29, i64 28, !30, i64 32, !31, i64 40, !24, i64 88, !39, i64 96, !39, i64 112, !43, i64 128, !38, i64 132}
!22 = !{!"_ZTSN2ts4data9TextRangeE", !23, i64 0, !24, i64 8}
!23 = !{!"_ZTSN2ts8pos_typeE", !24, i64 0, !24, i64 4}
!24 = !{!"int", !25, i64 0}
!25 = !{!"omnipotent char", !26, i64 0}
!26 = !{!"Simple C++ TBAA"}
!27 = !{!"_ZTS10SyntaxKind", !25, i64 0}
!28 = !{!"_ZTSN2ts9NodeFlagsE", !25, i64 0}
!29 = !{!"_ZTSN2ts13ModifierFlagsE", !25, i64 0}
!30 = !{!"_ZTSN2ts14TransformFlagsE", !25, i64 0}
!31 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_4NodeEEEE", !32, i64 0, !22, i64 24, !38, i64 36, !38, i64 37, !38, i64 38, !30, i64 40}
!32 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_4NodeEEEE", !33, i64 0}
!33 = !{!"_ZTSSt6vectorI3ptrIN2ts4data4NodeEESaIS4_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE17_Vector_impl_dataE", !37, i64 0, !37, i64 8, !37, i64 16}
!37 = !{!"any pointer", !25, i64 0}
!38 = !{!"bool", !25, i64 0}
!39 = !{!"_ZTS3ptrIN2ts4data4NodeEE", !40, i64 0}
!40 = !{!"_ZTSSt10shared_ptrIN2ts4data4NodeEE", !41, i64 0}
!41 = !{!"_ZTSSt12__shared_ptrIN2ts4data4NodeELN9__gnu_cxx12_Lock_policyE2EE", !37, i64 0, !42, i64 8}
!42 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !37, i64 0}
!43 = !{!"_ZTSN2ts13InternalFlagsE", !25, i64 0}
!44 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_5JSDocEEEE", !45, i64 0, !22, i64 24, !38, i64 36, !38, i64 37, !38, i64 38, !30, i64 40}
!45 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_5JSDocEEEE", !46, i64 0}
!46 = !{!"_ZTSSt6vectorI3ptrIN2ts4data5JSDocEESaIS4_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE17_Vector_impl_dataE", !37, i64 0, !37, i64 8, !37, i64 16}
!50 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8JSDocTagEEEE", !51, i64 0, !22, i64 24, !38, i64 36, !38, i64 37, !38, i64 38, !30, i64 40}
!51 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_8JSDocTagEEEE", !52, i64 0}
!52 = !{!"_ZTSSt6vectorI3ptrIN2ts4data8JSDocTagEESaIS4_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE17_Vector_impl_dataE", !37, i64 0, !37, i64 8, !37, i64 16}
!56 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEE", !57, i64 0, !22, i64 24, !38, i64 36, !38, i64 37, !38, i64 38, !30, i64 40}
!57 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_8TypeNodeEEEE", !58, i64 0}
!58 = !{!"_ZTSSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE17_Vector_impl_dataE", !37, i64 0, !37, i64 8, !37, i64 16}
!62 = !{!"_ZTS3ptrIN2ts4data22LeftHandSideExpressionEE", !63, i64 0}
!63 = !{!"_ZTSSt10shared_ptrIN2ts4data22LeftHandSideExpressionEE", !64, i64 0}
!64 = !{!"_ZTSSt12__shared_ptrIN2ts4data22LeftHandSideExpressionELN9__gnu_cxx12_Lock_policyE2EE", !37, i64 0, !42, i64 8}
!65 = !{!"_ZTS3ptrIN2ts4data6SymbolEE", !66, i64 0}
!66 = !{!"_ZTSSt10shared_ptrIN2ts4data6SymbolEE", !67, i64 0}
!67 = !{!"_ZTSSt12__shared_ptrIN2ts4data6SymbolELN9__gnu_cxx12_Lock_policyE2EE", !37, i64 0, !42, i64 8}
!68 = !{!"_ZTS3ptrIN2ts4data12NamedImportsEE", !69, i64 0}
!69 = !{!"_ZTSSt10shared_ptrIN2ts4data12NamedImportsEE", !70, i64 0}
!70 = !{!"_ZTSSt12__shared_ptrIN2ts4data12NamedImportsELN9__gnu_cxx12_Lock_policyE2EE", !37, i64 0, !42, i64 8}
!71 = !{!"_ZTS3ptrIN2ts4data10IdentifierEE", !72, i64 0}
!72 = !{!"_ZTSSt10shared_ptrIN2ts4data10IdentifierEE", !73, i64 0}
!73 = !{!"_ZTSSt12__shared_ptrIN2ts4data10IdentifierELN9__gnu_cxx12_Lock_policyE2EE", !37, i64 0, !42, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass