; LLVM IR from JessonYue/LeetCodeLearning :: Array/wuchao/other/9-5 dns解析 (DnsParser)

; 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.ResourceRecord = type { ptr, i16, i16, i32, i16, ptr }

@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 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: inlinehint nounwind uwtable
declare hidden zeroext i16 @__bswap_16(i16 noundef zeroext) #1

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseType(i16 noundef zeroext) #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseClass(i16 noundef zeroext) #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseCompressString(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseCompressStringWithLength(ptr noundef, ptr noundef, i32 noundef) #3

declare i32 @printf(ptr noundef, ...) #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseIpAddress(ptr noundef, i16 noundef zeroext) #3

; Function Attrs: nounwind uwtable
define dso_local void @parseAnswers(i32 noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.ResourceRecord, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %137, %3
  %12 = load i32, ptr %7, align 4, !tbaa !5
  %13 = add nsw i32 %12, 1
  store i32 %13, ptr %7, align 4, !tbaa !5
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = icmp slt i32 %12, %14
  br i1 %15, label %16, label %139

16:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr %8, ptr %9, align 8, !tbaa !9
  %17 = call noalias ptr @malloc(i64 noundef 1) #6
  %18 = load ptr, ptr %9, align 8, !tbaa !9
  %19 = getelementptr inbounds %struct.ResourceRecord, ptr %18, i32 0, i32 0
  store ptr %17, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %20 = call noalias ptr @malloc(i64 noundef 8) #6
  store ptr %20, ptr %10, align 8, !tbaa !9
  %21 = load ptr, ptr %5, align 8, !tbaa !9
  %22 = load ptr, ptr %6, align 8, !tbaa !9
  %23 = load ptr, ptr %10, align 8, !tbaa !9
  %24 = call ptr @parseCompressString(ptr noundef %21, ptr noundef %22, ptr noundef %23)
  %25 = load ptr, ptr %9, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.ResourceRecord, ptr %25, i32 0, i32 0
  store ptr %24, ptr %26, align 8, !tbaa !11
  %27 = load ptr, ptr %10, align 8, !tbaa !9
  %28 = load i64, ptr %27, align 8, !tbaa !14
  %29 = load ptr, ptr %5, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %29, i64 %28
  store ptr %30, ptr %5, align 8, !tbaa !9
  %31 = load ptr, ptr %9, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.ResourceRecord, ptr %31, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %33)
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = load i16, ptr %35, align 2, !tbaa !16
  %37 = call zeroext i16 @__bswap_16(i16 noundef zeroext %36)
  %38 = load ptr, ptr %9, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.ResourceRecord, ptr %38, i32 0, i32 1
  store i16 %37, ptr %39, align 8, !tbaa !17
  %40 = load ptr, ptr %9, align 8, !tbaa !9
  %41 = getelementptr inbounds %struct.ResourceRecord, ptr %40, i32 0, i32 1
  %42 = load i16, ptr %41, align 8, !tbaa !17
  %43 = call ptr @parseType(i16 noundef zeroext %42)
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %43)
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  %46 = getelementptr inbounds i8, ptr %45, i64 2
  store ptr %46, ptr %5, align 8, !tbaa !9
  %47 = load ptr, ptr %5, align 8, !tbaa !9
  %48 = load i16, ptr %47, align 2, !tbaa !16
  %49 = call zeroext i16 @__bswap_16(i16 noundef zeroext %48)
  %50 = load ptr, ptr %9, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.ResourceRecord, ptr %50, i32 0, i32 2
  store i16 %49, ptr %51, align 2, !tbaa !18
  %52 = load ptr, ptr %9, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.ResourceRecord, ptr %52, i32 0, i32 2
  %54 = load i16, ptr %53, align 2, !tbaa !18
  %55 = call ptr @parseClass(i16 noundef zeroext %54)
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %55)
  %57 = load ptr, ptr %5, align 8, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %57, i64 2
  store ptr %58, ptr %5, align 8, !tbaa !9
  %59 = load ptr, ptr %5, align 8, !tbaa !9
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = call i32 @__bswap_32(i32 noundef %60)
  %62 = load ptr, ptr %9, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.ResourceRecord, ptr %62, i32 0, i32 3
  store i32 %61, ptr %63, align 4, !tbaa !19
  %64 = load ptr, ptr %9, align 8, !tbaa !9
  %65 = getelementptr inbounds %struct.ResourceRecord, ptr %64, i32 0, i32 3
  %66 = load i32, ptr %65, align 4, !tbaa !19
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %66)
  %68 = load ptr, ptr %5, align 8, !tbaa !9
  %69 = getelementptr inbounds i8, ptr %68, i64 4
  store ptr %69, ptr %5, align 8, !tbaa !9
  %70 = load ptr, ptr %5, align 8, !tbaa !9
  %71 = load i16, ptr %70, align 2, !tbaa !16
  %72 = call zeroext i16 @__bswap_16(i16 noundef zeroext %71)
  %73 = load ptr, ptr %9, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.ResourceRecord, ptr %73, i32 0, i32 4
  store i16 %72, ptr %74, align 8, !tbaa !20
  %75 = load ptr, ptr %9, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.ResourceRecord, ptr %75, i32 0, i32 4
  %77 = load i16, ptr %76, align 8, !tbaa !20
  %78 = zext i16 %77 to i32
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %78)
  %80 = load ptr, ptr %5, align 8, !tbaa !9
  %81 = getelementptr inbounds i8, ptr %80, i64 2
  store ptr %81, ptr %5, align 8, !tbaa !9
  %82 = call noalias ptr @malloc(i64 noundef 1) #6
  %83 = load ptr, ptr %9, align 8, !tbaa !9
  %84 = getelementptr inbounds %struct.ResourceRecord, ptr %83, i32 0, i32 5
  store ptr %82, ptr %84, align 8, !tbaa !21
  %85 = load ptr, ptr %9, align 8, !tbaa !9
  %86 = getelementptr inbounds %struct.ResourceRecord, ptr %85, i32 0, i32 1
  %87 = load i16, ptr %86, align 8, !tbaa !17
  %88 = zext i16 %87 to i32
  %89 = icmp eq i32 %88, 1
  br i1 %89, label %90, label %109

90:                                               ; preds = %16
  %91 = load ptr, ptr %5, align 8, !tbaa !9
  %92 = load ptr, ptr %9, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.ResourceRecord, ptr %92, i32 0, i32 4
  %94 = load i16, ptr %93, align 8, !tbaa !20
  %95 = call ptr @parseIpAddress(ptr noundef %91, i16 noundef zeroext %94)
  %96 = load ptr, ptr %9, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.ResourceRecord, ptr %96, i32 0, i32 5
  store ptr %95, ptr %97, align 8, !tbaa !21
  %98 = load ptr, ptr %9, align 8, !tbaa !9
  %99 = getelementptr inbounds %struct.ResourceRecord, ptr %98, i32 0, i32 4
  %100 = load i16, ptr %99, align 8, !tbaa !20
  %101 = zext i16 %100 to i32
  %102 = load ptr, ptr %5, align 8, !tbaa !9
  %103 = sext i32 %101 to i64
  %104 = getelementptr inbounds i8, ptr %102, i64 %103
  store ptr %104, ptr %5, align 8, !tbaa !9
  %105 = load ptr, ptr %9, align 8, !tbaa !9
  %106 = getelementptr inbounds %struct.ResourceRecord, ptr %105, i32 0, i32 5
  %107 = load ptr, ptr %106, align 8, !tbaa !21
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %107)
  br label %137

109:                                              ; preds = %16
  %110 = load ptr, ptr %9, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.ResourceRecord, ptr %110, i32 0, i32 1
  %112 = load i16, ptr %111, align 8, !tbaa !17
  %113 = zext i16 %112 to i32
  %114 = icmp eq i32 %113, 5
  br i1 %114, label %115, label %136

115:                                              ; preds = %109
  %116 = load ptr, ptr %5, align 8, !tbaa !9
  %117 = load ptr, ptr %6, align 8, !tbaa !9
  %118 = load ptr, ptr %9, align 8, !tbaa !9
  %119 = getelementptr inbounds %struct.ResourceRecord, ptr %118, i32 0, i32 4
  %120 = load i16, ptr %119, align 8, !tbaa !20
  %121 = zext i16 %120 to i32
  %122 = call ptr @parseCompressStringWithLength(ptr noundef %116, ptr noundef %117, i32 noundef %121)
  %123 = load ptr, ptr %9, align 8, !tbaa !9
  %124 = getelementptr inbounds %struct.ResourceRecord, ptr %123, i32 0, i32 5
  store ptr %122, ptr %124, align 8, !tbaa !21
  %125 = load ptr, ptr %9, align 8, !tbaa !9
  %126 = getelementptr inbounds %struct.ResourceRecord, ptr %125, i32 0, i32 4
  %127 = load i16, ptr %126, align 8, !tbaa !20
  %128 = zext i16 %127 to i32
  %129 = load ptr, ptr %5, align 8, !tbaa !9
  %130 = sext i32 %128 to i64
  %131 = getelementptr inbounds i8, ptr %129, i64 %130
  store ptr %131, ptr %5, align 8, !tbaa !9
  %132 = load ptr, ptr %9, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.ResourceRecord, ptr %132, i32 0, i32 5
  %134 = load ptr, ptr %133, align 8, !tbaa !21
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %134)
  br label %136

136:                                              ; preds = %115, %109
  br label %137

137:                                              ; preds = %136, %90
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  br label %11, !llvm.loop !22

139:                                              ; preds = %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @__bswap_32(i32 noundef) #1

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

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"ResourceRecord", !10, i64 0, !13, i64 8, !13, i64 10, !6, i64 12, !13, i64 16, !10, i64 24}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !13, i64 8}
!18 = !{!12, !13, i64 10}
!19 = !{!12, !6, i64 12}
!20 = !{!12, !13, i64 16}
!21 = !{!12, !10, i64 24}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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

@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i16 @__bswap_16(i16 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseType(i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseClass(i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseCompressString(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseCompressStringWithLength(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @parseIpAddress(ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @parseAnswers(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = icmp sgt i32 %0, 0
  br i1 %4, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3, %40
  %5 = phi i32 [ %42, %40 ], [ 1, %3 ]
  %.051 = phi ptr [ %.1, %40 ], [ %1, %3 ]
  %6 = tail call noalias dereferenceable_or_null(8) ptr @malloc(i64 noundef 8) #4
  %7 = tail call ptr @parseCompressString(ptr noundef %.051, ptr noundef %2, ptr noundef %6)
  %8 = load i64, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %.051, i64 %8
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef %7)
  %11 = load i16, ptr %9, align 2, !tbaa !9
  %12 = tail call zeroext i16 @__bswap_16(i16 noundef zeroext %11)
  %13 = tail call ptr @parseType(i16 noundef zeroext %12)
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef %13)
  %15 = getelementptr inbounds i8, ptr %9, i64 2
  %16 = load i16, ptr %15, align 2, !tbaa !9
  %17 = tail call zeroext i16 @__bswap_16(i16 noundef zeroext %16)
  %18 = tail call ptr @parseClass(i16 noundef zeroext %17)
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, ptr noundef %18)
  %20 = getelementptr inbounds i8, ptr %9, i64 4
  %21 = load i32, ptr %20, align 4, !tbaa !11
  %22 = tail call i32 @__bswap_32(i32 noundef %21)
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %22)
  %24 = getelementptr inbounds i8, ptr %9, i64 8
  %25 = load i16, ptr %24, align 2, !tbaa !9
  %26 = tail call zeroext i16 @__bswap_16(i16 noundef zeroext %25)
  %27 = zext i16 %26 to i32
  %28 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %27)
  %29 = getelementptr inbounds i8, ptr %9, i64 10
  switch i16 %12, label %40 [
    i16 1, label %30
    i16 5, label %35
  ]

30:                                               ; preds = %.lr.ph
  %31 = tail call ptr @parseIpAddress(ptr noundef nonnull %29, i16 noundef zeroext %26)
  %32 = zext i16 %26 to i64
  %33 = getelementptr inbounds i8, ptr %29, i64 %32
  %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %31)
  br label %40

35:                                               ; preds = %.lr.ph
  %36 = tail call ptr @parseCompressStringWithLength(ptr noundef nonnull %29, ptr noundef %2, i32 noundef %27)
  %37 = zext i16 %26 to i64
  %38 = getelementptr inbounds i8, ptr %29, i64 %37
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef %36)
  br label %40

40:                                               ; preds = %.lr.ph, %35, %30
  %.1 = phi ptr [ %33, %30 ], [ %38, %35 ], [ %29, %.lr.ph ]
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %42 = add nuw i32 %5, 1
  %exitcond.not = icmp eq i32 %5, %0
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %40, %3
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @__bswap_32(i32 noundef) local_unnamed_addr #0

attributes #0 = { 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 #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 = { 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 #4 = { nounwind allocsize(0) }

!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", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass