; LLVM IR from gem5/gem5 :: ext/mcpat/cacti/decoder.ll (ZN7Decoder14compute_delaysEd)

; 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.Decoder = type { %class.Component, i8, i32, double, double, i32, i32, [20 x double], [20 x double], double, i8, i8, i8, 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN7Decoder14compute_delaysEd(ptr noundef nonnull align 8 dereferenceable(656) %0, double noundef %1) #2 align 2 {
  %3 = alloca double, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  %15 = load ptr, ptr %4, align 8
  %16 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 1
  %17 = load i8, ptr %16, align 8, !tbaa !11, !range !19, !noundef !20
  %18 = trunc i8 %17 to i1
  br i1 %18, label %19, label %305

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store double 0.000000e+00, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %20 = 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 !21
  store double %20, ptr %14, align 8, !tbaa !9
  %21 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %22 = load i8, ptr %21, align 2, !tbaa !28, !range !19, !noundef !20
  %23 = trunc i8 %22 to i1
  br i1 %23, label %24, label %30

24:                                               ; preds = %19
  %25 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %26 = load i8, ptr %25, align 1, !tbaa !29, !range !19, !noundef !20
  %27 = trunc i8 %26 to i1
  br i1 %27, label %28, label %30

28:                                               ; preds = %24
  %29 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 7), align 8, !tbaa !30
  store double %29, ptr %13, align 8, !tbaa !9
  br label %39

30:                                               ; preds = %24, %19
  %31 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %32 = load i8, ptr %31, align 2, !tbaa !28, !range !19, !noundef !20
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %36

34:                                               ; preds = %30
  %35 = load double, ptr getelementptr inbounds (%"class.TechnologyParameter::DeviceType", ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 45), i32 0, i32 9), align 8, !tbaa !31
  store double %35, ptr %13, align 8, !tbaa !9
  br label %38

36:                                               ; preds = %30
  %37 = 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 !21
  store double %37, ptr %13, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %36, %34
  br label %39

39:                                               ; preds = %38, %28
  %40 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 7
  %41 = getelementptr inbounds [20 x double], ptr %40, i64 0, i64 0
  %42 = load double, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 2
  %44 = load i32, ptr %43, align 4, !tbaa !32
  %45 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %46 = load i8, ptr %45, align 1, !tbaa !29, !range !19, !noundef !20
  %47 = trunc i8 %46 to i1
  %48 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %49 = load i8, ptr %48, align 2, !tbaa !28, !range !19, !noundef !20
  %50 = trunc i8 %49 to i1
  %51 = call noundef double @_Z7tr_R_ondiibbb(double noundef %42, i32 noundef 1, i32 noundef %44, i1 noundef zeroext %47, i1 noundef zeroext false, i1 noundef zeroext %50)
  store double %51, ptr %8, align 8, !tbaa !9
  %52 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 7
  %53 = getelementptr inbounds [20 x double], ptr %52, i64 0, i64 1
  %54 = load double, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 8
  %56 = getelementptr inbounds [20 x double], ptr %55, i64 0, i64 1
  %57 = load double, ptr %56, align 8, !tbaa !9
  %58 = fadd double %54, %57
  %59 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %60 = load i8, ptr %59, align 1, !tbaa !29, !range !19, !noundef !20
  %61 = trunc i8 %60 to i1
  %62 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %63 = load i8, ptr %62, align 2, !tbaa !28, !range !19, !noundef !20
  %64 = trunc i8 %63 to i1
  %65 = call noundef double @_Z6gate_Cddbbb(double noundef %58, double noundef 0.000000e+00, i1 noundef zeroext %61, i1 noundef zeroext false, i1 noundef zeroext %64)
  store double %65, ptr %11, align 8, !tbaa !9
  %66 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 8
  %67 = getelementptr inbounds [20 x double], ptr %66, i64 0, i64 0
  %68 = load double, ptr %67, align 8, !tbaa !9
  %69 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 0
  %70 = getelementptr inbounds %class.Area, ptr %69, i32 0, i32 1
  %71 = load double, ptr %70, align 8, !tbaa !33
  %72 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %73 = load i8, ptr %72, align 1, !tbaa !29, !range !19, !noundef !20
  %74 = trunc i8 %73 to i1
  %75 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %76 = load i8, ptr %75, align 2, !tbaa !28, !range !19, !noundef !20
  %77 = trunc i8 %76 to i1
  %78 = call noundef double @_Z8drain_C_diiidbbb(double noundef %68, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %71, i1 noundef zeroext %74, i1 noundef zeroext false, i1 noundef zeroext %77)
  %79 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 2
  %80 = load i32, ptr %79, align 4, !tbaa !32
  %81 = sitofp i32 %80 to double
  %82 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 7
  %83 = getelementptr inbounds [20 x double], ptr %82, i64 0, i64 0
  %84 = load double, ptr %83, align 8, !tbaa !9
  %85 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 2
  %86 = load i32, ptr %85, align 4, !tbaa !32
  %87 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 0
  %88 = getelementptr inbounds %class.Area, ptr %87, i32 0, i32 1
  %89 = load double, ptr %88, align 8, !tbaa !33
  %90 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %91 = load i8, ptr %90, align 1, !tbaa !29, !range !19, !noundef !20
  %92 = trunc i8 %91 to i1
  %93 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %94 = load i8, ptr %93, align 2, !tbaa !28, !range !19, !noundef !20
  %95 = trunc i8 %94 to i1
  %96 = call noundef double @_Z8drain_C_diiidbbb(double noundef %84, i32 noundef 1, i32 noundef %86, i32 noundef 1, double noundef %89, i1 noundef zeroext %92, i1 noundef zeroext false, i1 noundef zeroext %95)
  %97 = call double @llvm.fmuladd.f64(double %78, double %81, double %96)
  store double %97, ptr %12, align 8, !tbaa !9
  %98 = load double, ptr %8, align 8, !tbaa !9
  %99 = load double, ptr %12, align 8, !tbaa !9
  %100 = load double, ptr %11, align 8, !tbaa !9
  %101 = fadd double %99, %100
  %102 = fmul double %98, %101
  store double %102, ptr %9, align 8, !tbaa !9
  %103 = load double, ptr %5, align 8, !tbaa !9
  %104 = load double, ptr %9, align 8, !tbaa !9
  %105 = call noundef double @_Z8horowitzddddi(double noundef %103, double noundef %104, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  store double %105, ptr %10, align 8, !tbaa !9
  %106 = load double, ptr %10, align 8, !tbaa !9
  %107 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 9
  %108 = load double, ptr %107, align 8, !tbaa !34
  %109 = fadd double %108, %106
  store double %109, ptr %107, align 8, !tbaa !34
  %110 = load double, ptr %10, align 8, !tbaa !9
  %111 = fdiv double %110, 5.000000e-01
  store double %111, ptr %5, align 8, !tbaa !9
  %112 = load double, ptr %11, align 8, !tbaa !9
  %113 = load double, ptr %12, align 8, !tbaa !9
  %114 = fadd double %112, %113
  %115 = load double, ptr %14, align 8, !tbaa !9
  %116 = fmul double %114, %115
  %117 = load double, ptr %14, align 8, !tbaa !9
  %118 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 1
  %119 = getelementptr inbounds %class.powerDef, ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds %class.powerComponents, ptr %119, i32 0, i32 0
  %121 = load double, ptr %120, align 8, !tbaa !35
  %122 = call double @llvm.fmuladd.f64(double %116, double %117, double %121)
  store double %122, ptr %120, align 8, !tbaa !35
  store i32 1, ptr %7, align 4, !tbaa !36
  br label %123

123:                                              ; preds = %218, %39
  %124 = load i32, ptr %7, align 4, !tbaa !36
  %125 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 5
  %126 = load i32, ptr %125, align 8, !tbaa !37
  %127 = sub nsw i32 %126, 1
  %128 = icmp slt i32 %124, %127
  br i1 %128, label %129, label %221

129:                                              ; preds = %123
  %130 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 7
  %131 = load i32, ptr %7, align 4, !tbaa !36
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [20 x double], ptr %130, i64 0, i64 %132
  %134 = load double, ptr %133, align 8, !tbaa !9
  %135 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %136 = load i8, ptr %135, align 1, !tbaa !29, !range !19, !noundef !20
  %137 = trunc i8 %136 to i1
  %138 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %139 = load i8, ptr %138, align 2, !tbaa !28, !range !19, !noundef !20
  %140 = trunc i8 %139 to i1
  %141 = call noundef double @_Z7tr_R_ondiibbb(double noundef %134, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %137, i1 noundef zeroext false, i1 noundef zeroext %140)
  store double %141, ptr %8, align 8, !tbaa !9
  %142 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 8
  %143 = load i32, ptr %7, align 4, !tbaa !36
  %144 = add nsw i32 %143, 1
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [20 x double], ptr %142, i64 0, i64 %145
  %147 = load double, ptr %146, align 8, !tbaa !9
  %148 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 7
  %149 = load i32, ptr %7, align 4, !tbaa !36
  %150 = add nsw i32 %149, 1
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [20 x double], ptr %148, i64 0, i64 %151
  %153 = load double, ptr %152, align 8, !tbaa !9
  %154 = fadd double %147, %153
  %155 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %156 = load i8, ptr %155, align 1, !tbaa !29, !range !19, !noundef !20
  %157 = trunc i8 %156 to i1
  %158 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %159 = load i8, ptr %158, align 2, !tbaa !28, !range !19, !noundef !20
  %160 = trunc i8 %159 to i1
  %161 = call noundef double @_Z6gate_Cddbbb(double noundef %154, double noundef 0.000000e+00, i1 noundef zeroext %157, i1 noundef zeroext false, i1 noundef zeroext %160)
  store double %161, ptr %11, align 8, !tbaa !9
  %162 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 8
  %163 = load i32, ptr %7, align 4, !tbaa !36
  %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 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 0
  %168 = getelementptr inbounds %class.Area, ptr %167, i32 0, i32 1
  %169 = load double, ptr %168, align 8, !tbaa !33
  %170 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %171 = load i8, ptr %170, align 1, !tbaa !29, !range !19, !noundef !20
  %172 = trunc i8 %171 to i1
  %173 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %174 = load i8, ptr %173, align 2, !tbaa !28, !range !19, !noundef !20
  %175 = trunc i8 %174 to i1
  %176 = call noundef double @_Z8drain_C_diiidbbb(double noundef %166, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %169, i1 noundef zeroext %172, i1 noundef zeroext false, i1 noundef zeroext %175)
  %177 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 7
  %178 = load i32, ptr %7, align 4, !tbaa !36
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [20 x double], ptr %177, i64 0, i64 %179
  %181 = load double, ptr %180, align 8, !tbaa !9
  %182 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 0
  %183 = getelementptr inbounds %class.Area, ptr %182, i32 0, i32 1
  %184 = load double, ptr %183, align 8, !tbaa !33
  %185 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %186 = load i8, ptr %185, align 1, !tbaa !29, !range !19, !noundef !20
  %187 = trunc i8 %186 to i1
  %188 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %189 = load i8, ptr %188, align 2, !tbaa !28, !range !19, !noundef !20
  %190 = trunc i8 %189 to i1
  %191 = call noundef double @_Z8drain_C_diiidbbb(double noundef %181, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %184, i1 noundef zeroext %187, i1 noundef zeroext false, i1 noundef zeroext %190)
  %192 = fadd double %176, %191
  store double %192, ptr %12, align 8, !tbaa !9
  %193 = load double, ptr %8, align 8, !tbaa !9
  %194 = load double, ptr %12, align 8, !tbaa !9
  %195 = load double, ptr %11, align 8, !tbaa !9
  %196 = fadd double %194, %195
  %197 = fmul double %193, %196
  store double %197, ptr %9, align 8, !tbaa !9
  %198 = load double, ptr %5, align 8, !tbaa !9
  %199 = load double, ptr %9, align 8, !tbaa !9
  %200 = call noundef double @_Z8horowitzddddi(double noundef %198, double noundef %199, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  store double %200, ptr %10, align 8, !tbaa !9
  %201 = load double, ptr %10, align 8, !tbaa !9
  %202 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 9
  %203 = load double, ptr %202, align 8, !tbaa !34
  %204 = fadd double %203, %201
  store double %204, ptr %202, align 8, !tbaa !34
  %205 = load double, ptr %10, align 8, !tbaa !9
  %206 = fdiv double %205, 5.000000e-01
  store double %206, ptr %5, align 8, !tbaa !9
  %207 = load double, ptr %11, align 8, !tbaa !9
  %208 = load double, ptr %12, align 8, !tbaa !9
  %209 = fadd double %207, %208
  %210 = load double, ptr %14, align 8, !tbaa !9
  %211 = fmul double %209, %210
  %212 = load double, ptr %14, align 8, !tbaa !9
  %213 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 1
  %214 = getelementptr inbounds %class.powerDef, ptr %213, i32 0, i32 0
  %215 = getelementptr inbounds %class.powerComponents, ptr %214, i32 0, i32 0
  %216 = load double, ptr %215, align 8, !tbaa !35
  %217 = call double @llvm.fmuladd.f64(double %211, double %212, double %216)
  store double %217, ptr %215, align 8, !tbaa !35
  br label %218

218:                                              ; preds = %129
  %219 = load i32, ptr %7, align 4, !tbaa !36
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %7, align 4, !tbaa !36
  br label %123, !llvm.loop !38

221:                                              ; preds = %123
  %222 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 5
  %223 = load i32, ptr %222, align 8, !tbaa !37
  %224 = sub nsw i32 %223, 1
  store i32 %224, ptr %7, align 4, !tbaa !36
  %225 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 3
  %226 = load double, ptr %225, align 8, !tbaa !40
  store double %226, ptr %11, align 8, !tbaa !9
  %227 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 7
  %228 = load i32, ptr %7, align 4, !tbaa !36
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [20 x double], ptr %227, i64 0, i64 %229
  %231 = load double, ptr %230, align 8, !tbaa !9
  %232 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %233 = load i8, ptr %232, align 1, !tbaa !29, !range !19, !noundef !20
  %234 = trunc i8 %233 to i1
  %235 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %236 = load i8, ptr %235, align 2, !tbaa !28, !range !19, !noundef !20
  %237 = trunc i8 %236 to i1
  %238 = call noundef double @_Z7tr_R_ondiibbb(double noundef %231, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %234, i1 noundef zeroext false, i1 noundef zeroext %237)
  store double %238, ptr %8, align 8, !tbaa !9
  %239 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 8
  %240 = load i32, ptr %7, align 4, !tbaa !36
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [20 x double], ptr %239, i64 0, i64 %241
  %243 = load double, ptr %242, align 8, !tbaa !9
  %244 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 0
  %245 = getelementptr inbounds %class.Area, ptr %244, i32 0, i32 1
  %246 = load double, ptr %245, align 8, !tbaa !33
  %247 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %248 = load i8, ptr %247, align 1, !tbaa !29, !range !19, !noundef !20
  %249 = trunc i8 %248 to i1
  %250 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %251 = load i8, ptr %250, align 2, !tbaa !28, !range !19, !noundef !20
  %252 = trunc i8 %251 to i1
  %253 = call noundef double @_Z8drain_C_diiidbbb(double noundef %243, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %246, i1 noundef zeroext %249, i1 noundef zeroext false, i1 noundef zeroext %252)
  %254 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 7
  %255 = load i32, ptr %7, align 4, !tbaa !36
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [20 x double], ptr %254, i64 0, i64 %256
  %258 = load double, ptr %257, align 8, !tbaa !9
  %259 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 0
  %260 = getelementptr inbounds %class.Area, ptr %259, i32 0, i32 1
  %261 = load double, ptr %260, align 8, !tbaa !33
  %262 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 11
  %263 = load i8, ptr %262, align 1, !tbaa !29, !range !19, !noundef !20
  %264 = trunc i8 %263 to i1
  %265 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 12
  %266 = load i8, ptr %265, align 2, !tbaa !28, !range !19, !noundef !20
  %267 = trunc i8 %266 to i1
  %268 = call noundef double @_Z8drain_C_diiidbbb(double noundef %258, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %261, i1 noundef zeroext %264, i1 noundef zeroext false, i1 noundef zeroext %267)
  %269 = fadd double %253, %268
  store double %269, ptr %12, align 8, !tbaa !9
  %270 = load double, ptr %8, align 8, !tbaa !9
  %271 = load double, ptr %12, align 8, !tbaa !9
  %272 = load double, ptr %11, align 8, !tbaa !9
  %273 = fadd double %271, %272
  %274 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 4
  %275 = load double, ptr %274, align 8, !tbaa !41
  %276 = load double, ptr %11, align 8, !tbaa !9
  %277 = fmul double %275, %276
  %278 = fdiv double %277, 2.000000e+00
  %279 = call double @llvm.fmuladd.f64(double %270, double %273, double %278)
  store double %279, ptr %9, align 8, !tbaa !9
  %280 = load double, ptr %5, align 8, !tbaa !9
  %281 = load double, ptr %9, align 8, !tbaa !9
  %282 = call noundef double @_Z8horowitzddddi(double noundef %280, double noundef %281, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  store double %282, ptr %10, align 8, !tbaa !9
  %283 = load double, ptr %10, align 8, !tbaa !9
  %284 = getelementptr inbounds %class.Decoder, ptr %15, i32 0, i32 9
  %285 = load double, ptr %284, align 8, !tbaa !34
  %286 = fadd double %285, %283
  store double %286, ptr %284, align 8, !tbaa !34
  %287 = load double, ptr %10, align 8, !tbaa !9
  %288 = fdiv double %287, 5.000000e-01
  store double %288, ptr %6, align 8, !tbaa !9
  %289 = load double, ptr %11, align 8, !tbaa !9
  %290 = load double, ptr %13, align 8, !tbaa !9
  %291 = fmul double %289, %290
  %292 = load double, ptr %13, align 8, !tbaa !9
  %293 = load double, ptr %12, align 8, !tbaa !9
  %294 = load double, ptr %14, align 8, !tbaa !9
  %295 = fmul double %293, %294
  %296 = load double, ptr %14, align 8, !tbaa !9
  %297 = fmul double %295, %296
  %298 = call double @llvm.fmuladd.f64(double %291, double %292, double %297)
  %299 = getelementptr inbounds %class.Component, ptr %15, i32 0, i32 1
  %300 = getelementptr inbounds %class.powerDef, ptr %299, i32 0, i32 0
  %301 = getelementptr inbounds %class.powerComponents, ptr %300, i32 0, i32 0
  %302 = load double, ptr %301, align 8, !tbaa !35
  %303 = fadd double %302, %298
  store double %303, ptr %301, align 8, !tbaa !35
  %304 = load double, ptr %6, align 8, !tbaa !9
  store double %304, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %306

305:                                              ; preds = %2
  store double 0.000000e+00, ptr %3, align 8
  br label %306

306:                                              ; preds = %305, %221
  %307 = load double, ptr %3, align 8
  ret double %307
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !17, i64 280}
!12 = !{!"_ZTS7Decoder", !13, i64 0, !17, i64 280, !18, i64 284, !10, i64 288, !10, i64 296, !18, i64 304, !18, i64 308, !7, i64 312, !7, i64 472, !10, i64 632, !17, i64 640, !17, i64 641, !17, i64 642, !6, i64 648}
!13 = !{!"_ZTS9Component", !14, i64 0, !15, i64 24, !15, i64 144, !10, i64 264, !10, i64 272}
!14 = !{!"_ZTS4Area", !10, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!"_ZTS8powerDef", !16, i64 0, !16, i64 40, !16, i64 80}
!16 = !{!"_ZTS15powerComponents", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!22, !10, i64 936}
!22 = !{!"_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, !23, i64 352, !24, i64 360, !24, i64 528, !24, i64 696, !24, i64 864, !24, i64 1032, !25, i64 1200, !25, i64 1264, !25, i64 1328, !26, i64 1392, !27, i64 1416, !27, i64 1464, !27, i64 1512}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_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}
!25 = !{!"_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}
!26 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !10, i64 0, !10, i64 8, !10, i64 16}
!27 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!28 = !{!12, !17, i64 642}
!29 = !{!12, !17, i64 641}
!30 = !{!22, !10, i64 56}
!31 = !{!22, !10, i64 432}
!32 = !{!12, !18, i64 284}
!33 = !{!13, !10, i64 8}
!34 = !{!12, !10, i64 632}
!35 = !{!13, !10, i64 24}
!36 = !{!18, !18, i64 0}
!37 = !{!12, !18, i64 304}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!12, !10, i64 288}
!41 = !{!12, !10, i64 296}


; 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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN7Decoder14compute_delaysEd(ptr nocapture noundef nonnull align 8 dereferenceable(656) %0, double noundef %1) local_unnamed_addr #1 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 280
  %4 = load i8, ptr %3, align 8, !tbaa !5, !range !17, !noundef !18
  %5 = trunc nuw i8 %4 to i1
  br i1 %5, label %6, label %148

6:                                                ; preds = %2
  %7 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936), align 8, !tbaa !19
  %8 = getelementptr inbounds i8, ptr %0, i64 642
  %9 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %10 = trunc nuw i8 %9 to i1
  %11 = getelementptr inbounds i8, ptr %0, i64 641
  %12 = load i8, ptr %11, align 1, !range !17
  %13 = trunc nuw i8 %12 to i1
  %spec.select = select i1 %13, ptr getelementptr inbounds (i8, ptr @g_tp, i64 56), ptr getelementptr inbounds (i8, ptr @g_tp, i64 432)
  %.048.in = select i1 %10, ptr %spec.select, ptr getelementptr inbounds (i8, ptr @g_tp, i64 936)
  %.048 = load double, ptr %.048.in, align 8, !tbaa !27
  %14 = getelementptr inbounds i8, ptr %0, i64 312
  %15 = load double, ptr %14, align 8, !tbaa !27
  %16 = getelementptr inbounds i8, ptr %0, i64 284
  %17 = load i32, ptr %16, align 4, !tbaa !28
  %18 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %15, i32 noundef 1, i32 noundef %17, i1 noundef zeroext %13, i1 noundef zeroext false, i1 noundef zeroext %10)
  %19 = getelementptr inbounds i8, ptr %0, i64 320
  %20 = load double, ptr %19, align 8, !tbaa !27
  %21 = getelementptr inbounds i8, ptr %0, i64 472
  %22 = getelementptr inbounds i8, ptr %0, i64 480
  %23 = load double, ptr %22, align 8, !tbaa !27
  %24 = fadd double %20, %23
  %25 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %26 = trunc nuw i8 %25 to i1
  %27 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %28 = trunc nuw i8 %27 to i1
  %29 = 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 %28)
  %30 = load double, ptr %21, align 8, !tbaa !27
  %31 = getelementptr inbounds i8, ptr %0, i64 8
  %32 = load double, ptr %31, align 8, !tbaa !30
  %33 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %34 = trunc nuw i8 %33 to i1
  %35 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %36 = trunc nuw i8 %35 to i1
  %37 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %30, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %32, i1 noundef zeroext %34, i1 noundef zeroext false, i1 noundef zeroext %36)
  %38 = load i32, ptr %16, align 4, !tbaa !28
  %39 = sitofp i32 %38 to double
  %40 = load double, ptr %14, align 8, !tbaa !27
  %41 = load double, ptr %31, align 8, !tbaa !30
  %42 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %43 = trunc nuw i8 %42 to i1
  %44 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %45 = trunc nuw i8 %44 to i1
  %46 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %40, i32 noundef 1, i32 noundef %38, i32 noundef 1, double noundef %41, i1 noundef zeroext %43, i1 noundef zeroext false, i1 noundef zeroext %45)
  %47 = tail call double @llvm.fmuladd.f64(double %37, double %39, double %46)
  %48 = fadd double %29, %47
  %49 = fmul double %18, %48
  %50 = tail call noundef double @_Z8horowitzddddi(double noundef %1, double noundef %49, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  %51 = getelementptr inbounds i8, ptr %0, i64 632
  %52 = load double, ptr %51, align 8, !tbaa !31
  %53 = fadd double %50, %52
  store double %53, ptr %51, align 8, !tbaa !31
  %54 = fmul double %7, %48
  %55 = getelementptr inbounds i8, ptr %0, i64 24
  %56 = load double, ptr %55, align 8, !tbaa !32
  %57 = tail call double @llvm.fmuladd.f64(double %54, double %7, double %56)
  %58 = getelementptr inbounds i8, ptr %0, i64 304
  %.05052 = fmul double %50, 2.000000e+00
  store double %57, ptr %55, align 8, !tbaa !32
  %59 = load i32, ptr %58, align 8, !tbaa !33
  %60 = icmp sgt i32 %59, 2
  br i1 %60, label %.lr.ph, label %.._crit_edge_crit_edge

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

.lr.ph:                                           ; preds = %6, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %6 ]
  %.05054 = phi double [ %.050, %.lr.ph ], [ %.05052, %6 ]
  %62 = getelementptr inbounds [20 x double], ptr %14, i64 0, i64 %indvars.iv
  %63 = load double, ptr %62, align 8, !tbaa !27
  %64 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %65 = trunc nuw i8 %64 to i1
  %66 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %67 = trunc nuw i8 %66 to i1
  %68 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %63, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %65, i1 noundef zeroext false, i1 noundef zeroext %67)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %69 = getelementptr inbounds [20 x double], ptr %21, i64 0, i64 %indvars.iv.next
  %70 = load double, ptr %69, align 8, !tbaa !27
  %71 = getelementptr inbounds [20 x double], ptr %14, i64 0, i64 %indvars.iv.next
  %72 = load double, ptr %71, align 8, !tbaa !27
  %73 = fadd double %70, %72
  %74 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %75 = trunc nuw i8 %74 to i1
  %76 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %77 = trunc nuw i8 %76 to i1
  %78 = tail call noundef double @_Z6gate_Cddbbb(double noundef %73, double noundef 0.000000e+00, i1 noundef zeroext %75, i1 noundef zeroext false, i1 noundef zeroext %77)
  %79 = getelementptr inbounds [20 x double], ptr %21, i64 0, i64 %indvars.iv
  %80 = load double, ptr %79, align 8, !tbaa !27
  %81 = load double, ptr %31, align 8, !tbaa !30
  %82 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %83 = trunc nuw i8 %82 to i1
  %84 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %85 = trunc nuw i8 %84 to i1
  %86 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %80, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %81, i1 noundef zeroext %83, i1 noundef zeroext false, i1 noundef zeroext %85)
  %87 = load double, ptr %62, align 8, !tbaa !27
  %88 = load double, ptr %31, align 8, !tbaa !30
  %89 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %90 = trunc nuw i8 %89 to i1
  %91 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %92 = trunc nuw i8 %91 to i1
  %93 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %87, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %88, i1 noundef zeroext %90, i1 noundef zeroext false, i1 noundef zeroext %92)
  %94 = fadd double %86, %93
  %95 = fadd double %78, %94
  %96 = fmul double %68, %95
  %97 = tail call noundef double @_Z8horowitzddddi(double noundef %.05054, double noundef %96, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  %98 = load double, ptr %51, align 8, !tbaa !31
  %99 = fadd double %97, %98
  store double %99, ptr %51, align 8, !tbaa !31
  %100 = fmul double %7, %95
  %101 = load double, ptr %55, align 8, !tbaa !32
  %102 = tail call double @llvm.fmuladd.f64(double %100, double %7, double %101)
  %.050 = fmul double %97, 2.000000e+00
  store double %102, ptr %55, align 8, !tbaa !32
  %103 = load i32, ptr %58, align 8, !tbaa !33
  %104 = add nsw i32 %103, -1
  %105 = sext i32 %104 to i64
  %106 = icmp slt i64 %indvars.iv.next, %105
  br i1 %106, label %.lr.ph, label %._crit_edge, !llvm.loop !34

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %105, %.lr.ph ]
  %.050.lcssa = phi double [ %.05052, %.._crit_edge_crit_edge ], [ %.050, %.lr.ph ]
  %107 = getelementptr inbounds i8, ptr %0, i64 288
  %108 = load double, ptr %107, align 8, !tbaa !36
  %109 = getelementptr inbounds [20 x double], ptr %14, i64 0, i64 %.pre-phi
  %110 = load double, ptr %109, align 8, !tbaa !27
  %111 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %112 = trunc nuw i8 %111 to i1
  %113 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %114 = trunc nuw i8 %113 to i1
  %115 = tail call noundef double @_Z7tr_R_ondiibbb(double noundef %110, i32 noundef 1, i32 noundef 1, i1 noundef zeroext %112, i1 noundef zeroext false, i1 noundef zeroext %114)
  %116 = getelementptr inbounds [20 x double], ptr %21, i64 0, i64 %.pre-phi
  %117 = load double, ptr %116, align 8, !tbaa !27
  %118 = load double, ptr %31, align 8, !tbaa !30
  %119 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %120 = trunc nuw i8 %119 to i1
  %121 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %122 = trunc nuw i8 %121 to i1
  %123 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %117, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %118, i1 noundef zeroext %120, i1 noundef zeroext false, i1 noundef zeroext %122)
  %124 = load double, ptr %109, align 8, !tbaa !27
  %125 = load double, ptr %31, align 8, !tbaa !30
  %126 = load i8, ptr %11, align 1, !tbaa !29, !range !17, !noundef !18
  %127 = trunc nuw i8 %126 to i1
  %128 = load i8, ptr %8, align 2, !tbaa !26, !range !17, !noundef !18
  %129 = trunc nuw i8 %128 to i1
  %130 = tail call noundef double @_Z8drain_C_diiidbbb(double noundef %124, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %125, i1 noundef zeroext %127, i1 noundef zeroext false, i1 noundef zeroext %129)
  %131 = fadd double %123, %130
  %132 = fadd double %108, %131
  %133 = getelementptr inbounds i8, ptr %0, i64 296
  %134 = load double, ptr %133, align 8, !tbaa !37
  %135 = fmul double %108, %134
  %136 = fmul double %135, 5.000000e-01
  %137 = tail call double @llvm.fmuladd.f64(double %115, double %132, double %136)
  %138 = tail call noundef double @_Z8horowitzddddi(double noundef %.050.lcssa, double noundef %137, double noundef 5.000000e-01, double noundef 5.000000e-01, i32 noundef 1)
  %139 = load double, ptr %51, align 8, !tbaa !31
  %140 = fadd double %138, %139
  store double %140, ptr %51, align 8, !tbaa !31
  %141 = fmul double %138, 2.000000e+00
  %142 = fmul double %.048, %108
  %143 = fmul double %7, %131
  %144 = fmul double %7, %143
  %145 = tail call double @llvm.fmuladd.f64(double %142, double %.048, double %144)
  %146 = load double, ptr %55, align 8, !tbaa !32
  %147 = fadd double %145, %146
  store double %147, ptr %55, align 8, !tbaa !32
  br label %148

148:                                              ; preds = %2, %._crit_edge
  %.0 = phi double [ %141, %._crit_edge ], [ 0.000000e+00, %2 ]
  ret double %.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) #2

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

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

!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 = !{!"_ZTS7Decoder", !7, i64 0, !14, i64 280, !15, i64 284, !9, i64 288, !9, i64 296, !15, i64 304, !15, i64 308, !10, i64 312, !10, i64 472, !9, i64 632, !14, i64 640, !14, i64 641, !14, i64 642, !16, i64 648}
!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 = !{!"bool", !10, i64 0}
!15 = !{!"int", !10, i64 0}
!16 = !{!"any pointer", !10, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !9, i64 936}
!20 = !{!"_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, !21, i64 352, !22, i64 360, !22, i64 528, !22, i64 696, !22, i64 864, !22, i64 1032, !23, i64 1200, !23, i64 1264, !23, i64 1328, !24, i64 1392, !25, i64 1416, !25, i64 1464, !25, i64 1512}
!21 = !{!"long", !10, i64 0}
!22 = !{!"_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}
!23 = !{!"_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}
!24 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !9, i64 0, !9, i64 8, !9, i64 16}
!25 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40}
!26 = !{!6, !14, i64 642}
!27 = !{!9, !9, i64 0}
!28 = !{!6, !15, i64 284}
!29 = !{!6, !14, i64 641}
!30 = !{!7, !9, i64 8}
!31 = !{!6, !9, i64 632}
!32 = !{!7, !9, i64 24}
!33 = !{!6, !15, i64 304}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!6, !9, i64 288}
!37 = !{!6, !9, i64 296}


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