; LLVM IR from gem5/gem5 :: ext/mcpat/cacti/bank.ll (ZN4Bank20compute_power_energyEv)

; 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.Bank = type { %class.Component, ptr, %class.Mat, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32 }
%class.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { double, double, double }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%class.Mat = type { %class.Component, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %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, %class.Subarray, %class.powerDef, %class.powerDef, %class.powerDef, double, i32, i32, double, %class.Area, %class.Area, i8, i8, i8, i8, i32, %class.powerDef, double, double, double, double, double, double, %class.powerDef, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32 }
%class.Subarray = type { %class.Component, ptr, i32, i32, i32, i32, %class.Area, %class.Area, i8, double, double, double, double, double, double, double, double }
%class.DynamicParameter = type <{ i8, 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, i8, [7 x i8], double, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], double, i32, i32, i32, i32, i32, i32, i32, i8, [3 x i8], %class.Area, %class.Area, i8, [7 x i8] }>
%class.Driver = type <{ %class.Component, i32, i32, [20 x double], [20 x double], double, double, double, double, %class.powerDef, i8, [7 x i8] }>

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Bank20compute_power_energyEv(ptr noundef nonnull align 8 dereferenceable(3416) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load ptr, ptr %2, align 8
  %4 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  call void @_ZN3Mat20compute_power_energyEv(ptr noundef nonnull align 8 dereferenceable(3064) %4)
  %5 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 1
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = getelementptr inbounds %class.DynamicParameter, ptr %6, i32 0, i32 3
  %8 = load i8, ptr %7, align 1, !tbaa !20, !range !22, !noundef !23
  %9 = trunc i8 %8 to i1
  br i1 %9, label %150, label %10

10:                                               ; preds = %1
  %11 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 1
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %class.DynamicParameter, ptr %12, i32 0, i32 2
  %14 = load i8, ptr %13, align 2, !tbaa !24, !range !22, !noundef !23
  %15 = trunc i8 %14 to i1
  br i1 %15, label %150, label %16

16:                                               ; preds = %10
  %17 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %18 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 1
  %19 = getelementptr inbounds %class.powerDef, ptr %18, i32 0, i32 0
  %20 = getelementptr inbounds %class.powerComponents, ptr %19, i32 0, i32 0
  %21 = load double, ptr %20, align 8, !tbaa !25
  %22 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds %class.DynamicParameter, ptr %23, i32 0, i32 30
  %25 = load i32, ptr %24, align 8, !tbaa !26
  %26 = sitofp i32 %25 to double
  %27 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %28 = getelementptr inbounds %class.powerDef, ptr %27, i32 0, i32 0
  %29 = getelementptr inbounds %class.powerComponents, ptr %28, i32 0, i32 0
  %30 = load double, ptr %29, align 8, !tbaa !25
  %31 = call double @llvm.fmuladd.f64(double %21, double %26, double %30)
  store double %31, ptr %29, align 8, !tbaa !25
  %32 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %33 = getelementptr inbounds %class.Component, ptr %32, i32 0, i32 1
  %34 = getelementptr inbounds %class.powerDef, ptr %33, i32 0, i32 0
  %35 = getelementptr inbounds %class.powerComponents, ptr %34, i32 0, i32 1
  %36 = load double, ptr %35, align 8, !tbaa !27
  %37 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds %class.DynamicParameter, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %39, align 4, !tbaa !28
  %41 = sitofp i32 %40 to double
  %42 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %43 = getelementptr inbounds %class.powerDef, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds %class.powerComponents, ptr %43, i32 0, i32 1
  %45 = load double, ptr %44, align 8, !tbaa !27
  %46 = call double @llvm.fmuladd.f64(double %36, double %41, double %45)
  store double %46, ptr %44, align 8, !tbaa !27
  %47 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %48 = getelementptr inbounds %class.Component, ptr %47, i32 0, i32 1
  %49 = getelementptr inbounds %class.powerDef, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds %class.powerComponents, ptr %49, i32 0, i32 2
  %51 = load double, ptr %50, align 8, !tbaa !29
  %52 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 1
  %53 = load ptr, ptr %52, align 8, !tbaa !9
  %54 = getelementptr inbounds %class.DynamicParameter, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %54, align 4, !tbaa !28
  %56 = sitofp i32 %55 to double
  %57 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %58 = getelementptr inbounds %class.powerDef, ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds %class.powerComponents, ptr %58, i32 0, i32 2
  %60 = load double, ptr %59, align 8, !tbaa !29
  %61 = call double @llvm.fmuladd.f64(double %51, double %56, double %60)
  store double %61, ptr %59, align 8, !tbaa !29
  %62 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 3
  %63 = load ptr, ptr %62, align 8, !tbaa !30
  %64 = getelementptr inbounds %class.Component, ptr %63, i32 0, i32 1
  %65 = getelementptr inbounds %class.powerDef, ptr %64, i32 0, i32 0
  %66 = getelementptr inbounds %class.powerComponents, ptr %65, i32 0, i32 0
  %67 = load double, ptr %66, align 8, !tbaa !25
  %68 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %69 = getelementptr inbounds %class.powerDef, ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds %class.powerComponents, ptr %69, i32 0, i32 0
  %71 = load double, ptr %70, align 8, !tbaa !25
  %72 = fadd double %71, %67
  store double %72, ptr %70, align 8, !tbaa !25
  %73 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 5
  %74 = load ptr, ptr %73, align 8, !tbaa !31
  %75 = getelementptr inbounds %class.Component, ptr %74, i32 0, i32 1
  %76 = getelementptr inbounds %class.powerDef, ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds %class.powerComponents, ptr %76, i32 0, i32 0
  %78 = load double, ptr %77, align 8, !tbaa !25
  %79 = getelementptr inbounds %class.Component, ptr %3, 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 0
  %82 = load double, ptr %81, align 8, !tbaa !25
  %83 = fadd double %82, %78
  store double %83, ptr %81, align 8, !tbaa !25
  %84 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 3
  %85 = load ptr, ptr %84, align 8, !tbaa !30
  %86 = getelementptr inbounds %class.Component, ptr %85, i32 0, i32 1
  %87 = getelementptr inbounds %class.powerDef, ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds %class.powerComponents, ptr %87, i32 0, i32 1
  %89 = load double, ptr %88, align 8, !tbaa !27
  %90 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %91 = getelementptr inbounds %class.powerDef, ptr %90, i32 0, i32 0
  %92 = getelementptr inbounds %class.powerComponents, ptr %91, i32 0, i32 1
  %93 = load double, ptr %92, align 8, !tbaa !27
  %94 = fadd double %93, %89
  store double %94, ptr %92, align 8, !tbaa !27
  %95 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 4
  %96 = load ptr, ptr %95, align 8, !tbaa !32
  %97 = getelementptr inbounds %class.Component, ptr %96, i32 0, i32 1
  %98 = getelementptr inbounds %class.powerDef, ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds %class.powerComponents, ptr %98, i32 0, i32 1
  %100 = load double, ptr %99, align 8, !tbaa !27
  %101 = getelementptr inbounds %class.Component, ptr %3, 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 !27
  %105 = fadd double %104, %100
  store double %105, ptr %103, align 8, !tbaa !27
  %106 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 5
  %107 = load ptr, ptr %106, align 8, !tbaa !31
  %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 1
  %111 = load double, ptr %110, align 8, !tbaa !27
  %112 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %113 = getelementptr inbounds %class.powerDef, ptr %112, i32 0, i32 0
  %114 = getelementptr inbounds %class.powerComponents, ptr %113, i32 0, i32 1
  %115 = load double, ptr %114, align 8, !tbaa !27
  %116 = fadd double %115, %111
  store double %116, ptr %114, align 8, !tbaa !27
  %117 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 3
  %118 = load ptr, ptr %117, align 8, !tbaa !30
  %119 = getelementptr inbounds %class.Component, ptr %118, i32 0, i32 1
  %120 = getelementptr inbounds %class.powerDef, ptr %119, i32 0, i32 0
  %121 = getelementptr inbounds %class.powerComponents, ptr %120, i32 0, i32 2
  %122 = load double, ptr %121, align 8, !tbaa !29
  %123 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %124 = getelementptr inbounds %class.powerDef, ptr %123, i32 0, i32 0
  %125 = getelementptr inbounds %class.powerComponents, ptr %124, i32 0, i32 2
  %126 = load double, ptr %125, align 8, !tbaa !29
  %127 = fadd double %126, %122
  store double %127, ptr %125, align 8, !tbaa !29
  %128 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 4
  %129 = load ptr, ptr %128, align 8, !tbaa !32
  %130 = getelementptr inbounds %class.Component, ptr %129, i32 0, i32 1
  %131 = getelementptr inbounds %class.powerDef, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds %class.powerComponents, ptr %131, i32 0, i32 2
  %133 = load double, ptr %132, align 8, !tbaa !29
  %134 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %135 = getelementptr inbounds %class.powerDef, ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds %class.powerComponents, ptr %135, i32 0, i32 2
  %137 = load double, ptr %136, align 8, !tbaa !29
  %138 = fadd double %137, %133
  store double %138, ptr %136, align 8, !tbaa !29
  %139 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 5
  %140 = load ptr, ptr %139, align 8, !tbaa !31
  %141 = getelementptr inbounds %class.Component, ptr %140, i32 0, i32 1
  %142 = getelementptr inbounds %class.powerDef, ptr %141, i32 0, i32 0
  %143 = getelementptr inbounds %class.powerComponents, ptr %142, i32 0, i32 2
  %144 = load double, ptr %143, align 8, !tbaa !29
  %145 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %146 = getelementptr inbounds %class.powerDef, ptr %145, i32 0, i32 0
  %147 = getelementptr inbounds %class.powerComponents, ptr %146, i32 0, i32 2
  %148 = load double, ptr %147, align 8, !tbaa !29
  %149 = fadd double %148, %144
  store double %149, ptr %147, align 8, !tbaa !29
  br label %396

150:                                              ; preds = %10, %1
  %151 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %152 = getelementptr inbounds %class.Component, ptr %151, i32 0, i32 1
  %153 = getelementptr inbounds %class.powerDef, ptr %152, i32 0, i32 0
  %154 = getelementptr inbounds %class.powerComponents, ptr %153, i32 0, i32 0
  %155 = load double, ptr %154, align 8, !tbaa !25
  %156 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %157 = getelementptr inbounds %class.powerDef, ptr %156, i32 0, i32 0
  %158 = getelementptr inbounds %class.powerComponents, ptr %157, i32 0, i32 0
  %159 = load double, ptr %158, align 8, !tbaa !25
  %160 = fadd double %159, %155
  store double %160, ptr %158, align 8, !tbaa !25
  %161 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %162 = getelementptr inbounds %class.Component, ptr %161, i32 0, i32 1
  %163 = getelementptr inbounds %class.powerDef, ptr %162, i32 0, i32 0
  %164 = getelementptr inbounds %class.powerComponents, ptr %163, i32 0, i32 1
  %165 = load double, ptr %164, align 8, !tbaa !27
  %166 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !9
  %168 = getelementptr inbounds %class.DynamicParameter, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %168, align 4, !tbaa !28
  %170 = sitofp i32 %169 to double
  %171 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %172 = getelementptr inbounds %class.powerDef, ptr %171, i32 0, i32 0
  %173 = getelementptr inbounds %class.powerComponents, ptr %172, i32 0, i32 1
  %174 = load double, ptr %173, align 8, !tbaa !27
  %175 = call double @llvm.fmuladd.f64(double %165, double %170, double %174)
  store double %175, ptr %173, align 8, !tbaa !27
  %176 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %177 = getelementptr inbounds %class.Component, ptr %176, i32 0, i32 1
  %178 = getelementptr inbounds %class.powerDef, ptr %177, i32 0, i32 0
  %179 = getelementptr inbounds %class.powerComponents, ptr %178, i32 0, i32 2
  %180 = load double, ptr %179, align 8, !tbaa !29
  %181 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 1
  %182 = load ptr, ptr %181, align 8, !tbaa !9
  %183 = getelementptr inbounds %class.DynamicParameter, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %183, align 4, !tbaa !28
  %185 = sitofp i32 %184 to double
  %186 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %187 = getelementptr inbounds %class.powerDef, ptr %186, i32 0, i32 0
  %188 = getelementptr inbounds %class.powerComponents, ptr %187, i32 0, i32 2
  %189 = load double, ptr %188, align 8, !tbaa !29
  %190 = call double @llvm.fmuladd.f64(double %180, double %185, double %189)
  store double %190, ptr %188, align 8, !tbaa !29
  %191 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %192 = getelementptr inbounds %class.Component, ptr %191, i32 0, i32 1
  %193 = getelementptr inbounds %class.powerDef, ptr %192, i32 0, i32 2
  %194 = getelementptr inbounds %class.powerComponents, ptr %193, i32 0, i32 0
  %195 = load double, ptr %194, align 8, !tbaa !33
  %196 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 1
  %197 = load ptr, ptr %196, align 8, !tbaa !9
  %198 = getelementptr inbounds %class.DynamicParameter, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %198, align 4, !tbaa !28
  %200 = sitofp i32 %199 to double
  %201 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %202 = getelementptr inbounds %class.powerDef, ptr %201, i32 0, i32 2
  %203 = getelementptr inbounds %class.powerComponents, ptr %202, i32 0, i32 0
  %204 = load double, ptr %203, align 8, !tbaa !33
  %205 = call double @llvm.fmuladd.f64(double %195, double %200, double %204)
  store double %205, ptr %203, align 8, !tbaa !33
  %206 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %207 = getelementptr inbounds %class.Mat, ptr %206, i32 0, i32 26
  %208 = getelementptr inbounds %class.powerDef, ptr %207, i32 0, i32 2
  %209 = getelementptr inbounds %class.powerComponents, ptr %208, i32 0, i32 0
  %210 = load double, ptr %209, align 8, !tbaa !34
  %211 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %212 = getelementptr inbounds %class.Mat, ptr %211, i32 0, i32 60
  %213 = getelementptr inbounds %class.powerDef, ptr %212, i32 0, i32 2
  %214 = getelementptr inbounds %class.powerComponents, ptr %213, i32 0, i32 0
  %215 = load double, ptr %214, align 8, !tbaa !35
  %216 = fadd double %210, %215
  %217 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %218 = getelementptr inbounds %class.Mat, ptr %217, i32 0, i32 46
  %219 = getelementptr inbounds %class.powerDef, ptr %218, i32 0, i32 2
  %220 = getelementptr inbounds %class.powerComponents, ptr %219, i32 0, i32 0
  %221 = load double, ptr %220, align 8, !tbaa !36
  %222 = fadd double %216, %221
  %223 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %224 = getelementptr inbounds %class.Mat, ptr %223, i32 0, i32 27
  %225 = getelementptr inbounds %class.powerDef, ptr %224, i32 0, i32 2
  %226 = getelementptr inbounds %class.powerComponents, ptr %225, i32 0, i32 0
  %227 = load double, ptr %226, align 8, !tbaa !37
  %228 = fadd double %222, %227
  %229 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 2
  %230 = getelementptr inbounds %class.Mat, ptr %229, i32 0, i32 20
  %231 = load ptr, ptr %230, align 8, !tbaa !38
  %232 = getelementptr inbounds %class.Driver, ptr %231, i32 0, i32 9
  %233 = getelementptr inbounds %class.powerDef, ptr %232, i32 0, i32 0
  %234 = getelementptr inbounds %class.powerComponents, ptr %233, i32 0, i32 0
  %235 = load double, ptr %234, align 8, !tbaa !39
  %236 = fadd double %228, %235
  %237 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %238 = getelementptr inbounds %class.powerDef, ptr %237, i32 0, i32 2
  %239 = getelementptr inbounds %class.powerComponents, ptr %238, i32 0, i32 0
  %240 = load double, ptr %239, align 8, !tbaa !33
  %241 = fadd double %240, %236
  store double %241, ptr %239, align 8, !tbaa !33
  %242 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 3
  %243 = load ptr, ptr %242, align 8, !tbaa !30
  %244 = getelementptr inbounds %class.Component, ptr %243, i32 0, i32 1
  %245 = getelementptr inbounds %class.powerDef, ptr %244, i32 0, i32 0
  %246 = getelementptr inbounds %class.powerComponents, ptr %245, i32 0, i32 0
  %247 = load double, ptr %246, align 8, !tbaa !25
  %248 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %249 = getelementptr inbounds %class.powerDef, ptr %248, i32 0, i32 0
  %250 = getelementptr inbounds %class.powerComponents, ptr %249, i32 0, i32 0
  %251 = load double, ptr %250, align 8, !tbaa !25
  %252 = fadd double %251, %247
  store double %252, ptr %250, align 8, !tbaa !25
  %253 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 5
  %254 = load ptr, ptr %253, align 8, !tbaa !31
  %255 = getelementptr inbounds %class.Component, ptr %254, i32 0, i32 1
  %256 = getelementptr inbounds %class.powerDef, ptr %255, i32 0, i32 0
  %257 = getelementptr inbounds %class.powerComponents, ptr %256, i32 0, i32 0
  %258 = load double, ptr %257, align 8, !tbaa !25
  %259 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %260 = getelementptr inbounds %class.powerDef, ptr %259, i32 0, i32 0
  %261 = getelementptr inbounds %class.powerComponents, ptr %260, i32 0, i32 0
  %262 = load double, ptr %261, align 8, !tbaa !25
  %263 = fadd double %262, %258
  store double %263, ptr %261, align 8, !tbaa !25
  %264 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 6
  %265 = load ptr, ptr %264, align 8, !tbaa !41
  %266 = getelementptr inbounds %class.Component, ptr %265, i32 0, i32 1
  %267 = getelementptr inbounds %class.powerDef, ptr %266, i32 0, i32 2
  %268 = getelementptr inbounds %class.powerComponents, ptr %267, i32 0, i32 0
  %269 = load double, ptr %268, align 8, !tbaa !33
  %270 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %271 = getelementptr inbounds %class.powerDef, ptr %270, i32 0, i32 2
  %272 = getelementptr inbounds %class.powerComponents, ptr %271, i32 0, i32 0
  %273 = load double, ptr %272, align 8, !tbaa !33
  %274 = fadd double %273, %269
  store double %274, ptr %272, align 8, !tbaa !33
  %275 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 7
  %276 = load ptr, ptr %275, align 8, !tbaa !42
  %277 = getelementptr inbounds %class.Component, ptr %276, i32 0, i32 1
  %278 = getelementptr inbounds %class.powerDef, ptr %277, i32 0, i32 2
  %279 = getelementptr inbounds %class.powerComponents, ptr %278, i32 0, i32 0
  %280 = load double, ptr %279, align 8, !tbaa !33
  %281 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %282 = getelementptr inbounds %class.powerDef, ptr %281, i32 0, i32 2
  %283 = getelementptr inbounds %class.powerComponents, ptr %282, i32 0, i32 0
  %284 = load double, ptr %283, align 8, !tbaa !33
  %285 = fadd double %284, %280
  store double %285, ptr %283, align 8, !tbaa !33
  %286 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 3
  %287 = load ptr, ptr %286, align 8, !tbaa !30
  %288 = getelementptr inbounds %class.Component, ptr %287, i32 0, i32 1
  %289 = getelementptr inbounds %class.powerDef, ptr %288, i32 0, i32 0
  %290 = getelementptr inbounds %class.powerComponents, ptr %289, i32 0, i32 1
  %291 = load double, ptr %290, align 8, !tbaa !27
  %292 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %293 = getelementptr inbounds %class.powerDef, ptr %292, i32 0, i32 0
  %294 = getelementptr inbounds %class.powerComponents, ptr %293, i32 0, i32 1
  %295 = load double, ptr %294, align 8, !tbaa !27
  %296 = fadd double %295, %291
  store double %296, ptr %294, align 8, !tbaa !27
  %297 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 4
  %298 = load ptr, ptr %297, align 8, !tbaa !32
  %299 = getelementptr inbounds %class.Component, ptr %298, i32 0, i32 1
  %300 = getelementptr inbounds %class.powerDef, ptr %299, i32 0, i32 0
  %301 = getelementptr inbounds %class.powerComponents, ptr %300, i32 0, i32 1
  %302 = load double, ptr %301, align 8, !tbaa !27
  %303 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %304 = getelementptr inbounds %class.powerDef, ptr %303, i32 0, i32 0
  %305 = getelementptr inbounds %class.powerComponents, ptr %304, i32 0, i32 1
  %306 = load double, ptr %305, align 8, !tbaa !27
  %307 = fadd double %306, %302
  store double %307, ptr %305, align 8, !tbaa !27
  %308 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 5
  %309 = load ptr, ptr %308, align 8, !tbaa !31
  %310 = getelementptr inbounds %class.Component, ptr %309, i32 0, i32 1
  %311 = getelementptr inbounds %class.powerDef, ptr %310, i32 0, i32 0
  %312 = getelementptr inbounds %class.powerComponents, ptr %311, i32 0, i32 1
  %313 = load double, ptr %312, align 8, !tbaa !27
  %314 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %315 = getelementptr inbounds %class.powerDef, ptr %314, i32 0, i32 0
  %316 = getelementptr inbounds %class.powerComponents, ptr %315, i32 0, i32 1
  %317 = load double, ptr %316, align 8, !tbaa !27
  %318 = fadd double %317, %313
  store double %318, ptr %316, align 8, !tbaa !27
  %319 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 6
  %320 = load ptr, ptr %319, align 8, !tbaa !41
  %321 = getelementptr inbounds %class.Component, ptr %320, i32 0, i32 1
  %322 = getelementptr inbounds %class.powerDef, ptr %321, i32 0, i32 0
  %323 = getelementptr inbounds %class.powerComponents, ptr %322, i32 0, i32 1
  %324 = load double, ptr %323, align 8, !tbaa !27
  %325 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %326 = getelementptr inbounds %class.powerDef, ptr %325, i32 0, i32 0
  %327 = getelementptr inbounds %class.powerComponents, ptr %326, i32 0, i32 1
  %328 = load double, ptr %327, align 8, !tbaa !27
  %329 = fadd double %328, %324
  store double %329, ptr %327, align 8, !tbaa !27
  %330 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 7
  %331 = load ptr, ptr %330, align 8, !tbaa !42
  %332 = getelementptr inbounds %class.Component, ptr %331, i32 0, i32 1
  %333 = getelementptr inbounds %class.powerDef, ptr %332, i32 0, i32 0
  %334 = getelementptr inbounds %class.powerComponents, ptr %333, i32 0, i32 1
  %335 = load double, ptr %334, align 8, !tbaa !27
  %336 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %337 = getelementptr inbounds %class.powerDef, ptr %336, i32 0, i32 0
  %338 = getelementptr inbounds %class.powerComponents, ptr %337, i32 0, i32 1
  %339 = load double, ptr %338, align 8, !tbaa !27
  %340 = fadd double %339, %335
  store double %340, ptr %338, align 8, !tbaa !27
  %341 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 3
  %342 = load ptr, ptr %341, align 8, !tbaa !30
  %343 = getelementptr inbounds %class.Component, ptr %342, i32 0, i32 1
  %344 = getelementptr inbounds %class.powerDef, ptr %343, i32 0, i32 0
  %345 = getelementptr inbounds %class.powerComponents, ptr %344, i32 0, i32 2
  %346 = load double, ptr %345, align 8, !tbaa !29
  %347 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %348 = getelementptr inbounds %class.powerDef, ptr %347, i32 0, i32 0
  %349 = getelementptr inbounds %class.powerComponents, ptr %348, i32 0, i32 2
  %350 = load double, ptr %349, align 8, !tbaa !29
  %351 = fadd double %350, %346
  store double %351, ptr %349, align 8, !tbaa !29
  %352 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 4
  %353 = load ptr, ptr %352, align 8, !tbaa !32
  %354 = getelementptr inbounds %class.Component, ptr %353, i32 0, i32 1
  %355 = getelementptr inbounds %class.powerDef, ptr %354, i32 0, i32 0
  %356 = getelementptr inbounds %class.powerComponents, ptr %355, i32 0, i32 2
  %357 = load double, ptr %356, align 8, !tbaa !29
  %358 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %359 = getelementptr inbounds %class.powerDef, ptr %358, i32 0, i32 0
  %360 = getelementptr inbounds %class.powerComponents, ptr %359, i32 0, i32 2
  %361 = load double, ptr %360, align 8, !tbaa !29
  %362 = fadd double %361, %357
  store double %362, ptr %360, align 8, !tbaa !29
  %363 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 5
  %364 = load ptr, ptr %363, align 8, !tbaa !31
  %365 = getelementptr inbounds %class.Component, ptr %364, i32 0, i32 1
  %366 = getelementptr inbounds %class.powerDef, ptr %365, i32 0, i32 0
  %367 = getelementptr inbounds %class.powerComponents, ptr %366, i32 0, i32 2
  %368 = load double, ptr %367, align 8, !tbaa !29
  %369 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %370 = getelementptr inbounds %class.powerDef, ptr %369, i32 0, i32 0
  %371 = getelementptr inbounds %class.powerComponents, ptr %370, i32 0, i32 2
  %372 = load double, ptr %371, align 8, !tbaa !29
  %373 = fadd double %372, %368
  store double %373, ptr %371, align 8, !tbaa !29
  %374 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 6
  %375 = load ptr, ptr %374, align 8, !tbaa !41
  %376 = getelementptr inbounds %class.Component, ptr %375, i32 0, i32 1
  %377 = getelementptr inbounds %class.powerDef, ptr %376, i32 0, i32 0
  %378 = getelementptr inbounds %class.powerComponents, ptr %377, i32 0, i32 2
  %379 = load double, ptr %378, align 8, !tbaa !29
  %380 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %381 = getelementptr inbounds %class.powerDef, ptr %380, i32 0, i32 0
  %382 = getelementptr inbounds %class.powerComponents, ptr %381, i32 0, i32 2
  %383 = load double, ptr %382, align 8, !tbaa !29
  %384 = fadd double %383, %379
  store double %384, ptr %382, align 8, !tbaa !29
  %385 = getelementptr inbounds %class.Bank, ptr %3, i32 0, i32 7
  %386 = load ptr, ptr %385, align 8, !tbaa !42
  %387 = getelementptr inbounds %class.Component, ptr %386, i32 0, i32 1
  %388 = getelementptr inbounds %class.powerDef, ptr %387, i32 0, i32 0
  %389 = getelementptr inbounds %class.powerComponents, ptr %388, i32 0, i32 2
  %390 = load double, ptr %389, align 8, !tbaa !29
  %391 = getelementptr inbounds %class.Component, ptr %3, i32 0, i32 1
  %392 = getelementptr inbounds %class.powerDef, ptr %391, i32 0, i32 0
  %393 = getelementptr inbounds %class.powerComponents, ptr %392, i32 0, i32 2
  %394 = load double, ptr %393, align 8, !tbaa !29
  %395 = fadd double %394, %390
  store double %395, ptr %393, align 8, !tbaa !29
  br label %396

396:                                              ; preds = %150, %16
  ret void
}

declare void @_ZN3Mat20compute_power_energyEv(ptr noundef nonnull align 8 dereferenceable(3064)) #1

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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, !6, i64 280}
!10 = !{!"_ZTS4Bank", !11, i64 0, !6, i64 280, !16, i64 288, !6, i64 3352, !6, i64 3360, !6, i64 3368, !6, i64 3376, !6, i64 3384, !18, i64 3392, !18, i64 3396, !18, i64 3400, !18, i64 3404, !18, i64 3408, !18, i64 3412}
!11 = !{!"_ZTS9Component", !12, i64 0, !14, i64 24, !14, i64 144, !13, i64 264, !13, i64 272}
!12 = !{!"_ZTS4Area", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS8powerDef", !15, i64 0, !15, i64 40, !15, i64 80}
!15 = !{!"_ZTS15powerComponents", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!16 = !{!"_ZTS3Mat", !11, i64 0, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !6, i64 432, !14, i64 440, !14, i64 560, !14, i64 680, !14, i64 800, !14, i64 920, !14, i64 1040, !14, i64 1160, !14, i64 1280, !14, i64 1400, !14, i64 1520, !14, i64 1640, !13, i64 1760, !13, i64 1768, !13, i64 1776, !13, i64 1784, !13, i64 1792, !13, i64 1800, !13, i64 1808, !13, i64 1816, !13, i64 1824, !13, i64 1832, !13, i64 1840, !13, i64 1848, !13, i64 1856, !17, i64 1864, !14, i64 2288, !14, i64 2408, !14, i64 2528, !13, i64 2648, !18, i64 2656, !18, i64 2660, !13, i64 2664, !12, i64 2672, !12, i64 2696, !19, i64 2720, !19, i64 2721, !19, i64 2722, !19, i64 2723, !18, i64 2724, !14, i64 2728, !13, i64 2848, !13, i64 2856, !13, i64 2864, !13, i64 2872, !13, i64 2880, !13, i64 2888, !14, i64 2896, !18, i64 3016, !18, i64 3020, !18, i64 3024, !18, i64 3028, !13, i64 3032, !18, i64 3040, !18, i64 3044, !18, i64 3048, !18, i64 3052, !18, i64 3056, !18, i64 3060}
!17 = !{!"_ZTS8Subarray", !11, i64 0, !6, i64 280, !18, i64 288, !18, i64 292, !18, i64 296, !18, i64 300, !12, i64 304, !12, i64 328, !19, i64 352, !13, i64 360, !13, i64 368, !13, i64 376, !13, i64 384, !13, i64 392, !13, i64 400, !13, i64 408, !13, i64 416}
!18 = !{!"int", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!21, !19, i64 3}
!21 = !{!"_ZTS16DynamicParameter", !19, i64 0, !19, i64 1, !19, i64 2, !19, i64 3, !18, i64 4, !18, i64 8, !18, i64 12, !13, 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, !19, i64 120, !13, i64 128, !18, i64 136, !18, i64 140, !18, i64 144, !18, i64 148, !18, i64 152, !18, i64 156, !18, i64 160, !18, i64 164, !18, i64 168, !13, i64 176, !18, i64 184, !18, i64 188, !18, i64 192, !18, i64 196, !18, i64 200, !18, i64 204, !18, i64 208, !19, i64 212, !12, i64 216, !12, i64 240, !19, i64 264}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!21, !19, i64 2}
!25 = !{!11, !13, i64 24}
!26 = !{!21, !18, i64 112}
!27 = !{!11, !13, i64 32}
!28 = !{!21, !18, i64 12}
!29 = !{!11, !13, i64 40}
!30 = !{!10, !6, i64 3352}
!31 = !{!10, !6, i64 3368}
!32 = !{!10, !6, i64 3360}
!33 = !{!11, !13, i64 104}
!34 = !{!10, !13, i64 1408}
!35 = !{!10, !13, i64 3096}
!36 = !{!10, !13, i64 2656}
!37 = !{!10, !13, i64 1528}
!38 = !{!10, !6, i64 720}
!39 = !{!40, !13, i64 640}
!40 = !{!"_ZTS6Driver", !11, i64 0, !18, i64 280, !18, i64 284, !7, i64 288, !7, i64 448, !13, i64 608, !13, i64 616, !13, i64 624, !13, i64 632, !14, i64 640, !19, i64 760}
!41 = !{!10, !6, i64 3376}
!42 = !{!10, !6, i64 3384}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Bank20compute_power_energyEv(ptr noundef nonnull align 8 dereferenceable(3416) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 288
  tail call void @_ZN3Mat20compute_power_energyEv(ptr noundef nonnull align 8 dereferenceable(3064) %2)
  %3 = getelementptr inbounds i8, ptr %0, i64 280
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 3
  %6 = load i8, ptr %5, align 1, !tbaa !19, !range !21, !noundef !22
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %55, label %8

8:                                                ; preds = %1
  %9 = getelementptr inbounds i8, ptr %4, i64 2
  %10 = load i8, ptr %9, align 2, !tbaa !23, !range !21, !noundef !22
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %55, label %12

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %0, i64 312
  %14 = getelementptr inbounds i8, ptr %4, i64 112
  %15 = load i32, ptr %14, align 8, !tbaa !24
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  %17 = getelementptr inbounds i8, ptr %4, i64 12
  %18 = load i32, ptr %17, align 4, !tbaa !25
  %19 = getelementptr inbounds i8, ptr %0, i64 32
  %20 = load <2 x double>, ptr %13, align 8, !tbaa !26
  %21 = insertelement <2 x i32> poison, i32 %15, i64 0
  %22 = insertelement <2 x i32> %21, i32 %18, i64 1
  %23 = sitofp <2 x i32> %22 to <2 x double>
  %24 = load <2 x double>, ptr %16, align 8, !tbaa !26
  %25 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %20, <2 x double> %23, <2 x double> %24)
  store <2 x double> %25, ptr %16, align 8, !tbaa !26
  %26 = getelementptr inbounds i8, ptr %0, i64 328
  %27 = load double, ptr %26, align 8, !tbaa !27
  %28 = getelementptr inbounds i8, ptr %0, i64 40
  %29 = load double, ptr %28, align 8, !tbaa !27
  %30 = extractelement <2 x double> %23, i64 1
  %31 = tail call double @llvm.fmuladd.f64(double %27, double %30, double %29)
  store double %31, ptr %28, align 8, !tbaa !27
  %32 = getelementptr inbounds i8, ptr %0, i64 3352
  %33 = load ptr, ptr %32, align 8, !tbaa !28
  %34 = getelementptr inbounds i8, ptr %33, i64 24
  %35 = load double, ptr %34, align 8, !tbaa !29
  %36 = extractelement <2 x double> %25, i64 0
  %37 = fadd double %36, %35
  store double %37, ptr %16, align 8, !tbaa !29
  %38 = getelementptr inbounds i8, ptr %0, i64 3368
  %39 = load ptr, ptr %38, align 8, !tbaa !30
  %40 = getelementptr inbounds i8, ptr %39, i64 24
  %41 = load double, ptr %40, align 8, !tbaa !29
  %42 = fadd double %37, %41
  store double %42, ptr %16, align 8, !tbaa !29
  %43 = getelementptr inbounds i8, ptr %33, i64 32
  %44 = load double, ptr %43, align 8, !tbaa !31
  %45 = extractelement <2 x double> %25, i64 1
  %46 = fadd double %45, %44
  store double %46, ptr %19, align 8, !tbaa !31
  %47 = getelementptr inbounds i8, ptr %0, i64 3360
  %48 = load ptr, ptr %47, align 8, !tbaa !32
  %49 = getelementptr inbounds i8, ptr %48, i64 32
  %50 = load double, ptr %49, align 8, !tbaa !31
  %51 = fadd double %46, %50
  store double %51, ptr %19, align 8, !tbaa !31
  %52 = getelementptr inbounds i8, ptr %39, i64 32
  %53 = load double, ptr %52, align 8, !tbaa !31
  %54 = fadd double %51, %53
  store double %54, ptr %19, align 8, !tbaa !31
  br label %139

55:                                               ; preds = %8, %1
  %56 = getelementptr inbounds i8, ptr %0, i64 312
  %57 = load double, ptr %56, align 8, !tbaa !29
  %58 = getelementptr inbounds i8, ptr %0, i64 24
  %59 = load double, ptr %58, align 8, !tbaa !29
  %60 = fadd double %57, %59
  store double %60, ptr %58, align 8, !tbaa !29
  %61 = getelementptr inbounds i8, ptr %0, i64 320
  %62 = getelementptr inbounds i8, ptr %4, i64 12
  %63 = load i32, ptr %62, align 4, !tbaa !25
  %64 = sitofp i32 %63 to double
  %65 = getelementptr inbounds i8, ptr %0, i64 32
  %66 = getelementptr inbounds i8, ptr %0, i64 40
  %67 = load <2 x double>, ptr %61, align 8, !tbaa !26
  %68 = load <2 x double>, ptr %65, align 8, !tbaa !26
  %69 = insertelement <2 x double> poison, double %64, i64 0
  %70 = shufflevector <2 x double> %69, <2 x double> poison, <2 x i32> zeroinitializer
  %71 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %67, <2 x double> %70, <2 x double> %68)
  store <2 x double> %71, ptr %65, align 8, !tbaa !26
  %72 = getelementptr inbounds i8, ptr %0, i64 392
  %73 = load double, ptr %72, align 8, !tbaa !33
  %74 = getelementptr inbounds i8, ptr %0, i64 104
  %75 = load double, ptr %74, align 8, !tbaa !33
  %76 = tail call double @llvm.fmuladd.f64(double %73, double %64, double %75)
  %77 = getelementptr inbounds i8, ptr %0, i64 1408
  %78 = load double, ptr %77, align 8, !tbaa !34
  %79 = getelementptr inbounds i8, ptr %0, i64 3096
  %80 = load double, ptr %79, align 8, !tbaa !35
  %81 = fadd double %78, %80
  %82 = getelementptr inbounds i8, ptr %0, i64 2656
  %83 = load double, ptr %82, align 8, !tbaa !36
  %84 = fadd double %81, %83
  %85 = getelementptr inbounds i8, ptr %0, i64 1528
  %86 = load double, ptr %85, align 8, !tbaa !37
  %87 = fadd double %84, %86
  %88 = getelementptr inbounds i8, ptr %0, i64 720
  %89 = load ptr, ptr %88, align 8, !tbaa !38
  %90 = getelementptr inbounds i8, ptr %89, i64 640
  %91 = load double, ptr %90, align 8, !tbaa !39
  %92 = fadd double %87, %91
  %93 = fadd double %76, %92
  store double %93, ptr %74, align 8, !tbaa !33
  %94 = getelementptr inbounds i8, ptr %0, i64 3352
  %95 = load ptr, ptr %94, align 8, !tbaa !28
  %96 = getelementptr inbounds i8, ptr %95, i64 24
  %97 = load double, ptr %96, align 8, !tbaa !29
  %98 = fadd double %60, %97
  store double %98, ptr %58, align 8, !tbaa !29
  %99 = getelementptr inbounds i8, ptr %0, i64 3368
  %100 = load ptr, ptr %99, align 8, !tbaa !30
  %101 = getelementptr inbounds i8, ptr %100, i64 24
  %102 = load double, ptr %101, align 8, !tbaa !29
  %103 = fadd double %98, %102
  store double %103, ptr %58, align 8, !tbaa !29
  %104 = getelementptr inbounds i8, ptr %0, i64 3376
  %105 = load ptr, ptr %104, align 8, !tbaa !41
  %106 = getelementptr inbounds i8, ptr %105, i64 104
  %107 = load double, ptr %106, align 8, !tbaa !33
  %108 = fadd double %93, %107
  store double %108, ptr %74, align 8, !tbaa !33
  %109 = getelementptr inbounds i8, ptr %0, i64 3384
  %110 = load ptr, ptr %109, align 8, !tbaa !42
  %111 = getelementptr inbounds i8, ptr %110, i64 104
  %112 = load double, ptr %111, align 8, !tbaa !33
  %113 = fadd double %108, %112
  store double %113, ptr %74, align 8, !tbaa !33
  %114 = getelementptr inbounds i8, ptr %95, i64 32
  %115 = load double, ptr %114, align 8, !tbaa !31
  %116 = extractelement <2 x double> %71, i64 0
  %117 = fadd double %116, %115
  store double %117, ptr %65, align 8, !tbaa !31
  %118 = getelementptr inbounds i8, ptr %0, i64 3360
  %119 = load ptr, ptr %118, align 8, !tbaa !32
  %120 = getelementptr inbounds i8, ptr %119, i64 32
  %121 = load double, ptr %120, align 8, !tbaa !31
  %122 = fadd double %117, %121
  store double %122, ptr %65, align 8, !tbaa !31
  %123 = getelementptr inbounds i8, ptr %100, i64 32
  %124 = load double, ptr %123, align 8, !tbaa !31
  %125 = fadd double %122, %124
  store double %125, ptr %65, align 8, !tbaa !31
  %126 = getelementptr inbounds i8, ptr %105, i64 32
  %127 = load double, ptr %126, align 8, !tbaa !31
  %128 = fadd double %125, %127
  store double %128, ptr %65, align 8, !tbaa !31
  %129 = getelementptr inbounds i8, ptr %110, i64 32
  %130 = load double, ptr %129, align 8, !tbaa !31
  %131 = fadd double %128, %130
  store double %131, ptr %65, align 8, !tbaa !31
  %132 = getelementptr inbounds i8, ptr %95, i64 40
  %133 = load double, ptr %132, align 8, !tbaa !27
  %134 = extractelement <2 x double> %71, i64 1
  %135 = fadd double %134, %133
  store double %135, ptr %66, align 8, !tbaa !27
  %136 = getelementptr inbounds i8, ptr %119, i64 40
  %137 = load double, ptr %136, align 8, !tbaa !27
  %138 = fadd double %135, %137
  store double %138, ptr %66, align 8, !tbaa !27
  br label %139

139:                                              ; preds = %55, %12
  %.sink12 = phi ptr [ %100, %55 ], [ %33, %12 ]
  %.sink10 = phi double [ %138, %55 ], [ %31, %12 ]
  %.sink9 = phi ptr [ %66, %55 ], [ %28, %12 ]
  %.sink8 = phi ptr [ %105, %55 ], [ %48, %12 ]
  %.sink4 = phi ptr [ %110, %55 ], [ %39, %12 ]
  %140 = getelementptr inbounds i8, ptr %.sink12, i64 40
  %141 = load double, ptr %140, align 8, !tbaa !27
  %142 = fadd double %.sink10, %141
  store double %142, ptr %.sink9, align 8, !tbaa !27
  %143 = getelementptr inbounds i8, ptr %.sink8, i64 40
  %144 = load double, ptr %143, align 8, !tbaa !27
  %145 = fadd double %142, %144
  store double %145, ptr %.sink9, align 8, !tbaa !27
  %146 = getelementptr inbounds i8, ptr %.sink4, i64 40
  %147 = load double, ptr %146, align 8, !tbaa !27
  %148 = fadd double %145, %147
  store double %148, ptr %.sink9, align 8, !tbaa !27
  ret void
}

declare void @_ZN3Mat20compute_power_energyEv(ptr noundef nonnull align 8 dereferenceable(3064)) local_unnamed_addr #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #3

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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, !14, i64 280}
!6 = !{!"_ZTS4Bank", !7, i64 0, !14, i64 280, !15, i64 288, !14, i64 3352, !14, i64 3360, !14, i64 3368, !14, i64 3376, !14, i64 3384, !17, i64 3392, !17, i64 3396, !17, i64 3400, !17, i64 3404, !17, i64 3408, !17, i64 3412}
!7 = !{!"_ZTS9Component", !8, i64 0, !12, i64 24, !12, i64 144, !9, i64 264, !9, i64 272}
!8 = !{!"_ZTS4Area", !9, i64 0, !9, i64 8, !9, i64 16}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTS8powerDef", !13, i64 0, !13, i64 40, !13, i64 80}
!13 = !{!"_ZTS15powerComponents", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!"_ZTS3Mat", !7, i64 0, !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, !14, i64 352, !14, i64 360, !14, i64 368, !14, i64 376, !14, i64 384, !14, i64 392, !14, i64 400, !14, i64 408, !14, i64 416, !14, i64 424, !14, i64 432, !12, i64 440, !12, i64 560, !12, i64 680, !12, i64 800, !12, i64 920, !12, i64 1040, !12, i64 1160, !12, i64 1280, !12, i64 1400, !12, i64 1520, !12, i64 1640, !9, i64 1760, !9, i64 1768, !9, i64 1776, !9, i64 1784, !9, i64 1792, !9, i64 1800, !9, i64 1808, !9, i64 1816, !9, i64 1824, !9, i64 1832, !9, i64 1840, !9, i64 1848, !9, i64 1856, !16, i64 1864, !12, i64 2288, !12, i64 2408, !12, i64 2528, !9, i64 2648, !17, i64 2656, !17, i64 2660, !9, i64 2664, !8, i64 2672, !8, i64 2696, !18, i64 2720, !18, i64 2721, !18, i64 2722, !18, i64 2723, !17, i64 2724, !12, i64 2728, !9, i64 2848, !9, i64 2856, !9, i64 2864, !9, i64 2872, !9, i64 2880, !9, i64 2888, !12, i64 2896, !17, i64 3016, !17, i64 3020, !17, i64 3024, !17, i64 3028, !9, i64 3032, !17, i64 3040, !17, i64 3044, !17, i64 3048, !17, i64 3052, !17, i64 3056, !17, i64 3060}
!16 = !{!"_ZTS8Subarray", !7, i64 0, !14, i64 280, !17, i64 288, !17, i64 292, !17, i64 296, !17, i64 300, !8, i64 304, !8, i64 328, !18, i64 352, !9, i64 360, !9, i64 368, !9, i64 376, !9, i64 384, !9, i64 392, !9, i64 400, !9, i64 408, !9, i64 416}
!17 = !{!"int", !10, i64 0}
!18 = !{!"bool", !10, i64 0}
!19 = !{!20, !18, i64 3}
!20 = !{!"_ZTS16DynamicParameter", !18, i64 0, !18, i64 1, !18, i64 2, !18, i64 3, !17, i64 4, !17, i64 8, !17, i64 12, !9, 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, !18, i64 120, !9, i64 128, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !17, i64 152, !17, i64 156, !17, i64 160, !17, i64 164, !17, i64 168, !9, i64 176, !17, i64 184, !17, i64 188, !17, i64 192, !17, i64 196, !17, i64 200, !17, i64 204, !17, i64 208, !18, i64 212, !8, i64 216, !8, i64 240, !18, i64 264}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!20, !18, i64 2}
!24 = !{!20, !17, i64 112}
!25 = !{!20, !17, i64 12}
!26 = !{!9, !9, i64 0}
!27 = !{!7, !9, i64 40}
!28 = !{!6, !14, i64 3352}
!29 = !{!7, !9, i64 24}
!30 = !{!6, !14, i64 3368}
!31 = !{!7, !9, i64 32}
!32 = !{!6, !14, i64 3360}
!33 = !{!7, !9, i64 104}
!34 = !{!6, !9, i64 1408}
!35 = !{!6, !9, i64 3096}
!36 = !{!6, !9, i64 2656}
!37 = !{!6, !9, i64 1528}
!38 = !{!6, !14, i64 720}
!39 = !{!40, !9, i64 640}
!40 = !{!"_ZTS6Driver", !7, i64 0, !17, i64 280, !17, i64 284, !10, i64 288, !10, i64 448, !9, i64 608, !9, i64 616, !9, i64 624, !9, i64 632, !12, i64 640, !18, i64 760}
!41 = !{!6, !14, i64 3376}
!42 = !{!6, !14, i64 3384}


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