; LLVM IR from jzimmerman/langcc :: gen/cc/gen.ll (ZN4lang2cc6parser19_parse_proc_12_19_0EPN6langcc15ParserProcStateE)

; 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.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::Option::_T.416" = type { i32, [16 x i8] }
%"struct.langcc::SymItem" = type { i64, i64, %"struct.langcc::ParserAttrMask", i64, i64, i64, %"struct.langcc::Result_T", %"struct.langcc::ParserLookahead" }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::Result_T" = type { ptr, %"struct.langcc::TokenBounds" }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::ParserProcState" = type { %"struct.langcc::rc_ptr.16", ptr, ptr, i64, ptr, i64, ptr, i64, ptr, i64, %"struct.langcc::SymItem", ptr, ptr }
%"struct.langcc::rc_ptr.16" = type { ptr, ptr }
%"struct.langcc::ParserVertexStackItem" = type { i64, i64 }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.45") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4SomeINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEENS_6Option2_TIT_EERKSA_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.416") align 4, ptr noundef nonnull align 8 dereferenceable(16)) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef, i64 noundef) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang2cc6parser19_parse_proc_12_19_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) #7 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"struct.langcc::SymItem", align 8
  %10 = alloca %"struct.langcc::SymItem", align 8
  %11 = alloca %"struct.langcc::SymItem", align 8
  %12 = alloca %"struct.langcc::SymItem", align 8
  %13 = alloca %"struct.langcc::SymItem", align 8
  %14 = alloca %"struct.langcc::SymItem", align 8
  %15 = alloca %"struct.langcc::SymItem", align 8
  %16 = alloca %"struct.langcc::Result_T", align 8
  %17 = alloca %"struct.langcc::Result_T", align 8
  %18 = alloca %"struct.langcc::Result_T", align 8
  %19 = alloca %"struct.langcc::Result_T", align 8
  %20 = alloca %"struct.langcc::Result_T", align 8
  %21 = alloca %"struct.langcc::Result_T", align 8
  %22 = alloca %"struct.langcc::Result_T", align 8
  %23 = alloca %"struct.langcc::rc_ptr.45", align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca %"struct.langcc::Option::_T.416", align 4
  %28 = alloca %"struct.langcc::Result_T", align 8
  %29 = alloca %"struct.langcc::TokenBounds", align 4
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %30, i32 0, i32 5
  %32 = load i64, ptr %31, align 8, !tbaa !9
  store i64 %32, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %33, i32 0, i32 7
  %35 = load i64, ptr %34, align 8, !tbaa !20
  store i64 %35, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %36, i32 0, i32 9
  %38 = load i64, ptr %37, align 8, !tbaa !21
  store i64 %38, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %39, i32 0, i32 3
  %41 = load i64, ptr %40, align 8, !tbaa !22
  store i64 %41, ptr %7, align 8, !tbaa !19
  %42 = load i64, ptr %7, align 8, !tbaa !19
  %43 = sub nsw i64 %42, 7
  store i64 %43, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %44, i32 0, i32 2
  %46 = load ptr, ptr %45, align 8, !tbaa !23
  %47 = load i64, ptr %7, align 8, !tbaa !19
  %48 = sub nsw i64 %47, 1
  %49 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %46, i64 %48
  %50 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %49, i32 0, i32 1
  %51 = load i64, ptr %50, align 8, !tbaa !24
  store i64 %51, ptr %8, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #9
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %52, i32 0, i32 4
  %54 = load ptr, ptr %53, align 8, !tbaa !26
  %55 = load i64, ptr %4, align 8, !tbaa !19
  %56 = sub nsw i64 %55, 1
  %57 = getelementptr inbounds %"struct.langcc::SymItem", ptr %54, i64 %56
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %57, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #9
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %58, i32 0, i32 4
  %60 = load ptr, ptr %59, align 8, !tbaa !26
  %61 = load i64, ptr %4, align 8, !tbaa !19
  %62 = sub nsw i64 %61, 2
  %63 = getelementptr inbounds %"struct.langcc::SymItem", ptr %60, i64 %62
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %63, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #9
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %64, i32 0, i32 4
  %66 = load ptr, ptr %65, align 8, !tbaa !26
  %67 = load i64, ptr %4, align 8, !tbaa !19
  %68 = sub nsw i64 %67, 3
  %69 = getelementptr inbounds %"struct.langcc::SymItem", ptr %66, i64 %68
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %69, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %12) #9
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %70, i32 0, i32 4
  %72 = load ptr, ptr %71, align 8, !tbaa !26
  %73 = load i64, ptr %4, align 8, !tbaa !19
  %74 = sub nsw i64 %73, 4
  %75 = getelementptr inbounds %"struct.langcc::SymItem", ptr %72, i64 %74
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %75, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %13) #9
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %76, i32 0, i32 4
  %78 = load ptr, ptr %77, align 8, !tbaa !26
  %79 = load i64, ptr %4, align 8, !tbaa !19
  %80 = sub nsw i64 %79, 5
  %81 = getelementptr inbounds %"struct.langcc::SymItem", ptr %78, i64 %80
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %81, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %14) #9
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %82, i32 0, i32 4
  %84 = load ptr, ptr %83, align 8, !tbaa !26
  %85 = load i64, ptr %4, align 8, !tbaa !19
  %86 = sub nsw i64 %85, 6
  %87 = getelementptr inbounds %"struct.langcc::SymItem", ptr %84, i64 %86
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %87, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %15) #9
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %88, i32 0, i32 4
  %90 = load ptr, ptr %89, align 8, !tbaa !26
  %91 = load i64, ptr %4, align 8, !tbaa !19
  %92 = sub nsw i64 %91, 7
  %93 = getelementptr inbounds %"struct.langcc::SymItem", ptr %90, i64 %92
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %93, i64 88, i1 false), !tbaa.struct !27
  %94 = load i64, ptr %4, align 8, !tbaa !19
  %95 = sub nsw i64 %94, 7
  store i64 %95, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #9
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %96, i32 0, i32 6
  %98 = load ptr, ptr %97, align 8, !tbaa !30
  %99 = load i64, ptr %5, align 8, !tbaa !19
  %100 = sub nsw i64 %99, 1
  %101 = getelementptr inbounds %"struct.langcc::Result_T", ptr %98, i64 %100
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %101, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %102, i32 0, i32 6
  %104 = load ptr, ptr %103, align 8, !tbaa !30
  %105 = load i64, ptr %5, align 8, !tbaa !19
  %106 = sub nsw i64 %105, 2
  %107 = getelementptr inbounds %"struct.langcc::Result_T", ptr %104, i64 %106
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %107, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %108, i32 0, i32 6
  %110 = load ptr, ptr %109, align 8, !tbaa !30
  %111 = load i64, ptr %5, align 8, !tbaa !19
  %112 = sub nsw i64 %111, 3
  %113 = getelementptr inbounds %"struct.langcc::Result_T", ptr %110, i64 %112
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %113, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %114, i32 0, i32 6
  %116 = load ptr, ptr %115, align 8, !tbaa !30
  %117 = load i64, ptr %5, align 8, !tbaa !19
  %118 = sub nsw i64 %117, 4
  %119 = getelementptr inbounds %"struct.langcc::Result_T", ptr %116, i64 %118
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %119, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #9
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %120, i32 0, i32 6
  %122 = load ptr, ptr %121, align 8, !tbaa !30
  %123 = load i64, ptr %5, align 8, !tbaa !19
  %124 = sub nsw i64 %123, 5
  %125 = getelementptr inbounds %"struct.langcc::Result_T", ptr %122, i64 %124
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %125, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #9
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %126, i32 0, i32 6
  %128 = load ptr, ptr %127, align 8, !tbaa !30
  %129 = load i64, ptr %5, align 8, !tbaa !19
  %130 = sub nsw i64 %129, 6
  %131 = getelementptr inbounds %"struct.langcc::Result_T", ptr %128, i64 %130
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %131, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #9
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %132, i32 0, i32 6
  %134 = load ptr, ptr %133, align 8, !tbaa !30
  %135 = load i64, ptr %5, align 8, !tbaa !19
  %136 = sub nsw i64 %135, 7
  %137 = getelementptr inbounds %"struct.langcc::Result_T", ptr %134, i64 %136
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %137, i64 16, i1 false), !tbaa.struct !31
  %138 = load i64, ptr %5, align 8, !tbaa !19
  %139 = sub nsw i64 %138, 7
  store i64 %139, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #9
  %140 = getelementptr inbounds %"struct.langcc::Result_T", ptr %22, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8, !tbaa !32
  %142 = getelementptr inbounds i8, ptr %141, i64 48
  call void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.45") align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %142)
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %143 unwind label %222

143:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %144, i32 0, i32 12
  %146 = load ptr, ptr %145, align 8, !tbaa !33
  invoke void @_ZN6langcc4SomeINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEENS_6Option2_TIT_EERKSA_(ptr dead_on_unwind writable sret(%"struct.langcc::Option::_T.416") align 4 %27, ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %147 unwind label %226

147:                                              ; preds = %143
  %148 = invoke noundef ptr @_ZN6langcc15make_rc_inc_extINS_6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJSA_EEEPT_PNS_5ArenaEDpT0_(ptr noundef %146, ptr noundef %27)
          to label %149 unwind label %230

149:                                              ; preds = %147
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %27) #9
  store ptr %148, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #9
  %150 = load ptr, ptr %26, align 8, !tbaa !5
  %151 = load i64, ptr %8, align 8, !tbaa !19
  %152 = trunc i64 %151 to i32
  %153 = getelementptr inbounds %"struct.langcc::Result_T", ptr %16, i32 0, i32 1
  %154 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %153, i32 0, i32 1
  %155 = load i32, ptr %154, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %29, i32 noundef %152, i32 noundef %155)
          to label %156 unwind label %234

156:                                              ; preds = %149
  %157 = load i64, ptr %29, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef %150, i64 %157)
          to label %158 unwind label %234

158:                                              ; preds = %156
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %159, i32 0, i32 6
  %161 = load ptr, ptr %160, align 8, !tbaa !30
  %162 = load i64, ptr %5, align 8, !tbaa !19
  %163 = getelementptr inbounds %"struct.langcc::Result_T", ptr %161, i64 %162
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %163, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !31
  %164 = load i64, ptr %5, align 8, !tbaa !19
  %165 = add nsw i64 %164, 1
  store i64 %165, ptr %5, align 8, !tbaa !19
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %166, i32 0, i32 8
  %168 = load ptr, ptr %167, align 8, !tbaa !35
  %169 = load i64, ptr %6, align 8, !tbaa !19
  %170 = getelementptr inbounds %"struct.langcc::Result_T", ptr %168, i64 %169
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %170, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !31
  %171 = load i64, ptr %6, align 8, !tbaa !19
  %172 = add nsw i64 %171, 1
  store i64 %172, ptr %6, align 8, !tbaa !19
  %173 = load ptr, ptr %3, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %173, i32 0, i32 8
  %175 = load ptr, ptr %174, align 8, !tbaa !35
  %176 = load i64, ptr %6, align 8, !tbaa !19
  %177 = getelementptr inbounds %"struct.langcc::Result_T", ptr %175, i64 %176
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %177, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !31
  %178 = load i64, ptr %6, align 8, !tbaa !19
  %179 = add nsw i64 %178, 1
  store i64 %179, ptr %6, align 8, !tbaa !19
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %180, i32 0, i32 8
  %182 = load ptr, ptr %181, align 8, !tbaa !35
  %183 = load i64, ptr %6, align 8, !tbaa !19
  %184 = getelementptr inbounds %"struct.langcc::Result_T", ptr %182, i64 %183
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %184, ptr align 8 %18, i64 16, i1 false), !tbaa.struct !31
  %185 = load i64, ptr %6, align 8, !tbaa !19
  %186 = add nsw i64 %185, 1
  store i64 %186, ptr %6, align 8, !tbaa !19
  %187 = load ptr, ptr %3, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %187, i32 0, i32 8
  %189 = load ptr, ptr %188, align 8, !tbaa !35
  %190 = load i64, ptr %6, align 8, !tbaa !19
  %191 = getelementptr inbounds %"struct.langcc::Result_T", ptr %189, i64 %190
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %191, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !31
  %192 = load i64, ptr %6, align 8, !tbaa !19
  %193 = add nsw i64 %192, 1
  store i64 %193, ptr %6, align 8, !tbaa !19
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %194, i32 0, i32 8
  %196 = load ptr, ptr %195, align 8, !tbaa !35
  %197 = load i64, ptr %6, align 8, !tbaa !19
  %198 = getelementptr inbounds %"struct.langcc::Result_T", ptr %196, i64 %197
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %198, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !31
  %199 = load i64, ptr %6, align 8, !tbaa !19
  %200 = add nsw i64 %199, 1
  store i64 %200, ptr %6, align 8, !tbaa !19
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %201, i32 0, i32 8
  %203 = load ptr, ptr %202, align 8, !tbaa !35
  %204 = load i64, ptr %6, align 8, !tbaa !19
  %205 = getelementptr inbounds %"struct.langcc::Result_T", ptr %203, i64 %204
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %205, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !31
  %206 = load i64, ptr %6, align 8, !tbaa !19
  %207 = add nsw i64 %206, 1
  store i64 %207, ptr %6, align 8, !tbaa !19
  %208 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 103, i64 noundef %208)
          to label %209 unwind label %234

209:                                              ; preds = %158
  %210 = load i64, ptr %4, align 8, !tbaa !19
  %211 = load ptr, ptr %3, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %211, i32 0, i32 5
  store i64 %210, ptr %212, align 8, !tbaa !9
  %213 = load i64, ptr %5, align 8, !tbaa !19
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %214, i32 0, i32 7
  store i64 %213, ptr %215, align 8, !tbaa !20
  %216 = load i64, ptr %6, align 8, !tbaa !19
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %217, i32 0, i32 9
  store i64 %216, ptr %218, align 8, !tbaa !21
  %219 = load i64, ptr %7, align 8, !tbaa !19
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %220, i32 0, i32 3
  store i64 %219, ptr %221, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  ret void

222:                                              ; preds = %2
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %24, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %25, align 4
  br label %239

226:                                              ; preds = %143
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %24, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %25, align 4
  br label %238

230:                                              ; preds = %147
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %24, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %25, align 4
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %27) #9
  br label %238

234:                                              ; preds = %158, %156, %149
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %24, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  br label %238

238:                                              ; preds = %234, %230, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %239

239:                                              ; preds = %238, %222
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %240

240:                                              ; preds = %239
  %241 = load ptr, ptr %24, align 8
  %242 = load i32, ptr %25, align 4
  %243 = insertvalue { ptr, i32 } poison, ptr %241, 0
  %244 = insertvalue { ptr, i32 } %243, i32 %242, 1
  resume { ptr, i32 } %244
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN6langcc15make_rc_inc_extINS_6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJSA_EEEPT_PNS_5ArenaEDpT0_(ptr noundef, ptr noundef) #8

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress noinline 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 #8 = { alwaysinline 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 #9 = { 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, !12, i64 48}
!10 = !{!"_ZTSN6langcc15ParserProcStateE", !11, i64 0, !6, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80, !13, i64 88, !6, i64 176, !6, i64 184}
!11 = !{!"_ZTSN6langcc6rc_ptrINS_9LexOutputEEE", !6, i64 0, !6, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN6langcc7SymItemE", !12, i64 0, !12, i64 8, !14, i64 16, !12, i64 32, !12, i64 40, !12, i64 48, !15, i64 56, !18, i64 72}
!14 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!15 = !{!"_ZTSN6langcc8Result_TE", !6, i64 0, !16, i64 8}
!16 = !{!"_ZTSN6langcc11TokenBoundsE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!10, !12, i64 64}
!21 = !{!10, !12, i64 80}
!22 = !{!10, !12, i64 32}
!23 = !{!10, !6, i64 24}
!24 = !{!25, !12, i64 8}
!25 = !{!"_ZTSN6langcc21ParserVertexStackItemE", !12, i64 0, !12, i64 8}
!26 = !{!10, !6, i64 40}
!27 = !{i64 0, i64 8, !19, i64 8, i64 8, !19, i64 16, i64 16, !28, i64 32, i64 8, !19, i64 40, i64 8, !19, i64 48, i64 8, !19, i64 56, i64 8, !5, i64 64, i64 4, !29, i64 68, i64 4, !29, i64 72, i64 16, !28}
!28 = !{!7, !7, i64 0}
!29 = !{!17, !17, i64 0}
!30 = !{!10, !6, i64 56}
!31 = !{i64 0, i64 8, !5, i64 8, i64 4, !29, i64 12, i64 4, !29}
!32 = !{!15, !6, i64 0}
!33 = !{!10, !6, i64 184}
!34 = !{!15, !17, i64 12}
!35 = !{!10, !6, i64 72}


; 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.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::Option::_T.416" = type { i32, [16 x i8] }
%"struct.langcc::SymItem" = type { i64, i64, %"struct.langcc::ParserAttrMask", i64, i64, i64, %"struct.langcc::Result_T", %"struct.langcc::ParserLookahead" }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::Result_T" = type { ptr, %"struct.langcc::TokenBounds" }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::ParserVertexStackItem" = type { i64, i64 }

declare i32 @__gxx_personality_v0(...)

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

; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.45") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4SomeINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEENS_6Option2_TIT_EERKSA_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.416") align 4, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef, i64 noundef) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang2cc6parser19_parse_proc_12_19_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr nocapture noundef %1) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %.sroa.02 = alloca [12 x i8], align 8
  %3 = alloca %"struct.langcc::Result_T", align 8
  %4 = alloca %"struct.langcc::Result_T", align 8
  %5 = alloca %"struct.langcc::Result_T", align 8
  %6 = alloca %"struct.langcc::Result_T", align 8
  %7 = alloca %"struct.langcc::Result_T", align 8
  %8 = alloca %"struct.langcc::rc_ptr.45", align 8
  %9 = alloca %"struct.langcc::Option::_T.416", align 4
  %10 = alloca %"struct.langcc::Result_T", align 8
  %11 = alloca %"struct.langcc::TokenBounds", align 8
  %12 = getelementptr inbounds i8, ptr %1, i64 48
  %13 = load i64, ptr %12, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %1, i64 64
  %15 = load i64, ptr %14, align 8, !tbaa !18
  %16 = getelementptr inbounds i8, ptr %1, i64 80
  %17 = load i64, ptr %16, align 8, !tbaa !19
  %18 = getelementptr inbounds i8, ptr %1, i64 32
  %19 = load i64, ptr %18, align 8, !tbaa !20
  %20 = getelementptr inbounds i8, ptr %1, i64 24
  %21 = load ptr, ptr %20, align 8, !tbaa !21
  %22 = getelementptr %"struct.langcc::ParserVertexStackItem", ptr %21, i64 %19
  %23 = getelementptr i8, ptr %22, i64 -120
  %24 = load i64, ptr %23, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %.sroa.02)
  %25 = getelementptr inbounds i8, ptr %1, i64 56
  %26 = load ptr, ptr %25, align 8, !tbaa !24
  %27 = getelementptr %"struct.langcc::Result_T", ptr %26, i64 %15
  %28 = getelementptr i8, ptr %27, i64 -16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %.sroa.02, ptr noundef nonnull align 8 dereferenceable(12) %28, i64 12, i1 false), !tbaa.struct !25
  %.sroa.53.0..sroa_idx = getelementptr i8, ptr %27, i64 -4
  %.sroa.53.0.copyload = load i32, ptr %.sroa.53.0..sroa_idx, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3)
  %29 = getelementptr i8, ptr %27, i64 -32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %29, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4)
  %30 = getelementptr i8, ptr %27, i64 -48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %30, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5)
  %31 = getelementptr i8, ptr %27, i64 -64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %31, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6)
  %32 = getelementptr i8, ptr %27, i64 -80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %32, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7)
  %33 = getelementptr i8, ptr %27, i64 -96
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %33, i64 16, i1 false), !tbaa.struct !25
  %34 = add nsw i64 %15, -7
  %35 = getelementptr inbounds %"struct.langcc::Result_T", ptr %26, i64 %34
  %.sroa.0.0.copyload = load ptr, ptr %35, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  %36 = getelementptr inbounds i8, ptr %.sroa.0.0.copyload, i64 48
  call void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.45") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %36)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %37 = getelementptr inbounds i8, ptr %1, i64 184
  %38 = load ptr, ptr %37, align 8, !tbaa !28
  invoke void @_ZN6langcc4SomeINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEENS_6Option2_TIT_EERKSA_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::Option::_T.416") align 4 %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %39 unwind label %69

39:                                               ; preds = %2
  %40 = invoke noundef ptr @_ZN6langcc15make_rc_inc_extINS_6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJSA_EEEPT_PNS_5ArenaEDpT0_(ptr noundef %38, ptr noundef nonnull %9)
          to label %41 unwind label %71

41:                                               ; preds = %39
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %9) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  %42 = trunc i64 %24 to i32
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %11, i32 noundef %42, i32 noundef %.sroa.53.0.copyload)
  %43 = load i64, ptr %11, align 8
  call void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %40, i64 %43)
  %44 = load ptr, ptr %25, align 8, !tbaa !24
  %45 = getelementptr inbounds %"struct.langcc::Result_T", ptr %44, i64 %34
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !25
  %46 = getelementptr inbounds i8, ptr %1, i64 72
  %47 = load ptr, ptr %46, align 8, !tbaa !29
  %48 = getelementptr inbounds %"struct.langcc::Result_T", ptr %47, i64 %17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %48, ptr noundef nonnull align 8 dereferenceable(12) %.sroa.02, i64 12, i1 false), !tbaa.struct !25
  %.sroa.53.0..sroa_idx4 = getelementptr inbounds i8, ptr %48, i64 12
  store i32 %.sroa.53.0.copyload, ptr %.sroa.53.0..sroa_idx4, align 4, !tbaa !27
  %49 = load ptr, ptr %46, align 8, !tbaa !29
  %50 = getelementptr %"struct.langcc::Result_T", ptr %49, i64 %17
  %51 = getelementptr i8, ptr %50, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull align 8 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !25
  %52 = load ptr, ptr %46, align 8, !tbaa !29
  %53 = getelementptr %"struct.langcc::Result_T", ptr %52, i64 %17
  %54 = getelementptr i8, ptr %53, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !25
  %55 = load ptr, ptr %46, align 8, !tbaa !29
  %56 = getelementptr %"struct.langcc::Result_T", ptr %55, i64 %17
  %57 = getelementptr i8, ptr %56, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !25
  %58 = load ptr, ptr %46, align 8, !tbaa !29
  %59 = getelementptr %"struct.langcc::Result_T", ptr %58, i64 %17
  %60 = getelementptr i8, ptr %59, i64 64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !25
  %61 = load ptr, ptr %46, align 8, !tbaa !29
  %62 = getelementptr %"struct.langcc::Result_T", ptr %61, i64 %17
  %63 = getelementptr i8, ptr %62, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %63, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !25
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 103, i64 noundef %24)
          to label %64 unwind label %73

64:                                               ; preds = %41
  %65 = add nsw i64 %17, 6
  %66 = add nsw i64 %15, -6
  %67 = add nsw i64 %13, -7
  %68 = add nsw i64 %19, -7
  store i64 %67, ptr %12, align 8, !tbaa !5
  store i64 %66, ptr %14, align 8, !tbaa !18
  store i64 %65, ptr %16, align 8, !tbaa !19
  store i64 %68, ptr %18, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %.sroa.02)
  ret void

69:                                               ; preds = %2
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %75

71:                                               ; preds = %39
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %9) #9
  br label %75

73:                                               ; preds = %41
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  br label %75

75:                                               ; preds = %73, %71, %69
  %.pn = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ], [ %70, %69 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %.sroa.02)
  resume { ptr, i32 } %.pn
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN6langcc15make_rc_inc_extINS_6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJSA_EEEPT_PNS_5ArenaEDpT0_(ptr noundef, ptr noundef) local_unnamed_addr #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress noinline 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 #8 = { alwaysinline 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 #9 = { 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, !11, i64 48}
!6 = !{!"_ZTSN6langcc15ParserProcStateE", !7, i64 0, !8, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !11, i64 48, !8, i64 56, !11, i64 64, !8, i64 72, !11, i64 80, !12, i64 88, !8, i64 176, !8, i64 184}
!7 = !{!"_ZTSN6langcc6rc_ptrINS_9LexOutputEEE", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"_ZTSN6langcc7SymItemE", !11, i64 0, !11, i64 8, !13, i64 16, !11, i64 32, !11, i64 40, !11, i64 48, !14, i64 56, !17, i64 72}
!13 = !{!"_ZTSN6langcc14ParserAttrMaskE", !9, i64 0}
!14 = !{!"_ZTSN6langcc8Result_TE", !8, i64 0, !15, i64 8}
!15 = !{!"_ZTSN6langcc11TokenBoundsE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !9, i64 0}
!17 = !{!"_ZTSN6langcc15ParserLookaheadE", !9, i64 0}
!18 = !{!6, !11, i64 64}
!19 = !{!6, !11, i64 80}
!20 = !{!6, !11, i64 32}
!21 = !{!6, !8, i64 24}
!22 = !{!23, !11, i64 8}
!23 = !{!"_ZTSN6langcc21ParserVertexStackItemE", !11, i64 0, !11, i64 8}
!24 = !{!6, !8, i64 56}
!25 = !{i64 0, i64 8, !26, i64 8, i64 4, !27, i64 12, i64 4, !27}
!26 = !{!8, !8, i64 0}
!27 = !{!16, !16, i64 0}
!28 = !{!6, !8, i64 184}
!29 = !{!6, !8, i64 72}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass