; LLVM IR from gem5/gem5 :: ext/mcpat/logic.ll (ZN14FunctionalUnit13computeEnergyEv)

; 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.FunctionalUnit = type { %class.McPATComponent, %class.InputParameter, %class.CoreParameters, %class.CoreStatistics, double, double, double, double, double, i8, i32, %class.statsDef }
%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.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.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, 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.CoreParameters = type { i8, i8, i8, i32, i32, i32, double, 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, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i8, i8, [4 x double], i32, i32, i32, i32, i32, i32, i32, double, double, 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, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, double, double }
%class.CoreStatistics = 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, 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 }

@g_tp = external global %class.TechnologyParameter, align 8
@__const._ZN14FunctionalUnit13computeEnergyEv.pppm_t = external hidden unnamed_addr constant [4 x double], align 16
@_ZN14McPATComponent14execution_timeE = external global double, align 8
@_ZN14McPATComponent21longer_channel_deviceE = external global i32, align 4

; 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) #0

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14FunctionalUnit13computeEnergyEv(ptr noundef nonnull align 8 dereferenceable(2808) %0) unnamed_addr #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca [4 x double], align 16
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const._ZN14FunctionalUnit13computeEnergyEv.pppm_t, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %7 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 42), align 8, !tbaa !9
  store double %7, ptr %5, align 8, !tbaa !17
  %8 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0
  call void @_Z8set_pppmPddddd(ptr noundef %8, double noundef 2.000000e+00, double noundef 2.000000e+00, double noundef 2.000000e+00, double noundef 2.000000e+00)
  %9 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 5
  %10 = load double, ptr %9, align 8, !tbaa !18
  %11 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 8
  %12 = getelementptr inbounds %class.statsDef, ptr %11, i32 0, i32 0
  %13 = getelementptr inbounds %class.statsComponents, ptr %12, i32 0, i32 0
  store double %10, ptr %13, align 8, !tbaa !44
  %14 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 10
  %15 = load i32, ptr %14, align 4, !tbaa !45
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %21

17:                                               ; preds = %1
  %18 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 3
  %19 = getelementptr inbounds %class.CoreStatistics, ptr %18, i32 0, i32 11
  %20 = load double, ptr %19, align 8, !tbaa !46
  store double %20, ptr %4, align 8, !tbaa !17
  br label %39

21:                                               ; preds = %1
  %22 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 10
  %23 = load i32, ptr %22, align 4, !tbaa !45
  %24 = icmp eq i32 %23, 1
  br i1 %24, label %25, label %29

25:                                               ; preds = %21
  %26 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 3
  %27 = getelementptr inbounds %class.CoreStatistics, ptr %26, i32 0, i32 9
  %28 = load double, ptr %27, align 8, !tbaa !47
  store double %28, ptr %4, align 8, !tbaa !17
  br label %38

29:                                               ; preds = %21
  %30 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 10
  %31 = load i32, ptr %30, align 4, !tbaa !45
  %32 = icmp eq i32 %31, 2
  br i1 %32, label %33, label %37

33:                                               ; preds = %29
  %34 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 3
  %35 = getelementptr inbounds %class.CoreStatistics, ptr %34, i32 0, i32 10
  %36 = load double, ptr %35, align 8, !tbaa !48
  store double %36, ptr %4, align 8, !tbaa !17
  br label %37

37:                                               ; preds = %33, %29
  br label %38

38:                                               ; preds = %37, %25
  br label %39

39:                                               ; preds = %38, %17
  %40 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 8
  %41 = load double, ptr %40, align 8, !tbaa !49
  %42 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 8
  %43 = getelementptr inbounds %class.statsDef, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds %class.statsComponents, ptr %43, i32 0, i32 0
  %45 = load double, ptr %44, align 8, !tbaa !44
  %46 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 7
  %47 = load double, ptr %46, align 8, !tbaa !50
  %48 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 5
  %49 = load double, ptr %48, align 8, !tbaa !51
  %50 = fdiv double %47, %49
  %51 = call double @llvm.fmuladd.f64(double %41, double %45, double %50)
  %52 = getelementptr inbounds i8, ptr %6, i64 8
  %53 = getelementptr inbounds %class.Component, ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds %class.powerDef, ptr %53, i32 0, i32 0
  %55 = getelementptr inbounds %class.powerComponents, ptr %54, i32 0, i32 0
  store double %51, ptr %55, align 8, !tbaa !52
  %56 = load double, ptr %5, align 8, !tbaa !17
  %57 = load double, ptr %4, align 8, !tbaa !17
  %58 = fmul double %56, %57
  %59 = getelementptr inbounds i8, ptr %6, i64 8
  %60 = getelementptr inbounds %class.Component, ptr %59, i32 0, i32 1
  %61 = getelementptr inbounds %class.powerDef, ptr %60, i32 0, i32 0
  %62 = getelementptr inbounds %class.powerComponents, ptr %61, i32 0, i32 0
  %63 = load double, ptr %62, align 8, !tbaa !52
  %64 = fmul double %63, %58
  store double %64, ptr %62, align 8, !tbaa !52
  %65 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 10
  %66 = load i32, ptr %65, align 4, !tbaa !45
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %75

68:                                               ; preds = %39
  %69 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 3
  %70 = getelementptr inbounds %class.CoreStatistics, ptr %69, i32 0, i32 43
  %71 = load double, ptr %70, align 8, !tbaa !53
  %72 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 9
  %73 = getelementptr inbounds %class.statsDef, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds %class.statsComponents, ptr %73, i32 0, i32 0
  store double %71, ptr %74, align 8, !tbaa !54
  br label %99

75:                                               ; preds = %39
  %76 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 10
  %77 = load i32, ptr %76, align 4, !tbaa !45
  %78 = icmp eq i32 %77, 1
  br i1 %78, label %79, label %86

79:                                               ; preds = %75
  %80 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 3
  %81 = getelementptr inbounds %class.CoreStatistics, ptr %80, i32 0, i32 42
  %82 = load double, ptr %81, align 8, !tbaa !55
  %83 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 9
  %84 = getelementptr inbounds %class.statsDef, ptr %83, i32 0, i32 0
  %85 = getelementptr inbounds %class.statsComponents, ptr %84, i32 0, i32 0
  store double %82, ptr %85, align 8, !tbaa !54
  br label %98

86:                                               ; preds = %75
  %87 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 10
  %88 = load i32, ptr %87, align 4, !tbaa !45
  %89 = icmp eq i32 %88, 2
  br i1 %89, label %90, label %97

90:                                               ; preds = %86
  %91 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 3
  %92 = getelementptr inbounds %class.CoreStatistics, ptr %91, i32 0, i32 44
  %93 = load double, ptr %92, align 8, !tbaa !56
  %94 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 9
  %95 = getelementptr inbounds %class.statsDef, ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %class.statsComponents, ptr %95, i32 0, i32 0
  store double %93, ptr %96, align 8, !tbaa !54
  br label %97

97:                                               ; preds = %90, %86
  br label %98

98:                                               ; preds = %97, %79
  br label %99

99:                                               ; preds = %98, %68
  %100 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 8
  %101 = load double, ptr %100, align 8, !tbaa !49
  %102 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 9
  %103 = getelementptr inbounds %class.statsDef, ptr %102, i32 0, i32 0
  %104 = getelementptr inbounds %class.statsComponents, ptr %103, i32 0, i32 0
  %105 = load double, ptr %104, align 8, !tbaa !54
  %106 = getelementptr inbounds %class.FunctionalUnit, ptr %6, i32 0, i32 7
  %107 = load double, ptr %106, align 8, !tbaa !50
  %108 = load double, ptr @_ZN14McPATComponent14execution_timeE, align 8, !tbaa !17
  %109 = fmul double %107, %108
  %110 = call double @llvm.fmuladd.f64(double %101, double %105, double %109)
  %111 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 11
  %112 = getelementptr inbounds %class.powerDef, ptr %111, i32 0, i32 0
  %113 = getelementptr inbounds %class.powerComponents, ptr %112, i32 0, i32 0
  store double %110, ptr %113, align 8, !tbaa !57
  %114 = load double, ptr %5, align 8, !tbaa !17
  %115 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 11
  %116 = getelementptr inbounds %class.powerDef, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds %class.powerComponents, ptr %116, i32 0, i32 0
  %118 = load double, ptr %117, align 8, !tbaa !57
  %119 = fmul double %118, %114
  store double %119, ptr %117, align 8, !tbaa !57
  %120 = getelementptr inbounds i8, ptr %6, i64 8
  %121 = getelementptr inbounds %class.Component, ptr %120, i32 0, i32 0
  %122 = call noundef double @_ZNK4Area8get_areaEv(ptr noundef nonnull align 8 dereferenceable(24) %121)
  %123 = fdiv double %122, 1.000000e+06
  %124 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 7
  %125 = getelementptr inbounds %class.McPATOutput, ptr %124, i32 0, i32 1
  store double %123, ptr %125, align 8, !tbaa !58
  %126 = getelementptr inbounds i8, ptr %6, i64 8
  %127 = getelementptr inbounds %class.Component, ptr %126, i32 0, i32 1
  %128 = getelementptr inbounds %class.powerDef, ptr %127, i32 0, i32 0
  %129 = getelementptr inbounds %class.powerComponents, ptr %128, i32 0, i32 0
  %130 = load double, ptr %129, align 8, !tbaa !52
  %131 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 5
  %132 = load double, ptr %131, align 8, !tbaa !51
  %133 = fmul double %130, %132
  %134 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 7
  %135 = getelementptr inbounds %class.McPATOutput, ptr %134, i32 0, i32 2
  store double %133, ptr %135, align 8, !tbaa !59
  %136 = load i32, ptr @_ZN14McPATComponent21longer_channel_deviceE, align 4, !tbaa !60
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %144

138:                                              ; preds = %99
  %139 = getelementptr inbounds i8, ptr %6, i64 8
  %140 = getelementptr inbounds %class.Component, ptr %139, i32 0, i32 1
  %141 = getelementptr inbounds %class.powerDef, ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds %class.powerComponents, ptr %141, i32 0, i32 4
  %143 = load double, ptr %142, align 8, !tbaa !61
  br label %150

144:                                              ; preds = %99
  %145 = getelementptr inbounds i8, ptr %6, i64 8
  %146 = getelementptr inbounds %class.Component, ptr %145, i32 0, i32 1
  %147 = getelementptr inbounds %class.powerDef, ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds %class.powerComponents, ptr %147, i32 0, i32 1
  %149 = load double, ptr %148, align 8, !tbaa !62
  br label %150

150:                                              ; preds = %144, %138
  %151 = phi double [ %143, %138 ], [ %149, %144 ]
  %152 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 7
  %153 = getelementptr inbounds %class.McPATOutput, ptr %152, i32 0, i32 3
  store double %151, ptr %153, align 8, !tbaa !63
  %154 = getelementptr inbounds i8, ptr %6, i64 8
  %155 = getelementptr inbounds %class.Component, ptr %154, i32 0, i32 1
  %156 = getelementptr inbounds %class.powerDef, ptr %155, i32 0, i32 0
  %157 = getelementptr inbounds %class.powerComponents, ptr %156, i32 0, i32 2
  %158 = load double, ptr %157, align 8, !tbaa !64
  %159 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 7
  %160 = getelementptr inbounds %class.McPATOutput, ptr %159, i32 0, i32 4
  store double %158, ptr %160, align 8, !tbaa !65
  %161 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 11
  %162 = getelementptr inbounds %class.powerDef, ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds %class.powerComponents, ptr %162, i32 0, i32 0
  %164 = load double, ptr %163, align 8, !tbaa !57
  %165 = getelementptr inbounds %class.McPATComponent, ptr %6, i32 0, i32 7
  %166 = getelementptr inbounds %class.McPATOutput, ptr %165, i32 0, i32 5
  store double %164, ptr %166, align 8, !tbaa !66
  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 32, ptr %3) #6
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z8set_pppmPddddd(ptr noundef, double noundef, double noundef, double noundef, double noundef) #5

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 #5 = { 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 #6 = { 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, !11, i64 336}
!10 = !{!"_ZTS19TechnologyParameter", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296, !11, i64 304, !11, i64 312, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !12, i64 352, !13, i64 360, !13, i64 528, !13, i64 696, !13, i64 864, !13, i64 1032, !14, i64 1200, !14, i64 1264, !14, i64 1328, !15, i64 1392, !16, i64 1416, !16, i64 1464, !16, i64 1512}
!11 = !{!"double", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160}
!14 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56}
!15 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !11, i64 0, !11, i64 8, !11, i64 16}
!16 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !11, i64 2600}
!19 = !{!"_ZTS14FunctionalUnit", !20, i64 0, !25, i64 1352, !38, i64 1720, !42, i64 2200, !11, i64 2592, !11, i64 2600, !11, i64 2608, !11, i64 2616, !11, i64 2624, !27, i64 2632, !43, i64 2636, !36, i64 2640}
!20 = !{!"_ZTS14McPATComponent", !21, i64 8, !6, i64 288, !25, i64 296, !29, i64 664, !11, i64 696, !31, i64 704, !35, i64 728, !36, i64 776, !36, i64 944, !23, i64 1112, !23, i64 1232}
!21 = !{!"_ZTS9Component", !22, i64 0, !23, i64 24, !23, i64 144, !11, i64 264, !11, i64 272}
!22 = !{!"_ZTS4Area", !11, i64 0, !11, i64 8, !11, i64 16}
!23 = !{!"_ZTS8powerDef", !24, i64 0, !24, i64 40, !24, i64 80}
!24 = !{!"_ZTS15powerComponents", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!25 = !{!"_ZTS14InputParameter", !26, i64 0, !26, i64 4, !26, i64 8, !26, i64 12, !26, i64 16, !27, i64 20, !26, i64 24, !26, i64 28, !26, i64 32, !26, i64 36, !26, i64 40, !26, i64 44, !11, i64 48, !11, i64 56, !26, i64 64, !26, i64 68, !26, i64 72, !26, i64 76, !26, i64 80, !27, i64 84, !27, i64 85, !27, i64 86, !27, i64 87, !27, i64 88, !26, i64 92, !26, i64 96, !26, i64 100, !26, i64 104, !26, i64 108, !26, i64 112, !26, i64 116, !26, i64 120, !26, i64 124, !26, i64 128, !26, i64 132, !26, i64 136, !26, i64 140, !26, i64 144, !26, i64 148, !28, i64 152, !26, i64 156, !27, i64 160, !26, i64 164, !26, i64 168, !26, i64 172, !26, i64 176, !26, i64 180, !26, i64 184, !26, i64 188, !27, i64 192, !26, i64 196, !26, i64 200, !26, i64 204, !26, i64 208, !26, i64 212, !26, i64 216, !26, i64 220, !26, i64 224, !26, i64 228, !26, i64 232, !26, i64 236, !26, i64 240, !26, i64 244, !26, i64 248, !26, i64 252, !26, i64 256, !26, i64 260, !26, i64 264, !26, i64 268, !26, i64 272, !26, i64 276, !26, i64 280, !26, i64 284, !26, i64 288, !26, i64 292, !26, i64 296, !27, i64 300, !26, i64 304, !26, i64 308, !26, i64 312, !27, i64 316, !27, i64 317, !26, i64 320, !26, i64 324, !27, i64 328, !11, i64 336, !11, i64 344, !27, i64 352, !26, i64 356, !26, i64 360, !27, i64 364}
!26 = !{!"int", !7, i64 0}
!27 = !{!"bool", !7, i64 0}
!28 = !{!"_ZTS9Wire_type", !7, i64 0}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !30, i64 0, !12, i64 8, !7, i64 16}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!31 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTS11McPATOutput", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!36 = !{!"_ZTS8statsDef", !37, i64 0, !37, i64 24, !37, i64 48, !37, i64 72, !37, i64 96, !37, i64 120, !37, i64 144}
!37 = !{!"_ZTS15statsComponents", !11, i64 0, !11, i64 8, !11, i64 16}
!38 = !{!"_ZTS14CoreParameters", !27, i64 0, !27, i64 1, !27, i64 2, !39, i64 4, !40, i64 8, !41, i64 12, !11, i64 16, !26, i64 24, !26, i64 28, !26, i64 32, !26, i64 36, !26, i64 40, !26, i64 44, !26, i64 48, !26, i64 52, !26, i64 56, !26, i64 60, !26, i64 64, !26, i64 68, !26, i64 72, !26, i64 76, !26, i64 80, !26, i64 84, !26, i64 88, !26, i64 92, !26, i64 96, !26, i64 100, !26, i64 104, !26, i64 108, !26, i64 112, !26, i64 116, !26, i64 120, !26, i64 124, !26, i64 128, !26, i64 132, !26, i64 136, !26, i64 140, !26, i64 144, !26, i64 148, !11, i64 152, !26, i64 160, !26, i64 164, !26, i64 168, !26, i64 172, !27, i64 176, !27, i64 177, !7, i64 184, !26, i64 216, !26, i64 220, !26, i64 224, !26, i64 228, !26, i64 232, !26, i64 236, !26, i64 240, !11, i64 248, !11, i64 256, !26, i64 264, !26, i64 268, !26, i64 272, !26, i64 276, !26, i64 280, !26, i64 284, !26, i64 288, !26, i64 292, !26, i64 296, !26, i64 300, !26, i64 304, !26, i64 308, !26, i64 312, !26, i64 316, !26, i64 320, !26, i64 324, !26, i64 328, !26, i64 332, !26, i64 336, !26, i64 340, !26, i64 344, !26, i64 348, !26, i64 352, !26, i64 356, !26, i64 360, !26, i64 364, !26, i64 368, !26, i64 372, !26, i64 376, !26, i64 380, !26, i64 384, !26, i64 388, !26, i64 392, !26, i64 396, !26, i64 400, !26, i64 404, !26, i64 408, !26, i64 412, !26, i64 416, !26, i64 420, !28, i64 424, !28, i64 428, !26, i64 432, !11, i64 440, !11, i64 448, !26, i64 456, !11, i64 464, !11, i64 472}
!39 = !{!"_ZTS9Core_type", !7, i64 0}
!40 = !{!"_ZTS13Renaming_type", !7, i64 0}
!41 = !{!"_ZTS14Scheduler_type", !7, i64 0}
!42 = !{!"_ZTS14CoreStatistics", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296, !11, i64 304, !11, i64 312, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368, !11, i64 376, !11, i64 384}
!43 = !{!"_ZTS7FU_type", !7, i64 0}
!44 = !{!20, !11, i64 776}
!45 = !{!19, !43, i64 2636}
!46 = !{!19, !11, i64 2288}
!47 = !{!19, !11, i64 2272}
!48 = !{!19, !11, i64 2280}
!49 = !{!19, !11, i64 2624}
!50 = !{!19, !11, i64 2616}
!51 = !{!20, !11, i64 696}
!52 = !{!21, !11, i64 24}
!53 = !{!19, !11, i64 2544}
!54 = !{!20, !11, i64 944}
!55 = !{!19, !11, i64 2536}
!56 = !{!19, !11, i64 2552}
!57 = !{!20, !11, i64 1232}
!58 = !{!20, !11, i64 736}
!59 = !{!20, !11, i64 744}
!60 = !{!26, !26, i64 0}
!61 = !{!21, !11, i64 56}
!62 = !{!21, !11, i64 32}
!63 = !{!20, !11, i64 752}
!64 = !{!21, !11, i64 40}
!65 = !{!20, !11, i64 760}
!66 = !{!20, !11, 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 }

@g_tp = external local_unnamed_addr global %class.TechnologyParameter, align 8
@__const._ZN14FunctionalUnit13computeEnergyEv.pppm_t = external hidden unnamed_addr constant [4 x double], align 16
@_ZN14McPATComponent14execution_timeE = external local_unnamed_addr global double, align 8
@_ZN14McPATComponent21longer_channel_deviceE = external local_unnamed_addr global i32, align 4

; 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) #0

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN14FunctionalUnit13computeEnergyEv(ptr noundef nonnull align 8 dereferenceable(2808) %0) unnamed_addr #3 align 2 {
  %2 = alloca [4 x double], align 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) @__const._ZN14FunctionalUnit13computeEnergyEv.pppm_t, i64 32, i1 false)
  %3 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 336), align 8, !tbaa !5
  call void @_Z8set_pppmPddddd(ptr noundef nonnull %2, double noundef 2.000000e+00, double noundef 2.000000e+00, double noundef 2.000000e+00, double noundef 2.000000e+00)
  %4 = getelementptr inbounds i8, ptr %0, i64 2600
  %5 = load double, ptr %4, align 8, !tbaa !15
  %6 = getelementptr inbounds i8, ptr %0, i64 776
  store double %5, ptr %6, align 8, !tbaa !42
  %7 = getelementptr inbounds i8, ptr %0, i64 2636
  %8 = load i32, ptr %7, align 4, !tbaa !43
  switch i32 %8, label %57 [
    i32 0, label %.thread
    i32 1, label %.thread7
    i32 2, label %.thread9
  ]

.thread:                                          ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 2288
  %10 = load double, ptr %9, align 8, !tbaa !44
  %11 = getelementptr inbounds i8, ptr %0, i64 2624
  %12 = load double, ptr %11, align 8, !tbaa !45
  %13 = getelementptr inbounds i8, ptr %0, i64 2616
  %14 = load double, ptr %13, align 8, !tbaa !46
  %15 = getelementptr inbounds i8, ptr %0, i64 696
  %16 = load double, ptr %15, align 8, !tbaa !47
  %17 = fdiv double %14, %16
  %18 = call double @llvm.fmuladd.f64(double %12, double %5, double %17)
  %19 = getelementptr inbounds i8, ptr %0, i64 32
  %20 = fmul double %3, %10
  %21 = fmul double %20, %18
  store double %21, ptr %19, align 8, !tbaa !48
  %22 = getelementptr inbounds i8, ptr %0, i64 2544
  %23 = load double, ptr %22, align 8, !tbaa !49
  %24 = getelementptr inbounds i8, ptr %0, i64 944
  store double %23, ptr %24, align 8, !tbaa !50
  br label %64

.thread7:                                         ; preds = %1
  %25 = getelementptr inbounds i8, ptr %0, i64 2272
  %26 = load double, ptr %25, align 8, !tbaa !51
  %27 = getelementptr inbounds i8, ptr %0, i64 2624
  %28 = load double, ptr %27, align 8, !tbaa !45
  %29 = getelementptr inbounds i8, ptr %0, i64 2616
  %30 = load double, ptr %29, align 8, !tbaa !46
  %31 = getelementptr inbounds i8, ptr %0, i64 696
  %32 = load double, ptr %31, align 8, !tbaa !47
  %33 = fdiv double %30, %32
  %34 = call double @llvm.fmuladd.f64(double %28, double %5, double %33)
  %35 = getelementptr inbounds i8, ptr %0, i64 32
  %36 = fmul double %3, %26
  %37 = fmul double %36, %34
  store double %37, ptr %35, align 8, !tbaa !48
  %38 = getelementptr inbounds i8, ptr %0, i64 2536
  %39 = load double, ptr %38, align 8, !tbaa !52
  %40 = getelementptr inbounds i8, ptr %0, i64 944
  store double %39, ptr %40, align 8, !tbaa !50
  br label %64

.thread9:                                         ; preds = %1
  %41 = getelementptr inbounds i8, ptr %0, i64 2280
  %42 = load double, ptr %41, align 8, !tbaa !53
  %43 = getelementptr inbounds i8, ptr %0, i64 2624
  %44 = load double, ptr %43, align 8, !tbaa !45
  %45 = getelementptr inbounds i8, ptr %0, i64 2616
  %46 = load double, ptr %45, align 8, !tbaa !46
  %47 = getelementptr inbounds i8, ptr %0, i64 696
  %48 = load double, ptr %47, align 8, !tbaa !47
  %49 = fdiv double %46, %48
  %50 = call double @llvm.fmuladd.f64(double %44, double %5, double %49)
  %51 = getelementptr inbounds i8, ptr %0, i64 32
  %52 = fmul double %3, %42
  %53 = fmul double %52, %50
  store double %53, ptr %51, align 8, !tbaa !48
  %54 = getelementptr inbounds i8, ptr %0, i64 2552
  %55 = load double, ptr %54, align 8, !tbaa !54
  %56 = getelementptr inbounds i8, ptr %0, i64 944
  store double %55, ptr %56, align 8, !tbaa !50
  br label %64

57:                                               ; preds = %1
  %58 = getelementptr inbounds i8, ptr %0, i64 2624
  %59 = load double, ptr %58, align 8, !tbaa !45
  %60 = getelementptr inbounds i8, ptr %0, i64 2616
  %61 = load double, ptr %60, align 8, !tbaa !46
  %62 = getelementptr inbounds i8, ptr %0, i64 696
  %63 = getelementptr inbounds i8, ptr %0, i64 32
  store double 0x7FF8000000000000, ptr %63, align 8, !tbaa !48
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 944
  %.pre = load double, ptr %.phi.trans.insert, align 8, !tbaa !50
  br label %64

64:                                               ; preds = %57, %.thread7, %.thread9, %.thread
  %65 = phi double [ %.pre, %57 ], [ %39, %.thread7 ], [ %55, %.thread9 ], [ %23, %.thread ]
  %66 = phi ptr [ %63, %57 ], [ %35, %.thread7 ], [ %51, %.thread9 ], [ %19, %.thread ]
  %67 = phi ptr [ %62, %57 ], [ %31, %.thread7 ], [ %47, %.thread9 ], [ %15, %.thread ]
  %68 = phi double [ %61, %57 ], [ %30, %.thread7 ], [ %46, %.thread9 ], [ %14, %.thread ]
  %69 = phi double [ %59, %57 ], [ %28, %.thread7 ], [ %44, %.thread9 ], [ %12, %.thread ]
  %70 = getelementptr inbounds i8, ptr %0, i64 8
  %71 = load double, ptr @_ZN14McPATComponent14execution_timeE, align 8, !tbaa !55
  %72 = fmul double %68, %71
  %73 = call double @llvm.fmuladd.f64(double %69, double %65, double %72)
  %74 = getelementptr inbounds i8, ptr %0, i64 1232
  %75 = fmul double %3, %73
  store double %75, ptr %74, align 8, !tbaa !56
  %76 = call noundef double @_ZNK4Area8get_areaEv(ptr noundef nonnull align 8 dereferenceable(24) %70)
  %77 = fdiv double %76, 1.000000e+06
  %78 = getelementptr inbounds i8, ptr %0, i64 736
  store double %77, ptr %78, align 8, !tbaa !57
  %79 = load double, ptr %66, align 8, !tbaa !48
  %80 = load double, ptr %67, align 8, !tbaa !47
  %81 = fmul double %79, %80
  %82 = getelementptr inbounds i8, ptr %0, i64 744
  store double %81, ptr %82, align 8, !tbaa !58
  %83 = load i32, ptr @_ZN14McPATComponent21longer_channel_deviceE, align 4, !tbaa !59
  %.not = icmp eq i32 %83, 0
  %.in.v = select i1 %.not, i64 40, i64 64
  %.in = getelementptr inbounds i8, ptr %0, i64 %.in.v
  %84 = load double, ptr %.in, align 8, !tbaa !55
  %85 = getelementptr inbounds i8, ptr %0, i64 752
  store double %84, ptr %85, align 8, !tbaa !60
  %86 = getelementptr inbounds i8, ptr %0, i64 48
  %87 = load double, ptr %86, align 8, !tbaa !61
  %88 = getelementptr inbounds i8, ptr %0, i64 760
  store double %87, ptr %88, align 8, !tbaa !62
  %89 = load double, ptr %74, align 8, !tbaa !56
  %90 = getelementptr inbounds i8, ptr %0, i64 768
  store double %89, ptr %90, align 8, !tbaa !63
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z8set_pppmPddddd(ptr noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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, !7, i64 336}
!6 = !{!"_ZTS19TechnologyParameter", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !10, i64 352, !11, i64 360, !11, i64 528, !11, i64 696, !11, i64 864, !11, i64 1032, !12, i64 1200, !12, i64 1264, !12, i64 1328, !13, i64 1392, !14, i64 1416, !14, i64 1464, !14, i64 1512}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160}
!12 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!13 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!15 = !{!16, !7, i64 2600}
!16 = !{!"_ZTS14FunctionalUnit", !17, i64 0, !23, i64 1352, !36, i64 1720, !40, i64 2200, !7, i64 2592, !7, i64 2600, !7, i64 2608, !7, i64 2616, !7, i64 2624, !25, i64 2632, !41, i64 2636, !34, i64 2640}
!17 = !{!"_ZTS14McPATComponent", !18, i64 8, !22, i64 288, !23, i64 296, !27, i64 664, !7, i64 696, !29, i64 704, !33, i64 728, !34, i64 776, !34, i64 944, !20, i64 1112, !20, i64 1232}
!18 = !{!"_ZTS9Component", !19, i64 0, !20, i64 24, !20, i64 144, !7, i64 264, !7, i64 272}
!19 = !{!"_ZTS4Area", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"_ZTS8powerDef", !21, i64 0, !21, i64 40, !21, i64 80}
!21 = !{!"_ZTS15powerComponents", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!"_ZTS14InputParameter", !24, i64 0, !24, i64 4, !24, i64 8, !24, i64 12, !24, i64 16, !25, i64 20, !24, i64 24, !24, i64 28, !24, i64 32, !24, i64 36, !24, i64 40, !24, i64 44, !7, i64 48, !7, i64 56, !24, i64 64, !24, i64 68, !24, i64 72, !24, i64 76, !24, i64 80, !25, i64 84, !25, i64 85, !25, i64 86, !25, i64 87, !25, i64 88, !24, i64 92, !24, i64 96, !24, i64 100, !24, i64 104, !24, i64 108, !24, i64 112, !24, i64 116, !24, i64 120, !24, i64 124, !24, i64 128, !24, i64 132, !24, i64 136, !24, i64 140, !24, i64 144, !24, i64 148, !26, i64 152, !24, i64 156, !25, i64 160, !24, i64 164, !24, i64 168, !24, i64 172, !24, i64 176, !24, i64 180, !24, i64 184, !24, i64 188, !25, i64 192, !24, i64 196, !24, i64 200, !24, i64 204, !24, i64 208, !24, i64 212, !24, i64 216, !24, i64 220, !24, i64 224, !24, i64 228, !24, i64 232, !24, i64 236, !24, i64 240, !24, i64 244, !24, i64 248, !24, i64 252, !24, i64 256, !24, i64 260, !24, i64 264, !24, i64 268, !24, i64 272, !24, i64 276, !24, i64 280, !24, i64 284, !24, i64 288, !24, i64 292, !24, i64 296, !25, i64 300, !24, i64 304, !24, i64 308, !24, i64 312, !25, i64 316, !25, i64 317, !24, i64 320, !24, i64 324, !25, i64 328, !7, i64 336, !7, i64 344, !25, i64 352, !24, i64 356, !24, i64 360, !25, i64 364}
!24 = !{!"int", !8, i64 0}
!25 = !{!"bool", !8, i64 0}
!26 = !{!"_ZTS9Wire_type", !8, i64 0}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !10, i64 8, !8, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !22, i64 0}
!29 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!33 = !{!"_ZTS11McPATOutput", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!34 = !{!"_ZTS8statsDef", !35, i64 0, !35, i64 24, !35, i64 48, !35, i64 72, !35, i64 96, !35, i64 120, !35, i64 144}
!35 = !{!"_ZTS15statsComponents", !7, i64 0, !7, i64 8, !7, i64 16}
!36 = !{!"_ZTS14CoreParameters", !25, i64 0, !25, i64 1, !25, i64 2, !37, i64 4, !38, i64 8, !39, i64 12, !7, i64 16, !24, i64 24, !24, i64 28, !24, i64 32, !24, i64 36, !24, i64 40, !24, i64 44, !24, i64 48, !24, i64 52, !24, i64 56, !24, i64 60, !24, i64 64, !24, i64 68, !24, i64 72, !24, i64 76, !24, i64 80, !24, i64 84, !24, i64 88, !24, i64 92, !24, i64 96, !24, i64 100, !24, i64 104, !24, i64 108, !24, i64 112, !24, i64 116, !24, i64 120, !24, i64 124, !24, i64 128, !24, i64 132, !24, i64 136, !24, i64 140, !24, i64 144, !24, i64 148, !7, i64 152, !24, i64 160, !24, i64 164, !24, i64 168, !24, i64 172, !25, i64 176, !25, i64 177, !8, i64 184, !24, i64 216, !24, i64 220, !24, i64 224, !24, i64 228, !24, i64 232, !24, i64 236, !24, i64 240, !7, i64 248, !7, i64 256, !24, i64 264, !24, i64 268, !24, i64 272, !24, i64 276, !24, i64 280, !24, i64 284, !24, i64 288, !24, i64 292, !24, i64 296, !24, i64 300, !24, i64 304, !24, i64 308, !24, i64 312, !24, i64 316, !24, i64 320, !24, i64 324, !24, i64 328, !24, i64 332, !24, i64 336, !24, i64 340, !24, i64 344, !24, i64 348, !24, i64 352, !24, i64 356, !24, i64 360, !24, i64 364, !24, i64 368, !24, i64 372, !24, i64 376, !24, i64 380, !24, i64 384, !24, i64 388, !24, i64 392, !24, i64 396, !24, i64 400, !24, i64 404, !24, i64 408, !24, i64 412, !24, i64 416, !24, i64 420, !26, i64 424, !26, i64 428, !24, i64 432, !7, i64 440, !7, i64 448, !24, i64 456, !7, i64 464, !7, i64 472}
!37 = !{!"_ZTS9Core_type", !8, i64 0}
!38 = !{!"_ZTS13Renaming_type", !8, i64 0}
!39 = !{!"_ZTS14Scheduler_type", !8, i64 0}
!40 = !{!"_ZTS14CoreStatistics", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384}
!41 = !{!"_ZTS7FU_type", !8, i64 0}
!42 = !{!17, !7, i64 776}
!43 = !{!16, !41, i64 2636}
!44 = !{!16, !7, i64 2288}
!45 = !{!16, !7, i64 2624}
!46 = !{!16, !7, i64 2616}
!47 = !{!17, !7, i64 696}
!48 = !{!18, !7, i64 24}
!49 = !{!16, !7, i64 2544}
!50 = !{!17, !7, i64 944}
!51 = !{!16, !7, i64 2272}
!52 = !{!16, !7, i64 2536}
!53 = !{!16, !7, i64 2280}
!54 = !{!16, !7, i64 2552}
!55 = !{!7, !7, i64 0}
!56 = !{!17, !7, i64 1232}
!57 = !{!17, !7, i64 736}
!58 = !{!17, !7, i64 744}
!59 = !{!24, !24, i64 0}
!60 = !{!17, !7, i64 752}
!61 = !{!18, !7, i64 40}
!62 = !{!17, !7, i64 760}
!63 = !{!17, !7, i64 768}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass