; LLVM IR from lfarcaro/ARINC653_ARMV7A_Z7000 :: ARINC653_ARMV7A_Z7000.sw/ARINC653_ARMV7A_Z7000_bsp/ps7_cortexa9_0/libsrc/sdps_v3_6 (SetupADMA2DescTbl64Bit)

; 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.XSdPs = type { %struct.XSdPs_Config, i32, i32, i32, i32, i8, i8, i8, i8, i32, i8, [4 x i32], i32, [4 x i32], i32, i32, i32, ptr, [8 x i8], [32 x %struct.XSdPs_Adma2Descriptor], i64, [24 x i8] }
%struct.XSdPs_Config = type { i16, i32, i32, i32, i32, i32, i32, i32, i8 }
%struct.XSdPs_Adma2Descriptor = type <{ i16, i16, i64 }>

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i16 @XSdPs_ReadReg16(i32 noundef, i8 noundef zeroext) #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Xil_Out32(i64 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @XSdPs_SetupADMA2DescTbl64Bit(ptr noundef %0, i32 noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.XSdPs, ptr %8, i32 0, i32 0
  %10 = getelementptr inbounds %struct.XSdPs_Config, ptr %9, i32 0, i32 1
  %11 = load i32, ptr %10, align 4, !tbaa !11
  %12 = call zeroext i16 @XSdPs_ReadReg16(i32 noundef %11, i8 noundef zeroext 4)
  %13 = zext i16 %12 to i32
  %14 = and i32 %13, 4095
  store i32 %14, ptr %7, align 4, !tbaa !9
  %15 = load i32, ptr %4, align 4, !tbaa !9
  %16 = load i32, ptr %7, align 4, !tbaa !9
  %17 = mul i32 %15, %16
  %18 = icmp ult i32 %17, 65536
  br i1 %18, label %19, label %20

19:                                               ; preds = %2
  store i32 1, ptr %5, align 4, !tbaa !9
  br label %34

20:                                               ; preds = %2
  %21 = load i32, ptr %4, align 4, !tbaa !9
  %22 = load i32, ptr %7, align 4, !tbaa !9
  %23 = mul i32 %21, %22
  %24 = udiv i32 %23, 65536
  store i32 %24, ptr %5, align 4, !tbaa !9
  %25 = load i32, ptr %4, align 4, !tbaa !9
  %26 = load i32, ptr %7, align 4, !tbaa !9
  %27 = mul i32 %25, %26
  %28 = urem i32 %27, 65536
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %33

30:                                               ; preds = %20
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = add i32 %31, 1
  store i32 %32, ptr %5, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %30, %20
  br label %34

34:                                               ; preds = %33, %19
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %66, %34
  %36 = load i32, ptr %6, align 4, !tbaa !9
  %37 = load i32, ptr %5, align 4, !tbaa !9
  %38 = sub i32 %37, 1
  %39 = icmp ult i32 %36, %38
  br i1 %39, label %40, label %69

40:                                               ; preds = %35
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.XSdPs, ptr %41, i32 0, i32 20
  %43 = load i64, ptr %42, align 32, !tbaa !16
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = mul i32 %44, 65536
  %46 = zext i32 %45 to i64
  %47 = add i64 %43, %46
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.XSdPs, ptr %48, i32 0, i32 19
  %50 = load i32, ptr %6, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %49, i64 0, i64 %51
  %53 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor, ptr %52, i32 0, i32 2
  store i64 %47, ptr %53, align 4, !tbaa !17
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.XSdPs, ptr %54, i32 0, i32 19
  %56 = load i32, ptr %6, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %55, i64 0, i64 %57
  %59 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor, ptr %58, i32 0, i32 0
  store i16 33, ptr %59, align 4, !tbaa !19
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.XSdPs, ptr %60, i32 0, i32 19
  %62 = load i32, ptr %6, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %61, i64 0, i64 %63
  %65 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor, ptr %64, i32 0, i32 1
  store i16 0, ptr %65, align 2, !tbaa !20
  br label %66

66:                                               ; preds = %40
  %67 = load i32, ptr %6, align 4, !tbaa !9
  %68 = add i32 %67, 1
  store i32 %68, ptr %6, align 4, !tbaa !9
  br label %35, !llvm.loop !21

69:                                               ; preds = %35
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.XSdPs, ptr %70, i32 0, i32 20
  %72 = load i64, ptr %71, align 32, !tbaa !16
  %73 = load i32, ptr %6, align 4, !tbaa !9
  %74 = mul i32 %73, 65536
  %75 = zext i32 %74 to i64
  %76 = add i64 %72, %75
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.XSdPs, ptr %77, i32 0, i32 19
  %79 = load i32, ptr %5, align 4, !tbaa !9
  %80 = sub i32 %79, 1
  %81 = zext i32 %80 to i64
  %82 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %78, i64 0, i64 %81
  %83 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor, ptr %82, i32 0, i32 2
  store i64 %76, ptr %83, align 4, !tbaa !17
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.XSdPs, ptr %84, i32 0, i32 19
  %86 = load i32, ptr %5, align 4, !tbaa !9
  %87 = sub i32 %86, 1
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %85, i64 0, i64 %88
  %90 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor, ptr %89, i32 0, i32 0
  store i16 35, ptr %90, align 4, !tbaa !19
  %91 = load i32, ptr %4, align 4, !tbaa !9
  %92 = load i32, ptr %7, align 4, !tbaa !9
  %93 = mul i32 %91, %92
  %94 = load i32, ptr %6, align 4, !tbaa !9
  %95 = mul i32 %94, 65536
  %96 = sub i32 %93, %95
  %97 = trunc i32 %96 to i16
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.XSdPs, ptr %98, i32 0, i32 19
  %100 = load i32, ptr %5, align 4, !tbaa !9
  %101 = sub i32 %100, 1
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %99, i64 0, i64 %102
  %104 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor, ptr %103, i32 0, i32 1
  store i16 %97, ptr %104, align 2, !tbaa !20
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.XSdPs, ptr %105, i32 0, i32 0
  %107 = getelementptr inbounds %struct.XSdPs_Config, ptr %106, i32 0, i32 1
  %108 = load i32, ptr %107, align 4, !tbaa !11
  %109 = add i32 %108, 88
  %110 = zext i32 %109 to i64
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.XSdPs, ptr %111, i32 0, i32 19
  %113 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %112, i64 0, i64 0
  %114 = ptrtoint ptr %113 to i64
  %115 = trunc i64 %114 to i32
  call void @Xil_Out32(i64 noundef %110, i32 noundef %115)
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.XSdPs, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds %struct.XSdPs_Config, ptr %117, i32 0, i32 8
  %119 = load i8, ptr %118, align 32, !tbaa !23
  %120 = zext i8 %119 to i32
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %127

122:                                              ; preds = %69
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.XSdPs, ptr %123, i32 0, i32 19
  %125 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %124, i64 0, i64 0
  %126 = ptrtoint ptr %125 to i64
  call void @Xil_DCacheFlushRange(i64 noundef %126, i32 noundef 384)
  br label %127

127:                                              ; preds = %122, %69
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.XSdPs, ptr %128, i32 0, i32 20
  store i64 0, ptr %129, align 32, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret void
}

declare void @Xil_DCacheFlushRange(i64 noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 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 = { "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 }

!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 4}
!12 = !{!"", !13, i64 0, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !7, i64 53, !7, i64 54, !7, i64 55, !10, i64 56, !7, i64 60, !7, i64 64, !10, i64 80, !7, i64 84, !10, i64 100, !10, i64 104, !10, i64 108, !6, i64 112, !7, i64 128, !15, i64 512}
!13 = !{!"", !14, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !7, i64 32}
!14 = !{!"short", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!12, !15, i64 512}
!17 = !{!18, !15, i64 4}
!18 = !{!"", !14, i64 0, !14, i64 2, !15, i64 4}
!19 = !{!18, !14, i64 0}
!20 = !{!18, !14, i64 2}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!12, !7, i64 32}


; 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.XSdPs_Adma2Descriptor = type <{ i16, i16, i64 }>

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i16 @XSdPs_ReadReg16(i32 noundef, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Xil_Out32(i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @XSdPs_SetupADMA2DescTbl64Bit(ptr noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 4
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = tail call zeroext i16 @XSdPs_ReadReg16(i32 noundef %4, i8 noundef zeroext 4)
  %6 = and i16 %5, 4095
  %7 = zext nneg i16 %6 to i32
  %8 = mul i32 %7, %1
  %9 = icmp ult i32 %8, 65536
  br i1 %9, label %.._crit_edge_crit_edge, label %10

10:                                               ; preds = %2
  %11 = lshr i32 %8, 16
  %12 = and i32 %8, 65535
  %.not = icmp ne i32 %12, 0
  %13 = zext i1 %.not to i32
  %spec.select = add nsw i32 %11, -1
  %14 = add nuw nsw i32 %spec.select, %13
  %.not38 = icmp eq i32 %14, 0
  br i1 %.not38, label %.._crit_edge_crit_edge, label %.lr.ph

.._crit_edge_crit_edge:                           ; preds = %2, %10
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 512
  %.pre = load i64, ptr %.phi.trans.insert, align 32, !tbaa !14
  br label %._crit_edge

.lr.ph:                                           ; preds = %10
  %15 = getelementptr inbounds i8, ptr %0, i64 512
  %16 = load i64, ptr %15, align 32, !tbaa !14
  %17 = getelementptr inbounds i8, ptr %0, i64 128
  %wide.trip.count = zext nneg i32 %14 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %18 = icmp eq i32 %14, 1
  br i1 %18, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %19

19:                                               ; preds = %19, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.1, %19 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %19 ]
  %20 = shl nuw i64 %indvars.iv, 16
  %21 = add i64 %16, %20
  %22 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %17, i64 0, i64 %indvars.iv
  %23 = getelementptr inbounds i8, ptr %22, i64 4
  store i64 %21, ptr %23, align 4, !tbaa !15
  store i16 33, ptr %22, align 4, !tbaa !17
  %24 = getelementptr inbounds i8, ptr %22, i64 2
  store i16 0, ptr %24, align 2, !tbaa !18
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %25 = shl nuw i64 %indvars.iv.next, 16
  %26 = add i64 %16, %25
  %27 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %17, i64 0, i64 %indvars.iv.next
  %28 = getelementptr inbounds i8, ptr %27, i64 4
  store i64 %26, ptr %28, align 4, !tbaa !15
  store i16 33, ptr %27, align 4, !tbaa !17
  %29 = getelementptr inbounds i8, ptr %27, i64 2
  store i16 0, ptr %29, align 2, !tbaa !18
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %19, !llvm.loop !19

._crit_edge.loopexit.unr-lcssa:                   ; preds = %19, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.1, %19 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge.loopexit, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %30 = shl nuw i64 %indvars.iv.unr, 16
  %31 = add i64 %16, %30
  %32 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %17, i64 0, i64 %indvars.iv.unr
  %33 = getelementptr inbounds i8, ptr %32, i64 4
  store i64 %31, ptr %33, align 4, !tbaa !15
  store i16 33, ptr %32, align 4, !tbaa !17
  %34 = getelementptr inbounds i8, ptr %32, i64 2
  store i16 0, ptr %34, align 2, !tbaa !18
  br label %._crit_edge.loopexit

._crit_edge.loopexit:                             ; preds = %._crit_edge.loopexit.unr-lcssa, %._crit_edge.loopexit.epilog-lcssa
  %35 = shl i32 %14, 16
  %36 = zext i32 %35 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.._crit_edge_crit_edge, %._crit_edge.loopexit
  %.pre-phi = phi i64 [ 0, %.._crit_edge_crit_edge ], [ %wide.trip.count, %._crit_edge.loopexit ]
  %37 = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %16, %._crit_edge.loopexit ]
  %.034.lcssa = phi i64 [ 0, %.._crit_edge_crit_edge ], [ %36, %._crit_edge.loopexit ]
  %38 = add i64 %37, %.034.lcssa
  %39 = getelementptr inbounds i8, ptr %0, i64 128
  %40 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor], ptr %39, i64 0, i64 %.pre-phi
  %41 = getelementptr inbounds i8, ptr %40, i64 4
  store i64 %38, ptr %41, align 4, !tbaa !15
  store i16 35, ptr %40, align 4, !tbaa !17
  %42 = trunc i32 %8 to i16
  %43 = getelementptr inbounds i8, ptr %40, i64 2
  store i16 %42, ptr %43, align 2, !tbaa !18
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = add i32 %44, 88
  %46 = zext i32 %45 to i64
  %47 = ptrtoint ptr %39 to i64
  %48 = trunc i64 %47 to i32
  tail call void @Xil_Out32(i64 noundef %46, i32 noundef %48)
  %49 = getelementptr inbounds i8, ptr %0, i64 32
  %50 = load i8, ptr %49, align 32, !tbaa !21
  %51 = icmp eq i8 %50, 0
  br i1 %51, label %52, label %53

52:                                               ; preds = %._crit_edge
  tail call void @Xil_DCacheFlushRange(i64 noundef %47, i32 noundef 384) #3
  br label %53

53:                                               ; preds = %52, %._crit_edge
  %54 = getelementptr inbounds i8, ptr %0, i64 512
  store i64 0, ptr %54, align 32, !tbaa !14
  ret void
}

declare void @Xil_DCacheFlushRange(i64 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { inlinehint 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 = { 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, !11, i64 4}
!6 = !{!"", !7, i64 0, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !9, i64 52, !9, i64 53, !9, i64 54, !9, i64 55, !11, i64 56, !9, i64 60, !9, i64 64, !11, i64 80, !9, i64 84, !11, i64 100, !11, i64 104, !11, i64 108, !12, i64 112, !9, i64 128, !13, i64 512}
!7 = !{!"", !8, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !9, i64 32}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!6, !13, i64 512}
!15 = !{!16, !13, i64 4}
!16 = !{!"", !8, i64 0, !8, i64 2, !13, i64 4}
!17 = !{!16, !8, i64 0}
!18 = !{!16, !8, i64 2}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!6, !9, i64 32}


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