; LLVM IR from gem5/gem5 :: ext/mcpat/cacti/mat.ll (ZN3Mat24compute_comparator_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.InputParameter = type { i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i8, i8, i32, i32, i8, double, double, i8, i32, i32, i8 }
%class.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_ip = external global ptr, align 8
@g_tp = external global %class.TechnologyParameter, align 8

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

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

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

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

declare noundef double @_Z7tr_R_ondiibbb(double noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #2

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) #2

declare noundef double @_Z8horowitzddddi(double noundef, double noundef, double noundef, double noundef, i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3Mat24compute_comparator_delayEd(ptr noundef nonnull align 8 dereferenceable(3064) %0, double noundef %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %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
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  %26 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %27 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %28 = getelementptr inbounds %class.InputParameter, ptr %27, i32 0, i32 78
  %29 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %29, ptr %5, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %30 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !17
  %32 = getelementptr inbounds %class.DynamicParameter, ptr %31, i32 0, i32 4
  %33 = load i32, ptr %32, align 4, !tbaa !24
  %34 = sdiv i32 %33, 4
  store i32 %34, ptr %6, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %35 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 21), align 8, !tbaa !26
  %36 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 18), align 8, !tbaa !33
  %37 = fadd double %35, %36
  %38 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %39 = load i8, ptr %38, align 8, !tbaa !34, !range !35, !noundef !36
  %40 = trunc i8 %39 to i1
  %41 = call noundef double @_Z6gate_Cddbbb(double noundef %37, double noundef 0.000000e+00, i1 noundef zeroext %40, i1 noundef zeroext false, i1 noundef zeroext false)
  %42 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 17), align 8, !tbaa !37
  %43 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %44 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %45 = load i8, ptr %44, align 8, !tbaa !34, !range !35, !noundef !36
  %46 = trunc i8 %45 to i1
  %47 = call noundef double @_Z8drain_C_diiidbbb(double noundef %42, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %43, i1 noundef zeroext %46, i1 noundef zeroext false, i1 noundef zeroext false)
  %48 = fadd double %41, %47
  %49 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 20), align 8, !tbaa !39
  %50 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %51 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %52 = load i8, ptr %51, align 8, !tbaa !34, !range !35, !noundef !36
  %53 = trunc i8 %52 to i1
  %54 = call noundef double @_Z8drain_C_diiidbbb(double noundef %49, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %50, i1 noundef zeroext %53, i1 noundef zeroext false, i1 noundef zeroext false)
  %55 = fadd double %48, %54
  store double %55, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %56 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 17), align 8, !tbaa !37
  %57 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %58 = load i8, ptr %57, align 8, !tbaa !34, !range !35, !noundef !36
  %59 = trunc i8 %58 to i1
  %60 = call noundef double @_Z7tr_R_ondiibbb(double noundef %56, i32 noundef 0, i32 noundef 1, i1 noundef zeroext %59, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %60, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %61 = load double, ptr %8, align 8, !tbaa !9
  %62 = load double, ptr %7, align 8, !tbaa !9
  %63 = fmul double %61, %62
  store double %63, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %64 = load double, ptr %4, align 8, !tbaa !9
  %65 = load double, ptr %9, align 8, !tbaa !9
  %66 = call noundef double @_Z8horowitzddddi(double noundef %64, double noundef %65, double noundef 4.370000e-01, double noundef 4.370000e-01, i32 noundef 0)
  store double %66, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %67 = load double, ptr %10, align 8, !tbaa !9
  %68 = fdiv double %67, 4.370000e-01
  store double %68, ptr %11, align 8, !tbaa !9
  %69 = load double, ptr %7, align 8, !tbaa !9
  %70 = fmul double 5.000000e-01, %69
  %71 = 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 !40
  %72 = fmul double %70, %71
  %73 = 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 !40
  %74 = fmul double %72, %73
  %75 = fmul double %74, 4.000000e+00
  %76 = load i32, ptr %5, align 4, !tbaa !16
  %77 = sitofp i32 %76 to double
  %78 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 67
  %79 = getelementptr inbounds %class.powerDef, ptr %78, i32 0, i32 0
  %80 = getelementptr inbounds %class.powerComponents, ptr %79, i32 0, i32 0
  %81 = load double, ptr %80, align 8, !tbaa !41
  %82 = call double @llvm.fmuladd.f64(double %75, double %77, double %81)
  store double %82, ptr %80, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %83 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 20), align 8, !tbaa !39
  %84 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 17), align 8, !tbaa !37
  %85 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %86 = load i8, ptr %85, align 8, !tbaa !34, !range !35, !noundef !36
  %87 = trunc i8 %86 to i1
  %88 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %83, double noundef %84, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %87, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %89 = fmul double %88, 4.000000e+00
  %90 = load i32, ptr %5, align 4, !tbaa !16
  %91 = sitofp i32 %90 to double
  %92 = fmul double %89, %91
  store double %92, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %93 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 20), align 8, !tbaa !39
  %94 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 17), align 8, !tbaa !37
  %95 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %96 = load i8, ptr %95, align 8, !tbaa !34, !range !35, !noundef !36
  %97 = trunc i8 %96 to i1
  %98 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %93, double noundef %94, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %97, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %99 = fmul double %98, 4.000000e+00
  %100 = load i32, ptr %5, align 4, !tbaa !16
  %101 = sitofp i32 %100 to double
  %102 = fmul double %99, %101
  store double %102, ptr %13, align 8, !tbaa !9
  %103 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 22), align 8, !tbaa !42
  %104 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 19), align 8, !tbaa !43
  %105 = fadd double %103, %104
  %106 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %107 = load i8, ptr %106, align 8, !tbaa !34, !range !35, !noundef !36
  %108 = trunc i8 %107 to i1
  %109 = call noundef double @_Z6gate_Cddbbb(double noundef %105, double noundef 0.000000e+00, i1 noundef zeroext %108, i1 noundef zeroext false, i1 noundef zeroext false)
  %110 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 18), align 8, !tbaa !33
  %111 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %112 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %113 = load i8, ptr %112, align 8, !tbaa !34, !range !35, !noundef !36
  %114 = trunc i8 %113 to i1
  %115 = call noundef double @_Z8drain_C_diiidbbb(double noundef %110, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %111, i1 noundef zeroext %114, i1 noundef zeroext false, i1 noundef zeroext false)
  %116 = fadd double %109, %115
  %117 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 21), align 8, !tbaa !26
  %118 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %119 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %120 = load i8, ptr %119, align 8, !tbaa !34, !range !35, !noundef !36
  %121 = trunc i8 %120 to i1
  %122 = call noundef double @_Z8drain_C_diiidbbb(double noundef %117, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %118, i1 noundef zeroext %121, i1 noundef zeroext false, i1 noundef zeroext false)
  %123 = fadd double %116, %122
  store double %123, ptr %7, align 8, !tbaa !9
  %124 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 21), align 8, !tbaa !26
  %125 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %126 = load i8, ptr %125, align 8, !tbaa !34, !range !35, !noundef !36
  %127 = trunc i8 %126 to i1
  %128 = call noundef double @_Z7tr_R_ondiibbb(double noundef %124, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %127, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %128, ptr %8, align 8, !tbaa !9
  %129 = load double, ptr %8, align 8, !tbaa !9
  %130 = load double, ptr %7, align 8, !tbaa !9
  %131 = fmul double %129, %130
  store double %131, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %132 = load double, ptr %11, align 8, !tbaa !9
  %133 = load double, ptr %9, align 8, !tbaa !9
  %134 = call noundef double @_Z8horowitzddddi(double noundef %132, double noundef %133, double noundef 4.370000e-01, double noundef 4.370000e-01, i32 noundef 1)
  store double %134, ptr %14, align 8, !tbaa !9
  %135 = load double, ptr %14, align 8, !tbaa !9
  %136 = fdiv double %135, 5.630000e-01
  store double %136, ptr %11, align 8, !tbaa !9
  %137 = load double, ptr %7, align 8, !tbaa !9
  %138 = fmul double 5.000000e-01, %137
  %139 = 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 !40
  %140 = fmul double %138, %139
  %141 = 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 !40
  %142 = fmul double %140, %141
  %143 = fmul double %142, 4.000000e+00
  %144 = load i32, ptr %5, align 4, !tbaa !16
  %145 = sitofp i32 %144 to double
  %146 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 67
  %147 = getelementptr inbounds %class.powerDef, ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds %class.powerComponents, ptr %147, i32 0, i32 0
  %149 = load double, ptr %148, align 8, !tbaa !41
  %150 = call double @llvm.fmuladd.f64(double %143, double %145, double %149)
  store double %150, ptr %148, align 8, !tbaa !41
  %151 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 21), align 8, !tbaa !26
  %152 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 18), align 8, !tbaa !33
  %153 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %154 = load i8, ptr %153, align 8, !tbaa !34, !range !35, !noundef !36
  %155 = trunc i8 %154 to i1
  %156 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %151, double noundef %152, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %155, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %157 = fmul double %156, 4.000000e+00
  %158 = load i32, ptr %5, align 4, !tbaa !16
  %159 = sitofp i32 %158 to double
  %160 = load double, ptr %12, align 8, !tbaa !9
  %161 = call double @llvm.fmuladd.f64(double %157, double %159, double %160)
  store double %161, ptr %12, align 8, !tbaa !9
  %162 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 21), align 8, !tbaa !26
  %163 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 18), align 8, !tbaa !33
  %164 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %165 = load i8, ptr %164, align 8, !tbaa !34, !range !35, !noundef !36
  %166 = trunc i8 %165 to i1
  %167 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %162, double noundef %163, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %166, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %168 = fmul double %167, 4.000000e+00
  %169 = load i32, ptr %5, align 4, !tbaa !16
  %170 = sitofp i32 %169 to double
  %171 = load double, ptr %13, align 8, !tbaa !9
  %172 = call double @llvm.fmuladd.f64(double %168, double %170, double %171)
  store double %172, ptr %13, align 8, !tbaa !9
  %173 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 24), align 8, !tbaa !44
  %174 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 23), align 8, !tbaa !45
  %175 = fadd double %173, %174
  %176 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %177 = load i8, ptr %176, align 8, !tbaa !34, !range !35, !noundef !36
  %178 = trunc i8 %177 to i1
  %179 = call noundef double @_Z6gate_Cddbbb(double noundef %175, double noundef 0.000000e+00, i1 noundef zeroext %178, i1 noundef zeroext false, i1 noundef zeroext false)
  %180 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 19), align 8, !tbaa !43
  %181 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %182 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %183 = load i8, ptr %182, align 8, !tbaa !34, !range !35, !noundef !36
  %184 = trunc i8 %183 to i1
  %185 = call noundef double @_Z8drain_C_diiidbbb(double noundef %180, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %181, i1 noundef zeroext %184, i1 noundef zeroext false, i1 noundef zeroext false)
  %186 = fadd double %179, %185
  %187 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 22), align 8, !tbaa !42
  %188 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %189 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %190 = load i8, ptr %189, align 8, !tbaa !34, !range !35, !noundef !36
  %191 = trunc i8 %190 to i1
  %192 = call noundef double @_Z8drain_C_diiidbbb(double noundef %187, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %188, i1 noundef zeroext %191, i1 noundef zeroext false, i1 noundef zeroext false)
  %193 = fadd double %186, %192
  store double %193, ptr %7, align 8, !tbaa !9
  %194 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 19), align 8, !tbaa !43
  %195 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %196 = load i8, ptr %195, align 8, !tbaa !34, !range !35, !noundef !36
  %197 = trunc i8 %196 to i1
  %198 = call noundef double @_Z7tr_R_ondiibbb(double noundef %194, i32 noundef 0, i32 noundef 1, i1 noundef zeroext %197, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %198, ptr %8, align 8, !tbaa !9
  %199 = load double, ptr %8, align 8, !tbaa !9
  %200 = load double, ptr %7, align 8, !tbaa !9
  %201 = fmul double %199, %200
  store double %201, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %202 = load double, ptr %11, align 8, !tbaa !9
  %203 = load double, ptr %9, align 8, !tbaa !9
  %204 = call noundef double @_Z8horowitzddddi(double noundef %202, double noundef %203, double noundef 4.370000e-01, double noundef 4.520000e-01, i32 noundef 0)
  store double %204, ptr %15, align 8, !tbaa !9
  %205 = load double, ptr %15, align 8, !tbaa !9
  %206 = fdiv double %205, 4.520000e-01
  store double %206, ptr %11, align 8, !tbaa !9
  %207 = load double, ptr %7, align 8, !tbaa !9
  %208 = fmul double 5.000000e-01, %207
  %209 = 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 !40
  %210 = fmul double %208, %209
  %211 = 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 !40
  %212 = fmul double %210, %211
  %213 = fmul double %212, 4.000000e+00
  %214 = load i32, ptr %5, align 4, !tbaa !16
  %215 = sitofp i32 %214 to double
  %216 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 67
  %217 = getelementptr inbounds %class.powerDef, ptr %216, i32 0, i32 0
  %218 = getelementptr inbounds %class.powerComponents, ptr %217, i32 0, i32 0
  %219 = load double, ptr %218, align 8, !tbaa !41
  %220 = call double @llvm.fmuladd.f64(double %213, double %215, double %219)
  store double %220, ptr %218, align 8, !tbaa !41
  %221 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 22), align 8, !tbaa !42
  %222 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 19), align 8, !tbaa !43
  %223 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %224 = load i8, ptr %223, align 8, !tbaa !34, !range !35, !noundef !36
  %225 = trunc i8 %224 to i1
  %226 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %221, double noundef %222, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %225, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %227 = fmul double %226, 4.000000e+00
  %228 = load i32, ptr %5, align 4, !tbaa !16
  %229 = sitofp i32 %228 to double
  %230 = load double, ptr %12, align 8, !tbaa !9
  %231 = call double @llvm.fmuladd.f64(double %227, double %229, double %230)
  store double %231, ptr %12, align 8, !tbaa !9
  %232 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 22), align 8, !tbaa !42
  %233 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 19), align 8, !tbaa !43
  %234 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %235 = load i8, ptr %234, align 8, !tbaa !34, !range !35, !noundef !36
  %236 = trunc i8 %235 to i1
  %237 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %232, double noundef %233, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %236, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %238 = fmul double %237, 4.000000e+00
  %239 = load i32, ptr %5, align 4, !tbaa !16
  %240 = sitofp i32 %239 to double
  %241 = load double, ptr %13, align 8, !tbaa !9
  %242 = call double @llvm.fmuladd.f64(double %238, double %240, double %241)
  store double %242, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %243 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %244 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %245 = load i8, ptr %244, align 8, !tbaa !34, !range !35, !noundef !36
  %246 = trunc i8 %245 to i1
  %247 = call noundef double @_Z7tr_R_ondiibbb(double noundef %243, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %246, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %247, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %248 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 24), align 8, !tbaa !44
  %249 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %250 = load i8, ptr %249, align 8, !tbaa !34, !range !35, !noundef !36
  %251 = trunc i8 %250 to i1
  %252 = call noundef double @_Z7tr_R_ondiibbb(double noundef %248, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %251, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %252, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %253 = load i32, ptr %6, align 4, !tbaa !16
  %254 = sitofp i32 %253 to double
  %255 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %256 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %257 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %258 = load i8, ptr %257, align 8, !tbaa !34, !range !35, !noundef !36
  %259 = trunc i8 %258 to i1
  %260 = call noundef double @_Z8drain_C_diiidbbb(double noundef %255, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %256, i1 noundef zeroext %259, i1 noundef zeroext false, i1 noundef zeroext false)
  %261 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %262 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %263 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %264 = load i8, ptr %263, align 8, !tbaa !34, !range !35, !noundef !36
  %265 = trunc i8 %264 to i1
  %266 = call noundef double @_Z8drain_C_diiidbbb(double noundef %261, i32 noundef 1, i32 noundef 2, i32 noundef 1, double noundef %262, i1 noundef zeroext %265, i1 noundef zeroext false, i1 noundef zeroext false)
  %267 = fadd double %260, %266
  %268 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 23), align 8, !tbaa !45
  %269 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %270 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %271 = load i8, ptr %270, align 8, !tbaa !34, !range !35, !noundef !36
  %272 = trunc i8 %271 to i1
  %273 = call noundef double @_Z8drain_C_diiidbbb(double noundef %268, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %269, i1 noundef zeroext %272, i1 noundef zeroext false, i1 noundef zeroext false)
  %274 = call double @llvm.fmuladd.f64(double %254, double %267, double %273)
  %275 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 24), align 8, !tbaa !44
  %276 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %277 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %278 = load i8, ptr %277, align 8, !tbaa !34, !range !35, !noundef !36
  %279 = trunc i8 %278 to i1
  %280 = call noundef double @_Z8drain_C_diiidbbb(double noundef %275, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %276, i1 noundef zeroext %279, i1 noundef zeroext false, i1 noundef zeroext false)
  %281 = fadd double %274, %280
  store double %281, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %282 = load i32, ptr %6, align 4, !tbaa !16
  %283 = sitofp i32 %282 to double
  %284 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %285 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %286 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %287 = load i8, ptr %286, align 8, !tbaa !34, !range !35, !noundef !36
  %288 = trunc i8 %287 to i1
  %289 = call noundef double @_Z8drain_C_diiidbbb(double noundef %284, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %285, i1 noundef zeroext %288, i1 noundef zeroext false, i1 noundef zeroext false)
  %290 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %291 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %292 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %293 = load i8, ptr %292, align 8, !tbaa !34, !range !35, !noundef !36
  %294 = trunc i8 %293 to i1
  %295 = call noundef double @_Z8drain_C_diiidbbb(double noundef %290, i32 noundef 1, i32 noundef 2, i32 noundef 1, double noundef %291, i1 noundef zeroext %294, i1 noundef zeroext false, i1 noundef zeroext false)
  %296 = fadd double %289, %295
  %297 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 26), align 8, !tbaa !47
  %298 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !38
  %299 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %300 = load i8, ptr %299, align 8, !tbaa !34, !range !35, !noundef !36
  %301 = trunc i8 %300 to i1
  %302 = call noundef double @_Z8drain_C_diiidbbb(double noundef %297, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %298, i1 noundef zeroext %301, i1 noundef zeroext false, i1 noundef zeroext false)
  %303 = call double @llvm.fmuladd.f64(double %283, double %296, double %302)
  %304 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %305 = load i8, ptr %304, align 8, !tbaa !34, !range !35, !noundef !36
  %306 = trunc i8 %305 to i1
  %307 = call noundef double @_Z6gate_Cddbbb(double noundef 0.000000e+00, double noundef 0.000000e+00, i1 noundef zeroext %306, i1 noundef zeroext false, i1 noundef zeroext false)
  %308 = fadd double %303, %307
  store double %308, ptr %19, align 8, !tbaa !9
  %309 = load double, ptr %18, align 8, !tbaa !9
  %310 = fmul double 5.000000e-01, %309
  %311 = 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 !40
  %312 = fmul double %310, %311
  %313 = 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 !40
  %314 = fmul double %312, %313
  %315 = fmul double %314, 4.000000e+00
  %316 = load i32, ptr %5, align 4, !tbaa !16
  %317 = sitofp i32 %316 to double
  %318 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 67
  %319 = getelementptr inbounds %class.powerDef, ptr %318, i32 0, i32 0
  %320 = getelementptr inbounds %class.powerComponents, ptr %319, i32 0, i32 0
  %321 = load double, ptr %320, align 8, !tbaa !41
  %322 = call double @llvm.fmuladd.f64(double %315, double %317, double %321)
  store double %322, ptr %320, align 8, !tbaa !41
  %323 = load double, ptr %19, align 8, !tbaa !9
  %324 = 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 !40
  %325 = fmul double %323, %324
  %326 = 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 !40
  %327 = fmul double %325, %326
  %328 = load i32, ptr %5, align 4, !tbaa !16
  %329 = sub nsw i32 %328, 1
  %330 = sitofp i32 %329 to double
  %331 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 67
  %332 = getelementptr inbounds %class.powerDef, ptr %331, i32 0, i32 0
  %333 = getelementptr inbounds %class.powerComponents, ptr %332, i32 0, i32 0
  %334 = load double, ptr %333, align 8, !tbaa !41
  %335 = call double @llvm.fmuladd.f64(double %327, double %330, double %334)
  store double %335, ptr %333, align 8, !tbaa !41
  %336 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 24), align 8, !tbaa !44
  %337 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 23), align 8, !tbaa !45
  %338 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %339 = load i8, ptr %338, align 8, !tbaa !34, !range !35, !noundef !36
  %340 = trunc i8 %339 to i1
  %341 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %336, double noundef %337, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %340, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %342 = fmul double %341, 4.000000e+00
  %343 = load i32, ptr %5, align 4, !tbaa !16
  %344 = sitofp i32 %343 to double
  %345 = load double, ptr %12, align 8, !tbaa !9
  %346 = call double @llvm.fmuladd.f64(double %342, double %344, double %345)
  store double %346, ptr %12, align 8, !tbaa !9
  %347 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %348 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %349 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %350 = load i8, ptr %349, align 8, !tbaa !34, !range !35, !noundef !36
  %351 = trunc i8 %350 to i1
  %352 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %347, double noundef %348, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %351, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %353 = fmul double %352, 4.000000e+00
  %354 = load i32, ptr %5, align 4, !tbaa !16
  %355 = sitofp i32 %354 to double
  %356 = load double, ptr %12, align 8, !tbaa !9
  %357 = call double @llvm.fmuladd.f64(double %353, double %355, double %356)
  store double %357, ptr %12, align 8, !tbaa !9
  %358 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 24), align 8, !tbaa !44
  %359 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 23), align 8, !tbaa !45
  %360 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %361 = load i8, ptr %360, align 8, !tbaa !34, !range !35, !noundef !36
  %362 = trunc i8 %361 to i1
  %363 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %358, double noundef %359, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %362, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %364 = fmul double %363, 4.000000e+00
  %365 = load i32, ptr %5, align 4, !tbaa !16
  %366 = sitofp i32 %365 to double
  %367 = load double, ptr %13, align 8, !tbaa !9
  %368 = call double @llvm.fmuladd.f64(double %364, double %366, double %367)
  store double %368, ptr %13, align 8, !tbaa !9
  %369 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %370 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 25), align 8, !tbaa !46
  %371 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 55
  %372 = load i8, ptr %371, align 8, !tbaa !34, !range !35, !noundef !36
  %373 = trunc i8 %372 to i1
  %374 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %369, double noundef %370, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %373, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %375 = fmul double %374, 4.000000e+00
  %376 = load i32, ptr %5, align 4, !tbaa !16
  %377 = sitofp i32 %376 to double
  %378 = load double, ptr %13, align 8, !tbaa !9
  %379 = call double @llvm.fmuladd.f64(double %375, double %377, double %378)
  store double %379, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %380 = load double, ptr %17, align 8, !tbaa !9
  %381 = load double, ptr %18, align 8, !tbaa !9
  %382 = load double, ptr %16, align 8, !tbaa !9
  %383 = load double, ptr %17, align 8, !tbaa !9
  %384 = fadd double %382, %383
  %385 = load double, ptr %19, align 8, !tbaa !9
  %386 = fmul double %384, %385
  %387 = call double @llvm.fmuladd.f64(double %380, double %381, double %386)
  %388 = call double @log(double noundef 0x3FFD3273DAA0B362) #5
  %389 = fmul double %387, %388
  store double %389, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %390 = 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 !40
  %391 = load double, ptr %11, align 8, !tbaa !9
  %392 = fdiv double %390, %391
  store double %392, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %393 = load double, ptr %20, align 8, !tbaa !9
  %394 = 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 !40
  %395 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 10), align 8, !tbaa !48
  %396 = fsub double %394, %395
  %397 = fmul double 5.000000e-01, %396
  %398 = load double, ptr %21, align 8, !tbaa !9
  %399 = fdiv double %397, %398
  %400 = fcmp ole double %393, %399
  br i1 %400, label %401, label %441

401:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %402 = load double, ptr %21, align 8, !tbaa !9
  store double %402, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %403 = 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 !40
  %404 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 10), align 8, !tbaa !48
  %405 = fneg double %404
  %406 = call double @llvm.fmuladd.f64(double %403, double 4.520000e-01, double %405)
  %407 = fmul double 2.000000e+00, %406
  store double %407, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %408 = load double, ptr %20, align 8, !tbaa !9
  %409 = fmul double -2.000000e+00, %408
  %410 = 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 !40
  %411 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 10), align 8, !tbaa !48
  %412 = fsub double %410, %411
  %413 = load double, ptr %21, align 8, !tbaa !9
  %414 = fdiv double 1.000000e+00, %413
  %415 = 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 !40
  %416 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 10), align 8, !tbaa !48
  %417 = fneg double %416
  %418 = call double @llvm.fmuladd.f64(double %415, double 4.520000e-01, double %417)
  %419 = fmul double %414, %418
  %420 = 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 !40
  %421 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 10), align 8, !tbaa !48
  %422 = fneg double %421
  %423 = call double @llvm.fmuladd.f64(double %420, double 4.520000e-01, double %422)
  %424 = fmul double %419, %423
  %425 = call double @llvm.fmuladd.f64(double %409, double %412, double %424)
  store double %425, ptr %25, align 8, !tbaa !9
  %426 = load double, ptr %24, align 8, !tbaa !9
  %427 = fneg double %426
  %428 = load double, ptr %24, align 8, !tbaa !9
  %429 = load double, ptr %24, align 8, !tbaa !9
  %430 = load double, ptr %23, align 8, !tbaa !9
  %431 = fmul double 4.000000e+00, %430
  %432 = load double, ptr %25, align 8, !tbaa !9
  %433 = fmul double %431, %432
  %434 = fneg double %433
  %435 = call double @llvm.fmuladd.f64(double %428, double %429, double %434)
  %436 = call double @sqrt(double noundef %435) #5
  %437 = fadd double %427, %436
  %438 = load double, ptr %23, align 8, !tbaa !9
  %439 = fmul double 2.000000e+00, %438
  %440 = fdiv double %437, %439
  store double %440, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %455

441:                                              ; preds = %2
  %442 = load double, ptr %20, align 8, !tbaa !9
  %443 = 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 !40
  %444 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 10), align 8, !tbaa !48
  %445 = fadd double %443, %444
  %446 = load double, ptr %21, align 8, !tbaa !9
  %447 = fmul double 2.000000e+00, %446
  %448 = fdiv double %445, %447
  %449 = fadd double %442, %448
  %450 = 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 !40
  %451 = fmul double %450, 4.520000e-01
  %452 = load double, ptr %21, align 8, !tbaa !9
  %453 = fdiv double %451, %452
  %454 = fsub double %449, %453
  store double %454, ptr %22, align 8, !tbaa !9
  br label %455

455:                                              ; preds = %441, %401
  %456 = load double, ptr %22, align 8, !tbaa !9
  %457 = load double, ptr %10, align 8, !tbaa !9
  %458 = fadd double %456, %457
  %459 = load double, ptr %14, align 8, !tbaa !9
  %460 = fadd double %458, %459
  %461 = load double, ptr %15, align 8, !tbaa !9
  %462 = fadd double %460, %461
  %463 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 66
  store double %462, ptr %463, align 8, !tbaa !49
  %464 = load double, ptr %12, align 8, !tbaa !9
  %465 = 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 !40
  %466 = fmul double %464, %465
  %467 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 67
  %468 = getelementptr inbounds %class.powerDef, ptr %467, i32 0, i32 0
  %469 = getelementptr inbounds %class.powerComponents, ptr %468, i32 0, i32 1
  store double %466, ptr %469, align 8, !tbaa !50
  %470 = load double, ptr %13, align 8, !tbaa !9
  %471 = 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 !40
  %472 = fmul double %470, %471
  %473 = getelementptr inbounds %class.Mat, ptr %26, i32 0, i32 67
  %474 = getelementptr inbounds %class.powerDef, ptr %473, i32 0, i32 0
  %475 = getelementptr inbounds %class.powerComponents, ptr %474, i32 0, i32 2
  store double %472, ptr %475, align 8, !tbaa !51
  %476 = load double, ptr %22, align 8, !tbaa !9
  %477 = fdiv double %476, 0x3FDCED916872B020
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret double %477
}

declare noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef, double noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i32 noundef) #2

declare noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef, double noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i32 noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

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

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

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


; 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 local_unnamed_addr global %class.TechnologyParameter, align 8

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

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

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

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 #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3Mat24compute_comparator_delayEd(ptr nocapture noundef nonnull align 8 dereferenceable(3064) %0, double noundef %1) local_unnamed_addr #2 align 2 {
  %3 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 308
  %5 = load i32, ptr %4, align 4, !tbaa !9
  %6 = getelementptr inbounds i8, ptr %0, i64 280
  %7 = load ptr, ptr %6, align 8, !tbaa !15
  %8 = getelementptr inbounds i8, ptr %7, i64 4
  %9 = load i32, ptr %8, align 4, !tbaa !22
  %10 = sdiv i32 %9, 4
  %11 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 168), align 8, !tbaa !24
  %12 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 144), align 8, !tbaa !31
  %13 = fadd double %11, %12
  %14 = getelementptr inbounds i8, ptr %0, i64 2720
  %15 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %16 = trunc nuw i8 %15 to i1
  %17 = tail call noundef double @_Z6gate_Cddbbb(double noundef %13, double noundef 0.000000e+00, i1 noundef zeroext %16, i1 noundef zeroext false, i1 noundef zeroext false)
  %18 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 136), align 8, !tbaa !35
  %19 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %20 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %21 = trunc nuw i8 %20 to i1
  %22 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %18, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %19, i1 noundef zeroext %21, i1 noundef zeroext false, i1 noundef zeroext false)
  %23 = fadd double %17, %22
  %24 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 160), align 8, !tbaa !37
  %25 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %26 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %27 = trunc nuw i8 %26 to i1
  %28 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %24, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %25, i1 noundef zeroext %27, i1 noundef zeroext false, i1 noundef zeroext false)
  %29 = fadd double %23, %28
  %30 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 136), align 8, !tbaa !35
  %31 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %32 = trunc nuw i8 %31 to i1
  %33 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %30, i32 noundef 0, i32 noundef 1, i1 noundef zeroext %32, i1 noundef zeroext false, i1 noundef zeroext false)
  %34 = fmul double %29, %33
  %35 = tail call noundef double @_Z8horowitzddddi(double noundef %1, double noundef %34, double noundef 4.370000e-01, double noundef 4.370000e-01, i32 noundef 0)
  %36 = fdiv double %35, 4.370000e-01
  %37 = fmul double %29, 5.000000e-01
  %38 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !38
  %39 = fmul double %37, %38
  %40 = fmul double %38, %39
  %41 = fmul double %40, 4.000000e+00
  %42 = sitofp i32 %5 to double
  %43 = getelementptr inbounds i8, ptr %0, i64 2896
  %44 = load double, ptr %43, align 8, !tbaa !39
  %45 = tail call double @llvm.fmuladd.f64(double %41, double %42, double %44)
  store double %45, ptr %43, align 8, !tbaa !39
  %46 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 160), align 8, !tbaa !37
  %47 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 136), align 8, !tbaa !35
  %48 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %49 = trunc nuw i8 %48 to i1
  %50 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %46, double noundef %47, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %49, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %51 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 160), align 8, !tbaa !37
  %52 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 136), align 8, !tbaa !35
  %53 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %54 = trunc nuw i8 %53 to i1
  %55 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %51, double noundef %52, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %54, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %56 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 176), align 8, !tbaa !40
  %57 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 152), align 8, !tbaa !41
  %58 = fadd double %56, %57
  %59 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %60 = trunc nuw i8 %59 to i1
  %61 = tail call noundef double @_Z6gate_Cddbbb(double noundef %58, double noundef 0.000000e+00, i1 noundef zeroext %60, i1 noundef zeroext false, i1 noundef zeroext false)
  %62 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 144), align 8, !tbaa !31
  %63 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %64 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %65 = trunc nuw i8 %64 to i1
  %66 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %62, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %63, i1 noundef zeroext %65, i1 noundef zeroext false, i1 noundef zeroext false)
  %67 = fadd double %61, %66
  %68 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 168), align 8, !tbaa !24
  %69 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %70 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %71 = trunc nuw i8 %70 to i1
  %72 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %68, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %69, i1 noundef zeroext %71, i1 noundef zeroext false, i1 noundef zeroext false)
  %73 = fadd double %67, %72
  %74 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 168), align 8, !tbaa !24
  %75 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %76 = trunc nuw i8 %75 to i1
  %77 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %74, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %76, i1 noundef zeroext false, i1 noundef zeroext false)
  %78 = fmul double %73, %77
  %79 = tail call noundef double @_Z8horowitzddddi(double noundef %36, double noundef %78, double noundef 4.370000e-01, double noundef 4.370000e-01, i32 noundef 1)
  %80 = fdiv double %79, 5.630000e-01
  %81 = fmul double %73, 5.000000e-01
  %82 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !38
  %83 = fmul double %81, %82
  %84 = fmul double %82, %83
  %85 = fmul double %84, 4.000000e+00
  %86 = load double, ptr %43, align 8, !tbaa !39
  %87 = tail call double @llvm.fmuladd.f64(double %85, double %42, double %86)
  store double %87, ptr %43, align 8, !tbaa !39
  %88 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 168), align 8, !tbaa !24
  %89 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 144), align 8, !tbaa !31
  %90 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %91 = trunc nuw i8 %90 to i1
  %92 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %88, double noundef %89, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %91, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %93 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 168), align 8, !tbaa !24
  %94 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 144), align 8, !tbaa !31
  %95 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %96 = trunc nuw i8 %95 to i1
  %97 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %93, double noundef %94, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %96, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %98 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 192), align 8, !tbaa !42
  %99 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 184), align 8, !tbaa !43
  %100 = fadd double %98, %99
  %101 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %102 = trunc nuw i8 %101 to i1
  %103 = tail call noundef double @_Z6gate_Cddbbb(double noundef %100, double noundef 0.000000e+00, i1 noundef zeroext %102, i1 noundef zeroext false, i1 noundef zeroext false)
  %104 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 152), align 8, !tbaa !41
  %105 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %106 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %107 = trunc nuw i8 %106 to i1
  %108 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %104, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %105, i1 noundef zeroext %107, i1 noundef zeroext false, i1 noundef zeroext false)
  %109 = fadd double %103, %108
  %110 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 176), align 8, !tbaa !40
  %111 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %112 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %113 = trunc nuw i8 %112 to i1
  %114 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %110, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %111, i1 noundef zeroext %113, i1 noundef zeroext false, i1 noundef zeroext false)
  %115 = fadd double %109, %114
  %116 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 152), align 8, !tbaa !41
  %117 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %118 = trunc nuw i8 %117 to i1
  %119 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %116, i32 noundef 0, i32 noundef 1, i1 noundef zeroext %118, i1 noundef zeroext false, i1 noundef zeroext false)
  %120 = fmul double %115, %119
  %121 = tail call noundef double @_Z8horowitzddddi(double noundef %80, double noundef %120, double noundef 4.370000e-01, double noundef 4.520000e-01, i32 noundef 0)
  %122 = fdiv double %121, 4.520000e-01
  %123 = fmul double %115, 5.000000e-01
  %124 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !38
  %125 = fmul double %123, %124
  %126 = fmul double %124, %125
  %127 = fmul double %126, 4.000000e+00
  %128 = load double, ptr %43, align 8, !tbaa !39
  %129 = tail call double @llvm.fmuladd.f64(double %127, double %42, double %128)
  store double %129, ptr %43, align 8, !tbaa !39
  %130 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 176), align 8, !tbaa !40
  %131 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 152), align 8, !tbaa !41
  %132 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %133 = trunc nuw i8 %132 to i1
  %134 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %130, double noundef %131, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %133, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %135 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 176), align 8, !tbaa !40
  %136 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 152), align 8, !tbaa !41
  %137 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %138 = trunc nuw i8 %137 to i1
  %139 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %135, double noundef %136, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %138, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %140 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 200), align 8, !tbaa !44
  %141 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %142 = trunc nuw i8 %141 to i1
  %143 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %140, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %142, i1 noundef zeroext false, i1 noundef zeroext false)
  %144 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 192), align 8, !tbaa !42
  %145 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %146 = trunc nuw i8 %145 to i1
  %147 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %144, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %146, i1 noundef zeroext false, i1 noundef zeroext false)
  %148 = sitofp i32 %10 to double
  %149 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 200), align 8, !tbaa !44
  %150 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %151 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %152 = trunc nuw i8 %151 to i1
  %153 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %149, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %150, i1 noundef zeroext %152, i1 noundef zeroext false, i1 noundef zeroext false)
  %154 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 200), align 8, !tbaa !44
  %155 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %156 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %157 = trunc nuw i8 %156 to i1
  %158 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %154, i32 noundef 1, i32 noundef 2, i32 noundef 1, double noundef %155, i1 noundef zeroext %157, i1 noundef zeroext false, i1 noundef zeroext false)
  %159 = fadd double %153, %158
  %160 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 184), align 8, !tbaa !43
  %161 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %162 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %163 = trunc nuw i8 %162 to i1
  %164 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %160, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %161, i1 noundef zeroext %163, i1 noundef zeroext false, i1 noundef zeroext false)
  %165 = tail call double @llvm.fmuladd.f64(double %148, double %159, double %164)
  %166 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 192), align 8, !tbaa !42
  %167 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %168 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %169 = trunc nuw i8 %168 to i1
  %170 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %166, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %167, i1 noundef zeroext %169, i1 noundef zeroext false, i1 noundef zeroext false)
  %171 = fadd double %165, %170
  %172 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 200), align 8, !tbaa !44
  %173 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %174 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %175 = trunc nuw i8 %174 to i1
  %176 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %172, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %173, i1 noundef zeroext %175, i1 noundef zeroext false, i1 noundef zeroext false)
  %177 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 200), align 8, !tbaa !44
  %178 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %179 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %180 = trunc nuw i8 %179 to i1
  %181 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %177, i32 noundef 1, i32 noundef 2, i32 noundef 1, double noundef %178, i1 noundef zeroext %180, i1 noundef zeroext false, i1 noundef zeroext false)
  %182 = fadd double %176, %181
  %183 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 208), align 8, !tbaa !45
  %184 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !36
  %185 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %186 = trunc nuw i8 %185 to i1
  %187 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %183, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %184, i1 noundef zeroext %186, i1 noundef zeroext false, i1 noundef zeroext false)
  %188 = tail call double @llvm.fmuladd.f64(double %148, double %182, double %187)
  %189 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %190 = trunc nuw i8 %189 to i1
  %191 = tail call noundef double @_Z6gate_Cddbbb(double noundef 0.000000e+00, double noundef 0.000000e+00, i1 noundef zeroext %190, i1 noundef zeroext false, i1 noundef zeroext false)
  %192 = fadd double %188, %191
  %193 = fmul double %171, 5.000000e-01
  %194 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !38
  %195 = fmul double %193, %194
  %196 = fmul double %194, %195
  %197 = fmul double %196, 4.000000e+00
  %198 = load double, ptr %43, align 8, !tbaa !39
  %199 = tail call double @llvm.fmuladd.f64(double %197, double %42, double %198)
  %200 = fmul double %192, %194
  %201 = fmul double %194, %200
  %202 = add nsw i32 %5, -1
  %203 = sitofp i32 %202 to double
  %204 = tail call double @llvm.fmuladd.f64(double %201, double %203, double %199)
  store double %204, ptr %43, align 8, !tbaa !39
  %205 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 192), align 8, !tbaa !42
  %206 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 184), align 8, !tbaa !43
  %207 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %208 = trunc nuw i8 %207 to i1
  %209 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %205, double noundef %206, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %208, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %210 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 200), align 8, !tbaa !44
  %211 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %212 = trunc nuw i8 %211 to i1
  %213 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %210, double noundef %210, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %212, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %214 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 192), align 8, !tbaa !42
  %215 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 184), align 8, !tbaa !43
  %216 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %217 = trunc nuw i8 %216 to i1
  %218 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %214, double noundef %215, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %217, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %219 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 200), align 8, !tbaa !44
  %220 = load i8, ptr %14, align 8, !tbaa !32, !range !33, !noundef !34
  %221 = trunc nuw i8 %220 to i1
  %222 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %219, double noundef %219, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %221, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %223 = fadd double %143, %147
  %224 = fmul double %223, %192
  %225 = tail call double @llvm.fmuladd.f64(double %147, double %171, double %224)
  %226 = fmul double %225, 0x3FE33F52F7DF843C
  %227 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !46
  %228 = extractelement <2 x double> %227, i64 0
  %229 = fdiv double %228, %122
  %230 = extractelement <2 x double> %227, i64 1
  %231 = fsub double %228, %230
  %232 = fmul double %231, 5.000000e-01
  %233 = fdiv double %232, %229
  %234 = fcmp ugt double %226, %233
  br i1 %234, label %251, label %235

235:                                              ; preds = %2
  %236 = fneg double %230
  %237 = tail call double @llvm.fmuladd.f64(double %228, double 4.520000e-01, double %236)
  %238 = fmul double %237, 2.000000e+00
  %239 = fmul double %226, -2.000000e+00
  %240 = fdiv double 1.000000e+00, %229
  %241 = fmul double %240, %237
  %242 = fmul double %237, %241
  %243 = tail call double @llvm.fmuladd.f64(double %239, double %231, double %242)
  %244 = fmul double %229, -4.000000e+00
  %245 = fmul double %244, %243
  %246 = tail call double @llvm.fmuladd.f64(double %238, double %238, double %245)
  %247 = tail call double @sqrt(double noundef %246) #5
  %248 = fsub double %247, %238
  %249 = fmul double %229, 2.000000e+00
  %250 = fdiv double %248, %249
  %.pre = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !38
  br label %264

251:                                              ; preds = %2
  %252 = shufflevector <2 x double> %227, <2 x double> <double 4.520000e-01, double poison>, <2 x i32> <i32 2, i32 0>
  %253 = fadd <2 x double> %227, %252
  %254 = fmul <2 x double> %227, %252
  %255 = shufflevector <2 x double> %253, <2 x double> %254, <2 x i32> <i32 1, i32 2>
  %256 = fmul double %229, 2.000000e+00
  %257 = insertelement <2 x double> poison, double %256, i64 0
  %258 = insertelement <2 x double> %257, double %229, i64 1
  %259 = fdiv <2 x double> %255, %258
  %260 = extractelement <2 x double> %259, i64 0
  %261 = fadd double %226, %260
  %262 = extractelement <2 x double> %259, i64 1
  %263 = fsub double %261, %262
  br label %264

264:                                              ; preds = %251, %235
  %265 = phi double [ %.pre, %235 ], [ %228, %251 ]
  %.0 = phi double [ %250, %235 ], [ %263, %251 ]
  %266 = insertelement <2 x double> poison, double %213, i64 0
  %267 = insertelement <2 x double> %266, double %222, i64 1
  %268 = fmul <2 x double> %267, <double 4.000000e+00, double 4.000000e+00>
  %269 = insertelement <2 x double> poison, double %209, i64 0
  %270 = insertelement <2 x double> %269, double %218, i64 1
  %271 = fmul <2 x double> %270, <double 4.000000e+00, double 4.000000e+00>
  %272 = insertelement <2 x double> poison, double %134, i64 0
  %273 = insertelement <2 x double> %272, double %139, i64 1
  %274 = fmul <2 x double> %273, <double 4.000000e+00, double 4.000000e+00>
  %275 = insertelement <2 x double> poison, double %92, i64 0
  %276 = insertelement <2 x double> %275, double %97, i64 1
  %277 = fmul <2 x double> %276, <double 4.000000e+00, double 4.000000e+00>
  %278 = insertelement <2 x double> poison, double %50, i64 0
  %279 = insertelement <2 x double> %278, double %55, i64 1
  %280 = fmul <2 x double> %279, <double 4.000000e+00, double 4.000000e+00>
  %281 = fadd double %35, %.0
  %282 = fadd double %79, %281
  %283 = fadd double %121, %282
  %284 = getelementptr inbounds i8, ptr %0, i64 2888
  store double %283, ptr %284, align 8, !tbaa !47
  %285 = getelementptr inbounds i8, ptr %0, i64 2904
  %286 = insertelement <2 x double> poison, double %42, i64 0
  %287 = shufflevector <2 x double> %286, <2 x double> poison, <2 x i32> zeroinitializer
  %288 = fmul <2 x double> %280, %287
  %289 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %277, <2 x double> %287, <2 x double> %288)
  %290 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %274, <2 x double> %287, <2 x double> %289)
  %291 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %271, <2 x double> %287, <2 x double> %290)
  %292 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %268, <2 x double> %287, <2 x double> %291)
  %293 = insertelement <2 x double> poison, double %265, i64 0
  %294 = shufflevector <2 x double> %293, <2 x double> poison, <2 x i32> zeroinitializer
  %295 = fmul <2 x double> %292, %294
  store <2 x double> %295, ptr %285, align 8, !tbaa !46
  %296 = fdiv double %.0, 0x3FDCED916872B020
  ret double %296
}

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 308}
!10 = !{!"_ZTS14InputParameter", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !13, i64 48, !13, i64 56, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !12, i64 84, !12, i64 85, !12, i64 86, !12, i64 87, !12, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !14, i64 152, !11, i64 156, !12, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !11, i64 240, !11, i64 244, !11, i64 248, !11, i64 252, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !11, i64 292, !11, i64 296, !12, i64 300, !11, i64 304, !11, i64 308, !11, i64 312, !12, i64 316, !12, i64 317, !11, i64 320, !11, i64 324, !12, i64 328, !13, i64 336, !13, i64 344, !12, i64 352, !11, i64 356, !11, i64 360, !12, i64 364}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS9Wire_type", !7, i64 0}
!15 = !{!16, !6, i64 280}
!16 = !{!"_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, !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, !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, !19, i64 2288, !19, i64 2408, !19, i64 2528, !13, i64 2648, !11, i64 2656, !11, i64 2660, !13, i64 2664, !18, i64 2672, !18, i64 2696, !12, i64 2720, !12, i64 2721, !12, i64 2722, !12, i64 2723, !11, i64 2724, !19, i64 2728, !13, i64 2848, !13, i64 2856, !13, i64 2864, !13, i64 2872, !13, i64 2880, !13, i64 2888, !19, i64 2896, !11, i64 3016, !11, i64 3020, !11, i64 3024, !11, i64 3028, !13, i64 3032, !11, i64 3040, !11, i64 3044, !11, i64 3048, !11, i64 3052, !11, i64 3056, !11, i64 3060}
!17 = !{!"_ZTS9Component", !18, i64 0, !19, i64 24, !19, i64 144, !13, i64 264, !13, i64 272}
!18 = !{!"_ZTS4Area", !13, i64 0, !13, i64 8, !13, i64 16}
!19 = !{!"_ZTS8powerDef", !20, i64 0, !20, i64 40, !20, i64 80}
!20 = !{!"_ZTS15powerComponents", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!21 = !{!"_ZTS8Subarray", !17, i64 0, !6, i64 280, !11, i64 288, !11, i64 292, !11, i64 296, !11, i64 300, !18, i64 304, !18, i64 328, !12, 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 = !{!23, !11, i64 4}
!23 = !{!"_ZTS16DynamicParameter", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !11, i64 4, !11, i64 8, !11, i64 12, !13, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !12, i64 120, !13, i64 128, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !13, i64 176, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !12, i64 212, !18, i64 216, !18, i64 240, !12, i64 264}
!24 = !{!25, !13, i64 168}
!25 = !{!"_ZTS19TechnologyParameter", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !26, i64 352, !27, i64 360, !27, i64 528, !27, i64 696, !27, i64 864, !27, i64 1032, !28, i64 1200, !28, i64 1264, !28, i64 1328, !29, i64 1392, !30, i64 1416, !30, i64 1464, !30, i64 1512}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160}
!28 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56}
!29 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !13, i64 0, !13, i64 8, !13, i64 16}
!30 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!31 = !{!25, !13, i64 144}
!32 = !{!16, !12, i64 2720}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = !{!25, !13, i64 136}
!36 = !{!25, !13, i64 312}
!37 = !{!25, !13, i64 160}
!38 = !{!25, !13, i64 936}
!39 = !{!16, !13, i64 2896}
!40 = !{!25, !13, i64 176}
!41 = !{!25, !13, i64 152}
!42 = !{!25, !13, i64 192}
!43 = !{!25, !13, i64 184}
!44 = !{!25, !13, i64 200}
!45 = !{!25, !13, i64 208}
!46 = !{!13, !13, i64 0}
!47 = !{!16, !13, i64 2888}


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