; LLVM IR from gem5/gem5 :: ext/mcpat/cacti/decoder.ll (ZN6Driver13compute_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.Driver = type <{ %class.Component, i32, i32, [20 x double], [20 x double], double, double, double, double, %class.powerDef, i8, [7 x i8] }>
%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

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

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

declare noundef double @_Z7tr_R_ondiibbb(double noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #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) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN6Driver13compute_delayEd(ptr noundef nonnull align 8 dereferenceable(761) %0, double noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %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
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  %11 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store double 0.000000e+00, ptr %10, align 8, !tbaa !9
  store i32 0, ptr %5, align 4, !tbaa !11
  br label %12

12:                                               ; preds = %131, %2
  %13 = load i32, ptr %5, align 4, !tbaa !11
  %14 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 1
  %15 = load i32, ptr %14, align 8, !tbaa !13
  %16 = sub nsw i32 %15, 1
  %17 = icmp slt i32 %13, %16
  br i1 %17, label %18, label %134

18:                                               ; preds = %12
  %19 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %20 = load i32, ptr %5, align 4, !tbaa !11
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [20 x double], ptr %19, i64 0, i64 %21
  %23 = load double, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %25 = load i8, ptr %24, align 8, !tbaa !20, !range !21, !noundef !22
  %26 = trunc i8 %25 to i1
  %27 = call noundef double @_Z7tr_R_ondiibbb(double noundef %23, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %26, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %27, ptr %6, align 8, !tbaa !9
  %28 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %29 = load i32, ptr %5, align 4, !tbaa !11
  %30 = add nsw i32 %29, 1
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [20 x double], ptr %28, i64 0, i64 %31
  %33 = load double, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 4
  %35 = load i32, ptr %5, align 4, !tbaa !11
  %36 = add nsw i32 %35, 1
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [20 x double], ptr %34, i64 0, i64 %37
  %39 = load double, ptr %38, align 8, !tbaa !9
  %40 = fadd double %33, %39
  %41 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %42 = load i8, ptr %41, align 8, !tbaa !20, !range !21, !noundef !22
  %43 = trunc i8 %42 to i1
  %44 = call noundef double @_Z6gate_Cddbbb(double noundef %40, double noundef 0.000000e+00, i1 noundef zeroext %43, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %44, ptr %7, align 8, !tbaa !9
  %45 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 4
  %46 = load i32, ptr %5, align 4, !tbaa !11
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [20 x double], ptr %45, i64 0, i64 %47
  %49 = load double, ptr %48, align 8, !tbaa !9
  %50 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !23
  %51 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %52 = load i8, ptr %51, align 8, !tbaa !20, !range !21, !noundef !22
  %53 = trunc i8 %52 to i1
  %54 = call noundef double @_Z8drain_C_diiidbbb(double noundef %49, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %50, i1 noundef zeroext %53, i1 noundef zeroext false, i1 noundef zeroext false)
  %55 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %56 = load i32, ptr %5, align 4, !tbaa !11
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [20 x double], ptr %55, i64 0, i64 %57
  %59 = load double, ptr %58, align 8, !tbaa !9
  %60 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !23
  %61 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %62 = load i8, ptr %61, align 8, !tbaa !20, !range !21, !noundef !22
  %63 = trunc i8 %62 to i1
  %64 = call noundef double @_Z8drain_C_diiidbbb(double noundef %59, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %60, i1 noundef zeroext %63, i1 noundef zeroext false, i1 noundef zeroext false)
  %65 = fadd double %54, %64
  store double %65, ptr %8, align 8, !tbaa !9
  %66 = load double, ptr %6, align 8, !tbaa !9
  %67 = load double, ptr %8, align 8, !tbaa !9
  %68 = load double, ptr %7, align 8, !tbaa !9
  %69 = fadd double %67, %68
  %70 = fmul double %66, %69
  store double %70, ptr %9, align 8, !tbaa !9
  %71 = load double, ptr %4, align 8, !tbaa !9
  %72 = load double, ptr %9, align 8, !tbaa !9
  %73 = call noundef double @_Z8horowitzddddi(double noundef %71, double noundef %72, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  store double %73, ptr %10, align 8, !tbaa !9
  %74 = load double, ptr %10, align 8, !tbaa !9
  %75 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 8
  %76 = load double, ptr %75, align 8, !tbaa !30
  %77 = fadd double %76, %74
  store double %77, ptr %75, align 8, !tbaa !30
  %78 = load double, ptr %10, align 8, !tbaa !9
  %79 = fdiv double %78, 5.000000e-01
  store double %79, ptr %4, align 8, !tbaa !9
  %80 = load double, ptr %8, align 8, !tbaa !9
  %81 = load double, ptr %7, align 8, !tbaa !9
  %82 = fadd double %80, %81
  %83 = 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 !31
  %84 = fmul double %82, %83
  %85 = 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 !31
  %86 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 9
  %87 = getelementptr inbounds %class.powerDef, ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds %class.powerComponents, ptr %87, i32 0, i32 0
  %89 = load double, ptr %88, align 8, !tbaa !32
  %90 = call double @llvm.fmuladd.f64(double %84, double %85, double %89)
  store double %90, ptr %88, align 8, !tbaa !32
  %91 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %92 = load i32, ptr %5, align 4, !tbaa !11
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [20 x double], ptr %91, i64 0, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !9
  %96 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 4
  %97 = load i32, ptr %5, align 4, !tbaa !11
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [20 x double], ptr %96, i64 0, i64 %98
  %100 = load double, ptr %99, align 8, !tbaa !9
  %101 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %102 = load i8, ptr %101, align 8, !tbaa !20, !range !21, !noundef !22
  %103 = trunc i8 %102 to i1
  %104 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %95, double noundef %100, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %103, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %105 = 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 !31
  %106 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 9
  %107 = getelementptr inbounds %class.powerDef, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %class.powerComponents, ptr %107, i32 0, i32 1
  %109 = load double, ptr %108, align 8, !tbaa !33
  %110 = call double @llvm.fmuladd.f64(double %104, double %105, double %109)
  store double %110, ptr %108, align 8, !tbaa !33
  %111 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %112 = load i32, ptr %5, align 4, !tbaa !11
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [20 x double], ptr %111, i64 0, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !9
  %116 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 4
  %117 = load i32, ptr %5, align 4, !tbaa !11
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [20 x double], ptr %116, i64 0, i64 %118
  %120 = load double, ptr %119, align 8, !tbaa !9
  %121 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %122 = load i8, ptr %121, align 8, !tbaa !20, !range !21, !noundef !22
  %123 = trunc i8 %122 to i1
  %124 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %115, double noundef %120, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %123, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %125 = 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 !31
  %126 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 9
  %127 = getelementptr inbounds %class.powerDef, ptr %126, i32 0, i32 0
  %128 = getelementptr inbounds %class.powerComponents, ptr %127, i32 0, i32 2
  %129 = load double, ptr %128, align 8, !tbaa !34
  %130 = call double @llvm.fmuladd.f64(double %124, double %125, double %129)
  store double %130, ptr %128, align 8, !tbaa !34
  br label %131

131:                                              ; preds = %18
  %132 = load i32, ptr %5, align 4, !tbaa !11
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %5, align 4, !tbaa !11
  br label %12, !llvm.loop !35

134:                                              ; preds = %12
  %135 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 1
  %136 = load i32, ptr %135, align 8, !tbaa !13
  %137 = sub nsw i32 %136, 1
  store i32 %137, ptr %5, align 4, !tbaa !11
  %138 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 5
  %139 = load double, ptr %138, align 8, !tbaa !37
  %140 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 6
  %141 = load double, ptr %140, align 8, !tbaa !38
  %142 = fadd double %139, %141
  store double %142, ptr %7, align 8, !tbaa !9
  %143 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %144 = load i32, ptr %5, align 4, !tbaa !11
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [20 x double], ptr %143, i64 0, i64 %145
  %147 = load double, ptr %146, align 8, !tbaa !9
  %148 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %149 = load i8, ptr %148, align 8, !tbaa !20, !range !21, !noundef !22
  %150 = trunc i8 %149 to i1
  %151 = call noundef double @_Z7tr_R_ondiibbb(double noundef %147, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %150, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %151, ptr %6, align 8, !tbaa !9
  %152 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 4
  %153 = load i32, ptr %5, align 4, !tbaa !11
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [20 x double], ptr %152, i64 0, i64 %154
  %156 = load double, ptr %155, align 8, !tbaa !9
  %157 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !23
  %158 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %159 = load i8, ptr %158, align 8, !tbaa !20, !range !21, !noundef !22
  %160 = trunc i8 %159 to i1
  %161 = call noundef double @_Z8drain_C_diiidbbb(double noundef %156, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %157, i1 noundef zeroext %160, i1 noundef zeroext false, i1 noundef zeroext false)
  %162 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %163 = load i32, ptr %5, align 4, !tbaa !11
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [20 x double], ptr %162, i64 0, i64 %164
  %166 = load double, ptr %165, align 8, !tbaa !9
  %167 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !23
  %168 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %169 = load i8, ptr %168, align 8, !tbaa !20, !range !21, !noundef !22
  %170 = trunc i8 %169 to i1
  %171 = call noundef double @_Z8drain_C_diiidbbb(double noundef %166, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %167, i1 noundef zeroext %170, i1 noundef zeroext false, i1 noundef zeroext false)
  %172 = fadd double %161, %171
  store double %172, ptr %8, align 8, !tbaa !9
  %173 = load double, ptr %6, align 8, !tbaa !9
  %174 = load double, ptr %8, align 8, !tbaa !9
  %175 = load double, ptr %7, align 8, !tbaa !9
  %176 = fadd double %174, %175
  %177 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 7
  %178 = load double, ptr %177, align 8, !tbaa !39
  %179 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 6
  %180 = load double, ptr %179, align 8, !tbaa !38
  %181 = fdiv double %180, 2.000000e+00
  %182 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 5
  %183 = load double, ptr %182, align 8, !tbaa !37
  %184 = fadd double %181, %183
  %185 = fmul double %178, %184
  %186 = call double @llvm.fmuladd.f64(double %173, double %176, double %185)
  store double %186, ptr %9, align 8, !tbaa !9
  %187 = load double, ptr %4, align 8, !tbaa !9
  %188 = load double, ptr %9, align 8, !tbaa !9
  %189 = call noundef double @_Z8horowitzddddi(double noundef %187, double noundef %188, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  store double %189, ptr %10, align 8, !tbaa !9
  %190 = load double, ptr %10, align 8, !tbaa !9
  %191 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 8
  %192 = load double, ptr %191, align 8, !tbaa !30
  %193 = fadd double %192, %190
  store double %193, ptr %191, align 8, !tbaa !30
  %194 = load double, ptr %8, align 8, !tbaa !9
  %195 = load double, ptr %7, align 8, !tbaa !9
  %196 = fadd double %194, %195
  %197 = 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 !31
  %198 = fmul double %196, %197
  %199 = 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 !31
  %200 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 9
  %201 = getelementptr inbounds %class.powerDef, ptr %200, i32 0, i32 0
  %202 = getelementptr inbounds %class.powerComponents, ptr %201, i32 0, i32 0
  %203 = load double, ptr %202, align 8, !tbaa !32
  %204 = call double @llvm.fmuladd.f64(double %198, double %199, double %203)
  store double %204, ptr %202, align 8, !tbaa !32
  %205 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %206 = load i32, ptr %5, align 4, !tbaa !11
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [20 x double], ptr %205, i64 0, i64 %207
  %209 = load double, ptr %208, align 8, !tbaa !9
  %210 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 4
  %211 = load i32, ptr %5, align 4, !tbaa !11
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [20 x double], ptr %210, i64 0, i64 %212
  %214 = load double, ptr %213, align 8, !tbaa !9
  %215 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %216 = load i8, ptr %215, align 8, !tbaa !20, !range !21, !noundef !22
  %217 = trunc i8 %216 to i1
  %218 = call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %209, double noundef %214, 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 (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48), i32 0, i32 9), align 8, !tbaa !31
  %220 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 9
  %221 = getelementptr inbounds %class.powerDef, ptr %220, i32 0, i32 0
  %222 = getelementptr inbounds %class.powerComponents, ptr %221, i32 0, i32 1
  %223 = load double, ptr %222, align 8, !tbaa !33
  %224 = call double @llvm.fmuladd.f64(double %218, double %219, double %223)
  store double %224, ptr %222, align 8, !tbaa !33
  %225 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 3
  %226 = load i32, ptr %5, align 4, !tbaa !11
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [20 x double], ptr %225, i64 0, i64 %227
  %229 = load double, ptr %228, align 8, !tbaa !9
  %230 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 4
  %231 = load i32, ptr %5, align 4, !tbaa !11
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [20 x double], ptr %230, i64 0, i64 %232
  %234 = load double, ptr %233, align 8, !tbaa !9
  %235 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 10
  %236 = load i8, ptr %235, align 8, !tbaa !20, !range !21, !noundef !22
  %237 = trunc i8 %236 to i1
  %238 = call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %229, double noundef %234, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %237, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %239 = 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 !31
  %240 = getelementptr inbounds %class.Driver, ptr %11, i32 0, i32 9
  %241 = getelementptr inbounds %class.powerDef, ptr %240, i32 0, i32 0
  %242 = getelementptr inbounds %class.powerComponents, ptr %241, i32 0, i32 2
  %243 = load double, ptr %242, align 8, !tbaa !34
  %244 = call double @llvm.fmuladd.f64(double %238, double %239, double %243)
  store double %244, ptr %242, align 8, !tbaa !34
  %245 = load double, ptr %10, align 8, !tbaa !9
  %246 = fdiv double %245, 5.000000e-01
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret double %246
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 280}
!14 = !{!"_ZTS6Driver", !15, i64 0, !12, i64 280, !12, i64 284, !7, i64 288, !7, i64 448, !10, i64 608, !10, i64 616, !10, i64 624, !10, i64 632, !17, i64 640, !19, i64 760}
!15 = !{!"_ZTS9Component", !16, i64 0, !17, i64 24, !17, i64 144, !10, i64 264, !10, i64 272}
!16 = !{!"_ZTS4Area", !10, i64 0, !10, i64 8, !10, i64 16}
!17 = !{!"_ZTS8powerDef", !18, i64 0, !18, i64 40, !18, i64 80}
!18 = !{!"_ZTS15powerComponents", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!19 = !{!"bool", !7, i64 0}
!20 = !{!14, !19, i64 760}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !10, i64 312}
!24 = !{!"_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, !25, i64 352, !26, i64 360, !26, i64 528, !26, i64 696, !26, i64 864, !26, i64 1032, !27, i64 1200, !27, i64 1264, !27, i64 1328, !28, i64 1392, !29, i64 1416, !29, i64 1464, !29, i64 1512}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_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}
!27 = !{!"_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}
!28 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !10, i64 0, !10, i64 8, !10, i64 16}
!29 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!30 = !{!14, !10, i64 632}
!31 = !{!24, !10, i64 936}
!32 = !{!14, !10, i64 640}
!33 = !{!14, !10, i64 648}
!34 = !{!14, !10, i64 656}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!14, !10, i64 608}
!38 = !{!14, !10, i64 616}
!39 = !{!14, !10, i64 624}


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

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

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

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

declare noundef double @_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 #0

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN6Driver13compute_delayEd(ptr nocapture noundef nonnull align 8 dereferenceable(761) %0, double noundef %1) local_unnamed_addr #2 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 280
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i32 %4, 1
  br i1 %5, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %2
  %6 = add nsw i32 %4, -1
  %.pre = sext i32 %6 to i64
  br label %._crit_edge

.lr.ph:                                           ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 288
  %8 = getelementptr inbounds i8, ptr %0, i64 760
  %9 = getelementptr inbounds i8, ptr %0, i64 448
  %10 = getelementptr inbounds i8, ptr %0, i64 632
  %11 = getelementptr inbounds i8, ptr %0, i64 640
  %12 = getelementptr inbounds i8, ptr %0, i64 648
  %13 = getelementptr inbounds i8, ptr %0, i64 656
  br label %14

14:                                               ; preds = %.lr.ph, %14
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %14 ]
  %.03638 = phi double [ %1, %.lr.ph ], [ %45, %14 ]
  %15 = getelementptr inbounds [20 x double], ptr %7, i64 0, i64 %indvars.iv
  %16 = load double, ptr %15, align 8, !tbaa !16
  %17 = load i8, ptr %8, align 8, !tbaa !17, !range !18, !noundef !19
  %18 = trunc nuw i8 %17 to i1
  %19 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %16, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %18, i1 noundef zeroext false, i1 noundef zeroext false)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %20 = getelementptr inbounds [20 x double], ptr %7, i64 0, i64 %indvars.iv.next
  %21 = load double, ptr %20, align 8, !tbaa !16
  %22 = getelementptr inbounds [20 x double], ptr %9, i64 0, i64 %indvars.iv.next
  %23 = load double, ptr %22, align 8, !tbaa !16
  %24 = fadd double %21, %23
  %25 = load i8, ptr %8, align 8, !tbaa !17, !range !18, !noundef !19
  %26 = trunc nuw i8 %25 to i1
  %27 = tail call noundef double @_Z6gate_Cddbbb(double noundef %24, double noundef 0.000000e+00, i1 noundef zeroext %26, i1 noundef zeroext false, i1 noundef zeroext false)
  %28 = getelementptr inbounds [20 x double], ptr %9, i64 0, i64 %indvars.iv
  %29 = load double, ptr %28, align 8, !tbaa !16
  %30 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !20
  %31 = load i8, ptr %8, align 8, !tbaa !17, !range !18, !noundef !19
  %32 = trunc nuw i8 %31 to i1
  %33 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %29, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %30, i1 noundef zeroext %32, i1 noundef zeroext false, i1 noundef zeroext false)
  %34 = load double, ptr %15, align 8, !tbaa !16
  %35 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !20
  %36 = load i8, ptr %8, align 8, !tbaa !17, !range !18, !noundef !19
  %37 = trunc nuw i8 %36 to i1
  %38 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %34, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %35, i1 noundef zeroext %37, i1 noundef zeroext false, i1 noundef zeroext false)
  %39 = fadd double %33, %38
  %40 = fadd double %27, %39
  %41 = fmul double %19, %40
  %42 = tail call noundef double @_Z8horowitzddddi(double noundef %.03638, double noundef %41, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  %43 = load double, ptr %10, align 8, !tbaa !27
  %44 = fadd double %42, %43
  store double %44, ptr %10, align 8, !tbaa !27
  %45 = fmul double %42, 2.000000e+00
  %46 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !28
  %47 = fmul double %40, %46
  %48 = load double, ptr %11, align 8, !tbaa !29
  %49 = tail call double @llvm.fmuladd.f64(double %47, double %46, double %48)
  store double %49, ptr %11, align 8, !tbaa !29
  %50 = load double, ptr %15, align 8, !tbaa !16
  %51 = load double, ptr %28, align 8, !tbaa !16
  %52 = load i8, ptr %8, align 8, !tbaa !17, !range !18, !noundef !19
  %53 = trunc nuw i8 %52 to i1
  %54 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %50, double noundef %51, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %53, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %55 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !28
  %56 = load double, ptr %12, align 8, !tbaa !30
  %57 = tail call double @llvm.fmuladd.f64(double %54, double %55, double %56)
  store double %57, ptr %12, align 8, !tbaa !30
  %58 = load double, ptr %15, align 8, !tbaa !16
  %59 = load double, ptr %28, align 8, !tbaa !16
  %60 = load i8, ptr %8, align 8, !tbaa !17, !range !18, !noundef !19
  %61 = trunc nuw i8 %60 to i1
  %62 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %58, double noundef %59, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %61, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %63 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !28
  %64 = load double, ptr %13, align 8, !tbaa !31
  %65 = tail call double @llvm.fmuladd.f64(double %62, double %63, double %64)
  store double %65, ptr %13, align 8, !tbaa !31
  %66 = load i32, ptr %3, align 8, !tbaa !5
  %67 = add nsw i32 %66, -1
  %68 = sext i32 %67 to i64
  %69 = icmp slt i64 %indvars.iv.next, %68
  br i1 %69, label %14, label %._crit_edge, !llvm.loop !32

._crit_edge:                                      ; preds = %14, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %68, %14 ]
  %.036.lcssa = phi double [ %1, %.._crit_edge_crit_edge ], [ %45, %14 ]
  %70 = getelementptr inbounds i8, ptr %0, i64 608
  %71 = load double, ptr %70, align 8, !tbaa !34
  %72 = getelementptr inbounds i8, ptr %0, i64 616
  %73 = load double, ptr %72, align 8, !tbaa !35
  %74 = fadd double %71, %73
  %75 = getelementptr inbounds i8, ptr %0, i64 288
  %76 = getelementptr inbounds [20 x double], ptr %75, i64 0, i64 %.pre-phi
  %77 = load double, ptr %76, align 8, !tbaa !16
  %78 = getelementptr inbounds i8, ptr %0, i64 760
  %79 = load i8, ptr %78, align 8, !tbaa !17, !range !18, !noundef !19
  %80 = trunc nuw i8 %79 to i1
  %81 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %77, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %80, i1 noundef zeroext false, i1 noundef zeroext false)
  %82 = getelementptr inbounds i8, ptr %0, i64 448
  %83 = getelementptr inbounds [20 x double], ptr %82, i64 0, i64 %.pre-phi
  %84 = load double, ptr %83, align 8, !tbaa !16
  %85 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !20
  %86 = load i8, ptr %78, align 8, !tbaa !17, !range !18, !noundef !19
  %87 = trunc nuw i8 %86 to i1
  %88 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %84, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %85, i1 noundef zeroext %87, i1 noundef zeroext false, i1 noundef zeroext false)
  %89 = load double, ptr %76, align 8, !tbaa !16
  %90 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !20
  %91 = load i8, ptr %78, align 8, !tbaa !17, !range !18, !noundef !19
  %92 = trunc nuw i8 %91 to i1
  %93 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %89, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %90, i1 noundef zeroext %92, i1 noundef zeroext false, i1 noundef zeroext false)
  %94 = fadd double %88, %93
  %95 = fadd double %74, %94
  %96 = getelementptr inbounds i8, ptr %0, i64 624
  %97 = load double, ptr %96, align 8, !tbaa !36
  %98 = load double, ptr %72, align 8, !tbaa !35
  %99 = fmul double %98, 5.000000e-01
  %100 = load double, ptr %70, align 8, !tbaa !34
  %101 = fadd double %99, %100
  %102 = fmul double %97, %101
  %103 = tail call double @llvm.fmuladd.f64(double %81, double %95, double %102)
  %104 = tail call noundef double @_Z8horowitzddddi(double noundef %.036.lcssa, double noundef %103, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  %105 = getelementptr inbounds i8, ptr %0, i64 632
  %106 = load double, ptr %105, align 8, !tbaa !27
  %107 = fadd double %104, %106
  store double %107, ptr %105, align 8, !tbaa !27
  %108 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !28
  %109 = fmul double %95, %108
  %110 = getelementptr inbounds i8, ptr %0, i64 640
  %111 = load double, ptr %110, align 8, !tbaa !29
  %112 = tail call double @llvm.fmuladd.f64(double %109, double %108, double %111)
  store double %112, ptr %110, align 8, !tbaa !29
  %113 = load double, ptr %76, align 8, !tbaa !16
  %114 = load double, ptr %83, align 8, !tbaa !16
  %115 = load i8, ptr %78, align 8, !tbaa !17, !range !18, !noundef !19
  %116 = trunc nuw i8 %115 to i1
  %117 = tail call noundef double @_Z17cmos_Isub_leakageddi9Gate_typebbb17Half_net_topology(double noundef %113, double noundef %114, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %116, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %118 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !28
  %119 = getelementptr inbounds i8, ptr %0, i64 648
  %120 = load double, ptr %119, align 8, !tbaa !30
  %121 = tail call double @llvm.fmuladd.f64(double %117, double %118, double %120)
  store double %121, ptr %119, align 8, !tbaa !30
  %122 = load double, ptr %76, align 8, !tbaa !16
  %123 = load double, ptr %83, align 8, !tbaa !16
  %124 = load i8, ptr %78, align 8, !tbaa !17, !range !18, !noundef !19
  %125 = trunc nuw i8 %124 to i1
  %126 = tail call noundef double @_Z15cmos_Ig_leakageddi9Gate_typebbb17Half_net_topology(double noundef %122, double noundef %123, i32 noundef 1, i32 noundef 2, i1 noundef zeroext %125, i1 noundef zeroext false, i1 noundef zeroext false, i32 noundef 1)
  %127 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !28
  %128 = getelementptr inbounds i8, ptr %0, i64 656
  %129 = load double, ptr %128, align 8, !tbaa !31
  %130 = tail call double @llvm.fmuladd.f64(double %126, double %127, double %129)
  store double %130, ptr %128, align 8, !tbaa !31
  %131 = fmul double %104, 2.000000e+00
  ret double %131
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !14, i64 280}
!6 = !{!"_ZTS6Driver", !7, i64 0, !14, i64 280, !14, i64 284, !10, i64 288, !10, i64 448, !9, i64 608, !9, i64 616, !9, i64 624, !9, i64 632, !12, i64 640, !15, i64 760}
!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 = !{!"int", !10, i64 0}
!15 = !{!"bool", !10, i64 0}
!16 = !{!9, !9, i64 0}
!17 = !{!6, !15, i64 760}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !9, i64 312}
!21 = !{!"_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, !22, i64 352, !23, i64 360, !23, i64 528, !23, i64 696, !23, i64 864, !23, i64 1032, !24, i64 1200, !24, i64 1264, !24, i64 1328, !25, i64 1392, !26, i64 1416, !26, i64 1464, !26, i64 1512}
!22 = !{!"long", !10, i64 0}
!23 = !{!"_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}
!24 = !{!"_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}
!25 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !9, i64 0, !9, i64 8, !9, i64 16}
!26 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40}
!27 = !{!6, !9, i64 632}
!28 = !{!21, !9, i64 936}
!29 = !{!6, !9, i64 640}
!30 = !{!6, !9, i64 648}
!31 = !{!6, !9, i64 656}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!6, !9, i64 608}
!35 = !{!6, !9, i64 616}
!36 = !{!6, !9, i64 624}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass