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

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

@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 @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext, i1 noundef zeroext) #1

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

declare noundef i32 @_ZN9Component14logical_effortEiddPdS0_ddbbd(ptr noundef nonnull align 8 dereferenceable(280), i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, double noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12PredecBlkDrv14compute_widthsEv(ptr noundef nonnull align 8 dereferenceable(1280) %0) #2 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
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %8 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 26
  %9 = load i8, ptr %8, align 8, !tbaa !9, !range !18, !noundef !19
  %10 = trunc i8 %9 to i1
  %11 = call noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext %10, i1 noundef zeroext false)
  store double %11, ptr %4, align 8, !tbaa !20
  %12 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 1
  %13 = load i32, ptr %12, align 8, !tbaa !21
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %300

15:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %16 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %17 = load ptr, ptr %16, align 8, !tbaa !22
  %18 = getelementptr inbounds %class.PredecBlk, ptr %17, i32 0, i32 20
  %19 = getelementptr inbounds [20 x double], ptr %18, i64 0, i64 0
  %20 = load double, ptr %19, align 8, !tbaa !20
  %21 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %22 = load ptr, ptr %21, align 8, !tbaa !22
  %23 = getelementptr inbounds %class.PredecBlk, ptr %22, i32 0, i32 21
  %24 = getelementptr inbounds [20 x double], ptr %23, i64 0, i64 0
  %25 = load double, ptr %24, align 8, !tbaa !20
  %26 = fadd double %20, %25
  %27 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 26
  %28 = load i8, ptr %27, align 8, !tbaa !9, !range !18, !noundef !19
  %29 = trunc i8 %28 to i1
  %30 = call noundef double @_Z6gate_Cddbbb(double noundef %26, double noundef 0.000000e+00, i1 noundef zeroext %29, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %30, ptr %5, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %31 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %32 = load ptr, ptr %31, align 8, !tbaa !22
  %33 = getelementptr inbounds %class.PredecBlk, ptr %32, i32 0, i32 22
  %34 = getelementptr inbounds [20 x double], ptr %33, i64 0, i64 0
  %35 = load double, ptr %34, align 8, !tbaa !20
  %36 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %37 = load ptr, ptr %36, align 8, !tbaa !22
  %38 = getelementptr inbounds %class.PredecBlk, ptr %37, i32 0, i32 23
  %39 = getelementptr inbounds [20 x double], ptr %38, i64 0, i64 0
  %40 = load double, ptr %39, align 8, !tbaa !20
  %41 = fadd double %35, %40
  %42 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 26
  %43 = load i8, ptr %42, align 8, !tbaa !9, !range !18, !noundef !19
  %44 = trunc i8 %43 to i1
  %45 = call noundef double @_Z6gate_Cddbbb(double noundef %41, double noundef 0.000000e+00, i1 noundef zeroext %44, i1 noundef zeroext false, i1 noundef zeroext false)
  store double %45, ptr %6, align 8, !tbaa !20
  %46 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 27
  %47 = load i32, ptr %46, align 4, !tbaa !23
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %49, label %169

49:                                               ; preds = %15
  %50 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %51 = load ptr, ptr %50, align 8, !tbaa !22
  %52 = getelementptr inbounds %class.PredecBlk, ptr %51, i32 0, i32 4
  %53 = load i32, ptr %52, align 4, !tbaa !24
  %54 = icmp eq i32 %53, 1
  br i1 %54, label %55, label %60

55:                                               ; preds = %49
  %56 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 7
  store i32 1, ptr %56, align 8, !tbaa !26
  %57 = load double, ptr %5, align 8, !tbaa !20
  %58 = fmul double 2.000000e+00, %57
  %59 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 12
  store double %58, ptr %59, align 8, !tbaa !27
  br label %168

60:                                               ; preds = %49
  %61 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %62 = load ptr, ptr %61, align 8, !tbaa !22
  %63 = getelementptr inbounds %class.PredecBlk, ptr %62, i32 0, i32 4
  %64 = load i32, ptr %63, align 4, !tbaa !24
  %65 = icmp eq i32 %64, 2
  br i1 %65, label %66, label %71

66:                                               ; preds = %60
  %67 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 8
  store i32 2, ptr %67, align 4, !tbaa !28
  %68 = load double, ptr %5, align 8, !tbaa !20
  %69 = fmul double 4.000000e+00, %68
  %70 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 12
  store double %69, ptr %70, align 8, !tbaa !27
  br label %167

71:                                               ; preds = %60
  %72 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  %74 = getelementptr inbounds %class.PredecBlk, ptr %73, i32 0, i32 4
  %75 = load i32, ptr %74, align 4, !tbaa !24
  %76 = icmp eq i32 %75, 3
  br i1 %76, label %77, label %82

77:                                               ; preds = %71
  %78 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 10
  store i32 3, ptr %78, align 4, !tbaa !29
  %79 = load double, ptr %6, align 8, !tbaa !20
  %80 = fmul double 8.000000e+00, %79
  %81 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 13
  store double %80, ptr %81, align 8, !tbaa !30
  br label %166

82:                                               ; preds = %71
  %83 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %84 = load ptr, ptr %83, align 8, !tbaa !22
  %85 = getelementptr inbounds %class.PredecBlk, ptr %84, i32 0, i32 4
  %86 = load i32, ptr %85, align 4, !tbaa !24
  %87 = icmp eq i32 %86, 4
  br i1 %87, label %88, label %93

88:                                               ; preds = %82
  %89 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 8
  store i32 4, ptr %89, align 4, !tbaa !28
  %90 = load double, ptr %5, align 8, !tbaa !20
  %91 = fmul double 4.000000e+00, %90
  %92 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 12
  store double %91, ptr %92, align 8, !tbaa !27
  br label %165

93:                                               ; preds = %82
  %94 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %95 = load ptr, ptr %94, align 8, !tbaa !22
  %96 = getelementptr inbounds %class.PredecBlk, ptr %95, i32 0, i32 4
  %97 = load i32, ptr %96, align 4, !tbaa !24
  %98 = icmp eq i32 %97, 5
  br i1 %98, label %99, label %108

99:                                               ; preds = %93
  %100 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 8
  store i32 2, ptr %100, align 4, !tbaa !28
  %101 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 10
  store i32 3, ptr %101, align 4, !tbaa !29
  %102 = load double, ptr %5, align 8, !tbaa !20
  %103 = fmul double 4.000000e+00, %102
  %104 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 12
  store double %103, ptr %104, align 8, !tbaa !27
  %105 = load double, ptr %6, align 8, !tbaa !20
  %106 = fmul double 8.000000e+00, %105
  %107 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 13
  store double %106, ptr %107, align 8, !tbaa !30
  br label %164

108:                                              ; preds = %93
  %109 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %110 = load ptr, ptr %109, align 8, !tbaa !22
  %111 = getelementptr inbounds %class.PredecBlk, ptr %110, i32 0, i32 4
  %112 = load i32, ptr %111, align 4, !tbaa !24
  %113 = icmp eq i32 %112, 6
  br i1 %113, label %114, label %119

114:                                              ; preds = %108
  %115 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 10
  store i32 6, ptr %115, align 4, !tbaa !29
  %116 = load double, ptr %6, align 8, !tbaa !20
  %117 = fmul double 8.000000e+00, %116
  %118 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 13
  store double %117, ptr %118, align 8, !tbaa !30
  br label %163

119:                                              ; preds = %108
  %120 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %121 = load ptr, ptr %120, align 8, !tbaa !22
  %122 = getelementptr inbounds %class.PredecBlk, ptr %121, i32 0, i32 4
  %123 = load i32, ptr %122, align 4, !tbaa !24
  %124 = icmp eq i32 %123, 7
  br i1 %124, label %125, label %134

125:                                              ; preds = %119
  %126 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 8
  store i32 4, ptr %126, align 4, !tbaa !28
  %127 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 10
  store i32 3, ptr %127, align 4, !tbaa !29
  %128 = load double, ptr %5, align 8, !tbaa !20
  %129 = fmul double 4.000000e+00, %128
  %130 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 12
  store double %129, ptr %130, align 8, !tbaa !27
  %131 = load double, ptr %6, align 8, !tbaa !20
  %132 = fmul double 8.000000e+00, %131
  %133 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 13
  store double %132, ptr %133, align 8, !tbaa !30
  br label %162

134:                                              ; preds = %119
  %135 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %136 = load ptr, ptr %135, align 8, !tbaa !22
  %137 = getelementptr inbounds %class.PredecBlk, ptr %136, i32 0, i32 4
  %138 = load i32, ptr %137, align 4, !tbaa !24
  %139 = icmp eq i32 %138, 8
  br i1 %139, label %140, label %149

140:                                              ; preds = %134
  %141 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 8
  store i32 2, ptr %141, align 4, !tbaa !28
  %142 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 10
  store i32 6, ptr %142, align 4, !tbaa !29
  %143 = load double, ptr %5, align 8, !tbaa !20
  %144 = fmul double 4.000000e+00, %143
  %145 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 12
  store double %144, ptr %145, align 8, !tbaa !27
  %146 = load double, ptr %6, align 8, !tbaa !20
  %147 = fmul double 8.000000e+00, %146
  %148 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 13
  store double %147, ptr %148, align 8, !tbaa !30
  br label %161

149:                                              ; preds = %134
  %150 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %151 = load ptr, ptr %150, align 8, !tbaa !22
  %152 = getelementptr inbounds %class.PredecBlk, ptr %151, i32 0, i32 4
  %153 = load i32, ptr %152, align 4, !tbaa !24
  %154 = icmp eq i32 %153, 9
  br i1 %154, label %155, label %160

155:                                              ; preds = %149
  %156 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 10
  store i32 9, ptr %156, align 4, !tbaa !29
  %157 = load double, ptr %6, align 8, !tbaa !20
  %158 = fmul double 8.000000e+00, %157
  %159 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 13
  store double %158, ptr %159, align 8, !tbaa !30
  br label %160

160:                                              ; preds = %155, %149
  br label %161

161:                                              ; preds = %160, %140
  br label %162

162:                                              ; preds = %161, %125
  br label %163

163:                                              ; preds = %162, %114
  br label %164

164:                                              ; preds = %163, %99
  br label %165

165:                                              ; preds = %164, %88
  br label %166

166:                                              ; preds = %165, %77
  br label %167

167:                                              ; preds = %166, %66
  br label %168

168:                                              ; preds = %167, %55
  br label %169

169:                                              ; preds = %168, %15
  %170 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %171 = load ptr, ptr %170, align 8, !tbaa !22
  %172 = getelementptr inbounds %class.PredecBlk, ptr %171, i32 0, i32 9
  %173 = load i8, ptr %172, align 8, !tbaa !31, !range !18, !noundef !19
  %174 = trunc i8 %173 to i1
  br i1 %174, label %195, label %175

175:                                              ; preds = %169
  %176 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %177 = load ptr, ptr %176, align 8, !tbaa !22
  %178 = getelementptr inbounds %class.PredecBlk, ptr %177, i32 0, i32 12
  %179 = load i32, ptr %178, align 8, !tbaa !32
  %180 = icmp eq i32 %179, 2
  br i1 %180, label %195, label %181

181:                                              ; preds = %175
  %182 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 2
  %183 = load i32, ptr %182, align 4, !tbaa !33
  %184 = icmp eq i32 %183, 0
  br i1 %184, label %195, label %185

185:                                              ; preds = %181
  %186 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 27
  %187 = load i32, ptr %186, align 4, !tbaa !23
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %189, label %236

189:                                              ; preds = %185
  %190 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 25
  %191 = load ptr, ptr %190, align 8, !tbaa !34
  %192 = getelementptr inbounds %class.Decoder, ptr %191, i32 0, i32 2
  %193 = load i32, ptr %192, align 4, !tbaa !35
  %194 = icmp eq i32 %193, 2
  br i1 %194, label %195, label %236

195:                                              ; preds = %189, %181, %175, %169
  %196 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !37
  %197 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 16
  %198 = getelementptr inbounds [20 x double], ptr %197, i64 0, i64 0
  store double %196, ptr %198, align 8, !tbaa !20
  %199 = load double, ptr %4, align 8, !tbaa !20
  %200 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 16
  %201 = getelementptr inbounds [20 x double], ptr %200, i64 0, i64 0
  %202 = load double, ptr %201, align 8, !tbaa !20
  %203 = fmul double %199, %202
  %204 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 17
  %205 = getelementptr inbounds [20 x double], ptr %204, i64 0, i64 0
  store double %203, ptr %205, align 8, !tbaa !20
  %206 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 12
  %207 = load double, ptr %206, align 8, !tbaa !27
  %208 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 16
  %209 = getelementptr inbounds [20 x double], ptr %208, i64 0, i64 0
  %210 = load double, ptr %209, align 8, !tbaa !20
  %211 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 17
  %212 = getelementptr inbounds [20 x double], ptr %211, i64 0, i64 0
  %213 = load double, ptr %212, align 8, !tbaa !20
  %214 = fadd double %210, %213
  %215 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 26
  %216 = load i8, ptr %215, align 8, !tbaa !9, !range !18, !noundef !19
  %217 = trunc i8 %216 to i1
  %218 = call noundef double @_Z6gate_Cddbbb(double noundef %214, double noundef 0.000000e+00, i1 noundef zeroext %217, i1 noundef zeroext false, i1 noundef zeroext false)
  %219 = fdiv double %207, %218
  store double %219, ptr %3, align 8, !tbaa !20
  %220 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 5
  %221 = load i32, ptr %220, align 8, !tbaa !44
  %222 = load double, ptr %3, align 8, !tbaa !20
  %223 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 16
  %224 = getelementptr inbounds [20 x double], ptr %223, i64 0, i64 0
  %225 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 17
  %226 = getelementptr inbounds [20 x double], ptr %225, i64 0, i64 0
  %227 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 12
  %228 = load double, ptr %227, align 8, !tbaa !27
  %229 = load double, ptr %4, align 8, !tbaa !20
  %230 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 26
  %231 = load i8, ptr %230, align 8, !tbaa !9, !range !18, !noundef !19
  %232 = trunc i8 %231 to i1
  %233 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 2), align 8, !tbaa !45
  %234 = call noundef i32 @_ZN9Component14logical_effortEiddPdS0_ddbbd(ptr noundef nonnull align 8 dereferenceable(280) %7, i32 noundef %221, double noundef 1.000000e+00, double noundef %222, ptr noundef %224, ptr noundef %226, double noundef %228, double noundef %229, i1 noundef zeroext %232, i1 noundef zeroext false, double noundef %233)
  %235 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 3
  store i32 %234, ptr %235, align 8, !tbaa !46
  br label %236

236:                                              ; preds = %195, %189, %185
  %237 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %238 = load ptr, ptr %237, align 8, !tbaa !22
  %239 = getelementptr inbounds %class.PredecBlk, ptr %238, i32 0, i32 9
  %240 = load i8, ptr %239, align 8, !tbaa !31, !range !18, !noundef !19
  %241 = trunc i8 %240 to i1
  br i1 %241, label %258, label %242

242:                                              ; preds = %236
  %243 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 24
  %244 = load ptr, ptr %243, align 8, !tbaa !22
  %245 = getelementptr inbounds %class.PredecBlk, ptr %244, i32 0, i32 12
  %246 = load i32, ptr %245, align 8, !tbaa !32
  %247 = icmp eq i32 %246, 3
  br i1 %247, label %258, label %248

248:                                              ; preds = %242
  %249 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 27
  %250 = load i32, ptr %249, align 4, !tbaa !23
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %299

252:                                              ; preds = %248
  %253 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 25
  %254 = load ptr, ptr %253, align 8, !tbaa !34
  %255 = getelementptr inbounds %class.Decoder, ptr %254, i32 0, i32 2
  %256 = load i32, ptr %255, align 4, !tbaa !35
  %257 = icmp eq i32 %256, 3
  br i1 %257, label %258, label %299

258:                                              ; preds = %252, %242, %236
  %259 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !37
  %260 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 18
  %261 = getelementptr inbounds [20 x double], ptr %260, i64 0, i64 0
  store double %259, ptr %261, align 8, !tbaa !20
  %262 = load double, ptr %4, align 8, !tbaa !20
  %263 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 18
  %264 = getelementptr inbounds [20 x double], ptr %263, i64 0, i64 0
  %265 = load double, ptr %264, align 8, !tbaa !20
  %266 = fmul double %262, %265
  %267 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 19
  %268 = getelementptr inbounds [20 x double], ptr %267, i64 0, i64 0
  store double %266, ptr %268, align 8, !tbaa !20
  %269 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 13
  %270 = load double, ptr %269, align 8, !tbaa !30
  %271 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 18
  %272 = getelementptr inbounds [20 x double], ptr %271, i64 0, i64 0
  %273 = load double, ptr %272, align 8, !tbaa !20
  %274 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 19
  %275 = getelementptr inbounds [20 x double], ptr %274, i64 0, i64 0
  %276 = load double, ptr %275, align 8, !tbaa !20
  %277 = fadd double %273, %276
  %278 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 26
  %279 = load i8, ptr %278, align 8, !tbaa !9, !range !18, !noundef !19
  %280 = trunc i8 %279 to i1
  %281 = call noundef double @_Z6gate_Cddbbb(double noundef %277, double noundef 0.000000e+00, i1 noundef zeroext %280, i1 noundef zeroext false, i1 noundef zeroext false)
  %282 = fdiv double %270, %281
  store double %282, ptr %3, align 8, !tbaa !20
  %283 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 5
  %284 = load i32, ptr %283, align 8, !tbaa !44
  %285 = load double, ptr %3, align 8, !tbaa !20
  %286 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 18
  %287 = getelementptr inbounds [20 x double], ptr %286, i64 0, i64 0
  %288 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 19
  %289 = getelementptr inbounds [20 x double], ptr %288, i64 0, i64 0
  %290 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 13
  %291 = load double, ptr %290, align 8, !tbaa !30
  %292 = load double, ptr %4, align 8, !tbaa !20
  %293 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 26
  %294 = load i8, ptr %293, align 8, !tbaa !9, !range !18, !noundef !19
  %295 = trunc i8 %294 to i1
  %296 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 2), align 8, !tbaa !45
  %297 = call noundef i32 @_ZN9Component14logical_effortEiddPdS0_ddbbd(ptr noundef nonnull align 8 dereferenceable(280) %7, i32 noundef %284, double noundef 1.000000e+00, double noundef %285, ptr noundef %287, ptr noundef %289, double noundef %291, double noundef %292, i1 noundef zeroext %295, i1 noundef zeroext false, double noundef %296)
  %298 = getelementptr inbounds %class.PredecBlkDrv, ptr %7, i32 0, i32 4
  store i32 %297, ptr %298, align 4, !tbaa !47
  br label %299

299:                                              ; preds = %258, %252, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  br label %300

300:                                              ; preds = %299, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void
}

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 = { 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, !17, i64 1272}
!10 = !{!"_ZTS12PredecBlkDrv", !11, i64 0, !16, i64 280, !16, i64 284, !16, i64 288, !16, i64 292, !16, i64 296, !16, i64 300, !16, i64 304, !16, i64 308, !16, i64 312, !16, i64 316, !16, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !7, i64 360, !7, i64 520, !7, i64 680, !7, i64 840, !13, i64 1000, !13, i64 1008, !14, i64 1016, !14, i64 1136, !6, i64 1256, !6, i64 1264, !17, i64 1272, !16, i64 1276}
!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 = !{!"int", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!13, !13, i64 0}
!21 = !{!10, !16, i64 280}
!22 = !{!10, !6, i64 1256}
!23 = !{!10, !16, i64 1276}
!24 = !{!25, !16, i64 292}
!25 = !{!"_ZTS9PredecBlk", !11, i64 0, !6, i64 280, !17, i64 288, !16, i64 292, !13, i64 296, !13, i64 304, !16, i64 312, !16, i64 316, !17, i64 320, !16, i64 324, !16, i64 328, !16, i64 332, !16, i64 336, !16, i64 340, !16, i64 344, !16, i64 348, !16, i64 352, !16, i64 356, !7, i64 360, !7, i64 520, !7, i64 680, !7, i64 840, !7, i64 1000, !7, i64 1160, !13, i64 1320, !13, i64 1328, !14, i64 1336, !14, i64 1456, !14, i64 1576, !17, i64 1696}
!26 = !{!10, !16, i64 304}
!27 = !{!10, !13, i64 328}
!28 = !{!10, !16, i64 308}
!29 = !{!10, !16, i64 316}
!30 = !{!10, !13, i64 336}
!31 = !{!25, !17, i64 320}
!32 = !{!25, !16, i64 328}
!33 = !{!10, !16, i64 284}
!34 = !{!10, !6, i64 1264}
!35 = !{!36, !16, i64 284}
!36 = !{!"_ZTS7Decoder", !11, i64 0, !17, i64 280, !16, i64 284, !13, i64 288, !13, i64 296, !16, i64 304, !16, i64 308, !7, i64 312, !7, i64 472, !13, i64 632, !17, i64 640, !17, i64 641, !17, i64 642, !6, i64 648}
!37 = !{!38, !13, i64 8}
!38 = !{!"_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, !39, i64 352, !40, i64 360, !40, i64 528, !40, i64 696, !40, i64 864, !40, i64 1032, !41, i64 1200, !41, i64 1264, !41, i64 1328, !42, i64 1392, !43, i64 1416, !43, i64 1464, !43, i64 1512}
!39 = !{!"long", !7, i64 0}
!40 = !{!"_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}
!41 = !{!"_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}
!42 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !13, i64 0, !13, i64 8, !13, i64 16}
!43 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!44 = !{!10, !16, i64 296}
!45 = !{!38, !13, i64 16}
!46 = !{!10, !16, i64 288}
!47 = !{!10, !16, i64 292}


; 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 @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

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

declare noundef i32 @_ZN9Component14logical_effortEiddPdS0_ddbbd(ptr noundef nonnull align 8 dereferenceable(280), i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12PredecBlkDrv14compute_widthsEv(ptr noundef nonnull align 8 dereferenceable(1280) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 1272
  %3 = load i8, ptr %2, align 8, !tbaa !5, !range !17, !noundef !18
  %4 = trunc nuw i8 %3 to i1
  %5 = tail call noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext %4, i1 noundef zeroext false)
  %6 = getelementptr inbounds i8, ptr %0, i64 280
  %7 = load i32, ptr %6, align 8, !tbaa !19
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %145, label %8

8:                                                ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 1256
  %10 = load ptr, ptr %9, align 8, !tbaa !20
  %11 = getelementptr inbounds i8, ptr %10, i64 360
  %12 = load double, ptr %11, align 8, !tbaa !21
  %13 = getelementptr inbounds i8, ptr %10, i64 520
  %14 = load double, ptr %13, align 8, !tbaa !21
  %15 = fadd double %12, %14
  %16 = load i8, ptr %2, align 8, !tbaa !5, !range !17, !noundef !18
  %17 = trunc nuw i8 %16 to i1
  %18 = tail call noundef double @_Z6gate_Cddbbb(double noundef %15, double noundef 0.000000e+00, i1 noundef zeroext %17, i1 noundef zeroext false, i1 noundef zeroext false)
  %19 = load ptr, ptr %9, align 8, !tbaa !20
  %20 = getelementptr inbounds i8, ptr %19, i64 680
  %21 = load double, ptr %20, align 8, !tbaa !21
  %22 = getelementptr inbounds i8, ptr %19, i64 840
  %23 = load double, ptr %22, align 8, !tbaa !21
  %24 = fadd double %21, %23
  %25 = load i8, ptr %2, align 8, !tbaa !5, !range !17, !noundef !18
  %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 i8, ptr %0, i64 1276
  %29 = load i32, ptr %28, align 4, !tbaa !22
  %30 = icmp eq i32 %29, 0
  %.pre = load ptr, ptr %9, align 8, !tbaa !20
  br i1 %30, label %31, label %71

31:                                               ; preds = %8
  %32 = getelementptr inbounds i8, ptr %.pre, i64 292
  %33 = load i32, ptr %32, align 4, !tbaa !23
  switch i32 %33, label %71 [
    i32 1, label %34
    i32 2, label %37
    i32 3, label %40
    i32 4, label %43
    i32 5, label %46
    i32 6, label %52
    i32 7, label %55
    i32 8, label %61
    i32 9, label %67
  ]

34:                                               ; preds = %31
  %35 = getelementptr inbounds i8, ptr %0, i64 304
  store i32 1, ptr %35, align 8, !tbaa !25
  %36 = fmul double %18, 2.000000e+00
  br label %.sink.split

37:                                               ; preds = %31
  %38 = getelementptr inbounds i8, ptr %0, i64 308
  store i32 2, ptr %38, align 4, !tbaa !26
  %39 = fmul double %18, 4.000000e+00
  br label %.sink.split

40:                                               ; preds = %31
  %41 = getelementptr inbounds i8, ptr %0, i64 316
  store i32 3, ptr %41, align 4, !tbaa !27
  %42 = fmul double %27, 8.000000e+00
  br label %.sink.split

43:                                               ; preds = %31
  %44 = getelementptr inbounds i8, ptr %0, i64 308
  store i32 4, ptr %44, align 4, !tbaa !26
  %45 = fmul double %18, 4.000000e+00
  br label %.sink.split

46:                                               ; preds = %31
  %47 = getelementptr inbounds i8, ptr %0, i64 308
  store i32 2, ptr %47, align 4, !tbaa !26
  %48 = getelementptr inbounds i8, ptr %0, i64 316
  store i32 3, ptr %48, align 4, !tbaa !27
  %49 = fmul double %18, 4.000000e+00
  %50 = getelementptr inbounds i8, ptr %0, i64 328
  store double %49, ptr %50, align 8, !tbaa !28
  %51 = fmul double %27, 8.000000e+00
  br label %.sink.split

52:                                               ; preds = %31
  %53 = getelementptr inbounds i8, ptr %0, i64 316
  store i32 6, ptr %53, align 4, !tbaa !27
  %54 = fmul double %27, 8.000000e+00
  br label %.sink.split

55:                                               ; preds = %31
  %56 = getelementptr inbounds i8, ptr %0, i64 308
  store i32 4, ptr %56, align 4, !tbaa !26
  %57 = getelementptr inbounds i8, ptr %0, i64 316
  store i32 3, ptr %57, align 4, !tbaa !27
  %58 = fmul double %18, 4.000000e+00
  %59 = getelementptr inbounds i8, ptr %0, i64 328
  store double %58, ptr %59, align 8, !tbaa !28
  %60 = fmul double %27, 8.000000e+00
  br label %.sink.split

61:                                               ; preds = %31
  %62 = getelementptr inbounds i8, ptr %0, i64 308
  store i32 2, ptr %62, align 4, !tbaa !26
  %63 = getelementptr inbounds i8, ptr %0, i64 316
  store i32 6, ptr %63, align 4, !tbaa !27
  %64 = fmul double %18, 4.000000e+00
  %65 = getelementptr inbounds i8, ptr %0, i64 328
  store double %64, ptr %65, align 8, !tbaa !28
  %66 = fmul double %27, 8.000000e+00
  br label %.sink.split

67:                                               ; preds = %31
  %68 = getelementptr inbounds i8, ptr %0, i64 316
  store i32 9, ptr %68, align 4, !tbaa !27
  %69 = fmul double %27, 8.000000e+00
  br label %.sink.split

.sink.split:                                      ; preds = %37, %43, %52, %61, %67, %55, %46, %40, %34
  %.sink26 = phi i64 [ 328, %34 ], [ 336, %40 ], [ 336, %46 ], [ 336, %55 ], [ 336, %67 ], [ 336, %61 ], [ 336, %52 ], [ 328, %43 ], [ 328, %37 ]
  %.sink = phi double [ %36, %34 ], [ %42, %40 ], [ %51, %46 ], [ %60, %55 ], [ %69, %67 ], [ %66, %61 ], [ %54, %52 ], [ %45, %43 ], [ %39, %37 ]
  %70 = getelementptr inbounds i8, ptr %0, i64 %.sink26
  store double %.sink, ptr %70, align 8, !tbaa !21
  br label %71

71:                                               ; preds = %.sink.split, %31, %8
  %72 = getelementptr inbounds i8, ptr %.pre, i64 320
  %73 = load i8, ptr %72, align 8, !tbaa !29, !range !17, !noundef !18
  %74 = trunc nuw i8 %73 to i1
  br i1 %74, label %89, label %75

75:                                               ; preds = %71
  %76 = getelementptr inbounds i8, ptr %.pre, i64 328
  %77 = load i32, ptr %76, align 8, !tbaa !30
  %78 = icmp eq i32 %77, 2
  %79 = getelementptr inbounds i8, ptr %0, i64 284
  %80 = load i32, ptr %79, align 4
  %81 = icmp eq i32 %80, 0
  %or.cond = select i1 %78, i1 true, i1 %81
  br i1 %or.cond, label %89, label %82

82:                                               ; preds = %75
  br i1 %30, label %109, label %83

83:                                               ; preds = %82
  %84 = getelementptr inbounds i8, ptr %0, i64 1264
  %85 = load ptr, ptr %84, align 8, !tbaa !31
  %86 = getelementptr inbounds i8, ptr %85, i64 284
  %87 = load i32, ptr %86, align 4, !tbaa !32
  %88 = icmp eq i32 %87, 2
  br i1 %88, label %89, label %109

89:                                               ; preds = %83, %75, %71
  %90 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !34
  %91 = getelementptr inbounds i8, ptr %0, i64 360
  store double %90, ptr %91, align 8, !tbaa !21
  %92 = fmul double %5, %90
  %93 = getelementptr inbounds i8, ptr %0, i64 520
  store double %92, ptr %93, align 8, !tbaa !21
  %94 = getelementptr inbounds i8, ptr %0, i64 328
  %95 = load double, ptr %94, align 8, !tbaa !28
  %96 = fadd double %90, %92
  %97 = load i8, ptr %2, align 8, !tbaa !5, !range !17, !noundef !18
  %98 = trunc nuw i8 %97 to i1
  %99 = tail call noundef double @_Z6gate_Cddbbb(double noundef %96, double noundef 0.000000e+00, i1 noundef zeroext %98, i1 noundef zeroext false, i1 noundef zeroext false)
  %100 = fdiv double %95, %99
  %101 = getelementptr inbounds i8, ptr %0, i64 296
  %102 = load i32, ptr %101, align 8, !tbaa !41
  %103 = load double, ptr %94, align 8, !tbaa !28
  %104 = load i8, ptr %2, align 8, !tbaa !5, !range !17, !noundef !18
  %105 = trunc nuw i8 %104 to i1
  %106 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 16), align 8, !tbaa !42
  %107 = tail call noundef i32 @_ZN9Component14logical_effortEiddPdS0_ddbbd(ptr noundef nonnull align 8 dereferenceable(280) %0, i32 noundef %102, double noundef 1.000000e+00, double noundef %100, ptr noundef nonnull %91, ptr noundef nonnull %93, double noundef %103, double noundef %5, i1 noundef zeroext %105, i1 noundef zeroext false, double noundef %106)
  %108 = getelementptr inbounds i8, ptr %0, i64 288
  store i32 %107, ptr %108, align 8, !tbaa !43
  %.pre23 = load ptr, ptr %9, align 8, !tbaa !20
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre23, i64 320
  %.pre24 = load i8, ptr %.phi.trans.insert, align 8, !tbaa !29, !range !17
  br label %109

109:                                              ; preds = %89, %83, %82
  %110 = phi i8 [ %.pre24, %89 ], [ %73, %83 ], [ %73, %82 ]
  %111 = phi ptr [ %.pre23, %89 ], [ %.pre, %83 ], [ %.pre, %82 ]
  %112 = trunc nuw i8 %110 to i1
  br i1 %112, label %125, label %113

113:                                              ; preds = %109
  %114 = getelementptr inbounds i8, ptr %111, i64 328
  %115 = load i32, ptr %114, align 8, !tbaa !30
  %116 = icmp eq i32 %115, 3
  br i1 %116, label %125, label %117

117:                                              ; preds = %113
  %118 = load i32, ptr %28, align 4, !tbaa !22
  %.not20 = icmp eq i32 %118, 0
  br i1 %.not20, label %145, label %119

119:                                              ; preds = %117
  %120 = getelementptr inbounds i8, ptr %0, i64 1264
  %121 = load ptr, ptr %120, align 8, !tbaa !31
  %122 = getelementptr inbounds i8, ptr %121, i64 284
  %123 = load i32, ptr %122, align 4, !tbaa !32
  %124 = icmp eq i32 %123, 3
  br i1 %124, label %125, label %145

125:                                              ; preds = %119, %113, %109
  %126 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !34
  %127 = getelementptr inbounds i8, ptr %0, i64 680
  store double %126, ptr %127, align 8, !tbaa !21
  %128 = fmul double %5, %126
  %129 = getelementptr inbounds i8, ptr %0, i64 840
  store double %128, ptr %129, align 8, !tbaa !21
  %130 = getelementptr inbounds i8, ptr %0, i64 336
  %131 = load double, ptr %130, align 8, !tbaa !44
  %132 = fadd double %126, %128
  %133 = load i8, ptr %2, align 8, !tbaa !5, !range !17, !noundef !18
  %134 = trunc nuw i8 %133 to i1
  %135 = tail call noundef double @_Z6gate_Cddbbb(double noundef %132, double noundef 0.000000e+00, i1 noundef zeroext %134, i1 noundef zeroext false, i1 noundef zeroext false)
  %136 = fdiv double %131, %135
  %137 = getelementptr inbounds i8, ptr %0, i64 296
  %138 = load i32, ptr %137, align 8, !tbaa !41
  %139 = load double, ptr %130, align 8, !tbaa !44
  %140 = load i8, ptr %2, align 8, !tbaa !5, !range !17, !noundef !18
  %141 = trunc nuw i8 %140 to i1
  %142 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 16), align 8, !tbaa !42
  %143 = tail call noundef i32 @_ZN9Component14logical_effortEiddPdS0_ddbbd(ptr noundef nonnull align 8 dereferenceable(280) %0, i32 noundef %138, double noundef 1.000000e+00, double noundef %136, ptr noundef nonnull %127, ptr noundef nonnull %129, double noundef %139, double noundef %5, i1 noundef zeroext %141, i1 noundef zeroext false, double noundef %142)
  %144 = getelementptr inbounds i8, ptr %0, i64 292
  store i32 %143, ptr %144, align 4, !tbaa !45
  br label %145

145:                                              ; preds = %117, %119, %125, %1
  ret void
}

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" }

!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, !16, i64 1272}
!6 = !{!"_ZTS12PredecBlkDrv", !7, i64 0, !14, i64 280, !14, i64 284, !14, i64 288, !14, i64 292, !14, i64 296, !14, i64 300, !14, i64 304, !14, i64 308, !14, i64 312, !14, i64 316, !14, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !9, i64 352, !10, i64 360, !10, i64 520, !10, i64 680, !10, i64 840, !9, i64 1000, !9, i64 1008, !12, i64 1016, !12, i64 1136, !15, i64 1256, !15, i64 1264, !16, i64 1272, !14, i64 1276}
!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 = !{!"any pointer", !10, i64 0}
!16 = !{!"bool", !10, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !14, i64 280}
!20 = !{!6, !15, i64 1256}
!21 = !{!9, !9, i64 0}
!22 = !{!6, !14, i64 1276}
!23 = !{!24, !14, i64 292}
!24 = !{!"_ZTS9PredecBlk", !7, i64 0, !15, i64 280, !16, i64 288, !14, i64 292, !9, i64 296, !9, i64 304, !14, i64 312, !14, i64 316, !16, i64 320, !14, i64 324, !14, i64 328, !14, i64 332, !14, i64 336, !14, i64 340, !14, i64 344, !14, i64 348, !14, i64 352, !14, i64 356, !10, i64 360, !10, i64 520, !10, i64 680, !10, i64 840, !10, i64 1000, !10, i64 1160, !9, i64 1320, !9, i64 1328, !12, i64 1336, !12, i64 1456, !12, i64 1576, !16, i64 1696}
!25 = !{!6, !14, i64 304}
!26 = !{!6, !14, i64 308}
!27 = !{!6, !14, i64 316}
!28 = !{!6, !9, i64 328}
!29 = !{!24, !16, i64 320}
!30 = !{!24, !14, i64 328}
!31 = !{!6, !15, i64 1264}
!32 = !{!33, !14, i64 284}
!33 = !{!"_ZTS7Decoder", !7, i64 0, !16, i64 280, !14, i64 284, !9, i64 288, !9, i64 296, !14, i64 304, !14, i64 308, !10, i64 312, !10, i64 472, !9, i64 632, !16, i64 640, !16, i64 641, !16, i64 642, !15, i64 648}
!34 = !{!35, !9, i64 8}
!35 = !{!"_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, !36, i64 352, !37, i64 360, !37, i64 528, !37, i64 696, !37, i64 864, !37, i64 1032, !38, i64 1200, !38, i64 1264, !38, i64 1328, !39, i64 1392, !40, i64 1416, !40, i64 1464, !40, i64 1512}
!36 = !{!"long", !10, i64 0}
!37 = !{!"_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}
!38 = !{!"_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}
!39 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !9, i64 0, !9, i64 8, !9, i64 16}
!40 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40}
!41 = !{!6, !14, i64 296}
!42 = !{!35, !9, i64 16}
!43 = !{!6, !14, i64 288}
!44 = !{!6, !9, i64 336}
!45 = !{!6, !14, i64 292}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass