; 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.undefined_t = type { i8 }
%struct.ptr.363 = type { %"class.std::shared_ptr.364" }
%"class.std::shared_ptr.364" = type { %"class.std::__shared_ptr.365" }
%"class.std::__shared_ptr.365" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%struct.ptr.130 = type { %"class.std::shared_ptr.131" }
%"class.std::shared_ptr.131" = type { %"class.std::__shared_ptr.132" }
%"class.std::__shared_ptr.132" = type { ptr, %"class.std::__shared_count" }
%"struct.ts::data::NodeArray.367" = type <{ %"struct.ts::data::ReadonlyArray.368", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray.368" = type { %"class.std::vector.369" }
%"class.std::vector.369" = type { %"struct.std::_Vector_base.370" }
%"struct.std::_Vector_base.370" = type { %"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ts::data::TextRange" = type { %"struct.ts::pos_type", i32 }
%"struct.ts::pos_type" = type { i32, i32 }
%"class.ts::NodeFactory" = type { ptr, %"class.ts::Scanner", %"struct.ts::ParenthesizerRules", i32, %"class.std::function.15" }
%"class.ts::Scanner" = type { i32, i32, i8, i32, %"struct.ts::safe_string", i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", i32, %"class.std::vector.10", i32, i32, %"class.std::function" }
%"struct.ts::safe_string" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<wchar_t>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<wchar_t>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<ptr<ts::data::CommentDirective>, std::allocator<ptr<ts::data::CommentDirective>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::CommentDirective>, std::allocator<ptr<ts::data::CommentDirective>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::CommentDirective>, std::allocator<ptr<ts::data::CommentDirective>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::CommentDirective>, std::allocator<ptr<ts::data::CommentDirective>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"struct.ts::ParenthesizerRules" = type { ptr }
%"class.std::function.15" = type { %"class.std::_Function_base", ptr }
%"struct.ts::data::ArrayLiteralExpression" = type <{ %"struct.ts::data::PrimaryExpression", %"struct.ts::data::NodeArray.367", i8, [7 x i8] }>
%"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::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.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::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.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] }>

@_ZL9undefined = external hidden global %struct.undefined_t, align 1

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

declare i32 @__gxx_personality_v0(...)

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

; 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) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory28createArrayLiteralExpressionENS_4data9NodeArrayI3ptrINS1_10ExpressionEEEEb(ptr dead_on_unwind noalias writable sret(%struct.ptr.363) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef %2, i1 noundef zeroext %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i1, align 1
  %10 = alloca %struct.ptr.130, align 8
  %11 = alloca %"struct.ts::data::NodeArray.367", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"struct.ts::data::NodeArray.367", align 8
  %15 = alloca %"struct.ts::data::NodeArray.367", align 8
  %16 = alloca %"struct.ts::data::NodeArray.367", align 8
  %17 = alloca %"struct.ts::data::NodeArray.367", align 8
  %18 = alloca %"struct.ts::data::NodeArray.367", align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %19 = zext i1 %3 to i8
  store i8 %19, ptr %8, align 1, !tbaa !9
  %20 = load ptr, ptr %6, align 8
  store i1 false, ptr %9, align 1
  call void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data22ArrayLiteralExpressionEES4_EEDa10SyntaxKind(ptr dead_on_unwind writable sret(%struct.ptr.363) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %20, i32 noundef 209)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %11, ptr noundef nonnull align 8 dereferenceable(44) %2)
          to label %21 unwind label %64

21:                                               ; preds = %4
  invoke void @_ZN2ts15lastOrUndefinedINS_4data9NodeArrayI3ptrINS1_10ExpressionEEEEEENSt16remove_referenceIDTixfp_Li0EEE4typeET_(ptr dead_on_unwind writable sret(%struct.ptr.130) align 8 %10, ptr noundef %11)
          to label %22 unwind label %68

22:                                               ; preds = %21
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #6
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %15, ptr noundef nonnull align 8 dereferenceable(44) %2)
          to label %23 unwind label %72

23:                                               ; preds = %22
  %24 = invoke noundef zeroext i1 @_ZN3ptrIN2ts4data10ExpressionEEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %25 unwind label %76

25:                                               ; preds = %23
  br i1 %24, label %26, label %31

26:                                               ; preds = %25
  %27 = invoke noundef i32 @_ZN3ptrIN2ts4data10ExpressionEEcv10SyntaxKindEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %28 unwind label %76

28:                                               ; preds = %26
  %29 = invoke noundef zeroext i1 @_ZN2ts19isOmittedExpressionE10SyntaxKind(i32 noundef %27)
          to label %30 unwind label %76

30:                                               ; preds = %28
  br label %31

31:                                               ; preds = %30, %25
  %32 = phi i1 [ false, %25 ], [ %29, %30 ]
  %33 = zext i1 %32 to i64
  %34 = invoke noundef i32 @_ZN11undefined_tcviEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZL9undefined)
          to label %35 unwind label %76

35:                                               ; preds = %31
  %36 = icmp ne i32 %34, 0
  %37 = select i1 %32, i1 true, i1 %36
  invoke void @_ZN2ts11NodeFactory15createNodeArrayI3ptrINS_4data10ExpressionEEEENS3_9NodeArrayIT_EES8_b(ptr dead_on_unwind writable sret(%"struct.ts::data::NodeArray.367") align 8 %14, ptr noundef nonnull align 8 dereferenceable(232) %20, ptr noundef %15, i1 noundef zeroext %37)
          to label %38 unwind label %76

38:                                               ; preds = %35
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %15) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #6
  %39 = getelementptr inbounds %"class.ts::NodeFactory", ptr %20, i32 0, i32 2
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %17, ptr noundef nonnull align 8 dereferenceable(44) %14)
          to label %40 unwind label %80

40:                                               ; preds = %38
  invoke void @_ZN2ts18ParenthesizerRules43parenthesizeExpressionsOfCommaDelimitedListENS_4data9NodeArrayI3ptrINS1_10ExpressionEEEE(ptr dead_on_unwind writable sret(%"struct.ts::data::NodeArray.367") align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef %17)
          to label %41 unwind label %84

41:                                               ; preds = %40
  %42 = invoke noundef ptr @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %43 unwind label %88

43:                                               ; preds = %41
  %44 = getelementptr inbounds %"struct.ts::data::ArrayLiteralExpression", ptr %42, i32 0, i32 1
  %45 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEaSEOS5_(ptr noundef nonnull align 8 dereferenceable(44) %44, ptr noundef nonnull align 8 dereferenceable(44) %16) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %16) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  %46 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %47 = trunc i8 %46 to i1
  %48 = invoke noundef ptr @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %49 unwind label %94

49:                                               ; preds = %43
  %50 = getelementptr inbounds %"struct.ts::data::ArrayLiteralExpression", ptr %48, i32 0, i32 2
  %51 = zext i1 %47 to i8
  store i8 %51, ptr %50, align 8, !tbaa !13
  %52 = invoke noundef ptr @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %53 unwind label %94

53:                                               ; preds = %49
  %54 = getelementptr inbounds %"struct.ts::data::ArrayLiteralExpression", ptr %52, i32 0, i32 1
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %18, ptr noundef nonnull align 8 dereferenceable(44) %54)
          to label %55 unwind label %94

55:                                               ; preds = %53
  %56 = invoke noundef i32 @_ZN2ts11NodeFactory22propagateChildrenFlagsI3ptrINS_4data10ExpressionEEEENS_14TransformFlagsENS3_9NodeArrayIT_EE(ptr noundef nonnull align 8 dereferenceable(232) %20, ptr noundef %18)
          to label %57 unwind label %98

57:                                               ; preds = %55
  %58 = invoke noundef ptr @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %59 unwind label %98

59:                                               ; preds = %57
  %60 = getelementptr inbounds %"struct.ts::data::Node", ptr %58, i32 0, i32 5
  %61 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %60, i32 noundef %56)
          to label %62 unwind label %98

62:                                               ; preds = %59
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %18) #6
  store i1 true, ptr %9, align 1
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #6
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  %63 = load i1, ptr %9, align 1
  br i1 %63, label %106, label %105

64:                                               ; preds = %4
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %12, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %13, align 4
  br label %104

68:                                               ; preds = %21
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %12, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %13, align 4
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #6
  br label %104

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

76:                                               ; preds = %35, %31, %28, %26, %23
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %12, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %13, align 4
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %15) #6
  br label %103

80:                                               ; preds = %38
  %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 %93

84:                                               ; preds = %40
  %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
  br label %92

88:                                               ; preds = %41
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %12, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %13, align 4
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %16) #6
  br label %92

92:                                               ; preds = %88, %84
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %17) #6
  br label %93

93:                                               ; preds = %92, %80
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  br label %102

94:                                               ; preds = %53, %49, %43
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %12, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %13, align 4
  br label %102

98:                                               ; preds = %59, %57, %55
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %12, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %13, align 4
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %18) #6
  br label %102

102:                                              ; preds = %98, %94, %93
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %14) #6
  br label %103

103:                                              ; preds = %102, %76, %72
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #6
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  br label %104

104:                                              ; preds = %103, %68, %64
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  br label %107

105:                                              ; preds = %62
  call void @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  br label %106

106:                                              ; preds = %105, %62
  ret void

107:                                              ; preds = %104
  %108 = load ptr, ptr %12, align 8
  %109 = load i32, ptr %13, align 4
  %110 = insertvalue { ptr, i32 } poison, ptr %108, 0
  %111 = insertvalue { ptr, i32 } %110, i32 %109, 1
  resume { ptr, i32 } %111
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts15lastOrUndefinedINS_4data9NodeArrayI3ptrINS1_10ExpressionEEEEEENSt16remove_referenceIDTixfp_Li0EEE4typeET_(ptr dead_on_unwind noalias writable sret(%struct.ptr.130) align 8, ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts11NodeFactory15createNodeArrayI3ptrINS_4data10ExpressionEEEENS3_9NodeArrayIT_EES8_b(ptr dead_on_unwind noalias writable sret(%"struct.ts::data::NodeArray.367") align 8, ptr noundef nonnull align 8 dereferenceable(232), ptr noundef, i1 noundef zeroext) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2ts19isOmittedExpressionE10SyntaxKind(i32 noundef) #1

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

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

declare void @_ZN2ts18ParenthesizerRules43parenthesizeExpressionsOfCommaDelimitedListENS_4data9NodeArrayI3ptrINS1_10ExpressionEEEE(ptr dead_on_unwind writable sret(%"struct.ts::data::NodeArray.367") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 344}
!14 = !{!"_ZTSN2ts4data22ArrayLiteralExpressionE", !15, i64 0, !65, i64 296, !10, i64 344}
!15 = !{!"_ZTSN2ts4data17PrimaryExpressionE", !16, i64 0}
!16 = !{!"_ZTSN2ts4data16MemberExpressionE", !17, i64 0}
!17 = !{!"_ZTSN2ts4data22LeftHandSideExpressionE", !18, i64 0}
!18 = !{!"_ZTSN2ts4data16UpdateExpressionE", !19, i64 0}
!19 = !{!"_ZTSN2ts4data15UnaryExpressionE", !20, i64 0}
!20 = !{!"_ZTSN2ts4data27ExpressionWithTypeArgumentsE", !21, i64 0, !62, i64 280}
!21 = !{!"_ZTSN2ts4data21NodeWithTypeArgumentsE", !22, i64 0, !56, i64 232}
!22 = !{!"_ZTSN2ts4data10ExpressionE", !23, i64 0}
!23 = !{!"_ZTSN2ts4data8TypeNodeE", !24, i64 0}
!24 = !{!"_ZTSN2ts4data14JSDocContainerE", !25, i64 0, !44, i64 136, !50, i64 184}
!25 = !{!"_ZTSN2ts4data4NodeE", !26, i64 8, !29, i64 20, !30, i64 24, !31, i64 28, !32, i64 32, !33, i64 40, !28, i64 88, !39, i64 96, !39, i64 112, !43, i64 128, !10, i64 132}
!26 = !{!"_ZTSN2ts4data9TextRangeE", !27, i64 0, !28, i64 8}
!27 = !{!"_ZTSN2ts8pos_typeE", !28, i64 0, !28, i64 4}
!28 = !{!"int", !7, i64 0}
!29 = !{!"_ZTS10SyntaxKind", !7, i64 0}
!30 = !{!"_ZTSN2ts9NodeFlagsE", !7, i64 0}
!31 = !{!"_ZTSN2ts13ModifierFlagsE", !7, i64 0}
!32 = !{!"_ZTSN2ts14TransformFlagsE", !7, i64 0}
!33 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_4NodeEEEE", !34, i64 0, !26, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !32, i64 40}
!34 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_4NodeEEEE", !35, i64 0}
!35 = !{!"_ZTSSt6vectorI3ptrIN2ts4data4NodeEESaIS4_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTS3ptrIN2ts4data4NodeEE", !40, i64 0}
!40 = !{!"_ZTSSt10shared_ptrIN2ts4data4NodeEE", !41, i64 0}
!41 = !{!"_ZTSSt12__shared_ptrIN2ts4data4NodeELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !42, i64 8}
!42 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!43 = !{!"_ZTSN2ts13InternalFlagsE", !7, i64 0}
!44 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_5JSDocEEEE", !45, i64 0, !26, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !32, 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", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8JSDocTagEEEE", !51, i64 0, !26, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !32, 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", !6, i64 0, !6, i64 8, !6, i64 16}
!56 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEE", !57, i64 0, !26, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !32, 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", !6, i64 0, !6, i64 8, !6, i64 16}
!62 = !{!"_ZTS3ptrIN2ts4data22LeftHandSideExpressionEE", !63, i64 0}
!63 = !{!"_ZTSSt10shared_ptrIN2ts4data22LeftHandSideExpressionEE", !64, i64 0}
!64 = !{!"_ZTSSt12__shared_ptrIN2ts4data22LeftHandSideExpressionELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !42, i64 8}
!65 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEE", !66, i64 0, !26, i64 24, !10, i64 36, !10, i64 37, !10, i64 38, !32, i64 40}
!66 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_10ExpressionEEEE", !67, i64 0}
!67 = !{!"_ZTSSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data10ExpressionEESaIS4_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data10ExpressionEESaIS4_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data10ExpressionEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}


; 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.undefined_t = type { i8 }
%struct.ptr.363 = type { %"class.std::shared_ptr.364" }
%"class.std::shared_ptr.364" = type { %"class.std::__shared_ptr.365" }
%"class.std::__shared_ptr.365" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%struct.ptr.130 = type { %"class.std::shared_ptr.131" }
%"class.std::shared_ptr.131" = type { %"class.std::__shared_ptr.132" }
%"class.std::__shared_ptr.132" = type { ptr, %"class.std::__shared_count" }
%"struct.ts::data::NodeArray.367" = type <{ %"struct.ts::data::ReadonlyArray.368", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray.368" = type { %"class.std::vector.369" }
%"class.std::vector.369" = type { %"struct.std::_Vector_base.370" }
%"struct.std::_Vector_base.370" = type { %"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ts::data::TextRange" = type { %"struct.ts::pos_type", i32 }
%"struct.ts::pos_type" = type { i32, i32 }

@_ZL9undefined = external hidden global %struct.undefined_t, align 1

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

declare i32 @__gxx_personality_v0(...)

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

; 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 #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory28createArrayLiteralExpressionENS_4data9NodeArrayI3ptrINS1_10ExpressionEEEEb(ptr dead_on_unwind noalias writable sret(%struct.ptr.363) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.ptr.130, align 8
  %6 = alloca %"struct.ts::data::NodeArray.367", align 8
  %7 = alloca %"struct.ts::data::NodeArray.367", align 8
  %8 = alloca %"struct.ts::data::NodeArray.367", align 8
  %9 = alloca %"struct.ts::data::NodeArray.367", align 8
  %10 = alloca %"struct.ts::data::NodeArray.367", align 8
  %11 = alloca %"struct.ts::data::NodeArray.367", align 8
  %12 = zext i1 %3 to i8
  tail call void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data22ArrayLiteralExpressionEES4_EEDa10SyntaxKind(ptr dead_on_unwind writable sret(%struct.ptr.363) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, i32 noundef 209)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %6, ptr noundef nonnull align 8 dereferenceable(44) %2)
          to label %13 unwind label %42

13:                                               ; preds = %4
  invoke void @_ZN2ts15lastOrUndefinedINS_4data9NodeArrayI3ptrINS1_10ExpressionEEEEEENSt16remove_referenceIDTixfp_Li0EEE4typeET_(ptr dead_on_unwind nonnull writable sret(%struct.ptr.130) align 8 %5, ptr noundef nonnull %6)
          to label %14 unwind label %44

14:                                               ; preds = %13
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %6) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %8, ptr noundef nonnull align 8 dereferenceable(44) %2)
          to label %15 unwind label %46

15:                                               ; preds = %14
  %16 = call noundef zeroext i1 @_ZN3ptrIN2ts4data10ExpressionEEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  br i1 %16, label %17, label %20

17:                                               ; preds = %15
  %18 = call noundef i32 @_ZN3ptrIN2ts4data10ExpressionEEcv10SyntaxKindEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  %19 = call noundef zeroext i1 @_ZN2ts19isOmittedExpressionE10SyntaxKind(i32 noundef %18)
  br label %20

20:                                               ; preds = %17, %15
  %21 = phi i1 [ false, %15 ], [ %19, %17 ]
  %22 = call noundef i32 @_ZN11undefined_tcviEv(ptr noundef nonnull align 1 dereferenceable(1) @_ZL9undefined)
  %23 = icmp ne i32 %22, 0
  %24 = or i1 %21, %23
  invoke void @_ZN2ts11NodeFactory15createNodeArrayI3ptrINS_4data10ExpressionEEEENS3_9NodeArrayIT_EES8_b(ptr dead_on_unwind nonnull writable sret(%"struct.ts::data::NodeArray.367") align 8 %7, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %8, i1 noundef zeroext %24)
          to label %25 unwind label %48

25:                                               ; preds = %20
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %8) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #6
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %10, ptr noundef nonnull align 8 dereferenceable(44) %7)
          to label %26 unwind label %50

26:                                               ; preds = %25
  %27 = getelementptr inbounds i8, ptr %1, i64 184
  invoke void @_ZN2ts18ParenthesizerRules43parenthesizeExpressionsOfCommaDelimitedListENS_4data9NodeArrayI3ptrINS1_10ExpressionEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.ts::data::NodeArray.367") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull %10)
          to label %28 unwind label %52

28:                                               ; preds = %26
  %29 = call noundef ptr @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %30 = getelementptr inbounds i8, ptr %29, i64 296
  %31 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEaSEOS5_(ptr noundef nonnull align 8 dereferenceable(44) %30, ptr noundef nonnull align 8 dereferenceable(44) %9) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %9) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  %32 = call noundef ptr @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %33 = getelementptr inbounds i8, ptr %32, i64 344
  store i8 %12, ptr %33, align 8, !tbaa !5
  %34 = call noundef ptr @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %35 = getelementptr inbounds i8, ptr %34, i64 296
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %11, ptr noundef nonnull align 8 dereferenceable(44) %35)
          to label %36 unwind label %55

36:                                               ; preds = %28
  %37 = invoke noundef i32 @_ZN2ts11NodeFactory22propagateChildrenFlagsI3ptrINS_4data10ExpressionEEEENS_14TransformFlagsENS3_9NodeArrayIT_EE(ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %11)
          to label %38 unwind label %57

38:                                               ; preds = %36
  %39 = call noundef ptr @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %40 = getelementptr inbounds i8, ptr %39, i64 32
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %40, i32 noundef %37)
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  ret void

42:                                               ; preds = %4
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %61

44:                                               ; preds = %13
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %6) #6
  br label %61

46:                                               ; preds = %14
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %60

48:                                               ; preds = %20
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %8) #6
  br label %60

50:                                               ; preds = %25
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %26
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %10) #6
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  br label %59

55:                                               ; preds = %28
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %36
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #6
  br label %59

59:                                               ; preds = %57, %55, %54
  %.pn9 = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ], [ %.pn, %54 ]
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %7) #6
  br label %60

60:                                               ; preds = %59, %48, %46
  %.pn9.pn = phi { ptr, i32 } [ %.pn9, %59 ], [ %49, %48 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %61

61:                                               ; preds = %60, %44, %42
  %.pn9.pn.pn = phi { ptr, i32 } [ %.pn9.pn, %60 ], [ %45, %44 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN3ptrIN2ts4data22ArrayLiteralExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  resume { ptr, i32 } %.pn9.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts15lastOrUndefinedINS_4data9NodeArrayI3ptrINS1_10ExpressionEEEEEENSt16remove_referenceIDTixfp_Li0EEE4typeET_(ptr dead_on_unwind noalias writable sret(%struct.ptr.130) align 8, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts11NodeFactory15createNodeArrayI3ptrINS_4data10ExpressionEEEENS3_9NodeArrayIT_EES8_b(ptr dead_on_unwind noalias writable sret(%"struct.ts::data::NodeArray.367") align 8, ptr noundef nonnull align 8 dereferenceable(232), ptr noundef, i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2ts19isOmittedExpressionE10SyntaxKind(i32 noundef) local_unnamed_addr #1

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

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

declare void @_ZN2ts18ParenthesizerRules43parenthesizeExpressionsOfCommaDelimitedListENS_4data9NodeArrayI3ptrINS1_10ExpressionEEEE(ptr dead_on_unwind writable sret(%"struct.ts::data::NodeArray.367") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

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

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

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

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

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

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


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