; 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.NodeManager = type <{ ptr, i32, i32, i32, i32, ptr, ptr, ptr, i32, [4 x i8] }>
%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.14 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.23 = 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: 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 nounwind uwtable
declare dso_local noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616)) #2 align 2

; 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() #3

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

23:                                               ; preds = %1
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.NodeManager, ptr %25, i32 0, i32 5
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %27)
  %29 = icmp eq i32 %28, 0
  call void @taichi_assert(ptr noundef %24, i1 noundef zeroext %29, ptr noundef @.str.14)
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.LLVMRuntime, ptr %30, i32 0, i32 22
  %32 = load i64, ptr %31, align 8, !tbaa !17
  %33 = icmp ne i64 %32, 0
  br i1 %33, label %34, label %38

34:                                               ; preds = %23
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.LLVMRuntime, ptr %36, i32 0, i32 19
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef %35, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %37)
  call void @abort() #5
  unreachable

38:                                               ; preds = %23
  br label %39

39:                                               ; preds = %38
  br label %40

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

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

44:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  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.15, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = call noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52) %47)
  %49 = load i32, ptr %10, align 4, !tbaa !14
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [24 x ptr], ptr %9, i64 0, i64 %50
  store ptr %48, ptr %51, align 8, !tbaa !5
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = load i32, ptr %10, align 4, !tbaa !14
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [24 x ptr], ptr %9, i64 0, i64 %54
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %52, ptr noundef @.str.16, ptr noundef nonnull align 8 dereferenceable(8) %55)
  br label %56

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

59:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !14
  br label %60

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

63:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %78

64:                                               ; preds = %60
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %65, ptr noundef @.str.17, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = load i32, ptr %11, align 4, !tbaa !14
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [24 x ptr], ptr %9, i64 0, i64 %68
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %66, ptr noundef @.str.16, ptr noundef nonnull align 8 dereferenceable(8) %69)
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = load i32, ptr %11, align 4, !tbaa !14
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [24 x ptr], ptr %9, i64 0, i64 %72
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  call void @_ZN11NodeManager7recycleEPh(ptr noundef nonnull align 8 dereferenceable(52) %70, ptr noundef %74)
  br label %75

75:                                               ; preds = %64
  %76 = load i32, ptr %11, align 4, !tbaa !14
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %11, align 4, !tbaa !14
  br label %60, !llvm.loop !22

78:                                               ; preds = %63
  br label %79

79:                                               ; preds = %78
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.NodeManager, ptr %81, i32 0, i32 5
  %83 = load ptr, ptr %82, align 8, !tbaa !15
  %84 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %83)
  %85 = icmp eq i32 %84, 0
  call void @taichi_assert(ptr noundef %80, i1 noundef zeroext %85, ptr noundef @.str.14)
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.LLVMRuntime, ptr %86, i32 0, i32 22
  %88 = load i64, ptr %87, align 8, !tbaa !17
  %89 = icmp ne i64 %88, 0
  br i1 %89, label %90, label %94

90:                                               ; preds = %79
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.LLVMRuntime, ptr %92, i32 0, i32 19
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef %91, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %93)
  call void @abort() #5
  unreachable

94:                                               ; preds = %79
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11NodeManager9gc_serialEv(ptr noundef nonnull align 8 dereferenceable(52) %97)
  br label %98

98:                                               ; preds = %96
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.NodeManager, ptr %100, i32 0, i32 5
  %102 = load ptr, ptr %101, align 8, !tbaa !15
  %103 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %102)
  %104 = icmp eq i32 %103, 24
  call void @taichi_assert(ptr noundef %99, i1 noundef zeroext %104, ptr noundef @.str.18)
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.LLVMRuntime, ptr %105, i32 0, i32 22
  %107 = load i64, ptr %106, align 8, !tbaa !17
  %108 = icmp ne i64 %107, 0
  br i1 %108, label %109, label %113

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

113:                                              ; preds = %98
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !14
  br label %116

116:                                              ; preds = %131, %115
  %117 = load i32, ptr %12, align 4, !tbaa !14
  %118 = icmp slt i32 %117, 12
  br i1 %118, label %120, label %119

119:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %134

120:                                              ; preds = %116
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %121, ptr noundef @.str.19, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = call noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52) %122)
  %124 = load i32, ptr %12, align 4, !tbaa !14
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [24 x ptr], ptr %9, i64 0, i64 %125
  store ptr %123, ptr %126, align 8, !tbaa !5
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = load i32, ptr %12, align 4, !tbaa !14
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [24 x ptr], ptr %9, i64 0, i64 %129
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %127, ptr noundef @.str.20, ptr noundef nonnull align 8 dereferenceable(8) %130)
  br label %131

131:                                              ; preds = %120
  %132 = load i32, ptr %12, align 4, !tbaa !14
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %12, align 4, !tbaa !14
  br label %116, !llvm.loop !23

134:                                              ; preds = %119
  br label %135

135:                                              ; preds = %134
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.NodeManager, ptr %137, i32 0, i32 4
  %139 = load i32, ptr %138, align 4, !tbaa !24
  %140 = icmp eq i32 %139, 12
  call void @taichi_assert(ptr noundef %136, i1 noundef zeroext %140, ptr noundef @.str.21)
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.LLVMRuntime, ptr %141, i32 0, i32 22
  %143 = load i64, ptr %142, align 8, !tbaa !17
  %144 = icmp ne i64 %143, 0
  br i1 %144, label %145, label %149

145:                                              ; preds = %135
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.LLVMRuntime, ptr %147, i32 0, i32 19
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef %146, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %148)
  call void @abort() #5
  unreachable

149:                                              ; preds = %135
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !14
  br label %152

152:                                              ; preds = %167, %151
  %153 = load i32, ptr %13, align 4, !tbaa !14
  %154 = icmp slt i32 %153, 12
  br i1 %154, label %156, label %155

155:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %170

156:                                              ; preds = %152
  %157 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %157, ptr noundef @.str.22, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = load i32, ptr %13, align 4, !tbaa !14
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [24 x ptr], ptr %9, i64 0, i64 %160
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %158, ptr noundef @.str.20, ptr noundef nonnull align 8 dereferenceable(8) %161)
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = load i32, ptr %13, align 4, !tbaa !14
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [24 x ptr], ptr %9, i64 0, i64 %164
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  call void @_ZN11NodeManager7recycleEPh(ptr noundef nonnull align 8 dereferenceable(52) %162, ptr noundef %166)
  br label %167

167:                                              ; preds = %156
  %168 = load i32, ptr %13, align 4, !tbaa !14
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %13, align 4, !tbaa !14
  br label %152, !llvm.loop !25

170:                                              ; preds = %155
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11NodeManager9gc_serialEv(ptr noundef nonnull align 8 dereferenceable(52) %171)
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.NodeManager, ptr %173, i32 0, i32 5
  %175 = load ptr, ptr %174, align 8, !tbaa !15
  %176 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %175)
  store i32 %176, ptr %14, align 4, !tbaa !14
  call void @_Z13taichi_printfIJiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %172, ptr noundef @.str.23, ptr noundef nonnull align 4 dereferenceable(4) %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %177

177:                                              ; preds = %170
  %178 = load ptr, ptr %2, align 8, !tbaa !5
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.NodeManager, ptr %179, i32 0, i32 5
  %181 = load ptr, ptr %180, align 8, !tbaa !15
  %182 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %181)
  %183 = icmp eq i32 %182, 24
  call void @taichi_assert(ptr noundef %178, i1 noundef zeroext %183, ptr noundef @.str.18)
  %184 = load ptr, ptr %3, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.LLVMRuntime, ptr %184, i32 0, i32 22
  %186 = load i64, ptr %185, align 8, !tbaa !17
  %187 = icmp ne i64 %186, 0
  br i1 %187, label %188, label %192

188:                                              ; preds = %177
  %189 = load ptr, ptr %3, align 8, !tbaa !5
  %190 = load ptr, ptr %3, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.LLVMRuntime, ptr %190, i32 0, i32 19
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef %189, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %191)
  call void @abort() #5
  unreachable

192:                                              ; preds = %177
  br label %193

193:                                              ; preds = %192
  br label %194

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

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

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 = { 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!16, !6, i64 24}
!16 = !{!"_ZTS11NodeManager", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48}
!17 = !{!18, !13, i64 35224}
!18 = !{!"_ZTS11LLVMRuntime", !19, i64 0, !19, 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}
!19 = !{!"_ZTS23PreallocatedMemoryChunk", !6, i64 0, !6, i64 8, !13, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = !{!16, !11, i64 20}
!25 = distinct !{!25, !21}


; 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.14 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 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 nounwind uwtable
declare dso_local noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616)) local_unnamed_addr #2 align 2

; 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 #3

; 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
define dso_local noundef i32 @test_node_allocator_gc_cpu(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) #4
  %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) #4
  store i64 8, ptr %3, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  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) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %5) #4
  %15 = getelementptr inbounds i8, ptr %14, i64 24
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %17 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %16)
  %18 = icmp eq i32 %17, 0
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %18, ptr noundef nonnull @.str.14)
  %19 = load ptr, ptr %2, align 8, !tbaa !11
  %20 = getelementptr inbounds i8, ptr %19, i64 35224
  %21 = load i64, ptr %20, align 8, !tbaa !17
  %.not = icmp eq i64 %21, 0
  br i1 %.not, label %24, label %22

22:                                               ; preds = %1
  %23 = getelementptr inbounds i8, ptr %19, i64 32912
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef nonnull %19, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %23)
  call void @abort() #5
  unreachable

24:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %26

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

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

36:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  %37 = load ptr, ptr %15, align 8, !tbaa !15
  %38 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %37)
  %39 = icmp eq i32 %38, 0
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %39, ptr noundef nonnull @.str.14)
  %40 = load ptr, ptr %2, align 8, !tbaa !11
  %41 = getelementptr inbounds i8, ptr %40, i64 35224
  %42 = load i64, ptr %41, align 8, !tbaa !17
  %.not20 = icmp eq i64 %42, 0
  br i1 %.not20, label %58, label %56

43:                                               ; preds = %25, %43
  %44 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %44, ptr noundef nonnull @.str.17, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %45 = load ptr, ptr %2, align 8, !tbaa !11
  %46 = load i32, ptr %7, align 4, !tbaa !14
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %47
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %45, ptr noundef nonnull @.str.16, ptr noundef nonnull align 8 dereferenceable(8) %48)
  %49 = load i32, ptr %7, align 4, !tbaa !14
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %50
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  call void @_ZN11NodeManager7recycleEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %52)
  %53 = load i32, ptr %7, align 4, !tbaa !14
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %7, align 4, !tbaa !14
  %55 = icmp slt i32 %53, 23
  br i1 %55, label %43, label %36, !llvm.loop !22

56:                                               ; preds = %36
  %57 = getelementptr inbounds i8, ptr %40, i64 32912
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef nonnull %40, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %57)
  call void @abort() #5
  unreachable

58:                                               ; preds = %36
  call void @_ZN11NodeManager9gc_serialEv(ptr noundef nonnull align 8 dereferenceable(52) %14)
  %59 = load ptr, ptr %15, align 8, !tbaa !15
  %60 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %59)
  %61 = icmp eq i32 %60, 24
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %61, ptr noundef nonnull @.str.18)
  %62 = load ptr, ptr %2, align 8, !tbaa !11
  %63 = getelementptr inbounds i8, ptr %62, i64 35224
  %64 = load i64, ptr %63, align 8, !tbaa !17
  %.not21 = icmp eq i64 %64, 0
  br i1 %.not21, label %67, label %65

65:                                               ; preds = %58
  %66 = getelementptr inbounds i8, ptr %62, i64 32912
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef nonnull %62, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %66)
  call void @abort() #5
  unreachable

67:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  store i32 0, ptr %8, align 4, !tbaa !14
  br label %75

68:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  %69 = getelementptr inbounds i8, ptr %14, i64 20
  %70 = load i32, ptr %69, align 4, !tbaa !23
  %71 = icmp eq i32 %70, 12
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %71, ptr noundef nonnull @.str.21)
  %72 = load ptr, ptr %2, align 8, !tbaa !11
  %73 = getelementptr inbounds i8, ptr %72, i64 35224
  %74 = load i64, ptr %73, align 8, !tbaa !17
  %.not23 = icmp eq i64 %74, 0
  br i1 %.not23, label %87, label %85

75:                                               ; preds = %67, %75
  %76 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %76, ptr noundef nonnull @.str.19, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %77 = call noundef ptr @_ZN11NodeManager8allocateEv(ptr noundef nonnull align 8 dereferenceable(52) %14)
  %78 = load i32, ptr %8, align 4, !tbaa !14
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %79
  store ptr %77, ptr %80, align 8, !tbaa !11
  %81 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %81, ptr noundef nonnull @.str.20, ptr noundef nonnull align 8 dereferenceable(8) %80)
  %82 = load i32, ptr %8, align 4, !tbaa !14
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %8, align 4, !tbaa !14
  %84 = icmp slt i32 %82, 11
  br i1 %84, label %75, label %68, !llvm.loop !24

85:                                               ; preds = %68
  %86 = getelementptr inbounds i8, ptr %72, i64 32912
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef nonnull %72, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %86)
  call void @abort() #5
  unreachable

87:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  store i32 0, ptr %9, align 4, !tbaa !14
  br label %98

88:                                               ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  call void @_ZN11NodeManager9gc_serialEv(ptr noundef nonnull align 8 dereferenceable(52) %14)
  %89 = load ptr, ptr %2, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  %90 = load ptr, ptr %15, align 8, !tbaa !15
  %91 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %90)
  store i32 %91, ptr %10, align 4, !tbaa !14
  call void @_Z13taichi_printfIJiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %89, ptr noundef nonnull @.str.23, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  %92 = load ptr, ptr %15, align 8, !tbaa !15
  %93 = call noundef i32 @_ZN11ListManager4sizeEv(ptr noundef nonnull align 8 dereferenceable(1048616) %92)
  %94 = icmp eq i32 %93, 24
  call void @taichi_assert(ptr noundef %0, i1 noundef zeroext %94, ptr noundef nonnull @.str.18)
  %95 = load ptr, ptr %2, align 8, !tbaa !11
  %96 = getelementptr inbounds i8, ptr %95, i64 35224
  %97 = load i64, ptr %96, align 8, !tbaa !17
  %.not25 = icmp eq i64 %97, 0
  br i1 %.not25, label %113, label %111

98:                                               ; preds = %87, %98
  %99 = load ptr, ptr %2, align 8, !tbaa !11
  call void @_Z13taichi_printfIJRiEEvP11LLVMRuntimePKcDpOT_(ptr noundef %99, ptr noundef nonnull @.str.22, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %100 = load ptr, ptr %2, align 8, !tbaa !11
  %101 = load i32, ptr %9, align 4, !tbaa !14
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %102
  call void @_Z13taichi_printfIJRPhEEvP11LLVMRuntimePKcDpOT_(ptr noundef %100, ptr noundef nonnull @.str.20, ptr noundef nonnull align 8 dereferenceable(8) %103)
  %104 = load i32, ptr %9, align 4, !tbaa !14
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [24 x ptr], ptr %5, i64 0, i64 %105
  %107 = load ptr, ptr %106, align 8, !tbaa !11
  call void @_ZN11NodeManager7recycleEPh(ptr noundef nonnull align 8 dereferenceable(52) %14, ptr noundef %107)
  %108 = load i32, ptr %9, align 4, !tbaa !14
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %9, align 4, !tbaa !14
  %110 = icmp slt i32 %108, 11
  br i1 %110, label %98, label %88, !llvm.loop !25

111:                                              ; preds = %88
  %112 = getelementptr inbounds i8, ptr %95, i64 32912
  call void @_Z13taichi_printfIJRA2048_cEEvP11LLVMRuntimePKcDpOT_(ptr noundef nonnull %95, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(2048) %112)
  call void @abort() #5
  unreachable

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

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

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 = { 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!16, !7, i64 24}
!16 = !{!"_ZTS11NodeManager", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48}
!17 = !{!18, !13, i64 35224}
!18 = !{!"_ZTS11LLVMRuntime", !19, i64 0, !19, 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}
!19 = !{!"_ZTS23PreallocatedMemoryChunk", !7, i64 0, !7, i64 8, !13, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!16, !10, i64 20}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass