; LLVM IR from opensim-org/opensim-core :: Vendors/lepton/src (Parser)

; 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"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Lepton::ExpressionTreeNode" = type { ptr, %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<Lepton::ExpressionTreeNode, std::allocator<Lepton::ExpressionTreeNode>>::_Vector_impl" }
%"struct.std::_Vector_base<Lepton::ExpressionTreeNode, std::allocator<Lepton::ExpressionTreeNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<Lepton::ExpressionTreeNode, std::allocator<Lepton::ExpressionTreeNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Lepton::ExpressionTreeNode, std::allocator<Lepton::ExpressionTreeNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.Lepton::ParseToken" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"class.Lepton::ExpressionTreeNode" }

@_ZL9OperatorsB5cxx11 = external hidden global %"class.std::__cxx11::basic_string", align 8
@_ZTIN6Lepton9ExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.11 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [32 x i8], align 1
@_ZL10Precedence = external hidden constant [5 x i32], align 16
@_ZL15LeftAssociative = external hidden constant [5 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

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

declare ptr @__cxa_allocate_exception(i64)

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind noalias writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i32 noundef %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i1, align 1
  %18 = alloca %"class.Lepton::ParseToken", align 8
  %19 = alloca i1, align 1
  %20 = alloca double, align 8
  %21 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %22 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %23 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %27 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca i1, align 1
  %31 = alloca %"class.std::vector.3", align 8
  %32 = alloca i8, align 1
  %33 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator", align 1
  %36 = alloca i1, align 1
  %37 = alloca ptr, align 8
  %38 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %39 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %40 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca i1, align 1
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %47 = alloca ptr, align 8
  %48 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #10
  %54 = icmp eq i64 %51, %53
  br i1 %54, label %55, label %71

55:                                               ; preds = %6
  store i1 true, ptr %17, align 1
  %56 = call ptr @__cxa_allocate_exception(i64 40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %57 unwind label %59

57:                                               ; preds = %55
  invoke void @_ZN6Lepton9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %56, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %58 unwind label %63

58:                                               ; preds = %57
  store i1 false, ptr %17, align 1
  invoke void @__cxa_throw(ptr %56, ptr @_ZTIN6Lepton9ExceptionE, ptr @_ZN6Lepton9ExceptionD2Ev) #11
          to label %568 unwind label %63

59:                                               ; preds = %55
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %15, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %16, align 4
  br label %67

63:                                               ; preds = %58, %57
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %15, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  br label %67

67:                                               ; preds = %63, %59
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #10
  %68 = load i1, ptr %17, align 1
  br i1 %68, label %69, label %70

69:                                               ; preds = %67
  call void @__cxa_free_exception(ptr %56) #10
  br label %70

70:                                               ; preds = %69, %67
  br label %560

71:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #10
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load i32, ptr %73, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %75) #10
  call void @_ZN6Lepton10ParseTokenC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %18, ptr noundef nonnull align 8 dereferenceable(36) %76)
  store i1 false, ptr %19, align 1
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %77 unwind label %99

77:                                               ; preds = %71
  %78 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %79 unwind label %103

79:                                               ; preds = %77
  %80 = icmp eq i32 %78, 0
  br i1 %80, label %81, label %130

81:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.start.p0(i64 392, ptr %21) #10
  %82 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %83 unwind label %107

83:                                               ; preds = %81
  %84 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 8)
          to label %85 unwind label %107

85:                                               ; preds = %83
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(128) %21, ptr noundef nonnull align 8 dereferenceable(32) %82, i32 noundef %84)
          to label %86 unwind label %107

86:                                               ; preds = %85
  %87 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStrsINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEERdEOT_S8_OT0_(ptr noundef nonnull align 8 dereferenceable(128) %21, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %88 unwind label %111

88:                                               ; preds = %86
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21) #10
  call void @llvm.lifetime.end.p0(i64 392, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #10
  %89 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #12
          to label %90 unwind label %116

90:                                               ; preds = %88
  %91 = load double, ptr %20, align 8, !tbaa !11
  invoke void @_ZN6Lepton9Operation8ConstantC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %89, double noundef %91)
          to label %92 unwind label %120

92:                                               ; preds = %90
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef %89)
          to label %93 unwind label %116

93:                                               ; preds = %92
  %94 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %95 unwind label %124

95:                                               ; preds = %93
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #10
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %96, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %442

99:                                               ; preds = %71
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %15, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %16, align 4
  br label %559

103:                                              ; preds = %461, %450, %384, %382, %378, %246, %208, %187, %130, %77
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %15, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %16, align 4
  br label %558

107:                                              ; preds = %85, %83, %81
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %15, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %16, align 4
  br label %115

111:                                              ; preds = %86
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %15, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %16, align 4
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21) #10
  br label %115

115:                                              ; preds = %111, %107
  call void @llvm.lifetime.end.p0(i64 392, ptr %21) #10
  br label %129

116:                                              ; preds = %92, %88
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %15, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %16, align 4
  br label %128

120:                                              ; preds = %90
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %15, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %16, align 4
  call void @_ZdlPvm(ptr noundef %89, i64 noundef 16) #13
  br label %128

124:                                              ; preds = %93
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %15, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %16, align 4
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  br label %128

128:                                              ; preds = %124, %120, %116
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #10
  br label %129

129:                                              ; preds = %128, %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %558

130:                                              ; preds = %79
  %131 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %132 unwind label %103

132:                                              ; preds = %130
  %133 = icmp eq i32 %131, 2
  br i1 %133, label %134, label %187

134:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %137 unwind label %155

137:                                              ; preds = %134
  %138 = invoke ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeESt4lessIS5_ESaISt4pairIKS5_S7_EEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(48) %135, ptr noundef nonnull align 8 dereferenceable(32) %136)
          to label %139 unwind label %155

139:                                              ; preds = %137
  %140 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %23, i32 0, i32 0
  store ptr %138, ptr %140, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %141 = load ptr, ptr %11, align 8, !tbaa !5
  %142 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeESt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %141) #10
  %143 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %24, i32 0, i32 0
  store ptr %142, ptr %143, align 8
  %144 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br i1 %144, label %145, label %177

145:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %146 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #12
          to label %147 unwind label %159

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %149 unwind label %163

149:                                              ; preds = %147
  invoke void @_ZN6Lepton9Operation8VariableC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %146, ptr noundef nonnull align 8 dereferenceable(32) %148)
          to label %150 unwind label %163

150:                                              ; preds = %149
  store ptr %146, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #10
  %151 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %151)
          to label %152 unwind label %167

152:                                              ; preds = %150
  %153 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %154 unwind label %171

154:                                              ; preds = %152
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %182

155:                                              ; preds = %177, %137, %134
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %15, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %16, align 4
  br label %186

159:                                              ; preds = %145
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %15, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %16, align 4
  br label %176

163:                                              ; preds = %149, %147
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %15, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %16, align 4
  call void @_ZdlPvm(ptr noundef %146, i64 noundef 40) #13
  br label %176

167:                                              ; preds = %150
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %15, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %16, align 4
  br label %175

171:                                              ; preds = %152
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %15, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %16, align 4
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  br label %175

175:                                              ; preds = %171, %167
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #10
  br label %176

176:                                              ; preds = %175, %163, %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %186

177:                                              ; preds = %139
  %178 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  %179 = getelementptr inbounds %"struct.std::pair", ptr %178, i32 0, i32 1
  %180 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %179)
          to label %181 unwind label %155

181:                                              ; preds = %177
  br label %182

182:                                              ; preds = %181, %154
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = load i32, ptr %183, align 4, !tbaa !9
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %183, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %441

186:                                              ; preds = %176, %155
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %558

187:                                              ; preds = %132
  %188 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %189 unwind label %103

189:                                              ; preds = %187
  %190 = icmp eq i32 %188, 4
  br i1 %190, label %191, label %246

191:                                              ; preds = %189
  %192 = load ptr, ptr %9, align 8, !tbaa !5
  %193 = load i32, ptr %192, align 4, !tbaa !9
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %192, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #10
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = load ptr, ptr %9, align 8, !tbaa !5
  %197 = load ptr, ptr %10, align 8, !tbaa !5
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %195, ptr noundef nonnull align 4 dereferenceable(4) %196, ptr noundef nonnull align 8 dereferenceable(48) %197, ptr noundef nonnull align 8 dereferenceable(48) %198, i32 noundef 0)
          to label %199 unwind label %221

199:                                              ; preds = %191
  %200 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %201 unwind label %225

201:                                              ; preds = %199
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #10
  %202 = load ptr, ptr %9, align 8, !tbaa !5
  %203 = load i32, ptr %202, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = load ptr, ptr %8, align 8, !tbaa !5
  %206 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %205) #10
  %207 = icmp eq i64 %204, %206
  br i1 %207, label %217, label %208

208:                                              ; preds = %201
  %209 = load ptr, ptr %8, align 8, !tbaa !5
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = load i32, ptr %210, align 4, !tbaa !9
  %212 = sext i32 %211 to i64
  %213 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %209, i64 noundef %212) #10
  %214 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %213)
          to label %215 unwind label %103

215:                                              ; preds = %208
  %216 = icmp ne i32 %214, 5
  br i1 %216, label %217, label %242

217:                                              ; preds = %215, %201
  store i1 true, ptr %30, align 1
  %218 = call ptr @__cxa_allocate_exception(i64 40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %219 unwind label %230

219:                                              ; preds = %217
  invoke void @_ZN6Lepton9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %218, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %220 unwind label %234

220:                                              ; preds = %219
  store i1 false, ptr %30, align 1
  invoke void @__cxa_throw(ptr %218, ptr @_ZTIN6Lepton9ExceptionE, ptr @_ZN6Lepton9ExceptionD2Ev) #11
          to label %568 unwind label %234

221:                                              ; preds = %191
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %15, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %16, align 4
  br label %229

225:                                              ; preds = %199
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %15, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %16, align 4
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #10
  br label %229

229:                                              ; preds = %225, %221
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #10
  br label %558

230:                                              ; preds = %217
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %15, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %16, align 4
  br label %238

234:                                              ; preds = %220, %219
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %15, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  br label %238

238:                                              ; preds = %234, %230
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #10
  %239 = load i1, ptr %30, align 1
  br i1 %239, label %240, label %241

240:                                              ; preds = %238
  call void @__cxa_free_exception(ptr %218) #10
  br label %241

241:                                              ; preds = %240, %238
  br label %558

242:                                              ; preds = %215
  %243 = load ptr, ptr %9, align 8, !tbaa !5
  %244 = load i32, ptr %243, align 4, !tbaa !9
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %243, align 4, !tbaa !9
  br label %440

246:                                              ; preds = %189
  %247 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %248 unwind label %103

248:                                              ; preds = %246
  %249 = icmp eq i32 %247, 3
  br i1 %249, label %250, label %378

250:                                              ; preds = %248
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = load i32, ptr %251, align 4, !tbaa !9
  %253 = add nsw i32 %252, 1
  store i32 %253, ptr %251, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #10
  call void @_ZNSt6vectorIN6Lepton18ExpressionTreeNodeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #10
  br label %254

254:                                              ; preds = %299, %250
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #10
  %255 = load ptr, ptr %8, align 8, !tbaa !5
  %256 = load ptr, ptr %9, align 8, !tbaa !5
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %33, ptr noundef nonnull align 8 dereferenceable(24) %255, ptr noundef nonnull align 4 dereferenceable(4) %256, ptr noundef nonnull align 8 dereferenceable(48) %257, ptr noundef nonnull align 8 dereferenceable(48) %258, i32 noundef 0)
          to label %259 unwind label %285

259:                                              ; preds = %254
  invoke void @_ZNSt6vectorIN6Lepton18ExpressionTreeNodeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %260 unwind label %289

260:                                              ; preds = %259
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  %261 = load ptr, ptr %9, align 8, !tbaa !5
  %262 = load i32, ptr %261, align 4, !tbaa !9
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %264 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %263) #10
  %265 = trunc i64 %264 to i32
  %266 = icmp slt i32 %262, %265
  br i1 %266, label %267, label %276

267:                                              ; preds = %260
  %268 = load ptr, ptr %8, align 8, !tbaa !5
  %269 = load ptr, ptr %9, align 8, !tbaa !5
  %270 = load i32, ptr %269, align 4, !tbaa !9
  %271 = sext i32 %270 to i64
  %272 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef %271) #10
  %273 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %272)
          to label %274 unwind label %294

274:                                              ; preds = %267
  %275 = icmp eq i32 %273, 6
  br label %276

276:                                              ; preds = %274, %260
  %277 = phi i1 [ false, %260 ], [ %275, %274 ]
  %278 = zext i1 %277 to i8
  store i8 %278, ptr %32, align 1, !tbaa !13
  %279 = load i8, ptr %32, align 1, !tbaa !13, !range !15, !noundef !16
  %280 = trunc i8 %279 to i1
  br i1 %280, label %281, label %298

281:                                              ; preds = %276
  %282 = load ptr, ptr %9, align 8, !tbaa !5
  %283 = load i32, ptr %282, align 4, !tbaa !9
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %282, align 4, !tbaa !9
  br label %298

285:                                              ; preds = %254
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %15, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %16, align 4
  br label %293

289:                                              ; preds = %259
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %15, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %16, align 4
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  br label %293

293:                                              ; preds = %289, %285
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  br label %377

294:                                              ; preds = %309, %267
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %15, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %16, align 4
  br label %377

298:                                              ; preds = %281, %276
  br label %299

299:                                              ; preds = %298
  %300 = load i8, ptr %32, align 1, !tbaa !13, !range !15, !noundef !16
  %301 = trunc i8 %300 to i1
  br i1 %301, label %254, label %302, !llvm.loop !17

302:                                              ; preds = %299
  %303 = load ptr, ptr %9, align 8, !tbaa !5
  %304 = load i32, ptr %303, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = load ptr, ptr %8, align 8, !tbaa !5
  %307 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %306) #10
  %308 = icmp eq i64 %305, %307
  br i1 %308, label %318, label %309

309:                                              ; preds = %302
  %310 = load ptr, ptr %8, align 8, !tbaa !5
  %311 = load ptr, ptr %9, align 8, !tbaa !5
  %312 = load i32, ptr %311, align 4, !tbaa !9
  %313 = sext i32 %312 to i64
  %314 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %310, i64 noundef %313) #10
  %315 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %314)
          to label %316 unwind label %294

316:                                              ; preds = %309
  %317 = icmp ne i32 %315, 5
  br i1 %317, label %318, label %334

318:                                              ; preds = %316, %302
  store i1 true, ptr %36, align 1
  %319 = call ptr @__cxa_allocate_exception(i64 40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %320 unwind label %322

320:                                              ; preds = %318
  invoke void @_ZN6Lepton9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %319, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %321 unwind label %326

321:                                              ; preds = %320
  store i1 false, ptr %36, align 1
  invoke void @__cxa_throw(ptr %319, ptr @_ZTIN6Lepton9ExceptionE, ptr @_ZN6Lepton9ExceptionD2Ev) #11
          to label %568 unwind label %326

322:                                              ; preds = %318
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %15, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %16, align 4
  br label %330

326:                                              ; preds = %321, %320
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %15, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  br label %330

330:                                              ; preds = %326, %322
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #10
  %331 = load i1, ptr %36, align 1
  br i1 %331, label %332, label %333

332:                                              ; preds = %330
  call void @__cxa_free_exception(ptr %319) #10
  br label %333

333:                                              ; preds = %332, %330
  br label %377

334:                                              ; preds = %316
  %335 = load ptr, ptr %9, align 8, !tbaa !5
  %336 = load i32, ptr %335, align 4, !tbaa !9
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr %335, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %338 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %339 unwind label %347

339:                                              ; preds = %334
  %340 = load ptr, ptr %10, align 8, !tbaa !5
  %341 = invoke noundef ptr @_ZN6Lepton6Parser20getFunctionOperationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3mapIS6_PNS_14CustomFunctionESt4lessIS6_ESaISt4pairIS7_SB_EEE(ptr noundef nonnull align 8 dereferenceable(32) %338, ptr noundef nonnull align 8 dereferenceable(48) %340)
          to label %342 unwind label %347

342:                                              ; preds = %339
  store ptr %341, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #10
  %343 = load ptr, ptr %37, align 8, !tbaa !5
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef %343, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %344 unwind label %351

344:                                              ; preds = %342
  %345 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %346 unwind label %355

346:                                              ; preds = %344
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #10
  br label %375

347:                                              ; preds = %339, %334
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %15, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %16, align 4
  br label %376

351:                                              ; preds = %342
  %352 = landingpad { ptr, i32 }
          catch ptr null
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %15, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %16, align 4
  br label %359

355:                                              ; preds = %344
  %356 = landingpad { ptr, i32 }
          catch ptr null
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %15, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %16, align 4
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #10
  br label %359

359:                                              ; preds = %355, %351
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #10
  br label %360

360:                                              ; preds = %359
  %361 = load ptr, ptr %15, align 8
  %362 = call ptr @__cxa_begin_catch(ptr %361) #10
  %363 = load ptr, ptr %37, align 8, !tbaa !5
  %364 = icmp eq ptr %363, null
  br i1 %364, label %369, label %365

365:                                              ; preds = %360
  %366 = load ptr, ptr %363, align 8, !tbaa !19
  %367 = getelementptr inbounds ptr, ptr %366, i64 1
  %368 = load ptr, ptr %367, align 8
  call void %368(ptr noundef nonnull align 8 dereferenceable(8) %363) #10
  br label %369

369:                                              ; preds = %365, %360
  invoke void @__cxa_rethrow() #11
          to label %568 unwind label %370

370:                                              ; preds = %369
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %15, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %16, align 4
  invoke void @__cxa_end_catch()
          to label %374 unwind label %565

374:                                              ; preds = %370
  br label %376

375:                                              ; preds = %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #10
  call void @_ZNSt6vectorIN6Lepton18ExpressionTreeNodeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #10
  br label %439

376:                                              ; preds = %374, %347
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  br label %377

377:                                              ; preds = %376, %333, %294, %293
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #10
  call void @_ZNSt6vectorIN6Lepton18ExpressionTreeNodeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #10
  br label %558

378:                                              ; preds = %248
  %379 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %380 unwind label %103

380:                                              ; preds = %378
  %381 = icmp eq i32 %379, 1
  br i1 %381, label %382, label %420

382:                                              ; preds = %380
  %383 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %384 unwind label %103

384:                                              ; preds = %382
  %385 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %383, ptr noundef @.str.13)
          to label %386 unwind label %103

386:                                              ; preds = %384
  br i1 %385, label %387, label %420

387:                                              ; preds = %386
  %388 = load ptr, ptr %9, align 8, !tbaa !5
  %389 = load i32, ptr %388, align 4, !tbaa !9
  %390 = add nsw i32 %389, 1
  store i32 %390, ptr %388, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #10
  %391 = load ptr, ptr %8, align 8, !tbaa !5
  %392 = load ptr, ptr %9, align 8, !tbaa !5
  %393 = load ptr, ptr %10, align 8, !tbaa !5
  %394 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %391, ptr noundef nonnull align 4 dereferenceable(4) %392, ptr noundef nonnull align 8 dereferenceable(48) %393, ptr noundef nonnull align 8 dereferenceable(48) %394, i32 noundef 2)
          to label %395 unwind label %402

395:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #10
  %396 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 8) #12
          to label %397 unwind label %406

397:                                              ; preds = %395
  invoke void @_ZN6Lepton9Operation6NegateC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %396)
          to label %398 unwind label %410

398:                                              ; preds = %397
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef %396, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %399 unwind label %406

399:                                              ; preds = %398
  %400 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %401 unwind label %414

401:                                              ; preds = %399
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #10
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #10
  br label %438

402:                                              ; preds = %387
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %15, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %16, align 4
  br label %419

406:                                              ; preds = %398, %395
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %15, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %16, align 4
  br label %418

410:                                              ; preds = %397
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %15, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %16, align 4
  call void @_ZdlPvm(ptr noundef %396, i64 noundef 8) #13
  br label %418

414:                                              ; preds = %399
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %15, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %16, align 4
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #10
  br label %418

418:                                              ; preds = %414, %410, %406
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #10
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #10
  br label %419

419:                                              ; preds = %418, %402
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #10
  br label %558

420:                                              ; preds = %386, %380
  store i1 true, ptr %42, align 1
  %421 = call ptr @__cxa_allocate_exception(i64 40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #10
  %422 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %423 unwind label %426

423:                                              ; preds = %420
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef @.str.14, ptr noundef nonnull align 8 dereferenceable(32) %422)
          to label %424 unwind label %426

424:                                              ; preds = %423
  invoke void @_ZN6Lepton9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %421, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %425 unwind label %430

425:                                              ; preds = %424
  store i1 false, ptr %42, align 1
  invoke void @__cxa_throw(ptr %421, ptr @_ZTIN6Lepton9ExceptionE, ptr @_ZN6Lepton9ExceptionD2Ev) #11
          to label %568 unwind label %430

426:                                              ; preds = %423, %420
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %15, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %16, align 4
  br label %434

430:                                              ; preds = %425, %424
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %15, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  br label %434

434:                                              ; preds = %430, %426
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #10
  %435 = load i1, ptr %42, align 1
  br i1 %435, label %436, label %437

436:                                              ; preds = %434
  call void @__cxa_free_exception(ptr %421) #10
  br label %437

437:                                              ; preds = %436, %434
  br label %558

438:                                              ; preds = %401
  br label %439

439:                                              ; preds = %438, %375
  br label %440

440:                                              ; preds = %439, %242
  br label %441

441:                                              ; preds = %440, %182
  br label %442

442:                                              ; preds = %441, %95
  br label %443

443:                                              ; preds = %549, %442
  %444 = load ptr, ptr %9, align 8, !tbaa !5
  %445 = load i32, ptr %444, align 4, !tbaa !9
  %446 = load ptr, ptr %8, align 8, !tbaa !5
  %447 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %446) #10
  %448 = trunc i64 %447 to i32
  %449 = icmp slt i32 %445, %448
  br i1 %449, label %450, label %459

450:                                              ; preds = %443
  %451 = load ptr, ptr %8, align 8, !tbaa !5
  %452 = load ptr, ptr %9, align 8, !tbaa !5
  %453 = load i32, ptr %452, align 4, !tbaa !9
  %454 = sext i32 %453 to i64
  %455 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %451, i64 noundef %454) #10
  %456 = invoke noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %455)
          to label %457 unwind label %103

457:                                              ; preds = %450
  %458 = icmp eq i32 %456, 1
  br label %459

459:                                              ; preds = %457, %443
  %460 = phi i1 [ false, %443 ], [ %458, %457 ]
  br i1 %460, label %461, label %553

461:                                              ; preds = %459
  %462 = load ptr, ptr %8, align 8, !tbaa !5
  %463 = load ptr, ptr %9, align 8, !tbaa !5
  %464 = load i32, ptr %463, align 4, !tbaa !9
  %465 = sext i32 %464 to i64
  %466 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %462, i64 noundef %465) #10
  %467 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN6Lepton10ParseTokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %18, ptr noundef nonnull align 8 dereferenceable(36) %466)
          to label %468 unwind label %103

468:                                              ; preds = %461
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %469 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %470 unwind label %481

470:                                              ; preds = %468
  %471 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) @_ZL9OperatorsB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %469, i64 noundef 0) #10
  %472 = trunc i64 %471 to i32
  store i32 %472, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #10
  %473 = load i32, ptr %43, align 4, !tbaa !9
  %474 = sext i32 %473 to i64
  %475 = getelementptr inbounds [5 x i32], ptr @_ZL10Precedence, i64 0, i64 %474
  %476 = load i32, ptr %475, align 4, !tbaa !9
  store i32 %476, ptr %44, align 4, !tbaa !9
  %477 = load i32, ptr %44, align 4, !tbaa !9
  %478 = load i32, ptr %12, align 4, !tbaa !9
  %479 = icmp slt i32 %477, %478
  br i1 %479, label %480, label %485

480:                                              ; preds = %470
  store i1 true, ptr %19, align 1
  store i32 1, ptr %45, align 4
  br label %547

481:                                              ; preds = %468
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %15, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %16, align 4
  br label %552

485:                                              ; preds = %470
  %486 = load ptr, ptr %9, align 8, !tbaa !5
  %487 = load i32, ptr %486, align 4, !tbaa !9
  %488 = add nsw i32 %487, 1
  store i32 %488, ptr %486, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #10
  %489 = load ptr, ptr %8, align 8, !tbaa !5
  %490 = load ptr, ptr %9, align 8, !tbaa !5
  %491 = load ptr, ptr %10, align 8, !tbaa !5
  %492 = load ptr, ptr %11, align 8, !tbaa !5
  %493 = load i32, ptr %43, align 4, !tbaa !9
  %494 = sext i32 %493 to i64
  %495 = getelementptr inbounds [5 x i8], ptr @_ZL15LeftAssociative, i64 0, i64 %494
  %496 = load i8, ptr %495, align 1, !tbaa !13, !range !15, !noundef !16
  %497 = trunc i8 %496 to i1
  br i1 %497, label %498, label %501

498:                                              ; preds = %485
  %499 = load i32, ptr %44, align 4, !tbaa !9
  %500 = add nsw i32 %499, 1
  br label %503

501:                                              ; preds = %485
  %502 = load i32, ptr %44, align 4, !tbaa !9
  br label %503

503:                                              ; preds = %501, %498
  %504 = phi i32 [ %500, %498 ], [ %502, %501 ]
  invoke void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %46, ptr noundef nonnull align 8 dereferenceable(24) %489, ptr noundef nonnull align 4 dereferenceable(4) %490, ptr noundef nonnull align 8 dereferenceable(48) %491, ptr noundef nonnull align 8 dereferenceable(48) %492, i32 noundef %504)
          to label %505 unwind label %514

505:                                              ; preds = %503
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  %506 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %507 unwind label %518

507:                                              ; preds = %505
  %508 = invoke noundef ptr @_ZN6Lepton6Parser20getOperatorOperationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %506)
          to label %509 unwind label %518

509:                                              ; preds = %507
  store ptr %508, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #10
  %510 = load ptr, ptr %47, align 8, !tbaa !5
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKS0_S4_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef %510, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %511 unwind label %522

511:                                              ; preds = %509
  %512 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %513 unwind label %526

513:                                              ; preds = %511
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #10
  br label %546

514:                                              ; preds = %503
  %515 = landingpad { ptr, i32 }
          cleanup
  %516 = extractvalue { ptr, i32 } %515, 0
  store ptr %516, ptr %15, align 8
  %517 = extractvalue { ptr, i32 } %515, 1
  store i32 %517, ptr %16, align 4
  br label %551

518:                                              ; preds = %507, %505
  %519 = landingpad { ptr, i32 }
          cleanup
  %520 = extractvalue { ptr, i32 } %519, 0
  store ptr %520, ptr %15, align 8
  %521 = extractvalue { ptr, i32 } %519, 1
  store i32 %521, ptr %16, align 4
  br label %550

522:                                              ; preds = %509
  %523 = landingpad { ptr, i32 }
          catch ptr null
  %524 = extractvalue { ptr, i32 } %523, 0
  store ptr %524, ptr %15, align 8
  %525 = extractvalue { ptr, i32 } %523, 1
  store i32 %525, ptr %16, align 4
  br label %530

526:                                              ; preds = %511
  %527 = landingpad { ptr, i32 }
          catch ptr null
  %528 = extractvalue { ptr, i32 } %527, 0
  store ptr %528, ptr %15, align 8
  %529 = extractvalue { ptr, i32 } %527, 1
  store i32 %529, ptr %16, align 4
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  br label %530

530:                                              ; preds = %526, %522
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #10
  br label %531

531:                                              ; preds = %530
  %532 = load ptr, ptr %15, align 8
  %533 = call ptr @__cxa_begin_catch(ptr %532) #10
  %534 = load ptr, ptr %47, align 8, !tbaa !5
  %535 = icmp eq ptr %534, null
  br i1 %535, label %540, label %536

536:                                              ; preds = %531
  %537 = load ptr, ptr %534, align 8, !tbaa !19
  %538 = getelementptr inbounds ptr, ptr %537, i64 1
  %539 = load ptr, ptr %538, align 8
  call void %539(ptr noundef nonnull align 8 dereferenceable(8) %534) #10
  br label %540

540:                                              ; preds = %536, %531
  invoke void @__cxa_rethrow() #11
          to label %568 unwind label %541

541:                                              ; preds = %540
  %542 = landingpad { ptr, i32 }
          cleanup
  %543 = extractvalue { ptr, i32 } %542, 0
  store ptr %543, ptr %15, align 8
  %544 = extractvalue { ptr, i32 } %542, 1
  store i32 %544, ptr %16, align 4
  invoke void @__cxa_end_catch()
          to label %545 unwind label %565

545:                                              ; preds = %541
  br label %550

546:                                              ; preds = %513
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #10
  store i32 0, ptr %45, align 4
  br label %547

547:                                              ; preds = %546, %480
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  %548 = load i32, ptr %45, align 4
  switch i32 %548, label %554 [
    i32 0, label %549
  ]

549:                                              ; preds = %547
  br label %443, !llvm.loop !21

550:                                              ; preds = %545, %518
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #10
  br label %551

551:                                              ; preds = %550, %514
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #10
  br label %552

552:                                              ; preds = %551, %481
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  br label %558

553:                                              ; preds = %459
  store i1 true, ptr %19, align 1
  store i32 1, ptr %45, align 4
  br label %554

554:                                              ; preds = %553, %547
  %555 = load i1, ptr %19, align 1
  br i1 %555, label %557, label %556

556:                                              ; preds = %554
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #10
  br label %557

557:                                              ; preds = %556, %554
  call void @_ZN6Lepton10ParseTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #10
  ret void

558:                                              ; preds = %552, %437, %419, %377, %241, %229, %186, %129, %103
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #10
  br label %559

559:                                              ; preds = %558, %99
  call void @_ZN6Lepton10ParseTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #10
  br label %560

560:                                              ; preds = %559, %70
  %561 = load ptr, ptr %15, align 8
  %562 = load i32, ptr %16, align 4
  %563 = insertvalue { ptr, i32 } poison, ptr %561, 0
  %564 = insertvalue { ptr, i32 } %563, i32 %562, 1
  resume { ptr, i32 } %564

565:                                              ; preds = %541, %370
  %566 = landingpad { ptr, i32 }
          catch ptr null
  %567 = extractvalue { ptr, i32 } %566, 0
  call void @__clang_call_terminate(ptr %567) #14
  unreachable

568:                                              ; preds = %540, %425, %369, %321, %220, %58
  unreachable
}

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: nounwind
declare void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

declare void @_ZN6Lepton18ExpressionTreeNodeC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStrsINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEERdEOT_S8_OT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

declare void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeEEESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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

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

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

declare void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_rethrow()

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #9

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

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

declare void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN6Lepton10ParseTokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #1 align 2

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

declare void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKS0_S4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { noinline noreturn nounwind uwtable "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 #10 = { nounwind }
attributes #11 = { noreturn }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin nounwind }
attributes #14 = { noreturn 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !8, i64 0}
!21 = distinct !{!21, !18}


; 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"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Lepton::ExpressionTreeNode" = type { ptr, %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<Lepton::ExpressionTreeNode, std::allocator<Lepton::ExpressionTreeNode>>::_Vector_impl" }
%"struct.std::_Vector_base<Lepton::ExpressionTreeNode, std::allocator<Lepton::ExpressionTreeNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<Lepton::ExpressionTreeNode, std::allocator<Lepton::ExpressionTreeNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Lepton::ExpressionTreeNode, std::allocator<Lepton::ExpressionTreeNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.Lepton::ParseToken" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@_ZL9OperatorsB5cxx11 = external hidden global %"class.std::__cxx11::basic_string", align 8
@_ZTIN6Lepton9ExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.11 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [32 x i8], align 1
@_ZL10Precedence = external hidden local_unnamed_addr constant [5 x i32], align 16
@_ZL15LeftAssociative = external hidden local_unnamed_addr constant [5 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind noalias writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i32 noundef %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.Lepton::ParseToken", align 8
  %10 = alloca double, align 8
  %11 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %12 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %16 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::vector.3", align 8
  %20 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %24 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %25 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %28 = alloca %"class.Lepton::ExpressionTreeNode", align 8
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = zext i32 %29 to i64
  %31 = tail call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #10
  %32 = icmp eq i64 %31, %30
  br i1 %32, label %33, label %41

33:                                               ; preds = %6
  %34 = tail call ptr @__cxa_allocate_exception(i64 40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %35 unwind label %.thread

35:                                               ; preds = %33
  invoke void @_ZN6Lepton9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %36 unwind label %38

36:                                               ; preds = %35
  invoke void @__cxa_throw(ptr nonnull %34, ptr nonnull @_ZTIN6Lepton9ExceptionE, ptr nonnull @_ZN6Lepton9ExceptionD2Ev) #11
          to label %315 unwind label %38

.thread:                                          ; preds = %33
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #10
  br label %40

38:                                               ; preds = %35, %36
  %.094 = phi i1 [ false, %36 ], [ true, %35 ]
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #10
  br i1 %.094, label %40, label %311

40:                                               ; preds = %.thread, %38
  %.pn141150 = phi { ptr, i32 } [ %37, %.thread ], [ %39, %38 ]
  call void @__cxa_free_exception(ptr %34) #10
  br label %311

41:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #10
  %42 = load i32, ptr %2, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = tail call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %43) #10
  call void @_ZN6Lepton10ParseTokenC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %9, ptr noundef nonnull align 8 dereferenceable(36) %44)
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %45 unwind label %62

45:                                               ; preds = %41
  %46 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %77

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %11) #10
  %49 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %50 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 8)
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(128) %11, ptr noundef nonnull align 8 dereferenceable(32) %49, i32 noundef %50)
          to label %51 unwind label %66

51:                                               ; preds = %48
  %52 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStrsINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEERdEOT_S8_OT0_(ptr noundef nonnull align 8 dereferenceable(128) %11, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %53 unwind label %68

53:                                               ; preds = %51
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %11) #10
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %11) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #10
  %54 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #12
          to label %55 unwind label %71

55:                                               ; preds = %53
  %56 = load double, ptr %10, align 8, !tbaa !9
  call void @_ZN6Lepton9Operation8ConstantC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %54, double noundef %56)
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull %54)
          to label %57 unwind label %71

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %59 unwind label %73

59:                                               ; preds = %57
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  br label %250

62:                                               ; preds = %41
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %310

64:                                               ; preds = %260
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %309

66:                                               ; preds = %48
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %70

68:                                               ; preds = %51
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %11) #10
  br label %70

70:                                               ; preds = %68, %66
  %.pn129 = phi { ptr, i32 } [ %69, %68 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %11) #10
  br label %76

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

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

75:                                               ; preds = %73, %71
  %.pn131 = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  br label %76

76:                                               ; preds = %75, %70
  %.pn131.pn = phi { ptr, i32 } [ %.pn131, %75 ], [ %.pn129, %70 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  br label %309

77:                                               ; preds = %45
  %78 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %79 = icmp eq i32 %78, 2
  br i1 %79, label %80, label %113

80:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  %81 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %82 = invoke ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeESt4lessIS5_ESaISt4pairIKS5_S7_EEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %83 unwind label %94

83:                                               ; preds = %80
  store ptr %82, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  %84 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeESt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #10
  store ptr %84, ptr %14, align 8
  %85 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br i1 %85, label %86, label %105

86:                                               ; preds = %83
  %87 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #12
          to label %88 unwind label %96

88:                                               ; preds = %86
  %89 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %9)
  invoke void @_ZN6Lepton9Operation8VariableC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %87, ptr noundef nonnull align 8 dereferenceable(32) %89)
          to label %90 unwind label %98

90:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #10
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull %87)
          to label %91 unwind label %100

91:                                               ; preds = %90
  %92 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %93 unwind label %102

93:                                               ; preds = %91
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #10
  br label %109

94:                                               ; preds = %105, %80
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %112

96:                                               ; preds = %86
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %112

98:                                               ; preds = %88
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %87, i64 noundef 40) #13
  br label %112

100:                                              ; preds = %90
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

102:                                              ; preds = %91
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  br label %104

104:                                              ; preds = %102, %100
  %.pn125 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #10
  br label %112

105:                                              ; preds = %83
  %106 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  %107 = getelementptr inbounds i8, ptr %106, i64 32
  %108 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %107)
          to label %109 unwind label %94

109:                                              ; preds = %105, %93
  %110 = load i32, ptr %2, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %250

112:                                              ; preds = %96, %98, %104, %94
  %.pn125.pn.pn = phi { ptr, i32 } [ %95, %94 ], [ %.pn125, %104 ], [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %309

113:                                              ; preds = %77
  %114 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %115 = icmp eq i32 %114, 4
  br i1 %115, label %116, label %147

116:                                              ; preds = %113
  %117 = load i32, ptr %2, align 4, !tbaa !5
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #10
  invoke void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind nonnull writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i32 noundef 0)
          to label %119 unwind label %135

119:                                              ; preds = %116
  %120 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %121 unwind label %137

121:                                              ; preds = %119
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  %122 = load i32, ptr %2, align 4, !tbaa !5
  %123 = zext i32 %122 to i64
  %124 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #10
  %125 = icmp eq i64 %124, %123
  br i1 %125, label %131, label %126

126:                                              ; preds = %121
  %127 = load i32, ptr %2, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %128) #10
  %130 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %129)
  %.not122 = icmp eq i32 %130, 5
  br i1 %.not122, label %144, label %131

131:                                              ; preds = %126, %121
  %132 = call ptr @__cxa_allocate_exception(i64 40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %133 unwind label %.thread151

133:                                              ; preds = %131
  invoke void @_ZN6Lepton9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %132, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %134 unwind label %141

134:                                              ; preds = %133
  invoke void @__cxa_throw(ptr nonnull %132, ptr nonnull @_ZTIN6Lepton9ExceptionE, ptr nonnull @_ZN6Lepton9ExceptionD2Ev) #11
          to label %315 unwind label %141

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

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

139:                                              ; preds = %137, %135
  %.pn120 = phi { ptr, i32 } [ %138, %137 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  br label %309

.thread151:                                       ; preds = %131
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #10
  br label %143

141:                                              ; preds = %133, %134
  %.0103 = phi i1 [ false, %134 ], [ true, %133 ]
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #10
  br i1 %.0103, label %143, label %309

143:                                              ; preds = %.thread151, %141
  %.pn123154 = phi { ptr, i32 } [ %140, %.thread151 ], [ %142, %141 ]
  call void @__cxa_free_exception(ptr %132) #10
  br label %309

144:                                              ; preds = %126
  %145 = load i32, ptr %2, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %2, align 4, !tbaa !5
  br label %250

147:                                              ; preds = %113
  %148 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %149 = icmp eq i32 %148, 3
  br i1 %149, label %150, label %217

150:                                              ; preds = %147
  %151 = load i32, ptr %2, align 4, !tbaa !5
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  call void @_ZNSt6vectorIN6Lepton18ExpressionTreeNodeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #10
  br label %153

153:                                              ; preds = %166, %150
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #10
  invoke void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind nonnull writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i32 noundef 0)
          to label %154 unwind label %169

154:                                              ; preds = %153
  invoke void @_ZNSt6vectorIN6Lepton18ExpressionTreeNodeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %155 unwind label %171

155:                                              ; preds = %154
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #10
  %156 = load i32, ptr %2, align 4, !tbaa !5
  %157 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #10
  %158 = trunc i64 %157 to i32
  %159 = icmp slt i32 %156, %158
  br i1 %159, label %160, label %.critedge145

160:                                              ; preds = %155
  %161 = load i32, ptr %2, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %162) #10
  %164 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %163)
  %165 = icmp eq i32 %164, 6
  br i1 %165, label %166, label %.critedge145

166:                                              ; preds = %160
  %167 = load i32, ptr %2, align 4, !tbaa !5
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %2, align 4, !tbaa !5
  br label %153, !llvm.loop !11

169:                                              ; preds = %153
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %173

171:                                              ; preds = %154
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  br label %173

173:                                              ; preds = %171, %169
  %.pn112 = phi { ptr, i32 } [ %172, %171 ], [ %170, %169 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #10
  br label %216

.critedge145:                                     ; preds = %155, %160
  %174 = load i32, ptr %2, align 4, !tbaa !5
  %175 = zext i32 %174 to i64
  %176 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #10
  %177 = icmp eq i64 %176, %175
  br i1 %177, label %183, label %178

178:                                              ; preds = %.critedge145
  %179 = load i32, ptr %2, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %180) #10
  %182 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %181)
  %.not = icmp eq i32 %182, 5
  br i1 %.not, label %191, label %183

183:                                              ; preds = %178, %.critedge145
  %184 = call ptr @__cxa_allocate_exception(i64 40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %185 unwind label %.thread155

185:                                              ; preds = %183
  invoke void @_ZN6Lepton9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %184, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %186 unwind label %188

186:                                              ; preds = %185
  invoke void @__cxa_throw(ptr nonnull %184, ptr nonnull @_ZTIN6Lepton9ExceptionE, ptr nonnull @_ZN6Lepton9ExceptionD2Ev) #11
          to label %315 unwind label %188

.thread155:                                       ; preds = %183
  %187 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  br label %190

188:                                              ; preds = %185, %186
  %.0101 = phi i1 [ false, %186 ], [ true, %185 ]
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  br i1 %.0101, label %190, label %216

190:                                              ; preds = %.thread155, %188
  %.pn117158 = phi { ptr, i32 } [ %187, %.thread155 ], [ %189, %188 ]
  call void @__cxa_free_exception(ptr %184) #10
  br label %216

191:                                              ; preds = %178
  %192 = load i32, ptr %2, align 4, !tbaa !5
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %2, align 4, !tbaa !5
  %194 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %195 = invoke noundef ptr @_ZN6Lepton6Parser20getFunctionOperationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3mapIS6_PNS_14CustomFunctionESt4lessIS6_ESaISt4pairIS7_SB_EEE(ptr noundef nonnull align 8 dereferenceable(32) %194, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %196 unwind label %200

196:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #10
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %195, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %197 unwind label %202

197:                                              ; preds = %196
  %198 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %199 unwind label %204

199:                                              ; preds = %197
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #10
  call void @_ZNSt6vectorIN6Lepton18ExpressionTreeNodeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  br label %250

200:                                              ; preds = %191
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %216

202:                                              ; preds = %196
  %203 = landingpad { ptr, i32 }
          catch ptr null
  br label %206

204:                                              ; preds = %197
  %205 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  br label %206

206:                                              ; preds = %204, %202
  %.pn114 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ]
  %.11 = extractvalue { ptr, i32 } %.pn114, 0
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #10
  %207 = call ptr @__cxa_begin_catch(ptr %.11) #10
  %208 = icmp eq ptr %195, null
  br i1 %208, label %213, label %209

209:                                              ; preds = %206
  %210 = load ptr, ptr %195, align 8, !tbaa !13
  %211 = getelementptr inbounds i8, ptr %210, i64 8
  %212 = load ptr, ptr %211, align 8
  call void %212(ptr noundef nonnull align 8 dereferenceable(8) %195) #10
  br label %213

213:                                              ; preds = %209, %206
  invoke void @__cxa_rethrow() #11
          to label %315 unwind label %214

214:                                              ; preds = %213
  %215 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %216 unwind label %312

216:                                              ; preds = %200, %214, %188, %190, %173
  %.pn117.pn = phi { ptr, i32 } [ %.pn117158, %190 ], [ %189, %188 ], [ %.pn112, %173 ], [ %215, %214 ], [ %201, %200 ]
  call void @_ZNSt6vectorIN6Lepton18ExpressionTreeNodeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  br label %309

217:                                              ; preds = %147
  %218 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %219 = icmp eq i32 %218, 1
  br i1 %219, label %220, label %240

220:                                              ; preds = %217
  %221 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %222 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %221, ptr noundef nonnull @.str.13)
  br i1 %222, label %223, label %240

223:                                              ; preds = %220
  %224 = load i32, ptr %2, align 4, !tbaa !5
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #10
  invoke void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind nonnull writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %24, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i32 noundef 2)
          to label %226 unwind label %232

226:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #10
  %227 = invoke noalias noundef nonnull dereferenceable(8) ptr @_Znwm(i64 noundef 8) #12
          to label %228 unwind label %234

228:                                              ; preds = %226
  call void @_ZN6Lepton9Operation6NegateC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %227)
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull %227, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %229 unwind label %234

229:                                              ; preds = %228
  %230 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %231 unwind label %236

231:                                              ; preds = %229
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #10
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #10
  br label %250

232:                                              ; preds = %223
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %239

234:                                              ; preds = %228, %226
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %238

236:                                              ; preds = %229
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #10
  br label %238

238:                                              ; preds = %236, %234
  %.pn109 = phi { ptr, i32 } [ %237, %236 ], [ %235, %234 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #10
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #10
  br label %239

239:                                              ; preds = %238, %232
  %.pn109.pn = phi { ptr, i32 } [ %.pn109, %238 ], [ %233, %232 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #10
  br label %309

240:                                              ; preds = %220, %217
  %241 = call ptr @__cxa_allocate_exception(i64 40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #10
  %242 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %9)
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull @.str.14, ptr noundef nonnull align 8 dereferenceable(32) %242)
          to label %243 unwind label %.thread159

243:                                              ; preds = %240
  invoke void @_ZN6Lepton9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %241, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %245 unwind label %.thread163

.thread163:                                       ; preds = %243
  %244 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #10
  br label %249

245:                                              ; preds = %243
  invoke void @__cxa_throw(ptr nonnull %241, ptr nonnull @_ZTIN6Lepton9ExceptionE, ptr nonnull @_ZN6Lepton9ExceptionD2Ev) #11
          to label %315 unwind label %247

.thread159:                                       ; preds = %240
  %246 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #10
  br label %249

247:                                              ; preds = %245
  %248 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #10
  br label %309

249:                                              ; preds = %.thread163, %.thread159
  %.pn162 = phi { ptr, i32 } [ %246, %.thread159 ], [ %244, %.thread163 ]
  call void @__cxa_free_exception(ptr %241) #10
  br label %309

250:                                              ; preds = %109, %199, %231, %144, %59
  %251 = load i32, ptr %2, align 4, !tbaa !5
  %252 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #10
  %253 = trunc i64 %252 to i32
  %254 = icmp slt i32 %251, %253
  br i1 %254, label %.lr.ph, label %.critedge146

.lr.ph:                                           ; preds = %250, %302
  %255 = load i32, ptr %2, align 4, !tbaa !5
  %256 = sext i32 %255 to i64
  %257 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %256) #10
  %258 = call noundef i32 @_ZNK6Lepton10ParseToken7getTypeEv(ptr noundef nonnull align 8 dereferenceable(36) %257)
  %259 = icmp eq i32 %258, 1
  br i1 %259, label %260, label %.critedge146

260:                                              ; preds = %.lr.ph
  %261 = load i32, ptr %2, align 4, !tbaa !5
  %262 = sext i32 %261 to i64
  %263 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %262) #10
  %264 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN6Lepton10ParseTokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %9, ptr noundef nonnull align 8 dereferenceable(36) %263)
          to label %265 unwind label %64

265:                                              ; preds = %260
  %266 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %267 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32) @_ZL9OperatorsB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %266, i64 noundef 0) #10
  %sext = shl i64 %267, 32
  %268 = ashr exact i64 %sext, 32
  %269 = getelementptr inbounds [5 x i32], ptr @_ZL10Precedence, i64 0, i64 %268
  %270 = load i32, ptr %269, align 4, !tbaa !5
  %.not140 = icmp slt i32 %270, %5
  br i1 %.not140, label %.critedge146, label %271

271:                                              ; preds = %265
  %272 = load i32, ptr %2, align 4, !tbaa !5
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #10
  %274 = getelementptr inbounds [5 x i8], ptr @_ZL15LeftAssociative, i64 0, i64 %268
  %275 = load i8, ptr %274, align 1, !tbaa !15, !range !17, !noundef !18
  %276 = zext nneg i8 %275 to i32
  %277 = add nsw i32 %270, %276
  invoke void @_ZN6Lepton6Parser15parsePrecedenceERKSt6vectorINS_10ParseTokenESaIS2_EERiRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_14CustomFunctionESt4lessISE_ESaISt4pairIKSE_SG_EEERKS8_ISE_NS_18ExpressionTreeNodeESI_SaISJ_ISK_SQ_EEEi(ptr dead_on_unwind nonnull writable sret(%"class.Lepton::ExpressionTreeNode") align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i32 noundef %277)
          to label %278 unwind label %284

278:                                              ; preds = %271
  %279 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6Lepton10ParseToken7getTextB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(36) %9)
  %280 = invoke noundef ptr @_ZN6Lepton6Parser20getOperatorOperationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %279)
          to label %281 unwind label %286

281:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #10
  invoke void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKS0_S4_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %280, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %282 unwind label %288

282:                                              ; preds = %281
  %283 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %302 unwind label %290

284:                                              ; preds = %271
  %285 = landingpad { ptr, i32 }
          cleanup
  br label %308

286:                                              ; preds = %278
  %287 = landingpad { ptr, i32 }
          cleanup
  br label %307

288:                                              ; preds = %281
  %289 = landingpad { ptr, i32 }
          catch ptr null
  br label %292

290:                                              ; preds = %282
  %291 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  br label %292

292:                                              ; preds = %290, %288
  %.pn134 = phi { ptr, i32 } [ %291, %290 ], [ %289, %288 ]
  %.17 = extractvalue { ptr, i32 } %.pn134, 0
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #10
  %293 = call ptr @__cxa_begin_catch(ptr %.17) #10
  %294 = icmp eq ptr %280, null
  br i1 %294, label %299, label %295

295:                                              ; preds = %292
  %296 = load ptr, ptr %280, align 8, !tbaa !13
  %297 = getelementptr inbounds i8, ptr %296, i64 8
  %298 = load ptr, ptr %297, align 8
  call void %298(ptr noundef nonnull align 8 dereferenceable(8) %280) #10
  br label %299

299:                                              ; preds = %295, %292
  invoke void @__cxa_rethrow() #11
          to label %315 unwind label %300

300:                                              ; preds = %299
  %301 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %307 unwind label %312

302:                                              ; preds = %282
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #10
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #10
  %303 = load i32, ptr %2, align 4, !tbaa !5
  %304 = call noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #10
  %305 = trunc i64 %304 to i32
  %306 = icmp slt i32 %303, %305
  br i1 %306, label %.lr.ph, label %.critedge146

307:                                              ; preds = %300, %286
  %.pn135 = phi { ptr, i32 } [ %301, %300 ], [ %287, %286 ]
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #10
  br label %308

308:                                              ; preds = %307, %284
  %.pn135.pn = phi { ptr, i32 } [ %.pn135, %307 ], [ %285, %284 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #10
  br label %309

.critedge146:                                     ; preds = %.lr.ph, %302, %265, %250
  call void @_ZN6Lepton10ParseTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #10
  ret void

309:                                              ; preds = %247, %249, %141, %143, %308, %239, %216, %139, %112, %76, %64
  %.pn135.pn.pn = phi { ptr, i32 } [ %.pn135.pn, %308 ], [ %65, %64 ], [ %.pn131.pn, %76 ], [ %.pn125.pn.pn, %112 ], [ %.pn123154, %143 ], [ %142, %141 ], [ %.pn120, %139 ], [ %.pn117.pn, %216 ], [ %.pn109.pn, %239 ], [ %.pn162, %249 ], [ %248, %247 ]
  call void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #10
  br label %310

310:                                              ; preds = %309, %62
  %.pn135.pn.pn.pn = phi { ptr, i32 } [ %.pn135.pn.pn, %309 ], [ %63, %62 ]
  call void @_ZN6Lepton10ParseTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #10
  br label %311

311:                                              ; preds = %38, %40, %310
  %.pn141.pn = phi { ptr, i32 } [ %.pn141150, %40 ], [ %39, %38 ], [ %.pn135.pn.pn.pn, %310 ]
  resume { ptr, i32 } %.pn141.pn

312:                                              ; preds = %300, %214
  %313 = landingpad { ptr, i32 }
          catch ptr null
  %314 = extractvalue { ptr, i32 } %313, 0
  call void @__clang_call_terminate(ptr %314) #14
  unreachable

315:                                              ; preds = %299, %245, %213, %186, %134, %36
  unreachable
}

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN6Lepton18ExpressionTreeNodeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN6Lepton18ExpressionTreeNodeD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN6Lepton10ParseTokenESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

declare void @_ZN6Lepton18ExpressionTreeNodeC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStrsINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEERdEOT_S8_OT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #7

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #8

declare void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6Lepton18ExpressionTreeNodeEEESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

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

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

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

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

declare void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_rethrow() local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #9

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

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

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

declare void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN6Lepton10ParseTokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1 align 2

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

declare void @_ZN6Lepton18ExpressionTreeNodeC1EPNS_9OperationERKS0_S4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { noinline noreturn nounwind uwtable "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 #10 = { nounwind }
attributes #11 = { noreturn }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin nounwind }
attributes #14 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass