; LLVM IR from pmla/polyhedral-template-matching :: ptm_neighbour_ordering.ll (ZN3ptm19preorder_neighboursEPviPA3_dPm)

; 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.ptm::sorthelper_t" = type { double, double, i32 }

; 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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN3ptm20permutation_to_indexEiPi(i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ptm19preorder_neighboursEPviPA3_dPm(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca [18 x %"struct.ptm::sorthelper_t"], align 16
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca [19 x i32], align 16
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 432, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 18, ptr %12, align 4, !tbaa !9
  %18 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %19 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  store i32 %19, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = load i32, ptr %11, align 4, !tbaa !9
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  %23 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %10, i64 0, i64 0
  %24 = call noundef i32 @_ZN3ptmL28calculate_neighbour_orderingEPviPA3_dPNS_12sorthelper_tE(ptr noundef %20, i32 noundef %21, ptr noundef %22, ptr noundef %23)
  store i32 %24, ptr %13, align 4, !tbaa !9
  %25 = load i32, ptr %13, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %29

27:                                               ; preds = %4
  %28 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %28, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %65

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

30:                                               ; preds = %44, %29
  %31 = load i32, ptr %16, align 4, !tbaa !9
  %32 = load i32, ptr %11, align 4, !tbaa !9
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %47

35:                                               ; preds = %30
  %36 = load i32, ptr %16, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %10, i64 0, i64 %37
  %39 = getelementptr inbounds %"struct.ptm::sorthelper_t", ptr %38, i32 0, i32 2
  %40 = load i32, ptr %39, align 8, !tbaa !11
  %41 = load i32, ptr %16, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [19 x i32], ptr %15, i64 0, i64 %42
  store i32 %40, ptr %43, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %35
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %16, align 4, !tbaa !9
  br label %30, !llvm.loop !14

47:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %48 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %48, ptr %17, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %58, %47
  %50 = load i32, ptr %17, align 4, !tbaa !9
  %51 = icmp slt i32 %50, 18
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %61

53:                                               ; preds = %49
  %54 = load i32, ptr %17, align 4, !tbaa !9
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [19 x i32], ptr %15, i64 0, i64 %56
  store i32 %54, ptr %57, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %53
  %59 = load i32, ptr %17, align 4, !tbaa !9
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %17, align 4, !tbaa !9
  br label %49, !llvm.loop !16

61:                                               ; preds = %52
  %62 = getelementptr inbounds [19 x i32], ptr %15, i64 0, i64 0
  %63 = call noundef i64 @_ZN3ptm20permutation_to_indexEiPi(i32 noundef 18, ptr noundef %62)
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 %63, ptr %64, align 8, !tbaa !17
  store i32 0, ptr %5, align 4
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 76, ptr %15) #4
  br label %65

65:                                               ; preds = %61, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 432, ptr %10) #4
  %66 = load i32, ptr %5, align 4
  ret i32 %66
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN3ptmL28calculate_neighbour_orderingEPviPA3_dPNS_12sorthelper_tE(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { mustprogress 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 = { inlinehint mustprogress 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"_ZTSN3ptm12sorthelper_tE", !13, i64 0, !13, i64 8, !10, i64 16}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}


; 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.ptm::sorthelper_t" = type { double, double, i32 }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN3ptm20permutation_to_indexEiPi(i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ptm19preorder_neighboursEPviPA3_dPm(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #2 {
  %5 = alloca i32, align 4
  %6 = alloca [18 x %"struct.ptm::sorthelper_t"], align 16
  %7 = alloca i32, align 4
  %8 = alloca [19 x i32], align 16
  store i32 %1, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  store i32 18, ptr %7, align 4, !tbaa !5
  %9 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %10 = load i32, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  %11 = call noundef i32 @_ZN3ptmL28calculate_neighbour_orderingEPviPA3_dPNS_12sorthelper_tE(ptr noundef %0, i32 noundef %10, ptr noundef %2, ptr noundef nonnull %6)
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %12, label %73

12:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 76, ptr nonnull %8) #4
  %13 = icmp sgt i32 %10, 0
  br i1 %13, label %.lr.ph.preheader, label %.lr.ph22.preheader

.lr.ph.preheader:                                 ; preds = %12
  %wide.trip.count = zext nneg i32 %10 to i64
  %min.iters.check = icmp ult i32 %10, 9
  br i1 %min.iters.check, label %.lr.ph.preheader40, label %vector.ph

.lr.ph.preheader40:                               ; preds = %vector.body, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %vector.body ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.mod.vf = and i64 %wide.trip.count, 7
  %14 = icmp eq i64 %n.mod.vf, 0
  %15 = select i1 %14, i64 8, i64 %n.mod.vf
  %n.vec = sub nsw i64 %wide.trip.count, %15
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %16 = or disjoint i64 %index, 1
  %17 = or disjoint i64 %index, 2
  %18 = or disjoint i64 %index, 3
  %19 = or disjoint i64 %index, 4
  %20 = or disjoint i64 %index, 5
  %21 = or disjoint i64 %index, 6
  %22 = or disjoint i64 %index, 7
  %23 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %index, i32 2
  %24 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %16, i32 2
  %25 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %17, i32 2
  %26 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %18, i32 2
  %27 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %19, i32 2
  %28 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %20, i32 2
  %29 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %21, i32 2
  %30 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %22, i32 2
  %31 = load i32, ptr %23, align 16, !tbaa !9
  %32 = load i32, ptr %24, align 8, !tbaa !9
  %33 = load i32, ptr %25, align 16, !tbaa !9
  %34 = load i32, ptr %26, align 8, !tbaa !9
  %35 = insertelement <4 x i32> poison, i32 %31, i64 0
  %36 = insertelement <4 x i32> %35, i32 %32, i64 1
  %37 = insertelement <4 x i32> %36, i32 %33, i64 2
  %38 = insertelement <4 x i32> %37, i32 %34, i64 3
  %39 = load i32, ptr %27, align 16, !tbaa !9
  %40 = load i32, ptr %28, align 8, !tbaa !9
  %41 = load i32, ptr %29, align 16, !tbaa !9
  %42 = load i32, ptr %30, align 8, !tbaa !9
  %43 = insertelement <4 x i32> poison, i32 %39, i64 0
  %44 = insertelement <4 x i32> %43, i32 %40, i64 1
  %45 = insertelement <4 x i32> %44, i32 %41, i64 2
  %46 = insertelement <4 x i32> %45, i32 %42, i64 3
  %47 = getelementptr inbounds [19 x i32], ptr %8, i64 0, i64 %index
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  store <4 x i32> %38, ptr %47, align 16, !tbaa !5
  store <4 x i32> %46, ptr %48, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %49 = icmp eq i64 %index.next, %n.vec
  br i1 %49, label %.lr.ph.preheader40, label %vector.body, !llvm.loop !12

.preheader:                                       ; preds = %.lr.ph
  %50 = icmp slt i32 %10, 18
  br i1 %50, label %.lr.ph22.preheader, label %._crit_edge

.lr.ph22.preheader:                               ; preds = %12, %.preheader
  %51 = sext i32 %10 to i64
  %52 = add i32 %10, 1
  %53 = zext i32 %52 to i64
  %54 = sub nsw i64 19, %53
  %min.iters.check30 = icmp ult i64 %54, 16
  br i1 %min.iters.check30, label %.lr.ph22.preheader39, label %vector.scevcheck

.lr.ph22.preheader39:                             ; preds = %middle.block28, %vector.scevcheck, %.lr.ph22.preheader
  %indvars.iv24.ph = phi i64 [ %51, %vector.scevcheck ], [ %51, %.lr.ph22.preheader ], [ %ind.end, %middle.block28 ]
  br label %.lr.ph22

vector.scevcheck:                                 ; preds = %.lr.ph22.preheader
  %55 = add i32 %10, 1
  %56 = zext i32 %55 to i64
  %57 = sub nsw i64 18, %56
  %58 = trunc i64 %57 to i32
  %59 = sub i32 -2, %10
  %60 = icmp ult i32 %59, %58
  %61 = icmp ugt i64 %57, 4294967295
  %62 = or i1 %60, %61
  br i1 %62, label %.lr.ph22.preheader39, label %vector.ph31

vector.ph31:                                      ; preds = %vector.scevcheck
  %n.vec33 = and i64 %54, -8
  %ind.end = add nsw i64 %n.vec33, %51
  %.splatinsert = insertelement <4 x i32> poison, i32 %10, i64 0
  %.splat = shufflevector <4 x i32> %.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  %induction = add <4 x i32> %.splat, <i32 0, i32 1, i32 2, i32 3>
  br label %vector.body35

vector.body35:                                    ; preds = %vector.body35, %vector.ph31
  %index36 = phi i64 [ 0, %vector.ph31 ], [ %index.next38, %vector.body35 ]
  %vec.ind = phi <4 x i32> [ %induction, %vector.ph31 ], [ %vec.ind.next, %vector.body35 ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %offset.idx = add i64 %index36, %51
  %63 = getelementptr inbounds [19 x i32], ptr %8, i64 0, i64 %offset.idx
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  store <4 x i32> %vec.ind, ptr %63, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %64, align 4, !tbaa !5
  %index.next38 = add nuw i64 %index36, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %65 = icmp eq i64 %index.next38, %n.vec33
  br i1 %65, label %middle.block28, label %vector.body35, !llvm.loop !16

middle.block28:                                   ; preds = %vector.body35
  %cmp.n = icmp eq i64 %54, %n.vec33
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph22.preheader39

.lr.ph:                                           ; preds = %.lr.ph.preheader40, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader40 ]
  %66 = getelementptr inbounds [18 x %"struct.ptm::sorthelper_t"], ptr %6, i64 0, i64 %indvars.iv, i32 2
  %67 = load i32, ptr %66, align 8, !tbaa !9
  %68 = getelementptr inbounds [19 x i32], ptr %8, i64 0, i64 %indvars.iv
  store i32 %67, ptr %68, align 4, !tbaa !5
  %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 %.preheader, label %.lr.ph, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph22, %middle.block28, %.preheader
  %69 = call noundef i64 @_ZN3ptm20permutation_to_indexEiPi(i32 noundef 18, ptr noundef nonnull %8)
  store i64 %69, ptr %3, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 76, ptr nonnull %8) #4
  br label %73

.lr.ph22:                                         ; preds = %.lr.ph22.preheader39, %.lr.ph22
  %indvars.iv24 = phi i64 [ %indvars.iv.next25, %.lr.ph22 ], [ %indvars.iv24.ph, %.lr.ph22.preheader39 ]
  %70 = getelementptr inbounds [19 x i32], ptr %8, i64 0, i64 %indvars.iv24
  %71 = trunc nsw i64 %indvars.iv24 to i32
  store i32 %71, ptr %70, align 4, !tbaa !5
  %indvars.iv.next25 = add nsw i64 %indvars.iv24, 1
  %72 = and i64 %indvars.iv.next25, 4294967295
  %exitcond27.not = icmp eq i64 %72, 18
  br i1 %exitcond27.not, label %._crit_edge, label %.lr.ph22, !llvm.loop !20

73:                                               ; preds = %4, %._crit_edge
  %.017 = phi i32 [ 0, %._crit_edge ], [ %11, %4 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %6) #4
  ret i32 %.017
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN3ptmL28calculate_neighbour_orderingEPviPA3_dPNS_12sorthelper_tE(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { mustprogress 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 = { inlinehint mustprogress 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"_ZTSN3ptm12sorthelper_tE", !11, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"double", !7, i64 0}
!12 = distinct !{!12, !13, !14, !15}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !13, !14, !15}
!17 = distinct !{!17, !13, !15, !14}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = distinct !{!20, !13, !14}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass