; LLVM IR from knizhnik/cppgc :: samples (mallocbench)

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

%class.FixedAllocator = type { ptr }
%class.StackAllocator = type { ptr, ptr, ptr, i64, i64 }
%"class.GC::ThreadContext" = type { %"class.GC::ThreadContextImpl" }
%"class.GC::ThreadContextImpl" = type { i32 }
%"class.boost::shared_ptr" = type { ptr, %"class.boost::detail::shared_count" }
%"class.boost::detail::shared_count" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.GC::MemoryAllocator" = type { i64, ptr, ptr, ptr, i64, i64 }
%"class.GC::ArrayVar" = type { %"class.GC::Root", [16384 x ptr] }
%"class.GC::Root" = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [43 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca [16384 x ptr], align 16
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca %class.FixedAllocator, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %class.StackAllocator, align 8
  %11 = alloca %"class.GC::ThreadContext", align 4
  %12 = alloca i64, align 8
  %13 = alloca [16384 x %"class.boost::shared_ptr"], align 16
  %14 = alloca i64, align 8
  %15 = alloca %"class.boost::shared_ptr", align 8
  %16 = alloca [16384 x %"class.std::shared_ptr"], align 16
  %17 = alloca i64, align 8
  %18 = alloca %"class.std::shared_ptr", align 8
  %19 = alloca %"class.GC::MemoryAllocator", align 8
  %20 = alloca %"class.GC::ArrayVar", align 8
  %21 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 131072, ptr %2) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #11
  %22 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %22, i8 0, i64 131072, i1 false)
  %23 = call i64 @time(ptr noundef null) #11
  store i64 %23, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #11
  store i64 0, ptr %4, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %40, %0
  %25 = load i64, ptr %4, align 8, !tbaa !5
  %26 = icmp ult i64 %25, 1000000000
  br i1 %26, label %28, label %27

27:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #11
  br label %43

28:                                               ; preds = %24
  %29 = load i64, ptr %4, align 8, !tbaa !5
  %30 = urem i64 %29, 16384
  %31 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 %30
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = icmp eq ptr %32, null
  br i1 %33, label %35, label %34

34:                                               ; preds = %28
  call void @_ZdlPvm(ptr noundef %32, i64 noundef 80) #12
  br label %35

35:                                               ; preds = %34, %28
  %36 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #13
  call void @llvm.memset.p0.i64(ptr align 16 %36, i8 0, i64 80, i1 false)
  %37 = load i64, ptr %4, align 8, !tbaa !5
  %38 = urem i64 %37, 16384
  %39 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 %38
  store ptr %36, ptr %39, align 8, !tbaa !9
  br label %40

40:                                               ; preds = %35
  %41 = load i64, ptr %4, align 8, !tbaa !5
  %42 = add i64 %41, 1
  store i64 %42, ptr %4, align 8, !tbaa !5
  br label %24, !llvm.loop !11

43:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #11
  store i64 0, ptr %5, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %55, %43
  %45 = load i64, ptr %5, align 8, !tbaa !5
  %46 = icmp ult i64 %45, 16384
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #11
  br label %58

48:                                               ; preds = %44
  %49 = load i64, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 %49
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = icmp eq ptr %51, null
  br i1 %52, label %54, label %53

53:                                               ; preds = %48
  call void @_ZdlPvm(ptr noundef %51, i64 noundef 80) #12
  br label %54

54:                                               ; preds = %53, %48
  br label %55

55:                                               ; preds = %54
  %56 = load i64, ptr %5, align 8, !tbaa !5
  %57 = add i64 %56, 1
  store i64 %57, ptr %5, align 8, !tbaa !5
  br label %44, !llvm.loop !13

58:                                               ; preds = %47
  %59 = call i64 @time(ptr noundef null) #11
  %60 = load i64, ptr %3, align 8, !tbaa !5
  %61 = sub nsw i64 %59, %60
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %61)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #11
  call void @_ZN14FixedAllocatorI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %63 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %63, i8 0, i64 131072, i1 false)
  %64 = call i64 @time(ptr noundef null) #11
  store i64 %64, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #11
  store i64 0, ptr %7, align 8, !tbaa !5
  br label %65

65:                                               ; preds = %80, %58
  %66 = load i64, ptr %7, align 8, !tbaa !5
  %67 = icmp ult i64 %66, 1000000000
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #11
  br label %87

69:                                               ; preds = %65
  %70 = load i64, ptr %7, align 8, !tbaa !5
  %71 = urem i64 %70, 16384
  %72 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 %71
  %73 = load ptr, ptr %72, align 8, !tbaa !9
  invoke void @_ZN14FixedAllocatorI6ObjectE4freeEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef %73)
          to label %74 unwind label %83

74:                                               ; preds = %69
  %75 = invoke noundef ptr @_ZN14FixedAllocatorI6ObjectE8allocateEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %76 unwind label %83

76:                                               ; preds = %74
  %77 = load i64, ptr %7, align 8, !tbaa !5
  %78 = urem i64 %77, 16384
  %79 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 %78
  store ptr %75, ptr %79, align 8, !tbaa !9
  br label %80

80:                                               ; preds = %76
  %81 = load i64, ptr %7, align 8, !tbaa !5
  %82 = add i64 %81, 1
  store i64 %82, ptr %7, align 8, !tbaa !5
  br label %65, !llvm.loop !14

83:                                               ; preds = %74, %69
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %8, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #11
  call void @_ZN14FixedAllocatorI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #11
  br label %260

87:                                               ; preds = %68
  call void @_ZN14FixedAllocatorI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #11
  %88 = call i64 @time(ptr noundef null) #11
  %89 = load i64, ptr %3, align 8, !tbaa !5
  %90 = sub nsw i64 %88, %89
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %90)
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #11
  call void @_ZN14StackAllocatorC2Em(ptr noundef nonnull align 8 dereferenceable(40) %10, i64 noundef 65536)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  invoke void @_ZN2GC13ThreadContextI14StackAllocatorEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %92 unwind label %100

92:                                               ; preds = %87
  invoke void @_ZN2GC17ThreadContextImpl3setEPv(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef %10)
          to label %93 unwind label %104

93:                                               ; preds = %92
  %94 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %94, i8 0, i64 131072, i1 false)
  %95 = call i64 @time(ptr noundef null) #11
  store i64 %95, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  store i64 0, ptr %12, align 8, !tbaa !5
  br label %96

96:                                               ; preds = %128, %93
  %97 = load i64, ptr %12, align 8, !tbaa !5
  %98 = icmp ult i64 %97, 1000000000
  br i1 %98, label %108, label %99

99:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  br label %131

100:                                              ; preds = %87
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %8, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %9, align 4
  br label %149

104:                                              ; preds = %92
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %8, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %9, align 4
  br label %148

108:                                              ; preds = %96
  %109 = load i64, ptr %12, align 8, !tbaa !5
  %110 = urem i64 %109, 16384
  %111 = icmp eq i64 %110, 0
  br i1 %111, label %112, label %120

112:                                              ; preds = %108
  %113 = invoke noundef ptr @_ZN2GC13ThreadContextI14StackAllocatorE3getEv(ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %114 unwind label %116

114:                                              ; preds = %112
  invoke void @_ZN14StackAllocator5resetEv(ptr noundef nonnull align 8 dereferenceable(40) %113)
          to label %115 unwind label %116

115:                                              ; preds = %114
  br label %120

116:                                              ; preds = %122, %120, %114, %112
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %8, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  br label %148

120:                                              ; preds = %115, %108
  %121 = invoke noundef ptr @_ZN2GC13ThreadContextI14StackAllocatorE3getEv(ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %122 unwind label %116

122:                                              ; preds = %120
  %123 = invoke noundef ptr @_ZN14StackAllocator8allocateI6ObjectEEPT_v(ptr noundef nonnull align 8 dereferenceable(40) %121)
          to label %124 unwind label %116

124:                                              ; preds = %122
  %125 = load i64, ptr %12, align 8, !tbaa !5
  %126 = urem i64 %125, 16384
  %127 = getelementptr inbounds [16384 x ptr], ptr %2, i64 0, i64 %126
  store ptr %123, ptr %127, align 8, !tbaa !9
  br label %128

128:                                              ; preds = %124
  %129 = load i64, ptr %12, align 8, !tbaa !5
  %130 = add i64 %129, 1
  store i64 %130, ptr %12, align 8, !tbaa !5
  br label %96, !llvm.loop !15

131:                                              ; preds = %99
  call void @_ZN2GC17ThreadContextImplD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %11) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  call void @_ZN14StackAllocatorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #11
  %132 = call i64 @time(ptr noundef null) #11
  %133 = load i64, ptr %3, align 8, !tbaa !5
  %134 = sub nsw i64 %132, %133
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %134)
  call void @llvm.lifetime.start.p0(i64 262144, ptr %13) #11
  %136 = getelementptr inbounds [16384 x %"class.boost::shared_ptr"], ptr %13, i32 0, i32 0
  %137 = getelementptr inbounds %"class.boost::shared_ptr", ptr %136, i64 16384
  br label %138

138:                                              ; preds = %138, %131
  %139 = phi ptr [ %136, %131 ], [ %140, %138 ]
  call void @_ZN5boost10shared_ptrI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %139) #11
  %140 = getelementptr inbounds %"class.boost::shared_ptr", ptr %139, i64 1
  %141 = icmp eq ptr %140, %137
  br i1 %141, label %142, label %138

142:                                              ; preds = %138
  %143 = call i64 @time(ptr noundef null) #11
  store i64 %143, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #11
  store i64 0, ptr %14, align 8, !tbaa !5
  br label %144

144:                                              ; preds = %158, %142
  %145 = load i64, ptr %14, align 8, !tbaa !5
  %146 = icmp ult i64 %145, 1000000000
  br i1 %146, label %150, label %147

147:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  br label %167

148:                                              ; preds = %116, %104
  call void @_ZN2GC17ThreadContextImplD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %11) #11
  br label %149

149:                                              ; preds = %148, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  call void @_ZN14StackAllocatorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #11
  br label %260

150:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #11
  %151 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #13
          to label %152 unwind label %161

152:                                              ; preds = %150
  call void @llvm.memset.p0.i64(ptr align 16 %151, i8 0, i64 80, i1 false)
  invoke void @_ZN5boost10shared_ptrI6ObjectEC2IS1_EEPT_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %151)
          to label %153 unwind label %161

153:                                              ; preds = %152
  %154 = load i64, ptr %14, align 8, !tbaa !5
  %155 = urem i64 %154, 16384
  %156 = getelementptr inbounds [16384 x %"class.boost::shared_ptr"], ptr %13, i64 0, i64 %155
  %157 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost10shared_ptrI6ObjectEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %156, ptr noundef nonnull align 8 dereferenceable(16) %15) #11
  call void @_ZN5boost10shared_ptrI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #11
  br label %158

158:                                              ; preds = %153
  %159 = load i64, ptr %14, align 8, !tbaa !5
  %160 = add i64 %159, 1
  store i64 %160, ptr %14, align 8, !tbaa !5
  br label %144, !llvm.loop !16

161:                                              ; preds = %152, %150
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %8, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  %165 = getelementptr inbounds [16384 x %"class.boost::shared_ptr"], ptr %13, i32 0, i32 0
  %166 = getelementptr inbounds %"class.boost::shared_ptr", ptr %165, i64 16384
  br label %191

167:                                              ; preds = %147
  %168 = getelementptr inbounds [16384 x %"class.boost::shared_ptr"], ptr %13, i32 0, i32 0
  %169 = getelementptr inbounds %"class.boost::shared_ptr", ptr %168, i64 16384
  br label %170

170:                                              ; preds = %170, %167
  %171 = phi ptr [ %169, %167 ], [ %172, %170 ]
  %172 = getelementptr inbounds %"class.boost::shared_ptr", ptr %171, i64 -1
  call void @_ZN5boost10shared_ptrI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %172) #11
  %173 = icmp eq ptr %172, %168
  br i1 %173, label %174, label %170

174:                                              ; preds = %170
  call void @llvm.lifetime.end.p0(i64 262144, ptr %13) #11
  %175 = call i64 @time(ptr noundef null) #11
  %176 = load i64, ptr %3, align 8, !tbaa !5
  %177 = sub nsw i64 %175, %176
  %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %177)
  call void @llvm.lifetime.start.p0(i64 262144, ptr %16) #11
  %179 = getelementptr inbounds [16384 x %"class.std::shared_ptr"], ptr %16, i32 0, i32 0
  %180 = getelementptr inbounds %"class.std::shared_ptr", ptr %179, i64 16384
  br label %181

181:                                              ; preds = %181, %174
  %182 = phi ptr [ %179, %174 ], [ %183, %181 ]
  call void @_ZNSt10shared_ptrI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %182) #11
  %183 = getelementptr inbounds %"class.std::shared_ptr", ptr %182, i64 1
  %184 = icmp eq ptr %183, %180
  br i1 %184, label %185, label %181

185:                                              ; preds = %181
  %186 = call i64 @time(ptr noundef null) #11
  store i64 %186, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  store i64 0, ptr %17, align 8, !tbaa !5
  br label %187

187:                                              ; preds = %204, %185
  %188 = load i64, ptr %17, align 8, !tbaa !5
  %189 = icmp ult i64 %188, 1000000000
  br i1 %189, label %196, label %190

190:                                              ; preds = %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  br label %213

191:                                              ; preds = %191, %161
  %192 = phi ptr [ %166, %161 ], [ %193, %191 ]
  %193 = getelementptr inbounds %"class.boost::shared_ptr", ptr %192, i64 -1
  call void @_ZN5boost10shared_ptrI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %193) #11
  %194 = icmp eq ptr %193, %165
  br i1 %194, label %195, label %191

195:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 262144, ptr %13) #11
  br label %260

196:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #11
  %197 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #13
          to label %198 unwind label %207

198:                                              ; preds = %196
  call void @llvm.memset.p0.i64(ptr align 16 %197, i8 0, i64 80, i1 false)
  invoke void @_ZNSt10shared_ptrI6ObjectEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %197)
          to label %199 unwind label %207

199:                                              ; preds = %198
  %200 = load i64, ptr %17, align 8, !tbaa !5
  %201 = urem i64 %200, 16384
  %202 = getelementptr inbounds [16384 x %"class.std::shared_ptr"], ptr %16, i64 0, i64 %201
  %203 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI6ObjectEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16) %202, ptr noundef nonnull align 8 dereferenceable(16) %18) #11
  call void @_ZNSt12__shared_ptrI6ObjectLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #11
  br label %204

204:                                              ; preds = %199
  %205 = load i64, ptr %17, align 8, !tbaa !5
  %206 = add i64 %205, 1
  store i64 %206, ptr %17, align 8, !tbaa !5
  br label %187, !llvm.loop !17

207:                                              ; preds = %198, %196
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %8, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  %211 = getelementptr inbounds [16384 x %"class.std::shared_ptr"], ptr %16, i32 0, i32 0
  %212 = getelementptr inbounds %"class.std::shared_ptr", ptr %211, i64 16384
  br label %231

213:                                              ; preds = %190
  %214 = getelementptr inbounds [16384 x %"class.std::shared_ptr"], ptr %16, i32 0, i32 0
  %215 = getelementptr inbounds %"class.std::shared_ptr", ptr %214, i64 16384
  br label %216

216:                                              ; preds = %216, %213
  %217 = phi ptr [ %215, %213 ], [ %218, %216 ]
  %218 = getelementptr inbounds %"class.std::shared_ptr", ptr %217, i64 -1
  call void @_ZNSt12__shared_ptrI6ObjectLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %218) #11
  %219 = icmp eq ptr %218, %214
  br i1 %219, label %220, label %216

220:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 262144, ptr %16) #11
  %221 = call i64 @time(ptr noundef null) #11
  %222 = load i64, ptr %3, align 8, !tbaa !5
  %223 = sub nsw i64 %221, %222
  %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %223)
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #11
  call void @_ZN2GC15MemoryAllocatorC1Emm(ptr noundef nonnull align 8 dereferenceable(48) %19, i64 noundef 1048576, i64 noundef 1048576)
  call void @llvm.lifetime.start.p0(i64 131088, ptr %20) #11
  invoke void @_ZN2GC8ArrayVarI8GCObjectLm16384EEC2Ev(ptr noundef nonnull align 8 dereferenceable(131088) %20)
          to label %225 unwind label %236

225:                                              ; preds = %220
  %226 = call i64 @time(ptr noundef null) #11
  store i64 %226, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  store i64 0, ptr %21, align 8, !tbaa !5
  br label %227

227:                                              ; preds = %247, %225
  %228 = load i64, ptr %21, align 8, !tbaa !5
  %229 = icmp ult i64 %228, 1000000000
  br i1 %229, label %240, label %230

230:                                              ; preds = %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  br label %254

231:                                              ; preds = %231, %207
  %232 = phi ptr [ %212, %207 ], [ %233, %231 ]
  %233 = getelementptr inbounds %"class.std::shared_ptr", ptr %232, i64 -1
  call void @_ZNSt12__shared_ptrI6ObjectLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %233) #11
  %234 = icmp eq ptr %233, %211
  br i1 %234, label %235, label %231

235:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 262144, ptr %16) #11
  br label %260

236:                                              ; preds = %220
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %8, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %9, align 4
  br label %259

240:                                              ; preds = %227
  %241 = invoke noundef ptr @_ZN2GC6ObjectnwEm(i64 noundef 88)
          to label %242 unwind label %250

242:                                              ; preds = %240
  call void @llvm.memset.p0.i64(ptr align 8 %241, i8 0, i64 88, i1 false)
  call void @_ZN8GCObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %241) #11
  %243 = load i64, ptr %21, align 8, !tbaa !5
  %244 = urem i64 %243, 16384
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2GC8ArrayVarI8GCObjectLm16384EEixEm(ptr noundef nonnull align 8 dereferenceable(131088) %20, i64 noundef %244)
          to label %246 unwind label %250

246:                                              ; preds = %242
  store ptr %241, ptr %245, align 8, !tbaa !9
  br label %247

247:                                              ; preds = %246
  %248 = load i64, ptr %21, align 8, !tbaa !5
  %249 = add i64 %248, 1
  store i64 %249, ptr %21, align 8, !tbaa !5
  br label %227, !llvm.loop !18

250:                                              ; preds = %242, %240
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %8, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  call void @_ZN2GC4RootD2Ev(ptr noundef nonnull align 8 dereferenceable(131088) %20) #11
  br label %259

254:                                              ; preds = %230
  call void @_ZN2GC4RootD2Ev(ptr noundef nonnull align 8 dereferenceable(131088) %20) #11
  call void @llvm.lifetime.end.p0(i64 131088, ptr %20) #11
  call void @_ZN2GC15MemoryAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #11
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #11
  %255 = call i64 @time(ptr noundef null) #11
  %256 = load i64, ptr %3, align 8, !tbaa !5
  %257 = sub nsw i64 %255, %256
  %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %257)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #11
  call void @llvm.lifetime.end.p0(i64 131072, ptr %2) #11
  ret i32 0

259:                                              ; preds = %250, %236
  call void @llvm.lifetime.end.p0(i64 131088, ptr %20) #11
  call void @_ZN2GC15MemoryAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #11
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #11
  br label %260

260:                                              ; preds = %259, %235, %195, %149, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #11
  call void @llvm.lifetime.end.p0(i64 131072, ptr %2) #11
  br label %261

261:                                              ; preds = %260
  %262 = load ptr, ptr %8, align 8
  %263 = load i32, ptr %9, align 4
  %264 = insertvalue { ptr, i32 } poison, ptr %262, 0
  %265 = insertvalue { ptr, i32 } %264, i32 %263, 1
  resume { ptr, i32 } %265
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14FixedAllocatorI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14FixedAllocatorI6ObjectE4freeEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #7 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14FixedAllocatorI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14StackAllocatorC2Em(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2GC13ThreadContextI14StackAllocatorEC2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #9 align 2

declare void @_ZN2GC17ThreadContextImpl3setEPv(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14StackAllocator5resetEv(ptr noundef nonnull align 8 dereferenceable(40)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN14StackAllocator8allocateI6ObjectEEPT_v(ptr noundef nonnull align 8 dereferenceable(40)) #8 align 2

; Function Attrs: nounwind
declare void @_ZN2GC17ThreadContextImplD2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14StackAllocatorD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost10shared_ptrI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost10shared_ptrI6ObjectEC2IS1_EEPT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost10shared_ptrI6ObjectEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost10shared_ptrI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #10 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt10shared_ptrI6ObjectEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI6ObjectEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #7 align 2

declare void @_ZN2GC15MemoryAllocatorC1Emm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef) unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2GC8ArrayVarI8GCObjectLm16384EEC2Ev(ptr noundef nonnull align 8 dereferenceable(131088)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN2GC6ObjectnwEm(i64 noundef) #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8GCObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #10 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN2GC8ArrayVarI8GCObjectLm16384EEixEm(ptr noundef nonnull align 8 dereferenceable(131088), i64 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2GC4RootD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

; Function Attrs: nounwind
declare void @_ZN2GC15MemoryAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrI6ObjectLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 = { nobuiltin 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 #5 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 #7 = { 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 #8 = { 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 #9 = { inlinehint 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 #10 = { 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 #11 = { nounwind }
attributes #12 = { builtin nounwind }
attributes #13 = { builtin allocsize(0) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


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

%class.FixedAllocator = type { ptr }
%class.StackAllocator = type { ptr, ptr, ptr, i64, i64 }
%"class.GC::ThreadContext" = type { %"class.GC::ThreadContextImpl" }
%"class.GC::ThreadContextImpl" = type { i32 }
%"class.boost::shared_ptr" = type { ptr, %"class.boost::detail::shared_count" }
%"class.boost::detail::shared_count" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.GC::MemoryAllocator" = type { i64, ptr, ptr, ptr, i64, i64 }
%"class.GC::ArrayVar" = type { %"class.GC::Root", [16384 x ptr] }
%"class.GC::Root" = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [43 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca [16384 x ptr], align 16
  %2 = alloca %class.FixedAllocator, align 8
  %3 = alloca %class.StackAllocator, align 8
  %4 = alloca %"class.GC::ThreadContext", align 4
  %5 = alloca [16384 x %"class.boost::shared_ptr"], align 16
  %6 = alloca %"class.boost::shared_ptr", align 8
  %7 = alloca [16384 x %"class.std::shared_ptr"], align 16
  %8 = alloca %"class.std::shared_ptr", align 8
  %9 = alloca %"class.GC::MemoryAllocator", align 8
  %10 = alloca %"class.GC::ArrayVar", align 8
  call void @llvm.lifetime.start.p0(i64 131072, ptr nonnull %1) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(131072) %1, i8 0, i64 131072, i1 false)
  %11 = tail call i64 @time(ptr noundef null) #12
  br label %12

12:                                               ; preds = %0, %18
  %.04163 = phi i64 [ 0, %0 ], [ %20, %18 ]
  %13 = and i64 %.04163, 16383
  %14 = getelementptr inbounds [16384 x ptr], ptr %1, i64 0, i64 %13
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = icmp eq ptr %15, null
  br i1 %16, label %18, label %17

17:                                               ; preds = %12
  tail call void @_ZdlPvm(ptr noundef nonnull %15, i64 noundef 80) #13
  br label %18

18:                                               ; preds = %17, %12
  %19 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #14
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %19, i8 0, i64 80, i1 false)
  store ptr %19, ptr %14, align 8, !tbaa !5
  %20 = add nuw nsw i64 %.04163, 1
  %exitcond.not = icmp eq i64 %20, 1000000000
  br i1 %exitcond.not, label %.preheader62, label %12, !llvm.loop !9

21:                                               ; preds = %30
  %22 = tail call i64 @time(ptr noundef null) #12
  %23 = sub nsw i64 %22, %11
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i64 noundef %23)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #12
  call void @_ZN14FixedAllocatorI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(131072) %1, i8 0, i64 131072, i1 false)
  %25 = call i64 @time(ptr noundef null) #12
  br label %36

.preheader62:                                     ; preds = %18, %30
  %.04064 = phi i64 [ %31, %30 ], [ 0, %18 ]
  %26 = getelementptr inbounds [16384 x ptr], ptr %1, i64 0, i64 %.04064
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  %28 = icmp eq ptr %27, null
  br i1 %28, label %30, label %29

29:                                               ; preds = %.preheader62
  tail call void @_ZdlPvm(ptr noundef nonnull %27, i64 noundef 80) #13
  br label %30

30:                                               ; preds = %.preheader62, %29
  %31 = add nuw nsw i64 %.04064, 1
  %exitcond70.not = icmp eq i64 %31, 16384
  br i1 %exitcond70.not, label %21, label %.preheader62, !llvm.loop !11

32:                                               ; preds = %41
  call void @_ZN14FixedAllocatorI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #12
  %33 = call i64 @time(ptr noundef null) #12
  %34 = sub nsw i64 %33, %25
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %34)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #12
  call void @_ZN14StackAllocatorC2Em(ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef 65536)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #12
  invoke void @_ZN2GC13ThreadContextI14StackAllocatorEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %45 unwind label %52

36:                                               ; preds = %21, %41
  %.03965 = phi i64 [ 0, %21 ], [ %42, %41 ]
  %37 = and i64 %.03965, 16383
  %38 = getelementptr inbounds [16384 x ptr], ptr %1, i64 0, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  call void @_ZN14FixedAllocatorI6ObjectE4freeEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %39)
  %40 = invoke noundef ptr @_ZN14FixedAllocatorI6ObjectE8allocateEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %41 unwind label %43

41:                                               ; preds = %36
  store ptr %40, ptr %38, align 8, !tbaa !5
  %42 = add nuw nsw i64 %.03965, 1
  %exitcond71.not = icmp eq i64 %42, 1000000000
  br i1 %exitcond71.not, label %32, label %36, !llvm.loop !12

43:                                               ; preds = %36
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14FixedAllocatorI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #12
  br label %144

45:                                               ; preds = %32
  invoke void @_ZN2GC17ThreadContextImpl3setEPv(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull %3)
          to label %46 unwind label %54

46:                                               ; preds = %45
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(131072) %1, i8 0, i64 131072, i1 false)
  %47 = call i64 @time(ptr noundef null) #12
  br label %56

48:                                               ; preds = %68
  call void @_ZN2GC17ThreadContextImplD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %4) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #12
  call void @_ZN14StackAllocatorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #12
  %49 = call i64 @time(ptr noundef null) #12
  %50 = sub nsw i64 %49, %47
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %50)
  call void @llvm.lifetime.start.p0(i64 262144, ptr nonnull %5) #12
  br label %71

52:                                               ; preds = %32
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %77

54:                                               ; preds = %45
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %76

56:                                               ; preds = %46, %68
  %.03366 = phi i64 [ 0, %46 ], [ %70, %68 ]
  %57 = and i64 %.03366, 16383
  %58 = icmp eq i64 %57, 0
  br i1 %58, label %59, label %64

59:                                               ; preds = %56
  %60 = invoke noundef ptr @_ZN2GC13ThreadContextI14StackAllocatorE3getEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %61 unwind label %62

61:                                               ; preds = %59
  call void @_ZN14StackAllocator5resetEv(ptr noundef nonnull align 8 dereferenceable(40) %60)
  br label %64

62:                                               ; preds = %66, %64, %59
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %76

64:                                               ; preds = %61, %56
  %65 = invoke noundef ptr @_ZN2GC13ThreadContextI14StackAllocatorE3getEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %66 unwind label %62

66:                                               ; preds = %64
  %67 = invoke noundef ptr @_ZN14StackAllocator8allocateI6ObjectEEPT_v(ptr noundef nonnull align 8 dereferenceable(40) %65)
          to label %68 unwind label %62

68:                                               ; preds = %66
  %69 = getelementptr inbounds [16384 x ptr], ptr %1, i64 0, i64 %57
  store ptr %67, ptr %69, align 8, !tbaa !5
  %70 = add nuw nsw i64 %.03366, 1
  %exitcond72.not = icmp eq i64 %70, 1000000000
  br i1 %exitcond72.not, label %48, label %56, !llvm.loop !13

71:                                               ; preds = %71, %48
  %.idx = phi i64 [ 0, %48 ], [ %.add, %71 ]
  %.ptr = getelementptr inbounds i8, ptr %5, i64 %.idx
  call void @_ZN5boost10shared_ptrI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr) #12
  %.add = add nuw nsw i64 %.idx, 16
  %72 = icmp eq i64 %.add, 262144
  br i1 %72, label %73, label %71

73:                                               ; preds = %71
  %74 = getelementptr inbounds i8, ptr %5, i64 262144
  %75 = call i64 @time(ptr noundef null) #12
  br label %78

76:                                               ; preds = %62, %54
  %.pn56 = phi { ptr, i32 } [ %63, %62 ], [ %55, %54 ]
  call void @_ZN2GC17ThreadContextImplD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %4) #12
  br label %77

77:                                               ; preds = %76, %52
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %76 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #12
  call void @_ZN14StackAllocatorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #12
  br label %144

78:                                               ; preds = %73, %81
  %.03267 = phi i64 [ 0, %73 ], [ %85, %81 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #12
  %79 = invoke noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #14
          to label %80 unwind label %86

80:                                               ; preds = %78
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %79, i8 0, i64 80, i1 false)
  invoke void @_ZN5boost10shared_ptrI6ObjectEC2IS1_EEPT_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull %79)
          to label %81 unwind label %86

81:                                               ; preds = %80
  %82 = and i64 %.03267, 16383
  %83 = getelementptr inbounds [16384 x %"class.boost::shared_ptr"], ptr %5, i64 0, i64 %82
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost10shared_ptrI6ObjectEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %83, ptr noundef nonnull align 8 dereferenceable(16) %6) #12
  call void @_ZN5boost10shared_ptrI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #12
  %85 = add nuw nsw i64 %.03267, 1
  %exitcond73.not = icmp eq i64 %85, 1000000000
  br i1 %exitcond73.not, label %.preheader61, label %78, !llvm.loop !14

86:                                               ; preds = %80, %78
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #12
  br label %100

.preheader61:                                     ; preds = %81, %.preheader61
  %88 = phi ptr [ %89, %.preheader61 ], [ %74, %81 ]
  %89 = getelementptr inbounds i8, ptr %88, i64 -16
  call void @_ZN5boost10shared_ptrI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %89) #12
  %90 = icmp eq ptr %89, %5
  br i1 %90, label %91, label %.preheader61

91:                                               ; preds = %.preheader61
  call void @llvm.lifetime.end.p0(i64 262144, ptr nonnull %5) #12
  %92 = call i64 @time(ptr noundef null) #12
  %93 = sub nsw i64 %92, %75
  %94 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %93)
  call void @llvm.lifetime.start.p0(i64 262144, ptr nonnull %7) #12
  br label %95

95:                                               ; preds = %95, %91
  %.idx51 = phi i64 [ 0, %91 ], [ %.add52, %95 ]
  %.ptr53 = getelementptr inbounds i8, ptr %7, i64 %.idx51
  call void @_ZNSt10shared_ptrI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr53) #12
  %.add52 = add nuw nsw i64 %.idx51, 16
  %96 = icmp eq i64 %.add52, 262144
  br i1 %96, label %97, label %95

97:                                               ; preds = %95
  %98 = getelementptr inbounds i8, ptr %7, i64 262144
  %99 = call i64 @time(ptr noundef null) #12
  br label %105

100:                                              ; preds = %100, %86
  %101 = phi ptr [ %74, %86 ], [ %102, %100 ]
  %102 = getelementptr inbounds i8, ptr %101, i64 -16
  call void @_ZN5boost10shared_ptrI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %102) #12
  %103 = icmp eq ptr %102, %5
  br i1 %103, label %104, label %100

104:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 262144, ptr nonnull %5) #12
  br label %144

105:                                              ; preds = %97, %108
  %.03168 = phi i64 [ 0, %97 ], [ %112, %108 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #12
  %106 = invoke noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #14
          to label %107 unwind label %113

107:                                              ; preds = %105
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %106, i8 0, i64 80, i1 false)
  invoke void @_ZNSt10shared_ptrI6ObjectEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %106)
          to label %108 unwind label %113

108:                                              ; preds = %107
  %109 = and i64 %.03168, 16383
  %110 = getelementptr inbounds [16384 x %"class.std::shared_ptr"], ptr %7, i64 0, i64 %109
  %111 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI6ObjectEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16) %110, ptr noundef nonnull align 8 dereferenceable(16) %8) #12
  call void @_ZNSt12__shared_ptrI6ObjectLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #12
  %112 = add nuw nsw i64 %.03168, 1
  %exitcond74.not = icmp eq i64 %112, 1000000000
  br i1 %exitcond74.not, label %.preheader, label %105, !llvm.loop !15

113:                                              ; preds = %107, %105
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #12
  br label %128

.preheader:                                       ; preds = %108, %.preheader
  %115 = phi ptr [ %116, %.preheader ], [ %98, %108 ]
  %116 = getelementptr inbounds i8, ptr %115, i64 -16
  call void @_ZNSt12__shared_ptrI6ObjectLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %116) #12
  %117 = icmp eq ptr %116, %7
  br i1 %117, label %118, label %.preheader

118:                                              ; preds = %.preheader
  call void @llvm.lifetime.end.p0(i64 262144, ptr nonnull %7) #12
  %119 = call i64 @time(ptr noundef null) #12
  %120 = sub nsw i64 %119, %99
  %121 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %120)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #12
  call void @_ZN2GC15MemoryAllocatorC1Emm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef 1048576, i64 noundef 1048576)
  call void @llvm.lifetime.start.p0(i64 131088, ptr nonnull %10) #12
  invoke void @_ZN2GC8ArrayVarI8GCObjectLm16384EEC2Ev(ptr noundef nonnull align 8 dereferenceable(131088) %10)
          to label %122 unwind label %133

122:                                              ; preds = %118
  %123 = call i64 @time(ptr noundef null) #12
  br label %135

124:                                              ; preds = %137
  call void @_ZN2GC4RootD2Ev(ptr noundef nonnull align 8 dereferenceable(131088) %10) #12
  call void @llvm.lifetime.end.p0(i64 131088, ptr nonnull %10) #12
  call void @_ZN2GC15MemoryAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #12
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #12
  %125 = call i64 @time(ptr noundef null) #12
  %126 = sub nsw i64 %125, %123
  %127 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i64 noundef %126)
  call void @llvm.lifetime.end.p0(i64 131072, ptr nonnull %1) #12
  ret i32 0

128:                                              ; preds = %128, %113
  %129 = phi ptr [ %98, %113 ], [ %130, %128 ]
  %130 = getelementptr inbounds i8, ptr %129, i64 -16
  call void @_ZNSt12__shared_ptrI6ObjectLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %130) #12
  %131 = icmp eq ptr %130, %7
  br i1 %131, label %132, label %128

132:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 262144, ptr nonnull %7) #12
  br label %144

133:                                              ; preds = %118
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %143

135:                                              ; preds = %122, %137
  %.069 = phi i64 [ 0, %122 ], [ %140, %137 ]
  %136 = invoke noundef ptr @_ZN2GC6ObjectnwEm(i64 noundef 88)
          to label %137 unwind label %141

137:                                              ; preds = %135
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(88) %136, i8 0, i64 88, i1 false)
  call void @_ZN8GCObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %136) #12
  %138 = and i64 %.069, 16383
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2GC8ArrayVarI8GCObjectLm16384EEixEm(ptr noundef nonnull align 8 dereferenceable(131088) %10, i64 noundef %138)
  store ptr %136, ptr %139, align 8, !tbaa !5
  %140 = add nuw nsw i64 %.069, 1
  %exitcond75.not = icmp eq i64 %140, 1000000000
  br i1 %exitcond75.not, label %124, label %135, !llvm.loop !16

141:                                              ; preds = %135
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2GC4RootD2Ev(ptr noundef nonnull align 8 dereferenceable(131088) %10) #12
  br label %143

143:                                              ; preds = %141, %133
  %.pn = phi { ptr, i32 } [ %142, %141 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 131088, ptr nonnull %10) #12
  call void @_ZN2GC15MemoryAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #12
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #12
  br label %144

144:                                              ; preds = %143, %132, %104, %77, %43
  %.pn59 = phi { ptr, i32 } [ %44, %43 ], [ %.pn56.pn, %77 ], [ %87, %104 ], [ %114, %132 ], [ %.pn, %143 ]
  call void @llvm.lifetime.end.p0(i64 131072, ptr nonnull %1) #12
  resume { ptr, i32 } %.pn59
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14FixedAllocatorI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14FixedAllocatorI6ObjectE4freeEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #7 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14FixedAllocatorI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14StackAllocatorC2Em(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2GC13ThreadContextI14StackAllocatorEC2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #9 align 2

declare void @_ZN2GC17ThreadContextImpl3setEPv(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef) local_unnamed_addr #10

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14StackAllocator5resetEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #7 align 2

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

; Function Attrs: nounwind
declare void @_ZN2GC17ThreadContextImplD2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14StackAllocatorD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost10shared_ptrI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost10shared_ptrI6ObjectEC2IS1_EEPT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost10shared_ptrI6ObjectEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost10shared_ptrI6ObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #11 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrI6ObjectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt10shared_ptrI6ObjectEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI6ObjectEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #7 align 2

declare void @_ZN2GC15MemoryAllocatorC1Emm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef) unnamed_addr #10

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2GC8ArrayVarI8GCObjectLm16384EEC2Ev(ptr noundef nonnull align 8 dereferenceable(131088)) unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN2GC6ObjectnwEm(i64 noundef) local_unnamed_addr #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8GCObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #11 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN2GC8ArrayVarI8GCObjectLm16384EEixEm(ptr noundef nonnull align 8 dereferenceable(131088), i64 noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2GC4RootD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

; Function Attrs: nounwind
declare void @_ZN2GC15MemoryAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrI6ObjectLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7 align 2

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 = { nobuiltin 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 #5 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { inlinehint 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 #10 = { "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 #11 = { 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 #12 = { nounwind }
attributes #13 = { builtin nounwind }
attributes #14 = { builtin allocsize(0) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}


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