; LLVM IR from sfu-dis/mosaicdb :: benchmarks/egen/CETxnMixGenerator.ll (ZN4TPCE18CCETxnMixGenerator14UpdateTunablesEv)

; 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.TPCE::CCETxnMixGenerator" = type { ptr, %"class.TPCE::CRandom", ptr, i32, i32, ptr }
%"class.TPCE::CRandom" = type { i64 }
%"struct.TPCE::TDriverCETxnSettings" = type { %"class.TPCE::CBrokerVolumeSettings", %"class.TPCE::CCustomerPositionSettings", %"class.TPCE::CMarketWatchSettings", %"class.TPCE::CSecurityDetailSettings", %"class.TPCE::CTradeLookupSettings", %"class.TPCE::CTradeOrderSettings", %"class.TPCE::CTradeUpdateSettings", %"class.TPCE::CTxnMixGeneratorSettings" }
%"class.TPCE::CBrokerVolumeSettings" = type { %"class.TPCE::CParametersWithDefaults.base", [5 x i8] }
%"class.TPCE::CParametersWithDefaults.base" = type <{ ptr, [3 x i8] }>
%"class.TPCE::CCustomerPositionSettings" = type { %"class.TPCE::CParametersWithDefaults.base.1", [4 x i8] }
%"class.TPCE::CParametersWithDefaults.base.1" = type <{ ptr, %"struct.TPCE::TCustomerPositionSettings", %"struct.TPCE::TCustomerPositionSettingsState", i8, %"struct.TPCE::TCustomerPositionSettings" }>
%"struct.TPCE::TCustomerPositionSettingsState" = type { i8, i8, i8 }
%"struct.TPCE::TCustomerPositionSettings" = type { i32, i32, i32 }
%"class.TPCE::CMarketWatchSettings" = type { %"class.TPCE::CParametersWithDefaults.base.3", [4 x i8] }
%"class.TPCE::CParametersWithDefaults.base.3" = type <{ ptr, %"struct.TPCE::TMarketWatchSettings", %"struct.TPCE::TMarketWatchSettingsState", i8, %"struct.TPCE::TMarketWatchSettings" }>
%"struct.TPCE::TMarketWatchSettingsState" = type { i8, i8, i8 }
%"struct.TPCE::TMarketWatchSettings" = type { i32, i32, i32 }
%"class.TPCE::CSecurityDetailSettings" = type { %"class.TPCE::CParametersWithDefaults.base.5", [4 x i8] }
%"class.TPCE::CParametersWithDefaults.base.5" = type <{ ptr, %"struct.TPCE::TSecurityDetailSettings", %"struct.TPCE::TSecurityDetailSettingsState", [3 x i8], %"struct.TPCE::TSecurityDetailSettings" }>
%"struct.TPCE::TSecurityDetailSettingsState" = type { i8 }
%"struct.TPCE::TSecurityDetailSettings" = type { i32 }
%"class.TPCE::CTradeLookupSettings" = type { %"class.TPCE::CParametersWithDefaults.base.7", [4 x i8] }
%"class.TPCE::CParametersWithDefaults.base.7" = type <{ ptr, %"struct.TPCE::TTradeLookupSettings", %"struct.TPCE::TTradeLookupSettingsState", i8, %"struct.TPCE::TTradeLookupSettings" }>
%"struct.TPCE::TTradeLookupSettingsState" = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%"struct.TPCE::TTradeLookupSettings" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.TPCE::CTradeOrderSettings" = type { %"class.TPCE::CParametersWithDefaults.base.9", [4 x i8] }
%"class.TPCE::CParametersWithDefaults.base.9" = type <{ ptr, %"struct.TPCE::TTradeOrderSettings", %"struct.TPCE::TTradeOrderSettingsState", i8, %"struct.TPCE::TTradeOrderSettings" }>
%"struct.TPCE::TTradeOrderSettingsState" = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%"struct.TPCE::TTradeOrderSettings" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.TPCE::CTradeUpdateSettings" = type { %"class.TPCE::CParametersWithDefaults.base.11", [4 x i8] }
%"class.TPCE::CParametersWithDefaults.base.11" = type <{ ptr, %"struct.TPCE::TTradeUpdateSettings", %"struct.TPCE::TTradeUpdateSettingsState", i8, %"struct.TPCE::TTradeUpdateSettings" }>
%"struct.TPCE::TTradeUpdateSettingsState" = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%"struct.TPCE::TTradeUpdateSettings" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.TPCE::CTxnMixGeneratorSettings" = type { %"class.TPCE::CParametersWithDefaults.base.13", [4 x i8] }
%"class.TPCE::CParametersWithDefaults.base.13" = type <{ ptr, %"struct.TPCE::TTxnMixGeneratorSettings", %"struct.TPCE::TTxnMixGeneratorSettingsState", [3 x i8], %"struct.TPCE::TTxnMixGeneratorSettings" }>
%"struct.TPCE::TTxnMixGeneratorSettingsState" = type { i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%"struct.TPCE::TTxnMixGeneratorSettings" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.TPCE::CParametersWithDefaults.12" = type <{ ptr, %"struct.TPCE::TTxnMixGeneratorSettings", %"struct.TPCE::TTxnMixGeneratorSettingsState", [3 x i8], %"struct.TPCE::TTxnMixGeneratorSettings", [4 x i8] }>

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4TPCE18CCETxnMixGenerator14UpdateTunablesEv(ptr noundef nonnull align 8 dereferenceable(40) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %13 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %14, i32 0, i32 7
  %16 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %15, i32 0, i32 4
  %17 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %16, i32 0, i32 0
  %18 = load i32, ptr %17, align 8, !tbaa !14
  %19 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %20, i32 0, i32 7
  %22 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %21, i32 0, i32 4
  %23 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %22, i32 0, i32 1
  %24 = load i32, ptr %23, align 4, !tbaa !19
  %25 = add nsw i32 %18, %24
  %26 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %27, i32 0, i32 7
  %29 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %28, i32 0, i32 4
  %30 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %29, i32 0, i32 3
  %31 = load i32, ptr %30, align 4, !tbaa !20
  %32 = add nsw i32 %25, %31
  %33 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %34, i32 0, i32 7
  %36 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %35, i32 0, i32 4
  %37 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %36, i32 0, i32 4
  %38 = load i32, ptr %37, align 8, !tbaa !21
  %39 = add nsw i32 %32, %38
  %40 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %41, i32 0, i32 7
  %43 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %42, i32 0, i32 4
  %44 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %43, i32 0, i32 5
  %45 = load i32, ptr %44, align 4, !tbaa !22
  %46 = add nsw i32 %39, %45
  %47 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %48, i32 0, i32 7
  %50 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %49, i32 0, i32 4
  %51 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %50, i32 0, i32 6
  %52 = load i32, ptr %51, align 8, !tbaa !23
  %53 = add nsw i32 %46, %52
  %54 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %55, i32 0, i32 7
  %57 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %56, i32 0, i32 4
  %58 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %57, i32 0, i32 8
  %59 = load i32, ptr %58, align 8, !tbaa !24
  %60 = add nsw i32 %53, %59
  %61 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !9
  %63 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %62, i32 0, i32 7
  %64 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %63, i32 0, i32 4
  %65 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %64, i32 0, i32 9
  %66 = load i32, ptr %65, align 4, !tbaa !25
  %67 = add nsw i32 %60, %66
  %68 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 3
  store i32 %67, ptr %68, align 8, !tbaa !26
  %69 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %70, i32 0, i32 7
  %72 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %71, i32 0, i32 4
  %73 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %72, i32 0, i32 8
  %74 = load i32, ptr %73, align 8, !tbaa !24
  store i32 %74, ptr %10, align 4, !tbaa !27
  %75 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !9
  %77 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %76, i32 0, i32 7
  %78 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %77, i32 0, i32 4
  %79 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %78, i32 0, i32 3
  %80 = load i32, ptr %79, align 4, !tbaa !20
  %81 = load i32, ptr %10, align 4, !tbaa !27
  %82 = add nsw i32 %80, %81
  store i32 %82, ptr %6, align 4, !tbaa !27
  %83 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %84, i32 0, i32 7
  %86 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %85, i32 0, i32 4
  %87 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %86, i32 0, i32 4
  %88 = load i32, ptr %87, align 8, !tbaa !21
  %89 = load i32, ptr %6, align 4, !tbaa !27
  %90 = add nsw i32 %88, %89
  store i32 %90, ptr %7, align 4, !tbaa !27
  %91 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %92, i32 0, i32 7
  %94 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %93, i32 0, i32 4
  %95 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %94, i32 0, i32 1
  %96 = load i32, ptr %95, align 4, !tbaa !19
  %97 = load i32, ptr %7, align 4, !tbaa !27
  %98 = add nsw i32 %96, %97
  store i32 %98, ptr %5, align 4, !tbaa !27
  %99 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %101 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %100, i32 0, i32 7
  %102 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %101, i32 0, i32 4
  %103 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %102, i32 0, i32 6
  %104 = load i32, ptr %103, align 8, !tbaa !23
  %105 = load i32, ptr %5, align 4, !tbaa !27
  %106 = add nsw i32 %104, %105
  store i32 %106, ptr %9, align 4, !tbaa !27
  %107 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  %109 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %108, i32 0, i32 7
  %110 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %109, i32 0, i32 4
  %111 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %110, i32 0, i32 5
  %112 = load i32, ptr %111, align 4, !tbaa !22
  %113 = load i32, ptr %9, align 4, !tbaa !27
  %114 = add nsw i32 %112, %113
  store i32 %114, ptr %8, align 4, !tbaa !27
  %115 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  %117 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %116, i32 0, i32 7
  %118 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %117, i32 0, i32 4
  %119 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %118, i32 0, i32 9
  %120 = load i32, ptr %119, align 4, !tbaa !25
  %121 = load i32, ptr %8, align 4, !tbaa !27
  %122 = add nsw i32 %120, %121
  store i32 %122, ptr %11, align 4, !tbaa !27
  %123 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %124, i32 0, i32 7
  %126 = getelementptr inbounds %"class.TPCE::CParametersWithDefaults.12", ptr %125, i32 0, i32 4
  %127 = getelementptr inbounds %"struct.TPCE::TTxnMixGeneratorSettings", ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 8, !tbaa !14
  %129 = load i32, ptr %11, align 4, !tbaa !27
  %130 = add nsw i32 %128, %129
  store i32 %130, ptr %4, align 4, !tbaa !27
  %131 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %132 = load ptr, ptr %131, align 8, !tbaa !28
  %133 = icmp ne ptr %132, null
  br i1 %133, label %134, label %141

134:                                              ; preds = %1
  %135 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %136 = load ptr, ptr %135, align 8, !tbaa !28
  %137 = icmp eq ptr %136, null
  br i1 %137, label %139, label %138

138:                                              ; preds = %134
  call void @_ZdaPv(ptr noundef %136) #6
  br label %139

139:                                              ; preds = %138, %134
  %140 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  store ptr null, ptr %140, align 8, !tbaa !28
  br label %141

141:                                              ; preds = %139, %1
  %142 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 3
  %143 = load i32, ptr %142, align 8, !tbaa !26
  %144 = sext i32 %143 to i64
  %145 = call noalias noundef nonnull ptr @_Znam(i64 noundef %144) #7
  %146 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  store ptr %145, ptr %146, align 8, !tbaa !28
  store i32 0, ptr %3, align 4, !tbaa !27
  br label %147

147:                                              ; preds = %157, %141
  %148 = load i32, ptr %3, align 4, !tbaa !27
  %149 = load i32, ptr %10, align 4, !tbaa !27
  %150 = icmp slt i32 %148, %149
  br i1 %150, label %151, label %160

151:                                              ; preds = %147
  %152 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %153 = load ptr, ptr %152, align 8, !tbaa !28
  %154 = load i32, ptr %3, align 4, !tbaa !27
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds i8, ptr %153, i64 %155
  store i8 4, ptr %156, align 1, !tbaa !29
  br label %157

157:                                              ; preds = %151
  %158 = load i32, ptr %3, align 4, !tbaa !27
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %3, align 4, !tbaa !27
  br label %147, !llvm.loop !30

160:                                              ; preds = %147
  br label %161

161:                                              ; preds = %171, %160
  %162 = load i32, ptr %3, align 4, !tbaa !27
  %163 = load i32, ptr %6, align 4, !tbaa !27
  %164 = icmp slt i32 %162, %163
  br i1 %164, label %165, label %174

165:                                              ; preds = %161
  %166 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %167 = load ptr, ptr %166, align 8, !tbaa !28
  %168 = load i32, ptr %3, align 4, !tbaa !27
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds i8, ptr %167, i64 %169
  store i8 3, ptr %170, align 1, !tbaa !29
  br label %171

171:                                              ; preds = %165
  %172 = load i32, ptr %3, align 4, !tbaa !27
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %3, align 4, !tbaa !27
  br label %161, !llvm.loop !32

174:                                              ; preds = %161
  br label %175

175:                                              ; preds = %185, %174
  %176 = load i32, ptr %3, align 4, !tbaa !27
  %177 = load i32, ptr %7, align 4, !tbaa !27
  %178 = icmp slt i32 %176, %177
  br i1 %178, label %179, label %188

179:                                              ; preds = %175
  %180 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %181 = load ptr, ptr %180, align 8, !tbaa !28
  %182 = load i32, ptr %3, align 4, !tbaa !27
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds i8, ptr %181, i64 %183
  store i8 0, ptr %184, align 1, !tbaa !29
  br label %185

185:                                              ; preds = %179
  %186 = load i32, ptr %3, align 4, !tbaa !27
  %187 = add nsw i32 %186, 1
  store i32 %187, ptr %3, align 4, !tbaa !27
  br label %175, !llvm.loop !33

188:                                              ; preds = %175
  br label %189

189:                                              ; preds = %199, %188
  %190 = load i32, ptr %3, align 4, !tbaa !27
  %191 = load i32, ptr %5, align 4, !tbaa !27
  %192 = icmp slt i32 %190, %191
  br i1 %192, label %193, label %202

193:                                              ; preds = %189
  %194 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %195 = load ptr, ptr %194, align 8, !tbaa !28
  %196 = load i32, ptr %3, align 4, !tbaa !27
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds i8, ptr %195, i64 %197
  store i8 2, ptr %198, align 1, !tbaa !29
  br label %199

199:                                              ; preds = %193
  %200 = load i32, ptr %3, align 4, !tbaa !27
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %3, align 4, !tbaa !27
  br label %189, !llvm.loop !34

202:                                              ; preds = %189
  br label %203

203:                                              ; preds = %213, %202
  %204 = load i32, ptr %3, align 4, !tbaa !27
  %205 = load i32, ptr %9, align 4, !tbaa !27
  %206 = icmp slt i32 %204, %205
  br i1 %206, label %207, label %216

207:                                              ; preds = %203
  %208 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %209 = load ptr, ptr %208, align 8, !tbaa !28
  %210 = load i32, ptr %3, align 4, !tbaa !27
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds i8, ptr %209, i64 %211
  store i8 6, ptr %212, align 1, !tbaa !29
  br label %213

213:                                              ; preds = %207
  %214 = load i32, ptr %3, align 4, !tbaa !27
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %3, align 4, !tbaa !27
  br label %203, !llvm.loop !35

216:                                              ; preds = %203
  br label %217

217:                                              ; preds = %227, %216
  %218 = load i32, ptr %3, align 4, !tbaa !27
  %219 = load i32, ptr %8, align 4, !tbaa !27
  %220 = icmp slt i32 %218, %219
  br i1 %220, label %221, label %230

221:                                              ; preds = %217
  %222 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %223 = load ptr, ptr %222, align 8, !tbaa !28
  %224 = load i32, ptr %3, align 4, !tbaa !27
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds i8, ptr %223, i64 %225
  store i8 5, ptr %226, align 1, !tbaa !29
  br label %227

227:                                              ; preds = %221
  %228 = load i32, ptr %3, align 4, !tbaa !27
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr %3, align 4, !tbaa !27
  br label %217, !llvm.loop !36

230:                                              ; preds = %217
  br label %231

231:                                              ; preds = %241, %230
  %232 = load i32, ptr %3, align 4, !tbaa !27
  %233 = load i32, ptr %11, align 4, !tbaa !27
  %234 = icmp slt i32 %232, %233
  br i1 %234, label %235, label %244

235:                                              ; preds = %231
  %236 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %237 = load ptr, ptr %236, align 8, !tbaa !28
  %238 = load i32, ptr %3, align 4, !tbaa !27
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds i8, ptr %237, i64 %239
  store i8 7, ptr %240, align 1, !tbaa !29
  br label %241

241:                                              ; preds = %235
  %242 = load i32, ptr %3, align 4, !tbaa !27
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %3, align 4, !tbaa !27
  br label %231, !llvm.loop !37

244:                                              ; preds = %231
  br label %245

245:                                              ; preds = %255, %244
  %246 = load i32, ptr %3, align 4, !tbaa !27
  %247 = load i32, ptr %4, align 4, !tbaa !27
  %248 = icmp slt i32 %246, %247
  br i1 %248, label %249, label %258

249:                                              ; preds = %245
  %250 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 5
  %251 = load ptr, ptr %250, align 8, !tbaa !28
  %252 = load i32, ptr %3, align 4, !tbaa !27
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds i8, ptr %251, i64 %253
  store i8 1, ptr %254, align 1, !tbaa !29
  br label %255

255:                                              ; preds = %249
  %256 = load i32, ptr %3, align 4, !tbaa !27
  %257 = add nsw i32 %256, 1
  store i32 %257, ptr %3, align 4, !tbaa !27
  br label %245, !llvm.loop !38

258:                                              ; preds = %245
  %259 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 4
  store i32 0, ptr %259, align 4, !tbaa !39
  %260 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 2
  %261 = load ptr, ptr %260, align 8, !tbaa !40
  %262 = getelementptr inbounds %"class.TPCE::CCETxnMixGenerator", ptr %12, i32 0, i32 0
  %263 = load ptr, ptr %262, align 8, !tbaa !9
  %264 = getelementptr inbounds %"struct.TPCE::TDriverCETxnSettings", ptr %263, i32 0, i32 7
  %265 = call noundef zeroext i1 @_ZN4TPCE11CBaseLogger12SendToLoggerERNS_24CTxnMixGeneratorSettingsE(ptr noundef nonnull align 8 dereferenceable(80) %261, ptr noundef nonnull align 8 dereferenceable(108) %264)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

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

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

declare noundef zeroext i1 @_ZN4TPCE11CBaseLogger12SendToLoggerERNS_24CTxnMixGeneratorSettingsE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(108)) #4

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

attributes #0 = { 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 #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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { builtin nounwind }
attributes #7 = { 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 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN4TPCE18CCETxnMixGeneratorE", !6, i64 0, !11, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !6, i64 32}
!11 = !{!"_ZTSN4TPCE7CRandomE", !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 64}
!15 = !{!"_ZTSN4TPCE23CParametersWithDefaultsINS_24TTxnMixGeneratorSettingsENS_29TTxnMixGeneratorSettingsStateEEE", !16, i64 8, !17, i64 52, !16, i64 64}
!16 = !{!"_ZTSN4TPCE24TTxnMixGeneratorSettingsE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40}
!17 = !{!"_ZTSN4TPCE29TTxnMixGeneratorSettingsStateE", !18, i64 0, !18, i64 1, !18, i64 2, !18, i64 3, !18, i64 4, !18, i64 5, !18, i64 6, !18, i64 7, !18, i64 8}
!18 = !{!"bool", !7, i64 0}
!19 = !{!15, !13, i64 68}
!20 = !{!15, !13, i64 76}
!21 = !{!15, !13, i64 80}
!22 = !{!15, !13, i64 84}
!23 = !{!15, !13, i64 88}
!24 = !{!15, !13, i64 96}
!25 = !{!15, !13, i64 100}
!26 = !{!10, !13, i64 24}
!27 = !{!13, !13, i64 0}
!28 = !{!10, !6, i64 32}
!29 = !{!7, !7, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = distinct !{!33, !31}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !31}
!36 = distinct !{!36, !31}
!37 = distinct !{!37, !31}
!38 = distinct !{!38, !31}
!39 = !{!10, !13, i64 28}
!40 = !{!10, !6, i64 16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4TPCE18CCETxnMixGenerator14UpdateTunablesEv(ptr nocapture noundef nonnull align 8 dereferenceable(40) %0) local_unnamed_addr #1 align 2 {
  %2 = load ptr, ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 520
  %4 = load i32, ptr %3, align 8, !tbaa !13
  %5 = getelementptr inbounds i8, ptr %2, i64 524
  %6 = load i32, ptr %5, align 4, !tbaa !18
  %7 = getelementptr inbounds i8, ptr %2, i64 532
  %8 = load i32, ptr %7, align 4, !tbaa !19
  %9 = getelementptr inbounds i8, ptr %2, i64 536
  %10 = load i32, ptr %9, align 8, !tbaa !20
  %11 = getelementptr inbounds i8, ptr %2, i64 540
  %12 = load i32, ptr %11, align 4, !tbaa !21
  %13 = getelementptr inbounds i8, ptr %2, i64 544
  %14 = load i32, ptr %13, align 8, !tbaa !22
  %15 = getelementptr inbounds i8, ptr %2, i64 552
  %16 = load i32, ptr %15, align 8, !tbaa !23
  %17 = getelementptr inbounds i8, ptr %2, i64 556
  %18 = load i32, ptr %17, align 4, !tbaa !24
  %19 = add i32 %16, %8
  %20 = add i32 %19, %4
  %21 = add i32 %20, %6
  %22 = add i32 %21, %10
  %23 = add i32 %22, %12
  %24 = add i32 %23, %14
  %25 = add nsw i32 %24, %18
  %26 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %25, ptr %26, align 8, !tbaa !25
  %27 = add nsw i32 %19, %10
  %28 = add nsw i32 %27, %6
  %29 = add nsw i32 %28, %14
  %30 = add nsw i32 %29, %12
  %31 = add nsw i32 %30, %18
  %32 = add nsw i32 %31, %4
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  %34 = load ptr, ptr %33, align 8, !tbaa !26
  %.not = icmp eq ptr %34, null
  br i1 %.not, label %36, label %35

35:                                               ; preds = %1
  tail call void @_ZdaPv(ptr noundef nonnull %34) #4
  store ptr null, ptr %33, align 8, !tbaa !26
  %.pre = load i32, ptr %26, align 8, !tbaa !25
  br label %36

36:                                               ; preds = %35, %1
  %37 = phi i32 [ %.pre, %35 ], [ %25, %1 ]
  %38 = sext i32 %37 to i64
  %39 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %38) #5
  store ptr %39, ptr %33, align 8, !tbaa !26
  %40 = icmp sgt i32 %16, 0
  br i1 %40, label %.lr.ph.preheader, label %.preheader45

.lr.ph.preheader:                                 ; preds = %36
  %wide.trip.count = zext nneg i32 %16 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %41 = icmp ult i32 %16, 4
  br i1 %41, label %.preheader45.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %.lr.ph

.preheader45.loopexit.unr-lcssa:                  ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.3, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader45, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader45.loopexit.unr-lcssa, %.lr.ph.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.lr.ph.epil ], [ %indvars.iv.unr, %.preheader45.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %.preheader45.loopexit.unr-lcssa ]
  %42 = load ptr, ptr %33, align 8, !tbaa !26
  %43 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv.epil
  store i8 4, ptr %43, align 1, !tbaa !27
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader45, label %.lr.ph.epil, !llvm.loop !28

.preheader45:                                     ; preds = %.preheader45.loopexit.unr-lcssa, %.lr.ph.epil, %36
  %.0.lcssa = phi i32 [ 0, %36 ], [ %16, %.lr.ph.epil ], [ %16, %.preheader45.loopexit.unr-lcssa ]
  %44 = icmp slt i32 %.0.lcssa, %19
  br i1 %44, label %.lr.ph48.preheader, label %.preheader44

.lr.ph48.preheader:                               ; preds = %.preheader45
  %45 = zext nneg i32 %.0.lcssa to i64
  %wide.trip.count77 = zext i32 %19 to i64
  %46 = sub nsw i64 %wide.trip.count77, %45
  %xtraiter106 = and i64 %46, 3
  %lcmp.mod107.not = icmp eq i64 %xtraiter106, 0
  br i1 %lcmp.mod107.not, label %.lr.ph48.prol.loopexit, label %.lr.ph48.prol

.lr.ph48.prol:                                    ; preds = %.lr.ph48.preheader, %.lr.ph48.prol
  %indvars.iv74.prol = phi i64 [ %indvars.iv.next75.prol, %.lr.ph48.prol ], [ %45, %.lr.ph48.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph48.prol ], [ 0, %.lr.ph48.preheader ]
  %47 = load ptr, ptr %33, align 8, !tbaa !26
  %48 = getelementptr inbounds i8, ptr %47, i64 %indvars.iv74.prol
  store i8 3, ptr %48, align 1, !tbaa !27
  %indvars.iv.next75.prol = add nuw nsw i64 %indvars.iv74.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter106
  br i1 %prol.iter.cmp.not, label %.lr.ph48.prol.loopexit, label %.lr.ph48.prol, !llvm.loop !30

.lr.ph48.prol.loopexit:                           ; preds = %.lr.ph48.prol, %.lr.ph48.preheader
  %indvars.iv74.unr = phi i64 [ %45, %.lr.ph48.preheader ], [ %indvars.iv.next75.prol, %.lr.ph48.prol ]
  %49 = sub nsw i64 %45, %wide.trip.count77
  %50 = icmp ugt i64 %49, -4
  br i1 %50, label %.preheader44, label %.lr.ph48

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.3, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %51 = load ptr, ptr %33, align 8, !tbaa !26
  %52 = getelementptr inbounds i8, ptr %51, i64 %indvars.iv
  store i8 4, ptr %52, align 1, !tbaa !27
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %53 = load ptr, ptr %33, align 8, !tbaa !26
  %54 = getelementptr inbounds i8, ptr %53, i64 %indvars.iv.next
  store i8 4, ptr %54, align 1, !tbaa !27
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %55 = load ptr, ptr %33, align 8, !tbaa !26
  %56 = getelementptr inbounds i8, ptr %55, i64 %indvars.iv.next.1
  store i8 4, ptr %56, align 1, !tbaa !27
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %57 = load ptr, ptr %33, align 8, !tbaa !26
  %58 = getelementptr inbounds i8, ptr %57, i64 %indvars.iv.next.2
  store i8 4, ptr %58, align 1, !tbaa !27
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader45.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !31

.preheader44:                                     ; preds = %.lr.ph48.prol.loopexit, %.lr.ph48, %.preheader45
  %.1.lcssa = phi i32 [ %.0.lcssa, %.preheader45 ], [ %19, %.lr.ph48 ], [ %19, %.lr.ph48.prol.loopexit ]
  %59 = icmp slt i32 %.1.lcssa, %27
  br i1 %59, label %.lr.ph51.preheader, label %.preheader43

.lr.ph51.preheader:                               ; preds = %.preheader44
  %60 = zext i32 %.1.lcssa to i64
  %61 = add i32 %16, %8
  %62 = add i32 %61, %10
  %63 = sub i32 %62, %.1.lcssa
  %xtraiter108 = and i32 %63, 3
  %lcmp.mod109.not = icmp eq i32 %xtraiter108, 0
  br i1 %lcmp.mod109.not, label %.lr.ph51.prol.loopexit, label %.lr.ph51.prol

.lr.ph51.prol:                                    ; preds = %.lr.ph51.preheader, %.lr.ph51.prol
  %indvars.iv79.prol = phi i64 [ %indvars.iv.next80.prol, %.lr.ph51.prol ], [ %60, %.lr.ph51.preheader ]
  %prol.iter110 = phi i32 [ %prol.iter110.next, %.lr.ph51.prol ], [ 0, %.lr.ph51.preheader ]
  %64 = load ptr, ptr %33, align 8, !tbaa !26
  %65 = getelementptr inbounds i8, ptr %64, i64 %indvars.iv79.prol
  store i8 0, ptr %65, align 1, !tbaa !27
  %indvars.iv.next80.prol = add nuw nsw i64 %indvars.iv79.prol, 1
  %prol.iter110.next = add i32 %prol.iter110, 1
  %prol.iter110.cmp.not = icmp eq i32 %prol.iter110.next, %xtraiter108
  br i1 %prol.iter110.cmp.not, label %.lr.ph51.prol.loopexit.unr-lcssa, label %.lr.ph51.prol, !llvm.loop !33

.lr.ph51.prol.loopexit.unr-lcssa:                 ; preds = %.lr.ph51.prol
  %66 = trunc nuw i64 %indvars.iv.next80.prol to i32
  br label %.lr.ph51.prol.loopexit

.lr.ph51.prol.loopexit:                           ; preds = %.lr.ph51.prol.loopexit.unr-lcssa, %.lr.ph51.preheader
  %indvars.iv79.unr = phi i64 [ %60, %.lr.ph51.preheader ], [ %indvars.iv.next80.prol, %.lr.ph51.prol.loopexit.unr-lcssa ]
  %.lcssa105.unr = phi i32 [ poison, %.lr.ph51.preheader ], [ %66, %.lr.ph51.prol.loopexit.unr-lcssa ]
  %67 = sub i32 %.1.lcssa, %62
  %68 = icmp ugt i32 %67, -4
  br i1 %68, label %.preheader43, label %.lr.ph51

.lr.ph48:                                         ; preds = %.lr.ph48.prol.loopexit, %.lr.ph48
  %indvars.iv74 = phi i64 [ %indvars.iv.next75.3, %.lr.ph48 ], [ %indvars.iv74.unr, %.lr.ph48.prol.loopexit ]
  %69 = load ptr, ptr %33, align 8, !tbaa !26
  %70 = getelementptr inbounds i8, ptr %69, i64 %indvars.iv74
  store i8 3, ptr %70, align 1, !tbaa !27
  %71 = load ptr, ptr %33, align 8, !tbaa !26
  %72 = getelementptr i8, ptr %71, i64 %indvars.iv74
  %73 = getelementptr i8, ptr %72, i64 1
  store i8 3, ptr %73, align 1, !tbaa !27
  %74 = load ptr, ptr %33, align 8, !tbaa !26
  %75 = getelementptr i8, ptr %74, i64 %indvars.iv74
  %76 = getelementptr i8, ptr %75, i64 2
  store i8 3, ptr %76, align 1, !tbaa !27
  %77 = load ptr, ptr %33, align 8, !tbaa !26
  %78 = getelementptr i8, ptr %77, i64 %indvars.iv74
  %79 = getelementptr i8, ptr %78, i64 3
  store i8 3, ptr %79, align 1, !tbaa !27
  %indvars.iv.next75.3 = add nuw nsw i64 %indvars.iv74, 4
  %exitcond78.not.3 = icmp eq i64 %indvars.iv.next75.3, %wide.trip.count77
  br i1 %exitcond78.not.3, label %.preheader44, label %.lr.ph48, !llvm.loop !34

.preheader43:                                     ; preds = %.lr.ph51.prol.loopexit, %.lr.ph51, %.preheader44
  %.2.lcssa = phi i32 [ %.1.lcssa, %.preheader44 ], [ %.lcssa105.unr, %.lr.ph51.prol.loopexit ], [ %93, %.lr.ph51 ]
  %80 = icmp slt i32 %.2.lcssa, %28
  br i1 %80, label %.lr.ph54.preheader, label %.preheader42

.lr.ph54.preheader:                               ; preds = %.preheader43
  %81 = zext i32 %.2.lcssa to i64
  br label %.lr.ph54

.lr.ph51:                                         ; preds = %.lr.ph51.prol.loopexit, %.lr.ph51
  %indvars.iv79 = phi i64 [ %indvars.iv.next80.3, %.lr.ph51 ], [ %indvars.iv79.unr, %.lr.ph51.prol.loopexit ]
  %82 = load ptr, ptr %33, align 8, !tbaa !26
  %83 = getelementptr inbounds i8, ptr %82, i64 %indvars.iv79
  store i8 0, ptr %83, align 1, !tbaa !27
  %84 = load ptr, ptr %33, align 8, !tbaa !26
  %85 = getelementptr i8, ptr %84, i64 %indvars.iv79
  %86 = getelementptr i8, ptr %85, i64 1
  store i8 0, ptr %86, align 1, !tbaa !27
  %87 = load ptr, ptr %33, align 8, !tbaa !26
  %88 = getelementptr i8, ptr %87, i64 %indvars.iv79
  %89 = getelementptr i8, ptr %88, i64 2
  store i8 0, ptr %89, align 1, !tbaa !27
  %90 = load ptr, ptr %33, align 8, !tbaa !26
  %91 = getelementptr i8, ptr %90, i64 %indvars.iv79
  %92 = getelementptr i8, ptr %91, i64 3
  store i8 0, ptr %92, align 1, !tbaa !27
  %indvars.iv.next80.3 = add nuw nsw i64 %indvars.iv79, 4
  %93 = trunc nuw i64 %indvars.iv.next80.3 to i32
  %94 = icmp sgt i32 %27, %93
  br i1 %94, label %.lr.ph51, label %.preheader43, !llvm.loop !35

.preheader42:                                     ; preds = %.lr.ph54, %.preheader43
  %.3.lcssa = phi i32 [ %.2.lcssa, %.preheader43 ], [ %99, %.lr.ph54 ]
  %95 = icmp slt i32 %.3.lcssa, %29
  br i1 %95, label %.lr.ph57.preheader, label %.preheader41

.lr.ph57.preheader:                               ; preds = %.preheader42
  %96 = zext i32 %.3.lcssa to i64
  br label %.lr.ph57

.lr.ph54:                                         ; preds = %.lr.ph54.preheader, %.lr.ph54
  %indvars.iv82 = phi i64 [ %81, %.lr.ph54.preheader ], [ %indvars.iv.next83, %.lr.ph54 ]
  %97 = load ptr, ptr %33, align 8, !tbaa !26
  %98 = getelementptr inbounds i8, ptr %97, i64 %indvars.iv82
  store i8 2, ptr %98, align 1, !tbaa !27
  %indvars.iv.next83 = add nuw nsw i64 %indvars.iv82, 1
  %99 = trunc nuw i64 %indvars.iv.next83 to i32
  %100 = icmp sgt i32 %28, %99
  br i1 %100, label %.lr.ph54, label %.preheader42, !llvm.loop !36

.preheader41:                                     ; preds = %.lr.ph57, %.preheader42
  %.4.lcssa = phi i32 [ %.3.lcssa, %.preheader42 ], [ %105, %.lr.ph57 ]
  %101 = icmp slt i32 %.4.lcssa, %30
  br i1 %101, label %.lr.ph60.preheader, label %.preheader40

.lr.ph60.preheader:                               ; preds = %.preheader41
  %102 = zext i32 %.4.lcssa to i64
  br label %.lr.ph60

.lr.ph57:                                         ; preds = %.lr.ph57.preheader, %.lr.ph57
  %indvars.iv85 = phi i64 [ %96, %.lr.ph57.preheader ], [ %indvars.iv.next86, %.lr.ph57 ]
  %103 = load ptr, ptr %33, align 8, !tbaa !26
  %104 = getelementptr inbounds i8, ptr %103, i64 %indvars.iv85
  store i8 6, ptr %104, align 1, !tbaa !27
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %105 = trunc nuw i64 %indvars.iv.next86 to i32
  %106 = icmp sgt i32 %29, %105
  br i1 %106, label %.lr.ph57, label %.preheader41, !llvm.loop !37

.preheader40:                                     ; preds = %.lr.ph60, %.preheader41
  %.5.lcssa = phi i32 [ %.4.lcssa, %.preheader41 ], [ %117, %.lr.ph60 ]
  %107 = icmp slt i32 %.5.lcssa, %31
  br i1 %107, label %.lr.ph63.preheader, label %.preheader

.lr.ph63.preheader:                               ; preds = %.preheader40
  %108 = sext i32 %.5.lcssa to i64
  %109 = sext i32 %31 to i64
  %110 = sub nsw i64 %109, %108
  %xtraiter111 = and i64 %110, 3
  %lcmp.mod112.not = icmp eq i64 %xtraiter111, 0
  br i1 %lcmp.mod112.not, label %.lr.ph63.prol.loopexit, label %.lr.ph63.prol

.lr.ph63.prol:                                    ; preds = %.lr.ph63.preheader, %.lr.ph63.prol
  %indvars.iv91.prol = phi i64 [ %indvars.iv.next92.prol, %.lr.ph63.prol ], [ %108, %.lr.ph63.preheader ]
  %prol.iter113 = phi i64 [ %prol.iter113.next, %.lr.ph63.prol ], [ 0, %.lr.ph63.preheader ]
  %111 = load ptr, ptr %33, align 8, !tbaa !26
  %112 = getelementptr inbounds i8, ptr %111, i64 %indvars.iv91.prol
  store i8 7, ptr %112, align 1, !tbaa !27
  %indvars.iv.next92.prol = add nsw i64 %indvars.iv91.prol, 1
  %prol.iter113.next = add i64 %prol.iter113, 1
  %prol.iter113.cmp.not = icmp eq i64 %prol.iter113.next, %xtraiter111
  br i1 %prol.iter113.cmp.not, label %.lr.ph63.prol.loopexit, label %.lr.ph63.prol, !llvm.loop !38

.lr.ph63.prol.loopexit:                           ; preds = %.lr.ph63.prol, %.lr.ph63.preheader
  %indvars.iv91.unr = phi i64 [ %108, %.lr.ph63.preheader ], [ %indvars.iv.next92.prol, %.lr.ph63.prol ]
  %indvars.iv.next92.lcssa.unr = phi i64 [ poison, %.lr.ph63.preheader ], [ %indvars.iv.next92.prol, %.lr.ph63.prol ]
  %113 = sub nsw i64 %108, %109
  %114 = icmp ugt i64 %113, -4
  br i1 %114, label %.preheader.loopexit, label %.lr.ph63

.lr.ph60:                                         ; preds = %.lr.ph60.preheader, %.lr.ph60
  %indvars.iv88 = phi i64 [ %102, %.lr.ph60.preheader ], [ %indvars.iv.next89, %.lr.ph60 ]
  %115 = load ptr, ptr %33, align 8, !tbaa !26
  %116 = getelementptr inbounds i8, ptr %115, i64 %indvars.iv88
  store i8 5, ptr %116, align 1, !tbaa !27
  %indvars.iv.next89 = add nuw nsw i64 %indvars.iv88, 1
  %117 = trunc nuw i64 %indvars.iv.next89 to i32
  %118 = icmp sgt i32 %30, %117
  br i1 %118, label %.lr.ph60, label %.preheader40, !llvm.loop !39

.preheader.loopexit:                              ; preds = %.lr.ph63, %.lr.ph63.prol.loopexit
  %indvars.iv.next92.lcssa = phi i64 [ %indvars.iv.next92.lcssa.unr, %.lr.ph63.prol.loopexit ], [ %indvars.iv.next92.3, %.lr.ph63 ]
  %119 = trunc nsw i64 %indvars.iv.next92.lcssa to i32
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %.preheader40
  %.6.lcssa = phi i32 [ %.5.lcssa, %.preheader40 ], [ %119, %.preheader.loopexit ]
  %120 = icmp slt i32 %.6.lcssa, %32
  br i1 %120, label %.lr.ph66.preheader, label %._crit_edge

.lr.ph66.preheader:                               ; preds = %.preheader
  %121 = sext i32 %.6.lcssa to i64
  %122 = sext i32 %32 to i64
  %123 = sub nsw i64 %122, %121
  %xtraiter114 = and i64 %123, 3
  %lcmp.mod115.not = icmp eq i64 %xtraiter114, 0
  br i1 %lcmp.mod115.not, label %.lr.ph66.prol.loopexit, label %.lr.ph66.prol

.lr.ph66.prol:                                    ; preds = %.lr.ph66.preheader, %.lr.ph66.prol
  %indvars.iv94.prol = phi i64 [ %indvars.iv.next95.prol, %.lr.ph66.prol ], [ %121, %.lr.ph66.preheader ]
  %prol.iter116 = phi i64 [ %prol.iter116.next, %.lr.ph66.prol ], [ 0, %.lr.ph66.preheader ]
  %124 = load ptr, ptr %33, align 8, !tbaa !26
  %125 = getelementptr inbounds i8, ptr %124, i64 %indvars.iv94.prol
  store i8 1, ptr %125, align 1, !tbaa !27
  %indvars.iv.next95.prol = add nsw i64 %indvars.iv94.prol, 1
  %prol.iter116.next = add i64 %prol.iter116, 1
  %prol.iter116.cmp.not = icmp eq i64 %prol.iter116.next, %xtraiter114
  br i1 %prol.iter116.cmp.not, label %.lr.ph66.prol.loopexit, label %.lr.ph66.prol, !llvm.loop !40

.lr.ph66.prol.loopexit:                           ; preds = %.lr.ph66.prol, %.lr.ph66.preheader
  %indvars.iv94.unr = phi i64 [ %121, %.lr.ph66.preheader ], [ %indvars.iv.next95.prol, %.lr.ph66.prol ]
  %126 = sub nsw i64 %121, %122
  %127 = icmp ugt i64 %126, -4
  br i1 %127, label %._crit_edge, label %.lr.ph66

.lr.ph63:                                         ; preds = %.lr.ph63.prol.loopexit, %.lr.ph63
  %indvars.iv91 = phi i64 [ %indvars.iv.next92.3, %.lr.ph63 ], [ %indvars.iv91.unr, %.lr.ph63.prol.loopexit ]
  %128 = load ptr, ptr %33, align 8, !tbaa !26
  %129 = getelementptr inbounds i8, ptr %128, i64 %indvars.iv91
  store i8 7, ptr %129, align 1, !tbaa !27
  %130 = load ptr, ptr %33, align 8, !tbaa !26
  %131 = getelementptr i8, ptr %130, i64 %indvars.iv91
  %132 = getelementptr i8, ptr %131, i64 1
  store i8 7, ptr %132, align 1, !tbaa !27
  %133 = load ptr, ptr %33, align 8, !tbaa !26
  %134 = getelementptr i8, ptr %133, i64 %indvars.iv91
  %135 = getelementptr i8, ptr %134, i64 2
  store i8 7, ptr %135, align 1, !tbaa !27
  %136 = load ptr, ptr %33, align 8, !tbaa !26
  %137 = getelementptr i8, ptr %136, i64 %indvars.iv91
  %138 = getelementptr i8, ptr %137, i64 3
  store i8 7, ptr %138, align 1, !tbaa !27
  %indvars.iv.next92.3 = add nsw i64 %indvars.iv91, 4
  %139 = icmp slt i64 %indvars.iv.next92.3, %109
  br i1 %139, label %.lr.ph63, label %.preheader.loopexit, !llvm.loop !41

.lr.ph66:                                         ; preds = %.lr.ph66.prol.loopexit, %.lr.ph66
  %indvars.iv94 = phi i64 [ %indvars.iv.next95.3, %.lr.ph66 ], [ %indvars.iv94.unr, %.lr.ph66.prol.loopexit ]
  %140 = load ptr, ptr %33, align 8, !tbaa !26
  %141 = getelementptr inbounds i8, ptr %140, i64 %indvars.iv94
  store i8 1, ptr %141, align 1, !tbaa !27
  %142 = load ptr, ptr %33, align 8, !tbaa !26
  %143 = getelementptr i8, ptr %142, i64 %indvars.iv94
  %144 = getelementptr i8, ptr %143, i64 1
  store i8 1, ptr %144, align 1, !tbaa !27
  %145 = load ptr, ptr %33, align 8, !tbaa !26
  %146 = getelementptr i8, ptr %145, i64 %indvars.iv94
  %147 = getelementptr i8, ptr %146, i64 2
  store i8 1, ptr %147, align 1, !tbaa !27
  %148 = load ptr, ptr %33, align 8, !tbaa !26
  %149 = getelementptr i8, ptr %148, i64 %indvars.iv94
  %150 = getelementptr i8, ptr %149, i64 3
  store i8 1, ptr %150, align 1, !tbaa !27
  %indvars.iv.next95.3 = add nsw i64 %indvars.iv94, 4
  %151 = icmp slt i64 %indvars.iv.next95.3, %122
  br i1 %151, label %.lr.ph66, label %._crit_edge, !llvm.loop !42

._crit_edge:                                      ; preds = %.lr.ph66.prol.loopexit, %.lr.ph66, %.preheader
  %152 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 0, ptr %152, align 4, !tbaa !43
  %153 = getelementptr inbounds i8, ptr %0, i64 16
  %154 = load ptr, ptr %153, align 8, !tbaa !44
  %155 = load ptr, ptr %0, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %155, i64 456
  %157 = tail call noundef zeroext i1 @_ZN4TPCE11CBaseLogger12SendToLoggerERNS_24CTxnMixGeneratorSettingsE(ptr noundef nonnull align 8 dereferenceable(80) %154, ptr noundef nonnull align 8 dereferenceable(108) %156)
  ret void
}

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

declare noundef zeroext i1 @_ZN4TPCE11CBaseLogger12SendToLoggerERNS_24CTxnMixGeneratorSettingsE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(108)) local_unnamed_addr #3

attributes #0 = { 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 #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 = { 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 #3 = { "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 = { builtin nounwind }
attributes #5 = { 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, !7, i64 0}
!6 = !{!"_ZTSN4TPCE18CCETxnMixGeneratorE", !7, i64 0, !10, i64 8, !7, i64 16, !12, i64 24, !12, i64 28, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4TPCE7CRandomE", !11, i64 0}
!11 = !{!"long long", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 64}
!14 = !{!"_ZTSN4TPCE23CParametersWithDefaultsINS_24TTxnMixGeneratorSettingsENS_29TTxnMixGeneratorSettingsStateEEE", !15, i64 8, !16, i64 52, !15, i64 64}
!15 = !{!"_ZTSN4TPCE24TTxnMixGeneratorSettingsE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40}
!16 = !{!"_ZTSN4TPCE29TTxnMixGeneratorSettingsStateE", !17, i64 0, !17, i64 1, !17, i64 2, !17, i64 3, !17, i64 4, !17, i64 5, !17, i64 6, !17, i64 7, !17, i64 8}
!17 = !{!"bool", !8, i64 0}
!18 = !{!14, !12, i64 68}
!19 = !{!14, !12, i64 76}
!20 = !{!14, !12, i64 80}
!21 = !{!14, !12, i64 84}
!22 = !{!14, !12, i64 88}
!23 = !{!14, !12, i64 96}
!24 = !{!14, !12, i64 100}
!25 = !{!6, !12, i64 24}
!26 = !{!6, !7, i64 32}
!27 = !{!8, !8, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.unroll.disable"}
!30 = distinct !{!30, !29}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !29}
!34 = distinct !{!34, !32}
!35 = distinct !{!35, !32}
!36 = distinct !{!36, !32}
!37 = distinct !{!37, !32}
!38 = distinct !{!38, !29}
!39 = distinct !{!39, !32}
!40 = distinct !{!40, !29}
!41 = distinct !{!41, !32}
!42 = distinct !{!42, !32}
!43 = !{!6, !12, i64 28}
!44 = !{!6, !7, i64 16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass