; LLVM IR from WayneLin92/SSeqCpp :: thirdparty/sqlite3 (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.WhereClause = type { ptr, ptr, i8, i8, i32, i32, i32, ptr, [8 x %struct.WhereTerm] }
%struct.WhereTerm = type { ptr, ptr, i16, i16, i16, i8, i8, i32, i32, %union.anon.15, i64, i64 }
%union.anon.15 = type { 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, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, %struct.Token, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, %union.anon.10, i32, i32, i32, i32, 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.10 = type { ptr }
%struct.Token = type { ptr, i32 }
%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 }
%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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; 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 %22

21:                                               ; preds = %15, %3
  store i32 21, ptr %9, align 4, !tbaa !9
  br label %76

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

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

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

76:                                               ; preds = %69, %21
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %77, ptr %78, align 8, !tbaa !5
  %79 = load i32, ptr %9, align 4, !tbaa !9
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %81, label %85

81:                                               ; preds = %76
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = icmp eq ptr %82, null
  br i1 %83, label %84, label %85

84:                                               ; preds = %81
  store i32 12, ptr %9, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %84, %81, %76
  %86 = 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 %86
}

; 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 = !{!18, !6, i64 32}
!18 = !{!"WhereClause", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !10, i64 20, !10, i64 24, !10, i64 28, !6, i64 32, !7, i64 40}
!19 = !{!12, !6, i64 8}
!20 = !{!21, !10, i64 8}
!21 = !{!"sqlite3_index_constraint", !10, i64 0, !7, i64 4, !7, i64 5, !10, i64 8}
!22 = !{!16, !6, i64 8}
!23 = !{!24, !6, i64 0}
!24 = !{!"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, !10, 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, !6, i64 80, !6, i64 88, !6, i64 96, !25, i64 104, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !7, i64 200, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !7, i64 224, !7, i64 225, !7, i64 226, !7, i64 227, !7, i64 228, !6, i64 264, !25, i64 272, !25, i64 288, !26, 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, !25, i64 384, !6, i64 400, !6, i64 408, !6, i64 416}
!25 = !{!"Token", !6, i64 0, !10, i64 8}
!26 = !{!"short", !7, i64 0}
!27 = !{!28, !6, i64 0}
!28 = !{!"WhereTerm", !6, i64 0, !6, i64 8, !26, i64 16, !26, i64 18, !26, i64 20, !7, i64 22, !7, i64 23, !10, i64 24, !10, i64 28, !7, i64 32, !14, i64 40, !14, i64 48}
!29 = !{!30, !6, i64 24}
!30 = !{!"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, !26, i64 48, !26, i64 50, !7, i64 52, !6, i64 56, !7, i64 64}
!31 = !{!32, !7, i64 100}
!32 = !{!"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, !33, 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, !34, i64 408, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !10, i64 536, !10, i64 540, !35, i64 544, !6, i64 568, !6, i64 576, !6, i64 584, !35, i64 592, !35, i64 616, !36, 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}
!33 = !{!"sqlite3InitInfo", !10, i64 0, !7, i64 4, !7, i64 5, !10, i64 6, !10, i64 6, !10, i64 6, !6, i64 8}
!34 = !{!"Lookaside", !10, i64 0, !26, i64 4, !26, 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}
!35 = !{!"Hash", !10, i64 0, !10, i64 4, !6, i64 8, !6, i64 16}
!36 = !{!"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 }
%struct.WhereTerm = type { ptr, ptr, i16, i16, i16, i8, i8, i32, i32, %union.anon.15, i64, i64 }
%union.anon.15 = type { ptr }

; 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 %33, label %6

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

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

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

33:                                               ; preds = %8, %14, %3, %6
  %.1 = phi i32 [ 21, %6 ], [ 21, %3 ], [ %32, %14 ], [ 0, %8 ]
  %.0 = phi ptr [ null, %6 ], [ null, %3 ], [ %.pre, %14 ], [ %12, %8 ]
  store ptr %.0, ptr %2, align 8, !tbaa !13
  %34 = icmp eq i32 %.1, 0
  %35 = icmp eq ptr %.0, null
  %or.cond = select i1 %34, i1 %35, 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 = !{!17, !10, i64 32}
!17 = !{!"WhereClause", !10, i64 0, !10, i64 8, !8, i64 16, !8, i64 17, !7, i64 20, !7, i64 24, !7, i64 28, !10, i64 32, !8, i64 40}
!18 = !{!6, !10, i64 8}
!19 = !{!20, !7, i64 8}
!20 = !{!"sqlite3_index_constraint", !7, i64 0, !8, i64 4, !8, i64 5, !7, i64 8}
!21 = !{!15, !10, i64 8}
!22 = !{!23, !10, i64 0}
!23 = !{!"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, !7, 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, !10, i64 80, !10, i64 88, !10, i64 96, !24, i64 104, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !8, i64 200, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !8, i64 224, !8, i64 225, !8, i64 226, !8, i64 227, !8, i64 228, !10, i64 264, !24, i64 272, !24, i64 288, !25, 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, !24, i64 384, !10, i64 400, !10, i64 408, !10, i64 416}
!24 = !{!"Token", !10, i64 0, !7, i64 8}
!25 = !{!"short", !8, i64 0}
!26 = !{!27, !10, i64 0}
!27 = !{!"WhereTerm", !10, i64 0, !10, i64 8, !25, i64 16, !25, i64 18, !25, i64 20, !8, i64 22, !8, i64 23, !7, i64 24, !7, i64 28, !8, i64 32, !12, i64 40, !12, i64 48}
!28 = !{!29, !10, i64 24}
!29 = !{!"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, !25, i64 48, !25, i64 50, !8, i64 52, !10, i64 56, !8, i64 64}
!30 = !{!31, !8, i64 100}
!31 = !{!"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, !32, 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, !33, i64 408, !10, i64 504, !10, i64 512, !10, i64 520, !10, i64 528, !7, i64 536, !7, i64 540, !34, i64 544, !10, i64 568, !10, i64 576, !10, i64 584, !34, i64 592, !34, i64 616, !35, 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}
!32 = !{!"sqlite3InitInfo", !7, i64 0, !8, i64 4, !8, i64 5, !7, i64 6, !7, i64 6, !7, i64 6, !10, i64 8}
!33 = !{!"Lookaside", !7, i64 0, !25, i64 4, !25, 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}
!34 = !{!"Hash", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!35 = !{!"BusyHandler", !10, i64 0, !10, i64 8, !7, i64 16}


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