; LLVM IR from ERGO-Code/HiGHS :: extern/filereaderlp/reader.ll (ZN6Reader13processobjsecEv)

; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.Reader = type { %"class.std::basic_ifstream", %"class.std::__cxx11::basic_string", i64, %"struct.std::array", %"class.std::vector.22", %"class.std::map", %struct.Builder }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.21 }
%union.anon.21 = type { i32 }
%"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 }
%"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] }
%"struct.std::array" = type { [3 x %struct.RawToken] }
%struct.RawToken = type { i32, %"class.std::__cxx11::basic_string", double }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<ProcessedToken, std::allocator<ProcessedToken>>::_Vector_impl" }
%"struct.std::_Vector_base<ProcessedToken, std::allocator<ProcessedToken>>::_Vector_impl" = type { %"struct.std::_Vector_base<ProcessedToken, std::allocator<ProcessedToken>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ProcessedToken, std::allocator<ProcessedToken>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<LpSectionKeyword, std::pair<const LpSectionKeyword, std::pair<__gnu_cxx::__normal_iterator<ProcessedToken *, std::vector<ProcessedToken>>, __gnu_cxx::__normal_iterator<ProcessedToken *, std::vector<ProcessedToken>>>>, std::_Select1st<std::pair<const LpSectionKeyword, std::pair<__gnu_cxx::__normal_iterator<ProcessedToken *, std::vector<ProcessedToken>>, __gnu_cxx::__normal_iterator<ProcessedToken *, std::vector<ProcessedToken>>>>>, std::less<LpSectionKeyword>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<LpSectionKeyword, std::pair<const LpSectionKeyword, std::pair<__gnu_cxx::__normal_iterator<ProcessedToken *, std::vector<ProcessedToken>>, __gnu_cxx::__normal_iterator<ProcessedToken *, std::vector<ProcessedToken>>>>, std::_Select1st<std::pair<const LpSectionKeyword, std::pair<__gnu_cxx::__normal_iterator<ProcessedToken *, std::vector<ProcessedToken>>, __gnu_cxx::__normal_iterator<ProcessedToken *, std::vector<ProcessedToken>>>>>, std::less<LpSectionKeyword>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.Builder = type { %"class.std::unordered_map.30", %struct.Model }
%"class.std::unordered_map.30" = type { %"class.std::_Hashtable.31" }
%"class.std::_Hashtable.31" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.Model = type { %"class.std::shared_ptr", i32, %"class.std::vector", %"class.std::vector.11", %"class.std::vector.16" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::shared_ptr<Constraint>, std::allocator<std::shared_ptr<Constraint>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<Constraint>, std::allocator<std::shared_ptr<Constraint>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<Constraint>, std::allocator<std::shared_ptr<Constraint>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<Constraint>, std::allocator<std::shared_ptr<Constraint>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<std::shared_ptr<Variable>, std::allocator<std::shared_ptr<Variable>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<Variable>, std::allocator<std::shared_ptr<Variable>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<Variable>, std::allocator<std::shared_ptr<Variable>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<Variable>, std::allocator<std::shared_ptr<Variable>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::shared_ptr<SOS>, std::allocator<std::shared_ptr<SOS>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<SOS>, std::allocator<std::shared_ptr<SOS>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<SOS>, std::allocator<std::shared_ptr<SOS>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<SOS>, std::allocator<std::shared_ptr<SOS>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.64" = type { %"class.__gnu_cxx::__normal_iterator", %"class.__gnu_cxx::__normal_iterator" }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8lpassertb(i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Reader15parseexpressionERN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS2_SaIS2_EEEES7_St10shared_ptrI10ExpressionEb(ptr noundef nonnull align 8 dereferenceable(928), ptr noundef nonnull align 8 dereferenceable(8), ptr, ptr noundef, i1 noundef zeroext) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Reader13processobjsecEv(ptr noundef nonnull align 8 dereferenceable(928) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::shared_ptr", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::shared_ptr", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::shared_ptr", align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %20 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #8
  %21 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #9
  invoke void @_ZN10ExpressionC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21)
          to label %22 unwind label %53

22:                                               ; preds = %1
  call void @_ZNSt10shared_ptrI10ExpressionEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef %21)
  %23 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 6
  %24 = getelementptr inbounds %struct.Builder, ptr %23, i32 0, i32 1
  %25 = getelementptr inbounds %struct.Model, ptr %24, i32 0, i32 0
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI10ExpressionEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #8
  %27 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 1, ptr %6, align 4, !tbaa !9
  %28 = call noundef i64 @_ZNKSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %29 = icmp ne i64 %28, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br i1 %29, label %30, label %61

30:                                               ; preds = %22
  %31 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 6
  %32 = getelementptr inbounds %struct.Builder, ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds %struct.Model, ptr %32, i32 0, i32 1
  store i32 0, ptr %33, align 8, !tbaa !11
  %34 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 1, ptr %7, align 4, !tbaa !9
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %36 = getelementptr inbounds %"struct.std::pair.64", ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 1, ptr %9, align 4, !tbaa !9
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %39 = getelementptr inbounds %"struct.std::pair.64", ptr %38, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %39, i64 8, i1 false), !tbaa.struct !62
  %40 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 6
  %41 = getelementptr inbounds %struct.Builder, ptr %40, i32 0, i32 1
  %42 = getelementptr inbounds %struct.Model, ptr %41, i32 0, i32 0
  call void @_ZNSt10shared_ptrI10ExpressionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %42) #8
  %43 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8
  invoke void @_ZN6Reader15parseexpressionERN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS2_SaIS2_EEEES7_St10shared_ptrI10ExpressionEb(ptr noundef nonnull align 8 dereferenceable(928) %20, ptr noundef nonnull align 8 dereferenceable(8) %36, ptr %44, ptr noundef %10, i1 noundef zeroext true)
          to label %45 unwind label %57

45:                                               ; preds = %30
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  %46 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 1, ptr %11, align 4, !tbaa !9
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %48 = getelementptr inbounds %"struct.std::pair.64", ptr %47, i32 0, i32 0
  %49 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 1, ptr %12, align 4, !tbaa !9
  %50 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %49, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %51 = getelementptr inbounds %"struct.std::pair.64", ptr %50, i32 0, i32 1
  %52 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIP14ProcessedTokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  call void @_Z8lpassertb(i1 noundef zeroext %52)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %93

53:                                               ; preds = %1
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %4, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %21, i64 noundef 88) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #8
  br label %94

57:                                               ; preds = %30
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %4, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %5, align 4
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %94

61:                                               ; preds = %22
  %62 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 2, ptr %13, align 4, !tbaa !9
  %63 = call noundef i64 @_ZNKSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(48) %62, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %64 = icmp ne i64 %63, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br i1 %64, label %65, label %92

65:                                               ; preds = %61
  %66 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 6
  %67 = getelementptr inbounds %struct.Builder, ptr %66, i32 0, i32 1
  %68 = getelementptr inbounds %struct.Model, ptr %67, i32 0, i32 1
  store i32 1, ptr %68, align 8, !tbaa !11
  %69 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 2, ptr %14, align 4, !tbaa !9
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %69, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %71 = getelementptr inbounds %"struct.std::pair.64", ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 2, ptr %16, align 4, !tbaa !9
  %73 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %72, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %74 = getelementptr inbounds %"struct.std::pair.64", ptr %73, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %74, i64 8, i1 false), !tbaa.struct !62
  %75 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 6
  %76 = getelementptr inbounds %struct.Builder, ptr %75, i32 0, i32 1
  %77 = getelementptr inbounds %struct.Model, ptr %76, i32 0, i32 0
  call void @_ZNSt10shared_ptrI10ExpressionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %77) #8
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8
  invoke void @_ZN6Reader15parseexpressionERN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS2_SaIS2_EEEES7_St10shared_ptrI10ExpressionEb(ptr noundef nonnull align 8 dereferenceable(928) %20, ptr noundef nonnull align 8 dereferenceable(8) %71, ptr %79, ptr noundef %17, i1 noundef zeroext true)
          to label %80 unwind label %88

80:                                               ; preds = %65
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  %81 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 2, ptr %18, align 4, !tbaa !9
  %82 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %81, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %83 = getelementptr inbounds %"struct.std::pair.64", ptr %82, i32 0, i32 0
  %84 = getelementptr inbounds %class.Reader, ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 2, ptr %19, align 4, !tbaa !9
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %84, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %86 = getelementptr inbounds %"struct.std::pair.64", ptr %85, i32 0, i32 1
  %87 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIP14ProcessedTokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %86) #8
  call void @_Z8lpassertb(i1 noundef zeroext %87)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %92

88:                                               ; preds = %65
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %4, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %5, align 4
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %94

92:                                               ; preds = %80, %61
  br label %93

93:                                               ; preds = %92, %45
  ret void

94:                                               ; preds = %88, %57, %53
  %95 = load ptr, ptr %4, align 8
  %96 = load i32, ptr %5, align 4
  %97 = insertvalue { ptr, i32 } poison, ptr %95, 0
  %98 = insertvalue { ptr, i32 } %97, i32 %96, 1
  resume { ptr, i32 } %98
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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 = !{!"_ZTS16LpSectionKeyword", !7, i64 0}
!11 = !{!12, !49, i64 848}
!12 = !{!"_ZTS6Reader", !13, i64 0, !24, i64 520, !15, i64 552, !26, i64 560, !27, i64 704, !31, i64 728, !39, i64 776}
!13 = !{!"_ZTSSt14basic_ifstreamIcSt11char_traitsIcEE", !14, i64 0, !16, i64 16}
!14 = !{!"_ZTSSi", !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !17, i64 0, !7, i64 64, !19, i64 104, !21, i64 120, !22, i64 124, !22, i64 132, !22, i64 140, !6, i64 152, !15, i64 160, !20, i64 168, !20, i64 169, !20, i64 170, !7, i64 171, !6, i64 176, !6, i64 184, !20, i64 192, !6, i64 200, !6, i64 208, !15, i64 216, !6, i64 224, !6, i64 232}
!17 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !18, i64 56}
!18 = !{!"_ZTSSt6locale", !6, i64 0}
!19 = !{!"_ZTSSt12__basic_fileIcE", !6, i64 0, !20, i64 8}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!22 = !{!"_ZTS11__mbstate_t", !23, i64 0, !7, i64 4}
!23 = !{!"int", !7, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !15, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"_ZTSSt5arrayI8RawTokenLm3EE", !7, i64 0}
!27 = !{!"_ZTSSt6vectorI14ProcessedTokenSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseI14ProcessedTokenSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI14ProcessedTokenSaIS0_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI14ProcessedTokenSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEE", !32, i64 0}
!32 = !{!"_ZTSSt8_Rb_treeI16LpSectionKeywordSt4pairIKS0_S1_IN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS5_SaIS5_EEEESA_EESt10_Select1stISC_ESt4lessIS0_ESaISC_EE", !33, i64 0}
!33 = !{!"_ZTSNSt8_Rb_treeI16LpSectionKeywordSt4pairIKS0_S1_IN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS5_SaIS5_EEEESA_EESt10_Select1stISC_ESt4lessIS0_ESaISC_EE13_Rb_tree_implISG_Lb1EEE", !34, i64 0, !36, i64 8}
!34 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessI16LpSectionKeywordEE", !35, i64 0}
!35 = !{!"_ZTSSt4lessI16LpSectionKeywordE"}
!36 = !{!"_ZTSSt15_Rb_tree_header", !37, i64 0, !15, i64 32}
!37 = !{!"_ZTSSt18_Rb_tree_node_base", !38, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!38 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!39 = !{!"_ZTS7Builder", !40, i64 0, !45, i64 56}
!40 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrI8VariableESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEE", !41, i64 0}
!41 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrI8VariableEESaISB_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !15, i64 8, !42, i64 16, !15, i64 24, !43, i64 32, !6, i64 48}
!42 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!43 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !44, i64 0, !15, i64 8}
!44 = !{!"float", !7, i64 0}
!45 = !{!"_ZTS5Model", !46, i64 0, !49, i64 16, !50, i64 24, !54, i64 48, !58, i64 72}
!46 = !{!"_ZTSSt10shared_ptrI10ExpressionE", !47, i64 0}
!47 = !{!"_ZTSSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !48, i64 8}
!48 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!49 = !{!"_ZTS14ObjectiveSense", !7, i64 0}
!50 = !{!"_ZTSSt6vectorISt10shared_ptrI10ConstraintESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrI10ConstraintESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI10ConstraintESaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI10ConstraintESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTSSt6vectorISt10shared_ptrI8VariableESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrI8VariableESaIS2_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI8VariableESaIS2_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI8VariableESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = !{!"_ZTSSt6vectorISt10shared_ptrI3SOSESaIS2_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrI3SOSESaIS2_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI3SOSESaIS2_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI3SOSESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!62 = !{i64 0, i64 8, !5}


; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8lpassertb(i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Reader15parseexpressionERN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS2_SaIS2_EEEES7_St10shared_ptrI10ExpressionEb(ptr noundef nonnull align 8 dereferenceable(928), ptr noundef nonnull align 8 dereferenceable(8), ptr, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Reader13processobjsecEv(ptr noundef nonnull align 8 dereferenceable(928) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::shared_ptr", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::shared_ptr", align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::shared_ptr", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  %15 = tail call noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #8
  invoke void @_ZN10ExpressionC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %15)
          to label %16 unwind label %31

16:                                               ; preds = %1
  call void @_ZNSt10shared_ptrI10ExpressionEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull %15)
  %17 = getelementptr inbounds i8, ptr %0, i64 832
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI10ExpressionEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  %19 = getelementptr inbounds i8, ptr %0, i64 728
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  store i32 1, ptr %3, align 4, !tbaa !5
  %20 = call noundef i64 @_ZNKSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %.not = icmp eq i64 %20, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  br i1 %.not, label %35, label %21

21:                                               ; preds = %16
  %22 = getelementptr inbounds i8, ptr %0, i64 848
  store i32 0, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 1, ptr %4, align 4, !tbaa !5
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store i32 1, ptr %5, align 4, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %25 = getelementptr inbounds i8, ptr %24, i64 8
  %.sroa.01.0.copyload = load ptr, ptr %25, align 8, !tbaa !61
  call void @_ZNSt10shared_ptrI10ExpressionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  invoke void @_ZN6Reader15parseexpressionERN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS2_SaIS2_EEEES7_St10shared_ptrI10ExpressionEb(ptr noundef nonnull align 8 dereferenceable(928) %0, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr %.sroa.01.0.copyload, ptr noundef nonnull %6, i1 noundef zeroext true)
          to label %26 unwind label %33

26:                                               ; preds = %21
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 1, ptr %7, align 4, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 1, ptr %8, align 4, !tbaa !5
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIP14ProcessedTokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  call void @_Z8lpassertb(i1 noundef zeroext %30)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  br label %49

31:                                               ; preds = %1
  %32 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %15, i64 noundef 88) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  br label %50

33:                                               ; preds = %21
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  br label %50

35:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store i32 2, ptr %9, align 4, !tbaa !5
  %36 = call noundef i64 @_ZNKSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %.not4 = icmp eq i64 %36, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br i1 %.not4, label %49, label %37

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %0, i64 848
  store i32 1, ptr %38, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 2, ptr %10, align 4, !tbaa !5
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 2, ptr %11, align 4, !tbaa !5
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %41 = getelementptr inbounds i8, ptr %40, i64 8
  %.sroa.0.0.copyload = load ptr, ptr %41, align 8, !tbaa !61
  call void @_ZNSt10shared_ptrI10ExpressionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  invoke void @_ZN6Reader15parseexpressionERN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS2_SaIS2_EEEES7_St10shared_ptrI10ExpressionEb(ptr noundef nonnull align 8 dereferenceable(928) %0, ptr noundef nonnull align 8 dereferenceable(8) %39, ptr %.sroa.0.0.copyload, ptr noundef nonnull %12, i1 noundef zeroext true)
          to label %42 unwind label %47

42:                                               ; preds = %37
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 2, ptr %13, align 4, !tbaa !5
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  store i32 2, ptr %14, align 4, !tbaa !5
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIP14ProcessedTokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %45) #7
  call void @_Z8lpassertb(i1 noundef zeroext %46)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  br label %49

47:                                               ; preds = %37
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %50

49:                                               ; preds = %35, %42, %26
  ret void

50:                                               ; preds = %47, %33, %31
  %.pn = phi { ptr, i32 } [ %34, %33 ], [ %48, %47 ], [ %32, %31 ]
  resume { ptr, i32 } %.pn
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEEixEOS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress 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 = { 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 #4 = { 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 #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"_ZTS16LpSectionKeyword", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !48, i64 848}
!10 = !{!"_ZTS6Reader", !11, i64 0, !23, i64 520, !13, i64 552, !25, i64 560, !26, i64 704, !30, i64 728, !38, i64 776}
!11 = !{!"_ZTSSt14basic_ifstreamIcSt11char_traitsIcEE", !12, i64 0, !14, i64 16}
!12 = !{!"_ZTSSi", !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !15, i64 0, !7, i64 64, !18, i64 104, !20, i64 120, !21, i64 124, !21, i64 132, !21, i64 140, !16, i64 152, !13, i64 160, !19, i64 168, !19, i64 169, !19, i64 170, !7, i64 171, !16, i64 176, !16, i64 184, !19, i64 192, !16, i64 200, !16, i64 208, !13, i64 216, !16, i64 224, !16, i64 232}
!15 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !17, i64 56}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!"_ZTSSt6locale", !16, i64 0}
!18 = !{!"_ZTSSt12__basic_fileIcE", !16, i64 0, !19, i64 8}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!21 = !{!"_ZTS11__mbstate_t", !22, i64 0, !7, i64 4}
!22 = !{!"int", !7, i64 0}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !13, i64 8, !7, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !16, i64 0}
!25 = !{!"_ZTSSt5arrayI8RawTokenLm3EE", !7, i64 0}
!26 = !{!"_ZTSSt6vectorI14ProcessedTokenSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI14ProcessedTokenSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI14ProcessedTokenSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI14ProcessedTokenSaIS0_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!30 = !{!"_ZTSSt3mapI16LpSectionKeywordSt4pairIN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS4_SaIS4_EEEES9_ESt4lessIS0_ESaIS1_IKS0_SA_EEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeI16LpSectionKeywordSt4pairIKS0_S1_IN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS5_SaIS5_EEEESA_EESt10_Select1stISC_ESt4lessIS0_ESaISC_EE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeI16LpSectionKeywordSt4pairIKS0_S1_IN9__gnu_cxx17__normal_iteratorIP14ProcessedTokenSt6vectorIS5_SaIS5_EEEESA_EESt10_Select1stISC_ESt4lessIS0_ESaISC_EE13_Rb_tree_implISG_Lb1EEE", !33, i64 0, !35, i64 8}
!33 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessI16LpSectionKeywordEE", !34, i64 0}
!34 = !{!"_ZTSSt4lessI16LpSectionKeywordE"}
!35 = !{!"_ZTSSt15_Rb_tree_header", !36, i64 0, !13, i64 32}
!36 = !{!"_ZTSSt18_Rb_tree_node_base", !37, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!37 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!38 = !{!"_ZTS7Builder", !39, i64 0, !44, i64 56}
!39 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrI8VariableESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEE", !40, i64 0}
!40 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrI8VariableEESaISB_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !16, i64 0, !13, i64 8, !41, i64 16, !13, i64 24, !42, i64 32, !16, i64 48}
!41 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !16, i64 0}
!42 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !43, i64 0, !13, i64 8}
!43 = !{!"float", !7, i64 0}
!44 = !{!"_ZTS5Model", !45, i64 0, !48, i64 16, !49, i64 24, !53, i64 48, !57, i64 72}
!45 = !{!"_ZTSSt10shared_ptrI10ExpressionE", !46, i64 0}
!46 = !{!"_ZTSSt12__shared_ptrI10ExpressionLN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0, !47, i64 8}
!47 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0}
!48 = !{!"_ZTS14ObjectiveSense", !7, i64 0}
!49 = !{!"_ZTSSt6vectorISt10shared_ptrI10ConstraintESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrI10ConstraintESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI10ConstraintESaIS2_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI10ConstraintESaIS2_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!53 = !{!"_ZTSSt6vectorISt10shared_ptrI8VariableESaIS2_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrI8VariableESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI8VariableESaIS2_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI8VariableESaIS2_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!57 = !{!"_ZTSSt6vectorISt10shared_ptrI3SOSESaIS2_EE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrI3SOSESaIS2_EE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI3SOSESaIS2_EE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrI3SOSESaIS2_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!61 = !{!16, !16, i64 0}


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