; LLVM IR from cruppstahl/upscaledb :: tools/ups_bench/generator_parser.ll (ZN15ParserGenerator16get_next_commandEPPKcS2_S2_)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ParserGenerator = type { %class.Generator.base, ptr, ptr, ptr, i8, %struct.Metrics, %"class.std::vector", i32, %struct.Timer, i32, ptr, %"class.std::vector" }
%class.Generator.base = type <{ ptr, i32, [4 x i8], ptr, ptr, i32, [4 x i8], %struct.ups_record_t, ptr, [4 x i32], i8 }>
%struct.ups_record_t = type { i32, ptr, i32 }
%struct.Metrics = type { ptr, i64, i64, i64, i64, i64, i64, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, %struct.ups_env_metrics_t }
%struct.ups_env_metrics_t = type { i16, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %struct.btree_metrics_t, %struct.btree_metrics_t, i32 }
%struct.btree_metrics_t = type { i16, i64, i64, i64, i32, %struct.min_max_avg_u32_t, %struct.min_max_avg_u32_t, %struct.min_max_avg_u32_t, %struct.min_max_avg_u32_t, %struct.min_max_avg_u32_t, %struct.min_max_avg_u32_t, %struct.min_max_avg_u32_t, %struct.min_max_avg_u32_t, %struct.min_max_avg_u32_t }
%struct.min_max_avg_u32_t = type { i32, i32, i32, i32, i32 }
%struct.Timer = type { %"class.boost::chrono::time_point" }
%"class.boost::chrono::time_point" = type { %"class.boost::chrono::duration" }
%"class.boost::chrono::duration" = type { i64 }
%class.Generator = type <{ ptr, i32, [4 x i8], ptr, ptr, i32, [4 x i8], %struct.ups_record_t, ptr, [4 x i32], i8, [7 x i8] }>
%struct.Configuration = type <{ i8, [3 x i8], i32, i8, i8, i8, [5 x i8], %"class.std::__cxx11::basic_string", i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, i64, i64, i64, i64, i32, i8, [3 x i8], i32, i32, i32, i32, i8, i8, [2 x i8], i32, i8, [3 x i8], i32, i8, i8, i8, i8, i8, [3 x i8], i32, i32, i32, i8, i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i32, i32, i32, i8, i8, [2 x i8], i32, i32, i32, i8, i8, i8, i8, i32, i8, i8, [2 x i8] }>
%"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] }

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [29 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: 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 noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN15ParserGenerator16get_next_commandEPPKcS2_S2_(ptr noundef nonnull align 8 dereferenceable(1040) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 align 2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::vector", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %11 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  %12 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 6
  %13 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = zext i32 %14 to i64
  %16 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %15) #7
  call void @_ZN15ParserGenerator8tokenizeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(1040) %11, ptr noundef nonnull align 8 dereferenceable(32) %16)
  %17 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %18 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  %19 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %20 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  br i1 %20, label %21, label %22

21:                                               ; preds = %4
  store i32 11, ptr %5, align 4
  br label %332

22:                                               ; preds = %4
  %23 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %24 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef 0) #7
  %25 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.8)
  br i1 %25, label %26, label %58

26:                                               ; preds = %22
  br label %27

27:                                               ; preds = %26
  %28 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 3
  %29 = load ptr, ptr %28, align 8, !tbaa !29
  %30 = getelementptr inbounds %struct.Configuration, ptr %29, i32 0, i32 2
  %31 = load i32, ptr %30, align 4, !tbaa !30
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %44

33:                                               ; preds = %27
  %34 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 4
  %35 = load ptr, ptr %34, align 8, !tbaa !34
  %36 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %35)
  %37 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %38 = load i32, ptr %37, align 8, !tbaa !9
  %39 = add i32 %38, 1
  %40 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %41 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef 0) #7
  %42 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %36, i32 noundef %39, ptr noundef %42)
  br label %44

44:                                               ; preds = %33, %27
  %45 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 6
  %46 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %47 = load i32, ptr %46, align 8, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %48) #7
  %50 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %49) #7
  %51 = call noundef ptr @strstr(ptr noundef %50, ptr noundef @.str.10) #8
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %57

53:                                               ; preds = %44
  %54 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 3
  %55 = load ptr, ptr %54, align 8, !tbaa !29
  %56 = getelementptr inbounds %struct.Configuration, ptr %55, i32 0, i32 10
  store i32 5, ptr %56, align 4, !tbaa !35
  br label %57

57:                                               ; preds = %53, %44
  store i32 5, ptr %5, align 4
  br label %332

58:                                               ; preds = %22
  %59 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %60 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 0) #7
  %61 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef @.str.11)
  br i1 %61, label %62, label %94

62:                                               ; preds = %58
  br label %63

63:                                               ; preds = %62
  %64 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 3
  %65 = load ptr, ptr %64, align 8, !tbaa !29
  %66 = getelementptr inbounds %struct.Configuration, ptr %65, i32 0, i32 2
  %67 = load i32, ptr %66, align 4, !tbaa !30
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %80

69:                                               ; preds = %63
  %70 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 4
  %71 = load ptr, ptr %70, align 8, !tbaa !34
  %72 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %71)
  %73 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %74 = load i32, ptr %73, align 8, !tbaa !9
  %75 = add i32 %74, 1
  %76 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %77 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef 0) #7
  %78 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %77) #7
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %72, i32 noundef %75, ptr noundef %78)
  br label %80

80:                                               ; preds = %69, %63
  %81 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 6
  %82 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %83 = load i32, ptr %82, align 8, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %84) #7
  %86 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %85) #7
  %87 = call noundef ptr @strstr(ptr noundef %86, ptr noundef @.str.10) #8
  %88 = icmp ne ptr %87, null
  br i1 %88, label %89, label %93

89:                                               ; preds = %80
  %90 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 3
  %91 = load ptr, ptr %90, align 8, !tbaa !29
  %92 = getelementptr inbounds %struct.Configuration, ptr %91, i32 0, i32 10
  store i32 5, ptr %92, align 4, !tbaa !35
  br label %93

93:                                               ; preds = %89, %80
  store i32 6, ptr %5, align 4
  br label %332

94:                                               ; preds = %58
  %95 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %96 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef 0) #7
  %97 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %96, ptr noundef @.str.12)
  br i1 %97, label %98, label %165

98:                                               ; preds = %94
  %99 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %100 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %99) #7
  %101 = icmp eq i64 %100, 3
  br i1 %101, label %102, label %112

102:                                              ; preds = %98
  %103 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %104 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef 1) #7
  %105 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %104) #7
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %105, ptr %106, align 8, !tbaa !5
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr @.str.2, ptr %107, align 8, !tbaa !5
  %108 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %109 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef 2) #7
  %110 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %109) #7
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %110, ptr %111, align 8, !tbaa !5
  br label %138

112:                                              ; preds = %98
  %113 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %114 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %113) #7
  %115 = icmp eq i64 %114, 4
  br i1 %115, label %116, label %129

116:                                              ; preds = %112
  %117 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %118 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef 1) #7
  %119 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %118) #7
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %119, ptr %120, align 8, !tbaa !5
  %121 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %122 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef 2) #7
  %123 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %122) #7
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %123, ptr %124, align 8, !tbaa !5
  %125 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %126 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef 3) #7
  %127 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %126) #7
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %127, ptr %128, align 8, !tbaa !5
  br label %137

129:                                              ; preds = %112
  br label %130

130:                                              ; preds = %129
  %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %132 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %133 = load i32, ptr %132, align 8, !tbaa !9
  %134 = add i32 %133, 1
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %134)
  br label %136

136:                                              ; preds = %130
  call void @exit(i32 noundef -1) #9
  unreachable

137:                                              ; preds = %116
  br label %138

138:                                              ; preds = %137, %102
  br label %139

139:                                              ; preds = %138
  %140 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 3
  %141 = load ptr, ptr %140, align 8, !tbaa !29
  %142 = getelementptr inbounds %struct.Configuration, ptr %141, i32 0, i32 2
  %143 = load i32, ptr %142, align 4, !tbaa !30
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %158

145:                                              ; preds = %139
  %146 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 4
  %147 = load ptr, ptr %146, align 8, !tbaa !34
  %148 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %147)
  %149 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %150 = load i32, ptr %149, align 8, !tbaa !9
  %151 = add i32 %150, 1
  %152 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %153 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef 0) #7
  %154 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %153) #7
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %148, i32 noundef %151, ptr noundef %154, ptr noundef %156)
  br label %158

158:                                              ; preds = %145, %139
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = load ptr, ptr %159, align 8, !tbaa !5
  %161 = icmp ne ptr %160, null
  br i1 %161, label %164, label %162

162:                                              ; preds = %158
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr @.str.2, ptr %163, align 8, !tbaa !5
  br label %164

164:                                              ; preds = %162, %158
  store i32 0, ptr %5, align 4
  br label %332

165:                                              ; preds = %94
  %166 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %167 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef 0) #7
  %168 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %167, ptr noundef @.str.16)
  br i1 %168, label %169, label %210

169:                                              ; preds = %165
  %170 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %171 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %170) #7
  %172 = icmp ult i64 %171, 3
  br i1 %172, label %173, label %181

173:                                              ; preds = %169
  br label %174

174:                                              ; preds = %173
  %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %176 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %177 = load i32, ptr %176, align 8, !tbaa !9
  %178 = add i32 %177, 1
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %178)
  br label %180

180:                                              ; preds = %174
  call void @exit(i32 noundef -1) #9
  unreachable

181:                                              ; preds = %169
  %182 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %183 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef 1) #7
  %184 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %183) #7
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %184, ptr %185, align 8, !tbaa !5
  %186 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %187 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef 2) #7
  %188 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %187) #7
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %188, ptr %189, align 8, !tbaa !5
  br label %190

190:                                              ; preds = %181
  %191 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 3
  %192 = load ptr, ptr %191, align 8, !tbaa !29
  %193 = getelementptr inbounds %struct.Configuration, ptr %192, i32 0, i32 2
  %194 = load i32, ptr %193, align 4, !tbaa !30
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %209

196:                                              ; preds = %190
  %197 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 4
  %198 = load ptr, ptr %197, align 8, !tbaa !34
  %199 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %198)
  %200 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %201 = load i32, ptr %200, align 8, !tbaa !9
  %202 = add i32 %201, 1
  %203 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %204 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef 0) #7
  %205 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %204) #7
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %199, i32 noundef %202, ptr noundef %205, ptr noundef %207)
  br label %209

209:                                              ; preds = %196, %190
  store i32 2, ptr %5, align 4
  br label %332

210:                                              ; preds = %165
  %211 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %212 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %211, i64 noundef 0) #7
  %213 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %212, ptr noundef @.str.18)
  br i1 %213, label %214, label %255

214:                                              ; preds = %210
  %215 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %216 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %215) #7
  %217 = icmp ne i64 %216, 3
  br i1 %217, label %218, label %226

218:                                              ; preds = %214
  br label %219

219:                                              ; preds = %218
  %220 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %221 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %222 = load i32, ptr %221, align 8, !tbaa !9
  %223 = add i32 %222, 1
  %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %223)
  br label %225

225:                                              ; preds = %219
  call void @exit(i32 noundef -1) #9
  unreachable

226:                                              ; preds = %214
  %227 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %228 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %227, i64 noundef 1) #7
  %229 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %228) #7
  %230 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %229, ptr %230, align 8, !tbaa !5
  %231 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %232 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef 2) #7
  %233 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %232) #7
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %233, ptr %234, align 8, !tbaa !5
  br label %235

235:                                              ; preds = %226
  %236 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 3
  %237 = load ptr, ptr %236, align 8, !tbaa !29
  %238 = getelementptr inbounds %struct.Configuration, ptr %237, i32 0, i32 2
  %239 = load i32, ptr %238, align 4, !tbaa !30
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %254

241:                                              ; preds = %235
  %242 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 4
  %243 = load ptr, ptr %242, align 8, !tbaa !34
  %244 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %243)
  %245 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %246 = load i32, ptr %245, align 8, !tbaa !9
  %247 = add i32 %246, 1
  %248 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %249 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %248, i64 noundef 0) #7
  %250 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %249) #7
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = load ptr, ptr %251, align 8, !tbaa !5
  %253 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %244, i32 noundef %247, ptr noundef %250, ptr noundef %252)
  br label %254

254:                                              ; preds = %241, %235
  store i32 1, ptr %5, align 4
  br label %332

255:                                              ; preds = %210
  br label %256

256:                                              ; preds = %255
  %257 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 3
  %258 = load ptr, ptr %257, align 8, !tbaa !29
  %259 = getelementptr inbounds %struct.Configuration, ptr %258, i32 0, i32 2
  %260 = load i32, ptr %259, align 4, !tbaa !30
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %273

262:                                              ; preds = %256
  %263 = getelementptr inbounds %class.Generator, ptr %11, i32 0, i32 4
  %264 = load ptr, ptr %263, align 8, !tbaa !34
  %265 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %264)
  %266 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %267 = load i32, ptr %266, align 8, !tbaa !9
  %268 = add i32 %267, 1
  %269 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %270 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %269, i64 noundef 0) #7
  %271 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %270) #7
  %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %265, i32 noundef %268, ptr noundef %271)
  br label %273

273:                                              ; preds = %262, %256
  %274 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %275 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %274, i64 noundef 0) #7
  %276 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %275, ptr noundef @.str.21)
  br i1 %276, label %277, label %279

277:                                              ; preds = %273
  %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, ptr noundef @.str.4, i32 noundef 497)
  store i32 11, ptr %5, align 4
  br label %332

279:                                              ; preds = %273
  %280 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %281 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %280, i64 noundef 0) #7
  %282 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %281, ptr noundef @.str.23)
  br i1 %282, label %283, label %284

283:                                              ; preds = %279
  store i32 11, ptr %5, align 4
  br label %332

284:                                              ; preds = %279
  %285 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %286 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %285, i64 noundef 0) #7
  %287 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %286, ptr noundef @.str.24)
  br i1 %287, label %288, label %289

288:                                              ; preds = %284
  store i32 999999, ptr %5, align 4
  br label %332

289:                                              ; preds = %284
  %290 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %291 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %290, i64 noundef 0) #7
  %292 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %291, ptr noundef @.str.25)
  br i1 %292, label %293, label %294

293:                                              ; preds = %289
  store i32 4, ptr %5, align 4
  br label %332

294:                                              ; preds = %289
  %295 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %296 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %295, i64 noundef 0) #7
  %297 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %296, ptr noundef @.str.26)
  br i1 %297, label %302, label %298

298:                                              ; preds = %294
  %299 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %300 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %299, i64 noundef 0) #7
  %301 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %300, ptr noundef @.str.27)
  br i1 %301, label %302, label %303

302:                                              ; preds = %298, %294
  store i32 8, ptr %5, align 4
  br label %332

303:                                              ; preds = %298
  %304 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %305 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %304, i64 noundef 0) #7
  %306 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %305, ptr noundef @.str.28)
  br i1 %306, label %311, label %307

307:                                              ; preds = %303
  %308 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %309 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %308, i64 noundef 0) #7
  %310 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %309, ptr noundef @.str.29)
  br i1 %310, label %311, label %312

311:                                              ; preds = %307, %303
  store i32 3, ptr %5, align 4
  br label %332

312:                                              ; preds = %307
  %313 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %314 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %313, i64 noundef 0) #7
  %315 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %314, ptr noundef @.str.30)
  br i1 %315, label %316, label %317

316:                                              ; preds = %312
  store i32 7, ptr %5, align 4
  br label %332

317:                                              ; preds = %312
  %318 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %319 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %318, i64 noundef 0) #7
  %320 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %319, ptr noundef @.str.31)
  br i1 %320, label %321, label %322

321:                                              ; preds = %317
  store i32 10, ptr %5, align 4
  br label %332

322:                                              ; preds = %317
  br label %323

323:                                              ; preds = %322
  %324 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %325 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 7
  %326 = load i32, ptr %325, align 8, !tbaa !9
  %327 = getelementptr inbounds %class.ParserGenerator, ptr %11, i32 0, i32 11
  %328 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %327, i64 noundef 0) #7
  %329 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %328) #7
  %330 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef %326, ptr noundef %329)
  br label %331

331:                                              ; preds = %323
  call void @exit(i32 noundef -1) #9
  unreachable

332:                                              ; preds = %321, %316, %311, %302, %293, %288, %283, %277, %254, %209, %164, %93, %57, %21
  %333 = load i32, ptr %5, align 4
  ret i32 %333
}

declare i32 @printf(ptr noundef, ...) #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #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) #5

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

; Function Attrs: nounwind willreturn memory(read)
declare noundef ptr @strstr(ptr noundef, ptr noundef) #6

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 = { "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 = { noreturn 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind willreturn memory(read) "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 = { nounwind willreturn memory(read) }
attributes #9 = { 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, !12, i64 984}
!10 = !{!"_ZTS15ParserGenerator", !11, i64 0, !6, i64 96, !6, i64 104, !6, i64 112, !14, i64 120, !15, i64 128, !22, i64 960, !12, i64 984, !26, i64 992, !12, i64 1000, !6, i64 1008, !22, i64 1016}
!11 = !{!"_ZTS9Generator", !12, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !13, i64 40, !6, i64 64, !7, i64 72, !14, i64 88}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS12ups_record_t", !12, i64 0, !6, i64 8, !12, i64 16}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS7Metrics", !6, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !17, i64 120, !17, i64 128, !17, i64 136, !17, i64 144, !17, i64 152, !17, i64 160, !18, i64 168}
!16 = !{!"long", !7, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTS17ups_env_metrics_t", !19, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !16, i64 200, !16, i64 208, !16, i64 216, !20, i64 224, !20, i64 440, !12, i64 656}
!19 = !{!"short", !7, i64 0}
!20 = !{!"_ZTS15btree_metrics_t", !19, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !12, i64 32, !21, i64 36, !21, i64 56, !21, i64 76, !21, i64 96, !21, i64 116, !21, i64 136, !21, i64 156, !21, i64 176, !21, i64 196}
!21 = !{!"_ZTS17min_max_avg_u32_t", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16}
!22 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTS5TimerIN5boost6chrono12system_clockEE", !27, i64 0}
!27 = !{!"_ZTSN5boost6chrono10time_pointINS0_12system_clockENS0_8durationIlNS_5ratioILl1ELl1000000000EEEEEEE", !28, i64 0}
!28 = !{!"_ZTSN5boost6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE", !16, i64 0}
!29 = !{!11, !6, i64 16}
!30 = !{!31, !12, i64 4}
!31 = !{!"_ZTS13Configuration", !14, i64 0, !12, i64 4, !14, i64 8, !14, i64 9, !14, i64 10, !32, i64 16, !14, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !14, i64 64, !12, i64 68, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !12, i64 104, !14, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !14, i64 128, !14, i64 129, !12, i64 132, !14, i64 136, !12, i64 140, !14, i64 144, !14, i64 145, !14, i64 146, !14, i64 147, !14, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !14, i64 164, !14, i64 165, !14, i64 166, !12, i64 168, !12, i64 172, !32, i64 176, !12, i64 208, !12, i64 212, !12, i64 216, !14, i64 220, !14, i64 221, !12, i64 224, !12, i64 228, !12, i64 232, !14, i64 236, !14, i64 237, !14, i64 238, !14, i64 239, !12, i64 240, !14, i64 244, !14, i64 245}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !33, i64 0, !16, i64 8, !7, i64 16}
!33 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!34 = !{!11, !6, i64 24}
!35 = !{!31, !12, i64 52}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [29 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 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 noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 1000000) i32 @_ZN15ParserGenerator16get_next_commandEPPKcS2_S2_(ptr noundef nonnull align 8 dereferenceable(1040) %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #2 align 2 {
  %5 = alloca %"class.std::vector", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %6 = getelementptr inbounds i8, ptr %0, i64 960
  %7 = getelementptr inbounds i8, ptr %0, i64 984
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = zext i32 %8 to i64
  %10 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %9) #7
  call void @_ZN15ParserGenerator8tokenizeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %5, ptr noundef nonnull align 8 dereferenceable(1040) %0, ptr noundef nonnull align 8 dereferenceable(32) %10)
  %11 = getelementptr inbounds i8, ptr %0, i64 1016
  %12 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  %13 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br i1 %13, label %219, label %14

14:                                               ; preds = %4
  %15 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %16 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.8)
  br i1 %16, label %17, label %40

17:                                               ; preds = %14
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load ptr, ptr %18, align 8, !tbaa !28
  %20 = getelementptr inbounds i8, ptr %19, i64 4
  %21 = load i32, ptr %20, align 4, !tbaa !29
  %.not23 = icmp eq i32 %21, 0
  br i1 %.not23, label %31, label %22

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %0, i64 24
  %24 = load ptr, ptr %23, align 8, !tbaa !33
  %25 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %24)
  %26 = load i32, ptr %7, align 8, !tbaa !5
  %27 = add i32 %26, 1
  %28 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %29 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  %30 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %25, i32 noundef %27, ptr noundef %29)
  br label %31

31:                                               ; preds = %22, %17
  %32 = load i32, ptr %7, align 8, !tbaa !5
  %33 = zext i32 %32 to i64
  %34 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %33) #7
  %35 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  %36 = call noundef ptr @strstr(ptr noundef nonnull dereferenceable(1) %35, ptr noundef nonnull dereferenceable(1) @.str.10) #8
  %.not24 = icmp eq ptr %36, null
  br i1 %.not24, label %219, label %37

37:                                               ; preds = %31
  %38 = load ptr, ptr %18, align 8, !tbaa !28
  %39 = getelementptr inbounds i8, ptr %38, i64 52
  store i32 5, ptr %39, align 4, !tbaa !34
  br label %219

40:                                               ; preds = %14
  %41 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %42 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull @.str.11)
  br i1 %42, label %43, label %66

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %0, i64 16
  %45 = load ptr, ptr %44, align 8, !tbaa !28
  %46 = getelementptr inbounds i8, ptr %45, i64 4
  %47 = load i32, ptr %46, align 4, !tbaa !29
  %.not21 = icmp eq i32 %47, 0
  br i1 %.not21, label %57, label %48

48:                                               ; preds = %43
  %49 = getelementptr inbounds i8, ptr %0, i64 24
  %50 = load ptr, ptr %49, align 8, !tbaa !33
  %51 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %50)
  %52 = load i32, ptr %7, align 8, !tbaa !5
  %53 = add i32 %52, 1
  %54 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %55 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %54) #7
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %51, i32 noundef %53, ptr noundef %55)
  br label %57

57:                                               ; preds = %48, %43
  %58 = load i32, ptr %7, align 8, !tbaa !5
  %59 = zext i32 %58 to i64
  %60 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %59) #7
  %61 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %60) #7
  %62 = call noundef ptr @strstr(ptr noundef nonnull dereferenceable(1) %61, ptr noundef nonnull dereferenceable(1) @.str.10) #8
  %.not22 = icmp eq ptr %62, null
  br i1 %.not22, label %219, label %63

63:                                               ; preds = %57
  %64 = load ptr, ptr %44, align 8, !tbaa !28
  %65 = getelementptr inbounds i8, ptr %64, i64 52
  store i32 5, ptr %65, align 4, !tbaa !34
  br label %219

66:                                               ; preds = %40
  %67 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %68 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull @.str.12)
  br i1 %68, label %69, label %108

69:                                               ; preds = %66
  %70 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %71 = icmp eq i64 %70, 3
  br i1 %71, label %72, label %75

72:                                               ; preds = %69
  %73 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #7
  %74 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %73) #7
  store ptr %74, ptr %1, align 8, !tbaa !35
  br label %88

75:                                               ; preds = %69
  %76 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %77 = icmp eq i64 %76, 4
  br i1 %77, label %78, label %83

78:                                               ; preds = %75
  %79 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #7
  %80 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %79) #7
  store ptr %80, ptr %1, align 8, !tbaa !35
  %81 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 2) #7
  %82 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %81) #7
  br label %88

83:                                               ; preds = %75
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %85 = load i32, ptr %7, align 8, !tbaa !5
  %86 = add i32 %85, 1
  %87 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %86)
  call void @exit(i32 noundef -1) #9
  unreachable

88:                                               ; preds = %72, %78
  %.str.2.sink = phi ptr [ @.str.2, %72 ], [ %82, %78 ]
  %.sink25 = phi i64 [ 2, %72 ], [ 3, %78 ]
  store ptr %.str.2.sink, ptr %2, align 8, !tbaa !35
  %89 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %.sink25) #7
  %90 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %89) #7
  store ptr %90, ptr %3, align 8, !tbaa !35
  %91 = getelementptr inbounds i8, ptr %0, i64 16
  %92 = load ptr, ptr %91, align 8, !tbaa !28
  %93 = getelementptr inbounds i8, ptr %92, i64 4
  %94 = load i32, ptr %93, align 4, !tbaa !29
  %.not19 = icmp eq i32 %94, 0
  br i1 %.not19, label %105, label %95

95:                                               ; preds = %88
  %96 = getelementptr inbounds i8, ptr %0, i64 24
  %97 = load ptr, ptr %96, align 8, !tbaa !33
  %98 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  %99 = load i32, ptr %7, align 8, !tbaa !5
  %100 = add i32 %99, 1
  %101 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %102 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %101) #7
  %103 = load ptr, ptr %2, align 8, !tbaa !35
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %98, i32 noundef %100, ptr noundef %102, ptr noundef %103)
  %.pre = load ptr, ptr %3, align 8, !tbaa !35
  br label %105

105:                                              ; preds = %95, %88
  %106 = phi ptr [ %.pre, %95 ], [ %90, %88 ]
  %.not20 = icmp eq ptr %106, null
  br i1 %.not20, label %107, label %219

107:                                              ; preds = %105
  store ptr @.str.2, ptr %3, align 8, !tbaa !35
  br label %219

108:                                              ; preds = %66
  %109 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %110 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %109, ptr noundef nonnull @.str.16)
  br i1 %110, label %111, label %138

111:                                              ; preds = %108
  %112 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %113 = icmp ult i64 %112, 3
  br i1 %113, label %114, label %119

114:                                              ; preds = %111
  %115 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %116 = load i32, ptr %7, align 8, !tbaa !5
  %117 = add i32 %116, 1
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %117)
  call void @exit(i32 noundef -1) #9
  unreachable

119:                                              ; preds = %111
  %120 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #7
  %121 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %120) #7
  store ptr %121, ptr %1, align 8, !tbaa !35
  %122 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 2) #7
  %123 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %122) #7
  store ptr %123, ptr %2, align 8, !tbaa !35
  %124 = getelementptr inbounds i8, ptr %0, i64 16
  %125 = load ptr, ptr %124, align 8, !tbaa !28
  %126 = getelementptr inbounds i8, ptr %125, i64 4
  %127 = load i32, ptr %126, align 4, !tbaa !29
  %.not18 = icmp eq i32 %127, 0
  br i1 %.not18, label %219, label %128

128:                                              ; preds = %119
  %129 = getelementptr inbounds i8, ptr %0, i64 24
  %130 = load ptr, ptr %129, align 8, !tbaa !33
  %131 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %130)
  %132 = load i32, ptr %7, align 8, !tbaa !5
  %133 = add i32 %132, 1
  %134 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %135 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %134) #7
  %136 = load ptr, ptr %2, align 8, !tbaa !35
  %137 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %131, i32 noundef %133, ptr noundef %135, ptr noundef %136)
  br label %219

138:                                              ; preds = %108
  %139 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %140 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %139, ptr noundef nonnull @.str.18)
  br i1 %140, label %141, label %167

141:                                              ; preds = %138
  %142 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %.not16 = icmp eq i64 %142, 3
  br i1 %.not16, label %148, label %143

143:                                              ; preds = %141
  %144 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %145 = load i32, ptr %7, align 8, !tbaa !5
  %146 = add i32 %145, 1
  %147 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, i32 noundef %146)
  call void @exit(i32 noundef -1) #9
  unreachable

148:                                              ; preds = %141
  %149 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #7
  %150 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %149) #7
  store ptr %150, ptr %1, align 8, !tbaa !35
  %151 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 2) #7
  %152 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %151) #7
  store ptr %152, ptr %2, align 8, !tbaa !35
  %153 = getelementptr inbounds i8, ptr %0, i64 16
  %154 = load ptr, ptr %153, align 8, !tbaa !28
  %155 = getelementptr inbounds i8, ptr %154, i64 4
  %156 = load i32, ptr %155, align 4, !tbaa !29
  %.not17 = icmp eq i32 %156, 0
  br i1 %.not17, label %219, label %157

157:                                              ; preds = %148
  %158 = getelementptr inbounds i8, ptr %0, i64 24
  %159 = load ptr, ptr %158, align 8, !tbaa !33
  %160 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %159)
  %161 = load i32, ptr %7, align 8, !tbaa !5
  %162 = add i32 %161, 1
  %163 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %164 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %163) #7
  %165 = load ptr, ptr %2, align 8, !tbaa !35
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %160, i32 noundef %162, ptr noundef %164, ptr noundef %165)
  br label %219

167:                                              ; preds = %138
  %168 = getelementptr inbounds i8, ptr %0, i64 16
  %169 = load ptr, ptr %168, align 8, !tbaa !28
  %170 = getelementptr inbounds i8, ptr %169, i64 4
  %171 = load i32, ptr %170, align 4, !tbaa !29
  %.not = icmp eq i32 %171, 0
  br i1 %.not, label %181, label %172

172:                                              ; preds = %167
  %173 = getelementptr inbounds i8, ptr %0, i64 24
  %174 = load ptr, ptr %173, align 8, !tbaa !33
  %175 = call noundef i32 @_ZNK8Database6get_idEv(ptr noundef nonnull align 8 dereferenceable(24) %174)
  %176 = load i32, ptr %7, align 8, !tbaa !5
  %177 = add i32 %176, 1
  %178 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %179 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %178) #7
  %180 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20, i32 noundef %175, i32 noundef %177, ptr noundef %179)
  br label %181

181:                                              ; preds = %172, %167
  %182 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %183 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %182, ptr noundef nonnull @.str.21)
  br i1 %183, label %184, label %186

184:                                              ; preds = %181
  %185 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, ptr noundef nonnull @.str.4, i32 noundef 497)
  br label %219

186:                                              ; preds = %181
  %187 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %188 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %187, ptr noundef nonnull @.str.23)
  br i1 %188, label %219, label %189

189:                                              ; preds = %186
  %190 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %191 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %190, ptr noundef nonnull @.str.24)
  br i1 %191, label %219, label %192

192:                                              ; preds = %189
  %193 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %194 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %193, ptr noundef nonnull @.str.25)
  br i1 %194, label %219, label %195

195:                                              ; preds = %192
  %196 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %197 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %196, ptr noundef nonnull @.str.26)
  br i1 %197, label %219, label %198

198:                                              ; preds = %195
  %199 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %200 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %199, ptr noundef nonnull @.str.27)
  br i1 %200, label %219, label %201

201:                                              ; preds = %198
  %202 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %203 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %202, ptr noundef nonnull @.str.28)
  br i1 %203, label %219, label %204

204:                                              ; preds = %201
  %205 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %206 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %205, ptr noundef nonnull @.str.29)
  br i1 %206, label %219, label %207

207:                                              ; preds = %204
  %208 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %209 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %208, ptr noundef nonnull @.str.30)
  br i1 %209, label %219, label %210

210:                                              ; preds = %207
  %211 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %212 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %211, ptr noundef nonnull @.str.31)
  br i1 %212, label %219, label %213

213:                                              ; preds = %210
  %214 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %215 = load i32, ptr %7, align 8, !tbaa !5
  %216 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  %217 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %216) #7
  %218 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, i32 noundef %215, ptr noundef %217)
  call void @exit(i32 noundef -1) #9
  unreachable

219:                                              ; preds = %210, %207, %201, %204, %195, %198, %192, %189, %186, %148, %157, %119, %128, %105, %107, %57, %63, %31, %37, %4, %184
  %.0 = phi i32 [ 11, %184 ], [ 11, %4 ], [ 5, %37 ], [ 5, %31 ], [ 6, %63 ], [ 6, %57 ], [ 0, %107 ], [ 0, %105 ], [ 2, %128 ], [ 2, %119 ], [ 1, %157 ], [ 1, %148 ], [ 11, %186 ], [ 999999, %189 ], [ 4, %192 ], [ 8, %198 ], [ 8, %195 ], [ 3, %204 ], [ 3, %201 ], [ 7, %207 ], [ 10, %210 ]
  ret i32 %.0
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_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 #5

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare noundef ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #6

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 = { nofree 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 #4 = { noreturn 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nounwind willreturn memory(read) }
attributes #9 = { 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, !8, i64 984}
!6 = !{!"_ZTS15ParserGenerator", !7, i64 0, !11, i64 96, !11, i64 104, !11, i64 112, !13, i64 120, !14, i64 128, !21, i64 960, !8, i64 984, !25, i64 992, !8, i64 1000, !11, i64 1008, !21, i64 1016}
!7 = !{!"_ZTS9Generator", !8, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !12, i64 40, !11, i64 64, !9, i64 72, !13, i64 88}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTS12ups_record_t", !8, i64 0, !11, i64 8, !8, i64 16}
!13 = !{!"bool", !9, i64 0}
!14 = !{!"_ZTS7Metrics", !11, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !17, i64 168}
!15 = !{!"long", !9, i64 0}
!16 = !{!"double", !9, i64 0}
!17 = !{!"_ZTS17ups_env_metrics_t", !18, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !19, i64 224, !19, i64 440, !8, i64 656}
!18 = !{!"short", !9, i64 0}
!19 = !{!"_ZTS15btree_metrics_t", !18, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !8, i64 32, !20, i64 36, !20, i64 56, !20, i64 76, !20, i64 96, !20, i64 116, !20, i64 136, !20, i64 156, !20, i64 176, !20, i64 196}
!20 = !{!"_ZTS17min_max_avg_u32_t", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!21 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!25 = !{!"_ZTS5TimerIN5boost6chrono12system_clockEE", !26, i64 0}
!26 = !{!"_ZTSN5boost6chrono10time_pointINS0_12system_clockENS0_8durationIlNS_5ratioILl1ELl1000000000EEEEEEE", !27, i64 0}
!27 = !{!"_ZTSN5boost6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE", !15, i64 0}
!28 = !{!7, !11, i64 16}
!29 = !{!30, !8, i64 4}
!30 = !{!"_ZTS13Configuration", !13, i64 0, !8, i64 4, !13, i64 8, !13, i64 9, !13, i64 10, !31, i64 16, !13, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !13, i64 64, !8, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !8, i64 104, !13, i64 108, !8, i64 112, !8, i64 116, !8, i64 120, !8, i64 124, !13, i64 128, !13, i64 129, !8, i64 132, !13, i64 136, !8, i64 140, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !8, i64 152, !8, i64 156, !8, i64 160, !13, i64 164, !13, i64 165, !13, i64 166, !8, i64 168, !8, i64 172, !31, i64 176, !8, i64 208, !8, i64 212, !8, i64 216, !13, i64 220, !13, i64 221, !8, i64 224, !8, i64 228, !8, i64 232, !13, i64 236, !13, i64 237, !13, i64 238, !13, i64 239, !8, i64 240, !13, i64 244, !13, i64 245}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !32, i64 0, !15, i64 8, !9, i64 16}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!33 = !{!7, !11, i64 24}
!34 = !{!30, !8, i64 52}
!35 = !{!11, !11, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass