; LLVM IR from intel/qpl :: sources/core-sw/src/other (qplc_memop)

; 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"

; 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

; Function Attrs: nounwind uwtable
define dso_local void @px_qplc_move_8u(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = call i64 @OWN_QPLC_UINT_PTR(ptr noundef %9)
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = call i64 @OWN_QPLC_UINT_PTR(ptr noundef %11)
  %13 = icmp ult i64 %10, %12
  br i1 %13, label %14, label %40

14:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %15

15:                                               ; preds = %36, %14
  %16 = load i32, ptr %7, align 4, !tbaa !9
  %17 = load i32, ptr %6, align 4, !tbaa !9
  %18 = icmp ult i32 %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %39

20:                                               ; preds = %15
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = load i32, ptr %6, align 4, !tbaa !9
  %23 = sub i32 %22, 1
  %24 = load i32, ptr %7, align 4, !tbaa !9
  %25 = sub i32 %23, %24
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds i8, ptr %21, i64 %26
  %28 = load i8, ptr %27, align 1, !tbaa !11
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = load i32, ptr %6, align 4, !tbaa !9
  %31 = sub i32 %30, 1
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = sub i32 %31, %32
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds i8, ptr %29, i64 %34
  store i8 %28, ptr %35, align 1, !tbaa !11
  br label %36

36:                                               ; preds = %20
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = add i32 %37, 1
  store i32 %38, ptr %7, align 4, !tbaa !9
  br label %15, !llvm.loop !12

39:                                               ; preds = %19
  br label %60

40:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %56, %40
  %42 = load i32, ptr %8, align 4, !tbaa !9
  %43 = load i32, ptr %6, align 4, !tbaa !9
  %44 = icmp ult i32 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %59

46:                                               ; preds = %41
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = load i32, ptr %8, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds i8, ptr %47, i64 %49
  %51 = load i8, ptr %50, align 1, !tbaa !11
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds i8, ptr %52, i64 %54
  store i8 %51, ptr %55, align 1, !tbaa !11
  br label %56

56:                                               ; preds = %46
  %57 = load i32, ptr %8, align 4, !tbaa !9
  %58 = add i32 %57, 1
  store i32 %58, ptr %8, align 4, !tbaa !9
  br label %41, !llvm.loop !14

59:                                               ; preds = %45
  br label %60

60:                                               ; preds = %59, %39
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @OWN_QPLC_UINT_PTR(ptr noundef) #2

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 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; 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"

; Function Attrs: nounwind uwtable
define dso_local void @px_qplc_move_8u(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = ptrtoint ptr %1 to i64
  %5 = ptrtoint ptr %0 to i64
  %6 = ptrtoint ptr %1 to i64
  %7 = tail call i64 @OWN_QPLC_UINT_PTR(ptr noundef %0)
  %8 = tail call i64 @OWN_QPLC_UINT_PTR(ptr noundef %1)
  %9 = icmp ult i64 %7, %8
  %.not24 = icmp eq i32 %2, 0
  br i1 %9, label %.preheader, label %.preheader19

.preheader19:                                     ; preds = %3
  br i1 %.not24, label %.loopexit, label %iter.check

iter.check:                                       ; preds = %.preheader19
  %wide.trip.count = zext i32 %2 to i64
  %min.iters.check = icmp ult i32 %2, 8
  %10 = sub i64 %6, %5
  %diff.check = icmp ult i64 %10, 32
  %or.cond = or i1 %min.iters.check, %diff.check
  br i1 %or.cond, label %.lr.ph.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %iter.check
  %min.iters.check34 = icmp ult i32 %2, 32
  br i1 %min.iters.check34, label %vec.epilog.ph, label %vector.ph

vector.ph:                                        ; preds = %vector.main.loop.iter.check
  %n.vec = and i64 %wide.trip.count, 4294967264
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %11 = getelementptr inbounds i8, ptr %0, i64 %index
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  %wide.load = load <16 x i8>, ptr %11, align 1, !tbaa !5
  %wide.load35 = load <16 x i8>, ptr %12, align 1, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %1, i64 %index
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  store <16 x i8> %wide.load, ptr %13, align 1, !tbaa !5
  store <16 x i8> %wide.load35, ptr %14, align 1, !tbaa !5
  %index.next = add nuw i64 %index, 32
  %15 = icmp eq i64 %index.next, %n.vec
  br i1 %15, label %middle.block, label %vector.body, !llvm.loop !8

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.loopexit, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  %n.vec.remaining = and i64 %wide.trip.count, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  br i1 %min.epilog.iters.check, label %.lr.ph.preheader, label %vec.epilog.ph

.lr.ph.preheader:                                 ; preds = %vec.epilog.middle.block, %iter.check, %vec.epilog.iter.check
  %indvars.iv.ph = phi i64 [ 0, %iter.check ], [ %n.vec, %vec.epilog.iter.check ], [ %n.vec37, %vec.epilog.middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader, %.lr.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.lr.ph.prol ], [ %indvars.iv.ph, %.lr.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader ]
  %16 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv.prol
  %17 = load i8, ptr %16, align 1, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.prol
  store i8 %17, ptr %18, align 1, !tbaa !5
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !12

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %19 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %20 = icmp ugt i64 %19, -4
  br i1 %20, label %.loopexit, label %.lr.ph

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %n.vec37 = and i64 %wide.trip.count, 4294967288
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index38 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next40, %vec.epilog.vector.body ]
  %21 = getelementptr inbounds i8, ptr %0, i64 %index38
  %wide.load39 = load <8 x i8>, ptr %21, align 1, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %1, i64 %index38
  store <8 x i8> %wide.load39, ptr %22, align 1, !tbaa !5
  %index.next40 = add nuw i64 %index38, 8
  %23 = icmp eq i64 %index.next40, %n.vec37
  br i1 %23, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !14

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  %cmp.n41 = icmp eq i64 %n.vec37, %wide.trip.count
  br i1 %cmp.n41, label %.loopexit, label %.lr.ph.preheader

.preheader:                                       ; preds = %3
  br i1 %.not24, label %.loopexit, label %iter.check47

iter.check47:                                     ; preds = %.preheader
  %wide.trip.count30 = zext i32 %2 to i64
  %min.iters.check45 = icmp ult i32 %2, 4
  br i1 %min.iters.check45, label %.lr.ph23.preheader, label %vector.scevcheck

vector.scevcheck:                                 ; preds = %iter.check47
  %24 = add nsw i64 %wide.trip.count30, -1
  %25 = add i32 %2, -1
  %26 = trunc i64 %24 to i32
  %27 = icmp ult i32 %25, %26
  %28 = icmp ugt i64 %24, 4294967295
  %29 = or i1 %27, %28
  %30 = sub i64 %5, %4
  %diff.check43 = icmp ult i64 %30, 16
  %or.cond76 = or i1 %29, %diff.check43
  br i1 %or.cond76, label %.lr.ph23.preheader, label %vector.main.loop.iter.check49

vector.main.loop.iter.check49:                    ; preds = %vector.scevcheck
  %min.iters.check48 = icmp ult i32 %2, 16
  br i1 %min.iters.check48, label %vec.epilog.ph61, label %vector.ph50

vector.ph50:                                      ; preds = %vector.main.loop.iter.check49
  %n.vec52 = and i64 %wide.trip.count30, 4294967280
  %invariant.gep = getelementptr i8, ptr %0, i64 -15
  %invariant.gep83 = getelementptr i8, ptr %1, i64 -15
  br label %vector.body53

vector.body53:                                    ; preds = %vector.body53, %vector.ph50
  %index54 = phi i64 [ 0, %vector.ph50 ], [ %index.next57, %vector.body53 ]
  %31 = trunc i64 %index54 to i32
  %32 = xor i32 %31, -1
  %33 = add i32 %32, %2
  %34 = zext i32 %33 to i64
  %gep = getelementptr i8, ptr %invariant.gep, i64 %34
  %wide.load55 = load <16 x i8>, ptr %gep, align 1, !tbaa !5
  %gep84 = getelementptr i8, ptr %invariant.gep83, i64 %34
  store <16 x i8> %wide.load55, ptr %gep84, align 1, !tbaa !5
  %index.next57 = add nuw i64 %index54, 16
  %35 = icmp eq i64 %index.next57, %n.vec52
  br i1 %35, label %middle.block44, label %vector.body53, !llvm.loop !15

middle.block44:                                   ; preds = %vector.body53
  %cmp.n58 = icmp eq i64 %n.vec52, %wide.trip.count30
  br i1 %cmp.n58, label %.loopexit, label %vec.epilog.iter.check62

vec.epilog.iter.check62:                          ; preds = %middle.block44
  %n.vec.remaining63 = and i64 %wide.trip.count30, 12
  %min.epilog.iters.check64 = icmp eq i64 %n.vec.remaining63, 0
  br i1 %min.epilog.iters.check64, label %.lr.ph23.preheader, label %vec.epilog.ph61

vec.epilog.ph61:                                  ; preds = %vector.main.loop.iter.check49, %vec.epilog.iter.check62
  %vec.epilog.resume.val65 = phi i64 [ %n.vec52, %vec.epilog.iter.check62 ], [ 0, %vector.main.loop.iter.check49 ]
  %n.vec67 = and i64 %wide.trip.count30, 4294967292
  %invariant.gep85 = getelementptr i8, ptr %0, i64 -3
  %invariant.gep87 = getelementptr i8, ptr %1, i64 -3
  br label %vec.epilog.vector.body69

vec.epilog.vector.body69:                         ; preds = %vec.epilog.vector.body69, %vec.epilog.ph61
  %index70 = phi i64 [ %vec.epilog.resume.val65, %vec.epilog.ph61 ], [ %index.next74, %vec.epilog.vector.body69 ]
  %36 = trunc i64 %index70 to i32
  %37 = xor i32 %36, -1
  %38 = add i32 %37, %2
  %39 = zext i32 %38 to i64
  %gep86 = getelementptr i8, ptr %invariant.gep85, i64 %39
  %wide.load71 = load <4 x i8>, ptr %gep86, align 1, !tbaa !5
  %gep88 = getelementptr i8, ptr %invariant.gep87, i64 %39
  store <4 x i8> %wide.load71, ptr %gep88, align 1, !tbaa !5
  %index.next74 = add nuw i64 %index70, 4
  %40 = icmp eq i64 %index.next74, %n.vec67
  br i1 %40, label %vec.epilog.middle.block59, label %vec.epilog.vector.body69, !llvm.loop !16

vec.epilog.middle.block59:                        ; preds = %vec.epilog.vector.body69
  %cmp.n75 = icmp eq i64 %n.vec67, %wide.trip.count30
  br i1 %cmp.n75, label %.loopexit, label %.lr.ph23.preheader

.lr.ph23.preheader:                               ; preds = %vec.epilog.middle.block59, %vector.scevcheck, %iter.check47, %vec.epilog.iter.check62
  %indvars.iv27.ph = phi i64 [ 0, %iter.check47 ], [ 0, %vector.scevcheck ], [ %n.vec52, %vec.epilog.iter.check62 ], [ %n.vec67, %vec.epilog.middle.block59 ]
  %xtraiter78 = and i64 %wide.trip.count30, 3
  %lcmp.mod79.not = icmp eq i64 %xtraiter78, 0
  br i1 %lcmp.mod79.not, label %.lr.ph23.prol.loopexit, label %.lr.ph23.prol

.lr.ph23.prol:                                    ; preds = %.lr.ph23.preheader, %.lr.ph23.prol
  %indvars.iv27.prol = phi i64 [ %indvars.iv.next28.prol, %.lr.ph23.prol ], [ %indvars.iv27.ph, %.lr.ph23.preheader ]
  %prol.iter80 = phi i64 [ %prol.iter80.next, %.lr.ph23.prol ], [ 0, %.lr.ph23.preheader ]
  %41 = trunc nuw i64 %indvars.iv27.prol to i32
  %42 = xor i32 %41, -1
  %43 = add i32 %42, %2
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds i8, ptr %0, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %1, i64 %44
  store i8 %46, ptr %47, align 1, !tbaa !5
  %indvars.iv.next28.prol = add nuw nsw i64 %indvars.iv27.prol, 1
  %prol.iter80.next = add i64 %prol.iter80, 1
  %prol.iter80.cmp.not = icmp eq i64 %prol.iter80.next, %xtraiter78
  br i1 %prol.iter80.cmp.not, label %.lr.ph23.prol.loopexit, label %.lr.ph23.prol, !llvm.loop !17

.lr.ph23.prol.loopexit:                           ; preds = %.lr.ph23.prol, %.lr.ph23.preheader
  %indvars.iv27.unr = phi i64 [ %indvars.iv27.ph, %.lr.ph23.preheader ], [ %indvars.iv.next28.prol, %.lr.ph23.prol ]
  %48 = sub nsw i64 %indvars.iv27.ph, %wide.trip.count30
  %49 = icmp ugt i64 %48, -4
  br i1 %49, label %.loopexit, label %.lr.ph23

.lr.ph23:                                         ; preds = %.lr.ph23.prol.loopexit, %.lr.ph23
  %indvars.iv27 = phi i64 [ %indvars.iv.next28.3, %.lr.ph23 ], [ %indvars.iv27.unr, %.lr.ph23.prol.loopexit ]
  %50 = trunc nuw i64 %indvars.iv27 to i32
  %51 = xor i32 %50, -1
  %52 = add i32 %51, %2
  %53 = zext i32 %52 to i64
  %54 = getelementptr inbounds i8, ptr %0, i64 %53
  %55 = load i8, ptr %54, align 1, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %1, i64 %53
  store i8 %55, ptr %56, align 1, !tbaa !5
  %57 = trunc i64 %indvars.iv27 to i32
  %reass.sub = sub i32 %2, %57
  %58 = add i32 %reass.sub, -2
  %59 = zext i32 %58 to i64
  %60 = getelementptr inbounds i8, ptr %0, i64 %59
  %61 = load i8, ptr %60, align 1, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %1, i64 %59
  store i8 %61, ptr %62, align 1, !tbaa !5
  %63 = trunc i64 %indvars.iv27 to i32
  %reass.sub81 = sub i32 %2, %63
  %64 = add i32 %reass.sub81, -3
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i8, ptr %0, i64 %65
  %67 = load i8, ptr %66, align 1, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %1, i64 %65
  store i8 %67, ptr %68, align 1, !tbaa !5
  %69 = trunc i64 %indvars.iv27 to i32
  %reass.sub82 = sub i32 %2, %69
  %70 = add i32 %reass.sub82, -4
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds i8, ptr %0, i64 %71
  %73 = load i8, ptr %72, align 1, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %1, i64 %71
  store i8 %73, ptr %74, align 1, !tbaa !5
  %indvars.iv.next28.3 = add nuw nsw i64 %indvars.iv27, 4
  %exitcond31.not.3 = icmp eq i64 %indvars.iv.next28.3, %wide.trip.count30
  br i1 %exitcond31.not.3, label %.loopexit, label %.lr.ph23, !llvm.loop !18

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %75 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv
  %76 = load i8, ptr %75, align 1, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv
  store i8 %76, ptr %77, align 1, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %78 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv.next
  %79 = load i8, ptr %78, align 1, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.next
  store i8 %79, ptr %80, align 1, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %81 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv.next.1
  %82 = load i8, ptr %81, align 1, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.next.1
  store i8 %82, ptr %83, align 1, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %84 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv.next.2
  %85 = load i8, ptr %84, align 1, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.next.2
  store i8 %85, ptr %86, align 1, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.loopexit, label %.lr.ph, !llvm.loop !19

.loopexit:                                        ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %.lr.ph23.prol.loopexit, %.lr.ph23, %middle.block, %vec.epilog.middle.block, %middle.block44, %vec.epilog.middle.block59, %.preheader19, %.preheader
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @OWN_QPLC_UINT_PTR(ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 = { 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" }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9, !10, !11}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!"llvm.loop.isvectorized", i32 1}
!11 = !{!"llvm.loop.unroll.runtime.disable"}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.unroll.disable"}
!14 = distinct !{!14, !9, !10, !11}
!15 = distinct !{!15, !9, !10, !11}
!16 = distinct !{!16, !9, !10, !11}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !9, !10}
!19 = distinct !{!19, !9, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass