; 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.367" = type <{ %"struct.ts::data::ReadonlyArray.368", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray.368" = type { %"class.std::vector.369" }
%"class.std::vector.369" = type { %"struct.std::_Vector_base.370" }
%"struct.std::_Vector_base.370" = type { %"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ts::data::TextRange" = type { %"struct.ts::pos_type", i32 }
%"struct.ts::pos_type" = type { i32, i32 }
%struct.ptr.399 = type { %"class.std::shared_ptr.400" }
%"class.std::shared_ptr.400" = type { %"class.std::__shared_ptr.401" }
%"class.std::__shared_ptr.401" = type { ptr, %"class.std::__shared_count" }
%"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.403 = type { %"class.std::shared_ptr.404" }
%"class.std::shared_ptr.404" = type { %"class.std::__shared_ptr.405" }
%"class.std::__shared_ptr.405" = 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.383 = type { %"class.std::shared_ptr.384" }
%"class.std::shared_ptr.384" = type { %"class.std::__shared_ptr.385" }
%"class.std::__shared_ptr.385" = 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] }>
%"struct.ts::data::NodeArray" = type <{ %"struct.ts::data::ReadonlyArray", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray" = type { %"class.std::vector.21" }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<ptr<ts::data::Node>, std::allocator<ptr<ts::data::Node>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::Node>, std::allocator<ptr<ts::data::Node>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::Node>, std::allocator<ptr<ts::data::Node>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::Node>, std::allocator<ptr<ts::data::Node>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ptr.17 = type { %"class.std::shared_ptr.18" }
%"class.std::shared_ptr.18" = type { %"class.std::__shared_ptr.19" }
%"class.std::__shared_ptr.19" = type { ptr, %"class.std::__shared_count" }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2ts11NodeFactory11asNodeArrayI3ptrINS_4data8TypeNodeEEEENS3_9NodeArrayIT_EES8_(ptr dead_on_unwind noalias writable sret(%"struct.ts::data::NodeArray.46") align 8, ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory15createCallChainE3ptrINS_4data10ExpressionEES1_INS2_16PunctuationTokenIL10SyntaxKind29EEEENS2_9NodeArrayIS1_INS2_8TypeNodeEEEENS9_IS4_EE(ptr dead_on_unwind noalias writable sret(%struct.ptr.403) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #5 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i1, align 1
  %14 = alloca %struct.ptr.399, align 8
  %15 = alloca %struct.ptr.54, align 8
  %16 = alloca %struct.ptr.130, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %struct.ptr.383, align 8
  %20 = alloca %"struct.ts::data::NodeArray.46", align 8
  %21 = alloca %"struct.ts::data::NodeArray.46", align 8
  %22 = alloca %"struct.ts::data::NodeArray.367", align 8
  %23 = alloca %"struct.ts::data::NodeArray.367", align 8
  %24 = alloca %"struct.ts::data::NodeArray.367", align 8
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %25 = load ptr, ptr %8, align 8
  store i1 false, ptr %13, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %26 = getelementptr inbounds %"class.ts::NodeFactory", ptr %25, i32 0, i32 2
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  invoke void @_ZN2ts18ParenthesizerRules28parenthesizeLeftSideOfAccessE3ptrINS_4data10ExpressionEEb(ptr dead_on_unwind writable sret(%struct.ptr.54) align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef %16, i1 noundef zeroext true)
          to label %27 unwind label %47

27:                                               ; preds = %6
  call void @_ZN3ptrIN2ts4data16PunctuationTokenIL10SyntaxKind29EEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %21, ptr noundef nonnull align 8 dereferenceable(44) %4)
          to label %28 unwind label %51

28:                                               ; preds = %27
  invoke void @_ZN2ts11NodeFactory11asNodeArrayI3ptrINS_4data8TypeNodeEEEENS3_9NodeArrayIT_EES8_(ptr dead_on_unwind writable sret(%"struct.ts::data::NodeArray.46") align 8 %20, ptr noundef nonnull align 8 dereferenceable(232) %25, ptr noundef %21)
          to label %29 unwind label %55

29:                                               ; preds = %28
  %30 = getelementptr inbounds %"class.ts::NodeFactory", ptr %25, i32 0, i32 2
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %24, ptr noundef nonnull align 8 dereferenceable(44) %5)
          to label %31 unwind label %59

31:                                               ; preds = %29
  invoke void @_ZN2ts11NodeFactory15createNodeArrayI3ptrINS_4data10ExpressionEEEENS3_9NodeArrayIT_EES8_b(ptr dead_on_unwind writable sret(%"struct.ts::data::NodeArray.367") align 8 %23, ptr noundef nonnull align 8 dereferenceable(232) %25, ptr noundef %24, i1 noundef zeroext false)
          to label %32 unwind label %63

32:                                               ; preds = %31
  invoke void @_ZN2ts18ParenthesizerRules43parenthesizeExpressionsOfCommaDelimitedListENS_4data9NodeArrayI3ptrINS1_10ExpressionEEEE(ptr dead_on_unwind writable sret(%"struct.ts::data::NodeArray.367") align 8 %22, ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef %23)
          to label %33 unwind label %67

33:                                               ; preds = %32
  invoke void @_ZN2ts11NodeFactory24createBaseCallExpressionE3ptrINS_4data22LeftHandSideExpressionEES1_INS2_16PunctuationTokenIL10SyntaxKind29EEEENS2_9NodeArrayIS1_INS2_8TypeNodeEEEENS9_IS1_INS2_10ExpressionEEEE(ptr dead_on_unwind writable sret(%struct.ptr.399) align 8 %14, ptr noundef nonnull align 8 dereferenceable(232) %25, ptr noundef %15, ptr noundef %19, ptr noundef %20, ptr noundef %22)
          to label %34 unwind label %71

34:                                               ; preds = %33
  invoke void @_ZN3ptrIN2ts4data14CallExpressionEE2asIS_INS1_9CallChainEEEET_v(ptr dead_on_unwind writable sret(%struct.ptr.403) align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %35 unwind label %75

35:                                               ; preds = %34
  call void @_ZN3ptrIN2ts4data14CallExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %22) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %23) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %24) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %20) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %21) #6
  call void @_ZN3ptrIN2ts4data16PunctuationTokenIL10SyntaxKind29EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  %36 = invoke noundef ptr @_ZN3ptrIN2ts4data9CallChainEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %37 unwind label %86

37:                                               ; preds = %35
  %38 = getelementptr inbounds %"struct.ts::data::Node", ptr %36, i32 0, i32 3
  %39 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_9NodeFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %38, i32 noundef 64)
          to label %40 unwind label %86

40:                                               ; preds = %37
  %41 = invoke noundef ptr @_ZN3ptrIN2ts4data9CallChainEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %42 unwind label %86

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

45:                                               ; preds = %42
  store i1 true, ptr %13, align 1
  %46 = load i1, ptr %13, align 1
  br i1 %46, label %91, label %90

47:                                               ; preds = %6
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %17, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %18, align 4
  br label %85

51:                                               ; preds = %27
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %17, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %18, align 4
  br label %84

55:                                               ; preds = %28
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %17, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %18, align 4
  br label %83

59:                                               ; preds = %29
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %17, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %18, align 4
  br label %82

63:                                               ; preds = %31
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %17, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %18, align 4
  br label %81

67:                                               ; preds = %32
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %17, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %18, align 4
  br label %80

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

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

79:                                               ; preds = %75, %71
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %22) #6
  br label %80

80:                                               ; preds = %79, %67
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %23) #6
  br label %81

81:                                               ; preds = %80, %63
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %24) #6
  br label %82

82:                                               ; preds = %81, %59
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %20) #6
  br label %83

83:                                               ; preds = %82, %55
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %21) #6
  br label %84

84:                                               ; preds = %83, %51
  call void @_ZN3ptrIN2ts4data16PunctuationTokenIL10SyntaxKind29EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %85

85:                                               ; preds = %84, %47
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %92

86:                                               ; preds = %42, %40, %37, %35
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %17, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %18, align 4
  call void @_ZN3ptrIN2ts4data9CallChainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  br label %92

90:                                               ; preds = %45
  call void @_ZN3ptrIN2ts4data9CallChainEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  br label %91

91:                                               ; preds = %90, %45
  ret void

92:                                               ; preds = %86, %85
  %93 = load ptr, ptr %17, align 8
  %94 = load i32, ptr %18, align 4
  %95 = insertvalue { ptr, i32 } poison, ptr %93, 0
  %96 = insertvalue { ptr, i32 } %95, i32 %94, 1
  resume { ptr, i32 } %96
}

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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.367" = type <{ %"struct.ts::data::ReadonlyArray.368", %"struct.ts::data::TextRange", i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ts::data::ReadonlyArray.368" = type { %"class.std::vector.369" }
%"class.std::vector.369" = type { %"struct.std::_Vector_base.370" }
%"struct.std::_Vector_base.370" = type { %"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::Expression>, std::allocator<ptr<ts::data::Expression>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ts::data::TextRange" = type { %"struct.ts::pos_type", i32 }
%"struct.ts::pos_type" = type { i32, i32 }
%struct.ptr.399 = type { %"class.std::shared_ptr.400" }
%"class.std::shared_ptr.400" = type { %"class.std::__shared_ptr.401" }
%"class.std::__shared_ptr.401" = type { ptr, %"class.std::__shared_count" }
%"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.403 = type { %"class.std::shared_ptr.404" }
%"class.std::shared_ptr.404" = type { %"class.std::__shared_ptr.405" }
%"class.std::__shared_ptr.405" = 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.383 = type { %"class.std::shared_ptr.384" }
%"class.std::shared_ptr.384" = type { %"class.std::__shared_ptr.385" }
%"class.std::__shared_ptr.385" = 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2ts11NodeFactory11asNodeArrayI3ptrINS_4data8TypeNodeEEEENS3_9NodeArrayIT_EES8_(ptr dead_on_unwind noalias writable sret(%"struct.ts::data::NodeArray.46") align 8, ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts11NodeFactory15createCallChainE3ptrINS_4data10ExpressionEES1_INS2_16PunctuationTokenIL10SyntaxKind29EEEENS2_9NodeArrayIS1_INS2_8TypeNodeEEEENS9_IS4_EE(ptr dead_on_unwind noalias writable sret(%struct.ptr.403) align 8 %0, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %struct.ptr.399, align 8
  %8 = alloca %struct.ptr.54, align 8
  %9 = alloca %struct.ptr.130, align 8
  %10 = alloca %struct.ptr.383, align 8
  %11 = alloca %"struct.ts::data::NodeArray.46", align 8
  %12 = alloca %"struct.ts::data::NodeArray.46", align 8
  %13 = alloca %"struct.ts::data::NodeArray.367", align 8
  %14 = alloca %"struct.ts::data::NodeArray.367", align 8
  %15 = alloca %"struct.ts::data::NodeArray.367", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %16 = getelementptr inbounds i8, ptr %1, i64 184
  call void @_ZN3ptrIN2ts4data10ExpressionEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %9, 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 %8, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull %9, i1 noundef zeroext true)
          to label %17 unwind label %31

17:                                               ; preds = %6
  call void @_ZN3ptrIN2ts4data16PunctuationTokenIL10SyntaxKind29EEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_8TypeNodeEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %12, ptr noundef nonnull align 8 dereferenceable(44) %4)
          to label %18 unwind label %33

18:                                               ; preds = %17
  invoke void @_ZN2ts11NodeFactory11asNodeArrayI3ptrINS_4data8TypeNodeEEEENS3_9NodeArrayIT_EES8_(ptr dead_on_unwind nonnull writable sret(%"struct.ts::data::NodeArray.46") align 8 %11, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %12)
          to label %19 unwind label %35

19:                                               ; preds = %18
  invoke void @_ZN2ts4data9NodeArrayI3ptrINS0_10ExpressionEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(44) %15, ptr noundef nonnull align 8 dereferenceable(44) %5)
          to label %20 unwind label %37

20:                                               ; preds = %19
  invoke void @_ZN2ts11NodeFactory15createNodeArrayI3ptrINS_4data10ExpressionEEEENS3_9NodeArrayIT_EES8_b(ptr dead_on_unwind nonnull writable sret(%"struct.ts::data::NodeArray.367") align 8 %14, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %15, i1 noundef zeroext false)
          to label %21 unwind label %39

21:                                               ; preds = %20
  invoke void @_ZN2ts18ParenthesizerRules43parenthesizeExpressionsOfCommaDelimitedListENS_4data9NodeArrayI3ptrINS1_10ExpressionEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.ts::data::NodeArray.367") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull %14)
          to label %22 unwind label %41

22:                                               ; preds = %21
  invoke void @_ZN2ts11NodeFactory24createBaseCallExpressionE3ptrINS_4data22LeftHandSideExpressionEES1_INS2_16PunctuationTokenIL10SyntaxKind29EEEENS2_9NodeArrayIS1_INS2_8TypeNodeEEEENS9_IS1_INS2_10ExpressionEEEE(ptr dead_on_unwind nonnull writable sret(%struct.ptr.399) align 8 %7, ptr noundef nonnull align 8 dereferenceable(232) %1, ptr noundef nonnull %8, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %13)
          to label %23 unwind label %43

23:                                               ; preds = %22
  invoke void @_ZN3ptrIN2ts4data14CallExpressionEE2asIS_INS1_9CallChainEEEET_v(ptr dead_on_unwind writable sret(%struct.ptr.403) align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %24 unwind label %45

24:                                               ; preds = %23
  call void @_ZN3ptrIN2ts4data14CallExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %13) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %14) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %15) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #6
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %12) #6
  call void @_ZN3ptrIN2ts4data16PunctuationTokenIL10SyntaxKind29EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  %25 = call noundef ptr @_ZN3ptrIN2ts4data9CallChainEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %26 = getelementptr inbounds i8, ptr %25, i64 24
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_9NodeFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %26, i32 noundef 64)
  %28 = call noundef ptr @_ZN3ptrIN2ts4data9CallChainEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %29 = getelementptr inbounds i8, ptr %28, i64 32
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_14TransformFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %29, i32 noundef 32)
  ret void

31:                                               ; preds = %6
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %53

33:                                               ; preds = %17
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %52

35:                                               ; preds = %18
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %51

37:                                               ; preds = %19
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %50

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

41:                                               ; preds = %21
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %48

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

45:                                               ; preds = %23
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3ptrIN2ts4data14CallExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %47

47:                                               ; preds = %45, %43
  %.pn = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ]
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %13) #6
  br label %48

48:                                               ; preds = %47, %41
  %.pn.pn = phi { ptr, i32 } [ %.pn, %47 ], [ %42, %41 ]
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %14) #6
  br label %49

49:                                               ; preds = %48, %39
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %48 ], [ %40, %39 ]
  call void @_ZNSt6vectorI3ptrIN2ts4data10ExpressionEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %15) #6
  br label %50

50:                                               ; preds = %49, %37
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %49 ], [ %38, %37 ]
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #6
  br label %51

51:                                               ; preds = %50, %35
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %50 ], [ %36, %35 ]
  call void @_ZNSt6vectorI3ptrIN2ts4data8TypeNodeEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(44) %12) #6
  br label %52

52:                                               ; preds = %51, %33
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %51 ], [ %34, %33 ]
  call void @_ZN3ptrIN2ts4data16PunctuationTokenIL10SyntaxKind29EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @_ZN3ptrIN2ts4data22LeftHandSideExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br label %53

53:                                               ; preds = %52, %31
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %52 ], [ %32, %31 ]
  call void @_ZN3ptrIN2ts4data10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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