; LLVM IR from taichi-dev/taichi :: taichi/runtime/llvm/runtime_module (runtime)

; 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.Element = type { ptr, [2 x i32], %struct.PhysicalCoordinates }
%struct.PhysicalCoordinates = type { [12 x i32] }
%struct.LLVMRuntime = type { %struct.PreallocatedMemoryChunk, %struct.PreallocatedMemoryChunk, ptr, ptr, ptr, ptr, ptr, [512 x ptr], [512 x i64], ptr, ptr, [1024 x ptr], [1024 x ptr], [1024 x ptr], ptr, ptr, ptr, ptr, ptr, [2048 x i8], [32 x i64], i32, i64, ptr, i32, i32, i64 }
%struct.PreallocatedMemoryChunk = type { ptr, ptr, i64 }
%struct.StructMeta = type { i32, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr }

@_ZL31taichi_listgen_max_element_size = external hidden constant i32, align 4

; 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: 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: mustprogress uwtable
declare dso_local void @_ZN11ListManager6appendEPv(ptr noundef nonnull align 8 dereferenceable(1048616), ptr noundef) #2 align 2

; 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
define dso_local void @element_listgen_root(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %struct.Element, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.Element, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.LLVMRuntime, ptr %21, i32 0, i32 11
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.StructMeta, ptr %23, i32 0, i32 0
  %25 = load i32, ptr %24, align 8, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [1024 x ptr], ptr %22, i64 0, i64 %26
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %28, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.LLVMRuntime, ptr %29, i32 0, i32 11
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.StructMeta, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [1024 x ptr], ptr %30, i64 0, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  store ptr %36, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.StructMeta, ptr %37, i32 0, i32 3
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  store ptr %39, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.StructMeta, ptr %40, i32 0, i32 6
  %42 = load ptr, ptr %41, align 8, !tbaa !14
  store ptr %42, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.StructMeta, ptr %43, i32 0, i32 4
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  store ptr %45, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 1, ptr %13, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #5
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN11ListManager3getI7ElementEERT_i(ptr noundef nonnull align 8 dereferenceable(1048616) %46, i32 noundef 0)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %47, i64 64, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.Element, ptr %14, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !19
  %52 = call noundef ptr %48(ptr noundef %49, ptr noundef %51, i32 noundef 0)
  store ptr %52, ptr %15, align 8, !tbaa !5
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  %55 = call noundef ptr %53(ptr noundef %54)
  store ptr %55, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = load ptr, ptr %15, align 8, !tbaa !5
  %59 = call noundef i32 %56(ptr noundef %57, ptr noundef %58)
  store i32 %59, ptr %16, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) @_ZL31taichi_listgen_max_element_size)
  %61 = load i32, ptr %60, align 4, !tbaa !16
  store i32 %61, ptr %17, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %62 = load i32, ptr %12, align 4, !tbaa !16
  store i32 %62, ptr %18, align 4, !tbaa !16
  br label %63

63:                                               ; preds = %89, %3
  %64 = load i32, ptr %18, align 4, !tbaa !16
  %65 = load i32, ptr %17, align 4, !tbaa !16
  %66 = mul nsw i32 %64, %65
  %67 = load i32, ptr %16, align 4, !tbaa !16
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %93

70:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #5
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.Element, ptr %19, i32 0, i32 0
  store ptr %71, ptr %72, align 8, !tbaa !19
  %73 = load i32, ptr %18, align 4, !tbaa !16
  %74 = load i32, ptr %17, align 4, !tbaa !16
  %75 = mul nsw i32 %73, %74
  %76 = getelementptr inbounds %struct.Element, ptr %19, i32 0, i32 1
  %77 = getelementptr inbounds [2 x i32], ptr %76, i64 0, i64 0
  store i32 %75, ptr %77, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %78 = load i32, ptr %18, align 4, !tbaa !16
  %79 = add nsw i32 %78, 1
  %80 = load i32, ptr %17, align 4, !tbaa !16
  %81 = mul nsw i32 %79, %80
  store i32 %81, ptr %20, align 4, !tbaa !16
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %83 = load i32, ptr %82, align 4, !tbaa !16
  %84 = getelementptr inbounds %struct.Element, ptr %19, i32 0, i32 1
  %85 = getelementptr inbounds [2 x i32], ptr %84, i64 0, i64 1
  store i32 %83, ptr %85, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  %86 = getelementptr inbounds %struct.Element, ptr %14, i32 0, i32 2
  %87 = getelementptr inbounds %struct.Element, ptr %19, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %87, ptr align 8 %86, i64 48, i1 false), !tbaa.struct !22
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11ListManager6appendEPv(ptr noundef nonnull align 8 dereferenceable(1048616) %88, ptr noundef %19)
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #5
  br label %89

89:                                               ; preds = %70
  %90 = load i32, ptr %13, align 4, !tbaa !16
  %91 = load i32, ptr %18, align 4, !tbaa !16
  %92 = add nsw i32 %91, %90
  store i32 %92, ptr %18, align 4, !tbaa !16
  br label %63, !llvm.loop !23

93:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  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 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN11ListManager3getI7ElementEERT_i(ptr noundef nonnull align 8 dereferenceable(1048616), i32 noundef) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { 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, !11, i64 0}
!10 = !{!"_ZTS10StructMeta", !11, i64 0, !12, i64 8, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !6, i64 24}
!14 = !{!10, !6, i64 48}
!15 = !{!10, !6, i64 32}
!16 = !{!11, !11, i64 0}
!17 = !{i64 0, i64 8, !5, i64 8, i64 8, !18, i64 16, i64 48, !18}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !6, i64 0}
!20 = !{!"_ZTS7Element", !6, i64 0, !7, i64 8, !21, i64 16}
!21 = !{!"_ZTS19PhysicalCoordinates", !7, i64 0}
!22 = !{i64 0, i64 48, !18}
!23 = distinct !{!23, !24}
!24 = !{!"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"

%struct.PhysicalCoordinates = type { [12 x i32] }
%struct.Element = type { ptr, [2 x i32], %struct.PhysicalCoordinates }

@_ZL31taichi_listgen_max_element_size = external hidden constant i32, align 4

; 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 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: mustprogress uwtable
declare dso_local void @_ZN11ListManager6appendEPv(ptr noundef nonnull align 8 dereferenceable(1048616), ptr noundef) local_unnamed_addr #2 align 2

; 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
define dso_local void @element_listgen_root(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %.sroa.4 = alloca { [2 x i32], %struct.PhysicalCoordinates }, align 8
  %4 = alloca i32, align 4
  %5 = alloca %struct.Element, align 8
  %6 = alloca i32, align 4
  %7 = getelementptr inbounds i8, ptr %0, i64 8296
  %8 = load i32, ptr %1, align 8, !tbaa !5
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds [1024 x ptr], ptr %7, i64 0, i64 %9
  %11 = load ptr, ptr %10, align 8, !tbaa !12
  %12 = load i32, ptr %2, align 8, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [1024 x ptr], ptr %7, i64 0, i64 %13
  %15 = load ptr, ptr %14, align 8, !tbaa !12
  %16 = getelementptr inbounds i8, ptr %1, i64 24
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  %18 = getelementptr inbounds i8, ptr %2, i64 48
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  %20 = getelementptr inbounds i8, ptr %2, i64 32
  %21 = load ptr, ptr %20, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %.sroa.4)
  %22 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZN11ListManager3getI7ElementEERT_i(ptr noundef nonnull align 8 dereferenceable(1048616) %11, i32 noundef 0)
  %.sroa.0.0.copyload = load ptr, ptr %22, align 8, !tbaa !12
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %.sroa.4, ptr noundef nonnull align 8 dereferenceable(56) %.sroa.4.0..sroa_idx, i64 56, i1 false), !tbaa.struct !16
  %23 = tail call noundef ptr %17(ptr noundef nonnull %1, ptr noundef %.sroa.0.0.copyload, i32 noundef 0)
  %24 = tail call noundef ptr %21(ptr noundef %23)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %25 = tail call noundef i32 %19(ptr noundef nonnull %2, ptr noundef %24)
  store i32 %25, ptr %4, align 4, !tbaa !18
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) @_ZL31taichi_listgen_max_element_size)
  %27 = load i32, ptr %26, align 4, !tbaa !18
  %28 = load i32, ptr %4, align 4, !tbaa !18
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3
  %30 = getelementptr inbounds i8, ptr %5, i64 8
  %31 = getelementptr inbounds i8, ptr %5, i64 12
  %32 = getelementptr inbounds i8, ptr %5, i64 16
  %.sroa.4.16.sroa_idx = getelementptr inbounds i8, ptr %.sroa.4, i64 8
  br label %33

._crit_edge:                                      ; preds = %33, %3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %.sroa.4)
  ret void

33:                                               ; preds = %.lr.ph, %33
  %34 = phi i32 [ 0, %.lr.ph ], [ %36, %33 ]
  %.026 = phi i32 [ 0, %.lr.ph ], [ %35, %33 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
  store ptr %24, ptr %5, align 8, !tbaa !19
  store i32 %34, ptr %30, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %35 = add nuw nsw i32 %.026, 1
  %36 = mul nsw i32 %35, %27
  store i32 %36, ptr %6, align 4, !tbaa !18
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %38 = load i32, ptr %37, align 4, !tbaa !18
  store i32 %38, ptr %31, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull align 8 dereferenceable(48) %.sroa.4.16.sroa_idx, i64 48, i1 false), !tbaa.struct !22
  call void @_ZN11ListManager6appendEPv(ptr noundef nonnull align 8 dereferenceable(1048616) %15, ptr noundef nonnull %5)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
  %39 = load i32, ptr %4, align 4, !tbaa !18
  %40 = icmp slt i32 %36, %39
  br i1 %40, label %33, label %._crit_edge, !llvm.loop !23
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN11ListManager3getI7ElementEERT_i(ptr noundef nonnull align 8 dereferenceable(1048616), i32 noundef) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { 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, !7, i64 0}
!6 = !{!"_ZTS10StructMeta", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !11, i64 24}
!14 = !{!6, !11, i64 48}
!15 = !{!6, !11, i64 32}
!16 = !{i64 0, i64 8, !17, i64 8, i64 48, !17}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"_ZTS7Element", !11, i64 0, !8, i64 8, !21, i64 16}
!21 = !{!"_ZTS19PhysicalCoordinates", !8, i64 0}
!22 = !{i64 0, i64 48, !17}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


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