; 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.35" = 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.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.31" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.lang::cc::Node::Param::_T" = type <{ %"struct.lang::cc::Node::_T", %"struct.langcc::rc_ptr.200", %"struct.langcc::rc_ptr.45", %"struct.langcc::rc_ptr.45", %"struct.langcc::Option::_T.201", [4 x i8] }>
%"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.200" = type { ptr, ptr }
%"struct.langcc::Option::_T.201" = type { i32, [16 x i8] }

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_ptrIN4lang2cc4Node5Param3val2_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 noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) #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: 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_ptrIN4lang2cc4Node5Param3val2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Param2_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.35", align 8
  %7 = alloca %"class.std::function.520", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.langcc::rc_ptr.45", align 8
  %11 = alloca %"class.std::function.520", align 8
  %12 = alloca %"struct.langcc::rc_ptr.45", align 8
  %13 = alloca %"class.std::function.520", align 8
  %14 = alloca %"struct.langcc::rc_ptr.31", align 8
  %15 = alloca %"class.std::function.520", align 8
  %16 = 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 %17

17:                                               ; preds = %32, %2
  %18 = load i64, ptr %5, align 8, !tbaa !9
  %19 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %20 = getelementptr inbounds %"struct.lang::cc::Node::Param::_T", ptr %19, i32 0, i32 1
  %21 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
  %22 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %21)
  %23 = icmp slt i64 %18, %22
  br i1 %23, label %24, label %44

24:                                               ; preds = %17
  %25 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %26 = getelementptr inbounds %"struct.lang::cc::Node::Param::_T", ptr %25, i32 0, i32 1
  %27 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
  %28 = load i64, ptr %5, align 8, !tbaa !9
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %27, i64 noundef %28)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %29)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %30 unwind label %35

30:                                               ; preds = %24
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %6, ptr noundef %7)
          to label %31 unwind label %39

31:                                               ; preds = %30
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %32

32:                                               ; preds = %31
  %33 = load i64, ptr %5, align 8, !tbaa !9
  %34 = add nsw i64 %33, 1
  store i64 %34, ptr %5, align 8, !tbaa !9
  br label %17, !llvm.loop !11

35:                                               ; preds = %24
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %8, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %9, align 4
  br label %43

39:                                               ; preds = %30
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %8, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br label %43

43:                                               ; preds = %39, %35
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %95

44:                                               ; preds = %17
  %45 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %46 = getelementptr inbounds %"struct.lang::cc::Node::Param::_T", ptr %45, i32 0, i32 2
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %46)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %47 unwind label %62

47:                                               ; preds = %44
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %10, ptr noundef %11)
          to label %48 unwind label %66

48:                                               ; preds = %47
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  %49 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %50 = getelementptr inbounds %"struct.lang::cc::Node::Param::_T", ptr %49, i32 0, i32 3
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %50)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %51 unwind label %71

51:                                               ; preds = %48
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %12, ptr noundef %13)
          to label %52 unwind label %75

52:                                               ; preds = %51
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  %53 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %54 = getelementptr inbounds %"struct.lang::cc::Node::Param::_T", ptr %53, i32 0, i32 4
  %55 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node5Param3val2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %54)
  br i1 %55, label %56, label %89

56:                                               ; preds = %52
  %57 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %58 = getelementptr inbounds %"struct.lang::cc::Node::Param::_T", ptr %57, i32 0, i32 4
  %59 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node5Param3val2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %58)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %59)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %60 unwind label %80

60:                                               ; preds = %56
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %14, ptr noundef %15)
          to label %61 unwind label %84

61:                                               ; preds = %60
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %89

62:                                               ; preds = %44
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %8, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %9, align 4
  br label %70

66:                                               ; preds = %47
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %8, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %70

70:                                               ; preds = %66, %62
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %95

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

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

79:                                               ; preds = %75, %71
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %95

80:                                               ; preds = %56
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %8, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %9, align 4
  br label %88

84:                                               ; preds = %60
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %8, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %88

88:                                               ; preds = %84, %80
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %95

89:                                               ; preds = %61, %52
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_5Param2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_EE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %0)
  invoke void @_ZNKSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEclES6_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %16)
          to label %90 unwind label %91

90:                                               ; preds = %89
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret void

91:                                               ; preds = %89
  %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
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %95

95:                                               ; preds = %91, %88, %79, %70, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %96

96:                                               ; preds = %95
  %97 = load ptr, ptr %8, align 8
  %98 = load i32, ptr %9, align 4
  %99 = insertvalue { ptr, i32 } poison, ptr %97, 0
  %100 = insertvalue { ptr, i32 } %99, i32 %98, 1
  resume { ptr, i32 } %100
}

; 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_ptrIN4lang2cc4Node5Param3val2_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_ptrIN4lang2cc4Node5Param3val2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20)) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEEC2ERKS7_(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_5Param2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_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"}


; 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.35" = 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.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.31" = 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_ptrIN4lang2cc4Node5Param3val2_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 noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) local_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: 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_ptrIN4lang2cc4Node5Param3val2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Param2_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.35", align 8
  %4 = alloca %"class.std::function.520", align 8
  %5 = alloca %"struct.langcc::rc_ptr.45", 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.31", align 8
  %10 = alloca %"class.std::function.520", align 8
  %11 = alloca %"struct.langcc::rc_ptr.21", align 8
  %12 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %13 = getelementptr inbounds i8, ptr %12, i64 136
  %14 = tail call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %15 = tail call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %14)
  %16 = icmp sgt i64 %15, 0
  br i1 %16, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2, %22
  %.0918 = phi i64 [ %23, %22 ], [ 0, %2 ]
  %17 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %18 = getelementptr inbounds i8, ptr %17, i64 136
  %19 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %19, i64 noundef %.0918)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %20)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %21 unwind label %29

21:                                               ; preds = %.lr.ph
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %3, ptr noundef nonnull %4)
          to label %22 unwind label %31

22:                                               ; preds = %21
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  %23 = add nuw nsw i64 %.0918, 1
  %24 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %25 = getelementptr inbounds i8, ptr %24, i64 136
  %26 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
  %27 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %26)
  %28 = icmp slt i64 %23, %27
  br i1 %28, label %.lr.ph, label %._crit_edge, !llvm.loop !5

29:                                               ; preds = %.lr.ph
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %33

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

33:                                               ; preds = %31, %29
  %.pn15 = phi { ptr, i32 } [ %32, %31 ], [ %30, %29 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %70

._crit_edge:                                      ; preds = %22, %2
  %34 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %35 = getelementptr inbounds i8, ptr %34, i64 152
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %35)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %36 unwind label %51

36:                                               ; preds = %._crit_edge
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %5, ptr noundef nonnull %6)
          to label %37 unwind label %53

37:                                               ; preds = %36
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  %38 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %39 = getelementptr inbounds i8, ptr %38, i64 168
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %39)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %40 unwind label %56

40:                                               ; preds = %37
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %7, ptr noundef nonnull %8)
          to label %41 unwind label %58

41:                                               ; preds = %40
  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
  %42 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %43 = getelementptr inbounds i8, ptr %42, i64 184
  %44 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node5Param3val2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %43)
  br i1 %44, label %45, label %66

45:                                               ; preds = %41
  %46 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %47 = getelementptr inbounds i8, ptr %46, i64 184
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node5Param3val2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %47)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %48)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %49 unwind label %61

49:                                               ; preds = %45
  invoke void @_Z18visit_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %9, ptr noundef nonnull %10)
          to label %50 unwind label %63

50:                                               ; preds = %49
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %66

51:                                               ; preds = %._crit_edge
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %55

53:                                               ; preds = %36
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %55

55:                                               ; preds = %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %70

56:                                               ; preds = %37
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %60

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

60:                                               ; preds = %58, %56
  %.pn11 = phi { ptr, i32 } [ %59, %58 ], [ %57, %56 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %70

61:                                               ; preds = %45
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %65

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

65:                                               ; preds = %63, %61
  %.pn13 = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %70

66:                                               ; preds = %50, %41
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_5Param2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_EE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %0)
  invoke void @_ZNKSt8functionIFvN6langcc6rc_ptrIN4lang2cc4Node2_TEEEEEclES6_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull %11)
          to label %67 unwind label %68

67:                                               ; preds = %66
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  ret void

68:                                               ; preds = %66
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br label %70

70:                                               ; preds = %68, %65, %60, %55, %33
  %.pn15.pn = phi { ptr, i32 } [ %.pn15, %33 ], [ %69, %68 ], [ %.pn13, %65 ], [ %.pn11, %60 ], [ %.pn, %55 ]
  resume { ptr, i32 } %.pn15.pn
}

; 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_ptrIN4lang2cc4Node5Param3val2_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_ptrIN4lang2cc4Node5Param3val2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Param3val2_TEEC2ERKS7_(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_5Param2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_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"}


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