; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Udp6Dxe (Udp6ValidateTxToken)

; 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.EFI_UDP6_COMPLETION_TOKEN = type { ptr, i64, %union.anon }
%union.anon = type { ptr }
%struct.EFI_UDP6_TRANSMIT_DATA = type { ptr, i32, i32, [1 x %struct.EFI_UDP6_FRAGMENT_DATA] }
%struct.EFI_UDP6_FRAGMENT_DATA = type { i32, ptr }
%struct._UDP6_INSTANCE_DATA = type { i32, %struct._LIST_ENTRY, ptr, %struct._EFI_UDP6_PROTOCOL, %struct.EFI_UDP6_CONFIG_DATA, ptr, i8, i8, %struct.NET_MAP, %struct.NET_MAP, %struct.NET_MAP, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i16, i64, ptr, i8 }
%struct._EFI_UDP6_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_UDP6_CONFIG_DATA = type { i8, i8, i8, i8, i8, i32, i32, %struct.EFI_IPv6_ADDRESS, i16, %struct.EFI_IPv6_ADDRESS, i16 }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }
%struct.NET_MAP = type { %struct._LIST_ENTRY, %struct._LIST_ENTRY, i64 }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.EFI_UDP6_SESSION_DATA = type { %struct.EFI_IPv6_ADDRESS, i16, %struct.EFI_IPv6_ADDRESS, i16 }

; 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

declare zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef) #1

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

16:                                               ; preds = %2
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

17:                                               ; preds = %2
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.EFI_UDP6_COMPLETION_TOKEN, ptr %18, i32 0, i32 2
  %20 = load ptr, ptr %19, align 8, !tbaa !12
  store ptr %20, ptr %6, align 8, !tbaa !5
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = icmp eq ptr %21, null
  br i1 %22, label %28, label %23

23:                                               ; preds = %17
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.EFI_UDP6_TRANSMIT_DATA, ptr %24, i32 0, i32 2
  %26 = load i32, ptr %25, align 4, !tbaa !13
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %29

28:                                               ; preds = %23, %17
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

29:                                               ; preds = %23
  store i32 0, ptr %8, align 4, !tbaa !16
  store i32 0, ptr %7, align 4, !tbaa !16
  br label %30

30:                                               ; preds = %65, %29
  %31 = load i32, ptr %7, align 4, !tbaa !16
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.EFI_UDP6_TRANSMIT_DATA, ptr %32, i32 0, i32 2
  %34 = load i32, ptr %33, align 4, !tbaa !13
  %35 = icmp ult i32 %31, %34
  br i1 %35, label %36, label %68

36:                                               ; preds = %30
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.EFI_UDP6_TRANSMIT_DATA, ptr %37, i32 0, i32 3
  %39 = load i32, ptr %7, align 4, !tbaa !16
  %40 = zext i32 %39 to i64
  %41 = getelementptr inbounds [1 x %struct.EFI_UDP6_FRAGMENT_DATA], ptr %38, i64 0, i64 %40
  %42 = getelementptr inbounds %struct.EFI_UDP6_FRAGMENT_DATA, ptr %41, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  %44 = icmp eq ptr %43, null
  br i1 %44, label %54, label %45

45:                                               ; preds = %36
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.EFI_UDP6_TRANSMIT_DATA, ptr %46, i32 0, i32 3
  %48 = load i32, ptr %7, align 4, !tbaa !16
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds [1 x %struct.EFI_UDP6_FRAGMENT_DATA], ptr %47, i64 0, i64 %49
  %51 = getelementptr inbounds %struct.EFI_UDP6_FRAGMENT_DATA, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !19
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %45, %36
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

55:                                               ; preds = %45
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.EFI_UDP6_TRANSMIT_DATA, ptr %56, i32 0, i32 3
  %58 = load i32, ptr %7, align 4, !tbaa !16
  %59 = zext i32 %58 to i64
  %60 = getelementptr inbounds [1 x %struct.EFI_UDP6_FRAGMENT_DATA], ptr %57, i64 0, i64 %59
  %61 = getelementptr inbounds %struct.EFI_UDP6_FRAGMENT_DATA, ptr %60, i32 0, i32 0
  %62 = load i32, ptr %61, align 8, !tbaa !19
  %63 = load i32, ptr %8, align 4, !tbaa !16
  %64 = add i32 %63, %62
  store i32 %64, ptr %8, align 4, !tbaa !16
  br label %65

65:                                               ; preds = %55
  %66 = load i32, ptr %7, align 4, !tbaa !16
  %67 = add i32 %66, 1
  store i32 %67, ptr %7, align 4, !tbaa !16
  br label %30, !llvm.loop !20

68:                                               ; preds = %30
  %69 = load i32, ptr %8, align 4, !tbaa !16
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.EFI_UDP6_TRANSMIT_DATA, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 8, !tbaa !22
  %73 = icmp ne i32 %69, %72
  br i1 %73, label %74, label %75

74:                                               ; preds = %68
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

75:                                               ; preds = %68
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._UDP6_INSTANCE_DATA, ptr %76, i32 0, i32 4
  store ptr %77, ptr %9, align 8, !tbaa !5
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.EFI_UDP6_TRANSMIT_DATA, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !23
  store ptr %80, ptr %10, align 8, !tbaa !5
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %121

83:                                               ; preds = %75
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.EFI_UDP6_SESSION_DATA, ptr %84, i32 0, i32 3
  %86 = load i16, ptr %85, align 2, !tbaa !24
  %87 = zext i16 %86 to i32
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %96

89:                                               ; preds = %83
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.EFI_UDP6_CONFIG_DATA, ptr %90, i32 0, i32 10
  %92 = load i16, ptr %91, align 2, !tbaa !28
  %93 = zext i16 %92 to i32
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %89
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

96:                                               ; preds = %89, %83
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.EFI_UDP6_SESSION_DATA, ptr %97, i32 0, i32 2
  %99 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %98)
  %100 = zext i8 %99 to i32
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %109

102:                                              ; preds = %96
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.EFI_UDP6_CONFIG_DATA, ptr %103, i32 0, i32 9
  %105 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %104)
  %106 = zext i8 %105 to i32
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %102
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

109:                                              ; preds = %102, %96
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.EFI_UDP6_SESSION_DATA, ptr %110, i32 0, i32 2
  %112 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %111)
  %113 = icmp ne i8 %112, 0
  br i1 %113, label %120, label %114

114:                                              ; preds = %109
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.EFI_UDP6_CONFIG_DATA, ptr %115, i32 0, i32 9
  %117 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %116)
  %118 = icmp ne i8 %117, 0
  br i1 %118, label %120, label %119

119:                                              ; preds = %114
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

120:                                              ; preds = %114, %109
  br label %128

121:                                              ; preds = %75
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.EFI_UDP6_CONFIG_DATA, ptr %122, i32 0, i32 9
  %124 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %123)
  %125 = icmp ne i8 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %121
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

127:                                              ; preds = %121
  br label %128

128:                                              ; preds = %127, %120
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.EFI_UDP6_TRANSMIT_DATA, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 8, !tbaa !22
  %132 = icmp ugt i32 %131, 65507
  br i1 %132, label %133, label %134

133:                                              ; preds = %128
  store i64 -9223372036854775804, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

134:                                              ; preds = %128
  store i64 0, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %135

135:                                              ; preds = %134, %133, %126, %119, %108, %95, %74, %54, %28, %16
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %136 = load i64, ptr %3, align 8
  ret i64 %136
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"", !6, i64 0, !11, i64 8, !7, i64 16}
!11 = !{!"long long", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !15, i64 12}
!14 = !{!"", !6, i64 0, !15, i64 8, !15, i64 12, !7, i64 16}
!15 = !{!"int", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!18, !6, i64 8}
!18 = !{!"", !15, i64 0, !6, i64 8}
!19 = !{!18, !15, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!14, !15, i64 8}
!23 = !{!14, !6, i64 0}
!24 = !{!25, !27, i64 34}
!25 = !{!"", !26, i64 0, !27, i64 16, !26, i64 18, !27, i64 34}
!26 = !{!"", !7, i64 0}
!27 = !{!"short", !7, i64 0}
!28 = !{!29, !27, i64 50}
!29 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !15, i64 8, !15, i64 12, !26, i64 16, !27, i64 32, !26, i64 34, !27, i64 50}


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

declare zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775806, 1) i64 @Udp6ValidateTxToken(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 {
  %3 = load ptr, ptr %1, align 8, !tbaa !5
  %4 = icmp eq ptr %3, null
  br i1 %4, label %.loopexit, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %1, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !11
  %8 = icmp eq ptr %7, null
  br i1 %8, label %.loopexit, label %9

9:                                                ; preds = %5
  %10 = getelementptr inbounds i8, ptr %7, i64 12
  %11 = load i32, ptr %10, align 4, !tbaa !12
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %9
  %13 = getelementptr inbounds i8, ptr %7, i64 16
  %wide.trip.count = zext i32 %11 to i64
  br label %14

14:                                               ; preds = %.preheader, %22
  %indvars.iv = phi i64 [ 0, %.preheader ], [ %indvars.iv.next, %22 ]
  %.02839 = phi i32 [ 0, %.preheader ], [ %23, %22 ]
  %15 = getelementptr inbounds [1 x %struct.EFI_UDP6_FRAGMENT_DATA], ptr %13, i64 0, i64 %indvars.iv
  %16 = getelementptr inbounds i8, ptr %15, i64 8
  %17 = load ptr, ptr %16, align 8, !tbaa !15
  %18 = icmp eq ptr %17, null
  br i1 %18, label %.loopexit, label %19

19:                                               ; preds = %14
  %20 = load i32, ptr %15, align 8, !tbaa !17
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %.loopexit, label %22

22:                                               ; preds = %19
  %23 = add i32 %20, %.02839
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %24, label %14, !llvm.loop !18

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %7, i64 8
  %26 = load i32, ptr %25, align 8, !tbaa !20
  %.not = icmp eq i32 %23, %26
  br i1 %.not, label %27, label %.loopexit

27:                                               ; preds = %24
  %28 = load ptr, ptr %7, align 8, !tbaa !21
  %.not32 = icmp eq ptr %28, null
  br i1 %.not32, label %48, label %29

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %28, i64 34
  %31 = load i16, ptr %30, align 2, !tbaa !22
  %32 = icmp eq i16 %31, 0
  br i1 %32, label %33, label %37

33:                                               ; preds = %29
  %34 = getelementptr inbounds i8, ptr %0, i64 138
  %35 = load i16, ptr %34, align 2, !tbaa !26
  %36 = icmp eq i16 %35, 0
  br i1 %36, label %.loopexit, label %37

37:                                               ; preds = %33, %29
  %38 = getelementptr inbounds i8, ptr %28, i64 18
  %39 = tail call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %38) #2
  %.not34 = icmp eq i8 %39, 0
  br i1 %.not34, label %43, label %40

40:                                               ; preds = %37
  %41 = getelementptr inbounds i8, ptr %0, i64 122
  %42 = tail call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %41) #2
  %.not35 = icmp eq i8 %42, 0
  br i1 %.not35, label %43, label %.loopexit

43:                                               ; preds = %40, %37
  %44 = tail call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %38) #2
  %.not36 = icmp eq i8 %44, 0
  br i1 %.not36, label %45, label %51

45:                                               ; preds = %43
  %46 = getelementptr inbounds i8, ptr %0, i64 122
  %47 = tail call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %46) #2
  %.not37 = icmp eq i8 %47, 0
  br i1 %.not37, label %.loopexit, label %51

48:                                               ; preds = %27
  %49 = getelementptr inbounds i8, ptr %0, i64 122
  %50 = tail call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %49) #2
  %.not33 = icmp eq i8 %50, 0
  br i1 %.not33, label %51, label %.loopexit

51:                                               ; preds = %48, %43, %45
  %52 = load i32, ptr %25, align 8, !tbaa !20
  %53 = icmp ugt i32 %52, 65507
  %. = select i1 %53, i64 -9223372036854775804, i64 0
  br label %.loopexit

.loopexit:                                        ; preds = %14, %19, %51, %48, %45, %40, %33, %24, %5, %9, %2
  %.0 = phi i64 [ -9223372036854775806, %2 ], [ -9223372036854775806, %9 ], [ -9223372036854775806, %5 ], [ -9223372036854775806, %24 ], [ -9223372036854775806, %33 ], [ -9223372036854775806, %40 ], [ -9223372036854775806, %45 ], [ -9223372036854775806, %48 ], [ %., %51 ], [ -9223372036854775806, %19 ], [ -9223372036854775806, %14 ]
  ret i64 %.0
}

attributes #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 = { 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, !7, i64 0}
!6 = !{!"", !7, i64 0, !10, i64 8, !8, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long long", !8, i64 0}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 12}
!13 = !{!"", !7, i64 0, !14, i64 8, !14, i64 12, !8, i64 16}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !7, i64 8}
!16 = !{!"", !14, i64 0, !7, i64 8}
!17 = !{!16, !14, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!13, !14, i64 8}
!21 = !{!13, !7, i64 0}
!22 = !{!23, !25, i64 34}
!23 = !{!"", !24, i64 0, !25, i64 16, !24, i64 18, !25, i64 34}
!24 = !{!"", !8, i64 0}
!25 = !{!"short", !8, i64 0}
!26 = !{!27, !25, i64 50}
!27 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 4, !14, i64 8, !14, i64 12, !24, i64 16, !25, i64 32, !24, i64 34, !25, i64 50}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass