; LLVM IR from gem5/gem5 :: ext/drampower/src (CommandAnalysis)

; 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.__gnu_cxx::__normal_iterator.19" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }
%"class.Data::MemCommand" = type { i32, i32, i64 }
%"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 }

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z13commandSorterRKN4Data10MemCommandES2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0

declare noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16)) #1

declare noundef i32 @_ZNK4Data10MemCommand7getTypeEv(ptr noundef nonnull align 8 dereferenceable(16)) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Data15CommandAnalysis11getCommandsERSt6vectorINS_10MemCommandESaIS2_EEbl(ptr noundef nonnull align 8 dereferenceable(1392) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext %2, i64 noundef %3) #0 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i64, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.19", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca %"class.Data::MemCommand", align 8
  %21 = alloca %"class.Data::MemCommand", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.19", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %29 = alloca i64, align 8
  %30 = alloca %"class.Data::MemCommand", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %31 = zext i1 %2 to i8
  store i8 %31, ptr %7, align 1, !tbaa !9
  store i64 %3, ptr %8, align 8, !tbaa !11
  %32 = load ptr, ptr %5, align 8
  %33 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 34
  %34 = call noundef zeroext i1 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  br i1 %34, label %55, label %35

35:                                               ; preds = %4
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  %39 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %10, i32 0, i32 0
  store ptr %38, ptr %39, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN4Data10MemCommandESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  %40 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 34
  %41 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #7
  %42 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %11, i32 0, i32 0
  store ptr %41, ptr %42, align 8
  %43 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 34
  %44 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #7
  %45 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %12, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  %46 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.19", ptr %9, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %11, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8
  %50 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %12, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8
  %52 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEES8_NS6_IPKS1_S3_EET_SC_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr %47, ptr %49, ptr %51)
  %53 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %13, i32 0, i32 0
  store ptr %52, ptr %53, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %54 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 34
  call void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  br label %55

55:                                               ; preds = %35, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %56

56:                                               ; preds = %149, %55
  %57 = load i64, ptr %14, align 8, !tbaa !11
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = call noundef i64 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #7
  %60 = icmp ult i64 %57, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %152

62:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = load i64, ptr %14, align 8, !tbaa !11
  %65 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %64) #7
  store ptr %65, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  %67 = call noundef i32 @_ZNK4Data10MemCommand7getTypeEv(ptr noundef nonnull align 8 dereferenceable(16) %66)
  store i32 %67, ptr %16, align 4, !tbaa !13
  %68 = load i32, ptr %16, align 4, !tbaa !13
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %78

70:                                               ; preds = %62
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = call noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16) %71)
  %73 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 37
  %74 = load ptr, ptr %15, align 8, !tbaa !5
  %75 = call noundef i32 @_ZNK4Data10MemCommand7getBankEv(ptr noundef nonnull align 8 dereferenceable(16) %74)
  %76 = zext i32 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %76) #7
  store i64 %72, ptr %77, align 8, !tbaa !11
  br label %113

78:                                               ; preds = %62
  %79 = load i32, ptr %16, align 4, !tbaa !13
  %80 = icmp eq i32 %79, 7
  br i1 %80, label %84, label %81

81:                                               ; preds = %78
  %82 = load i32, ptr %16, align 4, !tbaa !13
  %83 = icmp eq i32 %82, 8
  br i1 %83, label %84, label %112

84:                                               ; preds = %81, %78
  %85 = load ptr, ptr %15, align 8, !tbaa !5
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = call noundef i32 @_ZNK4Data10MemCommand28typeWithoutAutoPrechargeFlagEv(ptr noundef nonnull align 8 dereferenceable(16) %86)
  call void @_ZN4Data10MemCommand7setTypeENS0_4cmdsE(ptr noundef nonnull align 8 dereferenceable(16) %85, i32 noundef %87)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %88 = load ptr, ptr %15, align 8, !tbaa !5
  %89 = call noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16) %88)
  %90 = load ptr, ptr %15, align 8, !tbaa !5
  %91 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 30
  %92 = load i32, ptr %16, align 4, !tbaa !13
  %93 = call noundef i64 @_ZNK4Data10MemCommand18getPrechargeOffsetERKNS_19MemorySpecificationENS0_4cmdsE(ptr noundef nonnull align 8 dereferenceable(16) %90, ptr noundef nonnull align 8 dereferenceable(736) %91, i32 noundef %92)
  %94 = add nsw i64 %89, %93
  store i64 %94, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %95 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 37
  %96 = load ptr, ptr %15, align 8, !tbaa !5
  %97 = call noundef i32 @_ZNK4Data10MemCommand7getBankEv(ptr noundef nonnull align 8 dereferenceable(16) %96)
  %98 = zext i32 %97 to i64
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %98) #7
  %100 = load i64, ptr %99, align 8, !tbaa !11
  %101 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 30
  %102 = getelementptr inbounds %"class.Data::MemorySpecification", ptr %101, i32 0, i32 5
  %103 = getelementptr inbounds %"class.Data::MemTimingSpec", ptr %102, i32 0, i32 20
  %104 = load i64, ptr %103, align 8, !tbaa !15
  %105 = add nsw i64 %100, %104
  store i64 %105, ptr %19, align 8, !tbaa !11
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %107 = load i64, ptr %106, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  store i64 %107, ptr %17, align 8, !tbaa !11
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #7
  %109 = load ptr, ptr %15, align 8, !tbaa !5
  %110 = call noundef i32 @_ZNK4Data10MemCommand7getBankEv(ptr noundef nonnull align 8 dereferenceable(16) %109)
  %111 = load i64, ptr %17, align 8, !tbaa !11
  call void @_ZN4Data10MemCommandC1ENS0_4cmdsEjl(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 3, i32 noundef %110, i64 noundef %111)
  call void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %108, ptr noundef nonnull align 8 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %112

112:                                              ; preds = %84, %81
  br label %113

113:                                              ; preds = %112, %70
  %114 = load i8, ptr %7, align 1, !tbaa !9, !range !39, !noundef !40
  %115 = trunc i8 %114 to i1
  br i1 %115, label %148, label %116

116:                                              ; preds = %113
  %117 = load i64, ptr %8, align 8, !tbaa !11
  %118 = icmp sgt i64 %117, 0
  br i1 %118, label %119, label %148

119:                                              ; preds = %116
  %120 = load ptr, ptr %15, align 8, !tbaa !5
  %121 = call noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16) %120)
  %122 = load i64, ptr %8, align 8, !tbaa !11
  %123 = icmp sgt i64 %121, %122
  br i1 %123, label %124, label %147

124:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = load i64, ptr %14, align 8, !tbaa !11
  %127 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %126) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %127, i64 16, i1 false), !tbaa.struct !41
  %128 = getelementptr inbounds %"class.Data::CommandAnalysis", ptr %32, i32 0, i32 34
  call void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %128, ptr noundef nonnull align 8 dereferenceable(16) %21)
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #7
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %24, i32 0, i32 0
  store ptr %131, ptr %132, align 8
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  %135 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %25, i32 0, i32 0
  store ptr %134, ptr %135, align 8
  %136 = load ptr, ptr %15, align 8, !tbaa !5
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %24, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8
  %139 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %25, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8
  %141 = call ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN4Data10MemCommandESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr %138, ptr %140, ptr noundef nonnull align 8 dereferenceable(16) %136)
  %142 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %23, i32 0, i32 0
  store ptr %141, ptr %142, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN4Data10MemCommandESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.19", ptr %22, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8
  %145 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EE(ptr noundef nonnull align 8 dereferenceable(24) %129, ptr %144)
  %146 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %26, i32 0, i32 0
  store ptr %145, ptr %146, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  br label %147

147:                                              ; preds = %124, %119
  br label %148

148:                                              ; preds = %147, %116, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %149

149:                                              ; preds = %148
  %150 = load i64, ptr %14, align 8, !tbaa !11
  %151 = add i64 %150, 1
  store i64 %151, ptr %14, align 8, !tbaa !11
  br label %56, !llvm.loop !43

152:                                              ; preds = %61
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %153) #7
  %155 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %27, i32 0, i32 0
  store ptr %154, ptr %155, align 8
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #7
  %158 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %28, i32 0, i32 0
  store ptr %157, ptr %158, align 8
  %159 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %27, i32 0, i32 0
  %160 = load ptr, ptr %159, align 8
  %161 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %28, i32 0, i32 0
  %162 = load ptr, ptr %161, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN4Data10MemCommandESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %160, ptr %162, ptr noundef @_Z13commandSorterRKN4Data10MemCommandES2_)
  %163 = load i8, ptr %7, align 1, !tbaa !9, !range !39, !noundef !40
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %182

165:                                              ; preds = %152
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = call noundef zeroext i1 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %166) #7
  %168 = zext i1 %167 to i32
  %169 = icmp eq i32 %168, 0
  br i1 %169, label %170, label %182

170:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %171) #7
  %173 = call noundef i32 @_ZNK4Data10MemCommand7getTypeEv(ptr noundef nonnull align 8 dereferenceable(16) %172)
  %174 = call noundef i64 @_ZN4Data15CommandAnalysis16timeToCompletionENS_10MemCommand4cmdsE(ptr noundef nonnull align 8 dereferenceable(1392) %32, i32 noundef %173)
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %175) #7
  %177 = call noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16) %176)
  %178 = add nsw i64 %174, %177
  %179 = sub nsw i64 %178, 1
  store i64 %179, ptr %29, align 8, !tbaa !11
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %181 = load i64, ptr %29, align 8, !tbaa !11
  call void @_ZN4Data10MemCommandC1ENS0_4cmdsEjl(ptr noundef nonnull align 8 dereferenceable(16) %30, i32 noundef 18, i32 noundef 0, i64 noundef %181)
  call void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %180, ptr noundef nonnull align 8 dereferenceable(16) %30)
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %182

182:                                              ; preds = %170, %165, %152
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4Data15CommandAnalysis16evaluateCommandsERSt6vectorINS_10MemCommandESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(1392) %32, ptr noundef nonnull align 8 dereferenceable(24) %183)
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

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

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

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

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

declare noundef i32 @_ZNK4Data10MemCommand7getBankEv(ptr noundef nonnull align 8 dereferenceable(16)) #1

declare void @_ZN4Data10MemCommand7setTypeENS0_4cmdsE(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1

declare noundef i32 @_ZNK4Data10MemCommand28typeWithoutAutoPrechargeFlagEv(ptr noundef nonnull align 8 dereferenceable(16)) #1

declare noundef i64 @_ZNK4Data10MemCommand18getPrechargeOffsetERKNS_19MemorySpecificationENS0_4cmdsE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(736), i32 noundef) #1

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

declare void @_ZN4Data10MemCommandC1ENS0_4cmdsEjl(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef, i64 noundef) unnamed_addr #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN4Data10MemCommandESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN4Data10MemCommandESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) #6

declare noundef i64 @_ZN4Data15CommandAnalysis16timeToCompletionENS_10MemCommand4cmdsE(ptr noundef nonnull align 8 dereferenceable(1392), i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Data15CommandAnalysis16evaluateCommandsERSt6vectorINS_10MemCommandESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(1392), ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN4Data10MemCommand4cmdsE", !7, i64 0}
!15 = !{!16, !12, i64 656}
!16 = !{!"_ZTSN4Data15CommandAnalysisE", !17, i64 0, !17, i64 24, !17, i64 48, !17, i64 72, !12, i64 96, !17, i64 104, !12, i64 128, !12, i64 136, !17, i64 144, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !12, i64 328, !21, i64 336, !12, i64 1104, !30, i64 1112, !30, i64 1136, !30, i64 1160, !34, i64 1184, !34, i64 1208, !17, i64 1232, !12, i64 1256, !12, i64 1264, !12, i64 1272, !12, i64 1280, !12, i64 1288, !12, i64 1296, !12, i64 1304, !12, i64 1312, !12, i64 1320, !12, i64 1328, !38, i64 1336, !12, i64 1344, !12, i64 1352, !17, i64 1360, !12, i64 1384}
!17 = !{!"_ZTSSt6vectorIlSaIlEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSN4Data19MemorySpecificationE", !22, i64 8, !24, i64 40, !26, i64 48, !27, i64 160, !29, i64 456}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !12, i64 8, !7, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!24 = !{!"_ZTSN4Data10MemoryTypeE", !25, i64 0}
!25 = !{!"_ZTSN4Data10MemoryType12MemoryType_tE", !7, i64 0}
!26 = !{!"_ZTSN4Data19MemArchitectureSpecE", !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !10, i64 72, !10, i64 73, !10, i64 74}
!27 = !{!"_ZTSN4Data13MemTimingSpecE", !28, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !28, i64 256}
!28 = !{!"double", !7, i64 0}
!29 = !{!"_ZTSN4Data12MemPowerSpecE", !28, i64 8, !28, i64 16, !28, i64 24, !28, i64 32, !28, i64 40, !28, i64 48, !28, i64 56, !28, i64 64, !28, i64 72, !28, i64 80, !28, i64 88, !28, i64 96, !28, i64 104, !28, i64 112, !28, i64 120, !28, i64 128, !28, i64 136, !28, i64 144, !28, i64 152, !28, i64 160, !28, i64 168, !28, i64 176, !28, i64 184, !28, i64 192, !28, i64 200, !28, i64 208, !28, i64 216, !28, i64 224, !28, i64 232, !28, i64 240}
!30 = !{!"_ZTSSt6vectorIN4Data10MemCommandESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN4Data10MemCommandESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN4Data10MemCommandESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN4Data10MemCommandESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt6vectorIN4Data15CommandAnalysis9BankStateESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"int", !7, i64 0}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{i64 0, i64 4, !13, i64 4, i64 4, !42, i64 8, i64 8, !11}
!42 = !{!38, !38, i64 0}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}


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

%"class.__gnu_cxx::__normal_iterator.19" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }
%"class.Data::MemCommand" = type { i32, i32, i64 }

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z13commandSorterRKN4Data10MemCommandES2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0

declare noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

declare noundef i32 @_ZNK4Data10MemCommand7getTypeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Data15CommandAnalysis11getCommandsERSt6vectorINS_10MemCommandESaIS2_EEbl(ptr noundef nonnull align 8 dereferenceable(1392) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext %2, i64 noundef %3) local_unnamed_addr #0 align 2 {
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.19", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.Data::MemCommand", align 8
  %10 = alloca %"class.Data::MemCommand", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.19", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %13 = alloca %"class.Data::MemCommand", align 8
  %14 = getelementptr inbounds i8, ptr %0, i64 1160
  %15 = tail call noundef zeroext i1 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br i1 %15, label %22, label %16

16:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %17 = tail call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %17, ptr %6, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN4Data10MemCommandESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %18 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %19 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %20 = load ptr, ptr %5, align 8
  %21 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEES8_NS6_IPKS1_S3_EET_SC_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %20, ptr %18, ptr %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %22

22:                                               ; preds = %16, %4
  %23 = call noundef i64 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %.not = icmp eq i64 %23, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %22
  %24 = getelementptr inbounds i8, ptr %0, i64 336
  %25 = getelementptr inbounds i8, ptr %0, i64 1232
  %26 = getelementptr inbounds i8, ptr %0, i64 656
  %27 = icmp slt i64 %3, 1
  %or.cond3.not = or i1 %27, %2
  br label %30

._crit_edge:                                      ; preds = %66, %22
  %28 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %29 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN4Data10MemCommandESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %28, ptr %29, ptr noundef nonnull @_Z13commandSorterRKN4Data10MemCommandES2_)
  br i1 %2, label %70, label %80

30:                                               ; preds = %.lr.ph, %66
  %.054 = phi i64 [ 0, %.lr.ph ], [ %67, %66 ]
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.054) #7
  %32 = call noundef i32 @_ZNK4Data10MemCommand7getTypeEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %34, label %39

34:                                               ; preds = %30
  %35 = call noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %36 = call noundef i32 @_ZNK4Data10MemCommand7getBankEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %37 = zext i32 %36 to i64
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %37) #7
  store i64 %35, ptr %38, align 8, !tbaa !5
  br label %55

39:                                               ; preds = %30
  %40 = add i32 %32, -7
  %or.cond = icmp ult i32 %40, 2
  br i1 %or.cond, label %41, label %55

41:                                               ; preds = %39
  %42 = call noundef i32 @_ZNK4Data10MemCommand28typeWithoutAutoPrechargeFlagEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
  call void @_ZN4Data10MemCommand7setTypeENS0_4cmdsE(ptr noundef nonnull align 8 dereferenceable(16) %31, i32 noundef %42)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %43 = call noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %44 = call noundef i64 @_ZNK4Data10MemCommand18getPrechargeOffsetERKNS_19MemorySpecificationENS0_4cmdsE(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(736) %24, i32 noundef %32)
  %45 = add nsw i64 %44, %43
  store i64 %45, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %46 = call noundef i32 @_ZNK4Data10MemCommand7getBankEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %47 = zext i32 %46 to i64
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %47) #7
  %49 = load i64, ptr %48, align 8, !tbaa !5
  %50 = load i64, ptr %26, align 8, !tbaa !9
  %51 = add nsw i64 %50, %49
  store i64 %51, ptr %8, align 8, !tbaa !5
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %53 = load i64, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  %54 = call noundef i32 @_ZNK4Data10MemCommand7getBankEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
  call void @_ZN4Data10MemCommandC1ENS0_4cmdsEjl(ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef 3, i32 noundef %54, i64 noundef %53)
  call void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %55

55:                                               ; preds = %41, %39, %34
  br i1 %or.cond3.not, label %66, label %56

56:                                               ; preds = %55
  %57 = call noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %58 = icmp sgt i64 %57, %3
  br i1 %58, label %59, label %66

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.054) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %60, i64 16, i1 false), !tbaa.struct !35
  call void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %10)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %61 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %62 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %63 = call ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN4Data10MemCommandESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr %61, ptr %62, ptr noundef nonnull align 8 dereferenceable(16) %31)
  store ptr %63, ptr %12, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN4Data10MemCommandESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %64 = load ptr, ptr %11, align 8
  %65 = call ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %64)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  br label %66

66:                                               ; preds = %56, %59, %55
  %67 = add nuw i64 %.054, 1
  %68 = call noundef i64 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %69 = icmp ult i64 %67, %68
  br i1 %69, label %30, label %._crit_edge, !llvm.loop !39

70:                                               ; preds = %._crit_edge
  %71 = call noundef zeroext i1 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  br i1 %71, label %80, label %72

72:                                               ; preds = %70
  %73 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %74 = call noundef i32 @_ZNK4Data10MemCommand7getTypeEv(ptr noundef nonnull align 8 dereferenceable(16) %73)
  %75 = call noundef i64 @_ZN4Data15CommandAnalysis16timeToCompletionENS_10MemCommand4cmdsE(ptr noundef nonnull align 8 dereferenceable(1392) %0, i32 noundef %74)
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %77 = call noundef i64 @_ZNK4Data10MemCommand12getTimeInt64Ev(ptr noundef nonnull align 8 dereferenceable(16) %76)
  %78 = add i64 %75, -1
  %79 = add i64 %78, %77
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @_ZN4Data10MemCommandC1ENS0_4cmdsEjl(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 18, i32 noundef 0, i64 noundef %79)
  call void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(16) %13)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  br label %80

80:                                               ; preds = %72, %70, %._crit_edge
  call void @_ZN4Data15CommandAnalysis16evaluateCommandsERSt6vectorINS_10MemCommandESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(1392) %0, ptr noundef nonnull align 8 dereferenceable(24) %1)
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIN4Data10MemCommandESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

declare noundef i32 @_ZNK4Data10MemCommand7getBankEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

declare void @_ZN4Data10MemCommand7setTypeENS0_4cmdsE(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1

declare noundef i32 @_ZNK4Data10MemCommand28typeWithoutAutoPrechargeFlagEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

declare noundef i64 @_ZNK4Data10MemCommand18getPrechargeOffsetERKNS_19MemorySpecificationENS0_4cmdsE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(736), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

declare void @_ZN4Data10MemCommandC1ENS0_4cmdsEjl(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef, i64 noundef) unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN4Data10MemCommandESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN4Data10MemCommandESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) local_unnamed_addr #6

declare noundef i64 @_ZN4Data15CommandAnalysis16timeToCompletionENS_10MemCommand4cmdsE(ptr noundef nonnull align 8 dereferenceable(1392), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN4Data10MemCommandESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Data15CommandAnalysis16evaluateCommandsERSt6vectorINS_10MemCommandESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(1392), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 656}
!10 = !{!"_ZTSN4Data15CommandAnalysisE", !11, i64 0, !11, i64 24, !11, i64 48, !11, i64 72, !6, i64 96, !11, i64 104, !6, i64 128, !6, i64 136, !11, i64 144, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !16, i64 336, !6, i64 1104, !26, i64 1112, !26, i64 1136, !26, i64 1160, !30, i64 1184, !30, i64 1208, !11, i64 1232, !6, i64 1256, !6, i64 1264, !6, i64 1272, !6, i64 1280, !6, i64 1288, !6, i64 1296, !6, i64 1304, !6, i64 1312, !6, i64 1320, !6, i64 1328, !34, i64 1336, !6, i64 1344, !6, i64 1352, !11, i64 1360, !6, i64 1384}
!11 = !{!"_ZTSSt6vectorIlSaIlEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSN4Data19MemorySpecificationE", !17, i64 8, !19, i64 40, !21, i64 48, !23, i64 160, !25, i64 456}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !6, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!19 = !{!"_ZTSN4Data10MemoryTypeE", !20, i64 0}
!20 = !{!"_ZTSN4Data10MemoryType12MemoryType_tE", !7, i64 0}
!21 = !{!"_ZTSN4Data19MemArchitectureSpecE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !22, i64 72, !22, i64 73, !22, i64 74}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN4Data13MemTimingSpecE", !24, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !24, i64 256}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTSN4Data12MemPowerSpecE", !24, i64 8, !24, i64 16, !24, i64 24, !24, i64 32, !24, i64 40, !24, i64 48, !24, i64 56, !24, i64 64, !24, i64 72, !24, i64 80, !24, i64 88, !24, i64 96, !24, i64 104, !24, i64 112, !24, i64 120, !24, i64 128, !24, i64 136, !24, i64 144, !24, i64 152, !24, i64 160, !24, i64 168, !24, i64 176, !24, i64 184, !24, i64 192, !24, i64 200, !24, i64 208, !24, i64 216, !24, i64 224, !24, i64 232, !24, i64 240}
!26 = !{!"_ZTSSt6vectorIN4Data10MemCommandESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN4Data10MemCommandESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN4Data10MemCommandESaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN4Data10MemCommandESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!30 = !{!"_ZTSSt6vectorIN4Data15CommandAnalysis9BankStateESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN4Data15CommandAnalysis9BankStateESaIS2_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!34 = !{!"int", !7, i64 0}
!35 = !{i64 0, i64 4, !36, i64 4, i64 4, !38, i64 8, i64 8, !5}
!36 = !{!37, !37, i64 0}
!37 = !{!"_ZTSN4Data10MemCommand4cmdsE", !7, i64 0}
!38 = !{!34, !34, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}


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