; 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.419 = type { %"class.std::shared_ptr.420" }
%"class.std::shared_ptr.420" = type { %"class.std::__shared_ptr.421" }
%"class.std::__shared_ptr.421" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%struct.ptr.455 = type { %"class.std::shared_ptr.456" }
%"class.std::shared_ptr.456" = type { %"class.std::__shared_ptr.457" }
%"class.std::__shared_ptr.457" = type { ptr, %"class.std::__shared_count" }
%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.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.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" }
%"struct.ts::data::PrefixUnaryExpression" = type { %"struct.ts::data::UpdateExpression", i32, %struct.ptr.130 }
%"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" }
%"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::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: mustprogress nounwind uwtable
declare dso_local void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

declare void @_ZN2ts18ParenthesizerRules32parenthesizeOperandOfPrefixUnaryE3ptrINS_4data10ExpressionEE(ptr dead_on_unwind writable sret(%struct.ptr.419) align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory27createPrefixUnaryExpressionE10SyntaxKind3ptrINS_4data10ExpressionEE(ptr dead_on_unwind noalias writable sret(%struct.ptr.455) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, i32 noundef %2, ptr noundef %3) #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i1, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %struct.ptr.130, align 8
  %13 = alloca %struct.ptr.419, align 8
  %14 = alloca %struct.ptr.130, align 8
  %15 = alloca %struct.ptr.17, align 8
  %16 = alloca %struct.ptr.130, align 8
  %17 = alloca %struct.ptr.17, align 8
  %18 = alloca %struct.ptr.130, align 8
  %19 = alloca i1, align 1
  %20 = alloca i1, align 1
  %21 = alloca %struct.ptr, align 8
  %22 = alloca %struct.ptr.130, align 8
  %23 = alloca i1, align 1
  %24 = alloca i1, align 1
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8
  store i1 false, ptr %9, align 1
  call void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data21PrefixUnaryExpressionEES4_EEDa10SyntaxKind(ptr dead_on_unwind writable sret(%struct.ptr.455) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %25, i32 noundef 224)
  %26 = load i32, ptr %7, align 4, !tbaa !9
  %27 = invoke noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %28 unwind label %96

28:                                               ; preds = %4
  %29 = getelementptr inbounds %"struct.ts::data::PrefixUnaryExpression", ptr %27, i32 0, i32 1
  store i32 %26, ptr %29, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %30 = getelementptr inbounds %"class.ts::NodeFactory", ptr %25, i32 0, i32 2
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  invoke void @_ZN2ts18ParenthesizerRules32parenthesizeOperandOfPrefixUnaryE3ptrINS_4data10ExpressionEE(ptr dead_on_unwind writable sret(%struct.ptr.419) align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef %14)
          to label %31 unwind label %100

31:                                               ; preds = %28
  invoke void @_ZN3ptrIN2ts4data10ExpressionEEC2INS1_15UnaryExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef %13)
          to label %32 unwind label %104

32:                                               ; preds = %31
  %33 = invoke noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %34 unwind label %108

34:                                               ; preds = %32
  %35 = getelementptr inbounds %"struct.ts::data::PrefixUnaryExpression", ptr %33, i32 0, i32 2
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3ptrIN2ts4data10ExpressionEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  call void @_ZN3ptrIN2ts4data15UnaryExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  %37 = invoke noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %38 unwind label %96

38:                                               ; preds = %34
  %39 = getelementptr inbounds %"struct.ts::data::PrefixUnaryExpression", ptr %37, i32 0, i32 2
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %39) #5
  invoke void @_ZN3ptrIN2ts4data4NodeEEC2INS1_10ExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %16)
          to label %40 unwind label %114

40:                                               ; preds = %38
  %41 = invoke noundef i32 @_ZN2ts11NodeFactory19propagateChildFlagsE3ptrINS_4data4NodeEE(ptr noundef nonnull align 8 dereferenceable(232) %25, ptr noundef %15)
          to label %42 unwind label %118

42:                                               ; preds = %40
  %43 = invoke noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %44 unwind label %118

44:                                               ; preds = %42
  %45 = getelementptr inbounds %"struct.ts::data::Node", ptr %43, i32 0, i32 5
  %46 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %45, i32 noundef %41)
          to label %47 unwind label %118

47:                                               ; preds = %44
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = icmp eq i32 %48, 46
  store i1 false, ptr %19, align 1
  store i1 false, ptr %20, align 1
  store i1 false, ptr %23, align 1
  store i1 false, ptr %24, align 1
  br i1 %49, label %53, label %50

50:                                               ; preds = %47
  %51 = load i32, ptr %7, align 4, !tbaa !9
  %52 = icmp eq i32 %51, 47
  br i1 %52, label %53, label %76

53:                                               ; preds = %50, %47
  %54 = invoke noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %55 unwind label %96

55:                                               ; preds = %53
  %56 = getelementptr inbounds %"struct.ts::data::PrefixUnaryExpression", ptr %54, i32 0, i32 2
  %57 = invoke noundef i32 @_ZN3ptrIN2ts4data10ExpressionEEcv10SyntaxKindEv(ptr noundef nonnull align 8 dereferenceable(16) %56)
          to label %58 unwind label %96

58:                                               ; preds = %55
  %59 = invoke noundef zeroext i1 @_ZN2ts12isIdentifierE10SyntaxKind(i32 noundef %57)
          to label %60 unwind label %96

60:                                               ; preds = %58
  br i1 %59, label %61, label %76

61:                                               ; preds = %60
  %62 = invoke noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %63 unwind label %96

63:                                               ; preds = %61
  %64 = getelementptr inbounds %"struct.ts::data::PrefixUnaryExpression", ptr %62, i32 0, i32 2
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %64) #5
  store i1 true, ptr %19, align 1
  invoke void @_ZN3ptrIN2ts4data4NodeEEC2INS1_10ExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %18)
          to label %65 unwind label %123

65:                                               ; preds = %63
  store i1 true, ptr %20, align 1
  %66 = invoke noundef zeroext i1 @_ZN2tsL21isGeneratedIdentifierE3ptrINS_4data4NodeEE(ptr noundef %17)
          to label %67 unwind label %127

67:                                               ; preds = %65
  br i1 %66, label %76, label %68

68:                                               ; preds = %67
  %69 = invoke noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %70 unwind label %127

70:                                               ; preds = %68
  %71 = getelementptr inbounds %"struct.ts::data::PrefixUnaryExpression", ptr %69, i32 0, i32 2
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %71) #5
  store i1 true, ptr %23, align 1
  invoke void @_ZN3ptrIN2ts4data10IdentifierEEC2INS1_10ExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef %22)
          to label %72 unwind label %131

72:                                               ; preds = %70
  store i1 true, ptr %24, align 1
  %73 = invoke noundef zeroext i1 @_ZN2tsL11isLocalNameE3ptrINS_4data10IdentifierEE(ptr noundef %21)
          to label %74 unwind label %135

74:                                               ; preds = %72
  %75 = xor i1 %73, true
  br label %76

76:                                               ; preds = %74, %67, %60, %50
  %77 = phi i1 [ false, %67 ], [ false, %60 ], [ false, %50 ], [ %75, %74 ]
  %78 = load i1, ptr %24, align 1
  br i1 %78, label %79, label %80

79:                                               ; preds = %76
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #5
  br label %80

80:                                               ; preds = %79, %76
  %81 = load i1, ptr %23, align 1
  br i1 %81, label %82, label %83

82:                                               ; preds = %80
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #5
  br label %83

83:                                               ; preds = %82, %80
  %84 = load i1, ptr %20, align 1
  br i1 %84, label %85, label %86

85:                                               ; preds = %83
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #5
  br label %86

86:                                               ; preds = %85, %83
  %87 = load i1, ptr %19, align 1
  br i1 %87, label %88, label %89

88:                                               ; preds = %86
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  br label %89

89:                                               ; preds = %88, %86
  br i1 %77, label %90, label %154

90:                                               ; preds = %89
  %91 = invoke noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %92 unwind label %96

92:                                               ; preds = %90
  %93 = getelementptr inbounds %"struct.ts::data::Node", ptr %91, i32 0, i32 5
  %94 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %93, i32 noundef 268435456)
          to label %95 unwind label %96

95:                                               ; preds = %92
  br label %154

96:                                               ; preds = %92, %90, %61, %58, %55, %53, %34, %4
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %10, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %11, align 4
  br label %158

100:                                              ; preds = %28
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %10, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %11, align 4
  br label %113

104:                                              ; preds = %31
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %10, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %11, align 4
  br label %112

108:                                              ; preds = %32
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %10, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %11, align 4
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  br label %112

112:                                              ; preds = %108, %104
  call void @_ZN3ptrIN2ts4data15UnaryExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  br label %113

113:                                              ; preds = %112, %100
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %158

114:                                              ; preds = %38
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %10, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %11, align 4
  br label %122

118:                                              ; preds = %44, %42, %40
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %10, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %11, align 4
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  br label %122

122:                                              ; preds = %118, %114
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  br label %158

123:                                              ; preds = %63
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %10, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %11, align 4
  br label %150

127:                                              ; preds = %68, %65
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %10, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %11, align 4
  br label %146

131:                                              ; preds = %70
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %10, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %11, align 4
  br label %142

135:                                              ; preds = %72
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %10, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %11, align 4
  %139 = load i1, ptr %24, align 1
  br i1 %139, label %140, label %141

140:                                              ; preds = %135
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #5
  br label %141

141:                                              ; preds = %140, %135
  br label %142

142:                                              ; preds = %141, %131
  %143 = load i1, ptr %23, align 1
  br i1 %143, label %144, label %145

144:                                              ; preds = %142
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #5
  br label %145

145:                                              ; preds = %144, %142
  br label %146

146:                                              ; preds = %145, %127
  %147 = load i1, ptr %20, align 1
  br i1 %147, label %148, label %149

148:                                              ; preds = %146
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #5
  br label %149

149:                                              ; preds = %148, %146
  br label %150

150:                                              ; preds = %149, %123
  %151 = load i1, ptr %19, align 1
  br i1 %151, label %152, label %153

152:                                              ; preds = %150
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  br label %153

153:                                              ; preds = %152, %150
  br label %158

154:                                              ; preds = %95, %89
  store i1 true, ptr %9, align 1
  %155 = load i1, ptr %9, align 1
  br i1 %155, label %157, label %156

156:                                              ; preds = %154
  call void @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  br label %157

157:                                              ; preds = %156, %154
  ret void

158:                                              ; preds = %153, %122, %113, %96
  call void @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  br label %159

159:                                              ; preds = %158
  %160 = load ptr, ptr %10, align 8
  %161 = load i32, ptr %11, align 4
  %162 = insertvalue { ptr, i32 } poison, ptr %160, 0
  %163 = insertvalue { ptr, i32 } %162, i32 %161, 1
  resume { ptr, i32 } %163
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data21PrefixUnaryExpressionEES4_EEDa10SyntaxKind(ptr dead_on_unwind noalias writable sret(%struct.ptr.455) 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 @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN2tsL21isGeneratedIdentifierE3ptrINS_4data4NodeEE(ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN2tsL11isLocalNameE3ptrINS_4data10IdentifierEE(ptr noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 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 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!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 = !{!"_ZTS10SyntaxKind", !7, i64 0}
!11 = !{!12, !10, i64 296}
!12 = !{!"_ZTSN2ts4data21PrefixUnaryExpressionE", !13, i64 0, !10, i64 296, !60, i64 304}
!13 = !{!"_ZTSN2ts4data16UpdateExpressionE", !14, i64 0}
!14 = !{!"_ZTSN2ts4data15UnaryExpressionE", !15, i64 0}
!15 = !{!"_ZTSN2ts4data27ExpressionWithTypeArgumentsE", !16, i64 0, !57, i64 280}
!16 = !{!"_ZTSN2ts4data21NodeWithTypeArgumentsE", !17, i64 0, !51, i64 232}
!17 = !{!"_ZTSN2ts4data10ExpressionE", !18, i64 0}
!18 = !{!"_ZTSN2ts4data8TypeNodeE", !19, i64 0}
!19 = !{!"_ZTSN2ts4data14JSDocContainerE", !20, i64 0, !39, i64 136, !45, i64 184}
!20 = !{!"_ZTSN2ts4data4NodeE", !21, i64 8, !10, i64 20, !24, i64 24, !25, i64 28, !26, i64 32, !27, i64 40, !23, i64 88, !34, i64 96, !34, i64 112, !38, i64 128, !33, i64 132}
!21 = !{!"_ZTSN2ts4data9TextRangeE", !22, i64 0, !23, i64 8}
!22 = !{!"_ZTSN2ts8pos_typeE", !23, i64 0, !23, i64 4}
!23 = !{!"int", !7, i64 0}
!24 = !{!"_ZTSN2ts9NodeFlagsE", !7, i64 0}
!25 = !{!"_ZTSN2ts13ModifierFlagsE", !7, i64 0}
!26 = !{!"_ZTSN2ts14TransformFlagsE", !7, i64 0}
!27 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_4NodeEEEE", !28, i64 0, !21, i64 24, !33, i64 36, !33, i64 37, !33, 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", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"bool", !7, i64 0}
!34 = !{!"_ZTS3ptrIN2ts4data4NodeEE", !35, i64 0}
!35 = !{!"_ZTSSt10shared_ptrIN2ts4data4NodeEE", !36, i64 0}
!36 = !{!"_ZTSSt12__shared_ptrIN2ts4data4NodeELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !37, i64 8}
!37 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!38 = !{!"_ZTSN2ts13InternalFlagsE", !7, i64 0}
!39 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_5JSDocEEEE", !40, i64 0, !21, i64 24, !33, i64 36, !33, i64 37, !33, i64 38, !26, i64 40}
!40 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_5JSDocEEEE", !41, i64 0}
!41 = !{!"_ZTSSt6vectorI3ptrIN2ts4data5JSDocEESaIS4_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8JSDocTagEEEE", !46, i64 0, !21, i64 24, !33, i64 36, !33, i64 37, !33, i64 38, !26, i64 40}
!46 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_8JSDocTagEEEE", !47, i64 0}
!47 = !{!"_ZTSSt6vectorI3ptrIN2ts4data8JSDocTagEESaIS4_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEE", !52, i64 0, !21, i64 24, !33, i64 36, !33, i64 37, !33, i64 38, !26, i64 40}
!52 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_8TypeNodeEEEE", !53, i64 0}
!53 = !{!"_ZTSSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!"_ZTS3ptrIN2ts4data22LeftHandSideExpressionEE", !58, i64 0}
!58 = !{!"_ZTSSt10shared_ptrIN2ts4data22LeftHandSideExpressionEE", !59, i64 0}
!59 = !{!"_ZTSSt12__shared_ptrIN2ts4data22LeftHandSideExpressionELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !37, i64 8}
!60 = !{!"_ZTS3ptrIN2ts4data10ExpressionEE", !61, i64 0}
!61 = !{!"_ZTSSt10shared_ptrIN2ts4data10ExpressionEE", !62, i64 0}
!62 = !{!"_ZTSSt12__shared_ptrIN2ts4data10ExpressionELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !37, 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.419 = type { %"class.std::shared_ptr.420" }
%"class.std::shared_ptr.420" = type { %"class.std::__shared_ptr.421" }
%"class.std::__shared_ptr.421" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%struct.ptr.455 = type { %"class.std::shared_ptr.456" }
%"class.std::shared_ptr.456" = type { %"class.std::__shared_ptr.457" }
%"class.std::__shared_ptr.457" = type { ptr, %"class.std::__shared_count" }
%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.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.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" }

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

declare void @_ZN2ts18ParenthesizerRules32parenthesizeOperandOfPrefixUnaryE3ptrINS_4data10ExpressionEE(ptr dead_on_unwind writable sret(%struct.ptr.419) align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory27createPrefixUnaryExpressionE10SyntaxKind3ptrINS_4data10ExpressionEE(ptr dead_on_unwind noalias writable sret(%struct.ptr.455) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.ptr.130, align 8
  %6 = alloca %struct.ptr.419, align 8
  %7 = alloca %struct.ptr.130, align 8
  %8 = alloca %struct.ptr.17, align 8
  %9 = alloca %struct.ptr.130, align 8
  %10 = alloca %struct.ptr.17, align 8
  %11 = alloca %struct.ptr.130, align 8
  %12 = alloca %struct.ptr, align 8
  %13 = alloca %struct.ptr.130, align 8
  tail call void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data21PrefixUnaryExpressionEES4_EEDa10SyntaxKind(ptr dead_on_unwind writable sret(%struct.ptr.455) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, i32 noundef 224)
  %14 = tail call noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %15 = getelementptr inbounds i8, ptr %14, i64 296
  store i32 %2, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  %16 = getelementptr inbounds i8, ptr %1, i64 184
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  invoke void @_ZN2ts18ParenthesizerRules32parenthesizeOperandOfPrefixUnaryE3ptrINS_4data10ExpressionEE(ptr dead_on_unwind nonnull writable sret(%struct.ptr.419) align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull %7)
          to label %17 unwind label %45

17:                                               ; preds = %4
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2INS1_15UnaryExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %6)
  %18 = call noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %19 = getelementptr inbounds i8, ptr %18, i64 304
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3ptrIN2ts4data10ExpressionEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @_ZN3ptrIN2ts4data15UnaryExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  %21 = call noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %22 = getelementptr inbounds i8, ptr %21, i64 304
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %22) #5
  call void @_ZN3ptrIN2ts4data4NodeEEC2INS1_10ExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %9)
  %23 = invoke noundef i32 @_ZN2ts11NodeFactory19propagateChildFlagsE3ptrINS_4data4NodeEE(ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %8)
          to label %24 unwind label %47

24:                                               ; preds = %17
  %25 = call noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %26 = getelementptr inbounds i8, ptr %25, i64 32
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %26, i32 noundef %23)
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  %28 = and i32 %2, -2
  %or.cond = icmp eq i32 %28, 46
  br i1 %or.cond, label %29, label %.critedge18.thread

29:                                               ; preds = %24
  %30 = call noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %31 = getelementptr inbounds i8, ptr %30, i64 304
  %32 = call noundef i32 @_ZN3ptrIN2ts4data10ExpressionEEcv10SyntaxKindEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %33 = call noundef zeroext i1 @_ZN2ts12isIdentifierE10SyntaxKind(i32 noundef %32)
  br i1 %33, label %34, label %.critedge18.thread

34:                                               ; preds = %29
  %35 = call noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %36 = getelementptr inbounds i8, ptr %35, i64 304
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %36) #5
  call void @_ZN3ptrIN2ts4data4NodeEEC2INS1_10ExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull %11)
  %37 = call noundef zeroext i1 @_ZN2tsL21isGeneratedIdentifierE3ptrINS_4data4NodeEE(ptr noundef nonnull %10)
  br i1 %37, label %.critedge18.thread.critedge, label %.critedge.thread

.critedge.thread:                                 ; preds = %34
  %38 = call noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %39 = getelementptr inbounds i8, ptr %38, i64 304
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %39) #5
  call void @_ZN3ptrIN2ts4data10IdentifierEEC2INS1_10ExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull %13)
  %40 = call noundef zeroext i1 @_ZN2tsL11isLocalNameE3ptrINS_4data10IdentifierEE(ptr noundef nonnull %12)
  call void @_ZN3ptrIN2ts4data10IdentifierEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  br i1 %40, label %.critedge18.thread, label %41

41:                                               ; preds = %.critedge.thread
  %42 = call noundef ptr @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %43 = getelementptr inbounds i8, ptr %42, i64 32
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %43, i32 noundef 268435456)
  br label %.critedge18.thread

45:                                               ; preds = %4
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  br label %49

47:                                               ; preds = %17
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  br label %49

.critedge18.thread.critedge:                      ; preds = %34
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  br label %.critedge18.thread

.critedge18.thread:                               ; preds = %.critedge18.thread.critedge, %24, %29, %.critedge.thread, %41
  ret void

49:                                               ; preds = %47, %45
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data21PrefixUnaryExpressionEES4_EEDa10SyntaxKind(ptr dead_on_unwind noalias writable sret(%struct.ptr.455) 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 @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN2tsL21isGeneratedIdentifierE3ptrINS_4data4NodeEE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN2tsL11isLocalNameE3ptrINS_4data10IdentifierEE(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3ptrIN2ts4data21PrefixUnaryExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 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 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!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, !20, i64 296}
!6 = !{!"_ZTSN2ts4data21PrefixUnaryExpressionE", !7, i64 0, !20, i64 296, !58, i64 304}
!7 = !{!"_ZTSN2ts4data16UpdateExpressionE", !8, i64 0}
!8 = !{!"_ZTSN2ts4data15UnaryExpressionE", !9, i64 0}
!9 = !{!"_ZTSN2ts4data27ExpressionWithTypeArgumentsE", !10, i64 0, !55, i64 280}
!10 = !{!"_ZTSN2ts4data21NodeWithTypeArgumentsE", !11, i64 0, !49, i64 232}
!11 = !{!"_ZTSN2ts4data10ExpressionE", !12, i64 0}
!12 = !{!"_ZTSN2ts4data8TypeNodeE", !13, i64 0}
!13 = !{!"_ZTSN2ts4data14JSDocContainerE", !14, i64 0, !37, i64 136, !43, i64 184}
!14 = !{!"_ZTSN2ts4data4NodeE", !15, i64 8, !20, i64 20, !21, i64 24, !22, i64 28, !23, i64 32, !24, i64 40, !17, i64 88, !32, i64 96, !32, i64 112, !36, i64 128, !31, i64 132}
!15 = !{!"_ZTSN2ts4data9TextRangeE", !16, i64 0, !17, i64 8}
!16 = !{!"_ZTSN2ts8pos_typeE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !18, i64 0}
!18 = !{!"omnipotent char", !19, i64 0}
!19 = !{!"Simple C++ TBAA"}
!20 = !{!"_ZTS10SyntaxKind", !18, i64 0}
!21 = !{!"_ZTSN2ts9NodeFlagsE", !18, i64 0}
!22 = !{!"_ZTSN2ts13ModifierFlagsE", !18, i64 0}
!23 = !{!"_ZTSN2ts14TransformFlagsE", !18, i64 0}
!24 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_4NodeEEEE", !25, i64 0, !15, i64 24, !31, i64 36, !31, i64 37, !31, i64 38, !23, i64 40}
!25 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_4NodeEEEE", !26, i64 0}
!26 = !{!"_ZTSSt6vectorI3ptrIN2ts4data4NodeEESaIS4_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data4NodeEESaIS4_EE17_Vector_impl_dataE", !30, i64 0, !30, i64 8, !30, i64 16}
!30 = !{!"any pointer", !18, i64 0}
!31 = !{!"bool", !18, i64 0}
!32 = !{!"_ZTS3ptrIN2ts4data4NodeEE", !33, i64 0}
!33 = !{!"_ZTSSt10shared_ptrIN2ts4data4NodeEE", !34, i64 0}
!34 = !{!"_ZTSSt12__shared_ptrIN2ts4data4NodeELN9__gnu_cxx12_Lock_policyE2EE", !30, i64 0, !35, i64 8}
!35 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !30, i64 0}
!36 = !{!"_ZTSN2ts13InternalFlagsE", !18, i64 0}
!37 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_5JSDocEEEE", !38, i64 0, !15, i64 24, !31, i64 36, !31, i64 37, !31, i64 38, !23, i64 40}
!38 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_5JSDocEEEE", !39, i64 0}
!39 = !{!"_ZTSSt6vectorI3ptrIN2ts4data5JSDocEESaIS4_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data5JSDocEESaIS4_EE17_Vector_impl_dataE", !30, i64 0, !30, i64 8, !30, i64 16}
!43 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8JSDocTagEEEE", !44, i64 0, !15, i64 24, !31, i64 36, !31, i64 37, !31, i64 38, !23, i64 40}
!44 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_8JSDocTagEEEE", !45, i64 0}
!45 = !{!"_ZTSSt6vectorI3ptrIN2ts4data8JSDocTagEESaIS4_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8JSDocTagEESaIS4_EE17_Vector_impl_dataE", !30, i64 0, !30, i64 8, !30, i64 16}
!49 = !{!"_ZTSN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEE", !50, i64 0, !15, i64 24, !31, i64 36, !31, i64 37, !31, i64 38, !23, i64 40}
!50 = !{!"_ZTSN2ts4data13ReadonlyArrayI3ptrINS0_8TypeNodeEEEE", !51, i64 0}
!51 = !{!"_ZTSSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data8TypeNodeEESaIS4_EE17_Vector_impl_dataE", !30, i64 0, !30, i64 8, !30, i64 16}
!55 = !{!"_ZTS3ptrIN2ts4data22LeftHandSideExpressionEE", !56, i64 0}
!56 = !{!"_ZTSSt10shared_ptrIN2ts4data22LeftHandSideExpressionEE", !57, i64 0}
!57 = !{!"_ZTSSt12__shared_ptrIN2ts4data22LeftHandSideExpressionELN9__gnu_cxx12_Lock_policyE2EE", !30, i64 0, !35, i64 8}
!58 = !{!"_ZTS3ptrIN2ts4data10ExpressionEE", !59, i64 0}
!59 = !{!"_ZTSSt10shared_ptrIN2ts4data10ExpressionEE", !60, i64 0}
!60 = !{!"_ZTSSt12__shared_ptrIN2ts4data10ExpressionELN9__gnu_cxx12_Lock_policyE2EE", !30, i64 0, !35, i64 8}


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