; LLVM IR from USDA-ARS-ACSL/MAIZSIM :: Crop source/solar.ll (ZN6CSolar6SetValEiddddd)

; 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.CSolar = type <{ i32, [4 x i8], 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, double, double, double, double, double, double, double, i8, i8, [6 x i8] }>

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6CSolar6SetValEiddddd(ptr noundef nonnull align 8 dereferenceable(418) %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 align 2 {
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store double %2, ptr %10, align 8, !tbaa !11
  store double %3, ptr %11, align 8, !tbaa !11
  store double %4, ptr %12, align 8, !tbaa !11
  store double %5, ptr %13, align 8, !tbaa !11
  store double %6, ptr %14, align 8, !tbaa !11
  %16 = load ptr, ptr %8, align 8
  %17 = load i32, ptr %9, align 4, !tbaa !9
  %18 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 0
  store i32 %17, ptr %18, align 8, !tbaa !13
  %19 = load double, ptr %10, align 8, !tbaa !11
  %20 = fmul double %19, 2.400000e+01
  %21 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 2
  store double %20, ptr %21, align 8, !tbaa !16
  %22 = load double, ptr %11, align 8, !tbaa !11
  %23 = call noundef double @_Z8DegToRadd(double noundef %22)
  %24 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 3
  store double %23, ptr %24, align 8, !tbaa !17
  %25 = load double, ptr %12, align 8, !tbaa !11
  %26 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 4
  store double %25, ptr %26, align 8, !tbaa !18
  %27 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 54
  store i8 0, ptr %27, align 1, !tbaa !19
  %28 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 53
  store i8 1, ptr %28, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  store double 5.000000e+01, ptr %15, align 8, !tbaa !11
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %30 = load double, ptr %29, align 8, !tbaa !11
  %31 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 5
  store double %30, ptr %31, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @_ZN6CSolar14SetDeclinationEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar12SetDayLengthEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar12SetSolarNoonEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar17SetSolarElevationEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar10SetAzimuthEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar17SetPotentialSolarEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar15SetPotentialPAREv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar15SetPotentialNIREv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  %32 = load double, ptr %14, align 8, !tbaa !11
  %33 = fadd double %32, 1.000000e-05
  store double %33, ptr %14, align 8, !tbaa !11
  call void @_ZN6CSolar14SetPARFractionEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  %34 = load double, ptr %14, align 8, !tbaa !11
  %35 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 19
  store double %34, ptr %35, align 8, !tbaa !22
  %36 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 19
  %37 = load double, ptr %36, align 8, !tbaa !22
  %38 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 31
  %39 = load double, ptr %38, align 8, !tbaa !23
  %40 = fmul double %37, %39
  %41 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 18
  store double %40, ptr %41, align 8, !tbaa !24
  %42 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 18
  %43 = load double, ptr %42, align 8, !tbaa !24
  %44 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 19
  %45 = load double, ptr %44, align 8, !tbaa !22
  %46 = fdiv double %43, %45
  call void @_ZN6CSolar14SetPARFractionEd(ptr noundef nonnull align 8 dereferenceable(418) %16, double noundef %46)
  call void @_ZN6CSolar15SetPotentialNIREv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar16SetFracNIRDirectEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar13SetNIRDiffuseEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar11SetNIRTotalEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar16SetFracPARDirectEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar11SetPARTotalEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar12SetPARDirectEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  call void @_ZN6CSolar13SetPARDiffuseEv(ptr noundef nonnull align 8 dereferenceable(418) %16)
  %47 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 19
  %48 = load double, ptr %47, align 8, !tbaa !22
  %49 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 31
  %50 = load double, ptr %49, align 8, !tbaa !23
  %51 = fsub double 1.000000e+00, %50
  %52 = fmul double %48, %51
  %53 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 30
  store double %52, ptr %53, align 8, !tbaa !25
  %54 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 18
  %55 = load double, ptr %54, align 8, !tbaa !24
  %56 = fmul double %55, 4.600000e+00
  %57 = getelementptr inbounds %class.CSolar, ptr %16, i32 0, i32 29
  store double %56, ptr %57, align 8, !tbaa !26
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_Z8DegToRadd(double noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar14SetDeclinationEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar12SetDayLengthEv(ptr noundef nonnull align 8 dereferenceable(418)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar12SetSolarNoonEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar17SetSolarElevationEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar10SetAzimuthEv(ptr noundef nonnull align 8 dereferenceable(418)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar17SetPotentialSolarEv(ptr noundef nonnull align 8 dereferenceable(418)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar15SetPotentialPAREv(ptr noundef nonnull align 8 dereferenceable(418)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar15SetPotentialNIREv(ptr noundef nonnull align 8 dereferenceable(418)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar14SetPARFractionEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar14SetPARFractionEd(ptr noundef nonnull align 8 dereferenceable(418), double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar16SetFracNIRDirectEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar13SetNIRDiffuseEv(ptr noundef nonnull align 8 dereferenceable(418)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar11SetNIRTotalEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar16SetFracPARDirectEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar11SetPARTotalEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar12SetPARDirectEv(ptr noundef nonnull align 8 dereferenceable(418)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar13SetPARDiffuseEv(ptr noundef nonnull align 8 dereferenceable(418)) #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTS6CSolar", !10, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !12, i64 328, !12, i64 336, !12, i64 344, !12, i64 352, !12, i64 360, !12, i64 368, !12, i64 376, !12, i64 384, !12, i64 392, !12, i64 400, !12, i64 408, !15, i64 416, !15, i64 417}
!15 = !{!"bool", !7, i64 0}
!16 = !{!14, !12, i64 8}
!17 = !{!14, !12, i64 16}
!18 = !{!14, !12, i64 24}
!19 = !{!14, !15, i64 417}
!20 = !{!14, !15, i64 416}
!21 = !{!14, !12, i64 32}
!22 = !{!14, !12, i64 144}
!23 = !{!14, !12, i64 240}
!24 = !{!14, !12, i64 136}
!25 = !{!14, !12, i64 232}
!26 = !{!14, !12, i64 224}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6CSolar6SetValEiddddd(ptr noundef nonnull align 8 dereferenceable(418) %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6) local_unnamed_addr #0 align 2 {
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  store double %5, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %0, align 8, !tbaa !9
  %10 = fmul double %2, 2.400000e+01
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  store double %10, ptr %11, align 8, !tbaa !13
  %12 = tail call noundef double @_Z8DegToRadd(double noundef %3)
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  store double %12, ptr %13, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  store double %4, ptr %14, align 8, !tbaa !15
  %15 = getelementptr inbounds i8, ptr %0, i64 417
  store i8 0, ptr %15, align 1, !tbaa !16
  %16 = getelementptr inbounds i8, ptr %0, i64 416
  store i8 1, ptr %16, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  store double 5.000000e+01, ptr %9, align 8, !tbaa !5
  %17 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %18 = load double, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %0, i64 32
  store double %18, ptr %19, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @_ZN6CSolar14SetDeclinationEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar12SetDayLengthEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar12SetSolarNoonEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar17SetSolarElevationEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar10SetAzimuthEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar17SetPotentialSolarEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar15SetPotentialPAREv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar15SetPotentialNIREv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  %20 = fadd double %6, 1.000000e-05
  call void @_ZN6CSolar14SetPARFractionEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  %21 = getelementptr inbounds i8, ptr %0, i64 144
  store double %20, ptr %21, align 8, !tbaa !19
  %22 = getelementptr inbounds i8, ptr %0, i64 240
  %23 = load double, ptr %22, align 8, !tbaa !20
  %24 = fmul double %20, %23
  %25 = getelementptr inbounds i8, ptr %0, i64 136
  store double %24, ptr %25, align 8, !tbaa !21
  %26 = fdiv double %24, %20
  call void @_ZN6CSolar14SetPARFractionEd(ptr noundef nonnull align 8 dereferenceable(418) %0, double noundef %26)
  call void @_ZN6CSolar15SetPotentialNIREv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar16SetFracNIRDirectEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar13SetNIRDiffuseEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar11SetNIRTotalEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar16SetFracPARDirectEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar11SetPARTotalEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar12SetPARDirectEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  call void @_ZN6CSolar13SetPARDiffuseEv(ptr noundef nonnull align 8 dereferenceable(418) %0)
  %27 = load double, ptr %22, align 8, !tbaa !20
  %28 = fsub double 1.000000e+00, %27
  %29 = getelementptr inbounds i8, ptr %0, i64 224
  %30 = load <2 x double>, ptr %25, align 8, !tbaa !5
  %31 = insertelement <2 x double> <double 4.600000e+00, double poison>, double %28, i64 1
  %32 = fmul <2 x double> %30, %31
  store <2 x double> %32, ptr %29, align 8, !tbaa !5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_Z8DegToRadd(double noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar14SetDeclinationEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar12SetDayLengthEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar12SetSolarNoonEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar17SetSolarElevationEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar10SetAzimuthEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar17SetPotentialSolarEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar15SetPotentialPAREv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar15SetPotentialNIREv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar14SetPARFractionEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar14SetPARFractionEd(ptr noundef nonnull align 8 dereferenceable(418), double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar16SetFracNIRDirectEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar13SetNIRDiffuseEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar11SetNIRTotalEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar16SetFracPARDirectEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar11SetPARTotalEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6CSolar12SetPARDirectEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6CSolar13SetPARDiffuseEv(ptr noundef nonnull align 8 dereferenceable(418)) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS6CSolar", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !12, i64 416, !12, i64 417}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!10, !6, i64 8}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !6, i64 24}
!16 = !{!10, !12, i64 417}
!17 = !{!10, !12, i64 416}
!18 = !{!10, !6, i64 32}
!19 = !{!10, !6, i64 144}
!20 = !{!10, !6, i64 240}
!21 = !{!10, !6, i64 136}


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