; LLVM IR from whoiswelliton/Computer_Engineering_UTFPR-PB :: Embedded_Systems/TIVA Connected TM4C1294XL Projects/01 - lwIP_HTTPServer_on_TIVA (recvfrom)

; 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.iovec = type { ptr, i64 }
%struct.msghdr = type { ptr, i32, ptr, i32, ptr, i32, i32 }
%struct.lwip_sock = type { ptr, %union.lwip_sock_lastdata, i16, i16, i16, i8 }
%union.lwip_sock_lastdata = type { ptr }
%struct.netconn = type { i32, i32, %union.anon, i8, ptr, ptr, ptr, i32, i32, i32, i8, ptr, ptr }
%union.anon = type { ptr }

@errno = external global i32, align 4
@.str.7 = external hidden unnamed_addr constant [14 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: nounwind uwtable
declare hidden ptr @get_socket(i32 noundef) #1

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

declare i32 @err_to_errno(i8 noundef signext) #2

; Function Attrs: nounwind uwtable
define dso_local i64 @lwip_recvfrom(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #1 {
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i16, align 2
  %18 = alloca %struct.iovec, align 8
  %19 = alloca %struct.msghdr, align 8
  %20 = alloca i8, align 1
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store i32 %0, ptr %8, align 4, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !9
  store i64 %2, ptr %10, align 8, !tbaa !11
  store i32 %3, ptr %11, align 4, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %23 = load i32, ptr %8, align 4, !tbaa !5
  %24 = call ptr @get_socket(i32 noundef %23)
  store ptr %24, ptr %14, align 8, !tbaa !9
  %25 = load ptr, ptr %14, align 8, !tbaa !9
  %26 = icmp ne ptr %25, null
  br i1 %26, label %28, label %27

27:                                               ; preds = %6
  store i64 -1, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %137

28:                                               ; preds = %6
  %29 = load ptr, ptr %14, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.lwip_sock, ptr %29, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = getelementptr inbounds %struct.netconn, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !16
  %34 = and i32 %33, 240
  %35 = icmp eq i32 %34, 16
  br i1 %35, label %36, label %49

36:                                               ; preds = %28
  %37 = load ptr, ptr %14, align 8, !tbaa !9
  %38 = load ptr, ptr %9, align 8, !tbaa !9
  %39 = load i64, ptr %10, align 8, !tbaa !11
  %40 = load i32, ptr %11, align 4, !tbaa !5
  %41 = call i64 @lwip_recv_tcp(ptr noundef %37, ptr noundef %38, i64 noundef %39, i32 noundef %40)
  store i64 %41, ptr %15, align 8, !tbaa !11
  %42 = load ptr, ptr %14, align 8, !tbaa !9
  %43 = load ptr, ptr %12, align 8, !tbaa !9
  %44 = load ptr, ptr %13, align 8, !tbaa !9
  %45 = load i32, ptr %8, align 4, !tbaa !5
  %46 = load i64, ptr %15, align 8, !tbaa !11
  %47 = call i32 @lwip_recv_tcp_from(ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef @.str.7, i32 noundef %45, i64 noundef %46)
  %48 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %48, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %137

49:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #3
  store i16 0, ptr %17, align 2, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #3
  %50 = load ptr, ptr %9, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.iovec, ptr %18, i32 0, i32 0
  store ptr %50, ptr %51, align 8, !tbaa !19
  %52 = load i64, ptr %10, align 8, !tbaa !11
  %53 = getelementptr inbounds %struct.iovec, ptr %18, i32 0, i32 1
  store i64 %52, ptr %53, align 8, !tbaa !21
  %54 = getelementptr inbounds %struct.msghdr, ptr %19, i32 0, i32 4
  store ptr null, ptr %54, align 8, !tbaa !22
  %55 = getelementptr inbounds %struct.msghdr, ptr %19, i32 0, i32 5
  store i32 0, ptr %55, align 8, !tbaa !24
  %56 = getelementptr inbounds %struct.msghdr, ptr %19, i32 0, i32 6
  store i32 0, ptr %56, align 4, !tbaa !25
  %57 = getelementptr inbounds %struct.msghdr, ptr %19, i32 0, i32 2
  store ptr %18, ptr %57, align 8, !tbaa !26
  %58 = getelementptr inbounds %struct.msghdr, ptr %19, i32 0, i32 3
  store i32 1, ptr %58, align 8, !tbaa !27
  %59 = load ptr, ptr %12, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.msghdr, ptr %19, i32 0, i32 0
  store ptr %59, ptr %60, align 8, !tbaa !28
  %61 = load ptr, ptr %13, align 8, !tbaa !9
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %66

63:                                               ; preds = %49
  %64 = load ptr, ptr %13, align 8, !tbaa !9
  %65 = load i32, ptr %64, align 4, !tbaa !5
  br label %67

66:                                               ; preds = %49
  br label %67

67:                                               ; preds = %66, %63
  %68 = phi i32 [ %65, %63 ], [ 0, %66 ]
  %69 = getelementptr inbounds %struct.msghdr, ptr %19, i32 0, i32 1
  store i32 %68, ptr %69, align 8, !tbaa !29
  %70 = load ptr, ptr %14, align 8, !tbaa !9
  %71 = load i32, ptr %11, align 4, !tbaa !5
  %72 = load i32, ptr %8, align 4, !tbaa !5
  %73 = call signext i8 @lwip_recvfrom_udp_raw(ptr noundef %70, i32 noundef %71, ptr noundef %19, ptr noundef %17, i32 noundef %72)
  store i8 %73, ptr %20, align 1, !tbaa !30
  %74 = load i8, ptr %20, align 1, !tbaa !30
  %75 = sext i8 %74 to i32
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %91

77:                                               ; preds = %67
  br label %78

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  %79 = load i8, ptr %20, align 1, !tbaa !30
  %80 = call i32 @err_to_errno(i8 noundef signext %79)
  store i32 %80, ptr %21, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %78
  %82 = load i32, ptr %21, align 4, !tbaa !5
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %86

84:                                               ; preds = %81
  %85 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %85, ptr @errno, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %84, %81
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  br label %89

89:                                               ; preds = %88
  br label %90

90:                                               ; preds = %89
  store i64 -1, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %126

91:                                               ; preds = %67
  %92 = load i64, ptr %10, align 8, !tbaa !11
  %93 = load i16, ptr %17, align 2, !tbaa !18
  %94 = zext i16 %93 to i64
  %95 = icmp ult i64 %92, %94
  br i1 %95, label %96, label %98

96:                                               ; preds = %91
  %97 = load i64, ptr %10, align 8, !tbaa !11
  br label %101

98:                                               ; preds = %91
  %99 = load i16, ptr %17, align 2, !tbaa !18
  %100 = zext i16 %99 to i64
  br label %101

101:                                              ; preds = %98, %96
  %102 = phi i64 [ %97, %96 ], [ %100, %98 ]
  %103 = icmp ult i64 %102, 9223372036854775807
  br i1 %103, label %104, label %116

104:                                              ; preds = %101
  %105 = load i64, ptr %10, align 8, !tbaa !11
  %106 = load i16, ptr %17, align 2, !tbaa !18
  %107 = zext i16 %106 to i64
  %108 = icmp ult i64 %105, %107
  br i1 %108, label %109, label %111

109:                                              ; preds = %104
  %110 = load i64, ptr %10, align 8, !tbaa !11
  br label %114

111:                                              ; preds = %104
  %112 = load i16, ptr %17, align 2, !tbaa !18
  %113 = zext i16 %112 to i64
  br label %114

114:                                              ; preds = %111, %109
  %115 = phi i64 [ %110, %109 ], [ %113, %111 ]
  br label %117

116:                                              ; preds = %101
  br label %117

117:                                              ; preds = %116, %114
  %118 = phi i64 [ %115, %114 ], [ 9223372036854775807, %116 ]
  store i64 %118, ptr %15, align 8, !tbaa !11
  %119 = load ptr, ptr %13, align 8, !tbaa !9
  %120 = icmp ne ptr %119, null
  br i1 %120, label %121, label %125

121:                                              ; preds = %117
  %122 = getelementptr inbounds %struct.msghdr, ptr %19, i32 0, i32 1
  %123 = load i32, ptr %122, align 8, !tbaa !29
  %124 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 %123, ptr %124, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %121, %117
  store i32 0, ptr %16, align 4
  br label %126

126:                                              ; preds = %125, %90
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #3
  %127 = load i32, ptr %16, align 4
  switch i32 %127, label %137 [
    i32 0, label %128
  ]

128:                                              ; preds = %126
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  %136 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %136, ptr %7, align 8
  store i32 1, ptr %16, align 4
  br label %137

137:                                              ; preds = %135, %126, %36, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %138 = load i64, ptr %7, align 8
  ret i64 %138
}

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

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

; Function Attrs: nounwind uwtable
declare hidden signext i8 @lwip_recvfrom_udp_raw(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 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 = { "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 = { 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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"lwip_sock", !10, i64 0, !7, i64 8, !15, i64 16, !15, i64 18, !15, i64 20, !7, i64 22}
!15 = !{!"short", !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"netconn", !6, i64 0, !6, i64 4, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !6, i64 48, !6, i64 52, !6, i64 56, !7, i64 60, !10, i64 64, !10, i64 72}
!18 = !{!15, !15, i64 0}
!19 = !{!20, !10, i64 0}
!20 = !{!"iovec", !10, i64 0, !12, i64 8}
!21 = !{!20, !12, i64 8}
!22 = !{!23, !10, i64 32}
!23 = !{!"msghdr", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !6, i64 44}
!24 = !{!23, !6, i64 40}
!25 = !{!23, !6, i64 44}
!26 = !{!23, !10, i64 16}
!27 = !{!23, !6, i64 24}
!28 = !{!23, !10, i64 0}
!29 = !{!23, !6, i64 8}
!30 = !{!7, !7, i64 0}


; 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.iovec = type { ptr, i64 }
%struct.msghdr = type { ptr, i32, ptr, i32, ptr, i32, i32 }

@errno = external local_unnamed_addr global i32, align 4
@.str.7 = external hidden unnamed_addr constant [14 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: nounwind uwtable
declare hidden ptr @get_socket(i32 noundef) local_unnamed_addr #1

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

declare i32 @err_to_errno(i8 noundef signext) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i64 @lwip_recvfrom(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 {
  %7 = alloca i16, align 2
  %8 = alloca %struct.iovec, align 8
  %9 = alloca %struct.msghdr, align 8
  %10 = tail call ptr @get_socket(i32 noundef %0)
  %.not = icmp eq ptr %10, null
  br i1 %.not, label %40, label %11

11:                                               ; preds = %6
  %12 = load ptr, ptr %10, align 8, !tbaa !5
  %13 = load i32, ptr %12, align 8, !tbaa !11
  %14 = and i32 %13, 240
  %15 = icmp eq i32 %14, 16
  br i1 %15, label %16, label %19

16:                                               ; preds = %11
  %17 = tail call i64 @lwip_recv_tcp(ptr noundef nonnull %10, ptr noundef %1, i64 noundef %2, i32 noundef %3)
  %18 = tail call i32 @lwip_recv_tcp_from(ptr noundef nonnull %10, ptr noundef %4, ptr noundef %5, ptr noundef nonnull @.str.7, i32 noundef %0, i64 noundef %17)
  br label %40

19:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #5
  store i16 0, ptr %7, align 2, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  store ptr %1, ptr %8, align 8, !tbaa !15
  %20 = getelementptr inbounds i8, ptr %8, i64 8
  store i64 %2, ptr %20, align 8, !tbaa !18
  %21 = getelementptr inbounds i8, ptr %9, i64 32
  %22 = getelementptr inbounds i8, ptr %9, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %21, i8 0, i64 16, i1 false)
  store ptr %8, ptr %22, align 8, !tbaa !19
  %23 = getelementptr inbounds i8, ptr %9, i64 24
  store i32 1, ptr %23, align 8, !tbaa !21
  store ptr %4, ptr %9, align 8, !tbaa !22
  %.not39 = icmp eq ptr %5, null
  br i1 %.not39, label %26, label %24

24:                                               ; preds = %19
  %25 = load i32, ptr %5, align 4, !tbaa !23
  br label %26

26:                                               ; preds = %19, %24
  %27 = phi i32 [ %25, %24 ], [ 0, %19 ]
  %28 = getelementptr inbounds i8, ptr %9, i64 8
  store i32 %27, ptr %28, align 8, !tbaa !24
  %29 = call signext i8 @lwip_recvfrom_udp_raw(ptr noundef nonnull %10, i32 noundef %3, ptr noundef nonnull %9, ptr noundef nonnull %7, i32 noundef %0)
  %.not40 = icmp eq i8 %29, 0
  br i1 %.not40, label %33, label %30

30:                                               ; preds = %26
  %31 = call i32 @err_to_errno(i8 noundef signext %29) #5
  %.not41 = icmp eq i32 %31, 0
  br i1 %.not41, label %39, label %32

32:                                               ; preds = %30
  store i32 %31, ptr @errno, align 4, !tbaa !23
  br label %39

33:                                               ; preds = %26
  %34 = load i16, ptr %7, align 2
  %35 = zext i16 %34 to i64
  %36 = call i64 @llvm.umin.i64(i64 %35, i64 %2)
  br i1 %.not39, label %39, label %37

37:                                               ; preds = %33
  %38 = load i32, ptr %28, align 8, !tbaa !24
  store i32 %38, ptr %5, align 4, !tbaa !23
  br label %39

39:                                               ; preds = %33, %37, %30, %32
  %spec.select = phi i64 [ -1, %32 ], [ -1, %30 ], [ %36, %37 ], [ %36, %33 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #5
  br label %40

40:                                               ; preds = %39, %6, %16
  %.1 = phi i64 [ %17, %16 ], [ -1, %6 ], [ %spec.select, %39 ]
  ret i64 %.1
}

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

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

; Function Attrs: nounwind uwtable
declare hidden signext i8 @lwip_recvfrom_udp_raw(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #3

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

attributes #0 = { mustprogress 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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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, !7, i64 0}
!6 = !{!"lwip_sock", !7, i64 0, !8, i64 8, !10, i64 16, !10, i64 18, !10, i64 20, !8, i64 22}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"netconn", !13, i64 0, !13, i64 4, !8, i64 8, !8, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !13, i64 48, !13, i64 52, !13, i64 56, !8, i64 60, !7, i64 64, !7, i64 72}
!13 = !{!"int", !8, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"iovec", !7, i64 0, !17, i64 8}
!17 = !{!"long", !8, i64 0}
!18 = !{!16, !17, i64 8}
!19 = !{!20, !7, i64 16}
!20 = !{!"msghdr", !7, i64 0, !13, i64 8, !7, i64 16, !13, i64 24, !7, i64 32, !13, i64 40, !13, i64 44}
!21 = !{!20, !13, i64 24}
!22 = !{!20, !7, i64 0}
!23 = !{!13, !13, i64 0}
!24 = !{!20, !13, i64 8}


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