; LLVM IR from Softmotions/iowow :: src/kv/examples (example1)

; 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.iwkv_opts = type { ptr, i32, i32, i8, i8, %struct.iwkv_wal_opts }
%struct.iwkv_wal_opts = type { i8, i8, i32, i32, i64, i64, ptr, ptr }
%struct.iwkv_val = type { ptr, i64, i64 }

@__const.main.opts = external hidden unnamed_addr constant %struct.iwkv_opts, align 8
@.str.1 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@stdout = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.iwkv_opts, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca %struct.iwkv_val, align 8
  %8 = alloca %struct.iwkv_val, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 72, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 @__const.main.opts, i64 72, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %9 = call i64 @iwkv_open(ptr noundef %2, ptr noundef %3)
  store i64 %9, ptr %5, align 8, !tbaa !5
  %10 = load i64, ptr %5, align 8, !tbaa !5
  %11 = icmp ne i64 %10, 0
  br i1 %11, label %12, label %14

12:                                               ; preds = %0
  %13 = load i64, ptr %5, align 8, !tbaa !5
  call void @iwlog3(i32 noundef 0, i64 noundef %13, ptr noundef @.str.1, i32 noundef 14, ptr noundef @.str.2)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %6, align 4
  br label %78

14:                                               ; preds = %0
  %15 = load ptr, ptr %3, align 8, !tbaa !9
  %16 = call i64 @iwkv_db(ptr noundef %15, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %4)
  store i64 %16, ptr %5, align 8, !tbaa !5
  %17 = load i64, ptr %5, align 8, !tbaa !5
  %18 = icmp ne i64 %17, 0
  br i1 %18, label %19, label %21

19:                                               ; preds = %14
  %20 = load i64, ptr %5, align 8, !tbaa !5
  call void @iwlog3(i32 noundef 0, i64 noundef %20, ptr noundef @.str.1, i32 noundef 22, ptr noundef @.str.3)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %6, align 4
  br label %78

21:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  %22 = getelementptr inbounds %struct.iwkv_val, ptr %7, i32 0, i32 0
  store ptr @.str.4, ptr %22, align 8, !tbaa !11
  %23 = getelementptr inbounds %struct.iwkv_val, ptr %7, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = call i64 @strlen(ptr noundef %24) #7
  %26 = getelementptr inbounds %struct.iwkv_val, ptr %7, i32 0, i32 1
  store i64 %25, ptr %26, align 8, !tbaa !13
  %27 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 0
  store ptr @.str.5, ptr %27, align 8, !tbaa !11
  %28 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 0
  %29 = load ptr, ptr %28, align 8, !tbaa !11
  %30 = call i64 @strlen(ptr noundef %29) #7
  %31 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 1
  store i64 %30, ptr %31, align 8, !tbaa !13
  %32 = load ptr, ptr @stdout, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct.iwkv_val, ptr %7, i32 0, i32 1
  %34 = load i64, ptr %33, align 8, !tbaa !13
  %35 = trunc i64 %34 to i32
  %36 = getelementptr inbounds %struct.iwkv_val, ptr %7, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 1
  %39 = load i64, ptr %38, align 8, !tbaa !13
  %40 = trunc i64 %39 to i32
  %41 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.6, i32 noundef %35, ptr noundef %37, i32 noundef %40, ptr noundef %42) #6
  %44 = load ptr, ptr %4, align 8, !tbaa !9
  %45 = call i64 @iwkv_put(ptr noundef %44, ptr noundef %7, ptr noundef %8, i8 noundef zeroext 0)
  store i64 %45, ptr %5, align 8, !tbaa !5
  %46 = load i64, ptr %5, align 8, !tbaa !5
  %47 = icmp ne i64 %46, 0
  br i1 %47, label %48, label %52

48:                                               ; preds = %21
  %49 = load i64, ptr %5, align 8, !tbaa !5
  call void @iwlog3(i32 noundef 0, i64 noundef %49, ptr noundef @.str.1, i32 noundef 38, ptr noundef @.str.2)
  %50 = load i64, ptr %5, align 8, !tbaa !5
  %51 = trunc i64 %50 to i32
  store i32 %51, ptr %1, align 4
  store i32 1, ptr %6, align 4
  br label %77

52:                                               ; preds = %21
  %53 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 0
  store ptr null, ptr %53, align 8, !tbaa !11
  %54 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 1
  store i64 0, ptr %54, align 8, !tbaa !13
  %55 = load ptr, ptr %4, align 8, !tbaa !9
  %56 = call i64 @iwkv_get(ptr noundef %55, ptr noundef %7, ptr noundef %8)
  store i64 %56, ptr %5, align 8, !tbaa !5
  %57 = load i64, ptr %5, align 8, !tbaa !5
  %58 = icmp ne i64 %57, 0
  br i1 %58, label %59, label %63

59:                                               ; preds = %52
  %60 = load i64, ptr %5, align 8, !tbaa !5
  call void @iwlog3(i32 noundef 0, i64 noundef %60, ptr noundef @.str.1, i32 noundef 46, ptr noundef @.str.2)
  %61 = load i64, ptr %5, align 8, !tbaa !5
  %62 = trunc i64 %61 to i32
  store i32 %62, ptr %1, align 4
  store i32 1, ptr %6, align 4
  br label %77

63:                                               ; preds = %52
  %64 = load ptr, ptr @stdout, align 8, !tbaa !9
  %65 = getelementptr inbounds %struct.iwkv_val, ptr %7, i32 0, i32 1
  %66 = load i64, ptr %65, align 8, !tbaa !13
  %67 = trunc i64 %66 to i32
  %68 = getelementptr inbounds %struct.iwkv_val, ptr %7, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !11
  %70 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 1
  %71 = load i64, ptr %70, align 8, !tbaa !13
  %72 = trunc i64 %71 to i32
  %73 = getelementptr inbounds %struct.iwkv_val, ptr %8, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.7, i32 noundef %67, ptr noundef %69, i32 noundef %72, ptr noundef %74) #6
  call void @iwkv_val_dispose(ptr noundef %8)
  %76 = call i64 @iwkv_close(ptr noundef %3)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %6, align 4
  br label %77

77:                                               ; preds = %63, %59, %48
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  br label %78

78:                                               ; preds = %77, %19, %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %2) #6
  %79 = load i32, ptr %1, align 4
  ret i32 %79
}

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

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

declare i64 @iwkv_open(ptr noundef, ptr noundef) #3

declare void @iwlog3(i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare i64 @iwkv_db(ptr noundef, i32 noundef, i8 noundef zeroext, ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #5

declare i64 @iwkv_put(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) #3

declare i64 @iwkv_get(ptr noundef, ptr noundef, ptr noundef) #3

declare void @iwkv_val_dispose(ptr noundef) #3

declare i64 @iwkv_close(ptr noundef) #3

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

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" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"iwkv_val", !10, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!12, !6, i64 8}


; 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.iwkv_opts = type { ptr, i32, i32, i8, i8, %struct.iwkv_wal_opts }
%struct.iwkv_wal_opts = type { i8, i8, i32, i32, i64, i64, ptr, ptr }
%struct.iwkv_val = type { ptr, i64, i64 }

@__const.main.opts = external hidden unnamed_addr constant %struct.iwkv_opts, align 8
@.str.1 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
  %1 = alloca %struct.iwkv_opts, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %struct.iwkv_val, align 8
  %5 = alloca %struct.iwkv_val, align 8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(72) @__const.main.opts, i64 72, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %6 = call i64 @iwkv_open(ptr noundef nonnull %1, ptr noundef nonnull %2) #7
  %.not = icmp eq i64 %6, 0
  br i1 %.not, label %8, label %7

7:                                                ; preds = %0
  call void @iwlog3(i32 noundef 0, i64 noundef %6, ptr noundef nonnull @.str.1, i32 noundef 14, ptr noundef nonnull @.str.2) #7
  br label %41

8:                                                ; preds = %0
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = call i64 @iwkv_db(ptr noundef %9, i32 noundef 1, i8 noundef zeroext 0, ptr noundef nonnull %3) #7
  %.not15 = icmp eq i64 %10, 0
  br i1 %.not15, label %12, label %11

11:                                               ; preds = %8
  call void @iwlog3(i32 noundef 0, i64 noundef %10, ptr noundef nonnull @.str.1, i32 noundef 22, ptr noundef nonnull @.str.3) #7
  br label %41

12:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  store ptr @.str.4, ptr %4, align 8, !tbaa !9
  %13 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.4) #8
  %14 = getelementptr inbounds i8, ptr %4, i64 8
  store i64 %13, ptr %14, align 8, !tbaa !12
  store ptr @.str.5, ptr %5, align 8, !tbaa !9
  %15 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.5) #8
  %16 = getelementptr inbounds i8, ptr %5, i64 8
  store i64 %15, ptr %16, align 8, !tbaa !12
  %17 = load ptr, ptr @stdout, align 8, !tbaa !5
  %18 = trunc i64 %13 to i32
  %19 = trunc i64 %15 to i32
  %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef nonnull @.str.6, i32 noundef %18, ptr noundef nonnull @.str.4, i32 noundef %19, ptr noundef nonnull @.str.5) #7
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = call i64 @iwkv_put(ptr noundef %21, ptr noundef nonnull %4, ptr noundef nonnull %5, i8 noundef zeroext 0) #7
  %.not16 = icmp eq i64 %22, 0
  br i1 %.not16, label %25, label %23

23:                                               ; preds = %12
  call void @iwlog3(i32 noundef 0, i64 noundef %22, ptr noundef nonnull @.str.1, i32 noundef 38, ptr noundef nonnull @.str.2) #7
  %24 = trunc i64 %22 to i32
  br label %40

25:                                               ; preds = %12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = call i64 @iwkv_get(ptr noundef %26, ptr noundef nonnull %4, ptr noundef nonnull %5) #7
  %.not17 = icmp eq i64 %27, 0
  br i1 %.not17, label %30, label %28

28:                                               ; preds = %25
  call void @iwlog3(i32 noundef 0, i64 noundef %27, ptr noundef nonnull @.str.1, i32 noundef 46, ptr noundef nonnull @.str.2) #7
  %29 = trunc i64 %27 to i32
  br label %40

30:                                               ; preds = %25
  %31 = load ptr, ptr @stdout, align 8, !tbaa !5
  %32 = load i64, ptr %14, align 8, !tbaa !12
  %33 = trunc i64 %32 to i32
  %34 = load ptr, ptr %4, align 8, !tbaa !9
  %35 = load i64, ptr %16, align 8, !tbaa !12
  %36 = trunc i64 %35 to i32
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str.7, i32 noundef %33, ptr noundef %34, i32 noundef %36, ptr noundef %37) #7
  call void @iwkv_val_dispose(ptr noundef nonnull %5) #7
  %39 = call i64 @iwkv_close(ptr noundef nonnull %2) #7
  br label %40

40:                                               ; preds = %30, %28, %23
  %.0 = phi i32 [ %24, %23 ], [ %29, %28 ], [ 0, %30 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  br label %41

41:                                               ; preds = %40, %11, %7
  %.1 = phi i32 [ 1, %7 ], [ 1, %11 ], [ %.0, %40 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %1) #7
  ret i32 %.1
}

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

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

declare i64 @iwkv_open(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @iwlog3(i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare i64 @iwkv_db(ptr noundef, i32 noundef, i8 noundef zeroext, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4

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

declare i64 @iwkv_put(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #3

declare i64 @iwkv_get(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @iwkv_val_dispose(ptr noundef) local_unnamed_addr #3

declare i64 @iwkv_close(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

!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, !6, i64 0}
!10 = !{!"iwkv_val", !6, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass