; LLVM IR from tomoyasuzuki/kvmm :: main (main)

; 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.subthread_input = type { ptr, ptr }
%struct.vm = type { i32, i32, ptr }
%struct.vcpu = type { i32, ptr, %struct.kvm_sregs, %struct.kvm_regs }
%struct.kvm_sregs = type { %struct.kvm_segment, %struct.kvm_segment, %struct.kvm_segment, %struct.kvm_segment, %struct.kvm_segment, %struct.kvm_segment, %struct.kvm_segment, %struct.kvm_segment, %struct.kvm_dtable, %struct.kvm_dtable, i64, i64, i64, i64, i64, i64, i64, [4 x i64] }
%struct.kvm_segment = type { i64, i32, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%struct.kvm_dtable = type { i64, i16, [3 x i16] }
%struct.kvm_regs = type { i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%struct.kvm_run = type { i8, i8, [6 x i8], i32, i8, i8, i16, i64, i64, %union.anon, i64, i64, %union.anon.27 }
%union.anon = type { %struct.anon.12 }
%struct.anon.12 = type { [32 x i64] }
%union.anon.27 = type { %struct.kvm_sync_regs, [1528 x i8] }
%struct.kvm_sync_regs = type { %struct.kvm_regs, %struct.kvm_sregs, %struct.kvm_vcpu_events }
%struct.kvm_vcpu_events = type { %struct.anon.28, %struct.anon.29, %struct.anon.30, i32, i32, %struct.anon.31, [27 x i8], i8, i64 }
%struct.anon.28 = type { i8, i8, i8, i8, i32 }
%struct.anon.29 = type { i8, i8, i8, i8 }
%struct.anon.30 = type { i8, i8, i8, i8 }
%struct.anon.31 = type { i8, i8, i8, i8 }

@vm = external dso_local global ptr, align 8
@vcpu = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @init_kvm(ptr noundef) #0

declare void @error(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @create_output_file() #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @observe_input(ptr noundef) #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca %struct.subthread_input, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %11 = call noalias ptr @malloc(i64 noundef 16) #5
  store ptr %11, ptr @vm, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %12 = call noalias ptr @malloc(i64 noundef 32) #5
  store ptr %12, ptr %6, align 8, !tbaa !9
  %13 = load ptr, ptr @vm, align 8, !tbaa !9
  call void @init_kvm(ptr noundef %13)
  %14 = load ptr, ptr @vm, align 8, !tbaa !9
  call void @create_vm(ptr noundef %14)
  call void (...) @create_blk()
  %15 = load ptr, ptr @vm, align 8, !tbaa !9
  %16 = getelementptr inbounds %struct.vm, ptr %15, i32 0, i32 1
  %17 = load i32, ptr %16, align 4, !tbaa !11
  call void @set_tss(i32 noundef %17)
  %18 = load ptr, ptr @vm, align 8, !tbaa !9
  %19 = load ptr, ptr %6, align 8, !tbaa !9
  call void @set_vm_mem(ptr noundef %18, ptr noundef %19, i64 noundef 0, i64 noundef 2147483648)
  %20 = load ptr, ptr @vm, align 8, !tbaa !9
  %21 = getelementptr inbounds %struct.vm, ptr %20, i32 0, i32 2
  %22 = load ptr, ptr %21, align 8, !tbaa !13
  call void @load_guest_binary(ptr noundef %22)
  %23 = load ptr, ptr @vm, align 8, !tbaa !9
  call void @init_vcpu(ptr noundef %23)
  call void (...) @init_lapic()
  call void (...) @init_ioapic()
  call void (...) @set_regs()
  call void (...) @create_uart()
  call void @create_output_file()
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %24 = call noalias ptr @malloc(i64 noundef 100) #5
  store ptr %24, ptr %9, align 8, !tbaa !9
  %25 = load ptr, ptr %9, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.subthread_input, ptr %8, i32 0, i32 0
  store ptr %25, ptr %26, align 8, !tbaa !14
  %27 = load ptr, ptr @vcpu, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.subthread_input, ptr %8, i32 0, i32 1
  store ptr %27, ptr %28, align 8, !tbaa !16
  %29 = call i32 @pthread_create(ptr noundef %7, ptr noundef null, ptr noundef @observe_input, ptr noundef %8) #6
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %2
  call void @error(ptr noundef @.str.4)
  br label %32

32:                                               ; preds = %31, %2
  br label %33

33:                                               ; preds = %61, %32
  %34 = load ptr, ptr @vcpu, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.vcpu, ptr %34, i32 0, i32 0
  %36 = load i32, ptr %35, align 8, !tbaa !17
  %37 = call i32 (i32, i64, ...) @ioctl(i32 noundef %36, i64 noundef 44672, i32 noundef 0) #6
  %38 = icmp slt i32 %37, 0
  br i1 %38, label %39, label %41

39:                                               ; preds = %33
  %40 = load ptr, ptr @vcpu, align 8, !tbaa !9
  call void (ptr, ...) @print_regs(ptr noundef %40)
  call void @error(ptr noundef @.str.5)
  br label %41

41:                                               ; preds = %39, %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %42 = load ptr, ptr @vcpu, align 8, !tbaa !9
  %43 = getelementptr inbounds %struct.vcpu, ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !25
  store ptr %44, ptr %10, align 8, !tbaa !9
  %45 = load ptr, ptr %10, align 8, !tbaa !9
  %46 = getelementptr inbounds %struct.kvm_run, ptr %45, i32 0, i32 3
  %47 = load i32, ptr %46, align 8, !tbaa !26
  switch i32 %47, label %54 [
    i32 2, label %48
    i32 6, label %50
    i32 7, label %52
  ]

48:                                               ; preds = %41
  %49 = load ptr, ptr @vcpu, align 8, !tbaa !9
  call void @emulate_io(ptr noundef %49)
  br label %61

50:                                               ; preds = %41
  %51 = load ptr, ptr @vcpu, align 8, !tbaa !9
  call void @emulate_mmio(ptr noundef %51)
  br label %61

52:                                               ; preds = %41
  %53 = load ptr, ptr @vcpu, align 8, !tbaa !9
  call void @emulate_interrupt(ptr noundef %53)
  br label %61

54:                                               ; preds = %41
  %55 = load ptr, ptr @vcpu, align 8, !tbaa !9
  %56 = getelementptr inbounds %struct.vcpu, ptr %55, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !25
  %58 = getelementptr inbounds %struct.kvm_run, ptr %57, i32 0, i32 3
  %59 = load i32, ptr %58, align 8, !tbaa !26
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %59)
  br label %61

61:                                               ; preds = %54, %52, %50, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %33
}

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

declare void @create_vm(ptr noundef) #1

declare void @create_blk(...) #1

declare void @set_tss(i32 noundef) #1

declare void @set_vm_mem(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1

declare void @load_guest_binary(ptr noundef) #1

declare void @init_vcpu(ptr noundef) #1

declare void @init_lapic(...) #1

declare void @init_ioapic(...) #1

declare void @set_regs(...) #1

declare void @create_uart(...) #1

; Function Attrs: nounwind
declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @ioctl(i32 noundef, i64 noundef, ...) #4

declare void @print_regs(...) #1

declare void @emulate_io(ptr noundef) #1

declare void @emulate_mmio(ptr noundef) #1

declare void @emulate_interrupt(ptr noundef) #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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { nounwind allocsize(0) }
attributes #6 = { 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 = !{!"int", !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, !6, i64 4}
!12 = !{!"vm", !6, i64 0, !6, i64 4, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = !{!15, !10, i64 0}
!15 = !{!"subthread_input", !10, i64 0, !10, i64 8}
!16 = !{!15, !10, i64 8}
!17 = !{!18, !6, i64 0}
!18 = !{!"vcpu", !6, i64 0, !10, i64 8, !19, i64 16, !24, i64 328}
!19 = !{!"kvm_sregs", !20, i64 0, !20, i64 24, !20, i64 48, !20, i64 72, !20, i64 96, !20, i64 120, !20, i64 144, !20, i64 168, !23, i64 192, !23, i64 208, !21, i64 224, !21, i64 232, !21, i64 240, !21, i64 248, !21, i64 256, !21, i64 264, !21, i64 272, !7, i64 280}
!20 = !{!"kvm_segment", !21, i64 0, !6, i64 8, !22, i64 12, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23}
!21 = !{!"long long", !7, i64 0}
!22 = !{!"short", !7, i64 0}
!23 = !{!"kvm_dtable", !21, i64 0, !22, i64 8, !7, i64 10}
!24 = !{!"kvm_regs", !21, i64 0, !21, i64 8, !21, i64 16, !21, i64 24, !21, i64 32, !21, i64 40, !21, i64 48, !21, i64 56, !21, i64 64, !21, i64 72, !21, i64 80, !21, i64 88, !21, i64 96, !21, i64 104, !21, i64 112, !21, i64 120, !21, i64 128, !21, i64 136}
!25 = !{!18, !10, i64 8}
!26 = !{!27, !6, i64 8}
!27 = !{!"kvm_run", !7, i64 0, !7, i64 1, !7, i64 2, !6, i64 8, !7, i64 12, !7, i64 13, !22, i64 14, !21, i64 16, !21, i64 24, !7, i64 32, !21, i64 288, !21, i64 296, !7, i64 304}


; 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.subthread_input = type { ptr, ptr }

@vm = external dso_local local_unnamed_addr global ptr, align 8
@vcpu = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @init_kvm(ptr noundef) local_unnamed_addr #0

declare void @error(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @create_output_file() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @observe_input(ptr noundef) #0

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

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

; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #4 {
  %3 = alloca i64, align 8
  %4 = alloca %struct.subthread_input, align 8
  %5 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #7
  store ptr %5, ptr @vm, align 8, !tbaa !5
  %6 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #7
  tail call void @init_kvm(ptr noundef %5)
  %7 = load ptr, ptr @vm, align 8, !tbaa !5
  tail call void @create_vm(ptr noundef %7) #8
  tail call void (...) @create_blk() #8
  %8 = load ptr, ptr @vm, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 4
  %10 = load i32, ptr %9, align 4, !tbaa !9
  tail call void @set_tss(i32 noundef %10) #8
  %11 = load ptr, ptr @vm, align 8, !tbaa !5
  tail call void @set_vm_mem(ptr noundef %11, ptr noundef %6, i64 noundef 0, i64 noundef 2147483648) #8
  %12 = load ptr, ptr @vm, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !12
  tail call void @load_guest_binary(ptr noundef %14) #8
  %15 = load ptr, ptr @vm, align 8, !tbaa !5
  tail call void @init_vcpu(ptr noundef %15) #8
  tail call void (...) @init_lapic() #8
  tail call void (...) @init_ioapic() #8
  tail call void (...) @set_regs() #8
  tail call void (...) @create_uart() #8
  tail call void @create_output_file()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %16 = tail call noalias dereferenceable_or_null(100) ptr @malloc(i64 noundef 100) #7
  store ptr %16, ptr %4, align 8, !tbaa !13
  %17 = load ptr, ptr @vcpu, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %17, ptr %18, align 8, !tbaa !15
  %19 = call i32 @pthread_create(ptr noundef nonnull %3, ptr noundef null, ptr noundef nonnull @observe_input, ptr noundef nonnull %4) #8
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %.preheader, label %20

20:                                               ; preds = %2
  call void @error(ptr noundef nonnull @.str.4) #8
  br label %.preheader

.preheader:                                       ; preds = %20, %2
  br label %21

21:                                               ; preds = %.backedge, %.preheader
  %22 = load ptr, ptr @vcpu, align 8, !tbaa !5
  %23 = load i32, ptr %22, align 8, !tbaa !16
  %24 = call i32 (i32, i64, ...) @ioctl(i32 noundef %23, i64 noundef 44672, i32 noundef 0) #8
  %25 = icmp slt i32 %24, 0
  br i1 %25, label %26, label %28

26:                                               ; preds = %21
  %27 = load ptr, ptr @vcpu, align 8, !tbaa !5
  call void (ptr, ...) @print_regs(ptr noundef %27) #8
  call void @error(ptr noundef nonnull @.str.5) #8
  br label %28

28:                                               ; preds = %26, %21
  %29 = load ptr, ptr @vcpu, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  %31 = load ptr, ptr %30, align 8, !tbaa !24
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = load i32, ptr %32, align 8, !tbaa !25
  switch i32 %33, label %37 [
    i32 2, label %34
    i32 6, label %35
    i32 7, label %36
  ]

34:                                               ; preds = %28
  call void @emulate_io(ptr noundef nonnull %29) #8
  br label %.backedge

35:                                               ; preds = %28
  call void @emulate_mmio(ptr noundef nonnull %29) #8
  br label %.backedge

36:                                               ; preds = %28
  call void @emulate_interrupt(ptr noundef nonnull %29) #8
  br label %.backedge

37:                                               ; preds = %28
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %33)
  br label %.backedge

.backedge:                                        ; preds = %37, %36, %35, %34
  br label %21
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #5

declare void @create_vm(ptr noundef) local_unnamed_addr #1

declare void @create_blk(...) local_unnamed_addr #1

declare void @set_tss(i32 noundef) local_unnamed_addr #1

declare void @set_vm_mem(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

declare void @load_guest_binary(ptr noundef) local_unnamed_addr #1

declare void @init_vcpu(ptr noundef) local_unnamed_addr #1

declare void @init_lapic(...) local_unnamed_addr #1

declare void @init_ioapic(...) local_unnamed_addr #1

declare void @set_regs(...) local_unnamed_addr #1

declare void @create_uart(...) local_unnamed_addr #1

; Function Attrs: nounwind
declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind
declare i32 @ioctl(i32 noundef, i64 noundef, ...) local_unnamed_addr #6

declare void @print_regs(...) local_unnamed_addr #1

declare void @emulate_io(ptr noundef) local_unnamed_addr #1

declare void @emulate_mmio(ptr noundef) local_unnamed_addr #1

declare void @emulate_interrupt(ptr noundef) local_unnamed_addr #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 = { "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #5 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 "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 allocsize(0) }
attributes #8 = { 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, !11, i64 4}
!10 = !{!"vm", !11, i64 0, !11, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !6, i64 0}
!14 = !{!"subthread_input", !6, i64 0, !6, i64 8}
!15 = !{!14, !6, i64 8}
!16 = !{!17, !11, i64 0}
!17 = !{!"vcpu", !11, i64 0, !6, i64 8, !18, i64 16, !23, i64 328}
!18 = !{!"kvm_sregs", !19, i64 0, !19, i64 24, !19, i64 48, !19, i64 72, !19, i64 96, !19, i64 120, !19, i64 144, !19, i64 168, !22, i64 192, !22, i64 208, !20, i64 224, !20, i64 232, !20, i64 240, !20, i64 248, !20, i64 256, !20, i64 264, !20, i64 272, !7, i64 280}
!19 = !{!"kvm_segment", !20, i64 0, !11, i64 8, !21, i64 12, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23}
!20 = !{!"long long", !7, i64 0}
!21 = !{!"short", !7, i64 0}
!22 = !{!"kvm_dtable", !20, i64 0, !21, i64 8, !7, i64 10}
!23 = !{!"kvm_regs", !20, i64 0, !20, i64 8, !20, i64 16, !20, i64 24, !20, i64 32, !20, i64 40, !20, i64 48, !20, i64 56, !20, i64 64, !20, i64 72, !20, i64 80, !20, i64 88, !20, i64 96, !20, i64 104, !20, i64 112, !20, i64 120, !20, i64 128, !20, i64 136}
!24 = !{!17, !6, i64 8}
!25 = !{!26, !11, i64 8}
!26 = !{!"kvm_run", !7, i64 0, !7, i64 1, !7, i64 2, !11, i64 8, !7, i64 12, !7, i64 13, !21, i64 14, !20, i64 16, !20, i64 24, !7, i64 32, !20, i64 288, !20, i64 296, !7, i64 304}


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