; LLVM IR from gem5/gem5 :: ext/mcpat/iocontrollers.ll (ZN15FlashController13computeEnergyEv)

; 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.TechnologyParameter = type { 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, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::ScalingFactor", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType" }
%"class.TechnologyParameter::DeviceType" = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::InterconnectType" = type { double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::ScalingFactor" = type { double, double, double }
%"class.TechnologyParameter::MemoryType" = type { double, double, double, double, double, double }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.FlashController = type { %class.McPATComponent, %class.MCParameters, %class.MCStatistics }
%class.McPATComponent = type { ptr, %class.Component, ptr, %class.InputParameter, %"class.std::__cxx11::basic_string", double, %"class.std::vector", %class.McPATOutput, %class.statsDef, %class.statsDef, %class.powerDef, %class.powerDef }
%class.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { double, double, double }
%class.InputParameter = type { i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i8, i8, i32, i32, i8, double, double, i8, i32, i32, i8 }
%"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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl" }
%"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl" = type { %"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.McPATOutput = type { double, double, double, double, double, double }
%class.statsDef = type { %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents }
%class.statsComponents = type { double, double, double }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%class.MCParameters = type { double, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%class.MCStatistics = type { double, double, double, double }

@g_tp = external global %class.TechnologyParameter, align 8
@_ZN14McPATComponent21longer_channel_deviceE = external global i32, align 4
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.16 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1

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

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

declare noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext, i1 noundef zeroext) #1

declare noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef, double noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i32 noundef) #1

declare noundef double @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef, i32 noundef) #1

declare noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef, double noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15FlashController13computeEnergyEv(ptr noundef nonnull align 8 dereferenceable(1496) %0) unnamed_addr #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %13 = call noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext false, i1 noundef zeroext false)
  store double %13, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %14 = getelementptr inbounds %class.FlashController, ptr %12, i32 0, i32 1
  %15 = getelementptr inbounds %class.MCParameters, ptr %14, i32 0, i32 12
  %16 = load i32, ptr %15, align 4, !tbaa !11
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %23

18:                                               ; preds = %1
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef @.str.17)
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef @.str.18)
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 0) #7
  unreachable

23:                                               ; preds = %1
  store double 1.292670e+05, ptr %5, align 8, !tbaa !9
  store double 2.500000e+04, ptr %6, align 8, !tbaa !9
  %24 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !35
  store double %24, ptr %8, align 8, !tbaa !9
  %25 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !35
  %26 = load double, ptr %7, align 8, !tbaa !9
  %27 = fmul double %25, %26
  store double %27, ptr %9, align 8, !tbaa !9
  %28 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !41
  %29 = fmul double 1.250000e-01, %28
  %30 = fdiv double %29, 1.100000e+00
  %31 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !41
  %32 = fmul double %30, %31
  %33 = fdiv double %32, 1.100000e+00
  %34 = getelementptr inbounds %class.McPATComponent, ptr %12, i32 0, i32 3
  %35 = getelementptr inbounds %class.InputParameter, ptr %34, i32 0, i32 12
  %36 = load double, ptr %35, align 8, !tbaa !42
  %37 = fdiv double %36, 6.500000e+01
  %38 = fmul double %33, %37
  store double %38, ptr %3, align 8, !tbaa !9
  %39 = getelementptr inbounds %class.McPATComponent, ptr %12, i32 0, i32 3
  %40 = getelementptr inbounds %class.InputParameter, ptr %39, i32 0, i32 13
  %41 = load double, ptr %40, align 8, !tbaa !43
  %42 = fdiv double %41, 0x3FB70A3D70A3D70A
  %43 = fmul double 1.600000e-02, %42
  %44 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !41
  %45 = fmul double %43, %44
  %46 = fdiv double %45, 1.200000e+00
  %47 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !41
  %48 = fmul double %46, %47
  %49 = fdiv double %48, 1.200000e+00
  store double %49, ptr %4, align 8, !tbaa !9
  br label %50

50:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %51 = getelementptr inbounds %class.FlashController, ptr %12, i32 0, i32 1
  %52 = getelementptr inbounds %class.MCParameters, ptr %51, i32 0, i32 3
  %53 = load i32, ptr %52, align 8, !tbaa !44
  %54 = sub nsw i32 %53, 1
  %55 = sitofp i32 %54 to double
  %56 = call double @llvm.fmuladd.f64(double %55, double 2.000000e-01, double 1.000000e+00)
  store double %56, ptr %10, align 8, !tbaa !9
  %57 = load double, ptr %3, align 8, !tbaa !9
  %58 = getelementptr inbounds %class.FlashController, ptr %12, i32 0, i32 1
  %59 = getelementptr inbounds %class.MCParameters, ptr %58, i32 0, i32 14
  %60 = load i8, ptr %59, align 1, !tbaa !45, !range !46, !noundef !47
  %61 = trunc i8 %60 to i1
  br i1 %61, label %62, label %64

62:                                               ; preds = %50
  %63 = load double, ptr %4, align 8, !tbaa !9
  br label %65

64:                                               ; preds = %50
  br label %65

65:                                               ; preds = %64, %62
  %66 = phi double [ %63, %62 ], [ 0.000000e+00, %64 ]
  %67 = fadd double %57, %66
  %68 = load double, ptr %10, align 8, !tbaa !9
  %69 = fmul double %67, %68
  %70 = getelementptr inbounds i8, ptr %12, i64 8
  %71 = getelementptr inbounds %class.Component, ptr %70, i32 0, i32 1
  %72 = getelementptr inbounds %class.powerDef, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds %class.powerComponents, ptr %72, i32 0, i32 0
  store double %69, ptr %73, align 8, !tbaa !48
  %74 = load double, ptr %5, align 8, !tbaa !9
  %75 = getelementptr inbounds %class.FlashController, ptr %12, i32 0, i32 1
  %76 = getelementptr inbounds %class.MCParameters, ptr %75, i32 0, i32 14
  %77 = load i8, ptr %76, align 1, !tbaa !45, !range !46, !noundef !47
  %78 = trunc i8 %77 to i1
  br i1 %78, label %79, label %81

79:                                               ; preds = %65
  %80 = load double, ptr %6, align 8, !tbaa !9
  br label %82

81:                                               ; preds = %65
  br label %82

82:                                               ; preds = %81, %79
  %83 = phi double [ %80, %79 ], [ 0.000000e+00, %81 ]
  %84 = fadd double %74, %83
  %85 = load double, ptr %10, align 8, !tbaa !9
  %86 = fmul double %84, %85
  %87 = load double, ptr %8, align 8, !tbaa !9
  %88 = load double, ptr %9, align 8, !tbaa !9
  %89 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %87, double noundef %88, i32 noundef 2, i32 noundef 3, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %90 = fmul double %86, %89
  %91 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !41
  %92 = fmul double %90, %91
  %93 = getelementptr inbounds i8, ptr %12, i64 8
  %94 = getelementptr inbounds %class.Component, ptr %93, i32 0, i32 1
  %95 = getelementptr inbounds %class.powerDef, ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %class.powerComponents, ptr %95, i32 0, i32 1
  store double %92, ptr %96, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %97 = call noundef double @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef 1, i32 noundef 1)
  store double %97, ptr %11, align 8, !tbaa !9
  %98 = getelementptr inbounds i8, ptr %12, i64 8
  %99 = getelementptr inbounds %class.Component, ptr %98, i32 0, i32 1
  %100 = getelementptr inbounds %class.powerDef, ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds %class.powerComponents, ptr %100, i32 0, i32 1
  %102 = load double, ptr %101, align 8, !tbaa !49
  %103 = load double, ptr %11, align 8, !tbaa !9
  %104 = fmul double %102, %103
  %105 = getelementptr inbounds i8, ptr %12, i64 8
  %106 = getelementptr inbounds %class.Component, ptr %105, i32 0, i32 1
  %107 = getelementptr inbounds %class.powerDef, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %class.powerComponents, ptr %107, i32 0, i32 4
  store double %104, ptr %108, align 8, !tbaa !50
  %109 = load double, ptr %5, align 8, !tbaa !9
  %110 = getelementptr inbounds %class.FlashController, ptr %12, i32 0, i32 1
  %111 = getelementptr inbounds %class.MCParameters, ptr %110, i32 0, i32 14
  %112 = load i8, ptr %111, align 1, !tbaa !45, !range !46, !noundef !47
  %113 = trunc i8 %112 to i1
  br i1 %113, label %114, label %116

114:                                              ; preds = %82
  %115 = load double, ptr %6, align 8, !tbaa !9
  br label %117

116:                                              ; preds = %82
  br label %117

117:                                              ; preds = %116, %114
  %118 = phi double [ %115, %114 ], [ 0.000000e+00, %116 ]
  %119 = fadd double %109, %118
  %120 = load double, ptr %10, align 8, !tbaa !9
  %121 = fmul double %119, %120
  %122 = load double, ptr %8, align 8, !tbaa !9
  %123 = load double, ptr %9, align 8, !tbaa !9
  %124 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %122, double noundef %123, i32 noundef 2, i32 noundef 3, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %125 = fmul double %121, %124
  %126 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !41
  %127 = fmul double %125, %126
  %128 = getelementptr inbounds i8, ptr %12, i64 8
  %129 = getelementptr inbounds %class.Component, ptr %128, i32 0, i32 1
  %130 = getelementptr inbounds %class.powerDef, ptr %129, i32 0, i32 0
  %131 = getelementptr inbounds %class.powerComponents, ptr %130, i32 0, i32 2
  store double %127, ptr %131, align 8, !tbaa !51
  %132 = load i32, ptr @_ZN14McPATComponent21longer_channel_deviceE, align 4, !tbaa !52
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %140

134:                                              ; preds = %117
  %135 = getelementptr inbounds i8, ptr %12, i64 8
  %136 = getelementptr inbounds %class.Component, ptr %135, i32 0, i32 1
  %137 = getelementptr inbounds %class.powerDef, ptr %136, i32 0, i32 0
  %138 = getelementptr inbounds %class.powerComponents, ptr %137, i32 0, i32 4
  %139 = load double, ptr %138, align 8, !tbaa !50
  br label %146

140:                                              ; preds = %117
  %141 = getelementptr inbounds i8, ptr %12, i64 8
  %142 = getelementptr inbounds %class.Component, ptr %141, i32 0, i32 1
  %143 = getelementptr inbounds %class.powerDef, ptr %142, i32 0, i32 0
  %144 = getelementptr inbounds %class.powerComponents, ptr %143, i32 0, i32 1
  %145 = load double, ptr %144, align 8, !tbaa !49
  br label %146

146:                                              ; preds = %140, %134
  %147 = phi double [ %139, %134 ], [ %145, %140 ]
  %148 = getelementptr inbounds %class.McPATComponent, ptr %12, i32 0, i32 7
  %149 = getelementptr inbounds %class.McPATOutput, ptr %148, i32 0, i32 3
  store double %147, ptr %149, align 8, !tbaa !53
  %150 = getelementptr inbounds i8, ptr %12, i64 8
  %151 = getelementptr inbounds %class.Component, ptr %150, i32 0, i32 1
  %152 = getelementptr inbounds %class.powerDef, ptr %151, i32 0, i32 0
  %153 = getelementptr inbounds %class.powerComponents, ptr %152, i32 0, i32 2
  %154 = load double, ptr %153, align 8, !tbaa !51
  %155 = getelementptr inbounds %class.McPATComponent, ptr %12, i32 0, i32 7
  %156 = getelementptr inbounds %class.McPATOutput, ptr %155, i32 0, i32 4
  store double %154, ptr %156, align 8, !tbaa !54
  %157 = getelementptr inbounds i8, ptr %12, i64 8
  %158 = getelementptr inbounds %class.Component, ptr %157, i32 0, i32 1
  %159 = getelementptr inbounds %class.powerDef, ptr %158, i32 0, i32 0
  %160 = getelementptr inbounds %class.powerComponents, ptr %159, i32 0, i32 0
  %161 = load double, ptr %160, align 8, !tbaa !48
  %162 = getelementptr inbounds %class.FlashController, ptr %12, i32 0, i32 2
  %163 = getelementptr inbounds %class.MCStatistics, ptr %162, i32 0, i32 0
  %164 = load double, ptr %163, align 8, !tbaa !55
  %165 = fmul double %161, %164
  %166 = getelementptr inbounds %class.McPATComponent, ptr %12, i32 0, i32 7
  %167 = getelementptr inbounds %class.McPATOutput, ptr %166, i32 0, i32 2
  store double %165, ptr %167, align 8, !tbaa !56
  %168 = getelementptr inbounds i8, ptr %12, i64 8
  %169 = getelementptr inbounds %class.Component, ptr %168, i32 0, i32 1
  %170 = getelementptr inbounds %class.powerDef, ptr %169, i32 0, i32 0
  %171 = getelementptr inbounds %class.powerComponents, ptr %170, i32 0, i32 0
  %172 = load double, ptr %171, align 8, !tbaa !48
  %173 = getelementptr inbounds %class.FlashController, ptr %12, i32 0, i32 2
  %174 = getelementptr inbounds %class.MCStatistics, ptr %173, i32 0, i32 1
  %175 = load double, ptr %174, align 8, !tbaa !57
  %176 = fmul double %172, %175
  %177 = getelementptr inbounds %class.McPATComponent, ptr %12, i32 0, i32 7
  %178 = getelementptr inbounds %class.McPATOutput, ptr %177, i32 0, i32 5
  store double %176, ptr %178, align 8, !tbaa !58
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!"double", !7, i64 0}
!11 = !{!12, !19, i64 1412}
!12 = !{!"_ZTS15FlashController", !13, i64 0, !32, i64 1352, !34, i64 1464}
!13 = !{!"_ZTS14McPATComponent", !14, i64 8, !6, i64 288, !18, i64 296, !22, i64 664, !10, i64 696, !25, i64 704, !29, i64 728, !30, i64 776, !30, i64 944, !16, i64 1112, !16, i64 1232}
!14 = !{!"_ZTS9Component", !15, i64 0, !16, i64 24, !16, i64 144, !10, i64 264, !10, i64 272}
!15 = !{!"_ZTS4Area", !10, i64 0, !10, i64 8, !10, i64 16}
!16 = !{!"_ZTS8powerDef", !17, i64 0, !17, i64 40, !17, i64 80}
!17 = !{!"_ZTS15powerComponents", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!18 = !{!"_ZTS14InputParameter", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !20, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !10, i64 48, !10, i64 56, !19, i64 64, !19, i64 68, !19, i64 72, !19, i64 76, !19, i64 80, !20, i64 84, !20, i64 85, !20, i64 86, !20, i64 87, !20, i64 88, !19, i64 92, !19, i64 96, !19, i64 100, !19, i64 104, !19, i64 108, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124, !19, i64 128, !19, i64 132, !19, i64 136, !19, i64 140, !19, i64 144, !19, i64 148, !21, i64 152, !19, i64 156, !20, i64 160, !19, i64 164, !19, i64 168, !19, i64 172, !19, i64 176, !19, i64 180, !19, i64 184, !19, i64 188, !20, i64 192, !19, i64 196, !19, i64 200, !19, i64 204, !19, i64 208, !19, i64 212, !19, i64 216, !19, i64 220, !19, i64 224, !19, i64 228, !19, i64 232, !19, i64 236, !19, i64 240, !19, i64 244, !19, i64 248, !19, i64 252, !19, i64 256, !19, i64 260, !19, i64 264, !19, i64 268, !19, i64 272, !19, i64 276, !19, i64 280, !19, i64 284, !19, i64 288, !19, i64 292, !19, i64 296, !20, i64 300, !19, i64 304, !19, i64 308, !19, i64 312, !20, i64 316, !20, i64 317, !19, i64 320, !19, i64 324, !20, i64 328, !10, i64 336, !10, i64 344, !20, i64 352, !19, i64 356, !19, i64 360, !20, i64 364}
!19 = !{!"int", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTS9Wire_type", !7, i64 0}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !7, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTS11McPATOutput", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!30 = !{!"_ZTS8statsDef", !31, i64 0, !31, i64 24, !31, i64 48, !31, i64 72, !31, i64 96, !31, i64 120, !31, i64 144}
!31 = !{!"_ZTS15statsComponents", !10, i64 0, !10, i64 8, !10, i64 16}
!32 = !{!"_ZTS12MCParameters", !10, i64 0, !33, i64 8, !10, i64 16, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !19, i64 48, !19, i64 52, !19, i64 56, !19, i64 60, !20, i64 64, !20, i64 65, !19, i64 68, !19, i64 72, !19, i64 76, !19, i64 80, !19, i64 84, !19, i64 88, !19, i64 92, !19, i64 96, !19, i64 100, !19, i64 104}
!33 = !{!"_ZTS15MemoryCtrl_type", !7, i64 0}
!34 = !{!"_ZTS12MCStatistics", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!35 = !{!36, !10, i64 8}
!36 = !{!"_ZTS19TechnologyParameter", !10, i64 0, !10, 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, !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, !10, i64 336, !10, i64 344, !24, i64 352, !37, i64 360, !37, i64 528, !37, i64 696, !37, i64 864, !37, i64 1032, !38, i64 1200, !38, i64 1264, !38, i64 1328, !39, i64 1392, !40, i64 1416, !40, i64 1464, !40, i64 1512}
!37 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !10, i64 0, !10, 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}
!38 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!39 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !10, i64 0, !10, i64 8, !10, i64 16}
!40 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!41 = !{!36, !10, i64 936}
!42 = !{!13, !10, i64 344}
!43 = !{!13, !10, i64 352}
!44 = !{!12, !19, i64 1376}
!45 = !{!12, !20, i64 1417}
!46 = !{i8 0, i8 2}
!47 = !{}
!48 = !{!14, !10, i64 24}
!49 = !{!14, !10, i64 32}
!50 = !{!14, !10, i64 56}
!51 = !{!14, !10, i64 40}
!52 = !{!19, !19, i64 0}
!53 = !{!13, !10, i64 752}
!54 = !{!13, !10, i64 760}
!55 = !{!12, !10, i64 1464}
!56 = !{!13, !10, i64 744}
!57 = !{!12, !10, i64 1472}
!58 = !{!13, !10, i64 768}


; 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.TechnologyParameter = type { 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, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::ScalingFactor", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType" }
%"class.TechnologyParameter::DeviceType" = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::InterconnectType" = type { double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::ScalingFactor" = type { double, double, double }
%"class.TechnologyParameter::MemoryType" = type { double, double, double, double, double, double }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@g_tp = external local_unnamed_addr global %class.TechnologyParameter, align 8
@_ZN14McPATComponent21longer_channel_deviceE = external local_unnamed_addr global i32, align 4
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.16 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1

declare noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

declare noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef, double noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i32 noundef) local_unnamed_addr #0

declare noundef double @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef, i32 noundef) local_unnamed_addr #0

declare noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef, double noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15FlashController13computeEnergyEv(ptr nocapture noundef nonnull align 8 dereferenceable(1496) %0) unnamed_addr #2 align 2 {
  %2 = tail call noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext false, i1 noundef zeroext false)
  %3 = getelementptr inbounds i8, ptr %0, i64 1412
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = icmp eq i32 %4, 0
  br i1 %5, label %6, label %11

6:                                                ; preds = %1
  %7 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.16)
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull @.str.17)
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull @.str.18)
  %10 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @exit(i32 noundef 0) #5
  unreachable

11:                                               ; preds = %1
  %12 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !33
  %13 = fmul double %2, %12
  %14 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !39
  %15 = fmul double %14, 1.250000e-01
  %16 = fdiv double %15, 1.100000e+00
  %17 = fmul double %14, %16
  %18 = fdiv double %17, 1.100000e+00
  %19 = getelementptr inbounds i8, ptr %0, i64 344
  %20 = load double, ptr %19, align 8, !tbaa !40
  %21 = fdiv double %20, 6.500000e+01
  %22 = fmul double %21, %18
  %23 = getelementptr inbounds i8, ptr %0, i64 352
  %24 = load double, ptr %23, align 8, !tbaa !41
  %25 = fdiv double %24, 0x3FB70A3D70A3D70A
  %26 = fmul double %25, 1.600000e-02
  %27 = fmul double %14, %26
  %28 = fdiv double %27, 1.200000e+00
  %29 = fmul double %14, %28
  %30 = fdiv double %29, 1.200000e+00
  %31 = getelementptr inbounds i8, ptr %0, i64 1376
  %32 = load i32, ptr %31, align 8, !tbaa !42
  %33 = add nsw i32 %32, -1
  %34 = sitofp i32 %33 to double
  %35 = tail call double @llvm.fmuladd.f64(double %34, double 2.000000e-01, double 1.000000e+00)
  %36 = getelementptr inbounds i8, ptr %0, i64 1417
  %37 = load i8, ptr %36, align 1, !tbaa !43, !range !44, !noundef !45
  %38 = trunc nuw i8 %37 to i1
  %39 = select i1 %38, double %30, double 0.000000e+00
  %40 = fadd double %22, %39
  %41 = fmul double %35, %40
  %42 = getelementptr inbounds i8, ptr %0, i64 32
  store double %41, ptr %42, align 8, !tbaa !46
  %43 = select i1 %38, double 1.542670e+05, double 1.292670e+05
  %44 = fmul double %43, %35
  %45 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %12, double noundef %13, i32 noundef 2, i32 noundef 3, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %46 = fmul double %45, %44
  %47 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !39
  %48 = fmul double %47, %46
  %49 = getelementptr inbounds i8, ptr %0, i64 40
  store double %48, ptr %49, align 8, !tbaa !47
  %50 = tail call noundef double @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef 1, i32 noundef 1)
  %51 = load double, ptr %49, align 8, !tbaa !47
  %52 = fmul double %50, %51
  %53 = getelementptr inbounds i8, ptr %0, i64 64
  store double %52, ptr %53, align 8, !tbaa !48
  %54 = load i8, ptr %36, align 1, !tbaa !43, !range !44, !noundef !45
  %55 = trunc nuw i8 %54 to i1
  %56 = select i1 %55, double 1.542670e+05, double 1.292670e+05
  %57 = fmul double %35, %56
  %58 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %12, double noundef %13, i32 noundef 2, i32 noundef 3, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %59 = fmul double %58, %57
  %60 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8
  %61 = getelementptr inbounds i8, ptr %0, i64 48
  %62 = load i32, ptr @_ZN14McPATComponent21longer_channel_deviceE, align 4, !tbaa !49
  %.not = icmp eq i32 %62, 0
  %.val = load double, ptr %49, align 8
  %.val16 = load double, ptr %53, align 8
  %63 = select i1 %.not, double %.val, double %.val16
  %64 = getelementptr inbounds i8, ptr %0, i64 752
  store double %63, ptr %64, align 8, !tbaa !50
  %65 = getelementptr inbounds i8, ptr %0, i64 760
  %66 = load double, ptr %42, align 8, !tbaa !46
  %67 = getelementptr inbounds i8, ptr %0, i64 1464
  %68 = load double, ptr %67, align 8, !tbaa !51
  %69 = fmul double %66, %68
  %70 = getelementptr inbounds i8, ptr %0, i64 744
  store double %69, ptr %70, align 8, !tbaa !52
  %71 = getelementptr inbounds i8, ptr %0, i64 1472
  %72 = load double, ptr %71, align 8, !tbaa !53
  %73 = insertelement <2 x double> %60, double %66, i64 1
  %74 = insertelement <2 x double> poison, double %59, i64 0
  %75 = insertelement <2 x double> %74, double %72, i64 1
  %76 = fmul <2 x double> %73, %75
  %77 = extractelement <2 x double> %76, i64 0
  store double %77, ptr %61, align 8, !tbaa !54
  store <2 x double> %76, ptr %65, align 8, !tbaa !55
  ret void
}

attributes #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 = { 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 #2 = { 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 #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn 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, !17, i64 1412}
!6 = !{!"_ZTS15FlashController", !7, i64 0, !30, i64 1352, !32, i64 1464}
!7 = !{!"_ZTS14McPATComponent", !8, i64 8, !15, i64 288, !16, i64 296, !20, i64 664, !10, i64 696, !23, i64 704, !27, i64 728, !28, i64 776, !28, i64 944, !13, i64 1112, !13, i64 1232}
!8 = !{!"_ZTS9Component", !9, i64 0, !13, i64 24, !13, i64 144, !10, i64 264, !10, i64 272}
!9 = !{!"_ZTS4Area", !10, i64 0, !10, i64 8, !10, i64 16}
!10 = !{!"double", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTS8powerDef", !14, i64 0, !14, i64 40, !14, i64 80}
!14 = !{!"_ZTS15powerComponents", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!15 = !{!"any pointer", !11, i64 0}
!16 = !{!"_ZTS14InputParameter", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !18, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !10, i64 48, !10, i64 56, !17, i64 64, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !18, i64 84, !18, i64 85, !18, i64 86, !18, i64 87, !18, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !19, i64 152, !17, i64 156, !18, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !17, i64 176, !17, i64 180, !17, i64 184, !17, i64 188, !18, i64 192, !17, i64 196, !17, i64 200, !17, i64 204, !17, i64 208, !17, i64 212, !17, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !17, i64 240, !17, i64 244, !17, i64 248, !17, i64 252, !17, i64 256, !17, i64 260, !17, i64 264, !17, i64 268, !17, i64 272, !17, i64 276, !17, i64 280, !17, i64 284, !17, i64 288, !17, i64 292, !17, i64 296, !18, i64 300, !17, i64 304, !17, i64 308, !17, i64 312, !18, i64 316, !18, i64 317, !17, i64 320, !17, i64 324, !18, i64 328, !10, i64 336, !10, i64 344, !18, i64 352, !17, i64 356, !17, i64 360, !18, i64 364}
!17 = !{!"int", !11, i64 0}
!18 = !{!"bool", !11, i64 0}
!19 = !{!"_ZTS9Wire_type", !11, i64 0}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !11, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!22 = !{!"long", !11, i64 0}
!23 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!27 = !{!"_ZTS11McPATOutput", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!28 = !{!"_ZTS8statsDef", !29, i64 0, !29, i64 24, !29, i64 48, !29, i64 72, !29, i64 96, !29, i64 120, !29, i64 144}
!29 = !{!"_ZTS15statsComponents", !10, i64 0, !10, i64 8, !10, i64 16}
!30 = !{!"_ZTS12MCParameters", !10, i64 0, !31, i64 8, !10, i64 16, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !18, i64 64, !18, i64 65, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !17, i64 84, !17, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104}
!31 = !{!"_ZTS15MemoryCtrl_type", !11, i64 0}
!32 = !{!"_ZTS12MCStatistics", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!33 = !{!34, !10, i64 8}
!34 = !{!"_ZTS19TechnologyParameter", !10, i64 0, !10, 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, !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, !10, i64 336, !10, i64 344, !22, i64 352, !35, i64 360, !35, i64 528, !35, i64 696, !35, i64 864, !35, i64 1032, !36, i64 1200, !36, i64 1264, !36, i64 1328, !37, i64 1392, !38, i64 1416, !38, i64 1464, !38, i64 1512}
!35 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !10, i64 0, !10, 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}
!36 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!37 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !10, i64 0, !10, i64 8, !10, i64 16}
!38 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!39 = !{!34, !10, i64 936}
!40 = !{!7, !10, i64 344}
!41 = !{!7, !10, i64 352}
!42 = !{!6, !17, i64 1376}
!43 = !{!6, !18, i64 1417}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!8, !10, i64 24}
!47 = !{!8, !10, i64 32}
!48 = !{!8, !10, i64 56}
!49 = !{!17, !17, i64 0}
!50 = !{!7, !10, i64 752}
!51 = !{!6, !10, i64 1464}
!52 = !{!7, !10, i64 744}
!53 = !{!6, !10, i64 1472}
!54 = !{!8, !10, i64 40}
!55 = !{!10, !10, i64 0}


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