program B085
    implicit none
    integer(8) :: N
    integer(8), allocatable, dimension(:) :: d
    integer(8) :: i, max, sum

    read(5,*) N
    allocate(d(N))
    do i = 1, N
        read(5,*) d(i)
    end do

    sum = 0
    max = maxval(d)
    do while (max /= 0)
        sum = sum + 1
        do i = 1, N
            if (max == d(i)) then
                d(i) = 0
            end if
        end do
        
        max = maxval(d)
    end  do


    write(6,*) sum




end program B085
; ModuleID = 'FIRModule'
source_filename = "FIRModule"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"

@_QFEd.0 = internal unnamed_addr global ptr null
@_QFEd.8 = internal unnamed_addr global i64 0
@_QQcl.884a02b8dc95e57ac52a218878b4c37c = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_6437/source.f\00"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

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

define void @_QQmain() local_unnamed_addr {
  %1 = alloca i64, align 8
  %2 = tail call ptr @_FortranAioBeginExternalListInput(i32 5, ptr nonnull @_QQcl.884a02b8dc95e57ac52a218878b4c37c, i32 7)
  %3 = call i1 @_FortranAioInputInteger(ptr %2, ptr nonnull %1, i32 8)
  %4 = call i32 @_FortranAioEndIoStatement(ptr %2)
  %5 = load i64, ptr %1, align 8, !tbaa !3
  %6 = call i64 @llvm.smax.i64(i64 %5, i64 0)
  %7 = shl i64 %6, 3
  %8 = call ptr @malloc(i64 %7)
  store ptr %8, ptr @_QFEd.0, align 8, !tbaa !7
  store i64 %6, ptr @_QFEd.8, align 8, !tbaa !7
  %9 = icmp sgt i64 %5, 0
  br i1 %9, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %10 = phi i64 [ %16, %.lr.ph ], [ 1, %0 ]
  %11 = call ptr @_FortranAioBeginExternalListInput(i32 5, ptr nonnull @_QQcl.884a02b8dc95e57ac52a218878b4c37c, i32 10)
  %.unpack233 = load ptr, ptr @_QFEd.0, align 8, !tbaa !7
  %12 = add i64 %10, -1
  %13 = getelementptr i64, ptr %.unpack233, i64 %12
  %14 = call i1 @_FortranAioInputInteger(ptr %11, ptr %13, i32 8)
  %15 = call i32 @_FortranAioEndIoStatement(ptr %11)
  %16 = add nuw i64 %10, 1
  %exitcond.not = icmp eq i64 %10, %5
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.unpack.pre = load ptr, ptr @_QFEd.0, align 8, !tbaa !7
  %.unpack204.unpack.unpack206.pre = load i64, ptr @_QFEd.8, align 8, !tbaa !7
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %0
  %.unpack204.unpack.unpack206 = phi i64 [ %.unpack204.unpack.unpack206.pre, %._crit_edge.loopexit ], [ %6, %0 ]
  %.unpack = phi ptr [ %.unpack.pre, %._crit_edge.loopexit ], [ %8, %0 ]
  %17 = icmp sgt i64 %.unpack204.unpack.unpack206, 0
  br i1 %17, label %.lr.ph.i.preheader, label %.lr.ph266.thread

.lr.ph.i.preheader:                               ; preds = %._crit_edge
  %min.iters.check = icmp ult i64 %.unpack204.unpack.unpack206, 4
  br i1 %min.iters.check, label %.lr.ph.i.preheader343, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.i.preheader
  %n.vec = and i64 %.unpack204.unpack.unpack206, -4
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i64> [ <i64 -9223372036854775808, i64 -9223372036854775808>, %vector.ph ], [ %21, %vector.body ]
  %vec.phi293 = phi <2 x i64> [ <i64 -9223372036854775808, i64 -9223372036854775808>, %vector.ph ], [ %22, %vector.body ]
  %18 = shl i64 %index, 3
  %19 = getelementptr i8, ptr %.unpack, i64 %18
  %wide.load = load <2 x i64>, ptr %19, align 8, !tbaa !3
  %20 = getelementptr i64, ptr %19, i64 2
  %wide.load294 = load <2 x i64>, ptr %20, align 8, !tbaa !3
  %21 = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %wide.load, <2 x i64> %vec.phi)
  %22 = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %wide.load294, <2 x i64> %vec.phi293)
  %index.next = add nuw i64 %index, 4
  %23 = icmp eq i64 %index.next, %n.vec
  br i1 %23, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %rdx.minmax.select = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %21, <2 x i64> %22)
  %24 = call i64 @llvm.vector.reduce.smax.v2i64(<2 x i64> %rdx.minmax.select)
  %cmp.n = icmp eq i64 %.unpack204.unpack.unpack206, %n.vec
  br i1 %cmp.n, label %_FortranAMaxvalInteger8x1_contract_simplified.exit, label %.lr.ph.i.preheader343

.lr.ph.i.preheader343:                            ; preds = %.lr.ph.i.preheader, %middle.block
  %.ph344 = phi i64 [ -9223372036854775808, %.lr.ph.i.preheader ], [ %24, %middle.block ]
  %.ph345 = phi i64 [ 0, %.lr.ph.i.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph.i

.lr.ph.i:                                         ; preds = %.lr.ph.i.preheader343, %.lr.ph.i
  %25 = phi i64 [ %30, %.lr.ph.i ], [ %.ph344, %.lr.ph.i.preheader343 ]
  %26 = phi i64 [ %31, %.lr.ph.i ], [ %.ph345, %.lr.ph.i.preheader343 ]
  %27 = shl i64 %26, 3
  %28 = getelementptr i8, ptr %.unpack, i64 %27
  %29 = load i64, ptr %28, align 8, !tbaa !3
  %30 = call i64 @llvm.smax.i64(i64 %29, i64 %25)
  %31 = add nuw nsw i64 %26, 1
  %exitcond.not.i = icmp eq i64 %31, %.unpack204.unpack.unpack206
  br i1 %exitcond.not.i, label %_FortranAMaxvalInteger8x1_contract_simplified.exit, label %.lr.ph.i, !llvm.loop !12

_FortranAMaxvalInteger8x1_contract_simplified.exit: ; preds = %.lr.ph.i, %middle.block
  %.lcssa292 = phi i64 [ %24, %middle.block ], [ %30, %.lr.ph.i ]
  %.not263 = icmp eq i64 %.lcssa292, 0
  br i1 %.not263, label %._crit_edge267, label %.lr.ph266

.lr.ph266:                                        ; preds = %_FortranAMaxvalInteger8x1_contract_simplified.exit
  %32 = load i64, ptr %1, align 8, !tbaa !3
  %33 = icmp sgt i64 %32, 0
  br i1 %33, label %.lr.ph266.split.preheader, label %.lr.ph266.split.us

.lr.ph266.split.preheader:                        ; preds = %.lr.ph266.thread, %.lr.ph266
  %.0186264.ph = phi i64 [ %.lcssa292, %.lr.ph266 ], [ -9223372036854775808, %.lr.ph266.thread ]
  %min.iters.check315 = icmp ult i64 %.unpack204.unpack.unpack206, 4
  %n.vec318 = and i64 %.unpack204.unpack.unpack206, -4
  %cmp.n320 = icmp eq i64 %.unpack204.unpack.unpack206, %n.vec318
  br label %.lr.ph266.split

.lr.ph266.thread:                                 ; preds = %._crit_edge
  %34 = load i64, ptr %1, align 8, !tbaa !3
  %35 = icmp sgt i64 %34, 0
  br i1 %35, label %.lr.ph266.split.preheader, label %_FortranAMaxvalInteger8x1_contract_simplified.exit248.us.preheader

.lr.ph266.split.us:                               ; preds = %.lr.ph266
  br i1 %17, label %.lr.ph.i245.preheader.us.us.preheader, label %_FortranAMaxvalInteger8x1_contract_simplified.exit248.us.preheader

_FortranAMaxvalInteger8x1_contract_simplified.exit248.us.preheader: ; preds = %.lr.ph266.thread, %.lr.ph266.split.us
  br label %_FortranAMaxvalInteger8x1_contract_simplified.exit248.us

.lr.ph.i245.preheader.us.us.preheader:            ; preds = %.lr.ph266.split.us
  %min.iters.check297 = icmp ult i64 %.unpack204.unpack.unpack206, 4
  %n.vec300 = and i64 %.unpack204.unpack.unpack206, -4
  %cmp.n302 = icmp eq i64 %.unpack204.unpack.unpack206, %n.vec300
  br label %.lr.ph.i245.preheader.us.us

.lr.ph.i245.preheader.us.us:                      ; preds = %.lr.ph.i245.preheader.us.us.preheader, %_FortranAMaxvalInteger8x1_contract_simplified.exit248.loopexit.us.us
  %.0265.us.us = phi i64 [ %50, %_FortranAMaxvalInteger8x1_contract_simplified.exit248.loopexit.us.us ], [ 0, %.lr.ph.i245.preheader.us.us.preheader ]
  br i1 %min.iters.check297, label %.lr.ph.i245.us.us.preheader, label %vector.body303

vector.body303:                                   ; preds = %.lr.ph.i245.preheader.us.us, %vector.body303
  %index304 = phi i64 [ %index.next309, %vector.body303 ], [ 0, %.lr.ph.i245.preheader.us.us ]
  %vec.phi305 = phi <2 x i64> [ %39, %vector.body303 ], [ <i64 -9223372036854775808, i64 -9223372036854775808>, %.lr.ph.i245.preheader.us.us ]
  %vec.phi306 = phi <2 x i64> [ %40, %vector.body303 ], [ <i64 -9223372036854775808, i64 -9223372036854775808>, %.lr.ph.i245.preheader.us.us ]
  %36 = shl i64 %index304, 3
  %37 = getelementptr i8, ptr %.unpack, i64 %36
  %wide.load307 = load <2 x i64>, ptr %37, align 8, !tbaa !3
  %38 = getelementptr i64, ptr %37, i64 2
  %wide.load308 = load <2 x i64>, ptr %38, align 8, !tbaa !3
  %39 = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %wide.load307, <2 x i64> %vec.phi305)
  %40 = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %wide.load308, <2 x i64> %vec.phi306)
  %index.next309 = add nuw i64 %index304, 4
  %41 = icmp eq i64 %index.next309, %n.vec300
  br i1 %41, label %middle.block295, label %vector.body303, !llvm.loop !13

middle.block295:                                  ; preds = %vector.body303
  %rdx.minmax.select311 = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %39, <2 x i64> %40)
  %42 = call i64 @llvm.vector.reduce.smax.v2i64(<2 x i64> %rdx.minmax.select311)
  br i1 %cmp.n302, label %_FortranAMaxvalInteger8x1_contract_simplified.exit248.loopexit.us.us, label %.lr.ph.i245.us.us.preheader

.lr.ph.i245.us.us.preheader:                      ; preds = %.lr.ph.i245.preheader.us.us, %middle.block295
  %.ph336 = phi i64 [ -9223372036854775808, %.lr.ph.i245.preheader.us.us ], [ %42, %middle.block295 ]
  %.ph337 = phi i64 [ 0, %.lr.ph.i245.preheader.us.us ], [ %n.vec300, %middle.block295 ]
  br label %.lr.ph.i245.us.us

.lr.ph.i245.us.us:                                ; preds = %.lr.ph.i245.us.us.preheader, %.lr.ph.i245.us.us
  %43 = phi i64 [ %48, %.lr.ph.i245.us.us ], [ %.ph336, %.lr.ph.i245.us.us.preheader ]
  %44 = phi i64 [ %49, %.lr.ph.i245.us.us ], [ %.ph337, %.lr.ph.i245.us.us.preheader ]
  %45 = shl i64 %44, 3
  %46 = getelementptr i8, ptr %.unpack, i64 %45
  %47 = load i64, ptr %46, align 8, !tbaa !3
  %48 = call i64 @llvm.smax.i64(i64 %47, i64 %43)
  %49 = add nuw nsw i64 %44, 1
  %exitcond.not.i246.us.us = icmp eq i64 %49, %.unpack204.unpack.unpack206
  br i1 %exitcond.not.i246.us.us, label %_FortranAMaxvalInteger8x1_contract_simplified.exit248.loopexit.us.us, label %.lr.ph.i245.us.us, !llvm.loop !14

_FortranAMaxvalInteger8x1_contract_simplified.exit248.loopexit.us.us: ; preds = %.lr.ph.i245.us.us, %middle.block295
  %.lcssa290 = phi i64 [ %42, %middle.block295 ], [ %48, %.lr.ph.i245.us.us ]
  %50 = add i64 %.0265.us.us, 1
  %.not.us.us = icmp eq i64 %.lcssa290, 0
  br i1 %.not.us.us, label %._crit_edge267, label %.lr.ph.i245.preheader.us.us

_FortranAMaxvalInteger8x1_contract_simplified.exit248.us: ; preds = %_FortranAMaxvalInteger8x1_contract_simplified.exit248.us.preheader, %_FortranAMaxvalInteger8x1_contract_simplified.exit248.us
  br label %_FortranAMaxvalInteger8x1_contract_simplified.exit248.us

.lr.ph266.split:                                  ; preds = %.lr.ph266.split.preheader, %_FortranAMaxvalInteger8x1_contract_simplified.exit248
  %.0265 = phi i64 [ %51, %_FortranAMaxvalInteger8x1_contract_simplified.exit248 ], [ 0, %.lr.ph266.split.preheader ]
  %.0186264 = phi i64 [ %.lcssa.i247, %_FortranAMaxvalInteger8x1_contract_simplified.exit248 ], [ %.0186264.ph, %.lr.ph266.split.preheader ]
  %51 = add i64 %.0265, 1
  %52 = load i64, ptr %1, align 8, !tbaa !3
  %53 = icmp sgt i64 %52, 0
  br i1 %53, label %.lr.ph261.preheader, label %._crit_edge262

.lr.ph261.preheader:                              ; preds = %.lr.ph266.split
  %xtraiter = and i64 %52, 1
  %54 = icmp eq i64 %52, 1
  br i1 %54, label %._crit_edge262.loopexit.unr-lcssa, label %.lr.ph261.preheader.new

.lr.ph261.preheader.new:                          ; preds = %.lr.ph261.preheader
  %unroll_iter = and i64 %52, -2
  br label %.lr.ph261

.lr.ph261:                                        ; preds = %65, %.lr.ph261.preheader.new
  %55 = phi i64 [ 1, %.lr.ph261.preheader.new ], [ %66, %65 ]
  %niter = phi i64 [ 0, %.lr.ph261.preheader.new ], [ %niter.next.1, %65 ]
  %56 = add nsw i64 %55, -1
  %57 = getelementptr i64, ptr %.unpack, i64 %56
  %58 = load i64, ptr %57, align 8, !tbaa !3
  %59 = icmp eq i64 %.0186264, %58
  br i1 %59, label %60, label %.lr.ph261.1

60:                                               ; preds = %.lr.ph261
  store i64 0, ptr %57, align 8, !tbaa !3
  br label %.lr.ph261.1

.lr.ph261.1:                                      ; preds = %60, %.lr.ph261
  %61 = getelementptr i64, ptr %.unpack, i64 %55
  %62 = load i64, ptr %61, align 8, !tbaa !3
  %63 = icmp eq i64 %.0186264, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %.lr.ph261.1
  store i64 0, ptr %61, align 8, !tbaa !3
  br label %65

65:                                               ; preds = %64, %.lr.ph261.1
  %66 = add nuw i64 %55, 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_edge262.loopexit.unr-lcssa, label %.lr.ph261

._crit_edge262.loopexit.unr-lcssa:                ; preds = %65, %.lr.ph261.preheader
  %.unr = phi i64 [ 1, %.lr.ph261.preheader ], [ %66, %65 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge262, label %.lr.ph261.epil

.lr.ph261.epil:                                   ; preds = %._crit_edge262.loopexit.unr-lcssa
  %67 = add i64 %.unr, -1
  %68 = getelementptr i64, ptr %.unpack, i64 %67
  %69 = load i64, ptr %68, align 8, !tbaa !3
  %70 = icmp eq i64 %.0186264, %69
  br i1 %70, label %71, label %._crit_edge262

71:                                               ; preds = %.lr.ph261.epil
  store i64 0, ptr %68, align 8, !tbaa !3
  br label %._crit_edge262

._crit_edge262:                                   ; preds = %._crit_edge262.loopexit.unr-lcssa, %71, %.lr.ph261.epil, %.lr.ph266.split
  br i1 %17, label %.lr.ph.i245.preheader, label %_FortranAMaxvalInteger8x1_contract_simplified.exit248

.lr.ph.i245.preheader:                            ; preds = %._crit_edge262
  br i1 %min.iters.check315, label %.lr.ph.i245.preheader331, label %vector.body321

vector.body321:                                   ; preds = %.lr.ph.i245.preheader, %vector.body321
  %index322 = phi i64 [ %index.next327, %vector.body321 ], [ 0, %.lr.ph.i245.preheader ]
  %vec.phi323 = phi <2 x i64> [ %75, %vector.body321 ], [ <i64 -9223372036854775808, i64 -9223372036854775808>, %.lr.ph.i245.preheader ]
  %vec.phi324 = phi <2 x i64> [ %76, %vector.body321 ], [ <i64 -9223372036854775808, i64 -9223372036854775808>, %.lr.ph.i245.preheader ]
  %72 = shl i64 %index322, 3
  %73 = getelementptr i8, ptr %.unpack, i64 %72
  %wide.load325 = load <2 x i64>, ptr %73, align 8, !tbaa !3
  %74 = getelementptr i64, ptr %73, i64 2
  %wide.load326 = load <2 x i64>, ptr %74, align 8, !tbaa !3
  %75 = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %wide.load325, <2 x i64> %vec.phi323)
  %76 = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %wide.load326, <2 x i64> %vec.phi324)
  %index.next327 = add nuw i64 %index322, 4
  %77 = icmp eq i64 %index.next327, %n.vec318
  br i1 %77, label %middle.block313, label %vector.body321, !llvm.loop !15

middle.block313:                                  ; preds = %vector.body321
  %rdx.minmax.select329 = call <2 x i64> @llvm.smax.v2i64(<2 x i64> %75, <2 x i64> %76)
  %78 = call i64 @llvm.vector.reduce.smax.v2i64(<2 x i64> %rdx.minmax.select329)
  br i1 %cmp.n320, label %_FortranAMaxvalInteger8x1_contract_simplified.exit248, label %.lr.ph.i245.preheader331

.lr.ph.i245.preheader331:                         ; preds = %.lr.ph.i245.preheader, %middle.block313
  %.ph = phi i64 [ -9223372036854775808, %.lr.ph.i245.preheader ], [ %78, %middle.block313 ]
  %.ph332 = phi i64 [ 0, %.lr.ph.i245.preheader ], [ %n.vec318, %middle.block313 ]
  br label %.lr.ph.i245

.lr.ph.i245:                                      ; preds = %.lr.ph.i245.preheader331, %.lr.ph.i245
  %79 = phi i64 [ %84, %.lr.ph.i245 ], [ %.ph, %.lr.ph.i245.preheader331 ]
  %80 = phi i64 [ %85, %.lr.ph.i245 ], [ %.ph332, %.lr.ph.i245.preheader331 ]
  %81 = shl i64 %80, 3
  %82 = getelementptr i8, ptr %.unpack, i64 %81
  %83 = load i64, ptr %82, align 8, !tbaa !3
  %84 = call i64 @llvm.smax.i64(i64 %83, i64 %79)
  %85 = add nuw nsw i64 %80, 1
  %exitcond.not.i246 = icmp eq i64 %85, %.unpack204.unpack.unpack206
  br i1 %exitcond.not.i246, label %_FortranAMaxvalInteger8x1_contract_simplified.exit248, label %.lr.ph.i245, !llvm.loop !16

_FortranAMaxvalInteger8x1_contract_simplified.exit248: ; preds = %.lr.ph.i245, %middle.block313, %._crit_edge262
  %.lcssa.i247 = phi i64 [ -9223372036854775808, %._crit_edge262 ], [ %78, %middle.block313 ], [ %84, %.lr.ph.i245 ]
  %.not = icmp eq i64 %.lcssa.i247, 0
  br i1 %.not, label %._crit_edge267, label %.lr.ph266.split, !llvm.loop !17

._crit_edge267:                                   ; preds = %_FortranAMaxvalInteger8x1_contract_simplified.exit248.loopexit.us.us, %_FortranAMaxvalInteger8x1_contract_simplified.exit248, %_FortranAMaxvalInteger8x1_contract_simplified.exit
  %.0.lcssa = phi i64 [ 0, %_FortranAMaxvalInteger8x1_contract_simplified.exit ], [ %51, %_FortranAMaxvalInteger8x1_contract_simplified.exit248 ], [ %50, %_FortranAMaxvalInteger8x1_contract_simplified.exit248.loopexit.us.us ]
  %86 = call ptr @_FortranAioBeginExternalListOutput(i32 6, ptr nonnull @_QQcl.884a02b8dc95e57ac52a218878b4c37c, i32 27)
  %87 = call i1 @_FortranAioOutputInteger64(ptr %86, i64 %.0.lcssa)
  %88 = call i32 @_FortranAioEndIoStatement(ptr %86)
  ret void
}

declare ptr @_FortranAioBeginExternalListInput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioInputInteger(ptr, ptr, i32) local_unnamed_addr

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare ptr @_FortranAioBeginExternalListOutput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputInteger64(ptr, i64) local_unnamed_addr

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i64> @llvm.smax.v2i64(<2 x i64>, <2 x i64>) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.vector.reduce.smax.v2i64(<2 x i64>) #3

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(none) }

!llvm.module.flags = !{!0, !1, !2}

!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{!4, !4, i64 0}
!4 = !{!"any data access", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
!7 = !{!8, !8, i64 0}
!8 = !{!"descriptor member", !5, i64 0}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.isvectorized", i32 1}
!11 = !{!"llvm.loop.unroll.runtime.disable"}
!12 = distinct !{!12, !11, !10}
!13 = distinct !{!13, !10, !11}
!14 = distinct !{!14, !11, !10}
!15 = distinct !{!15, !10, !11}
!16 = distinct !{!16, !11, !10}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unswitch.partial.disable"}
