; LLVM IR from glotzerlab/hoomd-blue :: hoomd/extern (gsd)

; 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.gsd_handle = type { i32, %struct.gsd_header, %struct.gsd_index_buffer, %struct.gsd_index_buffer, %struct.gsd_index_buffer, %struct.gsd_byte_buffer, %struct.gsd_name_buffer, %struct.gsd_name_buffer, i64, i64, i32, %struct.gsd_name_id_map, i64, i64, i64 }
%struct.gsd_header = type { i64, i64, i64, i64, i64, i32, i32, [64 x i8], [64 x i8], [80 x i8] }
%struct.gsd_index_buffer = type { ptr, i64, i64, ptr, i64 }
%struct.gsd_byte_buffer = type { ptr, i64, i64 }
%struct.gsd_name_buffer = type { %struct.gsd_byte_buffer, i64 }
%struct.gsd_name_id_map = type { ptr, i64 }

; Function Attrs: nounwind uwtable
declare dso_local i32 @gsd_make_version(i32 noundef, i32 noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @gsd_flush(ptr noundef) #0

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

14:                                               ; preds = %3
  store ptr null, ptr %4, align 8
  br label %159

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

18:                                               ; preds = %15
  store ptr null, ptr %4, align 8
  br label %159

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

25:                                               ; preds = %19
  store ptr null, ptr %4, align 8
  br label %159

26:                                               ; preds = %19
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.gsd_handle, ptr %27, i32 0, i32 10
  %29 = load i32, ptr %28, align 8, !tbaa !18
  %30 = icmp ne i32 %29, 2
  br i1 %30, label %31, label %41

31:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = call i32 @gsd_flush(ptr noundef %32)
  store i32 %33, ptr %8, align 4, !tbaa !19
  %34 = load i32, ptr %8, align 4, !tbaa !19
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %31
  store ptr null, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %38

37:                                               ; preds = %31
  store i32 0, ptr %9, align 4
  br label %38

38:                                               ; preds = %37, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %39 = load i32, ptr %9, align 4
  switch i32 %39, label %161 [
    i32 0, label %40
    i32 1, label %159
  ]

40:                                               ; preds = %38
  br label %41

41:                                               ; preds = %40, %26
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.gsd_handle, ptr %42, i32 0, i32 6
  %44 = getelementptr inbounds %struct.gsd_name_buffer, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %struct.gsd_byte_buffer, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !20
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.gsd_handle, ptr %47, i32 0, i32 6
  %49 = getelementptr inbounds %struct.gsd_name_buffer, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds %struct.gsd_byte_buffer, ptr %49, i32 0, i32 2
  %51 = load i64, ptr %50, align 8, !tbaa !21
  %52 = sub i64 %51, 1
  %53 = getelementptr inbounds i8, ptr %46, i64 %52
  %54 = load i8, ptr %53, align 1, !tbaa !22
  %55 = sext i8 %54 to i32
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %58

57:                                               ; preds = %41
  store ptr null, ptr %4, align 8
  br label %159

58:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = icmp eq ptr %59, null
  br i1 %60, label %61, label %67

61:                                               ; preds = %58
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.gsd_handle, ptr %62, i32 0, i32 6
  %64 = getelementptr inbounds %struct.gsd_name_buffer, ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds %struct.gsd_byte_buffer, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !20
  store ptr %66, ptr %10, align 8, !tbaa !5
  br label %108

67:                                               ; preds = %58
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.gsd_handle, ptr %69, i32 0, i32 6
  %71 = getelementptr inbounds %struct.gsd_name_buffer, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %struct.gsd_byte_buffer, ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8, !tbaa !20
  %74 = icmp ult ptr %68, %73
  br i1 %74, label %75, label %76

75:                                               ; preds = %67
  store ptr null, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %158

76:                                               ; preds = %67
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.gsd_handle, ptr %78, i32 0, i32 6
  %80 = getelementptr inbounds %struct.gsd_name_buffer, ptr %79, i32 0, i32 0
  %81 = getelementptr inbounds %struct.gsd_byte_buffer, ptr %80, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8, !tbaa !20
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.gsd_handle, ptr %83, i32 0, i32 6
  %85 = getelementptr inbounds %struct.gsd_name_buffer, ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds %struct.gsd_byte_buffer, ptr %85, i32 0, i32 2
  %87 = load i64, ptr %86, align 8, !tbaa !21
  %88 = getelementptr inbounds i8, ptr %82, i64 %87
  %89 = icmp uge ptr %77, %88
  br i1 %89, label %90, label %91

90:                                               ; preds = %76
  store ptr null, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %158

91:                                               ; preds = %76
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.gsd_handle, ptr %92, i32 0, i32 1
  %94 = getelementptr inbounds %struct.gsd_header, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %94, align 4, !tbaa !23
  %96 = call i32 @gsd_make_version(i32 noundef 2, i32 noundef 0)
  %97 = icmp ult i32 %95, %96
  br i1 %97, label %98, label %101

98:                                               ; preds = %91
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %99, i64 64
  store ptr %100, ptr %10, align 8, !tbaa !5
  br label %107

101:                                              ; preds = %91
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = call i64 @strlen(ptr noundef %103) #4
  %105 = getelementptr inbounds i8, ptr %102, i64 %104
  %106 = getelementptr inbounds i8, ptr %105, i64 1
  store ptr %106, ptr %10, align 8, !tbaa !5
  br label %107

107:                                              ; preds = %101, %98
  br label %108

108:                                              ; preds = %107, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = call i64 @strlen(ptr noundef %109) #4
  store i64 %110, ptr %11, align 8, !tbaa !24
  br label %111

111:                                              ; preds = %155, %108
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.gsd_handle, ptr %113, i32 0, i32 6
  %115 = getelementptr inbounds %struct.gsd_name_buffer, ptr %114, i32 0, i32 0
  %116 = getelementptr inbounds %struct.gsd_byte_buffer, ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8, !tbaa !20
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.gsd_handle, ptr %118, i32 0, i32 6
  %120 = getelementptr inbounds %struct.gsd_name_buffer, ptr %119, i32 0, i32 0
  %121 = getelementptr inbounds %struct.gsd_byte_buffer, ptr %120, i32 0, i32 2
  %122 = load i64, ptr %121, align 8, !tbaa !21
  %123 = getelementptr inbounds i8, ptr %117, i64 %122
  %124 = icmp ult ptr %112, %123
  br i1 %124, label %125, label %156

125:                                              ; preds = %111
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %126, i64 0
  %128 = load i8, ptr %127, align 1, !tbaa !22
  %129 = sext i8 %128 to i32
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %139

131:                                              ; preds = %125
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = load i64, ptr %11, align 8, !tbaa !24
  %135 = call i32 @strncmp(ptr noundef %132, ptr noundef %133, i64 noundef %134) #4
  %136 = icmp eq i32 0, %135
  br i1 %136, label %137, label %139

137:                                              ; preds = %131
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %138, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %157

139:                                              ; preds = %131, %125
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.gsd_handle, ptr %140, i32 0, i32 1
  %142 = getelementptr inbounds %struct.gsd_header, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %142, align 4, !tbaa !23
  %144 = call i32 @gsd_make_version(i32 noundef 2, i32 noundef 0)
  %145 = icmp ult i32 %143, %144
  br i1 %145, label %146, label %149

146:                                              ; preds = %139
  %147 = load ptr, ptr %10, align 8, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %147, i64 64
  store ptr %148, ptr %10, align 8, !tbaa !5
  br label %155

149:                                              ; preds = %139
  %150 = load ptr, ptr %10, align 8, !tbaa !5
  %151 = call i64 @strlen(ptr noundef %150) #4
  %152 = add i64 %151, 1
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %153, i64 %152
  store ptr %154, ptr %10, align 8, !tbaa !5
  br label %155

155:                                              ; preds = %149, %146
  br label %111, !llvm.loop !25

156:                                              ; preds = %111
  store ptr null, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %157

157:                                              ; preds = %156, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %158

158:                                              ; preds = %157, %90, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  br label %159

159:                                              ; preds = %158, %57, %38, %25, %18, %14
  %160 = load ptr, ptr %4, align 8
  ret ptr %160

161:                                              ; preds = %38
  unreachable
}

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #2

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

!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, !13, i64 432}
!10 = !{!"gsd_handle", !11, i64 0, !12, i64 8, !14, i64 264, !14, i64 304, !14, i64 344, !15, i64 384, !16, i64 408, !16, i64 440, !13, i64 472, !13, i64 480, !11, i64 488, !17, i64 496, !13, i64 512, !13, i64 520, !13, i64 528}
!11 = !{!"int", !7, i64 0}
!12 = !{!"gsd_header", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !11, i64 40, !11, i64 44, !7, i64 48, !7, i64 112, !7, i64 176}
!13 = !{!"long", !7, i64 0}
!14 = !{!"gsd_index_buffer", !6, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !13, i64 32}
!15 = !{!"gsd_byte_buffer", !6, i64 0, !13, i64 8, !13, i64 16}
!16 = !{!"gsd_name_buffer", !15, i64 0, !13, i64 24}
!17 = !{!"gsd_name_id_map", !6, i64 0, !13, i64 8}
!18 = !{!10, !11, i64 488}
!19 = !{!11, !11, i64 0}
!20 = !{!10, !6, i64 408}
!21 = !{!10, !13, i64 424}
!22 = !{!7, !7, i64 0}
!23 = !{!10, !11, i64 52}
!24 = !{!13, !13, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"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"

; Function Attrs: nounwind uwtable
declare dso_local i32 @gsd_make_version(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @gsd_flush(ptr noundef) local_unnamed_addr #0

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

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

11:                                               ; preds = %6
  %12 = getelementptr inbounds i8, ptr %0, i64 488
  %13 = load i32, ptr %12, align 8, !tbaa !17
  %.not = icmp eq i32 %13, 2
  br i1 %.not, label %16, label %14

14:                                               ; preds = %11
  %15 = tail call i32 @gsd_flush(ptr noundef nonnull %0)
  %.not40.not = icmp eq i32 %15, 0
  br i1 %.not40.not, label %16, label %.loopexit

16:                                               ; preds = %14, %11
  %17 = load ptr, ptr %7, align 8, !tbaa !18
  %18 = getelementptr inbounds i8, ptr %0, i64 424
  %19 = load i64, ptr %18, align 8, !tbaa !19
  %20 = getelementptr i8, ptr %17, i64 %19
  %21 = getelementptr i8, ptr %20, i64 -1
  %22 = load i8, ptr %21, align 1, !tbaa !20
  %.not41 = icmp eq i8 %22, 0
  br i1 %.not41, label %23, label %.loopexit

23:                                               ; preds = %16
  %24 = icmp eq ptr %2, null
  br i1 %24, label %38, label %25

25:                                               ; preds = %23
  %26 = icmp ule ptr %17, %2
  %.not42 = icmp ugt ptr %20, %2
  %or.cond44 = and i1 %26, %.not42
  br i1 %or.cond44, label %27, label %.loopexit

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %0, i64 52
  %29 = load i32, ptr %28, align 4, !tbaa !21
  %30 = tail call i32 @gsd_make_version(i32 noundef 2, i32 noundef 0)
  %31 = icmp ult i32 %29, %30
  br i1 %31, label %32, label %34

32:                                               ; preds = %27
  %33 = getelementptr inbounds i8, ptr %2, i64 64
  br label %38

34:                                               ; preds = %27
  %35 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #2
  %36 = getelementptr inbounds i8, ptr %2, i64 %35
  %37 = getelementptr inbounds i8, ptr %36, i64 1
  br label %38

38:                                               ; preds = %23, %32, %34
  %.033 = phi ptr [ %33, %32 ], [ %37, %34 ], [ %17, %23 ]
  %39 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #2
  %40 = load ptr, ptr %7, align 8, !tbaa !18
  %41 = load i64, ptr %18, align 8, !tbaa !19
  %42 = getelementptr inbounds i8, ptr %40, i64 %41
  %43 = icmp ult ptr %.033, %42
  br i1 %43, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %38
  %44 = getelementptr inbounds i8, ptr %0, i64 52
  br label %45

45:                                               ; preds = %.lr.ph, %57
  %.13445 = phi ptr [ %.033, %.lr.ph ], [ %58, %57 ]
  %46 = load i8, ptr %.13445, align 1, !tbaa !20
  %.not43 = icmp eq i8 %46, 0
  br i1 %.not43, label %50, label %47

47:                                               ; preds = %45
  %48 = tail call i32 @strncmp(ptr noundef nonnull %1, ptr noundef nonnull %.13445, i64 noundef %39) #2
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %.loopexit, label %50

50:                                               ; preds = %47, %45
  %51 = load i32, ptr %44, align 4, !tbaa !21
  %52 = tail call i32 @gsd_make_version(i32 noundef 2, i32 noundef 0)
  %53 = icmp ult i32 %51, %52
  br i1 %53, label %57, label %54

54:                                               ; preds = %50
  %55 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %.13445) #2
  %56 = add i64 %55, 1
  br label %57

57:                                               ; preds = %50, %54
  %.sink = phi i64 [ %56, %54 ], [ 64, %50 ]
  %58 = getelementptr inbounds i8, ptr %.13445, i64 %.sink
  %59 = load ptr, ptr %7, align 8, !tbaa !18
  %60 = load i64, ptr %18, align 8, !tbaa !19
  %61 = getelementptr inbounds i8, ptr %59, i64 %60
  %62 = icmp ult ptr %58, %61
  br i1 %62, label %45, label %.loopexit, !llvm.loop !22

.loopexit:                                        ; preds = %47, %57, %38, %14, %25, %16, %6, %3
  %.3 = phi ptr [ null, %14 ], [ null, %3 ], [ null, %6 ], [ null, %16 ], [ null, %25 ], [ null, %38 ], [ %.13445, %47 ], [ null, %57 ]
  ret ptr %.3
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 willreturn memory(read) }

!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, !11, i64 432}
!6 = !{!"gsd_handle", !7, i64 0, !10, i64 8, !12, i64 264, !12, i64 304, !12, i64 344, !14, i64 384, !15, i64 408, !15, i64 440, !11, i64 472, !11, i64 480, !7, i64 488, !16, i64 496, !11, i64 512, !11, i64 520, !11, i64 528}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"gsd_header", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !8, i64 48, !8, i64 112, !8, i64 176}
!11 = !{!"long", !8, i64 0}
!12 = !{!"gsd_index_buffer", !13, i64 0, !11, i64 8, !11, i64 16, !13, i64 24, !11, i64 32}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"gsd_byte_buffer", !13, i64 0, !11, i64 8, !11, i64 16}
!15 = !{!"gsd_name_buffer", !14, i64 0, !11, i64 24}
!16 = !{!"gsd_name_id_map", !13, i64 0, !11, i64 8}
!17 = !{!6, !7, i64 488}
!18 = !{!6, !13, i64 408}
!19 = !{!6, !11, i64 424}
!20 = !{!8, !8, i64 0}
!21 = !{!6, !7, i64 52}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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