; LLVM IR from gem5/gem5 :: ext/mcpat/array.ll (ZN7ArrayST16leakage_feedbackEd)

; 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.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%class.ArrayST = type { %class.McPATComponent, %class.InputParameter, i32, i8, i32, i8, %class.uca_org_t, %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.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.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.statsDef = type { %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents }
%class.statsComponents = type { double, double, double }
%class.mem_array = type { i32, i32, i32, double, i32, i32, i32, double, double, double, double, double, %class.powerDef, 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, %class.powerDef, ptr, i32, double, double, double, double, double, double, double, double, double }

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

; 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

declare void @_ZmlRK8powerDefPKd(ptr dead_on_unwind writable sret(%class.powerDef) align 8, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7ArrayST16leakage_feedbackEd(ptr noundef nonnull align 8 dereferenceable(10104) %0, double noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca [4 x double], align 16
  %10 = alloca double, align 8
  %11 = alloca %class.powerDef, align 8
  %12 = alloca %class.powerDef, align 8
  %13 = alloca %class.powerDef, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  %14 = load ptr, ptr %3, align 8
  %15 = load double, ptr %4, align 8, !tbaa !9
  %16 = fdiv double %15, 1.000000e+01
  %17 = call double @llvm.round.f64(double %16)
  %18 = fptoui double %17 to i32
  %19 = mul i32 %18, 10
  %20 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %21 = getelementptr inbounds %class.InputParameter, ptr %20, i32 0, i32 26
  store i32 %19, ptr %21, align 4, !tbaa !11
  %22 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %23 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  call void @_Z11reconfigureP14InputParameterP9uca_org_t(ptr noundef %22, ptr noundef %23)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %24 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 2
  %25 = load i32, ptr %24, align 8, !tbaa !36
  %26 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 4
  %27 = load i32, ptr %26, align 8, !tbaa !37
  %28 = call noundef double @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef %25, i32 noundef %27)
  store double %28, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %29 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 41), align 8, !tbaa !38
  store double %29, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %30 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 40), align 8, !tbaa !44
  store double %30, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %31 = load double, ptr %6, align 8, !tbaa !9
  %32 = load double, ptr %7, align 8, !tbaa !9
  %33 = fmul double %31, %32
  store double %33, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #5
  %34 = load double, ptr %8, align 8, !tbaa !9
  store double %34, ptr %9, align 8, !tbaa !9
  %35 = getelementptr inbounds double, ptr %9, i64 1
  store double 1.000000e+00, ptr %35, align 8, !tbaa !9
  %36 = getelementptr inbounds double, ptr %9, i64 2
  store double 1.000000e+00, ptr %36, align 8, !tbaa !9
  %37 = getelementptr inbounds double, ptr %9, i64 3
  %38 = load double, ptr %8, align 8, !tbaa !9
  store double %38, ptr %37, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %39 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 42), align 8, !tbaa !45
  store double %39, ptr %10, align 8, !tbaa !9
  %40 = load double, ptr %10, align 8, !tbaa !9
  %41 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %42 = getelementptr inbounds %class.uca_org_t, ptr %41, i32 0, i32 6
  %43 = getelementptr inbounds %class.powerDef, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds %class.powerComponents, ptr %43, i32 0, i32 0
  %45 = load double, ptr %44, align 8, !tbaa !46
  %46 = fmul double %45, %40
  store double %46, ptr %44, align 8, !tbaa !46
  %47 = load double, ptr %10, align 8, !tbaa !9
  %48 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %49 = getelementptr inbounds %class.uca_org_t, ptr %48, i32 0, i32 6
  %50 = getelementptr inbounds %class.powerDef, ptr %49, i32 0, i32 1
  %51 = getelementptr inbounds %class.powerComponents, ptr %50, i32 0, i32 0
  %52 = load double, ptr %51, align 8, !tbaa !47
  %53 = fmul double %52, %47
  store double %53, ptr %51, align 8, !tbaa !47
  %54 = load double, ptr %10, align 8, !tbaa !9
  %55 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %56 = getelementptr inbounds %class.uca_org_t, ptr %55, i32 0, i32 6
  %57 = getelementptr inbounds %class.powerDef, ptr %56, i32 0, i32 2
  %58 = getelementptr inbounds %class.powerComponents, ptr %57, i32 0, i32 0
  %59 = load double, ptr %58, align 8, !tbaa !48
  %60 = fmul double %59, %54
  store double %60, ptr %58, align 8, !tbaa !48
  %61 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %62 = getelementptr inbounds %class.InputParameter, ptr %61, i32 0, i32 3
  %63 = load i32, ptr %62, align 4, !tbaa !49
  %64 = uitofp i32 %63 to double
  %65 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %66 = getelementptr inbounds %class.uca_org_t, ptr %65, i32 0, i32 6
  %67 = getelementptr inbounds %class.powerDef, ptr %66, i32 0, i32 0
  %68 = getelementptr inbounds %class.powerComponents, ptr %67, i32 0, i32 1
  %69 = load double, ptr %68, align 8, !tbaa !50
  %70 = fmul double %69, %64
  store double %70, ptr %68, align 8, !tbaa !50
  %71 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %72 = getelementptr inbounds %class.uca_org_t, ptr %71, i32 0, i32 6
  %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 = load double, ptr %5, align 8, !tbaa !9
  %77 = fmul double %75, %76
  %78 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %79 = getelementptr inbounds %class.uca_org_t, ptr %78, i32 0, i32 6
  %80 = getelementptr inbounds %class.powerDef, ptr %79, i32 0, i32 0
  %81 = getelementptr inbounds %class.powerComponents, ptr %80, i32 0, i32 4
  store double %77, ptr %81, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 120, ptr %11) #5
  %82 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %83 = getelementptr inbounds %class.uca_org_t, ptr %82, i32 0, i32 6
  %84 = getelementptr inbounds [4 x double], ptr %9, i64 0, i64 0
  call void @_ZmlRK8powerDefPKd(ptr dead_on_unwind writable sret(%class.powerDef) align 8 %11, ptr noundef nonnull align 8 dereferenceable(120) %83, ptr noundef %84)
  %85 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %86 = getelementptr inbounds %class.uca_org_t, ptr %85, i32 0, i32 6
  %87 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %86, ptr noundef nonnull align 8 dereferenceable(120) %11)
  call void @llvm.lifetime.end.p0(i64 120, ptr %11) #5
  %88 = load double, ptr %10, align 8, !tbaa !9
  %89 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %90 = getelementptr inbounds %class.uca_org_t, ptr %89, i32 0, i32 1
  %91 = load ptr, ptr %90, align 8, !tbaa !52
  %92 = getelementptr inbounds %class.mem_array, ptr %91, i32 0, i32 12
  %93 = getelementptr inbounds %class.powerDef, ptr %92, i32 0, i32 0
  %94 = getelementptr inbounds %class.powerComponents, ptr %93, i32 0, i32 0
  %95 = load double, ptr %94, align 8, !tbaa !53
  %96 = fmul double %95, %88
  store double %96, ptr %94, align 8, !tbaa !53
  %97 = load double, ptr %10, align 8, !tbaa !9
  %98 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %99 = getelementptr inbounds %class.uca_org_t, ptr %98, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8, !tbaa !52
  %101 = getelementptr inbounds %class.mem_array, ptr %100, i32 0, i32 12
  %102 = getelementptr inbounds %class.powerDef, ptr %101, i32 0, i32 1
  %103 = getelementptr inbounds %class.powerComponents, ptr %102, i32 0, i32 0
  %104 = load double, ptr %103, align 8, !tbaa !55
  %105 = fmul double %104, %97
  store double %105, ptr %103, align 8, !tbaa !55
  %106 = load double, ptr %10, align 8, !tbaa !9
  %107 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %108 = getelementptr inbounds %class.uca_org_t, ptr %107, i32 0, i32 1
  %109 = load ptr, ptr %108, align 8, !tbaa !52
  %110 = getelementptr inbounds %class.mem_array, ptr %109, i32 0, i32 12
  %111 = getelementptr inbounds %class.powerDef, ptr %110, i32 0, i32 2
  %112 = getelementptr inbounds %class.powerComponents, ptr %111, i32 0, i32 0
  %113 = load double, ptr %112, align 8, !tbaa !56
  %114 = fmul double %113, %106
  store double %114, ptr %112, align 8, !tbaa !56
  %115 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %116 = getelementptr inbounds %class.InputParameter, ptr %115, i32 0, i32 3
  %117 = load i32, ptr %116, align 4, !tbaa !49
  %118 = uitofp i32 %117 to double
  %119 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %120 = getelementptr inbounds %class.uca_org_t, ptr %119, i32 0, i32 1
  %121 = load ptr, ptr %120, align 8, !tbaa !52
  %122 = getelementptr inbounds %class.mem_array, ptr %121, i32 0, i32 12
  %123 = getelementptr inbounds %class.powerDef, ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds %class.powerComponents, ptr %123, i32 0, i32 1
  %125 = load double, ptr %124, align 8, !tbaa !57
  %126 = fmul double %125, %118
  store double %126, ptr %124, align 8, !tbaa !57
  %127 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %128 = getelementptr inbounds %class.uca_org_t, ptr %127, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !52
  %130 = getelementptr inbounds %class.mem_array, ptr %129, i32 0, i32 12
  %131 = getelementptr inbounds %class.powerDef, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds %class.powerComponents, ptr %131, i32 0, i32 1
  %133 = load double, ptr %132, align 8, !tbaa !57
  %134 = load double, ptr %5, align 8, !tbaa !9
  %135 = fmul double %133, %134
  %136 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %137 = getelementptr inbounds %class.uca_org_t, ptr %136, i32 0, i32 1
  %138 = load ptr, ptr %137, align 8, !tbaa !52
  %139 = getelementptr inbounds %class.mem_array, ptr %138, i32 0, i32 12
  %140 = getelementptr inbounds %class.powerDef, ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds %class.powerComponents, ptr %140, i32 0, i32 4
  store double %135, ptr %141, align 8, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 120, ptr %12) #5
  %142 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %143 = getelementptr inbounds %class.uca_org_t, ptr %142, i32 0, i32 1
  %144 = load ptr, ptr %143, align 8, !tbaa !52
  %145 = getelementptr inbounds %class.mem_array, ptr %144, i32 0, i32 12
  %146 = getelementptr inbounds [4 x double], ptr %9, i64 0, i64 0
  call void @_ZmlRK8powerDefPKd(ptr dead_on_unwind writable sret(%class.powerDef) align 8 %12, ptr noundef nonnull align 8 dereferenceable(120) %145, ptr noundef %146)
  %147 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %148 = getelementptr inbounds %class.uca_org_t, ptr %147, i32 0, i32 1
  %149 = load ptr, ptr %148, align 8, !tbaa !52
  %150 = getelementptr inbounds %class.mem_array, ptr %149, i32 0, i32 12
  %151 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %150, ptr noundef nonnull align 8 dereferenceable(120) %12)
  call void @llvm.lifetime.end.p0(i64 120, ptr %12) #5
  %152 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %153 = getelementptr inbounds %class.InputParameter, ptr %152, i32 0, i32 22
  %154 = load i8, ptr %153, align 1, !tbaa !59, !range !60, !noundef !61
  %155 = trunc i8 %154 to i1
  br i1 %155, label %236, label %156

156:                                              ; preds = %2
  %157 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %158 = getelementptr inbounds %class.InputParameter, ptr %157, i32 0, i32 21
  %159 = load i8, ptr %158, align 2, !tbaa !62, !range !60, !noundef !61
  %160 = trunc i8 %159 to i1
  br i1 %160, label %236, label %161

161:                                              ; preds = %156
  %162 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %163 = getelementptr inbounds %class.InputParameter, ptr %162, i32 0, i32 81
  %164 = load i8, ptr %163, align 1, !tbaa !63, !range !60, !noundef !61
  %165 = trunc i8 %164 to i1
  br i1 %165, label %236, label %166

166:                                              ; preds = %161
  %167 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %168 = getelementptr inbounds %class.InputParameter, ptr %167, i32 0, i32 20
  %169 = load i8, ptr %168, align 1, !tbaa !64, !range !60, !noundef !61
  %170 = trunc i8 %169 to i1
  br i1 %170, label %171, label %236

171:                                              ; preds = %166
  %172 = load double, ptr %10, align 8, !tbaa !9
  %173 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %174 = getelementptr inbounds %class.uca_org_t, ptr %173, i32 0, i32 0
  %175 = load ptr, ptr %174, align 8, !tbaa !65
  %176 = getelementptr inbounds %class.mem_array, ptr %175, i32 0, i32 12
  %177 = getelementptr inbounds %class.powerDef, ptr %176, i32 0, i32 0
  %178 = getelementptr inbounds %class.powerComponents, ptr %177, i32 0, i32 0
  %179 = load double, ptr %178, align 8, !tbaa !53
  %180 = fmul double %179, %172
  store double %180, ptr %178, align 8, !tbaa !53
  %181 = load double, ptr %10, align 8, !tbaa !9
  %182 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %183 = getelementptr inbounds %class.uca_org_t, ptr %182, i32 0, i32 0
  %184 = load ptr, ptr %183, align 8, !tbaa !65
  %185 = getelementptr inbounds %class.mem_array, ptr %184, i32 0, i32 12
  %186 = getelementptr inbounds %class.powerDef, ptr %185, i32 0, i32 1
  %187 = getelementptr inbounds %class.powerComponents, ptr %186, i32 0, i32 0
  %188 = load double, ptr %187, align 8, !tbaa !55
  %189 = fmul double %188, %181
  store double %189, ptr %187, align 8, !tbaa !55
  %190 = load double, ptr %10, align 8, !tbaa !9
  %191 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %192 = getelementptr inbounds %class.uca_org_t, ptr %191, i32 0, i32 0
  %193 = load ptr, ptr %192, align 8, !tbaa !65
  %194 = getelementptr inbounds %class.mem_array, ptr %193, i32 0, i32 12
  %195 = getelementptr inbounds %class.powerDef, ptr %194, i32 0, i32 2
  %196 = getelementptr inbounds %class.powerComponents, ptr %195, i32 0, i32 0
  %197 = load double, ptr %196, align 8, !tbaa !56
  %198 = fmul double %197, %190
  store double %198, ptr %196, align 8, !tbaa !56
  %199 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 1
  %200 = getelementptr inbounds %class.InputParameter, ptr %199, i32 0, i32 3
  %201 = load i32, ptr %200, align 4, !tbaa !49
  %202 = uitofp i32 %201 to double
  %203 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %204 = getelementptr inbounds %class.uca_org_t, ptr %203, i32 0, i32 0
  %205 = load ptr, ptr %204, align 8, !tbaa !65
  %206 = getelementptr inbounds %class.mem_array, ptr %205, i32 0, i32 12
  %207 = getelementptr inbounds %class.powerDef, ptr %206, i32 0, i32 0
  %208 = getelementptr inbounds %class.powerComponents, ptr %207, i32 0, i32 1
  %209 = load double, ptr %208, align 8, !tbaa !57
  %210 = fmul double %209, %202
  store double %210, ptr %208, align 8, !tbaa !57
  %211 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %212 = getelementptr inbounds %class.uca_org_t, ptr %211, i32 0, i32 0
  %213 = load ptr, ptr %212, align 8, !tbaa !65
  %214 = getelementptr inbounds %class.mem_array, ptr %213, i32 0, i32 12
  %215 = getelementptr inbounds %class.powerDef, ptr %214, i32 0, i32 0
  %216 = getelementptr inbounds %class.powerComponents, ptr %215, i32 0, i32 1
  %217 = load double, ptr %216, align 8, !tbaa !57
  %218 = load double, ptr %5, align 8, !tbaa !9
  %219 = fmul double %217, %218
  %220 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %221 = getelementptr inbounds %class.uca_org_t, ptr %220, i32 0, i32 0
  %222 = load ptr, ptr %221, align 8, !tbaa !65
  %223 = getelementptr inbounds %class.mem_array, ptr %222, i32 0, i32 12
  %224 = getelementptr inbounds %class.powerDef, ptr %223, i32 0, i32 0
  %225 = getelementptr inbounds %class.powerComponents, ptr %224, i32 0, i32 4
  store double %219, ptr %225, align 8, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 120, ptr %13) #5
  %226 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %227 = getelementptr inbounds %class.uca_org_t, ptr %226, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8, !tbaa !65
  %229 = getelementptr inbounds %class.mem_array, ptr %228, i32 0, i32 12
  %230 = getelementptr inbounds [4 x double], ptr %9, i64 0, i64 0
  call void @_ZmlRK8powerDefPKd(ptr dead_on_unwind writable sret(%class.powerDef) align 8 %13, ptr noundef nonnull align 8 dereferenceable(120) %229, ptr noundef %230)
  %231 = getelementptr inbounds %class.ArrayST, ptr %14, i32 0, i32 6
  %232 = getelementptr inbounds %class.uca_org_t, ptr %231, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8, !tbaa !65
  %234 = getelementptr inbounds %class.mem_array, ptr %233, i32 0, i32 12
  %235 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %234, ptr noundef nonnull align 8 dereferenceable(120) %13)
  call void @llvm.lifetime.end.p0(i64 120, ptr %13) #5
  br label %236

236:                                              ; preds = %171, %166, %161, %156, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, 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 @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void
}

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

declare void @_Z11reconfigureP14InputParameterP9uca_org_t(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !19, i64 1452}
!12 = !{!"_ZTS7ArrayST", !13, i64 0, !18, i64 1352, !32, i64 1720, !20, i64 1724, !33, i64 1728, !20, i64 1732, !34, i64 1736, !30, i64 9936}
!13 = !{!"_ZTS14McPATComponent", !14, i64 8, !6, i64 288, !18, i64 296, !22, i64 664, !10, i64 696, !25, i64 704, !29, i64 728, !30, i64 776, !30, i64 944, !16, i64 1112, !16, i64 1232}
!14 = !{!"_ZTS9Component", !15, i64 0, !16, i64 24, !16, i64 144, !10, i64 264, !10, i64 272}
!15 = !{!"_ZTS4Area", !10, i64 0, !10, i64 8, !10, i64 16}
!16 = !{!"_ZTS8powerDef", !17, i64 0, !17, i64 40, !17, i64 80}
!17 = !{!"_ZTS15powerComponents", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!18 = !{!"_ZTS14InputParameter", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !20, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !10, i64 48, !10, i64 56, !19, i64 64, !19, i64 68, !19, i64 72, !19, i64 76, !19, i64 80, !20, i64 84, !20, i64 85, !20, i64 86, !20, i64 87, !20, i64 88, !19, i64 92, !19, i64 96, !19, i64 100, !19, i64 104, !19, i64 108, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124, !19, i64 128, !19, i64 132, !19, i64 136, !19, i64 140, !19, i64 144, !19, i64 148, !21, i64 152, !19, i64 156, !20, i64 160, !19, i64 164, !19, i64 168, !19, i64 172, !19, i64 176, !19, i64 180, !19, i64 184, !19, i64 188, !20, i64 192, !19, i64 196, !19, i64 200, !19, i64 204, !19, i64 208, !19, i64 212, !19, i64 216, !19, i64 220, !19, i64 224, !19, i64 228, !19, i64 232, !19, i64 236, !19, i64 240, !19, i64 244, !19, i64 248, !19, i64 252, !19, i64 256, !19, i64 260, !19, i64 264, !19, i64 268, !19, i64 272, !19, i64 276, !19, i64 280, !19, i64 284, !19, i64 288, !19, i64 292, !19, i64 296, !20, i64 300, !19, i64 304, !19, i64 308, !19, i64 312, !20, i64 316, !20, i64 317, !19, i64 320, !19, i64 324, !20, i64 328, !10, i64 336, !10, i64 344, !20, i64 352, !19, i64 356, !19, i64 360, !20, i64 364}
!19 = !{!"int", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTS9Wire_type", !7, i64 0}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !7, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTS11McPATOutput", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!30 = !{!"_ZTS8statsDef", !31, i64 0, !31, i64 24, !31, i64 48, !31, i64 72, !31, i64 96, !31, i64 120, !31, i64 144}
!31 = !{!"_ZTS15statsComponents", !10, i64 0, !10, i64 8, !10, i64 16}
!32 = !{!"_ZTS9Device_ty", !7, i64 0}
!33 = !{!"_ZTS9Core_type", !7, i64 0}
!34 = !{!"_ZTS9uca_org_t", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !16, i64 48, !10, i64 168, !10, i64 176, !10, i64 184, !7, i64 192, !10, i64 296, !20, i64 304, !35, i64 312, !35, i64 4256}
!35 = !{!"_ZTS17results_mem_array", !19, i64 0, !19, i64 4, !10, i64 8, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, 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, !16, i64 272, !16, i64 392, !16, i64 512, !16, i64 632, !16, i64 752, !16, i64 872, !16, i64 992, !16, i64 1112, !16, i64 1232, !16, i64 1352, !16, i64 1472, !16, i64 1592, !16, i64 1712, !16, i64 1832, !16, i64 1952, !16, i64 2072, !16, i64 2192, !16, i64 2312, !16, i64 2432, !16, i64 2552, !16, i64 2672, !16, i64 2792, !16, i64 2912, !16, i64 3032, !16, i64 3152, !16, i64 3272, !16, i64 3392, !16, i64 3512, !16, 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}
!36 = !{!12, !32, i64 1720}
!37 = !{!12, !33, i64 1728}
!38 = !{!39, !10, i64 328}
!39 = !{!"_ZTS19TechnologyParameter", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !24, i64 352, !40, i64 360, !40, i64 528, !40, i64 696, !40, i64 864, !40, i64 1032, !41, i64 1200, !41, i64 1264, !41, i64 1328, !42, i64 1392, !43, i64 1416, !43, i64 1464, !43, i64 1512}
!40 = !{!"_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}
!41 = !{!"_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}
!42 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !10, i64 0, !10, i64 8, !10, i64 16}
!43 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!44 = !{!39, !10, i64 320}
!45 = !{!39, !10, i64 336}
!46 = !{!12, !10, i64 1784}
!47 = !{!12, !10, i64 1824}
!48 = !{!12, !10, i64 1864}
!49 = !{!12, !19, i64 1364}
!50 = !{!12, !10, i64 1792}
!51 = !{!12, !10, i64 1816}
!52 = !{!12, !6, i64 1744}
!53 = !{!54, !10, i64 80}
!54 = !{!"_ZTS9mem_array", !19, i64 0, !19, i64 4, !19, i64 8, !10, i64 16, !19, i64 24, !19, i64 28, !19, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !16, i64 80, !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, !10, i64 352, !10, i64 360, !10, i64 368, !16, i64 376, !16, i64 496, !16, i64 616, !16, i64 736, !16, i64 856, !16, i64 976, !16, i64 1096, !16, i64 1216, !16, i64 1336, !16, i64 1456, !16, i64 1576, !16, i64 1696, !16, i64 1816, !16, i64 1936, !16, i64 2056, !16, i64 2176, !16, i64 2296, !16, i64 2416, !16, i64 2536, !16, i64 2656, !16, i64 2776, !16, i64 2896, !16, i64 3016, !16, i64 3136, !16, i64 3256, !16, i64 3376, !16, i64 3496, !16, i64 3616, !16, i64 3736, !16, i64 3856, !6, i64 3976, !21, i64 3984, !10, i64 3992, !10, i64 4000, !10, i64 4008, !10, i64 4016, !10, i64 4024, !10, i64 4032, !10, i64 4040, !10, i64 4048, !10, i64 4056}
!55 = !{!54, !10, i64 120}
!56 = !{!54, !10, i64 160}
!57 = !{!54, !10, i64 88}
!58 = !{!54, !10, i64 112}
!59 = !{!12, !20, i64 1439}
!60 = !{i8 0, i8 2}
!61 = !{}
!62 = !{!12, !20, i64 1438}
!63 = !{!12, !20, i64 1669}
!64 = !{!12, !20, i64 1437}
!65 = !{!12, !6, i64 1736}


; 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.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

; 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

declare void @_ZmlRK8powerDefPKd(ptr dead_on_unwind writable sret(%class.powerDef) align 8, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7ArrayST16leakage_feedbackEd(ptr noundef nonnull align 8 dereferenceable(10104) %0, double noundef %1) local_unnamed_addr #3 align 2 {
  %3 = alloca [4 x double], align 16
  %4 = alloca %class.powerDef, align 8
  %5 = alloca %class.powerDef, align 8
  %6 = alloca %class.powerDef, align 8
  %7 = fdiv double %1, 1.000000e+01
  %8 = tail call double @llvm.round.f64(double %7)
  %9 = fptoui double %8 to i32
  %10 = mul i32 %9, 10
  %11 = getelementptr inbounds i8, ptr %0, i64 1352
  %12 = getelementptr inbounds i8, ptr %0, i64 1452
  store i32 %10, ptr %12, align 4, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 1736
  tail call void @_Z11reconfigureP14InputParameterP9uca_org_t(ptr noundef nonnull %11, ptr noundef nonnull %13)
  %14 = getelementptr inbounds i8, ptr %0, i64 1720
  %15 = load i32, ptr %14, align 8, !tbaa !34
  %16 = getelementptr inbounds i8, ptr %0, i64 1728
  %17 = load i32, ptr %16, align 8, !tbaa !35
  %18 = tail call noundef double @_Z31longer_channel_device_reduction9Device_ty9Core_type(i32 noundef %15, i32 noundef %17)
  %19 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 328), align 8, !tbaa !36
  %20 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 320), align 8, !tbaa !42
  %21 = fmul double %19, %20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  store double %21, ptr %3, align 16, !tbaa !43
  %22 = getelementptr inbounds i8, ptr %3, i64 8
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %22, align 8, !tbaa !43
  %23 = getelementptr inbounds i8, ptr %3, i64 24
  store double %21, ptr %23, align 8, !tbaa !43
  %24 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 336), align 8, !tbaa !44
  %25 = getelementptr inbounds i8, ptr %0, i64 1784
  %26 = getelementptr inbounds i8, ptr %0, i64 1824
  %27 = load double, ptr %26, align 8, !tbaa !45
  %28 = getelementptr inbounds i8, ptr %0, i64 1864
  %29 = load double, ptr %28, align 8, !tbaa !46
  %30 = fmul double %24, %29
  store double %30, ptr %28, align 8, !tbaa !46
  %31 = getelementptr inbounds i8, ptr %0, i64 1364
  %32 = load i32, ptr %31, align 4, !tbaa !47
  %33 = uitofp i32 %32 to double
  %34 = load <2 x double>, ptr %25, align 8, !tbaa !43
  %35 = insertelement <2 x double> poison, double %24, i64 0
  %36 = insertelement <2 x double> %35, double %33, i64 1
  %37 = fmul <2 x double> %34, %36
  store <2 x double> %37, ptr %25, align 8, !tbaa !43
  %38 = getelementptr inbounds i8, ptr %0, i64 1816
  %39 = insertelement <2 x double> poison, double %18, i64 0
  %40 = insertelement <2 x double> %39, double %24, i64 1
  %41 = shufflevector <2 x double> %37, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %42 = insertelement <2 x double> %41, double %27, i64 1
  %43 = fmul <2 x double> %40, %42
  store <2 x double> %43, ptr %38, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %4) #5
  call void @_ZmlRK8powerDefPKd(ptr dead_on_unwind nonnull writable sret(%class.powerDef) align 8 %4, ptr noundef nonnull align 8 dereferenceable(120) %25, ptr noundef nonnull %3)
  %44 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %25, ptr noundef nonnull align 8 dereferenceable(120) %4)
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #5
  %45 = getelementptr inbounds i8, ptr %0, i64 1744
  %46 = load ptr, ptr %45, align 8, !tbaa !48
  %47 = getelementptr inbounds i8, ptr %46, i64 80
  %48 = getelementptr inbounds i8, ptr %46, i64 120
  %49 = load double, ptr %48, align 8, !tbaa !49
  %50 = getelementptr inbounds i8, ptr %46, i64 160
  %51 = load double, ptr %50, align 8, !tbaa !51
  %52 = fmul double %24, %51
  store double %52, ptr %50, align 8, !tbaa !51
  %53 = load i32, ptr %31, align 4, !tbaa !47
  %54 = uitofp i32 %53 to double
  %55 = load <2 x double>, ptr %47, align 8, !tbaa !43
  %56 = insertelement <2 x double> %35, double %54, i64 1
  %57 = fmul <2 x double> %55, %56
  store <2 x double> %57, ptr %47, align 8, !tbaa !43
  %58 = getelementptr inbounds i8, ptr %46, i64 112
  %59 = shufflevector <2 x double> %57, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %60 = insertelement <2 x double> %59, double %49, i64 1
  %61 = fmul <2 x double> %40, %60
  store <2 x double> %61, ptr %58, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %5) #5
  call void @_ZmlRK8powerDefPKd(ptr dead_on_unwind nonnull writable sret(%class.powerDef) align 8 %5, ptr noundef nonnull align 8 dereferenceable(120) %47, ptr noundef nonnull %3)
  %62 = load ptr, ptr %45, align 8, !tbaa !48
  %63 = getelementptr inbounds i8, ptr %62, i64 80
  %64 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %63, ptr noundef nonnull align 8 dereferenceable(120) %5)
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %5) #5
  %65 = getelementptr inbounds i8, ptr %0, i64 1439
  %66 = load i8, ptr %65, align 1, !tbaa !52, !range !53, !noundef !54
  %67 = trunc nuw i8 %66 to i1
  br i1 %67, label %100, label %68

68:                                               ; preds = %2
  %69 = getelementptr inbounds i8, ptr %0, i64 1438
  %70 = load i8, ptr %69, align 2, !tbaa !55, !range !53, !noundef !54
  %71 = trunc nuw i8 %70 to i1
  br i1 %71, label %100, label %72

72:                                               ; preds = %68
  %73 = getelementptr inbounds i8, ptr %0, i64 1669
  %74 = load i8, ptr %73, align 1, !tbaa !56, !range !53, !noundef !54
  %75 = trunc nuw i8 %74 to i1
  br i1 %75, label %100, label %76

76:                                               ; preds = %72
  %77 = getelementptr inbounds i8, ptr %0, i64 1437
  %78 = load i8, ptr %77, align 1, !tbaa !57, !range !53, !noundef !54
  %79 = trunc nuw i8 %78 to i1
  br i1 %79, label %80, label %100

80:                                               ; preds = %76
  %81 = load ptr, ptr %13, align 8, !tbaa !58
  %82 = getelementptr inbounds i8, ptr %81, i64 80
  %83 = getelementptr inbounds i8, ptr %81, i64 120
  %84 = load double, ptr %83, align 8, !tbaa !49
  %85 = getelementptr inbounds i8, ptr %81, i64 160
  %86 = load double, ptr %85, align 8, !tbaa !51
  %87 = fmul double %24, %86
  store double %87, ptr %85, align 8, !tbaa !51
  %88 = load i32, ptr %31, align 4, !tbaa !47
  %89 = uitofp i32 %88 to double
  %90 = load <2 x double>, ptr %82, align 8, !tbaa !43
  %91 = insertelement <2 x double> %35, double %89, i64 1
  %92 = fmul <2 x double> %91, %90
  store <2 x double> %92, ptr %82, align 8, !tbaa !43
  %93 = getelementptr inbounds i8, ptr %81, i64 112
  %94 = shufflevector <2 x double> %92, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %95 = insertelement <2 x double> %94, double %84, i64 1
  %96 = fmul <2 x double> %40, %95
  store <2 x double> %96, ptr %93, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %6) #5
  call void @_ZmlRK8powerDefPKd(ptr dead_on_unwind nonnull writable sret(%class.powerDef) align 8 %6, ptr noundef nonnull align 8 dereferenceable(120) %82, ptr noundef nonnull %3)
  %97 = load ptr, ptr %13, align 8, !tbaa !58
  %98 = getelementptr inbounds i8, ptr %97, i64 80
  %99 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %98, ptr noundef nonnull align 8 dereferenceable(120) %6)
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %6) #5
  br label %100

100:                                              ; preds = %80, %76, %72, %68, %2
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  ret void
}

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

declare void @_Z11reconfigureP14InputParameterP9uca_org_t(ptr noundef, ptr noundef) local_unnamed_addr #1

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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !17, i64 1452}
!6 = !{!"_ZTS7ArrayST", !7, i64 0, !16, i64 1352, !30, i64 1720, !18, i64 1724, !31, i64 1728, !18, i64 1732, !32, i64 1736, !28, i64 9936}
!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 = !{!"_ZTS9Device_ty", !11, i64 0}
!31 = !{!"_ZTS9Core_type", !11, i64 0}
!32 = !{!"_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, !33, i64 312, !33, i64 4256}
!33 = !{!"_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}
!34 = !{!6, !30, i64 1720}
!35 = !{!6, !31, i64 1728}
!36 = !{!37, !10, i64 328}
!37 = !{!"_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, !38, i64 360, !38, i64 528, !38, i64 696, !38, i64 864, !38, i64 1032, !39, i64 1200, !39, i64 1264, !39, i64 1328, !40, i64 1392, !41, i64 1416, !41, i64 1464, !41, i64 1512}
!38 = !{!"_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}
!39 = !{!"_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}
!40 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !10, i64 0, !10, i64 8, !10, i64 16}
!41 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!42 = !{!37, !10, i64 320}
!43 = !{!10, !10, i64 0}
!44 = !{!37, !10, i64 336}
!45 = !{!6, !10, i64 1824}
!46 = !{!6, !10, i64 1864}
!47 = !{!6, !17, i64 1364}
!48 = !{!6, !15, i64 1744}
!49 = !{!50, !10, i64 120}
!50 = !{!"_ZTS9mem_array", !17, i64 0, !17, i64 4, !17, i64 8, !10, i64 16, !17, i64 24, !17, i64 28, !17, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !13, i64 80, !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, !10, i64 352, !10, i64 360, !10, i64 368, !13, i64 376, !13, i64 496, !13, i64 616, !13, i64 736, !13, i64 856, !13, i64 976, !13, i64 1096, !13, i64 1216, !13, i64 1336, !13, i64 1456, !13, i64 1576, !13, i64 1696, !13, i64 1816, !13, i64 1936, !13, i64 2056, !13, i64 2176, !13, i64 2296, !13, i64 2416, !13, i64 2536, !13, i64 2656, !13, i64 2776, !13, i64 2896, !13, i64 3016, !13, i64 3136, !13, i64 3256, !13, i64 3376, !13, i64 3496, !13, i64 3616, !13, i64 3736, !13, i64 3856, !15, i64 3976, !19, i64 3984, !10, i64 3992, !10, i64 4000, !10, i64 4008, !10, i64 4016, !10, i64 4024, !10, i64 4032, !10, i64 4040, !10, i64 4048, !10, i64 4056}
!51 = !{!50, !10, i64 160}
!52 = !{!6, !18, i64 1439}
!53 = !{i8 0, i8 2}
!54 = !{}
!55 = !{!6, !18, i64 1438}
!56 = !{!6, !18, i64 1669}
!57 = !{!6, !18, i64 1437}
!58 = !{!6, !15, i64 1736}


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