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

; 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.DFFCell = type { %class.Component, %class.InputParameter, i8, double, double, double, double, i32, i32, i32, i32, i32, %class.powerDef, %class.powerDef, %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.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%class.Pipeline = type { %class.McPATComponent, %class.InputParameter, %class.uca_org_t, %class.CoreParameters, i32, i8, i8, double, i8, double, double, double }
%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.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.uca_org_t = type { ptr, ptr, double, double, double, double, %class.powerDef, double, double, double, [100 x i8], double, i8, %struct.results_mem_array, %struct.results_mem_array }
%struct.results_mem_array = type { i32, i32, double, i32, i32, i32, i32, i32, i32, 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.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, 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.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 }

@g_tp = external global %class.TechnologyParameter, align 8
@_ZN14McPATComponent12total_cyclesE = external global double, align 8

declare i32 @__gxx_personality_v0(...)

; 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 @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef, i32 noundef) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Pipeline7computeEv(ptr noundef nonnull align 8 dereferenceable(10448) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %class.DFFCell, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %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
  %12 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8
  call void @_ZN8Pipeline20compute_stage_vectorEv(ptr noundef nonnull align 8 dereferenceable(10448) %13)
  call void @llvm.lifetime.start.p0(i64 1192, ptr %3) #5
  %14 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 9
  %15 = load double, ptr %14, align 8, !tbaa !9
  %16 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 10
  %17 = load double, ptr %16, align 8, !tbaa !38
  %18 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 11
  %19 = load double, ptr %18, align 8, !tbaa !39
  %20 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 1
  call void @_ZN7DFFCellC1EbdddPK14InputParameter(ptr noundef nonnull align 8 dereferenceable(1192) %3, i1 noundef zeroext false, double noundef %15, double noundef %17, double noundef %19, ptr noundef %20)
  invoke void @_ZN7DFFCell16compute_DFF_cellEv(ptr noundef nonnull align 8 dereferenceable(1192) %3)
          to label %21 unwind label %148

21:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %22 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 7
  %23 = load double, ptr %22, align 8, !tbaa !40
  %24 = getelementptr inbounds %class.DFFCell, ptr %3, i32 0, i32 15
  %25 = getelementptr inbounds %class.powerDef, ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds %class.powerComponents, ptr %25, i32 0, i32 0
  %27 = load double, ptr %26, align 8, !tbaa !41
  %28 = fmul double %23, %27
  store double %28, ptr %6, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %29 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 7
  %30 = load double, ptr %29, align 8, !tbaa !40
  %31 = getelementptr inbounds %class.DFFCell, ptr %3, i32 0, i32 12
  %32 = getelementptr inbounds %class.powerDef, ptr %31, i32 0, i32 0
  %33 = getelementptr inbounds %class.powerComponents, ptr %32, i32 0, i32 0
  %34 = load double, ptr %33, align 8, !tbaa !44
  %35 = getelementptr inbounds %class.DFFCell, ptr %3, i32 0, i32 14
  %36 = getelementptr inbounds %class.powerDef, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds %class.powerComponents, ptr %36, i32 0, i32 0
  %38 = load double, ptr %37, align 8, !tbaa !45
  %39 = fadd double %34, %38
  %40 = getelementptr inbounds %class.DFFCell, ptr %3, i32 0, i32 13
  %41 = getelementptr inbounds %class.powerDef, ptr %40, i32 0, i32 0
  %42 = getelementptr inbounds %class.powerComponents, ptr %41, i32 0, i32 0
  %43 = load double, ptr %42, align 8, !tbaa !46
  %44 = fadd double %39, %43
  %45 = fmul double %30, %44
  %46 = fdiv double %45, 3.000000e+00
  %47 = load double, ptr %6, align 8, !tbaa !43
  %48 = fadd double %46, %47
  store double %48, ptr %7, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %49 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 7
  %50 = load double, ptr %49, align 8, !tbaa !40
  %51 = getelementptr inbounds %class.DFFCell, ptr %3, i32 0, i32 12
  %52 = getelementptr inbounds %class.powerDef, ptr %51, i32 0, i32 0
  %53 = getelementptr inbounds %class.powerComponents, ptr %52, i32 0, i32 1
  %54 = load double, ptr %53, align 8, !tbaa !47
  %55 = fmul double %50, %54
  store double %55, ptr %8, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %56 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 7
  %57 = load double, ptr %56, align 8, !tbaa !40
  %58 = getelementptr inbounds %class.DFFCell, ptr %3, i32 0, i32 12
  %59 = getelementptr inbounds %class.powerDef, ptr %58, i32 0, i32 0
  %60 = getelementptr inbounds %class.powerComponents, ptr %59, i32 0, i32 2
  %61 = load double, ptr %60, align 8, !tbaa !48
  %62 = fmul double %57, %61
  store double %62, ptr %9, align 8, !tbaa !43
  %63 = load double, ptr %7, align 8, !tbaa !43
  %64 = getelementptr inbounds i8, ptr %13, i64 8
  %65 = getelementptr inbounds %class.Component, ptr %64, i32 0, i32 1
  %66 = getelementptr inbounds %class.powerDef, ptr %65, i32 0, i32 0
  %67 = getelementptr inbounds %class.powerComponents, ptr %66, i32 0, i32 0
  %68 = load double, ptr %67, align 8, !tbaa !49
  %69 = fadd double %68, %63
  store double %69, ptr %67, align 8, !tbaa !49
  %70 = load double, ptr %8, align 8, !tbaa !43
  %71 = getelementptr inbounds i8, ptr %13, i64 8
  %72 = getelementptr inbounds %class.Component, ptr %71, i32 0, i32 1
  %73 = getelementptr inbounds %class.powerDef, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds %class.powerComponents, ptr %73, i32 0, i32 1
  %75 = load double, ptr %74, align 8, !tbaa !50
  %76 = fadd double %75, %70
  store double %76, ptr %74, align 8, !tbaa !50
  %77 = load double, ptr %9, align 8, !tbaa !43
  %78 = getelementptr inbounds i8, ptr %13, i64 8
  %79 = getelementptr inbounds %class.Component, ptr %78, i32 0, i32 1
  %80 = getelementptr inbounds %class.powerDef, ptr %79, i32 0, i32 0
  %81 = getelementptr inbounds %class.powerComponents, ptr %80, i32 0, i32 2
  %82 = load double, ptr %81, align 8, !tbaa !51
  %83 = fadd double %82, %77
  store double %83, ptr %81, align 8, !tbaa !51
  %84 = getelementptr inbounds i8, ptr %13, i64 8
  %85 = getelementptr inbounds %class.Component, ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 7
  %87 = load double, ptr %86, align 8, !tbaa !40
  %88 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 0
  %89 = invoke noundef double @_ZNK4Area8get_areaEv(ptr noundef nonnull align 8 dereferenceable(24) %88)
          to label %90 unwind label %152

90:                                               ; preds = %21
  %91 = fmul double %87, %89
  invoke void @_ZN4Area8set_areaEd(ptr noundef nonnull align 8 dereferenceable(24) %85, double noundef %91)
          to label %92 unwind label %152

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %93 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 4
  %94 = load i32, ptr %93, align 8, !tbaa !52
  %95 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 3
  %96 = getelementptr inbounds %class.CoreParameters, ptr %95, i32 0, i32 3
  %97 = load i32, ptr %96, align 4, !tbaa !53
  %98 = invoke noundef double @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef %94, i32 noundef %97)
          to label %99 unwind label %156

99:                                               ; preds = %92
  store double %98, ptr %10, align 8, !tbaa !43
  %100 = getelementptr inbounds i8, ptr %13, i64 8
  %101 = getelementptr inbounds %class.Component, ptr %100, i32 0, i32 1
  %102 = getelementptr inbounds %class.powerDef, ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds %class.powerComponents, ptr %102, i32 0, i32 1
  %104 = load double, ptr %103, align 8, !tbaa !50
  %105 = load double, ptr %10, align 8, !tbaa !43
  %106 = fmul double %104, %105
  %107 = getelementptr inbounds i8, ptr %13, i64 8
  %108 = getelementptr inbounds %class.Component, ptr %107, i32 0, i32 1
  %109 = getelementptr inbounds %class.powerDef, ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds %class.powerComponents, ptr %109, i32 0, i32 4
  store double %106, ptr %110, align 8, !tbaa !54
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %111 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 42), align 8, !tbaa !55
  store double %111, ptr %11, align 8, !tbaa !43
  %112 = load double, ptr %11, align 8, !tbaa !43
  %113 = getelementptr inbounds i8, ptr %13, i64 8
  %114 = getelementptr inbounds %class.Component, ptr %113, i32 0, i32 1
  %115 = getelementptr inbounds %class.powerDef, ptr %114, i32 0, i32 0
  %116 = getelementptr inbounds %class.powerComponents, ptr %115, i32 0, i32 0
  %117 = load double, ptr %116, align 8, !tbaa !49
  %118 = fmul double %117, %112
  store double %118, ptr %116, align 8, !tbaa !49
  %119 = load double, ptr %11, align 8, !tbaa !43
  %120 = getelementptr inbounds i8, ptr %13, i64 8
  %121 = getelementptr inbounds %class.Component, ptr %120, i32 0, i32 1
  %122 = getelementptr inbounds %class.powerDef, ptr %121, i32 0, i32 1
  %123 = getelementptr inbounds %class.powerComponents, ptr %122, i32 0, i32 0
  %124 = load double, ptr %123, align 8, !tbaa !61
  %125 = fmul double %124, %119
  store double %125, ptr %123, align 8, !tbaa !61
  %126 = load double, ptr %11, align 8, !tbaa !43
  %127 = getelementptr inbounds i8, ptr %13, i64 8
  %128 = getelementptr inbounds %class.Component, ptr %127, i32 0, i32 1
  %129 = getelementptr inbounds %class.powerDef, ptr %128, i32 0, i32 2
  %130 = getelementptr inbounds %class.powerComponents, ptr %129, i32 0, i32 0
  %131 = load double, ptr %130, align 8, !tbaa !62
  %132 = fmul double %131, %126
  store double %132, ptr %130, align 8, !tbaa !62
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %133 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 41), align 8, !tbaa !63
  store double %133, ptr %12, align 8, !tbaa !43
  %134 = getelementptr inbounds %class.Pipeline, ptr %13, i32 0, i32 3
  %135 = getelementptr inbounds %class.CoreParameters, ptr %134, i32 0, i32 2
  %136 = load i8, ptr %135, align 2, !tbaa !64, !range !65, !noundef !66
  %137 = trunc i8 %136 to i1
  br i1 %137, label %164, label %138

138:                                              ; preds = %99
  %139 = getelementptr inbounds i8, ptr %13, i64 8
  %140 = getelementptr inbounds %class.Component, ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds i8, ptr %13, i64 8
  %142 = getelementptr inbounds %class.Component, ptr %141, i32 0, i32 0
  %143 = invoke noundef double @_ZNK4Area8get_areaEv(ptr noundef nonnull align 8 dereferenceable(24) %142)
          to label %144 unwind label %160

144:                                              ; preds = %138
  %145 = load double, ptr %12, align 8, !tbaa !43
  %146 = fmul double %143, %145
  invoke void @_ZN4Area8set_areaEd(ptr noundef nonnull align 8 dereferenceable(24) %140, double noundef %146)
          to label %147 unwind label %160

147:                                              ; preds = %144
  br label %164

148:                                              ; preds = %1
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %4, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %5, align 4
  br label %207

152:                                              ; preds = %90, %21
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %4, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %5, align 4
  br label %206

156:                                              ; preds = %92
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %4, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %5, align 4
  br label %205

160:                                              ; preds = %164, %144, %138
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %4, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %205

164:                                              ; preds = %147, %99
  %165 = getelementptr inbounds i8, ptr %13, i64 8
  %166 = getelementptr inbounds %class.Component, ptr %165, i32 0, i32 0
  %167 = invoke noundef double @_ZNK4Area8get_areaEv(ptr noundef nonnull align 8 dereferenceable(24) %166)
          to label %168 unwind label %160

168:                                              ; preds = %164
  %169 = fdiv double %167, 1.000000e+06
  %170 = getelementptr inbounds %class.McPATComponent, ptr %13, i32 0, i32 7
  %171 = getelementptr inbounds %class.McPATOutput, ptr %170, i32 0, i32 1
  store double %169, ptr %171, align 8, !tbaa !67
  %172 = getelementptr inbounds i8, ptr %13, i64 8
  %173 = getelementptr inbounds %class.Component, ptr %172, i32 0, i32 1
  %174 = getelementptr inbounds %class.powerDef, ptr %173, i32 0, i32 0
  %175 = getelementptr inbounds %class.powerComponents, ptr %174, i32 0, i32 0
  %176 = load double, ptr %175, align 8, !tbaa !49
  %177 = getelementptr inbounds %class.McPATComponent, ptr %13, i32 0, i32 5
  %178 = load double, ptr %177, align 8, !tbaa !68
  %179 = fmul double %176, %178
  %180 = getelementptr inbounds %class.McPATComponent, ptr %13, i32 0, i32 7
  %181 = getelementptr inbounds %class.McPATOutput, ptr %180, i32 0, i32 2
  store double %179, ptr %181, align 8, !tbaa !69
  %182 = getelementptr inbounds i8, ptr %13, i64 8
  %183 = getelementptr inbounds %class.Component, ptr %182, i32 0, i32 1
  %184 = getelementptr inbounds %class.powerDef, ptr %183, i32 0, i32 0
  %185 = getelementptr inbounds %class.powerComponents, ptr %184, i32 0, i32 1
  %186 = load double, ptr %185, align 8, !tbaa !50
  %187 = getelementptr inbounds %class.McPATComponent, ptr %13, i32 0, i32 7
  %188 = getelementptr inbounds %class.McPATOutput, ptr %187, i32 0, i32 3
  store double %186, ptr %188, align 8, !tbaa !70
  %189 = getelementptr inbounds i8, ptr %13, i64 8
  %190 = getelementptr inbounds %class.Component, ptr %189, i32 0, i32 1
  %191 = getelementptr inbounds %class.powerDef, ptr %190, i32 0, i32 0
  %192 = getelementptr inbounds %class.powerComponents, ptr %191, i32 0, i32 2
  %193 = load double, ptr %192, align 8, !tbaa !51
  %194 = getelementptr inbounds %class.McPATComponent, ptr %13, i32 0, i32 7
  %195 = getelementptr inbounds %class.McPATOutput, ptr %194, i32 0, i32 4
  store double %193, ptr %195, align 8, !tbaa !71
  %196 = getelementptr inbounds i8, ptr %13, i64 8
  %197 = getelementptr inbounds %class.Component, ptr %196, i32 0, i32 1
  %198 = getelementptr inbounds %class.powerDef, ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds %class.powerComponents, ptr %198, i32 0, i32 0
  %200 = load double, ptr %199, align 8, !tbaa !49
  %201 = load double, ptr @_ZN14McPATComponent12total_cyclesE, align 8, !tbaa !43
  %202 = fmul double %200, %201
  %203 = getelementptr inbounds %class.McPATComponent, ptr %13, i32 0, i32 7
  %204 = getelementptr inbounds %class.McPATOutput, ptr %203, i32 0, i32 5
  store double %202, ptr %204, align 8, !tbaa !72
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @_ZN9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1192) %3) #5
  call void @llvm.lifetime.end.p0(i64 1192, ptr %3) #5
  ret void

205:                                              ; preds = %160, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %206

206:                                              ; preds = %205, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %207

207:                                              ; preds = %206, %148
  call void @_ZN9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1192) %3) #5
  call void @llvm.lifetime.end.p0(i64 1192, ptr %3) #5
  br label %208

208:                                              ; preds = %207
  %209 = load ptr, ptr %4, align 8
  %210 = load i32, ptr %5, align 4
  %211 = insertvalue { ptr, i32 } poison, ptr %209, 0
  %212 = insertvalue { ptr, i32 } %211, i32 %210, 1
  resume { ptr, i32 } %212
}

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

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

; Function Attrs: nounwind
declare void @_ZN9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #4

declare void @_ZN7DFFCellC1EbdddPK14InputParameter(ptr, i1, double, double, double, ptr)

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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = { 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, !14, i64 10424}
!10 = !{!"_ZTS8Pipeline", !11, i64 0, !17, i64 1352, !31, i64 1720, !33, i64 9920, !37, i64 10400, !19, i64 10404, !19, i64 10405, !14, i64 10408, !19, i64 10416, !14, i64 10424, !14, i64 10432, !14, i64 10440}
!11 = !{!"_ZTS14McPATComponent", !12, i64 8, !6, i64 288, !17, i64 296, !21, i64 664, !14, i64 696, !24, i64 704, !28, i64 728, !29, i64 776, !29, i64 944, !15, i64 1112, !15, i64 1232}
!12 = !{!"_ZTS9Component", !13, i64 0, !15, i64 24, !15, i64 144, !14, i64 264, !14, i64 272}
!13 = !{!"_ZTS4Area", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTS8powerDef", !16, i64 0, !16, i64 40, !16, i64 80}
!16 = !{!"_ZTS15powerComponents", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!17 = !{!"_ZTS14InputParameter", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !19, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !18, i64 44, !14, i64 48, !14, i64 56, !18, i64 64, !18, i64 68, !18, i64 72, !18, i64 76, !18, i64 80, !19, i64 84, !19, i64 85, !19, i64 86, !19, i64 87, !19, i64 88, !18, i64 92, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !18, i64 148, !20, i64 152, !18, i64 156, !19, i64 160, !18, i64 164, !18, i64 168, !18, i64 172, !18, i64 176, !18, i64 180, !18, i64 184, !18, i64 188, !19, i64 192, !18, i64 196, !18, i64 200, !18, i64 204, !18, i64 208, !18, i64 212, !18, i64 216, !18, i64 220, !18, i64 224, !18, i64 228, !18, i64 232, !18, i64 236, !18, i64 240, !18, i64 244, !18, i64 248, !18, i64 252, !18, i64 256, !18, i64 260, !18, i64 264, !18, i64 268, !18, i64 272, !18, i64 276, !18, i64 280, !18, i64 284, !18, i64 288, !18, i64 292, !18, i64 296, !19, i64 300, !18, i64 304, !18, i64 308, !18, i64 312, !19, i64 316, !19, i64 317, !18, i64 320, !18, i64 324, !19, i64 328, !14, i64 336, !14, i64 344, !19, i64 352, !18, i64 356, !18, i64 360, !19, i64 364}
!18 = !{!"int", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTS9Wire_type", !7, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTS11McPATOutput", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!29 = !{!"_ZTS8statsDef", !30, i64 0, !30, i64 24, !30, i64 48, !30, i64 72, !30, i64 96, !30, i64 120, !30, i64 144}
!30 = !{!"_ZTS15statsComponents", !14, i64 0, !14, i64 8, !14, i64 16}
!31 = !{!"_ZTS9uca_org_t", !6, i64 0, !6, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !14, i64 168, !14, i64 176, !14, i64 184, !7, i64 192, !14, i64 296, !19, i64 304, !32, i64 312, !32, i64 4256}
!32 = !{!"_ZTS17results_mem_array", !18, i64 0, !18, i64 4, !14, i64 8, !18, i64 16, !18, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !15, i64 272, !15, i64 392, !15, i64 512, !15, i64 632, !15, i64 752, !15, i64 872, !15, i64 992, !15, i64 1112, !15, i64 1232, !15, i64 1352, !15, i64 1472, !15, i64 1592, !15, i64 1712, !15, i64 1832, !15, i64 1952, !15, i64 2072, !15, i64 2192, !15, i64 2312, !15, i64 2432, !15, i64 2552, !15, i64 2672, !15, i64 2792, !15, i64 2912, !15, i64 3032, !15, i64 3152, !15, i64 3272, !15, i64 3392, !15, i64 3512, !15, i64 3632, !14, i64 3752, !14, i64 3760, !14, i64 3768, !14, i64 3776, !14, i64 3784, !14, i64 3792, !14, i64 3800, !14, i64 3808, !14, i64 3816, !14, i64 3824, !14, i64 3832, !14, i64 3840, !14, i64 3848, !14, i64 3856, !14, i64 3864, !14, i64 3872, !14, i64 3880, !14, i64 3888, !14, i64 3896, !14, i64 3904, !14, i64 3912, !14, i64 3920, !14, i64 3928, !14, i64 3936}
!33 = !{!"_ZTS14CoreParameters", !19, i64 0, !19, i64 1, !19, i64 2, !34, i64 4, !35, i64 8, !36, i64 12, !14, i64 16, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !18, i64 44, !18, i64 48, !18, i64 52, !18, i64 56, !18, i64 60, !18, i64 64, !18, i64 68, !18, i64 72, !18, i64 76, !18, i64 80, !18, i64 84, !18, i64 88, !18, i64 92, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !18, i64 148, !14, i64 152, !18, i64 160, !18, i64 164, !18, i64 168, !18, i64 172, !19, i64 176, !19, i64 177, !7, i64 184, !18, i64 216, !18, i64 220, !18, i64 224, !18, i64 228, !18, i64 232, !18, i64 236, !18, i64 240, !14, i64 248, !14, i64 256, !18, i64 264, !18, i64 268, !18, i64 272, !18, i64 276, !18, i64 280, !18, i64 284, !18, i64 288, !18, i64 292, !18, i64 296, !18, i64 300, !18, i64 304, !18, i64 308, !18, i64 312, !18, i64 316, !18, i64 320, !18, i64 324, !18, i64 328, !18, i64 332, !18, i64 336, !18, i64 340, !18, i64 344, !18, i64 348, !18, i64 352, !18, i64 356, !18, i64 360, !18, i64 364, !18, i64 368, !18, i64 372, !18, i64 376, !18, i64 380, !18, i64 384, !18, i64 388, !18, i64 392, !18, i64 396, !18, i64 400, !18, i64 404, !18, i64 408, !18, i64 412, !18, i64 416, !18, i64 420, !20, i64 424, !20, i64 428, !18, i64 432, !14, i64 440, !14, i64 448, !18, i64 456, !14, i64 464, !14, i64 472}
!34 = !{!"_ZTS9Core_type", !7, i64 0}
!35 = !{!"_ZTS13Renaming_type", !7, i64 0}
!36 = !{!"_ZTS14Scheduler_type", !7, i64 0}
!37 = !{!"_ZTS9Device_ty", !7, i64 0}
!38 = !{!10, !14, i64 10432}
!39 = !{!10, !14, i64 10440}
!40 = !{!10, !14, i64 10408}
!41 = !{!42, !14, i64 1072}
!42 = !{!"_ZTS7DFFCell", !12, i64 0, !17, i64 280, !19, i64 648, !14, i64 656, !14, i64 664, !14, i64 672, !14, i64 680, !18, i64 688, !18, i64 692, !18, i64 696, !18, i64 700, !18, i64 704, !15, i64 712, !15, i64 832, !15, i64 952, !15, i64 1072}
!43 = !{!14, !14, i64 0}
!44 = !{!42, !14, i64 712}
!45 = !{!42, !14, i64 952}
!46 = !{!42, !14, i64 832}
!47 = !{!42, !14, i64 720}
!48 = !{!42, !14, i64 728}
!49 = !{!12, !14, i64 24}
!50 = !{!12, !14, i64 32}
!51 = !{!12, !14, i64 40}
!52 = !{!10, !37, i64 10400}
!53 = !{!10, !34, i64 9924}
!54 = !{!12, !14, i64 56}
!55 = !{!56, !14, i64 336}
!56 = !{!"_ZTS19TechnologyParameter", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !14, i64 320, !14, i64 328, !14, i64 336, !14, i64 344, !23, i64 352, !57, i64 360, !57, i64 528, !57, i64 696, !57, i64 864, !57, i64 1032, !58, i64 1200, !58, i64 1264, !58, i64 1328, !59, i64 1392, !60, i64 1416, !60, i64 1464, !60, i64 1512}
!57 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160}
!58 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56}
!59 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !14, i64 0, !14, i64 8, !14, i64 16}
!60 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!61 = !{!12, !14, i64 64}
!62 = !{!12, !14, i64 104}
!63 = !{!56, !14, i64 328}
!64 = !{!10, !19, i64 9922}
!65 = !{i8 0, i8 2}
!66 = !{}
!67 = !{!11, !14, i64 736}
!68 = !{!11, !14, i64 696}
!69 = !{!11, !14, i64 744}
!70 = !{!11, !14, i64 752}
!71 = !{!11, !14, i64 760}
!72 = !{!11, !14, 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.DFFCell = type { %class.Component, %class.InputParameter, i8, double, double, double, double, i32, i32, i32, i32, i32, %class.powerDef, %class.powerDef, %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.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }

@g_tp = external local_unnamed_addr global %class.TechnologyParameter, align 8
@_ZN14McPATComponent12total_cyclesE = external local_unnamed_addr global double, align 8

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Pipeline7computeEv(ptr noundef nonnull align 8 dereferenceable(10448) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.DFFCell, align 8
  tail call void @_ZN8Pipeline20compute_stage_vectorEv(ptr noundef nonnull align 8 dereferenceable(10448) %0)
  call void @llvm.lifetime.start.p0(i64 1192, ptr nonnull %2) #5
  %3 = getelementptr inbounds i8, ptr %0, i64 10424
  %4 = load double, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 10432
  %6 = load double, ptr %5, align 8, !tbaa !37
  %7 = getelementptr inbounds i8, ptr %0, i64 10440
  %8 = load double, ptr %7, align 8, !tbaa !38
  %9 = getelementptr inbounds i8, ptr %0, i64 1352
  call void @_ZN7DFFCellC1EbdddPK14InputParameter(ptr noundef nonnull align 8 dereferenceable(1192) %2, i1 noundef zeroext false, double noundef %4, double noundef %6, double noundef %8, ptr noundef nonnull %9)
  invoke void @_ZN7DFFCell16compute_DFF_cellEv(ptr noundef nonnull align 8 dereferenceable(1192) %2)
          to label %10 unwind label %72

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 10408
  %12 = load double, ptr %11, align 8, !tbaa !39
  %13 = getelementptr inbounds i8, ptr %2, i64 1072
  %14 = load double, ptr %13, align 8, !tbaa !40
  %15 = fmul double %12, %14
  %16 = getelementptr inbounds i8, ptr %2, i64 712
  %17 = load double, ptr %16, align 8, !tbaa !42
  %18 = getelementptr inbounds i8, ptr %2, i64 952
  %19 = load double, ptr %18, align 8, !tbaa !43
  %20 = fadd double %17, %19
  %21 = getelementptr inbounds i8, ptr %2, i64 832
  %22 = load double, ptr %21, align 8, !tbaa !44
  %23 = fadd double %20, %22
  %24 = fmul double %12, %23
  %25 = fdiv double %24, 3.000000e+00
  %26 = fadd double %15, %25
  %27 = getelementptr inbounds i8, ptr %2, i64 720
  %28 = load double, ptr %27, align 8, !tbaa !45
  %29 = fmul double %12, %28
  %30 = getelementptr inbounds i8, ptr %2, i64 728
  %31 = load double, ptr %30, align 8, !tbaa !46
  %32 = fmul double %12, %31
  %33 = getelementptr inbounds i8, ptr %0, i64 8
  %34 = getelementptr inbounds i8, ptr %0, i64 32
  %35 = getelementptr inbounds i8, ptr %0, i64 40
  %36 = load <2 x double>, ptr %34, align 8, !tbaa !47
  %37 = insertelement <2 x double> poison, double %26, i64 0
  %38 = insertelement <2 x double> %37, double %29, i64 1
  %39 = fadd <2 x double> %36, %38
  store <2 x double> %39, ptr %34, align 8, !tbaa !47
  %40 = getelementptr inbounds i8, ptr %0, i64 48
  %41 = load double, ptr %40, align 8, !tbaa !48
  %42 = fadd double %32, %41
  store double %42, ptr %40, align 8, !tbaa !48
  %43 = call noundef double @_ZNK4Area8get_areaEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %44 = fmul double %12, %43
  call void @_ZN4Area8set_areaEd(ptr noundef nonnull align 8 dereferenceable(24) %33, double noundef %44)
  %45 = getelementptr inbounds i8, ptr %0, i64 10400
  %46 = load i32, ptr %45, align 8, !tbaa !49
  %47 = getelementptr inbounds i8, ptr %0, i64 9924
  %48 = load i32, ptr %47, align 4, !tbaa !50
  %49 = invoke noundef double @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef %46, i32 noundef %48)
          to label %50 unwind label %74

50:                                               ; preds = %10
  %51 = load <2 x double>, ptr %35, align 8
  %52 = getelementptr inbounds i8, ptr %0, i64 64
  %53 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 336), align 8, !tbaa !51
  %54 = load double, ptr %34, align 8, !tbaa !57
  %55 = fmul double %53, %54
  store double %55, ptr %34, align 8, !tbaa !57
  %56 = getelementptr inbounds i8, ptr %0, i64 72
  %57 = load double, ptr %56, align 8, !tbaa !58
  %58 = insertelement <2 x double> poison, double %49, i64 0
  %59 = insertelement <2 x double> %58, double %53, i64 1
  %60 = insertelement <2 x double> %51, double %57, i64 1
  %61 = fmul <2 x double> %59, %60
  store <2 x double> %61, ptr %52, align 8, !tbaa !47
  %62 = getelementptr inbounds i8, ptr %0, i64 112
  %63 = load double, ptr %62, align 8, !tbaa !59
  %64 = fmul double %53, %63
  store double %64, ptr %62, align 8, !tbaa !59
  %65 = getelementptr inbounds i8, ptr %0, i64 9922
  %66 = load i8, ptr %65, align 2, !tbaa !60, !range !61, !noundef !62
  %67 = trunc nuw i8 %66 to i1
  br i1 %67, label %76, label %68

68:                                               ; preds = %50
  %69 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 328), align 8, !tbaa !63
  %70 = call noundef double @_ZNK4Area8get_areaEv(ptr noundef nonnull align 8 dereferenceable(24) %33)
  %71 = fmul double %69, %70
  call void @_ZN4Area8set_areaEd(ptr noundef nonnull align 8 dereferenceable(24) %33, double noundef %71)
  br label %76

72:                                               ; preds = %1
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %90

74:                                               ; preds = %10
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %90

76:                                               ; preds = %68, %50
  %77 = call noundef double @_ZNK4Area8get_areaEv(ptr noundef nonnull align 8 dereferenceable(24) %33)
  %78 = fdiv double %77, 1.000000e+06
  %79 = getelementptr inbounds i8, ptr %0, i64 736
  store double %78, ptr %79, align 8, !tbaa !64
  %80 = load double, ptr %34, align 8, !tbaa !57
  %81 = getelementptr inbounds i8, ptr %0, i64 696
  %82 = load double, ptr %81, align 8, !tbaa !65
  %83 = fmul double %80, %82
  %84 = getelementptr inbounds i8, ptr %0, i64 744
  store double %83, ptr %84, align 8, !tbaa !66
  %85 = getelementptr inbounds i8, ptr %0, i64 752
  %86 = load <2 x double>, ptr %35, align 8, !tbaa !47
  store <2 x double> %86, ptr %85, align 8, !tbaa !47
  %87 = load double, ptr @_ZN14McPATComponent12total_cyclesE, align 8, !tbaa !47
  %88 = fmul double %80, %87
  %89 = getelementptr inbounds i8, ptr %0, i64 768
  store double %88, ptr %89, align 8, !tbaa !67
  call void @_ZN9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1192) %2) #5
  call void @llvm.lifetime.end.p0(i64 1192, ptr nonnull %2) #5
  ret void

90:                                               ; preds = %74, %72
  %.pn = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZN9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1192) %2) #5
  call void @llvm.lifetime.end.p0(i64 1192, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn
}

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

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

; Function Attrs: nounwind
declare void @_ZN9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #4

declare void @_ZN7DFFCellC1EbdddPK14InputParameter(ptr, i1, double, double, double, ptr) local_unnamed_addr

attributes #0 = { mustprogress 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = { 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, !10, i64 10424}
!6 = !{!"_ZTS8Pipeline", !7, i64 0, !16, i64 1352, !30, i64 1720, !32, i64 9920, !36, i64 10400, !18, i64 10404, !18, i64 10405, !10, i64 10408, !18, i64 10416, !10, i64 10424, !10, i64 10432, !10, i64 10440}
!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 = !{!"_ZTS9uca_org_t", !15, i64 0, !15, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !13, i64 48, !10, i64 168, !10, i64 176, !10, i64 184, !11, i64 192, !10, i64 296, !18, i64 304, !31, i64 312, !31, i64 4256}
!31 = !{!"_ZTS17results_mem_array", !17, i64 0, !17, i64 4, !10, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !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, !13, i64 272, !13, i64 392, !13, i64 512, !13, i64 632, !13, i64 752, !13, i64 872, !13, i64 992, !13, i64 1112, !13, i64 1232, !13, i64 1352, !13, i64 1472, !13, i64 1592, !13, i64 1712, !13, i64 1832, !13, i64 1952, !13, i64 2072, !13, i64 2192, !13, i64 2312, !13, i64 2432, !13, i64 2552, !13, i64 2672, !13, i64 2792, !13, i64 2912, !13, i64 3032, !13, i64 3152, !13, i64 3272, !13, i64 3392, !13, i64 3512, !13, i64 3632, !10, i64 3752, !10, i64 3760, !10, i64 3768, !10, i64 3776, !10, i64 3784, !10, i64 3792, !10, i64 3800, !10, i64 3808, !10, i64 3816, !10, i64 3824, !10, i64 3832, !10, i64 3840, !10, i64 3848, !10, i64 3856, !10, i64 3864, !10, i64 3872, !10, i64 3880, !10, i64 3888, !10, i64 3896, !10, i64 3904, !10, i64 3912, !10, i64 3920, !10, i64 3928, !10, i64 3936}
!32 = !{!"_ZTS14CoreParameters", !18, i64 0, !18, i64 1, !18, i64 2, !33, i64 4, !34, i64 8, !35, i64 12, !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, !17, i64 64, !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, !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, !10, i64 152, !17, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !18, i64 176, !18, i64 177, !11, i64 184, !17, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !17, i64 240, !10, i64 248, !10, i64 256, !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, !17, i64 300, !17, i64 304, !17, i64 308, !17, i64 312, !17, i64 316, !17, i64 320, !17, i64 324, !17, i64 328, !17, i64 332, !17, i64 336, !17, i64 340, !17, i64 344, !17, i64 348, !17, i64 352, !17, i64 356, !17, i64 360, !17, i64 364, !17, i64 368, !17, i64 372, !17, i64 376, !17, i64 380, !17, i64 384, !17, i64 388, !17, i64 392, !17, i64 396, !17, i64 400, !17, i64 404, !17, i64 408, !17, i64 412, !17, i64 416, !17, i64 420, !19, i64 424, !19, i64 428, !17, i64 432, !10, i64 440, !10, i64 448, !17, i64 456, !10, i64 464, !10, i64 472}
!33 = !{!"_ZTS9Core_type", !11, i64 0}
!34 = !{!"_ZTS13Renaming_type", !11, i64 0}
!35 = !{!"_ZTS14Scheduler_type", !11, i64 0}
!36 = !{!"_ZTS9Device_ty", !11, i64 0}
!37 = !{!6, !10, i64 10432}
!38 = !{!6, !10, i64 10440}
!39 = !{!6, !10, i64 10408}
!40 = !{!41, !10, i64 1072}
!41 = !{!"_ZTS7DFFCell", !8, i64 0, !16, i64 280, !18, i64 648, !10, i64 656, !10, i64 664, !10, i64 672, !10, i64 680, !17, i64 688, !17, i64 692, !17, i64 696, !17, i64 700, !17, i64 704, !13, i64 712, !13, i64 832, !13, i64 952, !13, i64 1072}
!42 = !{!41, !10, i64 712}
!43 = !{!41, !10, i64 952}
!44 = !{!41, !10, i64 832}
!45 = !{!41, !10, i64 720}
!46 = !{!41, !10, i64 728}
!47 = !{!10, !10, i64 0}
!48 = !{!8, !10, i64 40}
!49 = !{!6, !36, i64 10400}
!50 = !{!6, !33, i64 9924}
!51 = !{!52, !10, i64 336}
!52 = !{!"_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, !53, i64 360, !53, i64 528, !53, i64 696, !53, i64 864, !53, i64 1032, !54, i64 1200, !54, i64 1264, !54, i64 1328, !55, i64 1392, !56, i64 1416, !56, i64 1464, !56, i64 1512}
!53 = !{!"_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}
!54 = !{!"_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}
!55 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !10, i64 0, !10, i64 8, !10, i64 16}
!56 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!57 = !{!8, !10, i64 24}
!58 = !{!8, !10, i64 64}
!59 = !{!8, !10, i64 104}
!60 = !{!6, !18, i64 9922}
!61 = !{i8 0, i8 2}
!62 = !{}
!63 = !{!52, !10, i64 328}
!64 = !{!7, !10, i64 736}
!65 = !{!7, !10, i64 696}
!66 = !{!7, !10, i64 744}
!67 = !{!7, !10, i64 768}


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