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

; 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.33" = type { ptr, ptr }
%"class.std::function.520" = 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.langcc::rc_ptr.35" = type { ptr, ptr }
%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.30" = type { ptr, ptr }
%"struct.langcc::rc_ptr.32" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.lang::cc::Node::Decl::Fun::_T" = type { %"struct.lang::cc::Node::Decl::_T.base", %"struct.langcc::rc_ptr.420", %"struct.langcc::rc_ptr.200", %"struct.langcc::Option::_T.416", %"struct.langcc::rc_ptr.45", %"struct.langcc::rc_ptr.417", %"struct.langcc::rc_ptr.200", %"struct.langcc::rc_ptr.32" }
%"struct.lang::cc::Node::Decl::_T.base" = type <{ %"struct.lang::cc::Node::_T", i32 }>
%"struct.lang::cc::Node::_T" = type { ptr, %"struct.langcc::hash_obj", %"struct.langcc::enable_rc_from_this_poly", i32, i64, %"struct.langcc::TokenBounds", i8, i64, %"struct.langcc::ParserAttrMask", %"struct.langcc::ParserLookahead" }
%"struct.langcc::hash_obj" = type { %"struct.langcc::Option::_T" }
%"struct.langcc::Option::_T" = type { i32, [32 x i8] }
%"struct.langcc::enable_rc_from_this_poly" = type { ptr, ptr }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.420" = type { ptr, ptr }
%"struct.langcc::Option::_T.416" = type { i32, [16 x i8] }
%"struct.langcc::rc_ptr.417" = type { ptr, ptr }
%"struct.langcc::rc_ptr.200" = type { ptr, ptr }

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEclES6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node5Param2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"struct.langcc::rc_ptr.33", align 8
  %7 = alloca %"class.std::function.520", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %"struct.langcc::rc_ptr.35", align 8
  %12 = alloca %"class.std::function.520", align 8
  %13 = alloca %"struct.langcc::rc_ptr.45", align 8
  %14 = alloca %"class.std::function.520", align 8
  %15 = alloca %"struct.langcc::rc_ptr.45", align 8
  %16 = alloca %"class.std::function.520", align 8
  %17 = alloca i64, align 8
  %18 = alloca %"struct.langcc::rc_ptr.30", align 8
  %19 = alloca %"class.std::function.520", align 8
  %20 = alloca i64, align 8
  %21 = alloca %"struct.langcc::rc_ptr.35", align 8
  %22 = alloca %"class.std::function.520", align 8
  %23 = alloca %"struct.langcc::rc_ptr.32", align 8
  %24 = alloca %"class.std::function.520", align 8
  %25 = alloca %"struct.langcc::rc_ptr.21", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store i64 0, ptr %5, align 8, !tbaa !9
  store i64 0, ptr %5, align 8, !tbaa !9
  br label %26

26:                                               ; preds = %41, %2
  %27 = load i64, ptr %5, align 8, !tbaa !9
  %28 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %29 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %28, i32 0, i32 1
  %30 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  %31 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %30)
  %32 = icmp slt i64 %27, %31
  br i1 %32, label %33, label %53

33:                                               ; preds = %26
  %34 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %35 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %34, i32 0, i32 1
  %36 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %37 = load i64, ptr %5, align 8, !tbaa !9
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %36, i64 noundef %37)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %38)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %39 unwind label %44

39:                                               ; preds = %33
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %6, ptr noundef %7)
          to label %40 unwind label %48

40:                                               ; preds = %39
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %41

41:                                               ; preds = %40
  %42 = load i64, ptr %5, align 8, !tbaa !9
  %43 = add nsw i64 %42, 1
  store i64 %43, ptr %5, align 8, !tbaa !9
  br label %26, !llvm.loop !11

44:                                               ; preds = %33
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %8, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %9, align 4
  br label %52

48:                                               ; preds = %39
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %8, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br label %52

52:                                               ; preds = %48, %44
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %191

53:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 0, ptr %10, align 8, !tbaa !9
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %54

54:                                               ; preds = %69, %53
  %55 = load i64, ptr %10, align 8, !tbaa !9
  %56 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %57 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %56, i32 0, i32 2
  %58 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %57)
  %59 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %58)
  %60 = icmp slt i64 %55, %59
  br i1 %60, label %61, label %81

61:                                               ; preds = %54
  %62 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %63 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %62, i32 0, i32 2
  %64 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %63)
  %65 = load i64, ptr %10, align 8, !tbaa !9
  %66 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %64, i64 noundef %65)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %66)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %67 unwind label %72

67:                                               ; preds = %61
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %11, ptr noundef %12)
          to label %68 unwind label %76

68:                                               ; preds = %67
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %69

69:                                               ; preds = %68
  %70 = load i64, ptr %10, align 8, !tbaa !9
  %71 = add nsw i64 %70, 1
  store i64 %71, ptr %10, align 8, !tbaa !9
  br label %54, !llvm.loop !13

72:                                               ; preds = %61
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %8, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %9, align 4
  br label %80

76:                                               ; preds = %67
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %8, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %80

80:                                               ; preds = %76, %72
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %190

81:                                               ; preds = %54
  %82 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %83 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %82, i32 0, i32 3
  %84 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %83)
  br i1 %84, label %85, label %100

85:                                               ; preds = %81
  %86 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %87 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %86, i32 0, i32 3
  %88 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %87)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %88)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %89 unwind label %91

89:                                               ; preds = %85
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %13, ptr noundef %14)
          to label %90 unwind label %95

90:                                               ; preds = %89
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %100

91:                                               ; preds = %85
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %8, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %9, align 4
  br label %99

95:                                               ; preds = %89
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %8, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %99

99:                                               ; preds = %95, %91
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %190

100:                                              ; preds = %90, %81
  %101 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %102 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %101, i32 0, i32 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %102)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %103 unwind label %123

103:                                              ; preds = %100
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %15, ptr noundef %16)
          to label %104 unwind label %127

104:                                              ; preds = %103
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store i64 0, ptr %17, align 8, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %105

105:                                              ; preds = %120, %104
  %106 = load i64, ptr %17, align 8, !tbaa !9
  %107 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %108 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %107, i32 0, i32 5
  %109 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node5Param2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %108)
  %110 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node5Param2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %109)
  %111 = icmp slt i64 %106, %110
  br i1 %111, label %112, label %141

112:                                              ; preds = %105
  %113 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %114 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %113, i32 0, i32 5
  %115 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node5Param2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %114)
  %116 = load i64, ptr %17, align 8, !tbaa !9
  %117 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node5Param2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %115, i64 noundef %116)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %117)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %118 unwind label %132

118:                                              ; preds = %112
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %18, ptr noundef %19)
          to label %119 unwind label %136

119:                                              ; preds = %118
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %120

120:                                              ; preds = %119
  %121 = load i64, ptr %17, align 8, !tbaa !9
  %122 = add nsw i64 %121, 1
  store i64 %122, ptr %17, align 8, !tbaa !9
  br label %105, !llvm.loop !14

123:                                              ; preds = %100
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %8, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %9, align 4
  br label %131

127:                                              ; preds = %103
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %8, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %131

131:                                              ; preds = %127, %123
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %190

132:                                              ; preds = %112
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %8, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %9, align 4
  br label %140

136:                                              ; preds = %118
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %8, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %140

140:                                              ; preds = %136, %132
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %189

141:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store i64 0, ptr %20, align 8, !tbaa !9
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %142

142:                                              ; preds = %157, %141
  %143 = load i64, ptr %20, align 8, !tbaa !9
  %144 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %145 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %144, i32 0, i32 6
  %146 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %145)
  %147 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %146)
  %148 = icmp slt i64 %143, %147
  br i1 %148, label %149, label %169

149:                                              ; preds = %142
  %150 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %151 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %150, i32 0, i32 6
  %152 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %151)
  %153 = load i64, ptr %20, align 8, !tbaa !9
  %154 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %152, i64 noundef %153)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %154)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %155 unwind label %160

155:                                              ; preds = %149
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %21, ptr noundef %22)
          to label %156 unwind label %164

156:                                              ; preds = %155
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br label %157

157:                                              ; preds = %156
  %158 = load i64, ptr %20, align 8, !tbaa !9
  %159 = add nsw i64 %158, 1
  store i64 %159, ptr %20, align 8, !tbaa !9
  br label %142, !llvm.loop !15

160:                                              ; preds = %149
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %8, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %9, align 4
  br label %168

164:                                              ; preds = %155
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %8, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  br label %168

168:                                              ; preds = %164, %160
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br label %188

169:                                              ; preds = %142
  %170 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %171 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %170, i32 0, i32 7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %171)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %172 unwind label %175

172:                                              ; preds = %169
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %23, ptr noundef %24)
          to label %173 unwind label %179

173:                                              ; preds = %172
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Decl3Fun2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %0)
  invoke void @_ZNKSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEclES6_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %25)
          to label %174 unwind label %184

174:                                              ; preds = %173
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret void

175:                                              ; preds = %169
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %8, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %9, align 4
  br label %183

179:                                              ; preds = %172
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %8, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %183

183:                                              ; preds = %179, %175
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  br label %188

184:                                              ; preds = %173
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %8, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %9, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  br label %188

188:                                              ; preds = %184, %183, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %189

189:                                              ; preds = %188, %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %190

190:                                              ; preds = %189, %131, %99, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %191

191:                                              ; preds = %190, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %192

192:                                              ; preds = %191
  %193 = load ptr, ptr %8, align 8
  %194 = load i32, ptr %9, align 4
  %195 = insertvalue { ptr, i32 } poison, ptr %193, 0
  %196 = insertvalue { ptr, i32 } %195, i32 %194, 1
  resume { ptr, i32 } %196
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) #3 align 2

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { 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 = { 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 #6 = { 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 #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


; 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.33" = type { ptr, ptr }
%"class.std::function.520" = 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.langcc::rc_ptr.35" = type { ptr, ptr }
%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.30" = type { ptr, ptr }
%"struct.langcc::rc_ptr.32" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEclES6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node5Param2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %0, ptr noundef %1) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.langcc::rc_ptr.33", align 8
  %4 = alloca %"class.std::function.520", align 8
  %5 = alloca %"struct.langcc::rc_ptr.35", align 8
  %6 = alloca %"class.std::function.520", align 8
  %7 = alloca %"struct.langcc::rc_ptr.45", align 8
  %8 = alloca %"class.std::function.520", align 8
  %9 = alloca %"struct.langcc::rc_ptr.45", align 8
  %10 = alloca %"class.std::function.520", align 8
  %11 = alloca %"struct.langcc::rc_ptr.30", align 8
  %12 = alloca %"class.std::function.520", align 8
  %13 = alloca %"struct.langcc::rc_ptr.35", align 8
  %14 = alloca %"class.std::function.520", align 8
  %15 = alloca %"struct.langcc::rc_ptr.32", align 8
  %16 = alloca %"class.std::function.520", align 8
  %17 = alloca %"struct.langcc::rc_ptr.21", align 8
  %18 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %19 = getelementptr inbounds i8, ptr %18, i64 144
  %20 = tail call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  %21 = tail call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %20)
  %22 = icmp sgt i64 %21, 0
  br i1 %22, label %.lr.ph, label %.preheader45

.preheader45:                                     ; preds = %33, %2
  %23 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %24 = getelementptr inbounds i8, ptr %23, i64 160
  %25 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
  %26 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %25)
  %27 = icmp sgt i64 %26, 0
  br i1 %27, label %.lr.ph48, label %._crit_edge

.lr.ph:                                           ; preds = %2, %33
  %.02746 = phi i64 [ %34, %33 ], [ 0, %2 ]
  %28 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %29 = getelementptr inbounds i8, ptr %28, i64 144
  %30 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %30, i64 noundef %.02746)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %31)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %32 unwind label %40

32:                                               ; preds = %.lr.ph
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %3, ptr noundef nonnull %4)
          to label %33 unwind label %42

33:                                               ; preds = %32
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  %34 = add nuw nsw i64 %.02746, 1
  %35 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %36 = getelementptr inbounds i8, ptr %35, i64 144
  %37 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %36)
  %38 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %37)
  %39 = icmp slt i64 %34, %38
  br i1 %39, label %.lr.ph, label %.preheader45, !llvm.loop !5

40:                                               ; preds = %.lr.ph
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %44

42:                                               ; preds = %32
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %44

44:                                               ; preds = %42, %40
  %.pn42 = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %142

.lr.ph48:                                         ; preds = %.preheader45, %50
  %.01447 = phi i64 [ %51, %50 ], [ 0, %.preheader45 ]
  %45 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %46 = getelementptr inbounds i8, ptr %45, i64 160
  %47 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %46)
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %47, i64 noundef %.01447)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %48)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %49 unwind label %57

49:                                               ; preds = %.lr.ph48
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %5, ptr noundef nonnull %6)
          to label %50 unwind label %59

50:                                               ; preds = %49
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  %51 = add nuw nsw i64 %.01447, 1
  %52 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %53 = getelementptr inbounds i8, ptr %52, i64 160
  %54 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %53)
  %55 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %54)
  %56 = icmp slt i64 %51, %55
  br i1 %56, label %.lr.ph48, label %._crit_edge, !llvm.loop !7

57:                                               ; preds = %.lr.ph48
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %61

59:                                               ; preds = %49
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %61

61:                                               ; preds = %59, %57
  %.pn39 = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %142

._crit_edge:                                      ; preds = %50, %.preheader45
  %62 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %63 = getelementptr inbounds i8, ptr %62, i64 176
  %64 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %63)
  br i1 %64, label %65, label %76

65:                                               ; preds = %._crit_edge
  %66 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %67 = getelementptr inbounds i8, ptr %66, i64 176
  %68 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %67)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %68)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %69 unwind label %71

69:                                               ; preds = %65
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %7, ptr noundef nonnull %8)
          to label %70 unwind label %73

70:                                               ; preds = %69
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %76

71:                                               ; preds = %65
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %75

73:                                               ; preds = %69
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %75

75:                                               ; preds = %73, %71
  %.pn = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %142

76:                                               ; preds = %70, %._crit_edge
  %77 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %78 = getelementptr inbounds i8, ptr %77, i64 200
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %78)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %79 unwind label %103

79:                                               ; preds = %76
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %9, ptr noundef nonnull %10)
          to label %80 unwind label %105

80:                                               ; preds = %79
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  %81 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %82 = getelementptr inbounds i8, ptr %81, i64 216
  %83 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node5Param2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %82)
  %84 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node5Param2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %83)
  %85 = icmp sgt i64 %84, 0
  br i1 %85, label %.lr.ph51, label %.preheader

.preheader:                                       ; preds = %96, %80
  %86 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %87 = getelementptr inbounds i8, ptr %86, i64 232
  %88 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %87)
  %89 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %88)
  %90 = icmp sgt i64 %89, 0
  br i1 %90, label %.lr.ph53, label %._crit_edge54

.lr.ph51:                                         ; preds = %80, %96
  %.01349 = phi i64 [ %97, %96 ], [ 0, %80 ]
  %91 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %92 = getelementptr inbounds i8, ptr %91, i64 216
  %93 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node5Param2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %92)
  %94 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node5Param2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %93, i64 noundef %.01349)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %94)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %95 unwind label %108

95:                                               ; preds = %.lr.ph51
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %11, ptr noundef nonnull %12)
          to label %96 unwind label %110

96:                                               ; preds = %95
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  %97 = add nuw nsw i64 %.01349, 1
  %98 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %99 = getelementptr inbounds i8, ptr %98, i64 216
  %100 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node5Param2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %99)
  %101 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node5Param2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %100)
  %102 = icmp slt i64 %97, %101
  br i1 %102, label %.lr.ph51, label %.preheader, !llvm.loop !8

103:                                              ; preds = %76
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %79
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %107

107:                                              ; preds = %105, %103
  %.pn29 = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %142

108:                                              ; preds = %.lr.ph51
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %95
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %112

112:                                              ; preds = %110, %108
  %.pn36 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br label %142

.lr.ph53:                                         ; preds = %.preheader, %118
  %.052 = phi i64 [ %119, %118 ], [ 0, %.preheader ]
  %113 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %114 = getelementptr inbounds i8, ptr %113, i64 232
  %115 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %114)
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %115, i64 noundef %.052)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %116)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %117 unwind label %125

117:                                              ; preds = %.lr.ph53
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %13, ptr noundef nonnull %14)
          to label %118 unwind label %127

118:                                              ; preds = %117
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  %119 = add nuw nsw i64 %.052, 1
  %120 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %121 = getelementptr inbounds i8, ptr %120, i64 232
  %122 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %121)
  %123 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %122)
  %124 = icmp slt i64 %119, %123
  br i1 %124, label %.lr.ph53, label %._crit_edge54, !llvm.loop !9

125:                                              ; preds = %.lr.ph53
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %129

127:                                              ; preds = %117
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %129

129:                                              ; preds = %127, %125
  %.pn33 = phi { ptr, i32 } [ %128, %127 ], [ %126, %125 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  br label %142

._crit_edge54:                                    ; preds = %118, %.preheader
  %130 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %131 = getelementptr inbounds i8, ptr %130, i64 248
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %131)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %132 unwind label %135

132:                                              ; preds = %._crit_edge54
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %15, ptr noundef nonnull %16)
          to label %133 unwind label %137

133:                                              ; preds = %132
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Decl3Fun2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %0)
  invoke void @_ZNKSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEclES6_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull %17)
          to label %134 unwind label %140

134:                                              ; preds = %133
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  ret void

135:                                              ; preds = %._crit_edge54
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %139

137:                                              ; preds = %132
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %139

139:                                              ; preds = %137, %135
  %.pn31 = phi { ptr, i32 } [ %138, %137 ], [ %136, %135 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %142

140:                                              ; preds = %133
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  br label %142

142:                                              ; preds = %61, %75, %107, %129, %139, %140, %112, %44
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %44 ], [ %.pn39, %61 ], [ %.pn29, %107 ], [ %.pn, %75 ], [ %.pn36, %112 ], [ %.pn33, %129 ], [ %141, %140 ], [ %.pn31, %139 ]
  resume { ptr, i32 } %.pn42.pn
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

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

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

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

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

attributes #0 = { 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 #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 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = distinct !{!9, !6}


; Effective O3 passes: GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass