; LLVM IR from cruppstahl/upscaledb :: tools/ups_bench/upscaledb.ll (ZN15UpscaleDatabase13do_create_envEv)

; 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.Mutex = type { %"class.boost::mutex" }
%"class.boost::mutex" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.ups_parameter_t = type { i32, i64 }
%"class.boost::unique_lock" = type <{ ptr, i8, [7 x i8] }>
%"class.boost::filesystem::path" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.Database = type { ptr, i32, ptr }
%struct.Configuration = type <{ i8, [3 x i8], i32, i8, i8, i8, [5 x i8], %"class.std::__cxx11::basic_string", i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, i64, i64, i64, i64, i32, i8, [3 x i8], i32, i32, i32, i32, i8, i8, [2 x i8], i32, i8, [3 x i8], i32, i8, i8, i8, i8, i8, [3 x i8], i32, i32, i32, i8, i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i32, i32, i32, i8, i8, [2 x i8], i32, i32, i32, i8, i8, i8, i8, i32, i8, i8, [2 x i8] }>

@_ZN15UpscaleDatabase6ms_envE = external dso_local global ptr, align 8
@_ZN15UpscaleDatabase8ms_mutexE = external dso_local global %class.Mutex, align 8
@_ZN15UpscaleDatabase11ms_refcountE = external dso_local global i32, align 4
@_ZN9upscaledb7Globals21ms_extended_thresholdE = external global i32, align 4
@_ZN9upscaledb7Globals22ms_duplicate_thresholdE = external global i32, align 4
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [42 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN15UpscaleDatabase13do_create_envEv(ptr noundef nonnull align 8 dereferenceable(712) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca [6 x %struct.ups_parameter_t], align 16
  %7 = alloca %"class.boost::unique_lock", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.boost::filesystem::path", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 96, ptr %6) #7
  call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 96, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  call void @_ZN5boost11unique_lockINS_5mutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(9) %7, ptr noundef nonnull align 8 dereferenceable(40) @_ZN15UpscaleDatabase8ms_mutexE)
  %14 = load i32, ptr @_ZN15UpscaleDatabase11ms_refcountE, align 4, !tbaa !9
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr @_ZN15UpscaleDatabase11ms_refcountE, align 4, !tbaa !9
  %16 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = getelementptr inbounds %struct.Configuration, ptr %17, i32 0, i32 51
  %19 = load i32, ptr %18, align 4, !tbaa !13
  store i32 %19, ptr @_ZN9upscaledb7Globals21ms_extended_thresholdE, align 4, !tbaa !9
  %20 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds %struct.Configuration, ptr %21, i32 0, i32 52
  %23 = load i32, ptr %22, align 8, !tbaa !19
  store i32 %23, ptr @_ZN9upscaledb7Globals22ms_duplicate_thresholdE, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !9
  %24 = load ptr, ptr @_ZN15UpscaleDatabase6ms_envE, align 8, !tbaa !5
  %25 = icmp eq ptr %24, null
  br i1 %25, label %26, label %219

26:                                               ; preds = %1
  %27 = load i32, ptr %8, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %28
  %30 = getelementptr inbounds %struct.ups_parameter_t, ptr %29, i32 0, i32 0
  store i32 256, ptr %30, align 16, !tbaa !20
  %31 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = getelementptr inbounds %struct.Configuration, ptr %32, i32 0, i32 40
  %34 = load i32, ptr %33, align 8, !tbaa !22
  %35 = sext i32 %34 to i64
  %36 = load i32, ptr %8, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %37
  %39 = getelementptr inbounds %struct.ups_parameter_t, ptr %38, i32 0, i32 1
  store i64 %35, ptr %39, align 8, !tbaa !23
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %8, align 4, !tbaa !9
  %42 = load i32, ptr %8, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %43
  %45 = getelementptr inbounds %struct.ups_parameter_t, ptr %44, i32 0, i32 0
  store i32 257, ptr %45, align 16, !tbaa !20
  %46 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !11
  %48 = getelementptr inbounds %struct.Configuration, ptr %47, i32 0, i32 41
  %49 = load i32, ptr %48, align 4, !tbaa !24
  %50 = sext i32 %49 to i64
  %51 = load i32, ptr %8, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %52
  %54 = getelementptr inbounds %struct.ups_parameter_t, ptr %53, i32 0, i32 1
  store i64 %50, ptr %54, align 8, !tbaa !23
  %55 = load i32, ptr %8, align 4, !tbaa !9
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %8, align 4, !tbaa !9
  %57 = load i32, ptr %8, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %58
  %60 = getelementptr inbounds %struct.ups_parameter_t, ptr %59, i32 0, i32 0
  store i32 272, ptr %60, align 16, !tbaa !20
  %61 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  %63 = getelementptr inbounds %struct.Configuration, ptr %62, i32 0, i32 63
  %64 = load i32, ptr %63, align 8, !tbaa !25
  %65 = sext i32 %64 to i64
  %66 = load i32, ptr %8, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %67
  %69 = getelementptr inbounds %struct.ups_parameter_t, ptr %68, i32 0, i32 1
  store i64 %65, ptr %69, align 8, !tbaa !23
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %8, align 4, !tbaa !9
  %72 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %73 = load ptr, ptr %72, align 8, !tbaa !11
  %74 = getelementptr inbounds %struct.Configuration, ptr %73, i32 0, i32 27
  %75 = load i8, ptr %74, align 8, !tbaa !26, !range !27, !noundef !28
  %76 = trunc i8 %75 to i1
  br i1 %76, label %77, label %88

77:                                               ; preds = %26
  %78 = load i32, ptr %8, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %79
  %81 = getelementptr inbounds %struct.ups_parameter_t, ptr %80, i32 0, i32 0
  store i32 262, ptr %81, align 16, !tbaa !20
  %82 = load i32, ptr %8, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %83
  %85 = getelementptr inbounds %struct.ups_parameter_t, ptr %84, i32 0, i32 1
  store i64 ptrtoint (ptr @.str.2 to i64), ptr %85, align 8, !tbaa !23
  %86 = load i32, ptr %8, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %8, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %77, %26
  %89 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  %91 = getelementptr inbounds %struct.Configuration, ptr %90, i32 0, i32 56
  %92 = load i32, ptr %91, align 8, !tbaa !29
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %110

94:                                               ; preds = %88
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %96
  %98 = getelementptr inbounds %struct.ups_parameter_t, ptr %97, i32 0, i32 0
  store i32 4096, ptr %98, align 16, !tbaa !20
  %99 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %100 = load ptr, ptr %99, align 8, !tbaa !11
  %101 = getelementptr inbounds %struct.Configuration, ptr %100, i32 0, i32 56
  %102 = load i32, ptr %101, align 8, !tbaa !29
  %103 = sext i32 %102 to i64
  %104 = load i32, ptr %8, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 %105
  %107 = getelementptr inbounds %struct.ups_parameter_t, ptr %106, i32 0, i32 1
  store i64 %103, ptr %107, align 8, !tbaa !23
  %108 = load i32, ptr %8, align 4, !tbaa !9
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %8, align 4, !tbaa !9
  br label %110

110:                                              ; preds = %94, %88
  %111 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %112 = load ptr, ptr %111, align 8, !tbaa !11
  %113 = getelementptr inbounds %struct.Configuration, ptr %112, i32 0, i32 35
  %114 = load i8, ptr %113, align 1, !tbaa !30, !range !27, !noundef !28
  %115 = trunc i8 %114 to i1
  %116 = zext i1 %115 to i64
  %117 = select i1 %115, i32 128, i32 0
  %118 = load i32, ptr %5, align 4, !tbaa !9
  %119 = or i32 %118, %117
  store i32 %119, ptr %5, align 4, !tbaa !9
  %120 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %121 = load ptr, ptr %120, align 8, !tbaa !11
  %122 = getelementptr inbounds %struct.Configuration, ptr %121, i32 0, i32 37
  %123 = load i8, ptr %122, align 1, !tbaa !31, !range !27, !noundef !28
  %124 = trunc i8 %123 to i1
  %125 = zext i1 %124 to i64
  %126 = select i1 %124, i32 512, i32 0
  %127 = load i32, ptr %5, align 4, !tbaa !9
  %128 = or i32 %127, %126
  store i32 %128, ptr %5, align 4, !tbaa !9
  %129 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %130 = load ptr, ptr %129, align 8, !tbaa !11
  %131 = getelementptr inbounds %struct.Configuration, ptr %130, i32 0, i32 38
  %132 = load i8, ptr %131, align 4, !tbaa !32, !range !27, !noundef !28
  %133 = trunc i8 %132 to i1
  %134 = zext i1 %133 to i64
  %135 = select i1 %133, i32 262144, i32 0
  %136 = load i32, ptr %5, align 4, !tbaa !9
  %137 = or i32 %136, %135
  store i32 %137, ptr %5, align 4, !tbaa !9
  %138 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %139 = load ptr, ptr %138, align 8, !tbaa !11
  %140 = getelementptr inbounds %struct.Configuration, ptr %139, i32 0, i32 36
  %141 = load i8, ptr %140, align 2, !tbaa !33, !range !27, !noundef !28
  %142 = trunc i8 %141 to i1
  %143 = zext i1 %142 to i64
  %144 = select i1 %142, i32 131072, i32 0
  %145 = load i32, ptr %5, align 4, !tbaa !9
  %146 = or i32 %145, %144
  store i32 %146, ptr %5, align 4, !tbaa !9
  %147 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %148 = load ptr, ptr %147, align 8, !tbaa !11
  %149 = getelementptr inbounds %struct.Configuration, ptr %148, i32 0, i32 65
  %150 = load i8, ptr %149, align 1, !tbaa !34, !range !27, !noundef !28
  %151 = trunc i8 %150 to i1
  %152 = zext i1 %151 to i64
  %153 = select i1 %151, i32 134217728, i32 0
  %154 = load i32, ptr %5, align 4, !tbaa !9
  %155 = or i32 %154, %153
  store i32 %155, ptr %5, align 4, !tbaa !9
  %156 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %157 = load ptr, ptr %156, align 8, !tbaa !11
  %158 = getelementptr inbounds %struct.Configuration, ptr %157, i32 0, i32 34
  %159 = load i8, ptr %158, align 8, !tbaa !35, !range !27, !noundef !28
  %160 = trunc i8 %159 to i1
  %161 = zext i1 %160 to i64
  %162 = select i1 %160, i32 1, i32 0
  %163 = load i32, ptr %5, align 4, !tbaa !9
  %164 = or i32 %163, %162
  store i32 %164, ptr %5, align 4, !tbaa !9
  %165 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %166 = load ptr, ptr %165, align 8, !tbaa !11
  %167 = getelementptr inbounds %struct.Configuration, ptr %166, i32 0, i32 54
  %168 = load i8, ptr %167, align 1, !tbaa !36, !range !27, !noundef !28
  %169 = trunc i8 %168 to i1
  %170 = zext i1 %169 to i64
  %171 = select i1 %169, i32 524288, i32 0
  %172 = load i32, ptr %5, align 4, !tbaa !9
  %173 = or i32 %172, %171
  store i32 %173, ptr %5, align 4, !tbaa !9
  %174 = getelementptr inbounds %class.Database, ptr %13, i32 0, i32 2
  %175 = load ptr, ptr %174, align 8, !tbaa !11
  %176 = getelementptr inbounds %struct.Configuration, ptr %175, i32 0, i32 60
  %177 = load i8, ptr %176, align 1, !tbaa !37, !range !27, !noundef !28
  %178 = trunc i8 %177 to i1
  %179 = zext i1 %178 to i64
  %180 = select i1 %178, i32 33554432, i32 0
  %181 = load i32, ptr %5, align 4, !tbaa !9
  %182 = or i32 %181, %180
  store i32 %182, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #7
  invoke void @_ZN5boost10filesystem4pathC2EPKc(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.3)
          to label %183 unwind label %205

183:                                              ; preds = %110
  %184 = invoke noundef zeroext i1 @_ZN5boost10filesystem6removeERKNS0_4pathE(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %185 unwind label %209

185:                                              ; preds = %183
  call void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #7
  %186 = load i32, ptr %5, align 4, !tbaa !9
  %187 = getelementptr inbounds [6 x %struct.ups_parameter_t], ptr %6, i64 0, i64 0
  %188 = invoke i32 @ups_env_create(ptr noundef @_ZN15UpscaleDatabase6ms_envE, ptr noundef @.str.3, i32 noundef %186, i32 noundef 436, ptr noundef %187)
          to label %189 unwind label %214

189:                                              ; preds = %185
  store i32 %188, ptr %4, align 4, !tbaa !9
  %190 = load i32, ptr %4, align 4, !tbaa !9
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %218

192:                                              ; preds = %189
  br label %193

193:                                              ; preds = %192
  %194 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %195 unwind label %214

195:                                              ; preds = %193
  %196 = load i32, ptr %4, align 4, !tbaa !9
  %197 = load i32, ptr %4, align 4, !tbaa !9
  %198 = invoke ptr @ups_strerror(i32 noundef %197)
          to label %199 unwind label %214

199:                                              ; preds = %195
  %200 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %196, ptr noundef %198)
          to label %201 unwind label %214

201:                                              ; preds = %199
  br label %202

202:                                              ; preds = %201
  br label %203

203:                                              ; preds = %202
  %204 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %204, ptr %2, align 4
  store i32 1, ptr %12, align 4
  br label %221

205:                                              ; preds = %110
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %10, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %11, align 4
  br label %213

209:                                              ; preds = %183
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %10, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %11, align 4
  call void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %213

213:                                              ; preds = %209, %205
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #7
  br label %223

214:                                              ; preds = %199, %195, %193, %185
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %10, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %11, align 4
  br label %223

218:                                              ; preds = %189
  br label %219

219:                                              ; preds = %218, %1
  %220 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %220, ptr %2, align 4
  store i32 1, ptr %12, align 4
  br label %221

221:                                              ; preds = %219, %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @_ZN5boost11unique_lockINS_5mutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  %222 = load i32, ptr %2, align 4
  ret i32 %222

223:                                              ; preds = %214, %213
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @_ZN5boost11unique_lockINS_5mutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %224

224:                                              ; preds = %223
  %225 = load ptr, ptr %10, align 8
  %226 = load i32, ptr %11, align 4
  %227 = insertvalue { ptr, i32 } poison, ptr %225, 0
  %228 = insertvalue { ptr, i32 } %227, i32 %226, 1
  resume { ptr, i32 } %228
}

; 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: mustprogress uwtable
declare dso_local void @_ZN5boost11unique_lockINS_5mutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boost10filesystem6removeERKNS0_4pathE(ptr noundef nonnull align 8 dereferenceable(32)) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

declare i32 @ups_env_create(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #5

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

declare ptr @ups_strerror(i32 noundef) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 #5 = { "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 = { 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 #7 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"_ZTS8Database", !10, i64 8, !6, i64 16}
!13 = !{!14, !10, i64 212}
!14 = !{!"_ZTS13Configuration", !15, i64 0, !10, i64 4, !15, i64 8, !15, i64 9, !15, i64 10, !16, i64 16, !15, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !15, i64 64, !10, i64 68, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !10, i64 104, !15, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !15, i64 128, !15, i64 129, !10, i64 132, !15, i64 136, !10, i64 140, !15, i64 144, !15, i64 145, !15, i64 146, !15, i64 147, !15, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !15, i64 164, !15, i64 165, !15, i64 166, !10, i64 168, !10, i64 172, !16, i64 176, !10, i64 208, !10, i64 212, !10, i64 216, !15, i64 220, !15, i64 221, !10, i64 224, !10, i64 228, !10, i64 232, !15, i64 236, !15, i64 237, !15, i64 238, !15, i64 239, !10, i64 240, !15, i64 244, !15, i64 245}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!14, !10, i64 216}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTS15ups_parameter_t", !10, i64 0, !18, i64 8}
!22 = !{!14, !10, i64 152}
!23 = !{!21, !18, i64 8}
!24 = !{!14, !10, i64 156}
!25 = !{!14, !10, i64 240}
!26 = !{!14, !15, i64 128}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!14, !10, i64 224}
!30 = !{!14, !15, i64 145}
!31 = !{!14, !15, i64 147}
!32 = !{!14, !15, i64 148}
!33 = !{!14, !15, i64 146}
!34 = !{!14, !15, i64 245}
!35 = !{!14, !15, i64 144}
!36 = !{!14, !15, i64 221}
!37 = !{!14, !15, i64 237}


; 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.Mutex = type { %"class.boost::mutex" }
%"class.boost::mutex" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.ups_parameter_t = type { i32, i64 }
%"class.boost::unique_lock" = type <{ ptr, i8, [7 x i8] }>
%"class.boost::filesystem::path" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@_ZN15UpscaleDatabase6ms_envE = external dso_local global ptr, align 8
@_ZN15UpscaleDatabase8ms_mutexE = external dso_local global %class.Mutex, align 8
@_ZN15UpscaleDatabase11ms_refcountE = external dso_local local_unnamed_addr global i32, align 4
@_ZN9upscaledb7Globals21ms_extended_thresholdE = external local_unnamed_addr global i32, align 4
@_ZN9upscaledb7Globals22ms_duplicate_thresholdE = external local_unnamed_addr global i32, align 4
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [42 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN15UpscaleDatabase13do_create_envEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(712) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [6 x %struct.ups_parameter_t], align 16
  %3 = alloca %"class.boost::unique_lock", align 8
  %4 = alloca %"class.boost::filesystem::path", align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %2) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %2, i8 0, i64 96, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  call void @_ZN5boost11unique_lockINS_5mutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(9) %3, ptr noundef nonnull align 8 dereferenceable(40) @_ZN15UpscaleDatabase8ms_mutexE)
  %5 = load i32, ptr @_ZN15UpscaleDatabase11ms_refcountE, align 4, !tbaa !5
  %6 = add nsw i32 %5, 1
  store i32 %6, ptr @_ZN15UpscaleDatabase11ms_refcountE, align 4, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %8, i64 212
  %10 = load i32, ptr %9, align 4, !tbaa !12
  store i32 %10, ptr @_ZN9upscaledb7Globals21ms_extended_thresholdE, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %8, i64 216
  %12 = load i32, ptr %11, align 8, !tbaa !18
  store i32 %12, ptr @_ZN9upscaledb7Globals22ms_duplicate_thresholdE, align 4, !tbaa !5
  %13 = load ptr, ptr @_ZN15UpscaleDatabase6ms_envE, align 8, !tbaa !19
  %14 = icmp eq ptr %13, null
  %.034.sroa.gep = getelementptr inbounds i8, ptr %2, i64 64
  %.034.sroa.gep43 = getelementptr inbounds i8, ptr %2, i64 48
  br i1 %14, label %15, label %97

15:                                               ; preds = %1
  store i32 256, ptr %2, align 16, !tbaa !20
  %16 = getelementptr inbounds i8, ptr %8, i64 152
  %17 = load i32, ptr %16, align 8, !tbaa !22
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 %18, ptr %19, align 8, !tbaa !23
  %20 = getelementptr inbounds i8, ptr %2, i64 16
  store i32 257, ptr %20, align 16, !tbaa !20
  %21 = getelementptr inbounds i8, ptr %8, i64 156
  %22 = load i32, ptr %21, align 4, !tbaa !24
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds i8, ptr %2, i64 24
  store i64 %23, ptr %24, align 8, !tbaa !23
  %25 = getelementptr inbounds i8, ptr %2, i64 32
  store i32 272, ptr %25, align 16, !tbaa !20
  %26 = getelementptr inbounds i8, ptr %8, i64 240
  %27 = load i32, ptr %26, align 8, !tbaa !25
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds i8, ptr %2, i64 40
  store i64 %28, ptr %29, align 8, !tbaa !23
  %30 = getelementptr inbounds i8, ptr %8, i64 128
  %31 = load i8, ptr %30, align 8, !tbaa !26, !range !27, !noundef !28
  %32 = trunc nuw i8 %31 to i1
  br i1 %32, label %33, label %35

33:                                               ; preds = %15
  store i32 262, ptr %.034.sroa.gep43, align 16, !tbaa !20
  %34 = getelementptr inbounds i8, ptr %2, i64 56
  store i64 ptrtoint (ptr @.str.2 to i64), ptr %34, align 8, !tbaa !23
  br label %35

35:                                               ; preds = %33, %15
  %.034.sroa.phi = phi ptr [ %.034.sroa.gep, %33 ], [ %.034.sroa.gep43, %15 ]
  %36 = getelementptr inbounds i8, ptr %8, i64 224
  %37 = load i32, ptr %36, align 8, !tbaa !29
  %.not = icmp eq i32 %37, 0
  br i1 %.not, label %41, label %38

38:                                               ; preds = %35
  store i32 4096, ptr %.034.sroa.phi, align 16, !tbaa !20
  %39 = sext i32 %37 to i64
  %40 = getelementptr inbounds i8, ptr %.034.sroa.phi, i64 8
  store i64 %39, ptr %40, align 8, !tbaa !23
  br label %41

41:                                               ; preds = %38, %35
  %42 = getelementptr inbounds i8, ptr %8, i64 145
  %43 = load i8, ptr %42, align 1, !tbaa !30, !range !27, !noundef !28
  %44 = trunc nuw i8 %43 to i1
  %45 = select i1 %44, i32 128, i32 0
  %46 = getelementptr inbounds i8, ptr %8, i64 147
  %47 = load i8, ptr %46, align 1, !tbaa !31, !range !27, !noundef !28
  %48 = trunc nuw i8 %47 to i1
  %49 = select i1 %48, i32 512, i32 0
  %50 = or disjoint i32 %49, %45
  %51 = getelementptr inbounds i8, ptr %8, i64 148
  %52 = load i8, ptr %51, align 4, !tbaa !32, !range !27, !noundef !28
  %53 = trunc nuw i8 %52 to i1
  %54 = select i1 %53, i32 262144, i32 0
  %55 = or disjoint i32 %50, %54
  %56 = getelementptr inbounds i8, ptr %8, i64 146
  %57 = load i8, ptr %56, align 2, !tbaa !33, !range !27, !noundef !28
  %58 = trunc nuw i8 %57 to i1
  %59 = select i1 %58, i32 131072, i32 0
  %60 = or disjoint i32 %55, %59
  %61 = getelementptr inbounds i8, ptr %8, i64 245
  %62 = load i8, ptr %61, align 1, !tbaa !34, !range !27, !noundef !28
  %63 = trunc nuw i8 %62 to i1
  %64 = select i1 %63, i32 134217728, i32 0
  %65 = or disjoint i32 %60, %64
  %66 = getelementptr inbounds i8, ptr %8, i64 144
  %67 = load i8, ptr %66, align 8, !tbaa !35, !range !27, !noundef !28
  %68 = zext nneg i8 %67 to i32
  %69 = or disjoint i32 %65, %68
  %70 = getelementptr inbounds i8, ptr %8, i64 221
  %71 = load i8, ptr %70, align 1, !tbaa !36, !range !27, !noundef !28
  %72 = trunc nuw i8 %71 to i1
  %73 = select i1 %72, i32 524288, i32 0
  %74 = or i32 %69, %73
  %75 = getelementptr inbounds i8, ptr %8, i64 237
  %76 = load i8, ptr %75, align 1, !tbaa !37, !range !27, !noundef !28
  %77 = trunc nuw i8 %76 to i1
  %78 = select i1 %77, i32 33554432, i32 0
  %79 = or i32 %74, %78
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  invoke void @_ZN5boost10filesystem4pathC2EPKc(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.3)
          to label %80 unwind label %90

80:                                               ; preds = %41
  %81 = invoke noundef zeroext i1 @_ZN5boost10filesystem6removeERKNS0_4pathE(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %82 unwind label %92

82:                                               ; preds = %80
  call void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  %83 = invoke i32 @ups_env_create(ptr noundef nonnull @_ZN15UpscaleDatabase6ms_envE, ptr noundef nonnull @.str.3, i32 noundef %79, i32 noundef 436, ptr noundef nonnull %2)
          to label %84 unwind label %95

84:                                               ; preds = %82
  %.not40 = icmp eq i32 %83, 0
  br i1 %.not40, label %97, label %85

85:                                               ; preds = %84
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %87 = invoke ptr @ups_strerror(i32 noundef %83)
          to label %88 unwind label %95

88:                                               ; preds = %85
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %83, ptr noundef %87)
  br label %97

90:                                               ; preds = %41
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %80
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  br label %94

94:                                               ; preds = %92, %90
  %.pn = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  br label %98

95:                                               ; preds = %85, %82
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %98

97:                                               ; preds = %1, %84, %88
  %.036 = phi i32 [ %83, %88 ], [ 0, %84 ], [ 0, %1 ]
  call void @_ZN5boost11unique_lockINS_5mutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %2) #8
  ret i32 %.036

98:                                               ; preds = %95, %94
  %.pn41 = phi { ptr, i32 } [ %96, %95 ], [ %.pn, %94 ]
  call void @_ZN5boost11unique_lockINS_5mutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn41
}

; 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: mustprogress uwtable
declare dso_local void @_ZN5boost11unique_lockINS_5mutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boost10filesystem6removeERKNS0_4pathE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

declare i32 @ups_env_create(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

declare ptr @ups_strerror(i32 noundef) local_unnamed_addr #5

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 #5 = { "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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"_ZTS8Database", !6, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 212}
!13 = !{!"_ZTS13Configuration", !14, i64 0, !6, i64 4, !14, i64 8, !14, i64 9, !14, i64 10, !15, i64 16, !14, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !14, i64 64, !6, i64 68, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !6, i64 104, !14, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !14, i64 128, !14, i64 129, !6, i64 132, !14, i64 136, !6, i64 140, !14, i64 144, !14, i64 145, !14, i64 146, !14, i64 147, !14, i64 148, !6, i64 152, !6, i64 156, !6, i64 160, !14, i64 164, !14, i64 165, !14, i64 166, !6, i64 168, !6, i64 172, !15, i64 176, !6, i64 208, !6, i64 212, !6, i64 216, !14, i64 220, !14, i64 221, !6, i64 224, !6, i64 228, !6, i64 232, !14, i64 236, !14, i64 237, !14, i64 238, !14, i64 239, !6, i64 240, !14, i64 244, !14, i64 245}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!13, !6, i64 216}
!19 = !{!11, !11, i64 0}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTS15ups_parameter_t", !6, i64 0, !17, i64 8}
!22 = !{!13, !6, i64 152}
!23 = !{!21, !17, i64 8}
!24 = !{!13, !6, i64 156}
!25 = !{!13, !6, i64 240}
!26 = !{!13, !14, i64 128}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!13, !6, i64 224}
!30 = !{!13, !14, i64 145}
!31 = !{!13, !14, i64 147}
!32 = !{!13, !14, i64 148}
!33 = !{!13, !14, i64 146}
!34 = !{!13, !14, i64 245}
!35 = !{!13, !14, i64 144}
!36 = !{!13, !14, i64 221}
!37 = !{!13, !14, i64 237}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass