; LLVM IR from davidesantangelo/krep :: krep (match_result_merge)

; 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.match_result_t = type { ptr, i64, i64 }
%struct.match_position_t = type { i64, i64 }

@stderr = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [57 x i8], align 1

; 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

declare void @perror(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @match_result_merge(ptr noundef %0, ptr noundef %1, i64 noundef %2) #4 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %23

15:                                               ; preds = %3
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %23

18:                                               ; preds = %15
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.match_result_t, ptr %19, i32 0, i32 1
  %21 = load i64, ptr %20, align 8, !tbaa !11
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %24

23:                                               ; preds = %18, %15, %3
  store i1 true, ptr %4, align 1
  br label %168

24:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.match_result_t, ptr %25, i32 0, i32 1
  %27 = load i64, ptr %26, align 8, !tbaa !11
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.match_result_t, ptr %28, i32 0, i32 1
  %30 = load i64, ptr %29, align 8, !tbaa !11
  %31 = add i64 %27, %30
  store i64 %31, ptr %8, align 8, !tbaa !9
  %32 = load i64, ptr %8, align 8, !tbaa !9
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.match_result_t, ptr %33, i32 0, i32 1
  %35 = load i64, ptr %34, align 8, !tbaa !11
  %36 = icmp ult i64 %32, %35
  br i1 %36, label %37, label %40

37:                                               ; preds = %24
  %38 = load ptr, ptr @stderr, align 8, !tbaa !5
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.6) #5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %167

40:                                               ; preds = %24
  %41 = load i64, ptr %8, align 8, !tbaa !9
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.match_result_t, ptr %42, i32 0, i32 2
  %44 = load i64, ptr %43, align 8, !tbaa !13
  %45 = icmp ugt i64 %41, %44
  br i1 %45, label %46, label %116

46:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.match_result_t, ptr %47, i32 0, i32 2
  %49 = load i64, ptr %48, align 8, !tbaa !13
  store i64 %49, ptr %10, align 8, !tbaa !9
  %50 = load i64, ptr %10, align 8, !tbaa !9
  %51 = icmp eq i64 %50, 0
  br i1 %51, label %52, label %53

52:                                               ; preds = %46
  store i64 16, ptr %10, align 8, !tbaa !9
  br label %53

53:                                               ; preds = %52, %46
  br label %54

54:                                               ; preds = %87, %53
  %55 = load i64, ptr %10, align 8, !tbaa !9
  %56 = load i64, ptr %8, align 8, !tbaa !9
  %57 = icmp ult i64 %55, %56
  br i1 %57, label %58, label %88

58:                                               ; preds = %54
  %59 = load i64, ptr %10, align 8, !tbaa !9
  %60 = icmp ugt i64 %59, 576460752303423487
  br i1 %60, label %61, label %70

61:                                               ; preds = %58
  %62 = load i64, ptr %8, align 8, !tbaa !9
  store i64 %62, ptr %10, align 8, !tbaa !9
  %63 = load i64, ptr %10, align 8, !tbaa !9
  %64 = load i64, ptr %8, align 8, !tbaa !9
  %65 = icmp ult i64 %63, %64
  br i1 %65, label %66, label %69

66:                                               ; preds = %61
  %67 = load ptr, ptr @stderr, align 8, !tbaa !5
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.7) #5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %113

69:                                               ; preds = %61
  br label %88

70:                                               ; preds = %58
  %71 = load i64, ptr %10, align 8, !tbaa !9
  %72 = mul i64 %71, 2
  store i64 %72, ptr %10, align 8, !tbaa !9
  %73 = load i64, ptr %10, align 8, !tbaa !9
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.match_result_t, ptr %74, i32 0, i32 2
  %76 = load i64, ptr %75, align 8, !tbaa !13
  %77 = icmp ult i64 %73, %76
  br i1 %77, label %78, label %87

78:                                               ; preds = %70
  %79 = load i64, ptr %8, align 8, !tbaa !9
  store i64 %79, ptr %10, align 8, !tbaa !9
  %80 = load i64, ptr %10, align 8, !tbaa !9
  %81 = load i64, ptr %8, align 8, !tbaa !9
  %82 = icmp ult i64 %80, %81
  br i1 %82, label %83, label %86

83:                                               ; preds = %78
  %84 = load ptr, ptr @stderr, align 8, !tbaa !5
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str.8) #5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %113

86:                                               ; preds = %78
  br label %88

87:                                               ; preds = %70
  br label %54, !llvm.loop !14

88:                                               ; preds = %86, %69, %54
  %89 = load i64, ptr %10, align 8, !tbaa !9
  %90 = load i64, ptr %8, align 8, !tbaa !9
  %91 = icmp ult i64 %89, %90
  br i1 %91, label %92, label %95

92:                                               ; preds = %88
  %93 = load ptr, ptr @stderr, align 8, !tbaa !5
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str.9) #5
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %113

95:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.match_result_t, ptr %96, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8, !tbaa !16
  %99 = load i64, ptr %10, align 8, !tbaa !9
  %100 = mul i64 %99, 16
  %101 = call ptr @realloc(ptr noundef %98, i64 noundef %100) #6
  store ptr %101, ptr %11, align 8, !tbaa !5
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = icmp ne ptr %102, null
  br i1 %103, label %105, label %104

104:                                              ; preds = %95
  call void @perror(ptr noundef @.str.10)
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %112

105:                                              ; preds = %95
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.match_result_t, ptr %107, i32 0, i32 0
  store ptr %106, ptr %108, align 8, !tbaa !16
  %109 = load i64, ptr %10, align 8, !tbaa !9
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.match_result_t, ptr %110, i32 0, i32 2
  store i64 %109, ptr %111, align 8, !tbaa !13
  store i32 0, ptr %9, align 4
  br label %112

112:                                              ; preds = %105, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %113

113:                                              ; preds = %112, %92, %83, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %114 = load i32, ptr %9, align 4
  switch i32 %114, label %167 [
    i32 0, label %115
  ]

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %115, %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %117

117:                                              ; preds = %163, %116
  %118 = load i64, ptr %12, align 8, !tbaa !9
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.match_result_t, ptr %119, i32 0, i32 1
  %121 = load i64, ptr %120, align 8, !tbaa !11
  %122 = icmp ult i64 %118, %121
  br i1 %122, label %124, label %123

123:                                              ; preds = %117
  store i32 4, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %166

124:                                              ; preds = %117
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.match_result_t, ptr %125, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8, !tbaa !16
  %128 = load i64, ptr %12, align 8, !tbaa !9
  %129 = getelementptr inbounds %struct.match_position_t, ptr %127, i64 %128
  %130 = getelementptr inbounds %struct.match_position_t, ptr %129, i32 0, i32 0
  %131 = load i64, ptr %130, align 8, !tbaa !17
  %132 = load i64, ptr %7, align 8, !tbaa !9
  %133 = add i64 %131, %132
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.match_result_t, ptr %134, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8, !tbaa !16
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.match_result_t, ptr %137, i32 0, i32 1
  %139 = load i64, ptr %138, align 8, !tbaa !11
  %140 = getelementptr inbounds %struct.match_position_t, ptr %136, i64 %139
  %141 = getelementptr inbounds %struct.match_position_t, ptr %140, i32 0, i32 0
  store i64 %133, ptr %141, align 8, !tbaa !17
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.match_result_t, ptr %142, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8, !tbaa !16
  %145 = load i64, ptr %12, align 8, !tbaa !9
  %146 = getelementptr inbounds %struct.match_position_t, ptr %144, i64 %145
  %147 = getelementptr inbounds %struct.match_position_t, ptr %146, i32 0, i32 1
  %148 = load i64, ptr %147, align 8, !tbaa !19
  %149 = load i64, ptr %7, align 8, !tbaa !9
  %150 = add i64 %148, %149
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.match_result_t, ptr %151, i32 0, i32 0
  %153 = load ptr, ptr %152, align 8, !tbaa !16
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.match_result_t, ptr %154, i32 0, i32 1
  %156 = load i64, ptr %155, align 8, !tbaa !11
  %157 = getelementptr inbounds %struct.match_position_t, ptr %153, i64 %156
  %158 = getelementptr inbounds %struct.match_position_t, ptr %157, i32 0, i32 1
  store i64 %150, ptr %158, align 8, !tbaa !19
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.match_result_t, ptr %159, i32 0, i32 1
  %161 = load i64, ptr %160, align 8, !tbaa !11
  %162 = add i64 %161, 1
  store i64 %162, ptr %160, align 8, !tbaa !11
  br label %163

163:                                              ; preds = %124
  %164 = load i64, ptr %12, align 8, !tbaa !9
  %165 = add i64 %164, 1
  store i64 %165, ptr %12, align 8, !tbaa !9
  br label %117, !llvm.loop !20

166:                                              ; preds = %123
  store i1 true, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %167

167:                                              ; preds = %166, %113, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %168

168:                                              ; preds = %167, %23
  %169 = load i1, ptr %4, align 1
  ret i1 %169
}

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"match_result_t", !6, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!12, !10, i64 16}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !6, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"", !10, i64 0, !10, i64 8}
!19 = !{!18, !10, i64 8}
!20 = distinct !{!20, !15}


; 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.match_position_t = type { i64, i64 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: nofree nounwind
declare void @perror(ptr nocapture noundef readonly) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @match_result_merge(ptr noundef %0, ptr noundef readonly %1, i64 noundef %2) local_unnamed_addr #2 {
  %4 = icmp ne ptr %0, null
  %5 = icmp ne ptr %1, null
  %or.cond = and i1 %4, %5
  br i1 %or.cond, label %6, label %.loopexit

6:                                                ; preds = %3
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %9 = icmp eq i64 %8, 0
  br i1 %9, label %.loopexit, label %10

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load i64, ptr %11, align 8, !tbaa !5
  %13 = add i64 %12, %8
  %14 = icmp ult i64 %13, %12
  br i1 %14, label %15, label %18

15:                                               ; preds = %10
  %16 = load ptr, ptr @stderr, align 8, !tbaa !11
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str.6) #3
  br label %.loopexit

18:                                               ; preds = %10
  %19 = getelementptr inbounds i8, ptr %0, i64 16
  %20 = load i64, ptr %19, align 8, !tbaa !12
  %21 = icmp ugt i64 %13, %20
  br i1 %21, label %22, label %.lr.ph

22:                                               ; preds = %18
  %23 = icmp eq i64 %20, 0
  %spec.store.select = select i1 %23, i64 16, i64 %20
  br label %24

24:                                               ; preds = %26, %22
  %.049 = phi i64 [ %spec.store.select, %22 ], [ %28, %26 ]
  %25 = icmp ult i64 %.049, %13
  br i1 %25, label %26, label %.thread

26:                                               ; preds = %24
  %27 = icmp ugt i64 %.049, 576460752303423487
  %28 = shl nuw nsw i64 %.049, 1
  %29 = icmp ult i64 %28, %20
  %or.cond64 = select i1 %27, i1 true, i1 %29
  br i1 %or.cond64, label %.thread, label %24, !llvm.loop !13

.thread:                                          ; preds = %24, %26
  %.15061 = phi i64 [ %13, %26 ], [ %.049, %24 ]
  %30 = load ptr, ptr %0, align 8, !tbaa !15
  %31 = shl i64 %.15061, 4
  %32 = tail call ptr @realloc(ptr noundef %30, i64 noundef %31) #4
  %.not.not = icmp eq ptr %32, null
  br i1 %.not.not, label %33, label %34

33:                                               ; preds = %.thread
  tail call void @perror(ptr noundef nonnull @.str.10) #5
  br label %.loopexit

34:                                               ; preds = %.thread
  store ptr %32, ptr %0, align 8, !tbaa !15
  store i64 %.15061, ptr %19, align 8, !tbaa !12
  %.pre = load i64, ptr %7, align 8, !tbaa !5
  %35 = icmp eq i64 %.pre, 0
  br i1 %35, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %18, %34
  %36 = load ptr, ptr %1, align 8, !tbaa !15
  %37 = load ptr, ptr %0, align 8, !tbaa !15
  %.pre66 = load i64, ptr %11, align 8, !tbaa !5
  %38 = insertelement <2 x i64> poison, i64 %2, i64 0
  %39 = shufflevector <2 x i64> %38, <2 x i64> poison, <2 x i32> zeroinitializer
  br label %40

40:                                               ; preds = %.lr.ph, %40
  %41 = phi i64 [ %.pre66, %.lr.ph ], [ %46, %40 ]
  %.065 = phi i64 [ 0, %.lr.ph ], [ %47, %40 ]
  %42 = getelementptr inbounds %struct.match_position_t, ptr %36, i64 %.065
  %43 = getelementptr inbounds %struct.match_position_t, ptr %37, i64 %41
  %44 = load <2 x i64>, ptr %42, align 8, !tbaa !16
  %45 = add <2 x i64> %44, %39
  store <2 x i64> %45, ptr %43, align 8, !tbaa !16
  %46 = add i64 %41, 1
  store i64 %46, ptr %11, align 8, !tbaa !5
  %47 = add nuw i64 %.065, 1
  %48 = load i64, ptr %7, align 8, !tbaa !5
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %40, label %.loopexit, !llvm.loop !17

.loopexit:                                        ; preds = %40, %34, %33, %15, %3, %6
  %.3 = phi i1 [ true, %6 ], [ true, %3 ], [ false, %15 ], [ false, %33 ], [ true, %34 ], [ true, %40 ]
  ret i1 %.3
}

attributes #0 = { nofree nounwind "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 nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 = { cold nounwind }
attributes #4 = { nounwind allocsize(1) }
attributes #5 = { cold }

!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, !10, i64 8}
!6 = !{!"match_result_t", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 16}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!6, !7, i64 0}
!16 = !{!10, !10, i64 0}
!17 = distinct !{!17, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass