; LLVM IR from eProsima/Fast-DDS :: src/cpp/rtps/persistence (sqlite3)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.sqlite3_index_info = type { i32, ptr, i32, ptr, ptr, i32, ptr, i32, i32, double, i64, i32, i64 }
%struct.HiddenIndexInfo = type { ptr, ptr, i32, i32, i32, [1 x ptr] }
%struct.sqlite3_index_constraint = type { i32, i8, i8, i32 }
%struct.Parse = type { ptr, ptr, ptr, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, %struct.Token, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, %union.anon.11, i32, i32, i16, i8, i8, i8, i8, [8 x i32], ptr, %struct.Token, %struct.Token, i16, i8, i8, i8, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.Token, ptr, ptr, ptr }
%union.anon.11 = type { ptr }
%struct.Token = type { ptr, i32 }
%struct.WhereTerm = type { ptr, ptr, i16, i16, i16, i8, i8, i32, i32, %union.anon.16, i64, i64 }
%union.anon.16 = type { ptr }
%struct.Expr = type { i8, i8, i8, i32, %union.anon.1, ptr, ptr, %union.anon.2, i32, i32, i16, i16, %union.anon.3, ptr, %union.anon.4 }
%union.anon.1 = type { ptr }
%union.anon.2 = type { ptr }
%union.anon.3 = type { i32 }
%union.anon.4 = type { ptr }
%struct.sqlite3 = type { ptr, ptr, ptr, ptr, ptr, i32, i32, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i64, i64, [12 x i32], i32, %struct.sqlite3InitInfo, i32, i32, i32, i32, i32, i32, ptr, %union.anon, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %union.anon.0, %struct.Lookaside, ptr, ptr, ptr, ptr, i32, i32, %struct.Hash, ptr, ptr, ptr, %struct.Hash, %struct.Hash, %struct.BusyHandler, [2 x %struct.Db], ptr, i32, i32, i32, i32, i64, i64, ptr, ptr }
%struct.sqlite3InitInfo = type { i32, i8, i8, i8, ptr }
%union.anon = type { ptr }
%union.anon.0 = type { double }
%struct.Lookaside = type { i32, i16, i16, i8, i32, [3 x i32], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Hash = type { i32, i32, ptr, ptr }
%struct.BusyHandler = type { ptr, ptr, i32 }
%struct.Db = type { ptr, ptr, i8, i8, ptr }

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

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3MisuseError(i32 noundef) #1

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

; Function Attrs: nounwind uwtable
declare hidden ptr @termFromWhereClause(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_vtab_rhs_value(ptr noundef %0, i32 noundef %1, ptr noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #2
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.sqlite3_index_info, ptr %11, i64 1
  store ptr %12, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #2
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  store i32 0, ptr %9, align 4, !tbaa !9
  %13 = load i32, ptr %5, align 4, !tbaa !9
  %14 = icmp slt i32 %13, 0
  br i1 %14, label %21, label %15

15:                                               ; preds = %3
  %16 = load i32, ptr %5, align 4, !tbaa !9
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.sqlite3_index_info, ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 8, !tbaa !11
  %20 = icmp sge i32 %16, %19
  br i1 %20, label %21, label %23

21:                                               ; preds = %15, %3
  %22 = call i32 @sqlite3MisuseError(i32 noundef 167640)
  store i32 %22, ptr %9, align 4, !tbaa !9
  br label %74

23:                                               ; preds = %15
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.HiddenIndexInfo, ptr %24, i32 0, i32 5
  %26 = load i32, ptr %5, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [1 x ptr], ptr %25, i64 0, i64 %27
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %67

31:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.HiddenIndexInfo, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !15
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.sqlite3_index_info, ptr %35, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !17
  %38 = load i32, ptr %5, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %37, i64 %39
  %41 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %40, i32 0, i32 3
  %42 = load i32, ptr %41, align 4, !tbaa !18
  %43 = call ptr @termFromWhereClause(ptr noundef %34, i32 noundef %42)
  store ptr %43, ptr %10, align 8, !tbaa !5
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.HiddenIndexInfo, ptr %44, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !20
  %47 = getelementptr inbounds %struct.Parse, ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !21
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.WhereTerm, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !25
  %52 = getelementptr inbounds %struct.Expr, ptr %51, i32 0, i32 6
  %53 = load ptr, ptr %52, align 8, !tbaa !27
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.HiddenIndexInfo, ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !20
  %57 = getelementptr inbounds %struct.Parse, ptr %56, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = getelementptr inbounds %struct.sqlite3, ptr %58, i32 0, i32 17
  %60 = load i8, ptr %59, align 4, !tbaa !29
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.HiddenIndexInfo, ptr %61, i32 0, i32 5
  %63 = load i32, ptr %5, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [1 x ptr], ptr %62, i64 0, i64 %64
  %66 = call i32 @sqlite3ValueFromExpr(ptr noundef %48, ptr noundef %53, i8 noundef zeroext %60, i8 noundef zeroext 65, ptr noundef %65)
  store i32 %66, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  br label %67

67:                                               ; preds = %31, %23
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.HiddenIndexInfo, ptr %68, i32 0, i32 5
  %70 = load i32, ptr %5, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [1 x ptr], ptr %69, i64 0, i64 %71
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  store ptr %73, ptr %8, align 8, !tbaa !5
  br label %74

74:                                               ; preds = %67, %21
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %75, ptr %76, align 8, !tbaa !5
  %77 = load i32, ptr %9, align 4, !tbaa !9
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %83

79:                                               ; preds = %74
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = icmp eq ptr %80, null
  br i1 %81, label %82, label %83

82:                                               ; preds = %79
  store i32 12, ptr %9, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %82, %79, %74
  %84 = load i32, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #2
  ret i32 %84
}

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3ValueFromExpr(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"sqlite3_index_info", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !6, i64 48, !10, i64 56, !10, i64 60, !13, i64 64, !14, i64 72, !10, i64 80, !14, i64 88}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"HiddenIndexInfo", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 32}
!17 = !{!12, !6, i64 8}
!18 = !{!19, !10, i64 8}
!19 = !{!"sqlite3_index_constraint", !10, i64 0, !7, i64 4, !7, i64 5, !10, i64 8}
!20 = !{!16, !6, i64 8}
!21 = !{!22, !6, i64 0}
!22 = !{!"Parse", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !7, i64 28, !7, i64 29, !7, i64 30, !7, i64 31, !7, i64 32, !7, i64 33, !7, i64 34, !7, i64 35, !7, i64 36, !7, i64 37, !7, i64 38, !7, i64 39, !7, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !23, i64 112, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !7, i64 208, !10, i64 216, !10, i64 220, !24, i64 224, !7, i64 226, !7, i64 227, !7, i64 228, !7, i64 229, !7, i64 232, !6, i64 264, !23, i64 272, !23, i64 288, !24, i64 304, !7, i64 306, !7, i64 307, !7, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !23, i64 384, !6, i64 400, !6, i64 408, !6, i64 416}
!23 = !{!"Token", !6, i64 0, !10, i64 8}
!24 = !{!"short", !7, i64 0}
!25 = !{!26, !6, i64 0}
!26 = !{!"WhereTerm", !6, i64 0, !6, i64 8, !24, i64 16, !24, i64 18, !24, i64 20, !7, i64 22, !7, i64 23, !10, i64 24, !10, i64 28, !7, i64 32, !14, i64 40, !14, i64 48}
!27 = !{!28, !6, i64 24}
!28 = !{!"Expr", !7, i64 0, !7, i64 1, !7, i64 2, !10, i64 4, !7, i64 8, !6, i64 16, !6, i64 24, !7, i64 32, !10, i64 40, !10, i64 44, !24, i64 48, !24, i64 50, !7, i64 52, !6, i64 56, !7, i64 64}
!29 = !{!30, !7, i64 100}
!30 = !{!"sqlite3", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !14, i64 48, !14, i64 56, !14, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !7, i64 100, !7, i64 101, !7, i64 102, !7, i64 103, !7, i64 104, !7, i64 105, !7, i64 106, !7, i64 107, !7, i64 108, !7, i64 109, !7, i64 110, !7, i64 111, !7, i64 112, !7, i64 113, !10, i64 116, !14, i64 120, !14, i64 128, !7, i64 136, !10, i64 184, !31, i64 192, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !6, i64 232, !7, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !7, i64 400, !32, i64 408, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !10, i64 536, !10, i64 540, !33, i64 544, !6, i64 568, !6, i64 576, !6, i64 584, !33, i64 592, !33, i64 616, !34, i64 640, !7, i64 664, !6, i64 728, !10, i64 736, !10, i64 740, !10, i64 744, !10, i64 748, !14, i64 752, !14, i64 760, !6, i64 768, !6, i64 776}
!31 = !{!"sqlite3InitInfo", !10, i64 0, !7, i64 4, !7, i64 5, !10, i64 6, !10, i64 6, !10, i64 6, !6, i64 8}
!32 = !{!"Lookaside", !10, i64 0, !24, i64 4, !24, i64 6, !7, i64 8, !10, i64 12, !7, i64 16, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!33 = !{!"Hash", !10, i64 0, !10, i64 4, !6, i64 8, !6, i64 16}
!34 = !{!"BusyHandler", !6, i64 0, !6, i64 8, !10, i64 16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.sqlite3_index_constraint = type { i32, i8, i8, i32 }

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3MisuseError(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden ptr @termFromWhereClause(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_vtab_rhs_value(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 96
  %5 = icmp slt i32 %1, 0
  br i1 %5, label %8, label %6

6:                                                ; preds = %3
  %7 = load i32, ptr %0, align 8, !tbaa !5
  %.not = icmp sgt i32 %7, %1
  br i1 %.not, label %10, label %8

8:                                                ; preds = %6, %3
  %9 = tail call i32 @sqlite3MisuseError(i32 noundef 167640)
  br label %32

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %0, i64 128
  %12 = zext nneg i32 %1 to i64
  %13 = getelementptr inbounds [1 x ptr], ptr %11, i64 0, i64 %12
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %15 = icmp eq ptr %14, null
  br i1 %15, label %16, label %32

16:                                               ; preds = %10
  %17 = load ptr, ptr %4, align 8, !tbaa !14
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  %19 = load ptr, ptr %18, align 8, !tbaa !16
  %20 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %19, i64 %12, i32 3
  %21 = load i32, ptr %20, align 4, !tbaa !17
  %22 = tail call ptr @termFromWhereClause(ptr noundef %17, i32 noundef %21)
  %23 = getelementptr inbounds i8, ptr %0, i64 104
  %24 = load ptr, ptr %23, align 8, !tbaa !19
  %25 = load ptr, ptr %24, align 8, !tbaa !20
  %26 = load ptr, ptr %22, align 8, !tbaa !24
  %27 = getelementptr inbounds i8, ptr %26, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !26
  %29 = getelementptr inbounds i8, ptr %25, i64 100
  %30 = load i8, ptr %29, align 4, !tbaa !28
  %31 = tail call i32 @sqlite3ValueFromExpr(ptr noundef %25, ptr noundef %28, i8 noundef zeroext %30, i8 noundef zeroext 65, ptr noundef nonnull %13)
  %.pre = load ptr, ptr %13, align 8, !tbaa !13
  br label %32

32:                                               ; preds = %10, %16, %8
  %.1 = phi i32 [ %9, %8 ], [ %31, %16 ], [ 0, %10 ]
  %.0 = phi ptr [ null, %8 ], [ %.pre, %16 ], [ %14, %10 ]
  store ptr %.0, ptr %2, align 8, !tbaa !13
  %33 = icmp eq i32 %.1, 0
  %34 = icmp eq ptr %.0, null
  %or.cond = select i1 %33, i1 %34, i1 false
  %spec.store.select = select i1 %or.cond, i32 12, i32 %.1
  ret i32 %spec.store.select
}

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3ValueFromExpr(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) local_unnamed_addr #0

attributes #0 = { 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" }

!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, !7, i64 0}
!6 = !{!"sqlite3_index_info", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !10, i64 48, !7, i64 56, !7, i64 60, !11, i64 64, !12, i64 72, !7, i64 80, !12, i64 88}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"HiddenIndexInfo", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !8, i64 32}
!16 = !{!6, !10, i64 8}
!17 = !{!18, !7, i64 8}
!18 = !{!"sqlite3_index_constraint", !7, i64 0, !8, i64 4, !8, i64 5, !7, i64 8}
!19 = !{!15, !10, i64 8}
!20 = !{!21, !10, i64 0}
!21 = !{!"Parse", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !8, i64 28, !8, i64 29, !8, i64 30, !8, i64 31, !8, i64 32, !8, i64 33, !8, i64 34, !8, i64 35, !8, i64 36, !8, i64 37, !8, i64 38, !8, i64 39, !8, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !22, i64 112, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !8, i64 208, !7, i64 216, !7, i64 220, !23, i64 224, !8, i64 226, !8, i64 227, !8, i64 228, !8, i64 229, !8, i64 232, !10, i64 264, !22, i64 272, !22, i64 288, !23, i64 304, !8, i64 306, !8, i64 307, !8, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !22, i64 384, !10, i64 400, !10, i64 408, !10, i64 416}
!22 = !{!"Token", !10, i64 0, !7, i64 8}
!23 = !{!"short", !8, i64 0}
!24 = !{!25, !10, i64 0}
!25 = !{!"WhereTerm", !10, i64 0, !10, i64 8, !23, i64 16, !23, i64 18, !23, i64 20, !8, i64 22, !8, i64 23, !7, i64 24, !7, i64 28, !8, i64 32, !12, i64 40, !12, i64 48}
!26 = !{!27, !10, i64 24}
!27 = !{!"Expr", !8, i64 0, !8, i64 1, !8, i64 2, !7, i64 4, !8, i64 8, !10, i64 16, !10, i64 24, !8, i64 32, !7, i64 40, !7, i64 44, !23, i64 48, !23, i64 50, !8, i64 52, !10, i64 56, !8, i64 64}
!28 = !{!29, !8, i64 100}
!29 = !{!"sqlite3", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 44, !12, i64 48, !12, i64 56, !12, i64 64, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !8, i64 100, !8, i64 101, !8, i64 102, !8, i64 103, !8, i64 104, !8, i64 105, !8, i64 106, !8, i64 107, !8, i64 108, !8, i64 109, !8, i64 110, !8, i64 111, !8, i64 112, !8, i64 113, !7, i64 116, !12, i64 120, !12, i64 128, !8, i64 136, !7, i64 184, !30, i64 192, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !10, i64 232, !8, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !8, i64 400, !31, i64 408, !10, i64 504, !10, i64 512, !10, i64 520, !10, i64 528, !7, i64 536, !7, i64 540, !32, i64 544, !10, i64 568, !10, i64 576, !10, i64 584, !32, i64 592, !32, i64 616, !33, i64 640, !8, i64 664, !10, i64 728, !7, i64 736, !7, i64 740, !7, i64 744, !7, i64 748, !12, i64 752, !12, i64 760, !10, i64 768, !10, i64 776}
!30 = !{!"sqlite3InitInfo", !7, i64 0, !8, i64 4, !8, i64 5, !7, i64 6, !7, i64 6, !7, i64 6, !10, i64 8}
!31 = !{!"Lookaside", !7, i64 0, !23, i64 4, !23, i64 6, !8, i64 8, !7, i64 12, !8, i64 16, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88}
!32 = !{!"Hash", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!33 = !{!"BusyHandler", !10, i64 0, !10, i64 8, !7, i64 16}


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