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

@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 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

; Function Attrs: mustprogress uwtable
declare dso_local void @taichi_assert(ptr noundef, i1 noundef zeroext, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11NodeManager9gc_serialEv(ptr noundef nonnull align 8 dereferenceable(52)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13taichi_printfIJRP11LLVMRuntimeEEvS1_PKcDpOT_(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef, ptr noundef, ptr noundef nonnull align 1 dereferenceable(2048)) #1

; Function Attrs: noreturn nounwind
declare void @abort() #2

; Function Attrs: mustprogress uwtable
define dso_local i32 @test_node_allocator(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca [24 x ptr], align 16
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.RuntimeContext, ptr %14, i32 0, i32 1
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  store ptr %16, ptr %3, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRP11LLVMRuntimeEEvS1_PKcDpOT_(ptr noundef %17, ptr noundef @.str.3, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.RuntimeContext, ptr %18, i32 0, i32 1
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  store i64 8, ptr %5, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 4, ptr %6, align 4, !tbaa !14
  %21 = call noundef ptr @_ZN11LLVMRuntime6createI11NodeManagerJRPS_miEEEPT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(35256) %20, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  store ptr %21, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 192, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !14
  br label %22

22:                                               ; preds = %37, %1
  %23 = load i32, ptr %8, align 4, !tbaa !14
  %24 = icmp slt i32 %23, 19
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %40

26:                                               ; preds = %22
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %27, ptr noundef @.str.7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = call noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52) %28)
  %30 = load i32, ptr %8, align 4, !tbaa !14
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [24 x ptr], ptr %7, i64 0, i64 %31
  store ptr %29, ptr %32, align 8, !tbaa !5
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = load i32, ptr %8, align 4, !tbaa !14
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [24 x ptr], ptr %7, i64 0, i64 %35
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %33, ptr noundef @.str.8, ptr noundef nonnull align 8 dereferenceable(8) %36)
  br label %37

37:                                               ; preds = %26
  %38 = load i32, ptr %8, align 4, !tbaa !14
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %8, align 4, !tbaa !14
  br label %22, !llvm.loop !15

40:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !14
  br label %41

41:                                               ; preds = %56, %40
  %42 = load i32, ptr %9, align 4, !tbaa !14
  %43 = icmp slt i32 %42, 5
  br i1 %43, label %45, label %44

44:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %59

45:                                               ; preds = %41
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %46, ptr noundef @.str.9, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = load i32, ptr %9, align 4, !tbaa !14
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [24 x ptr], ptr %7, i64 0, i64 %49
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %47, ptr noundef @.str.8, ptr noundef nonnull align 8 dereferenceable(8) %50)
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = load i32, ptr %9, align 4, !tbaa !14
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [24 x ptr], ptr %7, i64 0, i64 %53
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  call void @_ZN11NodeManager7recycleEPh(ptr noundef nonnull align 8 dereferenceable(52) %51, ptr noundef %55)
  br label %56

56:                                               ; preds = %45
  %57 = load i32, ptr %9, align 4, !tbaa !14
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %9, align 4, !tbaa !14
  br label %41, !llvm.loop !17

59:                                               ; preds = %44
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11NodeManager9gc_serialEv(ptr noundef nonnull align 8 dereferenceable(52) %60)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 19, ptr %10, align 4, !tbaa !14
  br label %61

61:                                               ; preds = %72, %59
  %62 = load i32, ptr %10, align 4, !tbaa !14
  %63 = icmp slt i32 %62, 24
  br i1 %63, label %65, label %64

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

65:                                               ; preds = %61
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %66, ptr noundef @.str.7, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = call noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52) %67)
  %69 = load i32, ptr %10, align 4, !tbaa !14
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [24 x ptr], ptr %7, i64 0, i64 %70
  store ptr %68, ptr %71, align 8, !tbaa !5
  br label %72

72:                                               ; preds = %65
  %73 = load i32, ptr %10, align 4, !tbaa !14
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %10, align 4, !tbaa !14
  br label %61, !llvm.loop !18

75:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 5, ptr %11, align 4, !tbaa !14
  br label %76

76:                                               ; preds = %102, %75
  %77 = load i32, ptr %11, align 4, !tbaa !14
  %78 = icmp slt i32 %77, 19
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %105

80:                                               ; preds = %76
  br label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = load i32, ptr %11, align 4, !tbaa !14
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [24 x ptr], ptr %7, i64 0, i64 %85
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %83, ptr noundef %87)
  %89 = load i32, ptr %11, align 4, !tbaa !14
  %90 = icmp eq i32 %88, %89
  call void @taichi_assert(ptr noundef %82, i1 noundef zeroext %90, ptr noundef @.str.10)
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.LLVMRuntime, ptr %91, i32 0, i32 22
  %93 = load i64, ptr %92, align 8, !tbaa !19
  %94 = icmp ne i64 %93, 0
  br i1 %94, label %95, label %99

95:                                               ; preds = %81
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.LLVMRuntime, ptr %97, i32 0, i32 19
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef %96, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %98)
  call void @abort() #4
  unreachable

99:                                               ; preds = %81
  br label %100

100:                                              ; preds = %99
  br label %101

101:                                              ; preds = %100
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %11, align 4, !tbaa !14
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %11, align 4, !tbaa !14
  br label %76, !llvm.loop !22

105:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 19, ptr %12, align 4, !tbaa !14
  br label %106

106:                                              ; preds = %136, %105
  %107 = load i32, ptr %12, align 4, !tbaa !14
  %108 = icmp slt i32 %107, 24
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %139

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = load i32, ptr %12, align 4, !tbaa !14
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [24 x ptr], ptr %7, i64 0, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %111, ptr noundef %115)
  store i32 %116, ptr %13, align 4, !tbaa !14
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %117, ptr noundef @.str.11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %118, ptr noundef @.str.12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  br label %119

119:                                              ; preds = %110
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = load i32, ptr %13, align 4, !tbaa !14
  %122 = load i32, ptr %12, align 4, !tbaa !14
  %123 = sub nsw i32 %122, 19
  %124 = icmp eq i32 %121, %123
  call void @taichi_assert(ptr noundef %120, i1 noundef zeroext %124, ptr noundef @.str.13)
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.LLVMRuntime, ptr %125, i32 0, i32 22
  %127 = load i64, ptr %126, align 8, !tbaa !19
  %128 = icmp ne i64 %127, 0
  br i1 %128, label %129, label %133

129:                                              ; preds = %119
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.LLVMRuntime, ptr %131, i32 0, i32 19
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef %130, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %132)
  call void @abort() #4
  unreachable

133:                                              ; preds = %119
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %136

136:                                              ; preds = %135
  %137 = load i32, ptr %12, align 4, !tbaa !14
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %12, align 4, !tbaa !14
  br label %106, !llvm.loop !23

139:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 192, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret i32 0
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN11LLVMRuntime6createI11NodeManagerJRPS_miEEEPT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(35256), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11NodeManager7recycleEPh(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn 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 }
attributes #4 = { noreturn 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, !6, i64 8}
!10 = !{!"_ZTS14RuntimeContext", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = !{!20, !13, i64 35224}
!20 = !{!"_ZTS11LLVMRuntime", !21, i64 0, !21, i64 24, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !7, i64 88, !7, i64 4184, !6, i64 8280, !6, i64 8288, !7, i64 8296, !7, i64 16488, !7, i64 24680, !6, i64 32872, !6, i64 32880, !6, i64 32888, !6, i64 32896, !6, i64 32904, !7, i64 32912, !7, i64 34960, !11, i64 35216, !13, i64 35224, !6, i64 35232, !11, i64 35240, !11, i64 35244, !13, i64 35248}
!21 = !{!"_ZTS23PreallocatedMemoryChunk", !6, i64 0, !6, i64 8, !13, i64 16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !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"

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

; 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 uwtable
declare dso_local void @taichi_assert(ptr noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11NodeManager9gc_serialEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13taichi_printfIJRP11LLVMRuntimeEEvS1_PKcDpOT_(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef, ptr noundef, ptr noundef nonnull align 1 dereferenceable(2048)) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @test_node_allocator(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca [24 x ptr], align 16
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %12, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRP11LLVMRuntimeEEvS1_PKcDpOT_(ptr noundef %12, ptr noundef nonnull @.str.3, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %13 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  store i64 8, ptr %3, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  store i32 4, ptr %4, align 4, !tbaa !14
  %14 = call noundef ptr @_ZN11LLVMRuntime6createI11NodeManagerJRPS_miEEEPT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(35256) %13, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %16

15:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  store i32 0, ptr %7, align 4, !tbaa !14
  br label %27

16:                                               ; preds = %1, %16
  %17 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %17, ptr noundef nonnull @.str.7, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %18 = call noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52) %14)
  %19 = load i32, ptr %6, align 4, !tbaa !14
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %20
  store ptr %18, ptr %21, align 8, !tbaa !11
  %22 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %22, ptr noundef nonnull @.str.8, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %23 = load i32, ptr %6, align 4, !tbaa !14
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr %6, align 4, !tbaa !14
  %25 = icmp slt i32 %23, 18
  br i1 %25, label %16, label %15, !llvm.loop !15

26:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  call void @_ZN11NodeManager9gc_serialEv(ptr noundef nonnull align 8 dereferenceable(52) %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  store i32 19, ptr %8, align 4, !tbaa !14
  br label %48

27:                                               ; preds = %15, %27
  %28 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %28, ptr noundef nonnull @.str.9, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %29 = load ptr, ptr %2, align 8, !tbaa !11
  %30 = load i32, ptr %7, align 4, !tbaa !14
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %31
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %29, ptr noundef nonnull @.str.8, ptr noundef nonnull align 8 dereferenceable(8) %32)
  %33 = load i32, ptr %7, align 4, !tbaa !14
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  call void @_ZN11NodeManager7recycleEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %36)
  %37 = load i32, ptr %7, align 4, !tbaa !14
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %7, align 4, !tbaa !14
  %39 = icmp slt i32 %37, 4
  br i1 %39, label %27, label %26, !llvm.loop !17

40:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  %41 = getelementptr inbounds i8, ptr %5, i64 40
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %42)
  %44 = icmp eq i32 %43, 5
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %44, ptr noundef nonnull @.str.10)
  %45 = load ptr, ptr %2, align 8, !tbaa !11
  %46 = getelementptr inbounds i8, ptr %45, i64 35224
  %47 = load i64, ptr %46, align 8, !tbaa !18
  %.not16 = icmp eq i64 %47, 0
  br i1 %.not16, label %56, label %161

48:                                               ; preds = %26, %48
  %49 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %49, ptr noundef nonnull @.str.7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %50 = call noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52) %14)
  %51 = load i32, ptr %8, align 4, !tbaa !14
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %52
  store ptr %50, ptr %53, align 8, !tbaa !11
  %54 = add nsw i32 %51, 1
  store i32 %54, ptr %8, align 4, !tbaa !14
  %55 = icmp slt i32 %51, 23
  br i1 %55, label %48, label %40, !llvm.loop !21

56:                                               ; preds = %40
  %57 = getelementptr inbounds i8, ptr %5, i64 48
  %58 = load ptr, ptr %57, align 16, !tbaa !11
  %59 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %58)
  %60 = icmp eq i32 %59, 6
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %60, ptr noundef nonnull @.str.10)
  %61 = load ptr, ptr %2, align 8, !tbaa !11
  %62 = getelementptr inbounds i8, ptr %61, i64 35224
  %63 = load i64, ptr %62, align 8, !tbaa !18
  %.not16.1 = icmp eq i64 %63, 0
  br i1 %.not16.1, label %64, label %161

64:                                               ; preds = %56
  %65 = getelementptr inbounds i8, ptr %5, i64 56
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %66)
  %68 = icmp eq i32 %67, 7
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %68, ptr noundef nonnull @.str.10)
  %69 = load ptr, ptr %2, align 8, !tbaa !11
  %70 = getelementptr inbounds i8, ptr %69, i64 35224
  %71 = load i64, ptr %70, align 8, !tbaa !18
  %.not16.2 = icmp eq i64 %71, 0
  br i1 %.not16.2, label %72, label %161

72:                                               ; preds = %64
  %73 = getelementptr inbounds i8, ptr %5, i64 64
  %74 = load ptr, ptr %73, align 16, !tbaa !11
  %75 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %74)
  %76 = icmp eq i32 %75, 8
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %76, ptr noundef nonnull @.str.10)
  %77 = load ptr, ptr %2, align 8, !tbaa !11
  %78 = getelementptr inbounds i8, ptr %77, i64 35224
  %79 = load i64, ptr %78, align 8, !tbaa !18
  %.not16.3 = icmp eq i64 %79, 0
  br i1 %.not16.3, label %80, label %161

80:                                               ; preds = %72
  %81 = getelementptr inbounds i8, ptr %5, i64 72
  %82 = load ptr, ptr %81, align 8, !tbaa !11
  %83 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %82)
  %84 = icmp eq i32 %83, 9
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %84, ptr noundef nonnull @.str.10)
  %85 = load ptr, ptr %2, align 8, !tbaa !11
  %86 = getelementptr inbounds i8, ptr %85, i64 35224
  %87 = load i64, ptr %86, align 8, !tbaa !18
  %.not16.4 = icmp eq i64 %87, 0
  br i1 %.not16.4, label %88, label %161

88:                                               ; preds = %80
  %89 = getelementptr inbounds i8, ptr %5, i64 80
  %90 = load ptr, ptr %89, align 16, !tbaa !11
  %91 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %90)
  %92 = icmp eq i32 %91, 10
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %92, ptr noundef nonnull @.str.10)
  %93 = load ptr, ptr %2, align 8, !tbaa !11
  %94 = getelementptr inbounds i8, ptr %93, i64 35224
  %95 = load i64, ptr %94, align 8, !tbaa !18
  %.not16.5 = icmp eq i64 %95, 0
  br i1 %.not16.5, label %96, label %161

96:                                               ; preds = %88
  %97 = getelementptr inbounds i8, ptr %5, i64 88
  %98 = load ptr, ptr %97, align 8, !tbaa !11
  %99 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %98)
  %100 = icmp eq i32 %99, 11
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %100, ptr noundef nonnull @.str.10)
  %101 = load ptr, ptr %2, align 8, !tbaa !11
  %102 = getelementptr inbounds i8, ptr %101, i64 35224
  %103 = load i64, ptr %102, align 8, !tbaa !18
  %.not16.6 = icmp eq i64 %103, 0
  br i1 %.not16.6, label %104, label %161

104:                                              ; preds = %96
  %105 = getelementptr inbounds i8, ptr %5, i64 96
  %106 = load ptr, ptr %105, align 16, !tbaa !11
  %107 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %106)
  %108 = icmp eq i32 %107, 12
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %108, ptr noundef nonnull @.str.10)
  %109 = load ptr, ptr %2, align 8, !tbaa !11
  %110 = getelementptr inbounds i8, ptr %109, i64 35224
  %111 = load i64, ptr %110, align 8, !tbaa !18
  %.not16.7 = icmp eq i64 %111, 0
  br i1 %.not16.7, label %112, label %161

112:                                              ; preds = %104
  %113 = getelementptr inbounds i8, ptr %5, i64 104
  %114 = load ptr, ptr %113, align 8, !tbaa !11
  %115 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %114)
  %116 = icmp eq i32 %115, 13
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %116, ptr noundef nonnull @.str.10)
  %117 = load ptr, ptr %2, align 8, !tbaa !11
  %118 = getelementptr inbounds i8, ptr %117, i64 35224
  %119 = load i64, ptr %118, align 8, !tbaa !18
  %.not16.8 = icmp eq i64 %119, 0
  br i1 %.not16.8, label %120, label %161

120:                                              ; preds = %112
  %121 = getelementptr inbounds i8, ptr %5, i64 112
  %122 = load ptr, ptr %121, align 16, !tbaa !11
  %123 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %122)
  %124 = icmp eq i32 %123, 14
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %124, ptr noundef nonnull @.str.10)
  %125 = load ptr, ptr %2, align 8, !tbaa !11
  %126 = getelementptr inbounds i8, ptr %125, i64 35224
  %127 = load i64, ptr %126, align 8, !tbaa !18
  %.not16.9 = icmp eq i64 %127, 0
  br i1 %.not16.9, label %128, label %161

128:                                              ; preds = %120
  %129 = getelementptr inbounds i8, ptr %5, i64 120
  %130 = load ptr, ptr %129, align 8, !tbaa !11
  %131 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %130)
  %132 = icmp eq i32 %131, 15
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %132, ptr noundef nonnull @.str.10)
  %133 = load ptr, ptr %2, align 8, !tbaa !11
  %134 = getelementptr inbounds i8, ptr %133, i64 35224
  %135 = load i64, ptr %134, align 8, !tbaa !18
  %.not16.10 = icmp eq i64 %135, 0
  br i1 %.not16.10, label %136, label %161

136:                                              ; preds = %128
  %137 = getelementptr inbounds i8, ptr %5, i64 128
  %138 = load ptr, ptr %137, align 16, !tbaa !11
  %139 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %138)
  %140 = icmp eq i32 %139, 16
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %140, ptr noundef nonnull @.str.10)
  %141 = load ptr, ptr %2, align 8, !tbaa !11
  %142 = getelementptr inbounds i8, ptr %141, i64 35224
  %143 = load i64, ptr %142, align 8, !tbaa !18
  %.not16.11 = icmp eq i64 %143, 0
  br i1 %.not16.11, label %144, label %161

144:                                              ; preds = %136
  %145 = getelementptr inbounds i8, ptr %5, i64 136
  %146 = load ptr, ptr %145, align 8, !tbaa !11
  %147 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %146)
  %148 = icmp eq i32 %147, 17
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %148, ptr noundef nonnull @.str.10)
  %149 = load ptr, ptr %2, align 8, !tbaa !11
  %150 = getelementptr inbounds i8, ptr %149, i64 35224
  %151 = load i64, ptr %150, align 8, !tbaa !18
  %.not16.12 = icmp eq i64 %151, 0
  br i1 %.not16.12, label %152, label %161

152:                                              ; preds = %144
  %153 = getelementptr inbounds i8, ptr %5, i64 144
  %154 = load ptr, ptr %153, align 16, !tbaa !11
  %155 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %154)
  %156 = icmp eq i32 %155, 18
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %156, ptr noundef nonnull @.str.10)
  %157 = load ptr, ptr %2, align 8, !tbaa !11
  %158 = getelementptr inbounds i8, ptr %157, i64 35224
  %159 = load i64, ptr %158, align 8, !tbaa !18
  %.not16.13 = icmp eq i64 %159, 0
  br i1 %.not16.13, label %160, label %161

160:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
  store i32 19, ptr %9, align 4, !tbaa !14
  br label %164

161:                                              ; preds = %152, %144, %136, %128, %120, %112, %104, %96, %88, %80, %72, %64, %56, %40
  %.lcssa21 = phi ptr [ %45, %40 ], [ %61, %56 ], [ %69, %64 ], [ %77, %72 ], [ %85, %80 ], [ %93, %88 ], [ %101, %96 ], [ %109, %104 ], [ %117, %112 ], [ %125, %120 ], [ %133, %128 ], [ %141, %136 ], [ %149, %144 ], [ %157, %152 ]
  %162 = getelementptr inbounds i8, ptr %.lcssa21, i64 32912
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef nonnull %.lcssa21, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %162)
  call void @abort() #4
  unreachable

163:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret i32 0

164:                                              ; preds = %160, %180
  %storemerge1519 = phi i32 [ 19, %160 ], [ %182, %180 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
  %165 = sext i32 %storemerge1519 to i64
  %166 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %165
  %167 = load ptr, ptr %166, align 8, !tbaa !11
  %168 = call noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %167)
  store i32 %168, ptr %10, align 4, !tbaa !14
  %169 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %169, ptr noundef nonnull @.str.11, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %170 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %170, ptr noundef nonnull @.str.12, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %171 = load i32, ptr %10, align 4, !tbaa !14
  %172 = load i32, ptr %9, align 4, !tbaa !14
  %173 = add nsw i32 %172, -19
  %174 = icmp eq i32 %171, %173
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %174, ptr noundef nonnull @.str.13)
  %175 = load ptr, ptr %2, align 8, !tbaa !11
  %176 = getelementptr inbounds i8, ptr %175, i64 35224
  %177 = load i64, ptr %176, align 8, !tbaa !18
  %.not = icmp eq i64 %177, 0
  br i1 %.not, label %180, label %178

178:                                              ; preds = %164
  %179 = getelementptr inbounds i8, ptr %175, i64 32912
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef nonnull %175, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %179)
  call void @abort() #4
  unreachable

180:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
  %181 = load i32, ptr %9, align 4, !tbaa !14
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %9, align 4, !tbaa !14
  %183 = icmp slt i32 %181, 23
  br i1 %183, label %164, label %163, !llvm.loop !22
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN11LLVMRuntime6createI11NodeManagerJRPS_miEEEPT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(35256), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11NodeManager7recycleEPh(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11NodeManager6locateEPh(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn 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 }
attributes #4 = { noreturn 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 8}
!6 = !{!"_ZTS14RuntimeContext", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!10, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !13, i64 35224}
!19 = !{!"_ZTS11LLVMRuntime", !20, i64 0, !20, i64 24, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !8, i64 88, !8, i64 4184, !7, i64 8280, !7, i64 8288, !8, i64 8296, !8, i64 16488, !8, i64 24680, !7, i64 32872, !7, i64 32880, !7, i64 32888, !7, i64 32896, !7, i64 32904, !8, i64 32912, !8, i64 34960, !10, i64 35216, !13, i64 35224, !7, i64 35232, !10, i64 35240, !10, i64 35244, !13, i64 35248}
!20 = !{!"_ZTS23PreallocatedMemoryChunk", !7, i64 0, !7, i64 8, !13, i64 16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopRotatePass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass