; LLVM IR from tangjz/acm-icpc :: lydsy/5151.ll (Z3dfsiiix)

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

%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<long long, long long, std::_Identity<long long>, std::less<long long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<long long, long long, std::_Identity<long long>, std::less<long long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@sp = external dso_local global %"class.std::set", align 8
@bit = external dso_local global [11 x i64], align 16
@vis = external dso_local global [11 x [47 x i8]], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsiiix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca %"struct.std::pair", align 8
  %10 = alloca i32, align 4
  store i32 %0, ptr %5, align 4, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  %11 = load i32, ptr %5, align 4, !tbaa !5
  %12 = icmp eq i32 %11, 10
  br i1 %12, label %13, label %35

13:                                               ; preds = %4
  %14 = load i32, ptr %7, align 4, !tbaa !5
  %15 = and i32 %14, 1
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %34, label %17

17:                                               ; preds = %13
  %18 = load i32, ptr %5, align 4, !tbaa !5
  %19 = sub nsw i32 %18, 1
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %20
  %22 = load i32, ptr %7, align 4, !tbaa !5
  %23 = ashr i32 %22, 1
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [47 x i8], ptr %21, i64 0, i64 %24
  %26 = load i8, ptr %25, align 1, !tbaa !11, !range !13, !noundef !14
  %27 = trunc i8 %26 to i1
  br i1 %27, label %28, label %34

28:                                               ; preds = %17
  %29 = call { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertERKx(ptr noundef nonnull align 8 dereferenceable(48) @sp, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %30 = getelementptr inbounds { ptr, i8 }, ptr %9, i32 0, i32 0
  %31 = extractvalue { ptr, i8 } %29, 0
  store ptr %31, ptr %30, align 8
  %32 = getelementptr inbounds { ptr, i8 }, ptr %9, i32 0, i32 1
  %33 = extractvalue { ptr, i8 } %29, 1
  store i8 %33, ptr %32, align 8
  br label %34

34:                                               ; preds = %28, %17, %13
  br label %100

35:                                               ; preds = %4
  %36 = load i32, ptr %5, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %37
  %39 = getelementptr inbounds [47 x i8], ptr %38, i64 0, i64 0
  %40 = load i32, ptr %5, align 4, !tbaa !5
  %41 = sub nsw i32 %40, 1
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %42
  %44 = getelementptr inbounds [47 x i8], ptr %43, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %39, ptr align 1 %44, i64 47, i1 false)
  %45 = load i32, ptr %5, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = load i64, ptr %8, align 8, !tbaa !9
  call void @_Z3dfsiiix(i32 noundef %46, i32 noundef %47, i32 noundef %48, i64 noundef %49)
  br label %50

50:                                               ; preds = %86, %35
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = icmp slt i32 %51, 11
  br i1 %52, label %53, label %100

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 46, ptr %10, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %83, %53
  %55 = load i32, ptr %10, align 4, !tbaa !5
  %56 = load i32, ptr %5, align 4, !tbaa !5
  %57 = icmp sge i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %86

59:                                               ; preds = %54
  %60 = load i32, ptr %5, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %61
  %63 = load i32, ptr %10, align 4, !tbaa !5
  %64 = load i32, ptr %5, align 4, !tbaa !5
  %65 = sub nsw i32 %63, %64
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [47 x i8], ptr %62, i64 0, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !11, !range !13, !noundef !14
  %69 = trunc i8 %68 to i1
  %70 = zext i1 %69 to i32
  %71 = load i32, ptr %5, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %72
  %74 = load i32, ptr %10, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [47 x i8], ptr %73, i64 0, i64 %75
  %77 = load i8, ptr %76, align 1, !tbaa !11, !range !13, !noundef !14
  %78 = trunc i8 %77 to i1
  %79 = zext i1 %78 to i32
  %80 = or i32 %79, %70
  %81 = icmp ne i32 %80, 0
  %82 = zext i1 %81 to i8
  store i8 %82, ptr %76, align 1, !tbaa !11
  br label %83

83:                                               ; preds = %59
  %84 = load i32, ptr %10, align 4, !tbaa !5
  %85 = add nsw i32 %84, -1
  store i32 %85, ptr %10, align 4, !tbaa !5
  br label %54, !llvm.loop !15

86:                                               ; preds = %58
  %87 = load i32, ptr %5, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %6, align 4, !tbaa !5
  %91 = load i32, ptr %5, align 4, !tbaa !5
  %92 = load i32, ptr %7, align 4, !tbaa !5
  %93 = add nsw i32 %92, %91
  store i32 %93, ptr %7, align 4, !tbaa !5
  %94 = load i32, ptr %5, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [11 x i64], ptr @bit, i64 0, i64 %95
  %97 = load i64, ptr %96, align 8, !tbaa !9
  %98 = load i64, ptr %8, align 8, !tbaa !9
  %99 = add nsw i64 %98, %97
  store i64 %99, ptr %8, align 8, !tbaa !9
  call void @_Z3dfsiiix(i32 noundef %88, i32 noundef %90, i32 noundef %93, i64 noundef %99)
  br label %50, !llvm.loop !17

100:                                              ; preds = %50, %34
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertERKx(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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


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

%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<long long, long long, std::_Identity<long long>, std::less<long long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<long long, long long, std::_Identity<long long>, std::less<long long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@sp = external dso_local global %"class.std::set", align 8
@bit = external dso_local local_unnamed_addr global [11 x i64], align 16
@vis = external dso_local local_unnamed_addr global [11 x [47 x i8]], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsiiix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
  %5 = alloca i64, align 8
  store i64 %3, ptr %5, align 8, !tbaa !5
  %6 = icmp eq i32 %0, 10
  br i1 %6, label %7, label %17

7:                                                ; preds = %4
  %8 = and i32 %2, 1
  %.not26 = icmp eq i32 %8, 0
  br i1 %.not26, label %9, label %.loopexit

9:                                                ; preds = %7
  %10 = ashr exact i32 %2, 1
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [47 x i8], ptr getelementptr inbounds (i8, ptr @vis, i64 423), i64 0, i64 %11
  %13 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %15, label %.loopexit

15:                                               ; preds = %9
  %16 = call { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertERKx(ptr noundef nonnull align 8 dereferenceable(48) @sp, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br label %.loopexit

17:                                               ; preds = %4
  %18 = sext i32 %0 to i64
  %19 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %18
  %20 = add nsw i32 %0, -1
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %21
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(47) %19, ptr noundef nonnull align 1 dereferenceable(47) %22, i64 47, i1 false)
  %23 = add nsw i32 %0, 1
  tail call void @_Z3dfsiiix(i32 noundef %23, i32 noundef %1, i32 noundef %2, i64 noundef %3)
  %24 = icmp slt i32 %1, 11
  br i1 %24, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %17
  %.not27 = icmp sgt i32 %0, 46
  %25 = getelementptr inbounds [11 x i64], ptr @bit, i64 0, i64 %18
  br i1 %.not27, label %.preheader.us, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader.lr.ph
  %26 = mul nsw i64 %18, 47
  %27 = getelementptr i8, ptr @vis, i64 %26
  %scevgep = getelementptr i8, ptr %27, i64 46
  %28 = mul nsw i64 %18, 46
  %29 = getelementptr i8, ptr @vis, i64 %28
  %scevgep38 = getelementptr i8, ptr %29, i64 46
  %30 = mul nsw i64 %18, 48
  %scevgep42 = getelementptr i8, ptr @vis, i64 %30
  %31 = mul nsw i64 %18, 47
  %32 = getelementptr i8, ptr @vis, i64 %31
  %scevgep43 = getelementptr i8, ptr %32, i64 47
  %scevgep44 = getelementptr i8, ptr @vis, i64 %31
  %33 = mul nsw i64 %18, 46
  %34 = getelementptr i8, ptr @vis, i64 %33
  %scevgep45 = getelementptr i8, ptr %34, i64 47
  %35 = sub nsw i64 47, %18
  %min.iters.check = icmp ult i64 %35, 4
  %36 = getelementptr i8, ptr %27, i64 %18
  %37 = icmp ugt ptr %36, %scevgep
  %38 = getelementptr i8, ptr %29, i64 %18
  %39 = icmp ugt ptr %38, %scevgep38
  %40 = or i1 %37, %39
  %bound0 = icmp ult ptr %scevgep42, %scevgep45
  %bound1 = icmp ult ptr %scevgep44, %scevgep43
  %found.conflict = and i1 %bound0, %bound1
  %min.iters.check46 = icmp ult i64 %35, 16
  %n.vec = and i64 %35, -16
  %cmp.n = icmp eq i64 %35, %n.vec
  %ind.end52 = sub nsw i64 46, %n.vec
  %n.vec.remaining = and i64 %35, 12
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  %n.vec51 = and i64 %35, -4
  %ind.end = sub nsw i64 46, %n.vec51
  %cmp.n61 = icmp eq i64 %35, %n.vec51
  br label %iter.check

.preheader.us:                                    ; preds = %.preheader.lr.ph, %.preheader.us
  %.02330.us = phi i32 [ %42, %.preheader.us ], [ %1, %.preheader.lr.ph ]
  %.02429.us = phi i32 [ %43, %.preheader.us ], [ %2, %.preheader.lr.ph ]
  %41 = phi i64 [ %45, %.preheader.us ], [ %3, %.preheader.lr.ph ]
  %42 = add nsw i32 %.02330.us, 1
  %43 = add nsw i32 %.02429.us, %0
  %44 = load i64, ptr %25, align 8, !tbaa !5
  %45 = add nsw i64 %41, %44
  tail call void @_Z3dfsiiix(i32 noundef %23, i32 noundef %42, i32 noundef %43, i64 noundef %45)
  %exitcond35.not = icmp eq i32 %42, 11
  br i1 %exitcond35.not, label %.loopexit, label %.preheader.us, !llvm.loop !13

iter.check:                                       ; preds = %.preheader.preheader, %._crit_edge
  %.02330 = phi i32 [ %53, %._crit_edge ], [ %1, %.preheader.preheader ]
  %.02429 = phi i32 [ %54, %._crit_edge ], [ %2, %.preheader.preheader ]
  %46 = phi i64 [ %56, %._crit_edge ], [ %3, %.preheader.preheader ]
  %brmerge = select i1 %min.iters.check, i1 true, i1 %40
  %brmerge66 = select i1 %brmerge, i1 true, i1 %found.conflict
  br i1 %brmerge66, label %vec.epilog.scalar.ph.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %iter.check
  br i1 %min.iters.check46, label %vec.epilog.ph, label %vector.body

vector.body:                                      ; preds = %vector.main.loop.iter.check, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.main.loop.iter.check ]
  %offset.idx = sub i64 46, %index
  %47 = sub nsw i64 %offset.idx, %18
  %gep = getelementptr [11 x [47 x i8]], ptr getelementptr (i8, ptr @vis, i64 -15), i64 0, i64 %18, i64 %47
  %wide.load = load <16 x i8>, ptr %gep, align 1, !tbaa !9, !alias.scope !15
  %gep63 = getelementptr [11 x [47 x i8]], ptr getelementptr (i8, ptr @vis, i64 -15), i64 0, i64 %18, i64 %offset.idx
  %wide.load47 = load <16 x i8>, ptr %gep63, align 1, !tbaa !9, !alias.scope !18, !noalias !15
  %48 = or <16 x i8> %wide.load47, %wide.load
  store <16 x i8> %48, ptr %gep63, align 1, !tbaa !9, !alias.scope !18, !noalias !15
  %index.next = add nuw i64 %index, 16
  %49 = icmp eq i64 %index.next, %n.vec
  br i1 %49, label %middle.block, label %vector.body, !llvm.loop !20

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  br i1 %min.epilog.iters.check, label %vec.epilog.scalar.ph.preheader, label %vec.epilog.ph

vec.epilog.scalar.ph.preheader:                   ; preds = %iter.check, %vec.epilog.middle.block, %vec.epilog.iter.check
  %indvars.iv.ph = phi i64 [ 46, %iter.check ], [ %ind.end52, %vec.epilog.iter.check ], [ %ind.end, %vec.epilog.middle.block ]
  br label %vec.epilog.scalar.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 ]
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index53 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next60, %vec.epilog.vector.body ]
  %offset.idx54 = sub i64 46, %index53
  %50 = sub nsw i64 %offset.idx54, %18
  %gep64 = getelementptr [11 x [47 x i8]], ptr getelementptr (i8, ptr @vis, i64 -3), i64 0, i64 %18, i64 %50
  %wide.load55 = load <4 x i8>, ptr %gep64, align 1, !tbaa !9, !alias.scope !23
  %gep65 = getelementptr [11 x [47 x i8]], ptr getelementptr (i8, ptr @vis, i64 -3), i64 0, i64 %18, i64 %offset.idx54
  %wide.load57 = load <4 x i8>, ptr %gep65, align 1, !tbaa !9, !alias.scope !26, !noalias !23
  %51 = or <4 x i8> %wide.load57, %wide.load55
  store <4 x i8> %51, ptr %gep65, align 1, !tbaa !9, !alias.scope !26, !noalias !23
  %index.next60 = add nuw i64 %index53, 4
  %52 = icmp eq i64 %index.next60, %n.vec51
  br i1 %52, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !28

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  br i1 %cmp.n61, label %._crit_edge, label %vec.epilog.scalar.ph.preheader

._crit_edge:                                      ; preds = %vec.epilog.scalar.ph, %vec.epilog.middle.block, %middle.block
  %53 = add nsw i32 %.02330, 1
  %54 = add nsw i32 %.02429, %0
  %55 = load i64, ptr %25, align 8, !tbaa !5
  %56 = add nsw i64 %46, %55
  tail call void @_Z3dfsiiix(i32 noundef %23, i32 noundef %53, i32 noundef %54, i64 noundef %56)
  %exitcond.not = icmp eq i32 %53, 11
  br i1 %exitcond.not, label %.loopexit, label %iter.check, !llvm.loop !13

vec.epilog.scalar.ph:                             ; preds = %vec.epilog.scalar.ph.preheader, %vec.epilog.scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %vec.epilog.scalar.ph ], [ %indvars.iv.ph, %vec.epilog.scalar.ph.preheader ]
  %57 = sub nsw i64 %indvars.iv, %18
  %58 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %18, i64 %57
  %59 = load i8, ptr %58, align 1, !tbaa !9, !range !11, !noundef !12
  %60 = getelementptr inbounds [11 x [47 x i8]], ptr @vis, i64 0, i64 %18, i64 %indvars.iv
  %61 = load i8, ptr %60, align 1, !tbaa !9, !range !11, !noundef !12
  %62 = or i8 %61, %59
  store i8 %62, ptr %60, align 1, !tbaa !9
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %.not.not = icmp sgt i64 %indvars.iv, %18
  br i1 %.not.not, label %vec.epilog.scalar.ph, label %._crit_edge, !llvm.loop !29

.loopexit:                                        ; preds = %._crit_edge, %.preheader.us, %17, %7, %9, %15
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertERKx(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

!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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16}
!16 = distinct !{!16, !17}
!17 = distinct !{!17, !"LVerDomain"}
!18 = !{!19}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !14, !21, !22}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = !{!24}
!24 = distinct !{!24, !25}
!25 = distinct !{!25, !"LVerDomain"}
!26 = !{!27}
!27 = distinct !{!27, !25}
!28 = distinct !{!28, !14, !21, !22}
!29 = distinct !{!29, !14, !21}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass