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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4BankC2ERK16DynamicParameter(ptr noundef nonnull align 8 dereferenceable(3416) %0, ptr noundef nonnull align 8 dereferenceable(265) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8
  call void @_ZN9ComponentC2Ev(ptr noundef nonnull align 8 dereferenceable(280) %16)
  %17 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %18, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %20 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  invoke void @_ZN3MatC1ERK16DynamicParameter(ptr noundef nonnull align 8 dereferenceable(3064) %19, ptr noundef nonnull align 8 dereferenceable(265) %21)
          to label %22 unwind label %57

22:                                               ; preds = %2
  %23 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 8
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %class.DynamicParameter, ptr %24, i32 0, i32 15
  %26 = load i32, ptr %25, align 4, !tbaa !20
  store i32 %26, ptr %23, align 8, !tbaa !22
  %27 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %class.DynamicParameter, ptr %28, i32 0, i32 41
  %30 = load i32, ptr %29, align 8, !tbaa !23
  store i32 %30, ptr %27, align 4, !tbaa !24
  %31 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %class.DynamicParameter, ptr %32, i32 0, i32 42
  %34 = load i32, ptr %33, align 4, !tbaa !25
  store i32 %34, ptr %31, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %35 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds %class.DynamicParameter, ptr %36, i32 0, i32 46
  %38 = load i32, ptr %37, align 8, !tbaa !27
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %61

40:                                               ; preds = %22
  %41 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds %class.DynamicParameter, ptr %42, i32 0, i32 47
  %44 = load i32, ptr %43, align 4, !tbaa !28
  store i32 %44, ptr %7, align 4, !tbaa !29
  %45 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = getelementptr inbounds %class.DynamicParameter, ptr %46, i32 0, i32 48
  %48 = load i32, ptr %47, align 8, !tbaa !30
  store i32 %48, ptr %8, align 4, !tbaa !29
  %49 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds %class.DynamicParameter, ptr %50, i32 0, i32 49
  %52 = load i32, ptr %51, align 4, !tbaa !31
  store i32 %52, ptr %9, align 4, !tbaa !29
  %53 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds %class.DynamicParameter, ptr %54, i32 0, i32 51
  %56 = load i32, ptr %55, align 4, !tbaa !32
  store i32 %56, ptr %10, align 4, !tbaa !29
  br label %74

57:                                               ; preds = %2
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  br label %464

61:                                               ; preds = %22
  %62 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %63 = getelementptr inbounds %class.InputParameter, ptr %62, i32 0, i32 14
  %64 = load i32, ptr %63, align 8, !tbaa !33
  store i32 %64, ptr %7, align 4, !tbaa !29
  %65 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %66 = getelementptr inbounds %class.InputParameter, ptr %65, i32 0, i32 15
  %67 = load i32, ptr %66, align 4, !tbaa !36
  store i32 %67, ptr %8, align 4, !tbaa !29
  %68 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %69 = getelementptr inbounds %class.InputParameter, ptr %68, i32 0, i32 16
  %70 = load i32, ptr %69, align 8, !tbaa !37
  store i32 %70, ptr %9, align 4, !tbaa !29
  %71 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %72 = getelementptr inbounds %class.InputParameter, ptr %71, i32 0, i32 18
  %73 = load i32, ptr %72, align 8, !tbaa !38
  store i32 %73, ptr %10, align 4, !tbaa !29
  br label %74

74:                                               ; preds = %61, %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %75 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !9
  %77 = getelementptr inbounds %class.DynamicParameter, ptr %76, i32 0, i32 15
  %78 = load i32, ptr %77, align 4, !tbaa !20
  %79 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds %class.DynamicParameter, ptr %80, i32 0, i32 16
  %82 = load i32, ptr %81, align 8, !tbaa !39
  %83 = add nsw i32 %78, %82
  %84 = load i32, ptr %7, align 4, !tbaa !29
  %85 = load i32, ptr %8, align 4, !tbaa !29
  %86 = add nsw i32 %84, %85
  %87 = load i32, ptr %9, align 4, !tbaa !29
  %88 = add nsw i32 %86, %87
  %89 = mul nsw i32 %83, %88
  store i32 %89, ptr %11, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %90 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %91 = load ptr, ptr %90, align 8, !tbaa !9
  %92 = getelementptr inbounds %class.DynamicParameter, ptr %91, i32 0, i32 17
  %93 = load i32, ptr %92, align 4, !tbaa !40
  %94 = load i32, ptr %7, align 4, !tbaa !29
  %95 = load i32, ptr %9, align 4, !tbaa !29
  %96 = add nsw i32 %94, %95
  %97 = mul nsw i32 %93, %96
  store i32 %97, ptr %12, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %98 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %99 = load ptr, ptr %98, align 8, !tbaa !9
  %100 = getelementptr inbounds %class.DynamicParameter, ptr %99, i32 0, i32 18
  %101 = load i32, ptr %100, align 8, !tbaa !41
  %102 = load i32, ptr %7, align 4, !tbaa !29
  %103 = load i32, ptr %8, align 4, !tbaa !29
  %104 = add nsw i32 %102, %103
  %105 = mul nsw i32 %101, %104
  store i32 %105, ptr %13, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %106 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = getelementptr inbounds %class.DynamicParameter, ptr %107, i32 0, i32 3
  %109 = load i8, ptr %108, align 1, !tbaa !42, !range !43, !noundef !44
  %110 = trunc i8 %109 to i1
  br i1 %110, label %117, label %111

111:                                              ; preds = %74
  %112 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %113 = load ptr, ptr %112, align 8, !tbaa !9
  %114 = getelementptr inbounds %class.DynamicParameter, ptr %113, i32 0, i32 2
  %115 = load i8, ptr %114, align 2, !tbaa !45, !range !43, !noundef !44
  %116 = trunc i8 %115 to i1
  br i1 %116, label %117, label %146

117:                                              ; preds = %111, %74
  %118 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %119 = load ptr, ptr %118, align 8, !tbaa !9
  %120 = getelementptr inbounds %class.DynamicParameter, ptr %119, i32 0, i32 17
  %121 = load i32, ptr %120, align 4, !tbaa !40
  %122 = load i32, ptr %7, align 4, !tbaa !29
  %123 = load i32, ptr %9, align 4, !tbaa !29
  %124 = add nsw i32 %122, %123
  %125 = mul nsw i32 %121, %124
  store i32 %125, ptr %12, align 4, !tbaa !29
  %126 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %127 = load ptr, ptr %126, align 8, !tbaa !9
  %128 = getelementptr inbounds %class.DynamicParameter, ptr %127, i32 0, i32 18
  %129 = load i32, ptr %128, align 8, !tbaa !41
  %130 = load i32, ptr %7, align 4, !tbaa !29
  %131 = load i32, ptr %8, align 4, !tbaa !29
  %132 = add nsw i32 %130, %131
  %133 = mul nsw i32 %129, %132
  store i32 %133, ptr %13, align 4, !tbaa !29
  %134 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %135 = load ptr, ptr %134, align 8, !tbaa !9
  %136 = getelementptr inbounds %class.DynamicParameter, ptr %135, i32 0, i32 27
  %137 = load i32, ptr %136, align 4, !tbaa !46
  %138 = load i32, ptr %10, align 4, !tbaa !29
  %139 = mul nsw i32 %137, %138
  store i32 %139, ptr %14, align 4, !tbaa !29
  %140 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  %142 = getelementptr inbounds %class.DynamicParameter, ptr %141, i32 0, i32 28
  %143 = load i32, ptr %142, align 8, !tbaa !47
  %144 = load i32, ptr %10, align 4, !tbaa !29
  %145 = mul nsw i32 %143, %144
  store i32 %145, ptr %15, align 4, !tbaa !29
  br label %146

146:                                              ; preds = %117, %111
  %147 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %148 = load ptr, ptr %147, align 8, !tbaa !9
  %149 = getelementptr inbounds %class.DynamicParameter, ptr %148, i32 0, i32 3
  %150 = load i8, ptr %149, align 1, !tbaa !42, !range !43, !noundef !44
  %151 = trunc i8 %150 to i1
  br i1 %151, label %280, label %152

152:                                              ; preds = %146
  %153 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %154 = load ptr, ptr %153, align 8, !tbaa !9
  %155 = getelementptr inbounds %class.DynamicParameter, ptr %154, i32 0, i32 2
  %156 = load i8, ptr %155, align 2, !tbaa !45, !range !43, !noundef !44
  %157 = trunc i8 %156 to i1
  br i1 %157, label %280, label %158

158:                                              ; preds = %152
  %159 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %160 = getelementptr inbounds %class.InputParameter, ptr %159, i32 0, i32 76
  %161 = load i8, ptr %160, align 4, !tbaa !48, !range !43, !noundef !44
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %177

163:                                              ; preds = %158
  %164 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 1
  %165 = load ptr, ptr %164, align 8, !tbaa !9
  %166 = getelementptr inbounds %class.DynamicParameter, ptr %165, i32 0, i32 0
  %167 = load i8, ptr %166, align 8, !tbaa !49, !range !43, !noundef !44
  %168 = trunc i8 %167 to i1
  %169 = zext i1 %168 to i32
  %170 = icmp eq i32 %169, 0
  br i1 %170, label %171, label %177

171:                                              ; preds = %163
  %172 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %173 = getelementptr inbounds %class.InputParameter, ptr %172, i32 0, i32 79
  %174 = load i32, ptr %173, align 8, !tbaa !50
  %175 = load i32, ptr %13, align 4, !tbaa !29
  %176 = mul i32 %175, %174
  store i32 %176, ptr %13, align 4, !tbaa !29
  br label %177

177:                                              ; preds = %171, %163, %158
  %178 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 544) #7
          to label %179 unwind label %264

179:                                              ; preds = %177
  %180 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %181 = getelementptr inbounds %class.InputParameter, ptr %180, i32 0, i32 39
  %182 = load i32, ptr %181, align 8, !tbaa !51
  %183 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %184 = getelementptr inbounds %class.Component, ptr %183, i32 0, i32 0
  %185 = getelementptr inbounds %class.Area, ptr %184, i32 0, i32 0
  %186 = load double, ptr %185, align 8, !tbaa !52
  %187 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %188 = getelementptr inbounds %class.Component, ptr %187, i32 0, i32 0
  %189 = getelementptr inbounds %class.Area, ptr %188, i32 0, i32 1
  %190 = load double, ptr %189, align 8, !tbaa !53
  %191 = load i32, ptr %11, align 4, !tbaa !29
  %192 = load i32, ptr %12, align 4, !tbaa !29
  %193 = load i32, ptr %13, align 4, !tbaa !29
  %194 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %195 = load i32, ptr %194, align 8, !tbaa !26
  %196 = mul nsw i32 %195, 2
  %197 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %198 = load i32, ptr %197, align 4, !tbaa !24
  %199 = mul nsw i32 %198, 2
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %178, i32 noundef %182, double noundef %186, double noundef %190, i32 noundef %191, i32 noundef %192, i32 noundef 0, i32 noundef %193, i32 noundef 0, i32 noundef %196, i32 noundef %199, i32 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %200 unwind label %268

200:                                              ; preds = %179
  %201 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 3
  store ptr %178, ptr %201, align 8, !tbaa !54
  %202 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 544) #7
          to label %203 unwind label %264

203:                                              ; preds = %200
  %204 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %205 = getelementptr inbounds %class.InputParameter, ptr %204, i32 0, i32 39
  %206 = load i32, ptr %205, align 8, !tbaa !51
  %207 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %208 = getelementptr inbounds %class.Component, ptr %207, i32 0, i32 0
  %209 = getelementptr inbounds %class.Area, ptr %208, i32 0, i32 0
  %210 = load double, ptr %209, align 8, !tbaa !52
  %211 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %212 = getelementptr inbounds %class.Component, ptr %211, i32 0, i32 0
  %213 = getelementptr inbounds %class.Area, ptr %212, i32 0, i32 1
  %214 = load double, ptr %213, align 8, !tbaa !53
  %215 = load i32, ptr %11, align 4, !tbaa !29
  %216 = load i32, ptr %12, align 4, !tbaa !29
  %217 = load i32, ptr %13, align 4, !tbaa !29
  %218 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %219 = load i32, ptr %218, align 8, !tbaa !26
  %220 = mul nsw i32 %219, 2
  %221 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %222 = load i32, ptr %221, align 4, !tbaa !24
  %223 = mul nsw i32 %222, 2
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %202, i32 noundef %206, double noundef %210, double noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef 0, i32 noundef %217, i32 noundef 0, i32 noundef %220, i32 noundef %223, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %224 unwind label %272

224:                                              ; preds = %203
  %225 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 4
  store ptr %202, ptr %225, align 8, !tbaa !55
  %226 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 544) #7
          to label %227 unwind label %264

227:                                              ; preds = %224
  %228 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %229 = getelementptr inbounds %class.InputParameter, ptr %228, i32 0, i32 39
  %230 = load i32, ptr %229, align 8, !tbaa !51
  %231 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %232 = getelementptr inbounds %class.Component, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds %class.Area, ptr %232, i32 0, i32 0
  %234 = load double, ptr %233, align 8, !tbaa !52
  %235 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %236 = getelementptr inbounds %class.Component, ptr %235, i32 0, i32 0
  %237 = getelementptr inbounds %class.Area, ptr %236, i32 0, i32 1
  %238 = load double, ptr %237, align 8, !tbaa !53
  %239 = load i32, ptr %11, align 4, !tbaa !29
  %240 = load i32, ptr %12, align 4, !tbaa !29
  %241 = load i32, ptr %13, align 4, !tbaa !29
  %242 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %243 = load i32, ptr %242, align 8, !tbaa !26
  %244 = mul nsw i32 %243, 2
  %245 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %246 = load i32, ptr %245, align 4, !tbaa !24
  %247 = mul nsw i32 %246, 2
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %226, i32 noundef %230, double noundef %234, double noundef %238, i32 noundef %239, i32 noundef %240, i32 noundef 0, i32 noundef %241, i32 noundef 0, i32 noundef %244, i32 noundef %247, i32 noundef 2, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %248 unwind label %276

248:                                              ; preds = %227
  %249 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 5
  store ptr %226, ptr %249, align 8, !tbaa !56
  %250 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 4
  %251 = load ptr, ptr %250, align 8, !tbaa !55
  %252 = getelementptr inbounds %class.Component, ptr %251, i32 0, i32 0
  %253 = getelementptr inbounds %class.Area, ptr %252, i32 0, i32 0
  %254 = load double, ptr %253, align 8, !tbaa !52
  %255 = getelementptr inbounds %class.Component, ptr %16, i32 0, i32 0
  %256 = getelementptr inbounds %class.Area, ptr %255, i32 0, i32 0
  store double %254, ptr %256, align 8, !tbaa !52
  %257 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 4
  %258 = load ptr, ptr %257, align 8, !tbaa !55
  %259 = getelementptr inbounds %class.Component, ptr %258, i32 0, i32 0
  %260 = getelementptr inbounds %class.Area, ptr %259, i32 0, i32 1
  %261 = load double, ptr %260, align 8, !tbaa !53
  %262 = getelementptr inbounds %class.Component, ptr %16, i32 0, i32 0
  %263 = getelementptr inbounds %class.Area, ptr %262, i32 0, i32 1
  store double %261, ptr %263, align 8, !tbaa !53
  br label %445

264:                                              ; preds = %445, %383, %357, %331, %305, %280, %224, %200, %177
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %5, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %6, align 4
  br label %463

268:                                              ; preds = %179
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %5, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %178, i64 noundef 544) #8
  br label %463

272:                                              ; preds = %203
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %5, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %202, i64 noundef 544) #8
  br label %463

276:                                              ; preds = %227
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %5, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %226, i64 noundef 544) #8
  br label %463

280:                                              ; preds = %152, %146
  %281 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 544) #7
          to label %282 unwind label %264

282:                                              ; preds = %280
  %283 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %284 = getelementptr inbounds %class.InputParameter, ptr %283, i32 0, i32 39
  %285 = load i32, ptr %284, align 8, !tbaa !51
  %286 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %287 = getelementptr inbounds %class.Component, ptr %286, i32 0, i32 0
  %288 = getelementptr inbounds %class.Area, ptr %287, i32 0, i32 0
  %289 = load double, ptr %288, align 8, !tbaa !52
  %290 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %291 = getelementptr inbounds %class.Component, ptr %290, i32 0, i32 0
  %292 = getelementptr inbounds %class.Area, ptr %291, i32 0, i32 1
  %293 = load double, ptr %292, align 8, !tbaa !53
  %294 = load i32, ptr %11, align 4, !tbaa !29
  %295 = load i32, ptr %12, align 4, !tbaa !29
  %296 = load i32, ptr %14, align 4, !tbaa !29
  %297 = load i32, ptr %13, align 4, !tbaa !29
  %298 = load i32, ptr %15, align 4, !tbaa !29
  %299 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %300 = load i32, ptr %299, align 8, !tbaa !26
  %301 = mul nsw i32 %300, 2
  %302 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %303 = load i32, ptr %302, align 4, !tbaa !24
  %304 = mul nsw i32 %303, 2
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %281, i32 noundef %285, double noundef %289, double noundef %293, i32 noundef %294, i32 noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef %298, i32 noundef %301, i32 noundef %304, i32 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %305 unwind label %425

305:                                              ; preds = %282
  %306 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 3
  store ptr %281, ptr %306, align 8, !tbaa !54
  %307 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 544) #7
          to label %308 unwind label %264

308:                                              ; preds = %305
  %309 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %310 = getelementptr inbounds %class.InputParameter, ptr %309, i32 0, i32 39
  %311 = load i32, ptr %310, align 8, !tbaa !51
  %312 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %313 = getelementptr inbounds %class.Component, ptr %312, i32 0, i32 0
  %314 = getelementptr inbounds %class.Area, ptr %313, i32 0, i32 0
  %315 = load double, ptr %314, align 8, !tbaa !52
  %316 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %317 = getelementptr inbounds %class.Component, ptr %316, i32 0, i32 0
  %318 = getelementptr inbounds %class.Area, ptr %317, i32 0, i32 1
  %319 = load double, ptr %318, align 8, !tbaa !53
  %320 = load i32, ptr %11, align 4, !tbaa !29
  %321 = load i32, ptr %12, align 4, !tbaa !29
  %322 = load i32, ptr %14, align 4, !tbaa !29
  %323 = load i32, ptr %13, align 4, !tbaa !29
  %324 = load i32, ptr %15, align 4, !tbaa !29
  %325 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %326 = load i32, ptr %325, align 8, !tbaa !26
  %327 = mul nsw i32 %326, 2
  %328 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %329 = load i32, ptr %328, align 4, !tbaa !24
  %330 = mul nsw i32 %329, 2
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %307, i32 noundef %311, double noundef %315, double noundef %319, i32 noundef %320, i32 noundef %321, i32 noundef %322, i32 noundef %323, i32 noundef %324, i32 noundef %327, i32 noundef %330, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %331 unwind label %429

331:                                              ; preds = %308
  %332 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 4
  store ptr %307, ptr %332, align 8, !tbaa !55
  %333 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 544) #7
          to label %334 unwind label %264

334:                                              ; preds = %331
  %335 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %336 = getelementptr inbounds %class.InputParameter, ptr %335, i32 0, i32 39
  %337 = load i32, ptr %336, align 8, !tbaa !51
  %338 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %339 = getelementptr inbounds %class.Component, ptr %338, i32 0, i32 0
  %340 = getelementptr inbounds %class.Area, ptr %339, i32 0, i32 0
  %341 = load double, ptr %340, align 8, !tbaa !52
  %342 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %343 = getelementptr inbounds %class.Component, ptr %342, i32 0, i32 0
  %344 = getelementptr inbounds %class.Area, ptr %343, i32 0, i32 1
  %345 = load double, ptr %344, align 8, !tbaa !53
  %346 = load i32, ptr %11, align 4, !tbaa !29
  %347 = load i32, ptr %12, align 4, !tbaa !29
  %348 = load i32, ptr %14, align 4, !tbaa !29
  %349 = load i32, ptr %13, align 4, !tbaa !29
  %350 = load i32, ptr %15, align 4, !tbaa !29
  %351 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %352 = load i32, ptr %351, align 8, !tbaa !26
  %353 = mul nsw i32 %352, 2
  %354 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %355 = load i32, ptr %354, align 4, !tbaa !24
  %356 = mul nsw i32 %355, 2
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %333, i32 noundef %337, double noundef %341, double noundef %345, i32 noundef %346, i32 noundef %347, i32 noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %353, i32 noundef %356, i32 noundef 2, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %357 unwind label %433

357:                                              ; preds = %334
  %358 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 5
  store ptr %333, ptr %358, align 8, !tbaa !56
  %359 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 544) #7
          to label %360 unwind label %264

360:                                              ; preds = %357
  %361 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %362 = getelementptr inbounds %class.InputParameter, ptr %361, i32 0, i32 39
  %363 = load i32, ptr %362, align 8, !tbaa !51
  %364 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %365 = getelementptr inbounds %class.Component, ptr %364, i32 0, i32 0
  %366 = getelementptr inbounds %class.Area, ptr %365, i32 0, i32 0
  %367 = load double, ptr %366, align 8, !tbaa !52
  %368 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %369 = getelementptr inbounds %class.Component, ptr %368, i32 0, i32 0
  %370 = getelementptr inbounds %class.Area, ptr %369, i32 0, i32 1
  %371 = load double, ptr %370, align 8, !tbaa !53
  %372 = load i32, ptr %11, align 4, !tbaa !29
  %373 = load i32, ptr %12, align 4, !tbaa !29
  %374 = load i32, ptr %14, align 4, !tbaa !29
  %375 = load i32, ptr %13, align 4, !tbaa !29
  %376 = load i32, ptr %15, align 4, !tbaa !29
  %377 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %378 = load i32, ptr %377, align 8, !tbaa !26
  %379 = mul nsw i32 %378, 2
  %380 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %381 = load i32, ptr %380, align 4, !tbaa !24
  %382 = mul nsw i32 %381, 2
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %359, i32 noundef %363, double noundef %367, double noundef %371, i32 noundef %372, i32 noundef %373, i32 noundef %374, i32 noundef %375, i32 noundef %376, i32 noundef %379, i32 noundef %382, i32 noundef 1, i1 noundef zeroext true, i1 noundef zeroext true, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %383 unwind label %437

383:                                              ; preds = %360
  %384 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 6
  store ptr %359, ptr %384, align 8, !tbaa !57
  %385 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 544) #7
          to label %386 unwind label %264

386:                                              ; preds = %383
  %387 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %388 = getelementptr inbounds %class.InputParameter, ptr %387, i32 0, i32 39
  %389 = load i32, ptr %388, align 8, !tbaa !51
  %390 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %391 = getelementptr inbounds %class.Component, ptr %390, i32 0, i32 0
  %392 = getelementptr inbounds %class.Area, ptr %391, i32 0, i32 0
  %393 = load double, ptr %392, align 8, !tbaa !52
  %394 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %395 = getelementptr inbounds %class.Component, ptr %394, i32 0, i32 0
  %396 = getelementptr inbounds %class.Area, ptr %395, i32 0, i32 1
  %397 = load double, ptr %396, align 8, !tbaa !53
  %398 = load i32, ptr %11, align 4, !tbaa !29
  %399 = load i32, ptr %12, align 4, !tbaa !29
  %400 = load i32, ptr %14, align 4, !tbaa !29
  %401 = load i32, ptr %13, align 4, !tbaa !29
  %402 = load i32, ptr %15, align 4, !tbaa !29
  %403 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 10
  %404 = load i32, ptr %403, align 8, !tbaa !26
  %405 = mul nsw i32 %404, 2
  %406 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 9
  %407 = load i32, ptr %406, align 4, !tbaa !24
  %408 = mul nsw i32 %407, 2
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %385, i32 noundef %389, double noundef %393, double noundef %397, i32 noundef %398, i32 noundef %399, i32 noundef %400, i32 noundef %401, i32 noundef %402, i32 noundef %405, i32 noundef %408, i32 noundef 2, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %409 unwind label %441

409:                                              ; preds = %386
  %410 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 7
  store ptr %385, ptr %410, align 8, !tbaa !58
  %411 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 4
  %412 = load ptr, ptr %411, align 8, !tbaa !55
  %413 = getelementptr inbounds %class.Component, ptr %412, i32 0, i32 0
  %414 = getelementptr inbounds %class.Area, ptr %413, i32 0, i32 0
  %415 = load double, ptr %414, align 8, !tbaa !52
  %416 = getelementptr inbounds %class.Component, ptr %16, i32 0, i32 0
  %417 = getelementptr inbounds %class.Area, ptr %416, i32 0, i32 0
  store double %415, ptr %417, align 8, !tbaa !52
  %418 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 4
  %419 = load ptr, ptr %418, align 8, !tbaa !55
  %420 = getelementptr inbounds %class.Component, ptr %419, i32 0, i32 0
  %421 = getelementptr inbounds %class.Area, ptr %420, i32 0, i32 1
  %422 = load double, ptr %421, align 8, !tbaa !53
  %423 = getelementptr inbounds %class.Component, ptr %16, i32 0, i32 0
  %424 = getelementptr inbounds %class.Area, ptr %423, i32 0, i32 1
  store double %422, ptr %424, align 8, !tbaa !53
  br label %445

425:                                              ; preds = %282
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %5, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %281, i64 noundef 544) #8
  br label %463

429:                                              ; preds = %308
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %5, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %307, i64 noundef 544) #8
  br label %463

433:                                              ; preds = %334
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %5, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %333, i64 noundef 544) #8
  br label %463

437:                                              ; preds = %360
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %5, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %359, i64 noundef 544) #8
  br label %463

441:                                              ; preds = %386
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %5, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %385, i64 noundef 544) #8
  br label %463

445:                                              ; preds = %409, %248
  %446 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 2
  %447 = getelementptr inbounds %class.Mat, ptr %446, i32 0, i32 45
  %448 = getelementptr inbounds %class.Subarray, ptr %447, i32 0, i32 2
  %449 = load i32, ptr %448, align 8, !tbaa !59
  %450 = zext i32 %449 to i64
  %451 = invoke noundef i32 @_Z5_log2m(i64 noundef %450)
          to label %452 unwind label %264

452:                                              ; preds = %445
  %453 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 11
  store i32 %451, ptr %453, align 4, !tbaa !60
  %454 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 11
  %455 = load i32, ptr %454, align 4, !tbaa !60
  %456 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 12
  store i32 %455, ptr %456, align 8, !tbaa !61
  %457 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 8
  %458 = load i32, ptr %457, align 8, !tbaa !22
  %459 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 11
  %460 = load i32, ptr %459, align 4, !tbaa !60
  %461 = sub nsw i32 %458, %460
  %462 = getelementptr inbounds %class.Bank, ptr %16, i32 0, i32 13
  store i32 %461, ptr %462, align 4, !tbaa !62
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  ret void

463:                                              ; preds = %441, %437, %433, %429, %425, %276, %272, %268, %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @_ZN3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(3064) %19) #6
  br label %464

464:                                              ; preds = %463, %57
  call void @_ZN9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(280) %16) #6
  br label %465

465:                                              ; preds = %464
  %466 = load ptr, ptr %5, align 8
  %467 = load i32, ptr %6, align 4
  %468 = insertvalue { ptr, i32 } poison, ptr %466, 0
  %469 = insertvalue { ptr, i32 } %468, i32 %467, 1
  resume { ptr, i32 } %469
}

declare void @_ZN9ComponentC2Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #1

declare void @_ZN3MatC1ERK16DynamicParameter(ptr noundef nonnull align 8 dereferenceable(3064), ptr noundef nonnull align 8 dereferenceable(265)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

declare void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544), i32 noundef, double noundef, double noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, ptr noundef) unnamed_addr #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

declare noundef i32 @_Z5_log2m(i64 noundef) #1

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

; Function Attrs: nounwind
declare void @_ZN3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(3064)) unnamed_addr #5

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

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 willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !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, !18, i64 52}
!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 = !{!10, !18, i64 3392}
!23 = !{!21, !18, i64 160}
!24 = !{!10, !18, i64 3396}
!25 = !{!21, !18, i64 164}
!26 = !{!10, !18, i64 3400}
!27 = !{!21, !18, i64 184}
!28 = !{!21, !18, i64 188}
!29 = !{!18, !18, i64 0}
!30 = !{!21, !18, i64 192}
!31 = !{!21, !18, i64 196}
!32 = !{!21, !18, i64 204}
!33 = !{!34, !18, i64 64}
!34 = !{!"_ZTS14InputParameter", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !19, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !18, i64 44, !13, i64 48, !13, i64 56, !18, i64 64, !18, i64 68, !18, i64 72, !18, i64 76, !18, i64 80, !19, i64 84, !19, i64 85, !19, i64 86, !19, i64 87, !19, i64 88, !18, i64 92, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !18, i64 148, !35, i64 152, !18, i64 156, !19, i64 160, !18, i64 164, !18, i64 168, !18, i64 172, !18, i64 176, !18, i64 180, !18, i64 184, !18, i64 188, !19, i64 192, !18, i64 196, !18, i64 200, !18, i64 204, !18, i64 208, !18, i64 212, !18, i64 216, !18, i64 220, !18, i64 224, !18, i64 228, !18, i64 232, !18, i64 236, !18, i64 240, !18, i64 244, !18, i64 248, !18, i64 252, !18, i64 256, !18, i64 260, !18, i64 264, !18, i64 268, !18, i64 272, !18, i64 276, !18, i64 280, !18, i64 284, !18, i64 288, !18, i64 292, !18, i64 296, !19, i64 300, !18, i64 304, !18, i64 308, !18, i64 312, !19, i64 316, !19, i64 317, !18, i64 320, !18, i64 324, !19, i64 328, !13, i64 336, !13, i64 344, !19, i64 352, !18, i64 356, !18, i64 360, !19, i64 364}
!35 = !{!"_ZTS9Wire_type", !7, i64 0}
!36 = !{!34, !18, i64 68}
!37 = !{!34, !18, i64 72}
!38 = !{!34, !18, i64 80}
!39 = !{!21, !18, i64 56}
!40 = !{!21, !18, i64 60}
!41 = !{!21, !18, i64 64}
!42 = !{!21, !19, i64 3}
!43 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!21, !19, i64 2}
!46 = !{!21, !18, i64 100}
!47 = !{!21, !18, i64 104}
!48 = !{!34, !19, i64 300}
!49 = !{!21, !19, i64 0}
!50 = !{!34, !18, i64 312}
!51 = !{!34, !35, i64 152}
!52 = !{!11, !13, i64 0}
!53 = !{!11, !13, i64 8}
!54 = !{!10, !6, i64 3352}
!55 = !{!10, !6, i64 3360}
!56 = !{!10, !6, i64 3368}
!57 = !{!10, !6, i64 3376}
!58 = !{!10, !6, i64 3384}
!59 = !{!10, !18, i64 2440}
!60 = !{!10, !18, i64 3404}
!61 = !{!10, !18, i64 3408}
!62 = !{!10, !18, i64 3412}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.TechnologyParameter = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::ScalingFactor", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType" }
%"class.TechnologyParameter::DeviceType" = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::InterconnectType" = type { double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::ScalingFactor" = type { double, double, double }
%"class.TechnologyParameter::MemoryType" = type { double, double, double, double, double, double }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4BankC2ERK16DynamicParameter(ptr noundef nonnull align 8 dereferenceable(3416) %0, ptr noundef nonnull align 8 dereferenceable(265) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN9ComponentC2Ev(ptr noundef nonnull align 8 dereferenceable(280) %0)
  %3 = getelementptr inbounds i8, ptr %0, i64 280
  store ptr %1, ptr %3, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 288
  invoke void @_ZN3MatC1ERK16DynamicParameter(ptr noundef nonnull align 8 dereferenceable(3064) %4, ptr noundef nonnull align 8 dereferenceable(265) %1)
          to label %5 unwind label %23

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 3392
  %7 = getelementptr inbounds i8, ptr %1, i64 52
  %8 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %8, ptr %6, align 8, !tbaa !15
  %9 = getelementptr inbounds i8, ptr %0, i64 3396
  %10 = getelementptr inbounds i8, ptr %1, i64 160
  %11 = load i32, ptr %10, align 8, !tbaa !22
  store i32 %11, ptr %9, align 4, !tbaa !23
  %12 = getelementptr inbounds i8, ptr %0, i64 3400
  %13 = getelementptr inbounds i8, ptr %1, i64 164
  %14 = load i32, ptr %13, align 4, !tbaa !24
  store i32 %14, ptr %12, align 8, !tbaa !25
  %15 = load ptr, ptr %3, align 8, !tbaa !26
  %16 = getelementptr inbounds i8, ptr %15, i64 184
  %17 = load i32, ptr %16, align 8, !tbaa !27
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %25, label %18

18:                                               ; preds = %5
  %19 = getelementptr inbounds i8, ptr %15, i64 188
  %20 = getelementptr inbounds i8, ptr %15, i64 192
  %21 = getelementptr inbounds i8, ptr %15, i64 196
  %22 = getelementptr inbounds i8, ptr %15, i64 204
  br label %31

23:                                               ; preds = %2
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %202

25:                                               ; preds = %5
  %26 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 64
  %28 = getelementptr inbounds i8, ptr %26, i64 68
  %29 = getelementptr inbounds i8, ptr %26, i64 72
  %30 = getelementptr inbounds i8, ptr %26, i64 80
  br label %31

31:                                               ; preds = %25, %18
  %.062.in = phi ptr [ %19, %18 ], [ %27, %25 ]
  %.061.in = phi ptr [ %20, %18 ], [ %28, %25 ]
  %.060.in = phi ptr [ %21, %18 ], [ %29, %25 ]
  %.059.in = phi ptr [ %22, %18 ], [ %30, %25 ]
  %.059 = load i32, ptr %.059.in, align 4, !tbaa !28
  %.060 = load i32, ptr %.060.in, align 4, !tbaa !28
  %.061 = load i32, ptr %.061.in, align 4, !tbaa !28
  %.062 = load i32, ptr %.062.in, align 4, !tbaa !28
  %32 = getelementptr inbounds i8, ptr %15, i64 52
  %33 = load i32, ptr %32, align 4, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %15, i64 56
  %35 = load i32, ptr %34, align 8, !tbaa !29
  %36 = add nsw i32 %35, %33
  %37 = add nsw i32 %.062, %.061
  %38 = add nsw i32 %37, %.060
  %39 = mul nsw i32 %36, %38
  %40 = add nsw i32 %.062, %.060
  %41 = getelementptr inbounds i8, ptr %15, i64 3
  %42 = load i8, ptr %41, align 1, !tbaa !30, !range !31, !noundef !32
  %43 = trunc nuw i8 %42 to i1
  br i1 %43, label %48, label %44

44:                                               ; preds = %31
  %45 = getelementptr inbounds i8, ptr %15, i64 2
  %46 = load i8, ptr %45, align 2, !tbaa !33, !range !31, !noundef !32
  %47 = trunc nuw i8 %46 to i1
  br i1 %47, label %48, label %.thread

.thread:                                          ; preds = %44
  %.pn66.in73 = getelementptr inbounds i8, ptr %15, i64 64
  %.pn6674 = load i32, ptr %.pn66.in73, align 8, !tbaa !34
  %.05575 = mul nsw i32 %.pn6674, %37
  %.pn.in76 = getelementptr inbounds i8, ptr %15, i64 60
  %.pn77 = load i32, ptr %.pn.in76, align 4, !tbaa !35
  %.05678 = mul nsw i32 %.pn77, %40
  br label %55

48:                                               ; preds = %31, %44
  %49 = getelementptr inbounds i8, ptr %15, i64 100
  %50 = load i32, ptr %49, align 4, !tbaa !36
  %51 = mul nsw i32 %50, %.059
  %52 = getelementptr inbounds i8, ptr %15, i64 104
  %53 = load i32, ptr %52, align 8, !tbaa !37
  %54 = mul nsw i32 %53, %.059
  %.pn66.in = getelementptr inbounds i8, ptr %15, i64 64
  %.pn66 = load i32, ptr %.pn66.in, align 8, !tbaa !34
  %.055 = mul nsw i32 %.pn66, %37
  %.pn.in = getelementptr inbounds i8, ptr %15, i64 60
  %.pn = load i32, ptr %.pn.in, align 4, !tbaa !35
  %.056 = mul nsw i32 %.pn, %40
  br i1 %43, label %114, label %._crit_edge

._crit_edge:                                      ; preds = %48
  %.phi.trans.insert = getelementptr inbounds i8, ptr %15, i64 2
  %.pre = load i8, ptr %.phi.trans.insert, align 2, !tbaa !33, !range !31
  br label %55

55:                                               ; preds = %._crit_edge, %.thread
  %56 = phi i8 [ %46, %.thread ], [ %.pre, %._crit_edge ]
  %.05685 = phi i32 [ %.05678, %.thread ], [ %.056, %._crit_edge ]
  %.05583 = phi i32 [ %.05575, %.thread ], [ %.055, %._crit_edge ]
  %.081 = phi i32 [ undef, %.thread ], [ %54, %._crit_edge ]
  %.05479 = phi i32 [ undef, %.thread ], [ %51, %._crit_edge ]
  %57 = trunc nuw i8 %56 to i1
  br i1 %57, label %114, label %58

58:                                               ; preds = %55
  %59 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %59, i64 300
  %61 = load i8, ptr %60, align 4, !tbaa !38, !range !31, !noundef !32
  %62 = trunc nuw i8 %61 to i1
  br i1 %62, label %63, label %70

63:                                               ; preds = %58
  %64 = load i8, ptr %15, align 8, !tbaa !41, !range !31, !noundef !32
  %65 = icmp eq i8 %64, 0
  br i1 %65, label %66, label %70

66:                                               ; preds = %63
  %67 = getelementptr inbounds i8, ptr %59, i64 312
  %68 = load i32, ptr %67, align 8, !tbaa !42
  %69 = mul i32 %68, %.05583
  br label %70

70:                                               ; preds = %66, %63, %58
  %.1 = phi i32 [ %69, %66 ], [ %.05583, %63 ], [ %.05583, %58 ]
  %71 = invoke noalias noundef nonnull dereferenceable(544) ptr @_Znwm(i64 noundef 544) #5
          to label %72 unwind label %106

72:                                               ; preds = %70
  %73 = getelementptr inbounds i8, ptr %59, i64 152
  %74 = load i32, ptr %73, align 8, !tbaa !43
  %75 = load double, ptr %4, align 8, !tbaa !44
  %76 = getelementptr inbounds i8, ptr %0, i64 296
  %77 = load double, ptr %76, align 8, !tbaa !45
  %78 = shl nsw i32 %14, 1
  %79 = shl nsw i32 %11, 1
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %71, i32 noundef %74, double noundef %75, double noundef %77, i32 noundef %39, i32 noundef %.05685, i32 noundef 0, i32 noundef %.1, i32 noundef 0, i32 noundef %78, i32 noundef %79, i32 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %80 unwind label %108

80:                                               ; preds = %72
  %81 = getelementptr inbounds i8, ptr %0, i64 3352
  store ptr %71, ptr %81, align 8, !tbaa !46
  %82 = invoke noalias noundef nonnull dereferenceable(544) ptr @_Znwm(i64 noundef 544) #5
          to label %83 unwind label %106

83:                                               ; preds = %80
  %84 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 152
  %86 = load i32, ptr %85, align 8, !tbaa !43
  %87 = load double, ptr %4, align 8, !tbaa !44
  %88 = load double, ptr %76, align 8, !tbaa !45
  %89 = load i32, ptr %12, align 8, !tbaa !25
  %90 = shl nsw i32 %89, 1
  %91 = load i32, ptr %9, align 4, !tbaa !23
  %92 = shl nsw i32 %91, 1
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %82, i32 noundef %86, double noundef %87, double noundef %88, i32 noundef %39, i32 noundef %.05685, i32 noundef 0, i32 noundef %.1, i32 noundef 0, i32 noundef %90, i32 noundef %92, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %93 unwind label %110

93:                                               ; preds = %83
  %94 = getelementptr inbounds i8, ptr %0, i64 3360
  store ptr %82, ptr %94, align 8, !tbaa !47
  %95 = invoke noalias noundef nonnull dereferenceable(544) ptr @_Znwm(i64 noundef 544) #5
          to label %96 unwind label %106

96:                                               ; preds = %93
  %97 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %97, i64 152
  %99 = load i32, ptr %98, align 8, !tbaa !43
  %100 = load double, ptr %4, align 8, !tbaa !44
  %101 = load double, ptr %76, align 8, !tbaa !45
  %102 = load i32, ptr %12, align 8, !tbaa !25
  %103 = shl nsw i32 %102, 1
  %104 = load i32, ptr %9, align 4, !tbaa !23
  %105 = shl nsw i32 %104, 1
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %95, i32 noundef %99, double noundef %100, double noundef %101, i32 noundef %39, i32 noundef %.05685, i32 noundef 0, i32 noundef %.1, i32 noundef 0, i32 noundef %103, i32 noundef %105, i32 noundef 2, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %187 unwind label %112

106:                                              ; preds = %187, %164, %151, %138, %125, %114, %93, %80, %70
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %201

108:                                              ; preds = %72
  %109 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %71, i64 noundef 544) #6
  br label %201

110:                                              ; preds = %83
  %111 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %82, i64 noundef 544) #6
  br label %201

112:                                              ; preds = %96
  %113 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %95, i64 noundef 544) #6
  br label %201

114:                                              ; preds = %55, %48
  %.05686 = phi i32 [ %.05685, %55 ], [ %.056, %48 ]
  %.05584 = phi i32 [ %.05583, %55 ], [ %.055, %48 ]
  %.082 = phi i32 [ %.081, %55 ], [ %54, %48 ]
  %.05480 = phi i32 [ %.05479, %55 ], [ %51, %48 ]
  %115 = invoke noalias noundef nonnull dereferenceable(544) ptr @_Znwm(i64 noundef 544) #5
          to label %116 unwind label %106

116:                                              ; preds = %114
  %117 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %117, i64 152
  %119 = load i32, ptr %118, align 8, !tbaa !43
  %120 = load double, ptr %4, align 8, !tbaa !44
  %121 = getelementptr inbounds i8, ptr %0, i64 296
  %122 = load double, ptr %121, align 8, !tbaa !45
  %123 = shl nsw i32 %14, 1
  %124 = shl nsw i32 %11, 1
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %115, i32 noundef %119, double noundef %120, double noundef %122, i32 noundef %39, i32 noundef %.05686, i32 noundef %.05480, i32 noundef %.05584, i32 noundef %.082, i32 noundef %123, i32 noundef %124, i32 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %125 unwind label %177

125:                                              ; preds = %116
  %126 = getelementptr inbounds i8, ptr %0, i64 3352
  store ptr %115, ptr %126, align 8, !tbaa !46
  %127 = invoke noalias noundef nonnull dereferenceable(544) ptr @_Znwm(i64 noundef 544) #5
          to label %128 unwind label %106

128:                                              ; preds = %125
  %129 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %129, i64 152
  %131 = load i32, ptr %130, align 8, !tbaa !43
  %132 = load double, ptr %4, align 8, !tbaa !44
  %133 = load double, ptr %121, align 8, !tbaa !45
  %134 = load i32, ptr %12, align 8, !tbaa !25
  %135 = shl nsw i32 %134, 1
  %136 = load i32, ptr %9, align 4, !tbaa !23
  %137 = shl nsw i32 %136, 1
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %127, i32 noundef %131, double noundef %132, double noundef %133, i32 noundef %39, i32 noundef %.05686, i32 noundef %.05480, i32 noundef %.05584, i32 noundef %.082, i32 noundef %135, i32 noundef %137, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %138 unwind label %179

138:                                              ; preds = %128
  %139 = getelementptr inbounds i8, ptr %0, i64 3360
  store ptr %127, ptr %139, align 8, !tbaa !47
  %140 = invoke noalias noundef nonnull dereferenceable(544) ptr @_Znwm(i64 noundef 544) #5
          to label %141 unwind label %106

141:                                              ; preds = %138
  %142 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %142, i64 152
  %144 = load i32, ptr %143, align 8, !tbaa !43
  %145 = load double, ptr %4, align 8, !tbaa !44
  %146 = load double, ptr %121, align 8, !tbaa !45
  %147 = load i32, ptr %12, align 8, !tbaa !25
  %148 = shl nsw i32 %147, 1
  %149 = load i32, ptr %9, align 4, !tbaa !23
  %150 = shl nsw i32 %149, 1
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %140, i32 noundef %144, double noundef %145, double noundef %146, i32 noundef %39, i32 noundef %.05686, i32 noundef %.05480, i32 noundef %.05584, i32 noundef %.082, i32 noundef %148, i32 noundef %150, i32 noundef 2, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %151 unwind label %181

151:                                              ; preds = %141
  %152 = getelementptr inbounds i8, ptr %0, i64 3368
  store ptr %140, ptr %152, align 8, !tbaa !48
  %153 = invoke noalias noundef nonnull dereferenceable(544) ptr @_Znwm(i64 noundef 544) #5
          to label %154 unwind label %106

154:                                              ; preds = %151
  %155 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %155, i64 152
  %157 = load i32, ptr %156, align 8, !tbaa !43
  %158 = load double, ptr %4, align 8, !tbaa !44
  %159 = load double, ptr %121, align 8, !tbaa !45
  %160 = load i32, ptr %12, align 8, !tbaa !25
  %161 = shl nsw i32 %160, 1
  %162 = load i32, ptr %9, align 4, !tbaa !23
  %163 = shl nsw i32 %162, 1
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %153, i32 noundef %157, double noundef %158, double noundef %159, i32 noundef %39, i32 noundef %.05686, i32 noundef %.05480, i32 noundef %.05584, i32 noundef %.082, i32 noundef %161, i32 noundef %163, i32 noundef 1, i1 noundef zeroext true, i1 noundef zeroext true, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %164 unwind label %183

164:                                              ; preds = %154
  %165 = getelementptr inbounds i8, ptr %0, i64 3376
  store ptr %153, ptr %165, align 8, !tbaa !49
  %166 = invoke noalias noundef nonnull dereferenceable(544) ptr @_Znwm(i64 noundef 544) #5
          to label %167 unwind label %106

167:                                              ; preds = %164
  %168 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 152
  %170 = load i32, ptr %169, align 8, !tbaa !43
  %171 = load double, ptr %4, align 8, !tbaa !44
  %172 = load double, ptr %121, align 8, !tbaa !45
  %173 = load i32, ptr %12, align 8, !tbaa !25
  %174 = shl nsw i32 %173, 1
  %175 = load i32, ptr %9, align 4, !tbaa !23
  %176 = shl nsw i32 %175, 1
  invoke void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544) %166, i32 noundef %170, double noundef %171, double noundef %172, i32 noundef %39, i32 noundef %.05686, i32 noundef %.05480, i32 noundef %.05584, i32 noundef %.082, i32 noundef %174, i32 noundef %176, i32 noundef 2, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %187 unwind label %185

177:                                              ; preds = %116
  %178 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %115, i64 noundef 544) #6
  br label %201

179:                                              ; preds = %128
  %180 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %127, i64 noundef 544) #6
  br label %201

181:                                              ; preds = %141
  %182 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %140, i64 noundef 544) #6
  br label %201

183:                                              ; preds = %154
  %184 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %153, i64 noundef 544) #6
  br label %201

185:                                              ; preds = %167
  %186 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %166, i64 noundef 544) #6
  br label %201

187:                                              ; preds = %167, %96
  %.sink93 = phi i64 [ 3368, %96 ], [ 3384, %167 ]
  %.sink = phi ptr [ %95, %96 ], [ %166, %167 ]
  %.sink91 = phi ptr [ %94, %96 ], [ %139, %167 ]
  %188 = getelementptr inbounds i8, ptr %0, i64 %.sink93
  store ptr %.sink, ptr %188, align 8, !tbaa !5
  %189 = load ptr, ptr %.sink91, align 8, !tbaa !47
  %190 = load <2 x double>, ptr %189, align 8, !tbaa !50
  store <2 x double> %190, ptr %0, align 8, !tbaa !50
  %191 = getelementptr inbounds i8, ptr %0, i64 2440
  %192 = load i32, ptr %191, align 8, !tbaa !51
  %193 = zext i32 %192 to i64
  %194 = invoke noundef i32 @_Z5_log2m(i64 noundef %193)
          to label %195 unwind label %106

195:                                              ; preds = %187
  %196 = getelementptr inbounds i8, ptr %0, i64 3404
  store i32 %194, ptr %196, align 4, !tbaa !52
  %197 = getelementptr inbounds i8, ptr %0, i64 3408
  store i32 %194, ptr %197, align 8, !tbaa !53
  %198 = load i32, ptr %6, align 8, !tbaa !15
  %199 = sub nsw i32 %198, %194
  %200 = getelementptr inbounds i8, ptr %0, i64 3412
  store i32 %199, ptr %200, align 4, !tbaa !54
  ret void

201:                                              ; preds = %185, %183, %181, %179, %177, %112, %110, %108, %106
  %.pn68 = phi { ptr, i32 } [ %107, %106 ], [ %186, %185 ], [ %184, %183 ], [ %182, %181 ], [ %180, %179 ], [ %178, %177 ], [ %113, %112 ], [ %111, %110 ], [ %109, %108 ]
  tail call void @_ZN3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(3064) %4) #7
  br label %202

202:                                              ; preds = %201, %23
  %.pn68.pn = phi { ptr, i32 } [ %.pn68, %201 ], [ %24, %23 ]
  tail call void @_ZN9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(280) %0) #7
  resume { ptr, i32 } %.pn68.pn
}

declare void @_ZN9ComponentC2Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #1

declare void @_ZN3MatC1ERK16DynamicParameter(ptr noundef nonnull align 8 dereferenceable(3064), ptr noundef nonnull align 8 dereferenceable(265)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

declare void @_ZN6Htree2C1E9Wire_typeddiiiiiii10Htree_typebbPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(544), i32 noundef, double noundef, double noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, ptr noundef) unnamed_addr #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

declare noundef i32 @_Z5_log2m(i64 noundef) local_unnamed_addr #1

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

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

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 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { builtin allocsize(0) }
attributes #6 = { builtin nounwind }
attributes #7 = { 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, !12, i64 52}
!10 = !{!"_ZTS16DynamicParameter", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !12, i64 4, !12, i64 8, !12, i64 12, !13, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !11, i64 120, !13, i64 128, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !13, i64 176, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !12, i64 208, !11, i64 212, !14, i64 216, !14, i64 240, !11, i64 264}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS4Area", !13, i64 0, !13, i64 8, !13, i64 16}
!15 = !{!16, !12, i64 3392}
!16 = !{!"_ZTS4Bank", !17, i64 0, !6, i64 280, !20, i64 288, !6, i64 3352, !6, i64 3360, !6, i64 3368, !6, i64 3376, !6, i64 3384, !12, i64 3392, !12, i64 3396, !12, i64 3400, !12, i64 3404, !12, i64 3408, !12, i64 3412}
!17 = !{!"_ZTS9Component", !14, i64 0, !18, i64 24, !18, i64 144, !13, i64 264, !13, i64 272}
!18 = !{!"_ZTS8powerDef", !19, i64 0, !19, i64 40, !19, i64 80}
!19 = !{!"_ZTS15powerComponents", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!20 = !{!"_ZTS3Mat", !17, 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, !18, i64 440, !18, i64 560, !18, i64 680, !18, i64 800, !18, i64 920, !18, i64 1040, !18, i64 1160, !18, i64 1280, !18, i64 1400, !18, i64 1520, !18, 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, !21, i64 1864, !18, i64 2288, !18, i64 2408, !18, i64 2528, !13, i64 2648, !12, i64 2656, !12, i64 2660, !13, i64 2664, !14, i64 2672, !14, i64 2696, !11, i64 2720, !11, i64 2721, !11, i64 2722, !11, i64 2723, !12, i64 2724, !18, i64 2728, !13, i64 2848, !13, i64 2856, !13, i64 2864, !13, i64 2872, !13, i64 2880, !13, i64 2888, !18, i64 2896, !12, i64 3016, !12, i64 3020, !12, i64 3024, !12, i64 3028, !13, i64 3032, !12, i64 3040, !12, i64 3044, !12, i64 3048, !12, i64 3052, !12, i64 3056, !12, i64 3060}
!21 = !{!"_ZTS8Subarray", !17, i64 0, !6, i64 280, !12, i64 288, !12, i64 292, !12, i64 296, !12, i64 300, !14, i64 304, !14, i64 328, !11, 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}
!22 = !{!10, !12, i64 160}
!23 = !{!16, !12, i64 3396}
!24 = !{!10, !12, i64 164}
!25 = !{!16, !12, i64 3400}
!26 = !{!16, !6, i64 280}
!27 = !{!10, !12, i64 184}
!28 = !{!12, !12, i64 0}
!29 = !{!10, !12, i64 56}
!30 = !{!10, !11, i64 3}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!10, !11, i64 2}
!34 = !{!10, !12, i64 64}
!35 = !{!10, !12, i64 60}
!36 = !{!10, !12, i64 100}
!37 = !{!10, !12, i64 104}
!38 = !{!39, !11, i64 300}
!39 = !{!"_ZTS14InputParameter", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !11, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !13, i64 48, !13, i64 56, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !40, i64 152, !12, i64 156, !11, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !11, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !12, i64 232, !12, i64 236, !12, i64 240, !12, i64 244, !12, i64 248, !12, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !12, i64 268, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !12, i64 288, !12, i64 292, !12, i64 296, !11, i64 300, !12, i64 304, !12, i64 308, !12, i64 312, !11, i64 316, !11, i64 317, !12, i64 320, !12, i64 324, !11, i64 328, !13, i64 336, !13, i64 344, !11, i64 352, !12, i64 356, !12, i64 360, !11, i64 364}
!40 = !{!"_ZTS9Wire_type", !7, i64 0}
!41 = !{!10, !11, i64 0}
!42 = !{!39, !12, i64 312}
!43 = !{!39, !40, i64 152}
!44 = !{!17, !13, i64 0}
!45 = !{!17, !13, i64 8}
!46 = !{!16, !6, i64 3352}
!47 = !{!16, !6, i64 3360}
!48 = !{!16, !6, i64 3368}
!49 = !{!16, !6, i64 3376}
!50 = !{!13, !13, i64 0}
!51 = !{!16, !12, i64 2440}
!52 = !{!16, !12, i64 3404}
!53 = !{!16, !12, i64 3408}
!54 = !{!16, !12, i64 3412}


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