; 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.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.std::__shared_count" = type { 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.ts::data::TextRange" = type { %"struct.ts::pos_type", i32 }
%"struct.ts::pos_type" = type { i32, i32 }
%struct.ptr.532 = type { %"class.std::shared_ptr.533" }
%"class.std::shared_ptr.533" = type { %"class.std::__shared_ptr.534" }
%"class.std::__shared_ptr.534" = 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.undefined_t = type { i8 }
%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" }
%"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::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.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::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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef, 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: mustprogress nounwind uwtable
declare dso_local void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

declare void @_ZN2ts18ParenthesizerRules28parenthesizeLeftSideOfAccessE3ptrINS_4data10ExpressionEEb(ptr dead_on_unwind writable sret(%struct.ptr.54) align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i1 noundef zeroext) #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEcvbEv(ptr noundef nonnull align 8 dereferenceable(44)) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory33createExpressionWithTypeArgumentsE3ptrINS_4data10ExpressionEENS2_9NodeArrayIS1_INS2_8TypeNodeEEEE(ptr dead_on_unwind noalias writable sret(%struct.ptr.532) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr 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 ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i1, align 1
  %10 = alloca %struct.ptr.54, align 8
  %11 = alloca %struct.ptr.130, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"struct.ts::data::NodeArray.46", align 8
  %15 = alloca %"struct.ts::data::NodeArray.46", align 8
  %16 = alloca i1, align 1
  %17 = alloca %struct.undefined_t, align 1
  %18 = alloca %struct.ptr.17, align 8
  %19 = alloca %struct.ptr.54, align 8
  %20 = alloca %"struct.ts::data::NodeArray.46", 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
  store ptr %3, ptr %8, align 8, !tbaa !5
  %21 = load ptr, ptr %6, align 8
  store i1 false, ptr %9, align 1
  call void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data27ExpressionWithTypeArgumentsEES4_EEDa10SyntaxKind(ptr dead_on_unwind writable sret(%struct.ptr.532) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %21, i32 noundef 233)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  %22 = getelementptr inbounds %"class.ts::NodeFactory", ptr %21, i32 0, i32 2
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  invoke void @_ZN2ts18ParenthesizerRules28parenthesizeLeftSideOfAccessE3ptrINS_4data10ExpressionEEb(ptr dead_on_unwind writable sret(%struct.ptr.54) align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef %11, i1 noundef zeroext false)
          to label %23 unwind label %66

23:                                               ; preds = %4
  %24 = invoke noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %25 unwind label %70

25:                                               ; preds = %23
  %26 = getelementptr inbounds %"struct.ts::data::ExpressionWithTypeArguments", ptr %24, i32 0, i32 1
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3ptrIN2ts4data22LeftHandSideExpressionEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #6
  store i1 false, ptr %16, align 1
  %28 = invoke noundef zeroext i1 @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEcvbEv(ptr noundef nonnull align 8 dereferenceable(44) %3)
          to label %29 unwind label %75

29:                                               ; preds = %25
  br i1 %28, label %30, label %34

30:                                               ; preds = %29
  %31 = getelementptr inbounds %"class.ts::NodeFactory", ptr %21, i32 0, i32 2
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %15, ptr noundef nonnull align 8 dereferenceable(44) %3)
          to label %32 unwind label %75

32:                                               ; preds = %30
  store i1 true, ptr %16, align 1
  invoke void @_ZN2ts18ParenthesizerRules25parenthesizeTypeArgumentsENS_4data9NodeArrayI3ptrINS1_8TypeNodeEEEE(ptr dead_on_unwind writable sret(%"struct.ts::data::NodeArray.46") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef %15)
          to label %33 unwind label %79

33:                                               ; preds = %32
  br label %36

34:                                               ; preds = %29
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEC2E11undefined_t(ptr noundef nonnull align 8 dereferenceable(44) %14)
          to label %35 unwind label %79

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35, %33
  %37 = invoke noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %38 unwind label %83

38:                                               ; preds = %36
  %39 = getelementptr inbounds %"struct.ts::data::NodeWithTypeArguments", ptr %37, i32 0, i32 1
  %40 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEaSEOS5_(ptr noundef nonnull align 8 dereferenceable(44) %39, ptr noundef nonnull align 8 dereferenceable(44) %14) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %14) #6
  %41 = load i1, ptr %16, align 1
  br i1 %41, label %42, label %43

42:                                               ; preds = %38
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %15) #6
  br label %43

43:                                               ; preds = %42, %38
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #6
  %44 = invoke noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %45 unwind label %92

45:                                               ; preds = %43
  %46 = getelementptr inbounds %"struct.ts::data::ExpressionWithTypeArguments", ptr %44, i32 0, i32 1
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %46) #6
  invoke void @_ZN3ptrIN2ts4data4NodeEEC2INS1_22LeftHandSideExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %19)
          to label %47 unwind label %96

47:                                               ; preds = %45
  %48 = invoke noundef i32 @_ZN2ts11NodeFactory19propagateChildFlagsE3ptrINS_4data4NodeEE(ptr noundef nonnull align 8 dereferenceable(232) %21, ptr noundef %18)
          to label %49 unwind label %100

49:                                               ; preds = %47
  %50 = invoke noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %51 unwind label %100

51:                                               ; preds = %49
  %52 = getelementptr inbounds %"struct.ts::data::NodeWithTypeArguments", ptr %50, i32 0, i32 1
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %20, ptr noundef nonnull align 8 dereferenceable(44) %52)
          to label %53 unwind label %100

53:                                               ; preds = %51
  %54 = invoke noundef i32 @_ZN2ts11NodeFactory22propagateChildrenFlagsI3ptrINS_4data8TypeNodeEEEENS_14TransformFlagsENS3_9NodeArrayIT_EE(ptr noundef nonnull align 8 dereferenceable(232) %21, ptr noundef %20)
          to label %55 unwind label %104

55:                                               ; preds = %53
  %56 = invoke noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef %48, i32 noundef %54)
          to label %57 unwind label %104

57:                                               ; preds = %55
  %58 = invoke noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef %56, i32 noundef 1024)
          to label %59 unwind label %104

59:                                               ; preds = %57
  %60 = invoke noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %61 unwind label %104

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

64:                                               ; preds = %61
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %20) #6
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  store i1 true, ptr %9, align 1
  %65 = load i1, ptr %9, align 1
  br i1 %65, label %111, label %110

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

70:                                               ; preds = %23
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %12, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %13, align 4
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  br label %74

74:                                               ; preds = %70, %66
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  br label %112

75:                                               ; preds = %30, %25
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %12, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %13, align 4
  br label %91

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

83:                                               ; preds = %36
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %12, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %13, align 4
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %14) #6
  br label %87

87:                                               ; preds = %83, %79
  %88 = load i1, ptr %16, align 1
  br i1 %88, label %89, label %90

89:                                               ; preds = %87
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %15) #6
  br label %90

90:                                               ; preds = %89, %87
  br label %91

91:                                               ; preds = %90, %75
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #6
  br label %112

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

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

100:                                              ; preds = %51, %49, %47
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %12, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %13, align 4
  br label %108

104:                                              ; preds = %61, %59, %57, %55, %53
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %12, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %13, align 4
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %20) #6
  br label %108

108:                                              ; preds = %104, %100
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  br label %109

109:                                              ; preds = %108, %96
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  br label %112

110:                                              ; preds = %64
  call void @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  br label %111

111:                                              ; preds = %110, %64
  ret void

112:                                              ; preds = %109, %92, %91, %74
  call void @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  br label %113

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEED2Ev(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 = { 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 #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"}


; 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.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.std::__shared_count" = type { 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.ts::data::TextRange" = type { %"struct.ts::pos_type", i32 }
%"struct.ts::pos_type" = type { i32, i32 }
%struct.ptr.532 = type { %"class.std::shared_ptr.533" }
%"class.std::shared_ptr.533" = type { %"class.std::__shared_ptr.534" }
%"class.std::__shared_ptr.534" = 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" }

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

declare void @_ZN2ts18ParenthesizerRules28parenthesizeLeftSideOfAccessE3ptrINS_4data10ExpressionEEb(ptr dead_on_unwind writable sret(%struct.ptr.54) align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory33createExpressionWithTypeArgumentsE3ptrINS_4data10ExpressionEENS2_9NodeArrayIS1_INS2_8TypeNodeEEEE(ptr dead_on_unwind noalias writable sret(%struct.ptr.532) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.ptr.54, align 8
  %6 = alloca %struct.ptr.130, align 8
  %7 = alloca %"struct.ts::data::NodeArray.46", align 8
  %8 = alloca %"struct.ts::data::NodeArray.46", align 8
  %9 = alloca %struct.ptr.17, align 8
  %10 = alloca %struct.ptr.54, align 8
  %11 = alloca %"struct.ts::data::NodeArray.46", align 8
  tail call void @_ZN2ts11NodeFactory14createBaseNodeI3ptrINS_4data27ExpressionWithTypeArgumentsEES4_EEDa10SyntaxKind(ptr dead_on_unwind writable sret(%struct.ptr.532) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, i32 noundef 233)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %12 = getelementptr inbounds i8, ptr %1, i64 184
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  invoke void @_ZN2ts18ParenthesizerRules28parenthesizeLeftSideOfAccessE3ptrINS_4data10ExpressionEEb(ptr dead_on_unwind nonnull writable sret(%struct.ptr.54) align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull %6, i1 noundef zeroext false)
          to label %13 unwind label %40

13:                                               ; preds = %4
  %14 = call noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %15 = getelementptr inbounds i8, ptr %14, i64 280
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3ptrIN2ts4data22LeftHandSideExpressionEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  %17 = call noundef zeroext i1 @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEcvbEv(ptr noundef nonnull align 8 dereferenceable(44) %3)
  br i1 %17, label %18, label %20

18:                                               ; preds = %13
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %8, ptr noundef nonnull align 8 dereferenceable(44) %3)
          to label %19 unwind label %42

19:                                               ; preds = %18
  invoke void @_ZN2ts18ParenthesizerRules25parenthesizeTypeArgumentsENS_4data9NodeArrayI3ptrINS1_8TypeNodeEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.ts::data::NodeArray.46") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull %8)
          to label %21 unwind label %44

20:                                               ; preds = %13
  call void @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEC2E11undefined_t(ptr noundef nonnull align 8 dereferenceable(44) %7)
  br label %21

21:                                               ; preds = %19, %20
  %22 = call noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %23 = getelementptr inbounds i8, ptr %22, i64 232
  %24 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEaSEOS5_(ptr noundef nonnull align 8 dereferenceable(44) %23, ptr noundef nonnull align 8 dereferenceable(44) %7) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %7) #6
  br i1 %17, label %25, label %26

25:                                               ; preds = %21
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %8) #6
  br label %26

26:                                               ; preds = %25, %21
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  %27 = call noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %28 = getelementptr inbounds i8, ptr %27, i64 280
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %28) #6
  call void @_ZN3ptrIN2ts4data4NodeEEC2INS1_22LeftHandSideExpressionEEES_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull %10)
  %29 = invoke noundef i32 @_ZN2ts11NodeFactory19propagateChildFlagsE3ptrINS_4data4NodeEE(ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %9)
          to label %30 unwind label %47

30:                                               ; preds = %26
  %31 = call noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %32 = getelementptr inbounds i8, ptr %31, i64 232
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %11, ptr noundef nonnull align 8 dereferenceable(44) %32)
          to label %33 unwind label %47

33:                                               ; preds = %30
  %34 = call noundef i32 @_ZN2ts11NodeFactory22propagateChildrenFlagsI3ptrINS_4data8TypeNodeEEEENS_14TransformFlagsENS3_9NodeArrayIT_EE(ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %11)
  %35 = call noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef %29, i32 noundef %34)
  %36 = call noundef i32 @_ZN2tsorENS_14TransformFlagsES0_(i32 noundef %35, i32 noundef 1024)
  %37 = call noundef ptr @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %38 = getelementptr inbounds i8, ptr %37, i64 32
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %38, i32 noundef %36)
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #6
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  ret void

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

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

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

46:                                               ; preds = %44, %42
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  br label %49

47:                                               ; preds = %30, %26
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3ptrIN2ts4data4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  br label %49

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3ptrIN2ts4data27ExpressionWithTypeArgumentsEED2Ev(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 = { 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 #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)"}


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