; LLVM IR from gem5/gem5 :: ext/mcpat/cacti/mat.ll (ZN3Mat16compute_sa_delayEd)

; 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.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.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Subarray = type { %class.Component, ptr, i32, i32, i32, i32, %class.Area, %class.Area, i8, double, double, double, double, double, double, 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.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] }>

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

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

declare noundef double @_Z6gate_Cddbbb(double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #1

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

declare noundef double @_Z8drain_C_diiidbbb(double noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #1

; Function Attrs: nounwind
declare double @log(double noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3Mat16compute_sa_delayEd(ptr noundef nonnull align 8 dereferenceable(3064) %0, double noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  %15 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %16 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 13), align 8, !tbaa !11
  %17 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %18 = load i8, ptr %17, align 8, !tbaa !18, !range !27, !noundef !28
  %19 = trunc i8 %18 to i1
  %20 = call noundef double @_Z23simplified_pmos_leakagedbbb(double noundef %16, i1 noundef zeroext %19, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %20, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %21 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 8), align 8, !tbaa !29
  %22 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %23 = load i8, ptr %22, align 8, !tbaa !18, !range !27, !noundef !28
  %24 = trunc i8 %23 to i1
  %25 = call noundef double @_Z23simplified_nmos_leakagedbbb(double noundef %21, i1 noundef zeroext %24, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %25, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %26 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 9), align 8, !tbaa !30
  %27 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %28 = load i8, ptr %27, align 8, !tbaa !18, !range !27, !noundef !28
  %29 = trunc i8 %28 to i1
  %30 = call noundef double @_Z23simplified_nmos_leakagedbbb(double noundef %26, i1 noundef zeroext %29, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %30, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %31 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 10), align 8, !tbaa !31
  %32 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %33 = load i8, ptr %32, align 8, !tbaa !18, !range !27, !noundef !28
  %34 = trunc i8 %33 to i1
  %35 = call noundef double @_Z23simplified_pmos_leakagedbbb(double noundef %31, i1 noundef zeroext %34, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %35, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %36 = load double, ptr %6, align 8, !tbaa !9
  store double %36, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %37 = load double, ptr %5, align 8, !tbaa !9
  %38 = load double, ptr %7, align 8, !tbaa !9
  %39 = fadd double %37, %38
  %40 = load double, ptr %8, align 8, !tbaa !9
  %41 = fadd double %39, %40
  store double %41, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %42 = load double, ptr %9, align 8, !tbaa !9
  store double %42, ptr %11, align 8, !tbaa !9
  %43 = load double, ptr %9, align 8, !tbaa !9
  %44 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !32
  %45 = fmul double %43, %44
  %46 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 62
  store double %45, ptr %46, align 8, !tbaa !33
  %47 = load double, ptr %10, align 8, !tbaa !9
  %48 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !32
  %49 = fmul double %47, %48
  %50 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 63
  store double %49, ptr %50, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %51 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 10), align 8, !tbaa !31
  %52 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 9), align 8, !tbaa !30
  %53 = fadd double %51, %52
  %54 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %55 = load i8, ptr %54, align 8, !tbaa !18, !range !27, !noundef !28
  %56 = trunc i8 %55 to i1
  %57 = call noundef double @_Z6gate_Cddbbb(double noundef %53, double noundef 0.000000e+00, i1 noundef zeroext %56, i1 noundef zeroext false, i1 noundef zeroext false)
  %58 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 9), align 8, !tbaa !30
  %59 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 58
  %60 = load i8, ptr %59, align 1, !tbaa !35, !range !27, !noundef !28
  %61 = trunc i8 %60 to i1
  br i1 %61, label %62, label %66

62:                                               ; preds = %2
  %63 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 54
  %64 = getelementptr inbounds %class.Area, ptr %63, i32 0, i32 0
  %65 = load double, ptr %64, align 8, !tbaa !36
  br label %84

66:                                               ; preds = %2
  %67 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 53
  %68 = getelementptr inbounds %class.Area, ptr %67, i32 0, i32 0
  %69 = load double, ptr %68, align 8, !tbaa !37
  %70 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 50
  %71 = load i32, ptr %70, align 8, !tbaa !38
  %72 = sitofp i32 %71 to double
  %73 = fmul double %69, %72
  %74 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 75
  %75 = load i32, ptr %74, align 8, !tbaa !39
  %76 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 76
  %77 = load i32, ptr %76, align 4, !tbaa !40
  %78 = add nsw i32 %75, %77
  %79 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 78
  %80 = load i32, ptr %79, align 4, !tbaa !41
  %81 = add nsw i32 %78, %80
  %82 = sitofp i32 %81 to double
  %83 = fdiv double %73, %82
  br label %84

84:                                               ; preds = %66, %62
  %85 = phi double [ %65, %62 ], [ %83, %66 ]
  %86 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %87 = load i8, ptr %86, align 8, !tbaa !18, !range !27, !noundef !28
  %88 = trunc i8 %87 to i1
  %89 = call noundef double @_Z8drain_C_diiidbbb(double noundef %58, i32 noundef 1, i32 noundef 1, i32 noundef 0, double noundef %85, i1 noundef zeroext %88, i1 noundef zeroext false, i1 noundef zeroext false)
  %90 = fadd double %57, %89
  %91 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 10), align 8, !tbaa !31
  %92 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 58
  %93 = load i8, ptr %92, align 1, !tbaa !35, !range !27, !noundef !28
  %94 = trunc i8 %93 to i1
  br i1 %94, label %95, label %99

95:                                               ; preds = %84
  %96 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 54
  %97 = getelementptr inbounds %class.Area, ptr %96, i32 0, i32 0
  %98 = load double, ptr %97, align 8, !tbaa !36
  br label %117

99:                                               ; preds = %84
  %100 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 53
  %101 = getelementptr inbounds %class.Area, ptr %100, i32 0, i32 0
  %102 = load double, ptr %101, align 8, !tbaa !37
  %103 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 50
  %104 = load i32, ptr %103, align 8, !tbaa !38
  %105 = sitofp i32 %104 to double
  %106 = fmul double %102, %105
  %107 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 75
  %108 = load i32, ptr %107, align 8, !tbaa !39
  %109 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 76
  %110 = load i32, ptr %109, align 4, !tbaa !40
  %111 = add nsw i32 %108, %110
  %112 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 78
  %113 = load i32, ptr %112, align 4, !tbaa !41
  %114 = add nsw i32 %111, %113
  %115 = sitofp i32 %114 to double
  %116 = fdiv double %106, %115
  br label %117

117:                                              ; preds = %99, %95
  %118 = phi double [ %98, %95 ], [ %116, %99 ]
  %119 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %120 = load i8, ptr %119, align 8, !tbaa !18, !range !27, !noundef !28
  %121 = trunc i8 %120 to i1
  %122 = call noundef double @_Z8drain_C_diiidbbb(double noundef %91, i32 noundef 0, i32 noundef 1, i32 noundef 0, double noundef %118, i1 noundef zeroext %121, i1 noundef zeroext false, i1 noundef zeroext false)
  %123 = fadd double %90, %122
  %124 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 13), align 8, !tbaa !11
  %125 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 58
  %126 = load i8, ptr %125, align 1, !tbaa !35, !range !27, !noundef !28
  %127 = trunc i8 %126 to i1
  br i1 %127, label %128, label %132

128:                                              ; preds = %117
  %129 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 54
  %130 = getelementptr inbounds %class.Area, ptr %129, i32 0, i32 0
  %131 = load double, ptr %130, align 8, !tbaa !36
  br label %150

132:                                              ; preds = %117
  %133 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 53
  %134 = getelementptr inbounds %class.Area, ptr %133, i32 0, i32 0
  %135 = load double, ptr %134, align 8, !tbaa !37
  %136 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 50
  %137 = load i32, ptr %136, align 8, !tbaa !38
  %138 = sitofp i32 %137 to double
  %139 = fmul double %135, %138
  %140 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 75
  %141 = load i32, ptr %140, align 8, !tbaa !39
  %142 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 76
  %143 = load i32, ptr %142, align 4, !tbaa !40
  %144 = add nsw i32 %141, %143
  %145 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 78
  %146 = load i32, ptr %145, align 4, !tbaa !41
  %147 = add nsw i32 %144, %146
  %148 = sitofp i32 %147 to double
  %149 = fdiv double %139, %148
  br label %150

150:                                              ; preds = %132, %128
  %151 = phi double [ %131, %128 ], [ %149, %132 ]
  %152 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %153 = load i8, ptr %152, align 8, !tbaa !18, !range !27, !noundef !28
  %154 = trunc i8 %153 to i1
  %155 = call noundef double @_Z8drain_C_diiidbbb(double noundef %124, i32 noundef 0, i32 noundef 1, i32 noundef 0, double noundef %151, i1 noundef zeroext %154, i1 noundef zeroext false, i1 noundef zeroext false)
  %156 = fadd double %123, %155
  %157 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 33), align 8, !tbaa !42
  %158 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 58
  %159 = load i8, ptr %158, align 1, !tbaa !35, !range !27, !noundef !28
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %165

161:                                              ; preds = %150
  %162 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 54
  %163 = getelementptr inbounds %class.Area, ptr %162, i32 0, i32 0
  %164 = load double, ptr %163, align 8, !tbaa !36
  br label %183

165:                                              ; preds = %150
  %166 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 53
  %167 = getelementptr inbounds %class.Area, ptr %166, i32 0, i32 0
  %168 = load double, ptr %167, align 8, !tbaa !37
  %169 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 50
  %170 = load i32, ptr %169, align 8, !tbaa !38
  %171 = sitofp i32 %170 to double
  %172 = fmul double %168, %171
  %173 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 75
  %174 = load i32, ptr %173, align 8, !tbaa !39
  %175 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 76
  %176 = load i32, ptr %175, align 4, !tbaa !40
  %177 = add nsw i32 %174, %176
  %178 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 78
  %179 = load i32, ptr %178, align 4, !tbaa !41
  %180 = add nsw i32 %177, %179
  %181 = sitofp i32 %180 to double
  %182 = fdiv double %172, %181
  br label %183

183:                                              ; preds = %165, %161
  %184 = phi double [ %164, %161 ], [ %182, %165 ]
  %185 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 55
  %186 = load i8, ptr %185, align 8, !tbaa !18, !range !27, !noundef !28
  %187 = trunc i8 %186 to i1
  %188 = call noundef double @_Z8drain_C_diiidbbb(double noundef %157, i32 noundef 1, i32 noundef 1, i32 noundef 0, double noundef %184, i1 noundef zeroext %187, i1 noundef zeroext false, i1 noundef zeroext false)
  %189 = fadd double %156, %188
  store double %189, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %190 = load double, ptr %12, align 8, !tbaa !9
  %191 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 31), align 8, !tbaa !43
  %192 = fdiv double %190, %191
  store double %192, ptr %13, align 8, !tbaa !9
  %193 = load double, ptr %13, align 8, !tbaa !9
  %194 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !32
  %195 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 1
  %196 = load ptr, ptr %195, align 8, !tbaa !44
  %197 = getelementptr inbounds %class.DynamicParameter, ptr %196, i32 0, i32 34
  %198 = load double, ptr %197, align 8, !tbaa !45
  %199 = fdiv double %194, %198
  %200 = call double @log(double noundef %199) #4
  %201 = fmul double %193, %200
  %202 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 61
  store double %201, ptr %202, align 8, !tbaa !47
  %203 = load double, ptr %12, align 8, !tbaa !9
  %204 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !32
  %205 = fmul double %203, %204
  %206 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !32
  %207 = fmul double %205, %206
  %208 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 60
  %209 = getelementptr inbounds %class.powerDef, ptr %208, i32 0, i32 0
  %210 = getelementptr inbounds %class.powerComponents, ptr %209, i32 0, i32 0
  store double %207, ptr %210, align 8, !tbaa !48
  %211 = load double, ptr %11, align 8, !tbaa !9
  %212 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !32
  %213 = fmul double %211, %212
  %214 = getelementptr inbounds %class.Mat, ptr %15, i32 0, i32 60
  %215 = getelementptr inbounds %class.powerDef, ptr %214, i32 0, i32 0
  %216 = getelementptr inbounds %class.powerComponents, ptr %215, i32 0, i32 1
  store double %213, ptr %216, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  %217 = load double, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret double %217
}

declare noundef double @_Z23simplified_pmos_leakagedbbb(double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #1

declare noundef double @_Z23simplified_nmos_leakagedbbb(double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 104}
!12 = !{!"_ZTS19TechnologyParameter", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !13, i64 352, !14, i64 360, !14, i64 528, !14, i64 696, !14, i64 864, !14, i64 1032, !15, i64 1200, !15, i64 1264, !15, i64 1328, !16, i64 1392, !17, i64 1416, !17, i64 1464, !17, i64 1512}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160}
!15 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!16 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !10, i64 0, !10, i64 8, !10, i64 16}
!17 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!18 = !{!19, !26, i64 2720}
!19 = !{!"_ZTS3Mat", !20, 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, !22, i64 440, !22, i64 560, !22, i64 680, !22, i64 800, !22, i64 920, !22, i64 1040, !22, i64 1160, !22, i64 1280, !22, i64 1400, !22, i64 1520, !22, i64 1640, !10, i64 1760, !10, i64 1768, !10, i64 1776, !10, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !10, i64 1816, !10, i64 1824, !10, i64 1832, !10, i64 1840, !10, i64 1848, !10, i64 1856, !24, i64 1864, !22, i64 2288, !22, i64 2408, !22, i64 2528, !10, i64 2648, !25, i64 2656, !25, i64 2660, !10, i64 2664, !21, i64 2672, !21, i64 2696, !26, i64 2720, !26, i64 2721, !26, i64 2722, !26, i64 2723, !25, i64 2724, !22, i64 2728, !10, i64 2848, !10, i64 2856, !10, i64 2864, !10, i64 2872, !10, i64 2880, !10, i64 2888, !22, i64 2896, !25, i64 3016, !25, i64 3020, !25, i64 3024, !25, i64 3028, !10, i64 3032, !25, i64 3040, !25, i64 3044, !25, i64 3048, !25, i64 3052, !25, i64 3056, !25, i64 3060}
!20 = !{!"_ZTS9Component", !21, i64 0, !22, i64 24, !22, i64 144, !10, i64 264, !10, i64 272}
!21 = !{!"_ZTS4Area", !10, i64 0, !10, i64 8, !10, i64 16}
!22 = !{!"_ZTS8powerDef", !23, i64 0, !23, i64 40, !23, i64 80}
!23 = !{!"_ZTS15powerComponents", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!24 = !{!"_ZTS8Subarray", !20, i64 0, !6, i64 280, !25, i64 288, !25, i64 292, !25, i64 296, !25, i64 300, !21, i64 304, !21, i64 328, !26, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416}
!25 = !{!"int", !7, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!12, !10, i64 64}
!30 = !{!12, !10, i64 72}
!31 = !{!12, !10, i64 80}
!32 = !{!12, !10, i64 936}
!33 = !{!19, !10, i64 2856}
!34 = !{!19, !10, i64 2864}
!35 = !{!19, !26, i64 2723}
!36 = !{!19, !10, i64 2696}
!37 = !{!19, !10, i64 2672}
!38 = !{!19, !25, i64 2656}
!39 = !{!19, !25, i64 3048}
!40 = !{!19, !25, i64 3052}
!41 = !{!19, !25, i64 3060}
!42 = !{!12, !10, i64 264}
!43 = !{!12, !10, i64 248}
!44 = !{!19, !6, i64 280}
!45 = !{!46, !10, i64 128}
!46 = !{!"_ZTS16DynamicParameter", !26, i64 0, !26, i64 1, !26, i64 2, !26, i64 3, !25, i64 4, !25, i64 8, !25, i64 12, !10, i64 16, !25, i64 24, !25, i64 28, !25, i64 32, !25, i64 36, !25, i64 40, !25, i64 44, !25, i64 48, !25, i64 52, !25, i64 56, !25, i64 60, !25, i64 64, !25, i64 68, !25, i64 72, !25, i64 76, !25, i64 80, !25, i64 84, !25, i64 88, !25, i64 92, !25, i64 96, !25, i64 100, !25, i64 104, !25, i64 108, !25, i64 112, !25, i64 116, !26, i64 120, !10, i64 128, !25, i64 136, !25, i64 140, !25, i64 144, !25, i64 148, !25, i64 152, !25, i64 156, !25, i64 160, !25, i64 164, !25, i64 168, !10, i64 176, !25, i64 184, !25, i64 188, !25, i64 192, !25, i64 196, !25, i64 200, !25, i64 204, !25, i64 208, !26, i64 212, !21, i64 216, !21, i64 240, !26, i64 264}
!47 = !{!19, !10, i64 2848}
!48 = !{!19, !10, i64 2728}
!49 = !{!19, !10, i64 2736}


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

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

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

declare noundef double @_Z6gate_Cddbbb(double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

declare noundef double @_Z8drain_C_diiidbbb(double noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3Mat16compute_sa_delayEd(ptr nocapture noundef nonnull align 8 dereferenceable(3064) %0, double noundef %1) local_unnamed_addr #2 align 2 {
  %3 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 104), align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 2720
  %5 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %6 = trunc nuw i8 %5 to i1
  %7 = tail call noundef double @_Z23simplified_pmos_leakagedbbb(double noundef %3, i1 noundef zeroext %6, i1 noundef zeroext false, i1 noundef zeroext false)
  %8 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 64), align 8, !tbaa !27
  %9 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %10 = trunc nuw i8 %9 to i1
  %11 = tail call noundef double @_Z23simplified_nmos_leakagedbbb(double noundef %8, i1 noundef zeroext %10, i1 noundef zeroext false, i1 noundef zeroext false)
  %12 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 72), align 8, !tbaa !28
  %13 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %14 = trunc nuw i8 %13 to i1
  %15 = tail call noundef double @_Z23simplified_nmos_leakagedbbb(double noundef %12, i1 noundef zeroext %14, i1 noundef zeroext false, i1 noundef zeroext false)
  %16 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 80), align 8, !tbaa !29
  %17 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %18 = trunc nuw i8 %17 to i1
  %19 = tail call noundef double @_Z23simplified_pmos_leakagedbbb(double noundef %16, i1 noundef zeroext %18, i1 noundef zeroext false, i1 noundef zeroext false)
  %20 = fadd double %7, %15
  %21 = fadd double %20, %19
  %22 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8
  %23 = getelementptr inbounds i8, ptr %0, i64 2856
  %24 = insertelement <2 x double> poison, double %11, i64 0
  %25 = insertelement <2 x double> %24, double %21, i64 1
  %26 = shufflevector <2 x double> %22, <2 x double> poison, <2 x i32> zeroinitializer
  %27 = fmul <2 x double> %25, %26
  store <2 x double> %27, ptr %23, align 8, !tbaa !30
  %28 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 80), align 8, !tbaa !29
  %29 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 72), align 8, !tbaa !28
  %30 = fadd double %28, %29
  %31 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %32 = trunc nuw i8 %31 to i1
  %33 = tail call noundef double @_Z6gate_Cddbbb(double noundef %30, double noundef 0.000000e+00, i1 noundef zeroext %32, i1 noundef zeroext false, i1 noundef zeroext false)
  %34 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 72), align 8, !tbaa !28
  %35 = getelementptr inbounds i8, ptr %0, i64 2723
  %36 = load i8, ptr %35, align 1, !tbaa !31, !range !25, !noundef !26
  %37 = trunc nuw i8 %36 to i1
  br i1 %37, label %38, label %41

38:                                               ; preds = %2
  %39 = getelementptr inbounds i8, ptr %0, i64 2696
  %40 = load double, ptr %39, align 8, !tbaa !32
  br label %58

41:                                               ; preds = %2
  %42 = getelementptr inbounds i8, ptr %0, i64 2672
  %43 = load double, ptr %42, align 8, !tbaa !33
  %44 = getelementptr inbounds i8, ptr %0, i64 2656
  %45 = load i32, ptr %44, align 8, !tbaa !34
  %46 = sitofp i32 %45 to double
  %47 = fmul double %43, %46
  %48 = getelementptr inbounds i8, ptr %0, i64 3048
  %49 = load i32, ptr %48, align 8, !tbaa !35
  %50 = getelementptr inbounds i8, ptr %0, i64 3052
  %51 = load i32, ptr %50, align 4, !tbaa !36
  %52 = add nsw i32 %51, %49
  %53 = getelementptr inbounds i8, ptr %0, i64 3060
  %54 = load i32, ptr %53, align 4, !tbaa !37
  %55 = add nsw i32 %52, %54
  %56 = sitofp i32 %55 to double
  %57 = fdiv double %47, %56
  br label %58

58:                                               ; preds = %41, %38
  %59 = phi double [ %40, %38 ], [ %57, %41 ]
  %60 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %61 = trunc nuw i8 %60 to i1
  %62 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %34, i32 noundef 1, i32 noundef 1, i32 noundef 0, double noundef %59, i1 noundef zeroext %61, i1 noundef zeroext false, i1 noundef zeroext false)
  %63 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 80), align 8, !tbaa !29
  %64 = load i8, ptr %35, align 1, !tbaa !31, !range !25, !noundef !26
  %65 = trunc nuw i8 %64 to i1
  br i1 %65, label %66, label %69

66:                                               ; preds = %58
  %67 = getelementptr inbounds i8, ptr %0, i64 2696
  %68 = load double, ptr %67, align 8, !tbaa !32
  br label %86

69:                                               ; preds = %58
  %70 = getelementptr inbounds i8, ptr %0, i64 2672
  %71 = load double, ptr %70, align 8, !tbaa !33
  %72 = getelementptr inbounds i8, ptr %0, i64 2656
  %73 = load i32, ptr %72, align 8, !tbaa !34
  %74 = sitofp i32 %73 to double
  %75 = fmul double %71, %74
  %76 = getelementptr inbounds i8, ptr %0, i64 3048
  %77 = load i32, ptr %76, align 8, !tbaa !35
  %78 = getelementptr inbounds i8, ptr %0, i64 3052
  %79 = load i32, ptr %78, align 4, !tbaa !36
  %80 = add nsw i32 %79, %77
  %81 = getelementptr inbounds i8, ptr %0, i64 3060
  %82 = load i32, ptr %81, align 4, !tbaa !37
  %83 = add nsw i32 %80, %82
  %84 = sitofp i32 %83 to double
  %85 = fdiv double %75, %84
  br label %86

86:                                               ; preds = %69, %66
  %87 = phi double [ %68, %66 ], [ %85, %69 ]
  %88 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %89 = trunc nuw i8 %88 to i1
  %90 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %63, i32 noundef 0, i32 noundef 1, i32 noundef 0, double noundef %87, i1 noundef zeroext %89, i1 noundef zeroext false, i1 noundef zeroext false)
  %91 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 104), align 8, !tbaa !5
  %92 = load i8, ptr %35, align 1, !tbaa !31, !range !25, !noundef !26
  %93 = trunc nuw i8 %92 to i1
  br i1 %93, label %94, label %97

94:                                               ; preds = %86
  %95 = getelementptr inbounds i8, ptr %0, i64 2696
  %96 = load double, ptr %95, align 8, !tbaa !32
  br label %114

97:                                               ; preds = %86
  %98 = getelementptr inbounds i8, ptr %0, i64 2672
  %99 = load double, ptr %98, align 8, !tbaa !33
  %100 = getelementptr inbounds i8, ptr %0, i64 2656
  %101 = load i32, ptr %100, align 8, !tbaa !34
  %102 = sitofp i32 %101 to double
  %103 = fmul double %99, %102
  %104 = getelementptr inbounds i8, ptr %0, i64 3048
  %105 = load i32, ptr %104, align 8, !tbaa !35
  %106 = getelementptr inbounds i8, ptr %0, i64 3052
  %107 = load i32, ptr %106, align 4, !tbaa !36
  %108 = add nsw i32 %107, %105
  %109 = getelementptr inbounds i8, ptr %0, i64 3060
  %110 = load i32, ptr %109, align 4, !tbaa !37
  %111 = add nsw i32 %108, %110
  %112 = sitofp i32 %111 to double
  %113 = fdiv double %103, %112
  br label %114

114:                                              ; preds = %97, %94
  %115 = phi double [ %96, %94 ], [ %113, %97 ]
  %116 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %117 = trunc nuw i8 %116 to i1
  %118 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %91, i32 noundef 0, i32 noundef 1, i32 noundef 0, double noundef %115, i1 noundef zeroext %117, i1 noundef zeroext false, i1 noundef zeroext false)
  %119 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 264), align 8, !tbaa !38
  %120 = load i8, ptr %35, align 1, !tbaa !31, !range !25, !noundef !26
  %121 = trunc nuw i8 %120 to i1
  br i1 %121, label %122, label %125

122:                                              ; preds = %114
  %123 = getelementptr inbounds i8, ptr %0, i64 2696
  %124 = load double, ptr %123, align 8, !tbaa !32
  br label %142

125:                                              ; preds = %114
  %126 = getelementptr inbounds i8, ptr %0, i64 2672
  %127 = load double, ptr %126, align 8, !tbaa !33
  %128 = getelementptr inbounds i8, ptr %0, i64 2656
  %129 = load i32, ptr %128, align 8, !tbaa !34
  %130 = sitofp i32 %129 to double
  %131 = fmul double %127, %130
  %132 = getelementptr inbounds i8, ptr %0, i64 3048
  %133 = load i32, ptr %132, align 8, !tbaa !35
  %134 = getelementptr inbounds i8, ptr %0, i64 3052
  %135 = load i32, ptr %134, align 4, !tbaa !36
  %136 = add nsw i32 %135, %133
  %137 = getelementptr inbounds i8, ptr %0, i64 3060
  %138 = load i32, ptr %137, align 4, !tbaa !37
  %139 = add nsw i32 %136, %138
  %140 = sitofp i32 %139 to double
  %141 = fdiv double %131, %140
  br label %142

142:                                              ; preds = %125, %122
  %143 = phi double [ %124, %122 ], [ %141, %125 ]
  %144 = fadd double %33, %62
  %145 = fadd double %144, %90
  %146 = fadd double %145, %118
  %147 = load i8, ptr %4, align 8, !tbaa !15, !range !25, !noundef !26
  %148 = trunc nuw i8 %147 to i1
  %149 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %119, i32 noundef 1, i32 noundef 1, i32 noundef 0, double noundef %143, i1 noundef zeroext %148, i1 noundef zeroext false, i1 noundef zeroext false)
  %150 = fadd double %146, %149
  %151 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 248), align 8, !tbaa !39
  %152 = fdiv double %150, %151
  %153 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !40
  %154 = getelementptr inbounds i8, ptr %0, i64 280
  %155 = load ptr, ptr %154, align 8, !tbaa !41
  %156 = getelementptr inbounds i8, ptr %155, i64 128
  %157 = load double, ptr %156, align 8, !tbaa !42
  %158 = fdiv double %153, %157
  %159 = tail call double @log(double noundef %158) #3
  %160 = fmul double %152, %159
  %161 = getelementptr inbounds i8, ptr %0, i64 2848
  store double %160, ptr %161, align 8, !tbaa !44
  %162 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !40
  %163 = fmul double %150, %162
  %164 = getelementptr inbounds i8, ptr %0, i64 2728
  %165 = insertelement <2 x double> poison, double %162, i64 0
  %166 = shufflevector <2 x double> %165, <2 x double> poison, <2 x i32> zeroinitializer
  %167 = insertelement <2 x double> poison, double %163, i64 0
  %168 = insertelement <2 x double> %167, double %11, i64 1
  %169 = fmul <2 x double> %166, %168
  store <2 x double> %169, ptr %164, align 8, !tbaa !30
  ret double 0.000000e+00
}

declare noundef double @_Z23simplified_pmos_leakagedbbb(double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

declare noundef double @_Z23simplified_nmos_leakagedbbb(double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

attributes #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 = { mustprogress nofree nounwind willreturn memory(write) "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 104}
!6 = !{!"_ZTS19TechnologyParameter", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !10, i64 352, !11, i64 360, !11, i64 528, !11, i64 696, !11, i64 864, !11, i64 1032, !12, i64 1200, !12, i64 1264, !12, i64 1328, !13, i64 1392, !14, i64 1416, !14, i64 1464, !14, i64 1512}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160}
!12 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!13 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!15 = !{!16, !24, i64 2720}
!16 = !{!"_ZTS3Mat", !17, i64 0, !21, i64 280, !21, i64 288, !21, i64 296, !21, i64 304, !21, i64 312, !21, i64 320, !21, i64 328, !21, i64 336, !21, i64 344, !21, i64 352, !21, i64 360, !21, i64 368, !21, i64 376, !21, i64 384, !21, i64 392, !21, i64 400, !21, i64 408, !21, i64 416, !21, i64 424, !21, i64 432, !19, i64 440, !19, i64 560, !19, i64 680, !19, i64 800, !19, i64 920, !19, i64 1040, !19, i64 1160, !19, i64 1280, !19, i64 1400, !19, i64 1520, !19, i64 1640, !7, i64 1760, !7, i64 1768, !7, i64 1776, !7, i64 1784, !7, i64 1792, !7, i64 1800, !7, i64 1808, !7, i64 1816, !7, i64 1824, !7, i64 1832, !7, i64 1840, !7, i64 1848, !7, i64 1856, !22, i64 1864, !19, i64 2288, !19, i64 2408, !19, i64 2528, !7, i64 2648, !23, i64 2656, !23, i64 2660, !7, i64 2664, !18, i64 2672, !18, i64 2696, !24, i64 2720, !24, i64 2721, !24, i64 2722, !24, i64 2723, !23, i64 2724, !19, i64 2728, !7, i64 2848, !7, i64 2856, !7, i64 2864, !7, i64 2872, !7, i64 2880, !7, i64 2888, !19, i64 2896, !23, i64 3016, !23, i64 3020, !23, i64 3024, !23, i64 3028, !7, i64 3032, !23, i64 3040, !23, i64 3044, !23, i64 3048, !23, i64 3052, !23, i64 3056, !23, i64 3060}
!17 = !{!"_ZTS9Component", !18, i64 0, !19, i64 24, !19, i64 144, !7, i64 264, !7, i64 272}
!18 = !{!"_ZTS4Area", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!"_ZTS8powerDef", !20, i64 0, !20, i64 40, !20, i64 80}
!20 = !{!"_ZTS15powerComponents", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!21 = !{!"any pointer", !8, i64 0}
!22 = !{!"_ZTS8Subarray", !17, i64 0, !21, i64 280, !23, i64 288, !23, i64 292, !23, i64 296, !23, i64 300, !18, i64 304, !18, i64 328, !24, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416}
!23 = !{!"int", !8, i64 0}
!24 = !{!"bool", !8, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!6, !7, i64 64}
!28 = !{!6, !7, i64 72}
!29 = !{!6, !7, i64 80}
!30 = !{!7, !7, i64 0}
!31 = !{!16, !24, i64 2723}
!32 = !{!16, !7, i64 2696}
!33 = !{!16, !7, i64 2672}
!34 = !{!16, !23, i64 2656}
!35 = !{!16, !23, i64 3048}
!36 = !{!16, !23, i64 3052}
!37 = !{!16, !23, i64 3060}
!38 = !{!6, !7, i64 264}
!39 = !{!6, !7, i64 248}
!40 = !{!6, !7, i64 936}
!41 = !{!16, !21, i64 280}
!42 = !{!43, !7, i64 128}
!43 = !{!"_ZTS16DynamicParameter", !24, i64 0, !24, i64 1, !24, i64 2, !24, i64 3, !23, i64 4, !23, i64 8, !23, i64 12, !7, i64 16, !23, i64 24, !23, i64 28, !23, i64 32, !23, i64 36, !23, i64 40, !23, i64 44, !23, i64 48, !23, i64 52, !23, i64 56, !23, i64 60, !23, i64 64, !23, i64 68, !23, i64 72, !23, i64 76, !23, i64 80, !23, i64 84, !23, i64 88, !23, i64 92, !23, i64 96, !23, i64 100, !23, i64 104, !23, i64 108, !23, i64 112, !23, i64 116, !24, i64 120, !7, i64 128, !23, i64 136, !23, i64 140, !23, i64 144, !23, i64 148, !23, i64 152, !23, i64 156, !23, i64 160, !23, i64 164, !23, i64 168, !7, i64 176, !23, i64 184, !23, i64 188, !23, i64 192, !23, i64 196, !23, i64 200, !23, i64 204, !23, i64 208, !24, i64 212, !18, i64 216, !18, i64 240, !24, i64 264}
!44 = !{!16, !7, i64 2848}


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