; LLVM IR from gem5/gem5 :: ext/mcpat/cacti/wire.ll (ZN4Wire15low_swing_modelEv)

; 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.Wire = type { %class.Component, i32, double, double, i32, double, double, double, double, double, i32, double, double, double, %"class.std::__cxx11::list", %class.Component, %class.Component, %class.Component, double, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<Component, std::allocator<Component>>::_List_impl" }
%"struct.std::__cxx11::_List_base<Component, std::allocator<Component>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%class.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { double, double, double }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Wire15low_swing_modelEv(ptr noundef nonnull align 8 dereferenceable(1264) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca double, 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
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %18 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 7
  %19 = load double, ptr %18, align 8, !tbaa !9
  store double %19, ptr %3, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %20 = call noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext false, i1 noundef zeroext false)
  store double %20, ptr %4, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %21 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 8
  %22 = load double, ptr %21, align 8, !tbaa !26
  %23 = fcmp oeq double %22, 0.000000e+00
  br i1 %23, label %24, label %26

24:                                               ; preds = %1
  %25 = call noundef double @_ZN4Wire16signal_rise_timeEv(ptr noundef nonnull align 8 dereferenceable(1264) %17)
  br label %29

26:                                               ; preds = %1
  %27 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 8
  %28 = load double, ptr %27, align 8, !tbaa !26
  br label %29

29:                                               ; preds = %26, %24
  %30 = phi double [ %25, %24 ], [ %28, %26 ]
  store double %30, ptr %5, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %31 = load double, ptr %3, align 8, !tbaa !25
  %32 = call noundef double @_ZN4Wire8wire_capEdb(ptr noundef nonnull align 8 dereferenceable(1264) %17, double noundef %31, i1 noundef zeroext false)
  store double %32, ptr %6, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %33 = load double, ptr %3, align 8, !tbaa !25
  %34 = call noundef double @_ZN4Wire8wire_resEd(ptr noundef nonnull align 8 dereferenceable(1264) %17, double noundef %33)
  store double %34, ptr %7, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %35 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 5), align 8, !tbaa !27
  %36 = fmul double -8.000000e+00, %35
  %37 = call double @log(double noundef 5.000000e-01) #6
  %38 = load double, ptr %6, align 8, !tbaa !25
  %39 = fmul double %37, %38
  %40 = fdiv double %36, %39
  %41 = fdiv double %40, 8.600000e+00
  store double %41, ptr %8, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %42 = load double, ptr %8, align 8, !tbaa !25
  %43 = call noundef double @_Z6R_to_wdibbb(double noundef %42, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %43, ptr %9, align 8, !tbaa !25
  %44 = load double, ptr %9, align 8, !tbaa !25
  %45 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 2), align 8, !tbaa !33
  %46 = fcmp olt double %44, %45
  br i1 %46, label %47, label %49

47:                                               ; preds = %29
  %48 = load double, ptr %9, align 8, !tbaa !25
  br label %51

49:                                               ; preds = %29
  %50 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 2), align 8, !tbaa !33
  br label %51

51:                                               ; preds = %49, %47
  %52 = phi double [ %48, %47 ], [ %50, %49 ]
  store double %52, ptr %9, align 8, !tbaa !25
  %53 = load double, ptr %9, align 8, !tbaa !25
  %54 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %55 = fcmp ogt double %53, %54
  br i1 %55, label %56, label %58

56:                                               ; preds = %51
  %57 = load double, ptr %9, align 8, !tbaa !25
  br label %60

58:                                               ; preds = %51
  %59 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  br label %60

60:                                               ; preds = %58, %56
  %61 = phi double [ %57, %56 ], [ %59, %58 ]
  store double %61, ptr %9, align 8, !tbaa !25
  %62 = load double, ptr %7, align 8, !tbaa !25
  %63 = load double, ptr %6, align 8, !tbaa !25
  %64 = fmul double %62, %63
  %65 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 5), align 8, !tbaa !27
  %66 = fmul double 8.000000e+00, %65
  %67 = fcmp ogt double %64, %66
  br i1 %67, label %68, label %70

68:                                               ; preds = %60
  %69 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 2), align 8, !tbaa !33
  store double %69, ptr %9, align 8, !tbaa !25
  br label %70

70:                                               ; preds = %68, %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %71 = load double, ptr %4, align 8, !tbaa !25
  %72 = fdiv double %71, 1.000000e+00
  %73 = fadd double 2.000000e+00, %72
  %74 = load double, ptr %4, align 8, !tbaa !25
  %75 = fadd double %73, %74
  %76 = load double, ptr %9, align 8, !tbaa !25
  %77 = call noundef double @_Z6gate_Cddbbb(double noundef %76, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %78 = fmul double %75, %77
  %79 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %80 = fmul double 2.000000e+00, %79
  %81 = call noundef double @_Z6gate_Cddbbb(double noundef %80, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %82 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %83 = load double, ptr %82, align 8, !tbaa !35
  %84 = fmul double 2.000000e+00, %83
  %85 = call noundef double @_Z6gate_Cddbbb(double noundef %84, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %86 = fadd double %81, %85
  %87 = fdiv double %78, %86
  %88 = call double @sqrt(double noundef %87) #6
  store double %88, ptr %10, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %89 = load double, ptr %4, align 8, !tbaa !25
  %90 = fdiv double %89, 1.000000e+00
  %91 = fadd double 2.000000e+00, %90
  %92 = load double, ptr %4, align 8, !tbaa !25
  %93 = fadd double %91, %92
  %94 = load double, ptr %9, align 8, !tbaa !25
  %95 = call noundef double @_Z6gate_Cddbbb(double noundef %94, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %96 = fmul double %93, %95
  %97 = load double, ptr %10, align 8, !tbaa !25
  %98 = fdiv double %96, %97
  store double %98, ptr %11, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %99 = load double, ptr %11, align 8, !tbaa !25
  %100 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %101 = load double, ptr %100, align 8, !tbaa !35
  %102 = call noundef double @_Z6gate_Cddbbb(double noundef %101, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %103 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %104 = call noundef double @_Z6gate_Cddbbb(double noundef %103, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %105 = fadd double %102, %104
  %106 = fdiv double %99, %105
  store double %106, ptr %12, align 8, !tbaa !25
  %107 = load double, ptr %12, align 8, !tbaa !25
  %108 = fcmp ogt double %107, 1.000000e+00
  br i1 %108, label %109, label %111

109:                                              ; preds = %70
  %110 = load double, ptr %12, align 8, !tbaa !25
  br label %112

111:                                              ; preds = %70
  br label %112

112:                                              ; preds = %111, %109
  %113 = phi double [ %110, %109 ], [ 1.000000e+00, %111 ]
  store double %113, ptr %12, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %114 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %115 = call noundef double @_Z7tr_R_ondiibbb(double noundef %114, i32 noundef 1, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %116 = fmul double 2.000000e+00, %115
  store double %116, ptr %13, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %117 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %118 = load double, ptr %117, align 8, !tbaa !35
  %119 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !36
  %120 = call noundef double @_Z8drain_C_diiidbbb(double noundef %118, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %119, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %121 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %122 = fmul double 2.000000e+00, %121
  %123 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !36
  %124 = call noundef double @_Z8drain_C_diiidbbb(double noundef %122, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %123, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %125 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %120, double %124)
  %126 = load double, ptr %12, align 8, !tbaa !25
  %127 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %128 = fmul double %126, %127
  %129 = call noundef double @_Z6gate_Cddbbb(double noundef %128, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %130 = fadd double %125, %129
  %131 = load double, ptr %12, align 8, !tbaa !25
  %132 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %133 = load double, ptr %132, align 8, !tbaa !35
  %134 = fmul double %131, %133
  %135 = call noundef double @_Z6gate_Cddbbb(double noundef %134, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %136 = fadd double %130, %135
  store double %136, ptr %14, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %137 = load double, ptr %13, align 8, !tbaa !25
  %138 = load double, ptr %14, align 8, !tbaa !25
  %139 = fmul double %137, %138
  store double %139, ptr %15, align 8, !tbaa !25
  %140 = load double, ptr %5, align 8, !tbaa !25
  %141 = load double, ptr %15, align 8, !tbaa !25
  %142 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %143 = load ptr, ptr %142, align 8, !tbaa !37
  %144 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %143, i32 0, i32 10
  %145 = load double, ptr %144, align 8, !tbaa !38
  %146 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %147 = load ptr, ptr %146, align 8, !tbaa !37
  %148 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %147, i32 0, i32 9
  %149 = load double, ptr %148, align 8, !tbaa !39
  %150 = fdiv double %145, %149
  %151 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %152 = load ptr, ptr %151, align 8, !tbaa !37
  %153 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %152, i32 0, i32 10
  %154 = load double, ptr %153, align 8, !tbaa !38
  %155 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %156 = load ptr, ptr %155, align 8, !tbaa !37
  %157 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %156, i32 0, i32 9
  %158 = load double, ptr %157, align 8, !tbaa !39
  %159 = fdiv double %154, %158
  %160 = call noundef double @_Z8horowitzddddi(double noundef %140, double noundef %141, double noundef %150, double noundef %159, i32 noundef 1)
  %161 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 3
  store double %160, ptr %161, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %162 = load double, ptr %14, align 8, !tbaa !25
  %163 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %164 = load ptr, ptr %163, align 8, !tbaa !37
  %165 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %164, i32 0, i32 9
  %166 = load double, ptr %165, align 8, !tbaa !39
  %167 = fmul double %162, %166
  %168 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %169 = load ptr, ptr %168, align 8, !tbaa !37
  %170 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %169, i32 0, i32 9
  %171 = load double, ptr %170, align 8, !tbaa !39
  %172 = fmul double %167, %171
  store double %172, ptr %16, align 8, !tbaa !25
  %173 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 3
  %174 = load double, ptr %173, align 8, !tbaa !40
  %175 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %176 = load ptr, ptr %175, align 8, !tbaa !37
  %177 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %176, i32 0, i32 9
  %178 = load double, ptr %177, align 8, !tbaa !39
  %179 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %180 = load ptr, ptr %179, align 8, !tbaa !37
  %181 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %180, i32 0, i32 10
  %182 = load double, ptr %181, align 8, !tbaa !38
  %183 = fsub double %178, %182
  %184 = fdiv double %174, %183
  store double %184, ptr %5, align 8, !tbaa !25
  %185 = load double, ptr %12, align 8, !tbaa !25
  %186 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %187 = load double, ptr %186, align 8, !tbaa !35
  %188 = fmul double %185, %187
  %189 = call noundef double @_Z7tr_R_ondiibbb(double noundef %188, i32 noundef 0, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %189, ptr %13, align 8, !tbaa !25
  %190 = load double, ptr %12, align 8, !tbaa !25
  %191 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %192 = load double, ptr %191, align 8, !tbaa !35
  %193 = fmul double %190, %192
  %194 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !36
  %195 = call noundef double @_Z8drain_C_diiidbbb(double noundef %193, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %194, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %196 = load double, ptr %12, align 8, !tbaa !25
  %197 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %198 = fmul double %196, %197
  %199 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !36
  %200 = call noundef double @_Z8drain_C_diiidbbb(double noundef %198, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %199, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %201 = fadd double %195, %200
  %202 = load double, ptr %9, align 8, !tbaa !25
  %203 = call noundef double @_Z6gate_Cddbbb(double noundef %202, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %204 = fadd double %201, %203
  store double %204, ptr %14, align 8, !tbaa !25
  %205 = load double, ptr %13, align 8, !tbaa !25
  %206 = load double, ptr %14, align 8, !tbaa !25
  %207 = fmul double %205, %206
  store double %207, ptr %15, align 8, !tbaa !25
  %208 = load double, ptr %5, align 8, !tbaa !25
  %209 = load double, ptr %15, align 8, !tbaa !25
  %210 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %211 = load ptr, ptr %210, align 8, !tbaa !37
  %212 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %211, i32 0, i32 10
  %213 = load double, ptr %212, align 8, !tbaa !38
  %214 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %215 = load ptr, ptr %214, align 8, !tbaa !37
  %216 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %215, i32 0, i32 9
  %217 = load double, ptr %216, align 8, !tbaa !39
  %218 = fdiv double %213, %217
  %219 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %220 = load ptr, ptr %219, align 8, !tbaa !37
  %221 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %220, i32 0, i32 10
  %222 = load double, ptr %221, align 8, !tbaa !38
  %223 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %224 = load ptr, ptr %223, align 8, !tbaa !37
  %225 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %224, i32 0, i32 9
  %226 = load double, ptr %225, align 8, !tbaa !39
  %227 = fdiv double %222, %226
  %228 = call noundef double @_Z8horowitzddddi(double noundef %208, double noundef %209, double noundef %218, double noundef %227, i32 noundef 0)
  %229 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 3
  %230 = load double, ptr %229, align 8, !tbaa !40
  %231 = fadd double %230, %228
  store double %231, ptr %229, align 8, !tbaa !40
  %232 = load double, ptr %14, align 8, !tbaa !25
  %233 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %234 = load ptr, ptr %233, align 8, !tbaa !37
  %235 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %234, i32 0, i32 9
  %236 = load double, ptr %235, align 8, !tbaa !39
  %237 = fmul double %232, %236
  %238 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %239 = load ptr, ptr %238, align 8, !tbaa !37
  %240 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %239, i32 0, i32 9
  %241 = load double, ptr %240, align 8, !tbaa !39
  %242 = load double, ptr %16, align 8, !tbaa !25
  %243 = call double @llvm.fmuladd.f64(double %237, double %241, double %242)
  store double %243, ptr %16, align 8, !tbaa !25
  %244 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 3
  %245 = load double, ptr %244, align 8, !tbaa !40
  %246 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 15
  %247 = getelementptr inbounds %class.Component, ptr %246, i32 0, i32 3
  store double %245, ptr %247, align 8, !tbaa !41
  %248 = load double, ptr %16, align 8, !tbaa !25
  %249 = fmul double %248, 2.000000e+00
  %250 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 15
  %251 = getelementptr inbounds %class.Component, ptr %250, i32 0, i32 1
  %252 = getelementptr inbounds %class.powerDef, ptr %251, i32 0, i32 0
  %253 = getelementptr inbounds %class.powerComponents, ptr %252, i32 0, i32 0
  store double %249, ptr %253, align 8, !tbaa !42
  %254 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %255 = load ptr, ptr %254, align 8, !tbaa !37
  %256 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %255, i32 0, i32 9
  %257 = load double, ptr %256, align 8, !tbaa !39
  %258 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %259 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %260 = load double, ptr %259, align 8, !tbaa !35
  %261 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %258, double noundef %260, i32 noundef 2, i32 noundef 3, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %262 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %263 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %264 = load double, ptr %263, align 8, !tbaa !35
  %265 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %262, double noundef %264, i32 noundef 1, i32 noundef 2, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %266 = fmul double 4.000000e+00, %265
  %267 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %261, double %266)
  %268 = fmul double %257, %267
  %269 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 15
  %270 = getelementptr inbounds %class.Component, ptr %269, i32 0, i32 1
  %271 = getelementptr inbounds %class.powerDef, ptr %270, i32 0, i32 0
  %272 = getelementptr inbounds %class.powerComponents, ptr %271, i32 0, i32 1
  store double %268, ptr %272, align 8, !tbaa !43
  %273 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %274 = load ptr, ptr %273, align 8, !tbaa !37
  %275 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %274, i32 0, i32 9
  %276 = load double, ptr %275, align 8, !tbaa !39
  %277 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %278 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %279 = load double, ptr %278, align 8, !tbaa !35
  %280 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %277, double noundef %279, i32 noundef 2, i32 noundef 3, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %281 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !34
  %282 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 18
  %283 = load double, ptr %282, align 8, !tbaa !35
  %284 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %281, double noundef %283, i32 noundef 1, i32 noundef 2, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %285 = fmul double 4.000000e+00, %284
  %286 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %280, double %285)
  %287 = fmul double %276, %286
  %288 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 15
  %289 = getelementptr inbounds %class.Component, ptr %288, i32 0, i32 1
  %290 = getelementptr inbounds %class.powerDef, ptr %289, i32 0, i32 0
  %291 = getelementptr inbounds %class.powerComponents, ptr %290, i32 0, i32 2
  store double %287, ptr %291, align 8, !tbaa !44
  %292 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 3
  %293 = load double, ptr %292, align 8, !tbaa !40
  %294 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %295 = load ptr, ptr %294, align 8, !tbaa !37
  %296 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %295, i32 0, i32 10
  %297 = load double, ptr %296, align 8, !tbaa !38
  %298 = fdiv double %293, %297
  store double %298, ptr %5, align 8, !tbaa !25
  %299 = load double, ptr %6, align 8, !tbaa !25
  %300 = load double, ptr %9, align 8, !tbaa !25
  %301 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !36
  %302 = call noundef double @_Z8drain_C_diiidbbb(double noundef %300, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %301, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %303 = call double @llvm.fmuladd.f64(double %302, double 2.000000e+00, double %299)
  %304 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 10
  %305 = load i32, ptr %304, align 8, !tbaa !45
  %306 = sitofp i32 %305 to double
  %307 = call noundef double @_ZN4Wire19sense_amp_input_capEv(ptr noundef nonnull align 8 dereferenceable(1264) %17)
  %308 = call double @llvm.fmuladd.f64(double %306, double %307, double %303)
  store double %308, ptr %14, align 8, !tbaa !25
  %309 = load double, ptr %9, align 8, !tbaa !25
  %310 = call noundef double @_Z7tr_R_ondiibbb(double noundef %309, i32 noundef 1, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %311 = fmul double %310, 8.600000e+00
  %312 = load double, ptr %6, align 8, !tbaa !25
  %313 = load double, ptr %9, align 8, !tbaa !25
  %314 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !36
  %315 = call noundef double @_Z8drain_C_diiidbbb(double noundef %313, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %314, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %316 = call double @llvm.fmuladd.f64(double %315, double 2.000000e+00, double %312)
  %317 = load double, ptr %7, align 8, !tbaa !25
  %318 = load double, ptr %6, align 8, !tbaa !25
  %319 = fmul double %317, %318
  %320 = fdiv double %319, 2.000000e+00
  %321 = call double @llvm.fmuladd.f64(double %311, double %316, double %320)
  %322 = load double, ptr %9, align 8, !tbaa !25
  %323 = call noundef double @_Z7tr_R_ondiibbb(double noundef %322, i32 noundef 1, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %324 = load double, ptr %7, align 8, !tbaa !25
  %325 = call double @llvm.fmuladd.f64(double %323, double 8.600000e+00, double %324)
  %326 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 10
  %327 = load i32, ptr %326, align 8, !tbaa !45
  %328 = sitofp i32 %327 to double
  %329 = fmul double %325, %328
  %330 = call noundef double @_ZN4Wire19sense_amp_input_capEv(ptr noundef nonnull align 8 dereferenceable(1264) %17)
  %331 = call double @llvm.fmuladd.f64(double %329, double %330, double %321)
  store double %331, ptr %15, align 8, !tbaa !25
  %332 = load double, ptr %5, align 8, !tbaa !25
  %333 = load double, ptr %15, align 8, !tbaa !25
  %334 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %335 = load ptr, ptr %334, align 8, !tbaa !37
  %336 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %335, i32 0, i32 10
  %337 = load double, ptr %336, align 8, !tbaa !38
  %338 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %339 = load ptr, ptr %338, align 8, !tbaa !37
  %340 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %339, i32 0, i32 9
  %341 = load double, ptr %340, align 8, !tbaa !39
  %342 = fdiv double %337, %341
  %343 = call noundef double @_Z8horowitzddddi(double noundef %332, double noundef %333, double noundef %342, double noundef 2.500000e-01, i32 noundef 0)
  %344 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 3
  %345 = load double, ptr %344, align 8, !tbaa !40
  %346 = fadd double %345, %343
  store double %346, ptr %344, align 8, !tbaa !40
  %347 = load double, ptr %14, align 8, !tbaa !25
  %348 = fmul double %347, 1.000000e-01
  %349 = load double, ptr %16, align 8, !tbaa !25
  %350 = call double @llvm.fmuladd.f64(double %348, double 4.000000e-01, double %349)
  store double %350, ptr %16, align 8, !tbaa !25
  %351 = load double, ptr %16, align 8, !tbaa !25
  %352 = fmul double %351, 2.000000e+00
  store double %352, ptr %16, align 8, !tbaa !25
  %353 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 3
  %354 = load double, ptr %353, align 8, !tbaa !40
  %355 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 15
  %356 = getelementptr inbounds %class.Component, ptr %355, i32 0, i32 3
  %357 = load double, ptr %356, align 8, !tbaa !41
  %358 = fsub double %354, %357
  %359 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 16
  %360 = getelementptr inbounds %class.Component, ptr %359, i32 0, i32 3
  store double %358, ptr %360, align 8, !tbaa !46
  %361 = load double, ptr %16, align 8, !tbaa !25
  %362 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 15
  %363 = getelementptr inbounds %class.Component, ptr %362, i32 0, i32 1
  %364 = getelementptr inbounds %class.powerDef, ptr %363, i32 0, i32 0
  %365 = getelementptr inbounds %class.powerComponents, ptr %364, i32 0, i32 0
  %366 = load double, ptr %365, align 8, !tbaa !42
  %367 = fsub double %361, %366
  %368 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 16
  %369 = getelementptr inbounds %class.Component, ptr %368, i32 0, i32 1
  %370 = getelementptr inbounds %class.powerDef, ptr %369, i32 0, i32 0
  %371 = getelementptr inbounds %class.powerComponents, ptr %370, i32 0, i32 0
  store double %367, ptr %371, align 8, !tbaa !47
  %372 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %373 = load ptr, ptr %372, align 8, !tbaa !37
  %374 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %373, i32 0, i32 9
  %375 = load double, ptr %374, align 8, !tbaa !39
  %376 = load double, ptr %9, align 8, !tbaa !25
  %377 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %376, double noundef 0.000000e+00, i32 noundef 1, i32 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %378 = fmul double 4.000000e+00, %377
  %379 = fmul double %375, %378
  %380 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 16
  %381 = getelementptr inbounds %class.Component, ptr %380, i32 0, i32 1
  %382 = getelementptr inbounds %class.powerDef, ptr %381, i32 0, i32 0
  %383 = getelementptr inbounds %class.powerComponents, ptr %382, i32 0, i32 1
  store double %379, ptr %383, align 8, !tbaa !48
  %384 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %385 = load ptr, ptr %384, align 8, !tbaa !37
  %386 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %385, i32 0, i32 9
  %387 = load double, ptr %386, align 8, !tbaa !39
  %388 = load double, ptr %9, align 8, !tbaa !25
  %389 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %388, double noundef 0.000000e+00, i32 noundef 1, i32 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %390 = fmul double 4.000000e+00, %389
  %391 = fmul double %387, %390
  %392 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 16
  %393 = getelementptr inbounds %class.Component, ptr %392, i32 0, i32 1
  %394 = getelementptr inbounds %class.powerDef, ptr %393, i32 0, i32 0
  %395 = getelementptr inbounds %class.powerComponents, ptr %394, i32 0, i32 2
  store double %391, ptr %395, align 8, !tbaa !49
  %396 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 11), align 8, !tbaa !50
  %397 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 3
  %398 = load double, ptr %397, align 8, !tbaa !40
  %399 = fadd double %398, %396
  store double %399, ptr %397, align 8, !tbaa !40
  %400 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 11), align 8, !tbaa !50
  %401 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 17
  %402 = getelementptr inbounds %class.Component, ptr %401, i32 0, i32 3
  store double %400, ptr %402, align 8, !tbaa !51
  %403 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 11), align 8, !tbaa !50
  %404 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 19
  %405 = load ptr, ptr %404, align 8, !tbaa !37
  %406 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %405, i32 0, i32 10
  %407 = load double, ptr %406, align 8, !tbaa !38
  %408 = fdiv double %403, %407
  %409 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 9
  store double %408, ptr %409, align 8, !tbaa !52
  %410 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 12), align 8, !tbaa !53
  %411 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 17
  %412 = getelementptr inbounds %class.Component, ptr %411, i32 0, i32 1
  %413 = getelementptr inbounds %class.powerDef, ptr %412, i32 0, i32 0
  %414 = getelementptr inbounds %class.powerComponents, ptr %413, i32 0, i32 0
  store double %410, ptr %414, align 8, !tbaa !54
  %415 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 17
  %416 = getelementptr inbounds %class.Component, ptr %415, i32 0, i32 1
  %417 = getelementptr inbounds %class.powerDef, ptr %416, i32 0, i32 0
  %418 = getelementptr inbounds %class.powerComponents, ptr %417, i32 0, i32 1
  store double 0.000000e+00, ptr %418, align 8, !tbaa !55
  %419 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 17
  %420 = getelementptr inbounds %class.Component, ptr %419, i32 0, i32 1
  %421 = getelementptr inbounds %class.powerDef, ptr %420, i32 0, i32 0
  %422 = getelementptr inbounds %class.powerComponents, ptr %421, i32 0, i32 2
  store double 0.000000e+00, ptr %422, align 8, !tbaa !56
  %423 = load double, ptr %16, align 8, !tbaa !25
  %424 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 17
  %425 = getelementptr inbounds %class.Component, ptr %424, i32 0, i32 1
  %426 = getelementptr inbounds %class.powerDef, ptr %425, i32 0, i32 0
  %427 = getelementptr inbounds %class.powerComponents, ptr %426, i32 0, i32 0
  %428 = load double, ptr %427, align 8, !tbaa !54
  %429 = fadd double %423, %428
  %430 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 1
  %431 = getelementptr inbounds %class.powerDef, ptr %430, i32 0, i32 0
  %432 = getelementptr inbounds %class.powerComponents, ptr %431, i32 0, i32 0
  store double %429, ptr %432, align 8, !tbaa !57
  %433 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 15
  %434 = getelementptr inbounds %class.Component, ptr %433, i32 0, i32 1
  %435 = getelementptr inbounds %class.powerDef, ptr %434, i32 0, i32 0
  %436 = getelementptr inbounds %class.powerComponents, ptr %435, i32 0, i32 1
  %437 = load double, ptr %436, align 8, !tbaa !43
  %438 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 16
  %439 = getelementptr inbounds %class.Component, ptr %438, i32 0, i32 1
  %440 = getelementptr inbounds %class.powerDef, ptr %439, i32 0, i32 0
  %441 = getelementptr inbounds %class.powerComponents, ptr %440, i32 0, i32 1
  %442 = load double, ptr %441, align 8, !tbaa !48
  %443 = fadd double %437, %442
  %444 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 17
  %445 = getelementptr inbounds %class.Component, ptr %444, i32 0, i32 1
  %446 = getelementptr inbounds %class.powerDef, ptr %445, i32 0, i32 0
  %447 = getelementptr inbounds %class.powerComponents, ptr %446, i32 0, i32 1
  %448 = load double, ptr %447, align 8, !tbaa !55
  %449 = fadd double %443, %448
  %450 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 1
  %451 = getelementptr inbounds %class.powerDef, ptr %450, i32 0, i32 0
  %452 = getelementptr inbounds %class.powerComponents, ptr %451, i32 0, i32 1
  store double %449, ptr %452, align 8, !tbaa !58
  %453 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 15
  %454 = getelementptr inbounds %class.Component, ptr %453, i32 0, i32 1
  %455 = getelementptr inbounds %class.powerDef, ptr %454, i32 0, i32 0
  %456 = getelementptr inbounds %class.powerComponents, ptr %455, i32 0, i32 2
  %457 = load double, ptr %456, align 8, !tbaa !44
  %458 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 16
  %459 = getelementptr inbounds %class.Component, ptr %458, i32 0, i32 1
  %460 = getelementptr inbounds %class.powerDef, ptr %459, i32 0, i32 0
  %461 = getelementptr inbounds %class.powerComponents, ptr %460, i32 0, i32 2
  %462 = load double, ptr %461, align 8, !tbaa !49
  %463 = fadd double %457, %462
  %464 = getelementptr inbounds %class.Wire, ptr %17, i32 0, i32 17
  %465 = getelementptr inbounds %class.Component, ptr %464, i32 0, i32 1
  %466 = getelementptr inbounds %class.powerDef, ptr %465, i32 0, i32 0
  %467 = getelementptr inbounds %class.powerComponents, ptr %466, i32 0, i32 2
  %468 = load double, ptr %467, align 8, !tbaa !56
  %469 = fadd double %463, %468
  %470 = getelementptr inbounds %class.Component, ptr %17, i32 0, i32 1
  %471 = getelementptr inbounds %class.powerDef, ptr %470, i32 0, i32 0
  %472 = getelementptr inbounds %class.powerComponents, ptr %471, i32 0, i32 2
  store double %469, ptr %472, align 8, !tbaa !59
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void
}

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 @_Z6gate_Cddbbb(double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #2

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 @_Z8horowitzddddi(double noundef, double noundef, double noundef, double noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN4Wire16signal_rise_timeEv(ptr noundef nonnull align 8 dereferenceable(1264)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4Wire8wire_capEdb(ptr noundef nonnull align 8 dereferenceable(1264), double noundef, i1 noundef zeroext) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4Wire8wire_resEd(ptr noundef nonnull align 8 dereferenceable(1264), double noundef) #3 align 2

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

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

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

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

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: mustprogress uwtable
declare dso_local noundef double @_ZN4Wire19sense_amp_input_capEv(ptr noundef nonnull align 8 dereferenceable(1264)) #1 align 2

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

!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, !13, i64 328}
!10 = !{!"_ZTS4Wire", !11, i64 0, !16, i64 280, !13, i64 288, !13, i64 296, !17, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !18, i64 352, !13, i64 360, !13, i64 368, !13, i64 376, !19, i64 384, !11, i64 408, !11, i64 688, !11, i64 968, !13, i64 1248, !6, i64 1256}
!11 = !{!"_ZTS9Component", !12, i64 0, !14, i64 24, !14, i64 144, !13, i64 264, !13, i64 272}
!12 = !{!"_ZTS4Area", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS8powerDef", !15, i64 0, !15, i64 40, !15, i64 80}
!15 = !{!"_ZTS15powerComponents", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!16 = !{!"_ZTS9Wire_type", !7, i64 0}
!17 = !{!"_ZTS14Wire_placement", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSNSt7__cxx114listI9ComponentSaIS1_EEE", !20, i64 0}
!20 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EEE", !21, i64 0}
!21 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EE10_List_implE", !22, i64 0}
!22 = !{!"_ZTSNSt8__detail17_List_node_headerE", !23, i64 0, !24, i64 16}
!23 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!24 = !{!"long", !7, i64 0}
!25 = !{!13, !13, i64 0}
!26 = !{!10, !13, i64 336}
!27 = !{!28, !13, i64 40}
!28 = !{!"_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, !24, 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}
!29 = !{!"_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}
!30 = !{!"_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}
!31 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !13, i64 0, !13, i64 8, !13, i64 16}
!32 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!33 = !{!28, !13, i64 16}
!34 = !{!28, !13, i64 8}
!35 = !{!10, !13, i64 1248}
!36 = !{!28, !13, i64 312}
!37 = !{!10, !6, i64 1256}
!38 = !{!29, !13, i64 80}
!39 = !{!29, !13, i64 72}
!40 = !{!11, !13, i64 264}
!41 = !{!10, !13, i64 672}
!42 = !{!10, !13, i64 432}
!43 = !{!10, !13, i64 440}
!44 = !{!10, !13, i64 448}
!45 = !{!10, !18, i64 352}
!46 = !{!10, !13, i64 952}
!47 = !{!10, !13, i64 712}
!48 = !{!10, !13, i64 720}
!49 = !{!10, !13, i64 728}
!50 = !{!28, !13, i64 88}
!51 = !{!10, !13, i64 1232}
!52 = !{!10, !13, i64 344}
!53 = !{!28, !13, i64 96}
!54 = !{!10, !13, i64 992}
!55 = !{!10, !13, i64 1000}
!56 = !{!10, !13, i64 1008}
!57 = !{!11, !13, i64 24}
!58 = !{!11, !13, i64 32}
!59 = !{!11, !13, i64 40}


; 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Wire15low_swing_modelEv(ptr noundef nonnull align 8 dereferenceable(1264) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 328
  %3 = load double, ptr %2, align 8, !tbaa !5
  %4 = tail call noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext false, i1 noundef zeroext false)
  %5 = getelementptr inbounds i8, ptr %0, i64 336
  %6 = load double, ptr %5, align 8, !tbaa !24
  %7 = fcmp oeq double %6, 0.000000e+00
  br i1 %7, label %8, label %10

8:                                                ; preds = %1
  %9 = tail call noundef double @_ZN4Wire16signal_rise_timeEv(ptr noundef nonnull align 8 dereferenceable(1264) %0)
  br label %10

10:                                               ; preds = %1, %8
  %11 = phi double [ %9, %8 ], [ %6, %1 ]
  %12 = tail call noundef double @_ZN4Wire8wire_capEdb(ptr noundef nonnull align 8 dereferenceable(1264) %0, double noundef %3, i1 noundef zeroext false)
  %13 = tail call noundef double @_ZN4Wire8wire_resEd(ptr noundef nonnull align 8 dereferenceable(1264) %0, double noundef %3)
  %14 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 40), align 8, !tbaa !25
  %15 = fmul double %14, -8.000000e+00
  %16 = fmul double %12, 0xBFE62E42FEFA39EF
  %17 = fdiv double %15, %16
  %18 = fdiv double %17, 8.600000e+00
  %19 = tail call noundef double @_Z6R_to_wdibbb(double noundef %18, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %20 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 16), align 8
  %21 = fcmp olt double %19, %20
  %22 = select i1 %21, double %19, double %20
  %23 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8
  %24 = fcmp ogt double %22, %23
  %25 = select i1 %24, double %22, double %23
  %26 = fmul double %12, %13
  %27 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 40), align 8, !tbaa !25
  %28 = fmul double %27, 8.000000e+00
  %29 = fcmp ogt double %26, %28
  %.0 = select i1 %29, double %20, double %25
  %30 = fadd double %4, 2.000000e+00
  %31 = fadd double %4, %30
  %32 = tail call noundef double @_Z6gate_Cddbbb(double noundef %.0, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %33 = fmul double %31, %32
  %34 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %35 = fmul double %34, 2.000000e+00
  %36 = tail call noundef double @_Z6gate_Cddbbb(double noundef %35, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %37 = getelementptr inbounds i8, ptr %0, i64 1248
  %38 = load double, ptr %37, align 8, !tbaa !32
  %39 = fmul double %38, 2.000000e+00
  %40 = tail call noundef double @_Z6gate_Cddbbb(double noundef %39, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %41 = fadd double %36, %40
  %42 = fdiv double %33, %41
  %43 = tail call double @sqrt(double noundef %42) #6
  %44 = tail call noundef double @_Z6gate_Cddbbb(double noundef %.0, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %45 = fmul double %31, %44
  %46 = fdiv double %45, %43
  %47 = load double, ptr %37, align 8, !tbaa !32
  %48 = tail call noundef double @_Z6gate_Cddbbb(double noundef %47, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %49 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %50 = tail call noundef double @_Z6gate_Cddbbb(double noundef %49, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %51 = fadd double %48, %50
  %52 = fdiv double %46, %51
  %53 = fcmp ogt double %52, 1.000000e+00
  %54 = select i1 %53, double %52, double 1.000000e+00
  %55 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %56 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %55, i32 noundef 1, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %57 = fmul double %56, 2.000000e+00
  %58 = load double, ptr %37, align 8, !tbaa !32
  %59 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !33
  %60 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %58, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %59, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %61 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %62 = fmul double %61, 2.000000e+00
  %63 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !33
  %64 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %62, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %63, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %65 = tail call double @llvm.fmuladd.f64(double %60, double 2.000000e+00, double %64)
  %66 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %67 = fmul double %54, %66
  %68 = tail call noundef double @_Z6gate_Cddbbb(double noundef %67, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %69 = fadd double %65, %68
  %70 = load double, ptr %37, align 8, !tbaa !32
  %71 = fmul double %54, %70
  %72 = tail call noundef double @_Z6gate_Cddbbb(double noundef %71, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %73 = fadd double %69, %72
  %74 = fmul double %57, %73
  %75 = getelementptr inbounds i8, ptr %0, i64 1256
  %76 = load ptr, ptr %75, align 8, !tbaa !34
  %77 = getelementptr inbounds i8, ptr %76, i64 80
  %78 = load double, ptr %77, align 8, !tbaa !35
  %79 = getelementptr inbounds i8, ptr %76, i64 72
  %80 = load double, ptr %79, align 8, !tbaa !36
  %81 = fdiv double %78, %80
  %82 = tail call noundef double @_Z8horowitzddddi(double noundef %11, double noundef %74, double noundef %81, double noundef %81, i32 noundef 1)
  %83 = getelementptr inbounds i8, ptr %0, i64 264
  store double %82, ptr %83, align 8, !tbaa !37
  %84 = load ptr, ptr %75, align 8, !tbaa !34
  %85 = getelementptr inbounds i8, ptr %84, i64 72
  %86 = load double, ptr %85, align 8, !tbaa !36
  %87 = fmul double %73, %86
  %88 = fmul double %86, %87
  %89 = getelementptr inbounds i8, ptr %84, i64 80
  %90 = load double, ptr %89, align 8, !tbaa !35
  %91 = fsub double %86, %90
  %92 = fdiv double %82, %91
  %93 = load double, ptr %37, align 8, !tbaa !32
  %94 = fmul double %54, %93
  %95 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %94, i32 noundef 0, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %96 = load double, ptr %37, align 8, !tbaa !32
  %97 = fmul double %54, %96
  %98 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !33
  %99 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %97, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %98, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %100 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %101 = fmul double %54, %100
  %102 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !33
  %103 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %101, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %102, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %104 = fadd double %99, %103
  %105 = tail call noundef double @_Z6gate_Cddbbb(double noundef %.0, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %106 = fadd double %104, %105
  %107 = fmul double %95, %106
  %108 = load ptr, ptr %75, align 8, !tbaa !34
  %109 = getelementptr inbounds i8, ptr %108, i64 80
  %110 = load double, ptr %109, align 8, !tbaa !35
  %111 = getelementptr inbounds i8, ptr %108, i64 72
  %112 = load double, ptr %111, align 8, !tbaa !36
  %113 = fdiv double %110, %112
  %114 = tail call noundef double @_Z8horowitzddddi(double noundef %92, double noundef %107, double noundef %113, double noundef %113, i32 noundef 0)
  %115 = load double, ptr %83, align 8, !tbaa !37
  %116 = fadd double %114, %115
  store double %116, ptr %83, align 8, !tbaa !37
  %117 = load ptr, ptr %75, align 8, !tbaa !34
  %118 = getelementptr inbounds i8, ptr %117, i64 72
  %119 = load double, ptr %118, align 8, !tbaa !36
  %120 = fmul double %106, %119
  %121 = tail call double @llvm.fmuladd.f64(double %120, double %119, double %88)
  %122 = getelementptr inbounds i8, ptr %0, i64 672
  store double %116, ptr %122, align 8, !tbaa !38
  %123 = fmul double %121, 2.000000e+00
  %124 = getelementptr inbounds i8, ptr %0, i64 432
  store double %123, ptr %124, align 8, !tbaa !39
  %125 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %126 = load double, ptr %37, align 8, !tbaa !32
  %127 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %125, double noundef %126, i32 noundef 2, i32 noundef 3, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %128 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %129 = load double, ptr %37, align 8, !tbaa !32
  %130 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %128, double noundef %129, i32 noundef 1, i32 noundef 2, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %131 = fmul double %130, 4.000000e+00
  %132 = tail call double @llvm.fmuladd.f64(double %127, double 4.000000e+00, double %131)
  %133 = fmul double %119, %132
  %134 = getelementptr inbounds i8, ptr %0, i64 440
  store double %133, ptr %134, align 8, !tbaa !40
  %135 = load ptr, ptr %75, align 8, !tbaa !34
  %136 = getelementptr inbounds i8, ptr %135, i64 72
  %137 = load double, ptr %136, align 8, !tbaa !36
  %138 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %139 = load double, ptr %37, align 8, !tbaa !32
  %140 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %138, double noundef %139, i32 noundef 2, i32 noundef 3, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %141 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !31
  %142 = load double, ptr %37, align 8, !tbaa !32
  %143 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %141, double noundef %142, i32 noundef 1, i32 noundef 2, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %144 = fmul double %143, 4.000000e+00
  %145 = tail call double @llvm.fmuladd.f64(double %140, double 4.000000e+00, double %144)
  %146 = fmul double %137, %145
  %147 = getelementptr inbounds i8, ptr %0, i64 448
  store double %146, ptr %147, align 8, !tbaa !41
  %148 = load double, ptr %83, align 8, !tbaa !37
  %149 = load ptr, ptr %75, align 8, !tbaa !34
  %150 = getelementptr inbounds i8, ptr %149, i64 80
  %151 = load double, ptr %150, align 8, !tbaa !35
  %152 = fdiv double %148, %151
  %153 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !33
  %154 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %.0, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %153, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %155 = tail call double @llvm.fmuladd.f64(double %154, double 2.000000e+00, double %12)
  %156 = getelementptr inbounds i8, ptr %0, i64 352
  %157 = load i32, ptr %156, align 8, !tbaa !42
  %158 = sitofp i32 %157 to double
  %159 = tail call noundef double @_ZN4Wire19sense_amp_input_capEv(ptr noundef nonnull align 8 dereferenceable(1264) %0)
  %160 = tail call double @llvm.fmuladd.f64(double %158, double %159, double %155)
  %161 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %.0, i32 noundef 1, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %162 = fmul double %161, 8.600000e+00
  %163 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !33
  %164 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %.0, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %163, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %165 = tail call double @llvm.fmuladd.f64(double %164, double 2.000000e+00, double %12)
  %166 = fmul double %26, 5.000000e-01
  %167 = tail call double @llvm.fmuladd.f64(double %162, double %165, double %166)
  %168 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %.0, i32 noundef 1, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
  %169 = tail call double @llvm.fmuladd.f64(double %168, double 8.600000e+00, double %13)
  %170 = load i32, ptr %156, align 8, !tbaa !42
  %171 = sitofp i32 %170 to double
  %172 = fmul double %169, %171
  %173 = tail call noundef double @_ZN4Wire19sense_amp_input_capEv(ptr noundef nonnull align 8 dereferenceable(1264) %0)
  %174 = tail call double @llvm.fmuladd.f64(double %172, double %173, double %167)
  %175 = load ptr, ptr %75, align 8, !tbaa !34
  %176 = getelementptr inbounds i8, ptr %175, i64 80
  %177 = load double, ptr %176, align 8, !tbaa !35
  %178 = getelementptr inbounds i8, ptr %175, i64 72
  %179 = load double, ptr %178, align 8, !tbaa !36
  %180 = fdiv double %177, %179
  %181 = tail call noundef double @_Z8horowitzddddi(double noundef %152, double noundef %174, double noundef %180, double noundef 2.500000e-01, i32 noundef 0)
  %182 = load double, ptr %83, align 8, !tbaa !37
  %183 = fadd double %181, %182
  store double %183, ptr %83, align 8, !tbaa !37
  %184 = fmul double %160, 1.000000e-01
  %185 = tail call double @llvm.fmuladd.f64(double %184, double 4.000000e-01, double %121)
  %186 = fmul double %185, 2.000000e+00
  %187 = load double, ptr %122, align 8, !tbaa !38
  %188 = fsub double %183, %187
  %189 = getelementptr inbounds i8, ptr %0, i64 952
  store double %188, ptr %189, align 8, !tbaa !43
  %190 = load double, ptr %124, align 8, !tbaa !39
  %191 = fsub double %186, %190
  %192 = getelementptr inbounds i8, ptr %0, i64 712
  store double %191, ptr %192, align 8, !tbaa !44
  %193 = load ptr, ptr %75, align 8, !tbaa !34
  %194 = getelementptr inbounds i8, ptr %193, i64 72
  %195 = load double, ptr %194, align 8, !tbaa !36
  %196 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %.0, double noundef 0.000000e+00, i32 noundef 1, i32 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %197 = fmul double %196, 4.000000e+00
  %198 = fmul double %195, %197
  %199 = getelementptr inbounds i8, ptr %0, i64 720
  store double %198, ptr %199, align 8, !tbaa !45
  %200 = load ptr, ptr %75, align 8, !tbaa !34
  %201 = getelementptr inbounds i8, ptr %200, i64 72
  %202 = load double, ptr %201, align 8, !tbaa !36
  %203 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %.0, double noundef 0.000000e+00, i32 noundef 1, i32 noundef 0, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %204 = fmul double %203, 4.000000e+00
  %205 = fmul double %202, %204
  %206 = getelementptr inbounds i8, ptr %0, i64 728
  store double %205, ptr %206, align 8, !tbaa !46
  %207 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 88), align 8, !tbaa !47
  %208 = load double, ptr %83, align 8, !tbaa !37
  %209 = fadd double %207, %208
  store double %209, ptr %83, align 8, !tbaa !37
  %210 = getelementptr inbounds i8, ptr %0, i64 1232
  store double %207, ptr %210, align 8, !tbaa !48
  %211 = load ptr, ptr %75, align 8, !tbaa !34
  %212 = getelementptr inbounds i8, ptr %211, i64 80
  %213 = load double, ptr %212, align 8, !tbaa !35
  %214 = fdiv double %207, %213
  %215 = getelementptr inbounds i8, ptr %0, i64 344
  store double %214, ptr %215, align 8, !tbaa !49
  %216 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 96), align 8, !tbaa !50
  %217 = getelementptr inbounds i8, ptr %0, i64 992
  store double %216, ptr %217, align 8, !tbaa !51
  %218 = getelementptr inbounds i8, ptr %0, i64 1000
  %219 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %218, i8 0, i64 16, i1 false)
  %220 = load double, ptr %134, align 8, !tbaa !40
  %221 = load double, ptr %199, align 8, !tbaa !45
  %222 = fadd double %220, %221
  %223 = insertelement <2 x double> poison, double %186, i64 0
  %224 = insertelement <2 x double> %223, double %222, i64 1
  %225 = insertelement <2 x double> <double poison, double 0.000000e+00>, double %216, i64 0
  %226 = fadd <2 x double> %224, %225
  store <2 x double> %226, ptr %219, align 8, !tbaa !52
  %227 = load double, ptr %147, align 8, !tbaa !41
  %228 = fadd double %205, %227
  %229 = fadd double %228, 0.000000e+00
  %230 = getelementptr inbounds i8, ptr %0, i64 40
  store double %229, ptr %230, align 8, !tbaa !53
  ret void
}

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 @_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 @_Z8horowitzddddi(double noundef, double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN4Wire16signal_rise_timeEv(ptr noundef nonnull align 8 dereferenceable(1264)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4Wire8wire_capEdb(ptr noundef nonnull align 8 dereferenceable(1264), double noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4Wire8wire_resEd(ptr noundef nonnull align 8 dereferenceable(1264), double noundef) local_unnamed_addr #2 align 2

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

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

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

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 uwtable
declare dso_local noundef double @_ZN4Wire19sense_amp_input_capEv(ptr noundef nonnull align 8 dereferenceable(1264)) local_unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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, !9, i64 328}
!6 = !{!"_ZTS4Wire", !7, i64 0, !14, i64 280, !9, i64 288, !9, i64 296, !15, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !16, i64 352, !9, i64 360, !9, i64 368, !9, i64 376, !17, i64 384, !7, i64 408, !7, i64 688, !7, i64 968, !9, i64 1248, !22, i64 1256}
!7 = !{!"_ZTS9Component", !8, i64 0, !12, i64 24, !12, i64 144, !9, i64 264, !9, i64 272}
!8 = !{!"_ZTS4Area", !9, i64 0, !9, i64 8, !9, i64 16}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTS8powerDef", !13, i64 0, !13, i64 40, !13, i64 80}
!13 = !{!"_ZTS15powerComponents", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32}
!14 = !{!"_ZTS9Wire_type", !10, i64 0}
!15 = !{!"_ZTS14Wire_placement", !10, i64 0}
!16 = !{!"int", !10, i64 0}
!17 = !{!"_ZTSNSt7__cxx114listI9ComponentSaIS1_EEE", !18, i64 0}
!18 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EE10_List_implE", !20, i64 0}
!20 = !{!"_ZTSNSt8__detail17_List_node_headerE", !21, i64 0, !23, i64 16}
!21 = !{!"_ZTSNSt8__detail15_List_node_baseE", !22, i64 0, !22, i64 8}
!22 = !{!"any pointer", !10, i64 0}
!23 = !{!"long", !10, i64 0}
!24 = !{!6, !9, i64 336}
!25 = !{!26, !9, i64 40}
!26 = !{!"_ZTS19TechnologyParameter", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !9, i64 128, !9, i64 136, !9, i64 144, !9, i64 152, !9, i64 160, !9, i64 168, !9, i64 176, !9, i64 184, !9, i64 192, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !9, i64 280, !9, i64 288, !9, i64 296, !9, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !23, 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}
!27 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !9, i64 128, !9, i64 136, !9, i64 144, !9, i64 152, !9, i64 160}
!28 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56}
!29 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !9, i64 0, !9, i64 8, !9, i64 16}
!30 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40}
!31 = !{!26, !9, i64 8}
!32 = !{!6, !9, i64 1248}
!33 = !{!26, !9, i64 312}
!34 = !{!6, !22, i64 1256}
!35 = !{!27, !9, i64 80}
!36 = !{!27, !9, i64 72}
!37 = !{!7, !9, i64 264}
!38 = !{!6, !9, i64 672}
!39 = !{!6, !9, i64 432}
!40 = !{!6, !9, i64 440}
!41 = !{!6, !9, i64 448}
!42 = !{!6, !16, i64 352}
!43 = !{!6, !9, i64 952}
!44 = !{!6, !9, i64 712}
!45 = !{!6, !9, i64 720}
!46 = !{!6, !9, i64 728}
!47 = !{!26, !9, i64 88}
!48 = !{!6, !9, i64 1232}
!49 = !{!6, !9, i64 344}
!50 = !{!26, !9, i64 96}
!51 = !{!6, !9, i64 992}
!52 = !{!9, !9, i64 0}
!53 = !{!7, !9, i64 40}


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