program ABC_085_B_KagamiMochi
   integer N, i, dm, m, countN
   integer, allocatable :: d(:)
   read(*, *) N
   allocate(d(1: N))
   read(*, *) d(1: N)
   do i = 1, N - 1
      dm = maxval(d(i+1:N))
	  m  = maxloc(d(i+1:N), 1) + i
	  if (d(i) < dm) then
	      d(m) = d(i)
		  d(i) = dm
	  end if
   end do
   countN = 1
   do i = 1, N - 1
       if(d(i) > maxval(d(i+1: N))) then
	      countN = countN + 1
	   end if
   end do
   write(*, *) countN
end program ABC_085_B_KagamiMochi
; 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
@_QQcl.0fa391b3817fa545f064414516992a6f = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_6436/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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

define void @_QQmain() local_unnamed_addr {
  %1 = alloca { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, align 8
  %2 = alloca { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, align 8
  %3 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %4 = alloca i32, align 4
  %5 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.0fa391b3817fa545f064414516992a6f, i32 4)
  %6 = call i1 @_FortranAioInputInteger(ptr %5, ptr nonnull %4, i32 4)
  %7 = call i32 @_FortranAioEndIoStatement(ptr %5)
  %8 = load i32, ptr %4, align 4, !tbaa !3
  %9 = call i32 @llvm.smax.i32(i32 %8, i32 0)
  %10 = zext i32 %9 to i64
  %11 = shl nuw nsw i64 %10, 2
  %12 = call ptr @malloc(i64 %11)
  store ptr %12, ptr @_QFEd.0, align 8, !tbaa !7
  %13 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.0fa391b3817fa545f064414516992a6f, i32 6)
  %.unpack = load ptr, ptr @_QFEd.0, align 8, !tbaa !7
  %14 = load i32, ptr %4, align 4, !tbaa !3
  %15 = call i32 @llvm.smax.i32(i32 %14, i32 0)
  %16 = zext i32 %15 to i64
  store ptr %.unpack, ptr %2, align 8, !tbaa !7
  %.fca.1.gep86 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 1
  store i64 4, ptr %.fca.1.gep86, align 8, !tbaa !7
  %.fca.2.gep88 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep88, align 8, !tbaa !7
  %.fca.3.gep90 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 3
  store i8 1, ptr %.fca.3.gep90, align 4, !tbaa !7
  %.fca.4.gep92 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 4
  store i8 9, ptr %.fca.4.gep92, align 1, !tbaa !7
  %.fca.5.gep94 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep94, align 2, !tbaa !7
  %.fca.6.gep96 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep96, align 1, !tbaa !7
  %.fca.7.0.0.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 7, i64 0, i64 0
  store i64 1, ptr %.fca.7.0.0.gep, align 8, !tbaa !7
  %.fca.7.0.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 7, i64 0, i64 1
  store i64 %16, ptr %.fca.7.0.1.gep, align 8, !tbaa !7
  %.fca.7.0.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 7, i64 0, i64 2
  store i64 4, ptr %.fca.7.0.2.gep, align 8, !tbaa !7
  %17 = call i1 @_FortranAioInputDescriptor(ptr %13, ptr nonnull %2)
  %18 = call i32 @_FortranAioEndIoStatement(ptr %13)
  %19 = load i32, ptr %4, align 4, !tbaa !3
  %20 = add i32 %19, -1
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.lr.ph, label %._crit_edge485

.lr.ph:                                           ; preds = %0
  %22 = zext i32 %20 to i64
  %.fca.1.gep233 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 1
  %.fca.2.gep235 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 2
  %.fca.3.gep237 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 3
  %.fca.4.gep239 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 4
  %.fca.5.gep241 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 5
  %.fca.6.gep243 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 6
  %.fca.7.0.0.gep245 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 0
  %.fca.7.0.1.gep247 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 1
  %.fca.7.0.2.gep249 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 2
  %.fca.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 1
  %.fca.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 2
  %.fca.3.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 3
  %.fca.4.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 4
  %.fca.5.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 5
  %.fca.6.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 6
  %.unpack418.pre = load ptr, ptr @_QFEd.0, align 8, !tbaa !7
  br label %23

23:                                               ; preds = %.lr.ph, %58
  %.unpack418 = phi ptr [ %.unpack418.pre, %.lr.ph ], [ %.unpack442, %58 ]
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %58 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %sext495 = shl i64 %indvars.iv.next, 32
  %24 = ashr exact i64 %sext495, 32
  %25 = load i32, ptr %4, align 4, !tbaa !3
  %26 = sext i32 %25 to i64
  %27 = add nsw i64 %24, -1
  %28 = sub nsw i64 %26, %24
  %29 = call i64 @llvm.smax.i64(i64 %28, i64 -1)
  %30 = add nsw i64 %29, 1
  %31 = getelementptr i32, ptr %.unpack418, i64 %27
  %.not480 = icmp eq i64 %30, 0
  br i1 %.not480, label %_FortranAMaxvalInteger4x1_contract_simplified.exit, label %.lr.ph.i.preheader

.lr.ph.i.preheader:                               ; preds = %23
  %min.iters.check = icmp ult i64 %30, 8
  br i1 %min.iters.check, label %.lr.ph.i.preheader523, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.i.preheader
  %n.vec = and i64 %30, -8
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ <i32 -2147483648, i32 -2147483648, i32 -2147483648, i32 -2147483648>, %vector.ph ], [ %35, %vector.body ]
  %vec.phi499 = phi <4 x i32> [ <i32 -2147483648, i32 -2147483648, i32 -2147483648, i32 -2147483648>, %vector.ph ], [ %36, %vector.body ]
  %32 = shl i64 %index, 2
  %33 = getelementptr i8, ptr %31, i64 %32
  %wide.load = load <4 x i32>, ptr %33, align 4, !tbaa !3
  %34 = getelementptr i32, ptr %33, i64 4
  %wide.load500 = load <4 x i32>, ptr %34, align 4, !tbaa !3
  %35 = call <4 x i32> @llvm.smax.v4i32(<4 x i32> %wide.load, <4 x i32> %vec.phi)
  %36 = call <4 x i32> @llvm.smax.v4i32(<4 x i32> %wide.load500, <4 x i32> %vec.phi499)
  %index.next = add nuw i64 %index, 8
  %37 = icmp eq i64 %index.next, %n.vec
  br i1 %37, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %rdx.minmax.select = call <4 x i32> @llvm.smax.v4i32(<4 x i32> %35, <4 x i32> %36)
  %38 = call i32 @llvm.vector.reduce.smax.v4i32(<4 x i32> %rdx.minmax.select)
  %cmp.n = icmp eq i64 %30, %n.vec
  br i1 %cmp.n, label %_FortranAMaxvalInteger4x1_contract_simplified.exit, label %.lr.ph.i.preheader523

.lr.ph.i.preheader523:                            ; preds = %.lr.ph.i.preheader, %middle.block
  %.ph524 = phi i32 [ -2147483648, %.lr.ph.i.preheader ], [ %38, %middle.block ]
  %.ph525 = phi i64 [ 0, %.lr.ph.i.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph.i

.lr.ph.i:                                         ; preds = %.lr.ph.i.preheader523, %.lr.ph.i
  %39 = phi i32 [ %44, %.lr.ph.i ], [ %.ph524, %.lr.ph.i.preheader523 ]
  %40 = phi i64 [ %45, %.lr.ph.i ], [ %.ph525, %.lr.ph.i.preheader523 ]
  %41 = shl i64 %40, 2
  %42 = getelementptr i8, ptr %31, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !3
  %44 = call i32 @llvm.smax.i32(i32 %43, i32 %39)
  %45 = add nuw nsw i64 %40, 1
  %exitcond.not.i = icmp eq i64 %40, %29
  br i1 %exitcond.not.i, label %_FortranAMaxvalInteger4x1_contract_simplified.exit, label %.lr.ph.i, !llvm.loop !12

_FortranAMaxvalInteger4x1_contract_simplified.exit: ; preds = %.lr.ph.i, %middle.block, %23
  %.lcssa.i = phi i32 [ -2147483648, %23 ], [ %38, %middle.block ], [ %44, %.lr.ph.i ]
  store ptr %31, ptr %1, align 8, !tbaa !7
  store i64 4, ptr %.fca.1.gep233, align 8, !tbaa !7
  store i32 20180515, ptr %.fca.2.gep235, align 8, !tbaa !7
  store i8 1, ptr %.fca.3.gep237, align 4, !tbaa !7
  store i8 9, ptr %.fca.4.gep239, align 1, !tbaa !7
  store i8 0, ptr %.fca.5.gep241, align 2, !tbaa !7
  store i8 0, ptr %.fca.6.gep243, align 1, !tbaa !7
  store i64 1, ptr %.fca.7.0.0.gep245, align 8, !tbaa !7
  store i64 %30, ptr %.fca.7.0.1.gep247, align 8, !tbaa !7
  store i64 4, ptr %.fca.7.0.2.gep249, align 8, !tbaa !7
  store ptr null, ptr %3, align 8, !tbaa !7
  store i64 4, ptr %.fca.1.gep, align 8, !tbaa !7
  store i32 20180515, ptr %.fca.2.gep, align 8, !tbaa !7
  store i8 0, ptr %.fca.3.gep, align 4, !tbaa !7
  store i8 9, ptr %.fca.4.gep, align 1, !tbaa !7
  store i8 2, ptr %.fca.5.gep, align 2, !tbaa !7
  store i8 0, ptr %.fca.6.gep, align 1, !tbaa !7
  %46 = call {} @_FortranAMaxlocDim(ptr nonnull %3, ptr nonnull %1, i32 4, i32 1, ptr nonnull @_QQcl.0fa391b3817fa545f064414516992a6f, i32 9, ptr null, i1 false)
  %.fca.0.load = load ptr, ptr %3, align 8, !tbaa !7
  %47 = load i32, ptr %.fca.0.load, align 4, !tbaa !3
  call void @free(ptr %.fca.0.load)
  %.unpack442 = load ptr, ptr @_QFEd.0, align 8, !tbaa !7
  %48 = add nsw i64 %indvars.iv, -1
  %49 = getelementptr i32, ptr %.unpack442, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !3
  %51 = icmp slt i32 %50, %.lcssa.i
  br i1 %51, label %52, label %58

52:                                               ; preds = %_FortranAMaxvalInteger4x1_contract_simplified.exit
  %53 = trunc i64 %indvars.iv to i32
  %54 = add i32 %47, %53
  %55 = sext i32 %54 to i64
  %56 = add nsw i64 %55, -1
  %57 = getelementptr i32, ptr %.unpack442, i64 %56
  store i32 %50, ptr %57, align 4, !tbaa !3
  store i32 %.lcssa.i, ptr %49, align 4, !tbaa !3
  br label %58

58:                                               ; preds = %52, %_FortranAMaxvalInteger4x1_contract_simplified.exit
  %exitcond.not = icmp eq i64 %indvars.iv, %22
  br i1 %exitcond.not, label %._crit_edge, label %23

._crit_edge:                                      ; preds = %58
  %.pre = load i32, ptr %4, align 4, !tbaa !3
  %.pre494 = add i32 %.pre, -1
  %59 = icmp sgt i32 %.pre494, 0
  br i1 %59, label %.lr.ph484, label %._crit_edge485

.lr.ph484:                                        ; preds = %._crit_edge
  %60 = zext i32 %.pre494 to i64
  %.unpack406 = load ptr, ptr @_QFEd.0, align 8, !tbaa !7
  %61 = sext i32 %.pre to i64
  br label %62

62:                                               ; preds = %.lr.ph484, %_FortranAMaxvalInteger4x1_contract_simplified.exit469
  %indvar = phi i32 [ 0, %.lr.ph484 ], [ %indvar.next, %_FortranAMaxvalInteger4x1_contract_simplified.exit469 ]
  %indvars.iv488 = phi i64 [ 1, %.lr.ph484 ], [ %indvars.iv.next489, %_FortranAMaxvalInteger4x1_contract_simplified.exit469 ]
  %.0482 = phi i32 [ 1, %.lr.ph484 ], [ %spec.select, %_FortranAMaxvalInteger4x1_contract_simplified.exit469 ]
  %63 = add i32 %indvar, 2
  %64 = sext i32 %63 to i64
  %65 = sub nsw i64 %61, %64
  %smax = call i64 @llvm.smax.i64(i64 %65, i64 -1)
  %66 = add nsw i64 %smax, 1
  %67 = add nsw i64 %indvars.iv488, -1
  %68 = getelementptr i32, ptr %.unpack406, i64 %67
  %69 = load i32, ptr %68, align 4, !tbaa !3
  %indvars.iv.next489 = add nuw nsw i64 %indvars.iv488, 1
  %sext = shl i64 %indvars.iv.next489, 32
  %70 = ashr exact i64 %sext, 32
  %71 = add nsw i64 %70, -1
  %72 = sub nsw i64 %61, %70
  %73 = call i64 @llvm.smax.i64(i64 %72, i64 -1)
  %74 = getelementptr i32, ptr %.unpack406, i64 %71
  %.not = icmp slt i64 %72, 0
  br i1 %.not, label %_FortranAMaxvalInteger4x1_contract_simplified.exit469, label %.lr.ph.i466.preheader

.lr.ph.i466.preheader:                            ; preds = %62
  %min.iters.check503 = icmp ult i64 %66, 8
  br i1 %min.iters.check503, label %.lr.ph.i466.preheader519, label %vector.ph504

vector.ph504:                                     ; preds = %.lr.ph.i466.preheader
  %n.vec506 = and i64 %66, -8
  br label %vector.body509

vector.body509:                                   ; preds = %vector.body509, %vector.ph504
  %index510 = phi i64 [ 0, %vector.ph504 ], [ %index.next515, %vector.body509 ]
  %vec.phi511 = phi <4 x i32> [ <i32 -2147483648, i32 -2147483648, i32 -2147483648, i32 -2147483648>, %vector.ph504 ], [ %78, %vector.body509 ]
  %vec.phi512 = phi <4 x i32> [ <i32 -2147483648, i32 -2147483648, i32 -2147483648, i32 -2147483648>, %vector.ph504 ], [ %79, %vector.body509 ]
  %75 = shl i64 %index510, 2
  %76 = getelementptr i8, ptr %74, i64 %75
  %wide.load513 = load <4 x i32>, ptr %76, align 4, !tbaa !3
  %77 = getelementptr i32, ptr %76, i64 4
  %wide.load514 = load <4 x i32>, ptr %77, align 4, !tbaa !3
  %78 = call <4 x i32> @llvm.smax.v4i32(<4 x i32> %wide.load513, <4 x i32> %vec.phi511)
  %79 = call <4 x i32> @llvm.smax.v4i32(<4 x i32> %wide.load514, <4 x i32> %vec.phi512)
  %index.next515 = add nuw i64 %index510, 8
  %80 = icmp eq i64 %index.next515, %n.vec506
  br i1 %80, label %middle.block501, label %vector.body509, !llvm.loop !13

middle.block501:                                  ; preds = %vector.body509
  %rdx.minmax.select517 = call <4 x i32> @llvm.smax.v4i32(<4 x i32> %78, <4 x i32> %79)
  %81 = call i32 @llvm.vector.reduce.smax.v4i32(<4 x i32> %rdx.minmax.select517)
  %cmp.n508 = icmp eq i64 %66, %n.vec506
  br i1 %cmp.n508, label %_FortranAMaxvalInteger4x1_contract_simplified.exit469, label %.lr.ph.i466.preheader519

.lr.ph.i466.preheader519:                         ; preds = %.lr.ph.i466.preheader, %middle.block501
  %.ph = phi i32 [ -2147483648, %.lr.ph.i466.preheader ], [ %81, %middle.block501 ]
  %.ph520 = phi i64 [ 0, %.lr.ph.i466.preheader ], [ %n.vec506, %middle.block501 ]
  br label %.lr.ph.i466

.lr.ph.i466:                                      ; preds = %.lr.ph.i466.preheader519, %.lr.ph.i466
  %82 = phi i32 [ %87, %.lr.ph.i466 ], [ %.ph, %.lr.ph.i466.preheader519 ]
  %83 = phi i64 [ %88, %.lr.ph.i466 ], [ %.ph520, %.lr.ph.i466.preheader519 ]
  %84 = shl i64 %83, 2
  %85 = getelementptr i8, ptr %74, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !3
  %87 = call i32 @llvm.smax.i32(i32 %86, i32 %82)
  %88 = add nuw nsw i64 %83, 1
  %exitcond.not.i467 = icmp eq i64 %83, %73
  br i1 %exitcond.not.i467, label %_FortranAMaxvalInteger4x1_contract_simplified.exit469, label %.lr.ph.i466, !llvm.loop !14

_FortranAMaxvalInteger4x1_contract_simplified.exit469: ; preds = %.lr.ph.i466, %middle.block501, %62
  %.lcssa.i468 = phi i32 [ -2147483648, %62 ], [ %81, %middle.block501 ], [ %87, %.lr.ph.i466 ]
  %89 = icmp sgt i32 %69, %.lcssa.i468
  %90 = zext i1 %89 to i32
  %spec.select = add i32 %.0482, %90
  %exitcond491.not = icmp eq i64 %indvars.iv488, %60
  %indvar.next = add i32 %indvar, 1
  br i1 %exitcond491.not, label %._crit_edge485, label %62

._crit_edge485:                                   ; preds = %_FortranAMaxvalInteger4x1_contract_simplified.exit469, %0, %._crit_edge
  %.0.lcssa = phi i32 [ 1, %._crit_edge ], [ 1, %0 ], [ %spec.select, %_FortranAMaxvalInteger4x1_contract_simplified.exit469 ]
  %91 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.0fa391b3817fa545f064414516992a6f, i32 21)
  %92 = call i1 @_FortranAioOutputInteger32(ptr %91, i32 %.0.lcssa)
  %93 = call i32 @_FortranAioEndIoStatement(ptr %91)
  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 i1 @_FortranAioInputDescriptor(ptr, ptr) local_unnamed_addr

declare {} @_FortranAMaxlocDim(ptr, ptr, i32, i32, ptr, i32, ptr, i1) local_unnamed_addr

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

declare i1 @_FortranAioOutputInteger32(ptr, i32) local_unnamed_addr

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i32> @llvm.smax.v4i32(<4 x i32>, <4 x i32>) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i32 @llvm.vector.reduce.smax.v4i32(<4 x i32>) #4

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #1 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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}
