; LLVM IR from gem5/gem5 :: ext/drampower/src/CmdHandlers.ll (ZN4Data15CommandAnalysis12handleNopEndEl)

; 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.Data::CommandAnalysis" = type { %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", i64, %"class.std::vector", i64, i64, %"class.std::vector", i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %"class.Data::MemorySpecification", i64, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector.13", %"class.std::vector", i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32, i64, i64, %"class.std::vector", i64 }
%"class.Data::MemorySpecification" = type { ptr, %"class.std::__cxx11::basic_string", %"class.Data::MemoryType", [4 x i8], %"class.Data::MemArchitectureSpec", %"class.Data::MemTimingSpec", %"class.Data::MemPowerSpec", %"class.Data::Parametrisable" }
%"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.Data::MemoryType" = type { i32 }
%"class.Data::MemArchitectureSpec" = type <{ ptr, i64, i64, i64, i64, i64, i64, i64, i64, i8, i8, i8, [5 x i8], %"class.Data::Parametrisable" }>
%"class.Data::MemTimingSpec" = type { ptr, double, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, double, %"class.Data::Parametrisable" }
%"class.Data::MemPowerSpec" = type { ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %"class.Data::Parametrisable" }
%"class.Data::Parametrisable" = type { ptr, %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<Data::Parameter, std::allocator<Data::Parameter>>::_Vector_impl" }
%"struct.std::_Vector_base<Data::Parameter, std::allocator<Data::Parameter>>::_Vector_impl" = type { %"struct.std::_Vector_base<Data::Parameter, std::allocator<Data::Parameter>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Data::Parameter, std::allocator<Data::Parameter>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Data::MemCommand, std::allocator<Data::MemCommand>>::_Vector_impl" }
%"struct.std::_Vector_base<Data::MemCommand, std::allocator<Data::MemCommand>>::_Vector_impl" = type { %"struct.std::_Vector_base<Data::MemCommand, std::allocator<Data::MemCommand>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Data::MemCommand, std::allocator<Data::MemCommand>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Data::CommandAnalysis::BankState, std::allocator<Data::CommandAnalysis::BankState>>::_Vector_impl" }
%"struct.std::_Vector_base<Data::CommandAnalysis::BankState, std::allocator<Data::CommandAnalysis::BankState>>::_Vector_impl" = type { %"struct.std::_Vector_base<Data::CommandAnalysis::BankState, std::allocator<Data::CommandAnalysis::BankState>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Data::CommandAnalysis::BankState, std::allocator<Data::CommandAnalysis::BankState>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.35 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z10zero_guardlPKc(i64 noundef, ptr noundef) #0

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

declare noundef i32 @_ZN4Data15CommandAnalysis12nActiveBanksEv(ptr noundef nonnull align 8 dereferenceable(1392)) #3

declare void @_ZN4Data15CommandAnalysis15idle_pre_updateEll(ptr noundef nonnull align 8 dereferenceable(1392), i64 noundef, i64 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN4Data15CommandAnalysis9BankStateESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

declare void @_ZN4Data15CommandAnalysis15idle_act_updateEllll(ptr noundef nonnull align 8 dereferenceable(1392), i64 noundef, i64 noundef, i64 noundef, i64 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Data15CommandAnalysis12handleNopEndEl(ptr noundef nonnull align 8 dereferenceable(1392) %0, i64 noundef %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %8 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %9 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 30
  %10 = getelementptr inbounds %"class.Data::MemorySpecification", ptr %9, i32 0, i32 5
  store ptr %10, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !11
  br label %11

11:                                               ; preds = %41, %2
  %12 = load i32, ptr %6, align 4, !tbaa !11
  %13 = zext i32 %12 to i64
  %14 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 49
  %15 = load i64, ptr %14, align 8, !tbaa !13
  %16 = icmp slt i64 %13, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %44

18:                                               ; preds = %11
  %19 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 36
  %20 = load i32, ptr %6, align 4, !tbaa !11
  %21 = zext i32 %20 to i64
  %22 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN4Data15CommandAnalysis9BankStateESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %21) #4
  %23 = load i32, ptr %22, align 4, !tbaa !37
  %24 = icmp eq i32 %23, 1
  br i1 %24, label %25, label %40

25:                                               ; preds = %18
  %26 = load i64, ptr %4, align 8, !tbaa !9
  %27 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 51
  %28 = load i32, ptr %6, align 4, !tbaa !11
  %29 = zext i32 %28 to i64
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %29) #4
  %31 = load i64, ptr %30, align 8, !tbaa !9
  %32 = sub nsw i64 %26, %31
  %33 = call noundef i64 @_Z10zero_guardlPKc(i64 noundef %32, ptr noundef @.str.35)
  %34 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 8
  %35 = load i32, ptr %6, align 4, !tbaa !11
  %36 = zext i32 %35 to i64
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %36) #4
  %38 = load i64, ptr %37, align 8, !tbaa !9
  %39 = add nsw i64 %38, %33
  store i64 %39, ptr %37, align 8, !tbaa !9
  br label %40

40:                                               ; preds = %25, %18
  br label %41

41:                                               ; preds = %40
  %42 = load i32, ptr %6, align 4, !tbaa !11
  %43 = add i32 %42, 1
  store i32 %43, ptr %6, align 4, !tbaa !11
  br label %11, !llvm.loop !39

44:                                               ; preds = %17
  %45 = call noundef i32 @_ZN4Data15CommandAnalysis12nActiveBanksEv(ptr noundef nonnull align 8 dereferenceable(1392) %8)
  %46 = icmp ugt i32 %45, 0
  br i1 %46, label %47, label %67

47:                                               ; preds = %44
  %48 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 48
  %49 = load i32, ptr %48, align 8, !tbaa !41
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %67

51:                                               ; preds = %47
  %52 = load i64, ptr %4, align 8, !tbaa !9
  %53 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 50
  %54 = load i64, ptr %53, align 8, !tbaa !42
  %55 = sub nsw i64 %52, %54
  %56 = call noundef i64 @_Z10zero_guardlPKc(i64 noundef %55, ptr noundef @.str.36)
  %57 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 7
  %58 = load i64, ptr %57, align 8, !tbaa !43
  %59 = add nsw i64 %58, %56
  store i64 %59, ptr %57, align 8, !tbaa !43
  %60 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 40
  %61 = load i64, ptr %60, align 8, !tbaa !44
  %62 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 41
  %63 = load i64, ptr %62, align 8, !tbaa !45
  %64 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 38
  %65 = load i64, ptr %64, align 8, !tbaa !46
  %66 = load i64, ptr %4, align 8, !tbaa !9
  call void @_ZN4Data15CommandAnalysis15idle_act_updateEllll(ptr noundef nonnull align 8 dereferenceable(1392) %8, i64 noundef %61, i64 noundef %63, i64 noundef %65, i64 noundef %66)
  br label %289

67:                                               ; preds = %47, %44
  %68 = call noundef i32 @_ZN4Data15CommandAnalysis12nActiveBanksEv(ptr noundef nonnull align 8 dereferenceable(1392) %8)
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %86

70:                                               ; preds = %67
  %71 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 48
  %72 = load i32, ptr %71, align 8, !tbaa !41
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %86

74:                                               ; preds = %70
  %75 = load i64, ptr %4, align 8, !tbaa !9
  %76 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 52
  %77 = load i64, ptr %76, align 8, !tbaa !47
  %78 = sub nsw i64 %75, %77
  %79 = call noundef i64 @_Z10zero_guardlPKc(i64 noundef %78, ptr noundef @.str.37)
  %80 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 6
  %81 = load i64, ptr %80, align 8, !tbaa !48
  %82 = add nsw i64 %81, %79
  store i64 %82, ptr %80, align 8, !tbaa !48
  %83 = load i64, ptr %4, align 8, !tbaa !9
  %84 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 39
  %85 = load i64, ptr %84, align 8, !tbaa !49
  call void @_ZN4Data15CommandAnalysis15idle_pre_updateEll(ptr noundef nonnull align 8 dereferenceable(1392) %8, i64 noundef %83, i64 noundef %85)
  br label %288

86:                                               ; preds = %70, %67
  %87 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 48
  %88 = load i32, ptr %87, align 8, !tbaa !41
  %89 = icmp eq i32 %88, 10
  br i1 %89, label %90, label %99

90:                                               ; preds = %86
  %91 = load i64, ptr %4, align 8, !tbaa !9
  %92 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 47
  %93 = load i64, ptr %92, align 8, !tbaa !50
  %94 = sub nsw i64 %91, %93
  %95 = call noundef i64 @_Z10zero_guardlPKc(i64 noundef %94, ptr noundef @.str.38)
  %96 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 16
  %97 = load i64, ptr %96, align 8, !tbaa !51
  %98 = add nsw i64 %97, %95
  store i64 %98, ptr %96, align 8, !tbaa !51
  br label %287

99:                                               ; preds = %86
  %100 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 48
  %101 = load i32, ptr %100, align 8, !tbaa !41
  %102 = icmp eq i32 %101, 11
  br i1 %102, label %103, label %112

103:                                              ; preds = %99
  %104 = load i64, ptr %4, align 8, !tbaa !9
  %105 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 47
  %106 = load i64, ptr %105, align 8, !tbaa !50
  %107 = sub nsw i64 %104, %106
  %108 = call noundef i64 @_Z10zero_guardlPKc(i64 noundef %107, ptr noundef @.str.38)
  %109 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 17
  %110 = load i64, ptr %109, align 8, !tbaa !52
  %111 = add nsw i64 %110, %108
  store i64 %111, ptr %109, align 8, !tbaa !52
  br label %286

112:                                              ; preds = %99
  %113 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 48
  %114 = load i32, ptr %113, align 8, !tbaa !41
  %115 = icmp eq i32 %114, 12
  br i1 %115, label %116, label %125

116:                                              ; preds = %112
  %117 = load i64, ptr %4, align 8, !tbaa !9
  %118 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 47
  %119 = load i64, ptr %118, align 8, !tbaa !50
  %120 = sub nsw i64 %117, %119
  %121 = call noundef i64 @_Z10zero_guardlPKc(i64 noundef %120, ptr noundef @.str.38)
  %122 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 18
  %123 = load i64, ptr %122, align 8, !tbaa !53
  %124 = add nsw i64 %123, %121
  store i64 %124, ptr %122, align 8, !tbaa !53
  br label %285

125:                                              ; preds = %112
  %126 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 48
  %127 = load i32, ptr %126, align 8, !tbaa !41
  %128 = icmp eq i32 %127, 13
  br i1 %128, label %129, label %138

129:                                              ; preds = %125
  %130 = load i64, ptr %4, align 8, !tbaa !9
  %131 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 47
  %132 = load i64, ptr %131, align 8, !tbaa !50
  %133 = sub nsw i64 %130, %132
  %134 = call noundef i64 @_Z10zero_guardlPKc(i64 noundef %133, ptr noundef @.str.38)
  %135 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 19
  %136 = load i64, ptr %135, align 8, !tbaa !54
  %137 = add nsw i64 %136, %134
  store i64 %137, ptr %135, align 8, !tbaa !54
  br label %284

138:                                              ; preds = %125
  %139 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 48
  %140 = load i32, ptr %139, align 8, !tbaa !41
  %141 = icmp eq i32 %140, 14
  br i1 %141, label %142, label %283

142:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds %"class.Data::MemTimingSpec", ptr %143, i32 0, i32 18
  %145 = load i64, ptr %144, align 8, !tbaa !55
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %"class.Data::MemTimingSpec", ptr %146, i32 0, i32 17
  %148 = load i64, ptr %147, align 8, !tbaa !56
  %149 = sub nsw i64 %145, %148
  store i64 %149, ptr %7, align 8, !tbaa !9
  %150 = load i64, ptr %4, align 8, !tbaa !9
  %151 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 45
  %152 = load i64, ptr %151, align 8, !tbaa !57
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %"class.Data::MemTimingSpec", ptr %153, i32 0, i32 18
  %155 = load i64, ptr %154, align 8, !tbaa !55
  %156 = add nsw i64 %152, %155
  %157 = icmp sgt i64 %150, %156
  br i1 %157, label %158, label %221

158:                                              ; preds = %142
  %159 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  %160 = load i64, ptr %159, align 8, !tbaa !58
  %161 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 45
  %162 = load i64, ptr %161, align 8, !tbaa !57
  %163 = load i64, ptr %7, align 8, !tbaa !9
  %164 = add nsw i64 %162, %163
  %165 = icmp sle i64 %160, %164
  br i1 %165, label %166, label %181

166:                                              ; preds = %158
  %167 = load i64, ptr %7, align 8, !tbaa !9
  %168 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 25
  %169 = load i64, ptr %168, align 8, !tbaa !59
  %170 = sub nsw i64 %167, %169
  %171 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 24
  %172 = load i64, ptr %171, align 8, !tbaa !60
  %173 = add nsw i64 %172, %170
  store i64 %173, ptr %171, align 8, !tbaa !60
  %174 = load i64, ptr %7, align 8, !tbaa !9
  %175 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 25
  store i64 %174, ptr %175, align 8, !tbaa !59
  %176 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 45
  %177 = load i64, ptr %176, align 8, !tbaa !57
  %178 = load i64, ptr %7, align 8, !tbaa !9
  %179 = add nsw i64 %177, %178
  %180 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  store i64 %179, ptr %180, align 8, !tbaa !58
  br label %181

181:                                              ; preds = %166, %158
  %182 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  %183 = load i64, ptr %182, align 8, !tbaa !58
  %184 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 45
  %185 = load i64, ptr %184, align 8, !tbaa !57
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %"class.Data::MemTimingSpec", ptr %186, i32 0, i32 18
  %188 = load i64, ptr %187, align 8, !tbaa !55
  %189 = add nsw i64 %185, %188
  %190 = icmp sle i64 %183, %189
  br i1 %190, label %191, label %212

191:                                              ; preds = %181
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = getelementptr inbounds %"class.Data::MemTimingSpec", ptr %192, i32 0, i32 17
  %194 = load i64, ptr %193, align 8, !tbaa !56
  %195 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 27
  %196 = load i64, ptr %195, align 8, !tbaa !61
  %197 = sub nsw i64 %194, %196
  %198 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 26
  %199 = load i64, ptr %198, align 8, !tbaa !62
  %200 = add nsw i64 %199, %197
  store i64 %200, ptr %198, align 8, !tbaa !62
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = getelementptr inbounds %"class.Data::MemTimingSpec", ptr %201, i32 0, i32 17
  %203 = load i64, ptr %202, align 8, !tbaa !56
  %204 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 27
  store i64 %203, ptr %204, align 8, !tbaa !61
  %205 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 45
  %206 = load i64, ptr %205, align 8, !tbaa !57
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = getelementptr inbounds %"class.Data::MemTimingSpec", ptr %207, i32 0, i32 18
  %209 = load i64, ptr %208, align 8, !tbaa !55
  %210 = add nsw i64 %206, %209
  %211 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  store i64 %210, ptr %211, align 8, !tbaa !58
  br label %212

212:                                              ; preds = %191, %181
  %213 = load i64, ptr %4, align 8, !tbaa !9
  %214 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  %215 = load i64, ptr %214, align 8, !tbaa !58
  %216 = sub nsw i64 %213, %215
  %217 = call noundef i64 @_Z10zero_guardlPKc(i64 noundef %216, ptr noundef @.str.39)
  %218 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 20
  %219 = load i64, ptr %218, align 8, !tbaa !63
  %220 = add nsw i64 %219, %217
  store i64 %220, ptr %218, align 8, !tbaa !63
  br label %282

221:                                              ; preds = %142
  %222 = load i64, ptr %4, align 8, !tbaa !9
  %223 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 45
  %224 = load i64, ptr %223, align 8, !tbaa !57
  %225 = load i64, ptr %7, align 8, !tbaa !9
  %226 = add nsw i64 %224, %225
  %227 = icmp sgt i64 %222, %226
  br i1 %227, label %228, label %266

228:                                              ; preds = %221
  %229 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  %230 = load i64, ptr %229, align 8, !tbaa !58
  %231 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 45
  %232 = load i64, ptr %231, align 8, !tbaa !57
  %233 = load i64, ptr %7, align 8, !tbaa !9
  %234 = add nsw i64 %232, %233
  %235 = icmp sle i64 %230, %234
  br i1 %235, label %236, label %251

236:                                              ; preds = %228
  %237 = load i64, ptr %7, align 8, !tbaa !9
  %238 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 25
  %239 = load i64, ptr %238, align 8, !tbaa !59
  %240 = sub nsw i64 %237, %239
  %241 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 24
  %242 = load i64, ptr %241, align 8, !tbaa !60
  %243 = add nsw i64 %242, %240
  store i64 %243, ptr %241, align 8, !tbaa !60
  %244 = load i64, ptr %7, align 8, !tbaa !9
  %245 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 25
  store i64 %244, ptr %245, align 8, !tbaa !59
  %246 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 45
  %247 = load i64, ptr %246, align 8, !tbaa !57
  %248 = load i64, ptr %7, align 8, !tbaa !9
  %249 = add nsw i64 %247, %248
  %250 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  store i64 %249, ptr %250, align 8, !tbaa !58
  br label %251

251:                                              ; preds = %236, %228
  %252 = load i64, ptr %4, align 8, !tbaa !9
  %253 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  %254 = load i64, ptr %253, align 8, !tbaa !58
  %255 = sub nsw i64 %252, %254
  %256 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 27
  %257 = load i64, ptr %256, align 8, !tbaa !61
  %258 = add nsw i64 %257, %255
  store i64 %258, ptr %256, align 8, !tbaa !61
  %259 = load i64, ptr %4, align 8, !tbaa !9
  %260 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  %261 = load i64, ptr %260, align 8, !tbaa !58
  %262 = sub nsw i64 %259, %261
  %263 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 26
  %264 = load i64, ptr %263, align 8, !tbaa !62
  %265 = add nsw i64 %264, %262
  store i64 %265, ptr %263, align 8, !tbaa !62
  br label %281

266:                                              ; preds = %221
  %267 = load i64, ptr %4, align 8, !tbaa !9
  %268 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  %269 = load i64, ptr %268, align 8, !tbaa !58
  %270 = sub nsw i64 %267, %269
  %271 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 25
  %272 = load i64, ptr %271, align 8, !tbaa !59
  %273 = add nsw i64 %272, %270
  store i64 %273, ptr %271, align 8, !tbaa !59
  %274 = load i64, ptr %4, align 8, !tbaa !9
  %275 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 46
  %276 = load i64, ptr %275, align 8, !tbaa !58
  %277 = sub nsw i64 %274, %276
  %278 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %8, i32 0, i32 24
  %279 = load i64, ptr %278, align 8, !tbaa !60
  %280 = add nsw i64 %279, %277
  store i64 %280, ptr %278, align 8, !tbaa !60
  br label %281

281:                                              ; preds = %266, %251
  br label %282

282:                                              ; preds = %281, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %283

283:                                              ; preds = %282, %138
  br label %284

284:                                              ; preds = %283, %129
  br label %285

285:                                              ; preds = %284, %116
  br label %286

286:                                              ; preds = %285, %103
  br label %287

287:                                              ; preds = %286, %90
  br label %288

288:                                              ; preds = %287, %74
  br label %289

289:                                              ; preds = %288, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 1344}
!14 = !{!"_ZTSN4Data15CommandAnalysisE", !15, i64 0, !15, i64 24, !15, i64 48, !15, i64 72, !10, i64 96, !15, i64 104, !10, i64 128, !10, i64 136, !15, i64 144, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !19, i64 336, !10, i64 1104, !29, i64 1112, !29, i64 1136, !29, i64 1160, !33, i64 1184, !33, i64 1208, !15, i64 1232, !10, i64 1256, !10, i64 1264, !10, i64 1272, !10, i64 1280, !10, i64 1288, !10, i64 1296, !10, i64 1304, !10, i64 1312, !10, i64 1320, !10, i64 1328, !12, i64 1336, !10, i64 1344, !10, i64 1352, !15, i64 1360, !10, i64 1384}
!15 = !{!"_ZTSSt6vectorIlSaIlEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSN4Data19MemorySpecificationE", !20, i64 8, !22, i64 40, !24, i64 48, !26, i64 160, !28, i64 456}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !10, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!"_ZTSN4Data10MemoryTypeE", !23, i64 0}
!23 = !{!"_ZTSN4Data10MemoryType12MemoryType_tE", !7, i64 0}
!24 = !{!"_ZTSN4Data19MemArchitectureSpecE", !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !25, i64 72, !25, i64 73, !25, i64 74}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN4Data13MemTimingSpecE", !27, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !27, i64 256}
!27 = !{!"double", !7, i64 0}
!28 = !{!"_ZTSN4Data12MemPowerSpecE", !27, i64 8, !27, i64 16, !27, i64 24, !27, i64 32, !27, i64 40, !27, i64 48, !27, i64 56, !27, i64 64, !27, i64 72, !27, i64 80, !27, i64 88, !27, i64 96, !27, i64 104, !27, i64 112, !27, i64 120, !27, i64 128, !27, i64 136, !27, i64 144, !27, i64 152, !27, i64 160, !27, i64 168, !27, i64 176, !27, i64 184, !27, i64 192, !27, i64 200, !27, i64 208, !27, i64 216, !27, i64 224, !27, i64 232, !27, i64 240}
!29 = !{!"_ZTSSt6vectorIN4Data10MemCommandESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN4Data10MemCommandESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN4Data10MemCommandESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN4Data10MemCommandESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIN4Data15CommandAnalysis9BankStateESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!38, !38, i64 0}
!38 = !{!"_ZTSN4Data15CommandAnalysis9BankStateE", !7, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!14, !12, i64 1336}
!42 = !{!14, !10, i64 1352}
!43 = !{!14, !10, i64 136}
!44 = !{!14, !10, i64 1272}
!45 = !{!14, !10, i64 1280}
!46 = !{!14, !10, i64 1256}
!47 = !{!14, !10, i64 1384}
!48 = !{!14, !10, i64 128}
!49 = !{!14, !10, i64 1264}
!50 = !{!14, !10, i64 1328}
!51 = !{!14, !10, i64 224}
!52 = !{!14, !10, i64 232}
!53 = !{!14, !10, i64 240}
!54 = !{!14, !10, i64 248}
!55 = !{!26, !10, i64 144}
!56 = !{!26, !10, i64 136}
!57 = !{!14, !10, i64 1312}
!58 = !{!14, !10, i64 1320}
!59 = !{!14, !10, i64 296}
!60 = !{!14, !10, i64 288}
!61 = !{!14, !10, i64 312}
!62 = !{!14, !10, i64 304}
!63 = !{!14, !10, i64 256}


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

@.str.35 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z10zero_guardlPKc(i64 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

declare noundef i32 @_ZN4Data15CommandAnalysis12nActiveBanksEv(ptr noundef nonnull align 8 dereferenceable(1392)) local_unnamed_addr #2

declare void @_ZN4Data15CommandAnalysis15idle_pre_updateEll(ptr noundef nonnull align 8 dereferenceable(1392), i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN4Data15CommandAnalysis9BankStateESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

declare void @_ZN4Data15CommandAnalysis15idle_act_updateEllll(ptr noundef nonnull align 8 dereferenceable(1392), i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Data15CommandAnalysis12handleNopEndEl(ptr noundef nonnull align 8 dereferenceable(1392) %0, i64 noundef %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 1344
  %4 = load i64, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i64 %4, 0
  br i1 %5, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 1208
  %7 = getelementptr inbounds i8, ptr %0, i64 1360
  %8 = getelementptr inbounds i8, ptr %0, i64 144
  br label %13

._crit_edge:                                      ; preds = %26, %2
  %9 = tail call noundef i32 @_ZN4Data15CommandAnalysis12nActiveBanksEv(ptr noundef nonnull align 8 dereferenceable(1392) %0)
  %.not = icmp ne i32 %9, 0
  %10 = getelementptr inbounds i8, ptr %0, i64 1336
  %11 = load i32, ptr %10, align 8
  %12 = icmp eq i32 %11, 0
  %or.cond = select i1 %.not, i1 %12, i1 false
  br i1 %or.cond, label %31, label %45

13:                                               ; preds = %.lr.ph, %26
  %14 = phi i64 [ 0, %.lr.ph ], [ %28, %26 ]
  %.051 = phi i32 [ 0, %.lr.ph ], [ %27, %26 ]
  %15 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN4Data15CommandAnalysis9BankStateESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %14) #3
  %16 = load i32, ptr %15, align 4, !tbaa !34
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %18, label %26

18:                                               ; preds = %13
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %14) #3
  %20 = load i64, ptr %19, align 8, !tbaa !36
  %21 = sub nsw i64 %1, %20
  %22 = tail call noundef i64 @_Z10zero_guardlPKc(i64 noundef %21, ptr noundef nonnull @.str.35)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %14) #3
  %24 = load i64, ptr %23, align 8, !tbaa !36
  %25 = add nsw i64 %24, %22
  store i64 %25, ptr %23, align 8, !tbaa !36
  br label %26

26:                                               ; preds = %13, %18
  %27 = add i32 %.051, 1
  %28 = zext i32 %27 to i64
  %29 = load i64, ptr %3, align 8, !tbaa !5
  %30 = icmp sgt i64 %29, %28
  br i1 %30, label %13, label %._crit_edge, !llvm.loop !37

31:                                               ; preds = %._crit_edge
  %32 = getelementptr inbounds i8, ptr %0, i64 1352
  %33 = load i64, ptr %32, align 8, !tbaa !39
  %34 = sub nsw i64 %1, %33
  %35 = tail call noundef i64 @_Z10zero_guardlPKc(i64 noundef %34, ptr noundef nonnull @.str.36)
  %36 = getelementptr inbounds i8, ptr %0, i64 136
  %37 = load i64, ptr %36, align 8, !tbaa !40
  %38 = add nsw i64 %37, %35
  store i64 %38, ptr %36, align 8, !tbaa !40
  %39 = getelementptr inbounds i8, ptr %0, i64 1272
  %40 = load i64, ptr %39, align 8, !tbaa !41
  %41 = getelementptr inbounds i8, ptr %0, i64 1280
  %42 = load i64, ptr %41, align 8, !tbaa !42
  %43 = getelementptr inbounds i8, ptr %0, i64 1256
  %44 = load i64, ptr %43, align 8, !tbaa !43
  tail call void @_ZN4Data15CommandAnalysis15idle_act_updateEllll(ptr noundef nonnull align 8 dereferenceable(1392) %0, i64 noundef %40, i64 noundef %42, i64 noundef %44, i64 noundef %1)
  br label %158

45:                                               ; preds = %._crit_edge
  %46 = tail call noundef i32 @_ZN4Data15CommandAnalysis12nActiveBanksEv(ptr noundef nonnull align 8 dereferenceable(1392) %0)
  %47 = icmp eq i32 %46, 0
  %48 = load i32, ptr %10, align 8
  %49 = icmp eq i32 %48, 0
  %or.cond48 = select i1 %47, i1 %49, i1 false
  br i1 %or.cond48, label %50, label %60

50:                                               ; preds = %45
  %51 = getelementptr inbounds i8, ptr %0, i64 1384
  %52 = load i64, ptr %51, align 8, !tbaa !44
  %53 = sub nsw i64 %1, %52
  %54 = tail call noundef i64 @_Z10zero_guardlPKc(i64 noundef %53, ptr noundef nonnull @.str.37)
  %55 = getelementptr inbounds i8, ptr %0, i64 128
  %56 = load i64, ptr %55, align 8, !tbaa !45
  %57 = add nsw i64 %56, %54
  store i64 %57, ptr %55, align 8, !tbaa !45
  %58 = getelementptr inbounds i8, ptr %0, i64 1264
  %59 = load i64, ptr %58, align 8, !tbaa !46
  tail call void @_ZN4Data15CommandAnalysis15idle_pre_updateEll(ptr noundef nonnull align 8 dereferenceable(1392) %0, i64 noundef %1, i64 noundef %59)
  br label %158

60:                                               ; preds = %45
  switch i32 %48, label %158 [
    i32 10, label %61
    i32 11, label %69
    i32 12, label %77
    i32 13, label %85
    i32 14, label %93
  ]

61:                                               ; preds = %60
  %62 = getelementptr inbounds i8, ptr %0, i64 1328
  %63 = load i64, ptr %62, align 8, !tbaa !47
  %64 = sub nsw i64 %1, %63
  %65 = tail call noundef i64 @_Z10zero_guardlPKc(i64 noundef %64, ptr noundef nonnull @.str.38)
  %66 = getelementptr inbounds i8, ptr %0, i64 224
  %67 = load i64, ptr %66, align 8, !tbaa !48
  %68 = add nsw i64 %67, %65
  store i64 %68, ptr %66, align 8, !tbaa !48
  br label %158

69:                                               ; preds = %60
  %70 = getelementptr inbounds i8, ptr %0, i64 1328
  %71 = load i64, ptr %70, align 8, !tbaa !47
  %72 = sub nsw i64 %1, %71
  %73 = tail call noundef i64 @_Z10zero_guardlPKc(i64 noundef %72, ptr noundef nonnull @.str.38)
  %74 = getelementptr inbounds i8, ptr %0, i64 232
  %75 = load i64, ptr %74, align 8, !tbaa !49
  %76 = add nsw i64 %75, %73
  store i64 %76, ptr %74, align 8, !tbaa !49
  br label %158

77:                                               ; preds = %60
  %78 = getelementptr inbounds i8, ptr %0, i64 1328
  %79 = load i64, ptr %78, align 8, !tbaa !47
  %80 = sub nsw i64 %1, %79
  %81 = tail call noundef i64 @_Z10zero_guardlPKc(i64 noundef %80, ptr noundef nonnull @.str.38)
  %82 = getelementptr inbounds i8, ptr %0, i64 240
  %83 = load i64, ptr %82, align 8, !tbaa !50
  %84 = add nsw i64 %83, %81
  store i64 %84, ptr %82, align 8, !tbaa !50
  br label %158

85:                                               ; preds = %60
  %86 = getelementptr inbounds i8, ptr %0, i64 1328
  %87 = load i64, ptr %86, align 8, !tbaa !47
  %88 = sub nsw i64 %1, %87
  %89 = tail call noundef i64 @_Z10zero_guardlPKc(i64 noundef %88, ptr noundef nonnull @.str.38)
  %90 = getelementptr inbounds i8, ptr %0, i64 248
  %91 = load i64, ptr %90, align 8, !tbaa !51
  %92 = add nsw i64 %91, %89
  store i64 %92, ptr %90, align 8, !tbaa !51
  br label %158

93:                                               ; preds = %60
  %94 = getelementptr inbounds i8, ptr %0, i64 640
  %95 = load i64, ptr %94, align 8, !tbaa !52
  %96 = getelementptr inbounds i8, ptr %0, i64 632
  %97 = load i64, ptr %96, align 8, !tbaa !53
  %98 = sub nsw i64 %95, %97
  %99 = getelementptr inbounds i8, ptr %0, i64 1312
  %100 = load i64, ptr %99, align 8, !tbaa !54
  %101 = add nsw i64 %100, %95
  %102 = icmp slt i64 %101, %1
  br i1 %102, label %103, label %130

103:                                              ; preds = %93
  %104 = getelementptr inbounds i8, ptr %0, i64 1320
  %105 = load i64, ptr %104, align 8, !tbaa !55
  %106 = add nsw i64 %100, %98
  %.not42 = icmp sgt i64 %105, %106
  br i1 %.not42, label %114, label %107

107:                                              ; preds = %103
  %108 = getelementptr inbounds i8, ptr %0, i64 296
  %109 = load i64, ptr %108, align 8, !tbaa !56
  %110 = sub i64 %98, %109
  %111 = getelementptr inbounds i8, ptr %0, i64 288
  %112 = load i64, ptr %111, align 8, !tbaa !57
  %113 = add nsw i64 %110, %112
  store i64 %113, ptr %111, align 8, !tbaa !57
  store i64 %98, ptr %108, align 8, !tbaa !56
  store i64 %106, ptr %104, align 8, !tbaa !55
  br label %114

114:                                              ; preds = %107, %103
  %115 = phi i64 [ %106, %107 ], [ %105, %103 ]
  %.not43 = icmp sgt i64 %115, %101
  br i1 %.not43, label %123, label %116

116:                                              ; preds = %114
  %117 = getelementptr inbounds i8, ptr %0, i64 312
  %118 = load i64, ptr %117, align 8, !tbaa !58
  %119 = sub i64 %97, %118
  %120 = getelementptr inbounds i8, ptr %0, i64 304
  %121 = load i64, ptr %120, align 8, !tbaa !59
  %122 = add nsw i64 %119, %121
  store i64 %122, ptr %120, align 8, !tbaa !59
  store i64 %97, ptr %117, align 8, !tbaa !58
  store i64 %101, ptr %104, align 8, !tbaa !55
  br label %123

123:                                              ; preds = %116, %114
  %124 = phi i64 [ %101, %116 ], [ %115, %114 ]
  %125 = sub nsw i64 %1, %124
  %126 = tail call noundef i64 @_Z10zero_guardlPKc(i64 noundef %125, ptr noundef nonnull @.str.39)
  %127 = getelementptr inbounds i8, ptr %0, i64 256
  %128 = load i64, ptr %127, align 8, !tbaa !60
  %129 = add nsw i64 %128, %126
  store i64 %129, ptr %127, align 8, !tbaa !60
  br label %158

130:                                              ; preds = %93
  %131 = add nsw i64 %100, %98
  %132 = icmp slt i64 %131, %1
  %133 = getelementptr inbounds i8, ptr %0, i64 1320
  %134 = load i64, ptr %133, align 8, !tbaa !55
  br i1 %132, label %135, label %151

135:                                              ; preds = %130
  %.not41 = icmp sgt i64 %134, %131
  br i1 %.not41, label %143, label %136

136:                                              ; preds = %135
  %137 = getelementptr inbounds i8, ptr %0, i64 296
  %138 = load i64, ptr %137, align 8, !tbaa !56
  %139 = sub i64 %98, %138
  %140 = getelementptr inbounds i8, ptr %0, i64 288
  %141 = load i64, ptr %140, align 8, !tbaa !57
  %142 = add nsw i64 %139, %141
  store i64 %142, ptr %140, align 8, !tbaa !57
  store i64 %98, ptr %137, align 8, !tbaa !56
  store i64 %131, ptr %133, align 8, !tbaa !55
  br label %143

143:                                              ; preds = %136, %135
  %144 = phi i64 [ %131, %136 ], [ %134, %135 ]
  %145 = sub nsw i64 %1, %144
  %146 = getelementptr inbounds i8, ptr %0, i64 304
  %147 = load <2 x i64>, ptr %146, align 8, !tbaa !36
  %148 = insertelement <2 x i64> poison, i64 %145, i64 0
  %149 = shufflevector <2 x i64> %148, <2 x i64> poison, <2 x i32> zeroinitializer
  %150 = add nsw <2 x i64> %147, %149
  store <2 x i64> %150, ptr %146, align 8, !tbaa !36
  br label %158

151:                                              ; preds = %130
  %152 = sub nsw i64 %1, %134
  %153 = getelementptr inbounds i8, ptr %0, i64 288
  %154 = load <2 x i64>, ptr %153, align 8, !tbaa !36
  %155 = insertelement <2 x i64> poison, i64 %152, i64 0
  %156 = shufflevector <2 x i64> %155, <2 x i64> poison, <2 x i32> zeroinitializer
  %157 = add nsw <2 x i64> %154, %156
  store <2 x i64> %157, ptr %153, align 8, !tbaa !36
  br label %158

158:                                              ; preds = %123, %151, %143, %60, %50, %69, %85, %77, %61, %31
  ret void
}

attributes #0 = { 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 #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!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, !14, i64 1344}
!6 = !{!"_ZTSN4Data15CommandAnalysisE", !7, i64 0, !7, i64 24, !7, i64 48, !7, i64 72, !14, i64 96, !7, i64 104, !14, i64 128, !14, i64 136, !7, i64 144, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !14, i64 320, !14, i64 328, !15, i64 336, !14, i64 1104, !25, i64 1112, !25, i64 1136, !25, i64 1160, !29, i64 1184, !29, i64 1208, !7, i64 1232, !14, i64 1256, !14, i64 1264, !14, i64 1272, !14, i64 1280, !14, i64 1288, !14, i64 1296, !14, i64 1304, !14, i64 1312, !14, i64 1320, !14, i64 1328, !33, i64 1336, !14, i64 1344, !14, i64 1352, !7, i64 1360, !14, i64 1384}
!7 = !{!"_ZTSSt6vectorIlSaIlEE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"long", !12, i64 0}
!15 = !{!"_ZTSN4Data19MemorySpecificationE", !16, i64 8, !18, i64 40, !20, i64 48, !22, i64 160, !24, i64 456}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !14, i64 8, !12, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!18 = !{!"_ZTSN4Data10MemoryTypeE", !19, i64 0}
!19 = !{!"_ZTSN4Data10MemoryType12MemoryType_tE", !12, i64 0}
!20 = !{!"_ZTSN4Data19MemArchitectureSpecE", !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !21, i64 72, !21, i64 73, !21, i64 74}
!21 = !{!"bool", !12, i64 0}
!22 = !{!"_ZTSN4Data13MemTimingSpecE", !23, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !23, i64 256}
!23 = !{!"double", !12, i64 0}
!24 = !{!"_ZTSN4Data12MemPowerSpecE", !23, i64 8, !23, i64 16, !23, i64 24, !23, i64 32, !23, i64 40, !23, i64 48, !23, i64 56, !23, i64 64, !23, i64 72, !23, i64 80, !23, i64 88, !23, i64 96, !23, i64 104, !23, i64 112, !23, i64 120, !23, i64 128, !23, i64 136, !23, i64 144, !23, i64 152, !23, i64 160, !23, i64 168, !23, i64 176, !23, i64 184, !23, i64 192, !23, i64 200, !23, i64 208, !23, i64 216, !23, i64 224, !23, i64 232, !23, i64 240}
!25 = !{!"_ZTSSt6vectorIN4Data10MemCommandESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN4Data10MemCommandESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN4Data10MemCommandESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN4Data10MemCommandESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!29 = !{!"_ZTSSt6vectorIN4Data15CommandAnalysis9BankStateESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!33 = !{!"int", !12, i64 0}
!34 = !{!35, !35, i64 0}
!35 = !{!"_ZTSN4Data15CommandAnalysis9BankStateE", !12, i64 0}
!36 = !{!14, !14, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!6, !14, i64 1352}
!40 = !{!6, !14, i64 136}
!41 = !{!6, !14, i64 1272}
!42 = !{!6, !14, i64 1280}
!43 = !{!6, !14, i64 1256}
!44 = !{!6, !14, i64 1384}
!45 = !{!6, !14, i64 128}
!46 = !{!6, !14, i64 1264}
!47 = !{!6, !14, i64 1328}
!48 = !{!6, !14, i64 224}
!49 = !{!6, !14, i64 232}
!50 = !{!6, !14, i64 240}
!51 = !{!6, !14, i64 248}
!52 = !{!22, !14, i64 144}
!53 = !{!22, !14, i64 136}
!54 = !{!6, !14, i64 1312}
!55 = !{!6, !14, i64 1320}
!56 = !{!6, !14, i64 296}
!57 = !{!6, !14, i64 288}
!58 = !{!6, !14, i64 312}
!59 = !{!6, !14, i64 304}
!60 = !{!6, !14, i64 256}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass