; LLVM IR from artvns/SimpleFvm :: simplefvm/src/FVMSolver/CoeffsPartsVelocity/Flux (UFlux)

; 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.fvmsolver::UFlux" = type { %"class.fvmsolver::AbstractFlux", %"class.std::unique_ptr", ptr }
%"class.fvmsolver::AbstractFlux" = type { ptr, double, double, double, double }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9fvmsolver5UFlux9calculateEm(ptr noundef nonnull align 8 dereferenceable(56) %0, i64 noundef %1) unnamed_addr #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca double, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %22 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %23 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = call noundef double @_ZNK9fvmsolver9UFluxPort6getRHOEv(ptr noundef nonnull align 8 dereferenceable(40) %24)
  store double %25, ptr %5, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %26 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = load i64, ptr %4, align 8, !tbaa !9
  %29 = call noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUpEm(ptr noundef nonnull align 8 dereferenceable(40) %27, i64 noundef %28)
  %30 = sub i64 %29, 1
  store i64 %30, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %31 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = load i64, ptr %4, align 8, !tbaa !9
  %34 = call noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUwEm(ptr noundef nonnull align 8 dereferenceable(40) %32, i64 noundef %33)
  %35 = sub i64 %34, 1
  store i64 %35, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %36 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = load i64, ptr %4, align 8, !tbaa !9
  %39 = call noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUeEm(ptr noundef nonnull align 8 dereferenceable(40) %37, i64 noundef %38)
  %40 = sub i64 %39, 1
  store i64 %40, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %41 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = load i64, ptr %4, align 8, !tbaa !9
  %44 = call noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVnwEm(ptr noundef nonnull align 8 dereferenceable(40) %42, i64 noundef %43)
  %45 = sub i64 %44, 1
  store i64 %45, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %46 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !11
  %48 = load i64, ptr %4, align 8, !tbaa !9
  %49 = call noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVneEm(ptr noundef nonnull align 8 dereferenceable(40) %47, i64 noundef %48)
  %50 = sub i64 %49, 1
  store i64 %50, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %51 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %53 = load i64, ptr %4, align 8, !tbaa !9
  %54 = call noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVswEm(ptr noundef nonnull align 8 dereferenceable(40) %52, i64 noundef %53)
  %55 = sub i64 %54, 1
  store i64 %55, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %56 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !11
  %58 = load i64, ptr %4, align 8, !tbaa !9
  %59 = call noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVseEm(ptr noundef nonnull align 8 dereferenceable(40) %57, i64 noundef %58)
  %60 = sub i64 %59, 1
  store i64 %60, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %61 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  %63 = load i64, ptr %4, align 8, !tbaa !9
  %64 = call noundef double @_ZNK9fvmsolver9UFluxPort6get_dXEm(ptr noundef nonnull align 8 dereferenceable(40) %62, i64 noundef %63)
  store double %64, ptr %13, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %65 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = load i64, ptr %4, align 8, !tbaa !9
  %68 = call noundef double @_ZNK9fvmsolver9UFluxPort6get_dYEm(ptr noundef nonnull align 8 dereferenceable(40) %66, i64 noundef %67)
  store double %68, ptr %14, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %69 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = load i64, ptr %6, align 8, !tbaa !9
  %72 = call noundef double @_ZNK9fvmsolver9UFluxPort5get_uEm(ptr noundef nonnull align 8 dereferenceable(40) %70, i64 noundef %71)
  store double %72, ptr %15, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %73 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  %75 = load i64, ptr %7, align 8, !tbaa !9
  %76 = call noundef double @_ZNK9fvmsolver9UFluxPort5get_uEm(ptr noundef nonnull align 8 dereferenceable(40) %74, i64 noundef %75)
  store double %76, ptr %16, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %77 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %78 = load ptr, ptr %77, align 8, !tbaa !11
  %79 = load i64, ptr %8, align 8, !tbaa !9
  %80 = call noundef double @_ZNK9fvmsolver9UFluxPort5get_uEm(ptr noundef nonnull align 8 dereferenceable(40) %78, i64 noundef %79)
  store double %80, ptr %17, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %81 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %82 = load ptr, ptr %81, align 8, !tbaa !11
  %83 = load i64, ptr %9, align 8, !tbaa !9
  %84 = call noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40) %82, i64 noundef %83)
  store double %84, ptr %18, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %85 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !11
  %87 = load i64, ptr %10, align 8, !tbaa !9
  %88 = call noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40) %86, i64 noundef %87)
  store double %88, ptr %19, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %89 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  %91 = load i64, ptr %11, align 8, !tbaa !9
  %92 = call noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40) %90, i64 noundef %91)
  store double %92, ptr %20, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %93 = getelementptr inbounds %"class.fvmsolver::UFlux", ptr %22, i32 0, i32 2
  %94 = load ptr, ptr %93, align 8, !tbaa !11
  %95 = load i64, ptr %12, align 8, !tbaa !9
  %96 = call noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40) %94, i64 noundef %95)
  store double %96, ptr %21, align 8, !tbaa !21
  %97 = load double, ptr %5, align 8, !tbaa !21
  %98 = fmul double 5.000000e-01, %97
  %99 = load double, ptr %15, align 8, !tbaa !21
  %100 = load double, ptr %16, align 8, !tbaa !21
  %101 = fadd double %99, %100
  %102 = fmul double %98, %101
  %103 = load double, ptr %14, align 8, !tbaa !21
  %104 = fmul double %102, %103
  %105 = getelementptr inbounds %"class.fvmsolver::AbstractFlux", ptr %22, i32 0, i32 1
  store double %104, ptr %105, align 8, !tbaa !22
  %106 = load double, ptr %5, align 8, !tbaa !21
  %107 = fmul double 5.000000e-01, %106
  %108 = load double, ptr %15, align 8, !tbaa !21
  %109 = load double, ptr %17, align 8, !tbaa !21
  %110 = fadd double %108, %109
  %111 = fmul double %107, %110
  %112 = load double, ptr %14, align 8, !tbaa !21
  %113 = fmul double %111, %112
  %114 = getelementptr inbounds %"class.fvmsolver::AbstractFlux", ptr %22, i32 0, i32 2
  store double %113, ptr %114, align 8, !tbaa !23
  %115 = load double, ptr %5, align 8, !tbaa !21
  %116 = fmul double 5.000000e-01, %115
  %117 = load double, ptr %18, align 8, !tbaa !21
  %118 = load double, ptr %19, align 8, !tbaa !21
  %119 = fadd double %117, %118
  %120 = fmul double %116, %119
  %121 = load double, ptr %13, align 8, !tbaa !21
  %122 = fmul double %120, %121
  %123 = getelementptr inbounds %"class.fvmsolver::AbstractFlux", ptr %22, i32 0, i32 3
  store double %122, ptr %123, align 8, !tbaa !24
  %124 = load double, ptr %5, align 8, !tbaa !21
  %125 = fmul double 5.000000e-01, %124
  %126 = load double, ptr %20, align 8, !tbaa !21
  %127 = load double, ptr %21, align 8, !tbaa !21
  %128 = fadd double %126, %127
  %129 = fmul double %125, %128
  %130 = load double, ptr %13, align 8, !tbaa !21
  %131 = fmul double %129, %130
  %132 = getelementptr inbounds %"class.fvmsolver::AbstractFlux", ptr %22, i32 0, i32 4
  store double %131, ptr %132, align 8, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

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

declare noundef double @_ZNK9fvmsolver9UFluxPort6getRHOEv(ptr noundef nonnull align 8 dereferenceable(40)) #2

declare noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUpEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUwEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUeEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVnwEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVneEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVswEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVseEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef double @_ZNK9fvmsolver9UFluxPort6get_dXEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef double @_ZNK9fvmsolver9UFluxPort6get_dYEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef double @_ZNK9fvmsolver9UFluxPort5get_uEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

declare noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 48}
!12 = !{!"_ZTSN9fvmsolver5UFluxE", !13, i64 0, !15, i64 40, !6, i64 48}
!13 = !{!"_ZTSN9fvmsolver12AbstractFluxE", !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTSSt10unique_ptrIN9fvmsolver9UFluxPortESt14default_deleteIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt15__uniq_ptr_dataIN9fvmsolver9UFluxPortESt14default_deleteIS1_ELb1ELb1EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_implIN9fvmsolver9UFluxPortESt14default_deleteIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt5tupleIJPN9fvmsolver9UFluxPortESt14default_deleteIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSSt11_Tuple_implILm0EJPN9fvmsolver9UFluxPortESt14default_deleteIS1_EEE", !20, i64 0}
!20 = !{!"_ZTSSt10_Head_baseILm0EPN9fvmsolver9UFluxPortELb0EE", !6, i64 0}
!21 = !{!14, !14, i64 0}
!22 = !{!13, !14, i64 8}
!23 = !{!13, !14, i64 16}
!24 = !{!13, !14, i64 24}
!25 = !{!13, !14, i64 32}


; 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 @_ZN9fvmsolver5UFlux9calculateEm(ptr nocapture noundef nonnull align 8 dereferenceable(56) %0, i64 noundef %1) unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 48
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = tail call noundef double @_ZNK9fvmsolver9UFluxPort6getRHOEv(ptr noundef nonnull align 8 dereferenceable(40) %4)
  %6 = load ptr, ptr %3, align 8, !tbaa !5
  %7 = tail call noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUpEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %1)
  %8 = add i64 %7, -1
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = tail call noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUwEm(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 noundef %1)
  %11 = add i64 %10, -1
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = tail call noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUeEm(ptr noundef nonnull align 8 dereferenceable(40) %12, i64 noundef %1)
  %14 = add i64 %13, -1
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = tail call noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVnwEm(ptr noundef nonnull align 8 dereferenceable(40) %15, i64 noundef %1)
  %17 = add i64 %16, -1
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = tail call noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVneEm(ptr noundef nonnull align 8 dereferenceable(40) %18, i64 noundef %1)
  %20 = add i64 %19, -1
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = tail call noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVswEm(ptr noundef nonnull align 8 dereferenceable(40) %21, i64 noundef %1)
  %23 = add i64 %22, -1
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = tail call noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVseEm(ptr noundef nonnull align 8 dereferenceable(40) %24, i64 noundef %1)
  %26 = add i64 %25, -1
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = tail call noundef double @_ZNK9fvmsolver9UFluxPort6get_dXEm(ptr noundef nonnull align 8 dereferenceable(40) %27, i64 noundef %1)
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = tail call noundef double @_ZNK9fvmsolver9UFluxPort6get_dYEm(ptr noundef nonnull align 8 dereferenceable(40) %29, i64 noundef %1)
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = tail call noundef double @_ZNK9fvmsolver9UFluxPort5get_uEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %8)
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = tail call noundef double @_ZNK9fvmsolver9UFluxPort5get_uEm(ptr noundef nonnull align 8 dereferenceable(40) %33, i64 noundef %11)
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = tail call noundef double @_ZNK9fvmsolver9UFluxPort5get_uEm(ptr noundef nonnull align 8 dereferenceable(40) %35, i64 noundef %14)
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = tail call noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40) %37, i64 noundef %17)
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = tail call noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40) %39, i64 noundef %20)
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = tail call noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40) %41, i64 noundef %23)
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = tail call noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40) %43, i64 noundef %26)
  %45 = fmul double %5, 5.000000e-01
  %46 = getelementptr inbounds i8, ptr %0, i64 8
  %47 = insertelement <2 x double> poison, double %32, i64 0
  %48 = shufflevector <2 x double> %47, <2 x double> poison, <2 x i32> zeroinitializer
  %49 = insertelement <2 x double> poison, double %34, i64 0
  %50 = insertelement <2 x double> %49, double %36, i64 1
  %51 = fadd <2 x double> %48, %50
  %52 = insertelement <2 x double> poison, double %45, i64 0
  %53 = shufflevector <2 x double> %52, <2 x double> poison, <2 x i32> zeroinitializer
  %54 = fmul <2 x double> %53, %51
  %55 = insertelement <2 x double> poison, double %30, i64 0
  %56 = shufflevector <2 x double> %55, <2 x double> poison, <2 x i32> zeroinitializer
  %57 = fmul <2 x double> %56, %54
  store <2 x double> %57, ptr %46, align 8, !tbaa !18
  %58 = getelementptr inbounds i8, ptr %0, i64 24
  %59 = insertelement <2 x double> poison, double %38, i64 0
  %60 = insertelement <2 x double> %59, double %42, i64 1
  %61 = insertelement <2 x double> poison, double %40, i64 0
  %62 = insertelement <2 x double> %61, double %44, i64 1
  %63 = fadd <2 x double> %60, %62
  %64 = fmul <2 x double> %53, %63
  %65 = insertelement <2 x double> poison, double %28, i64 0
  %66 = shufflevector <2 x double> %65, <2 x double> poison, <2 x i32> zeroinitializer
  %67 = fmul <2 x double> %66, %64
  store <2 x double> %67, ptr %58, align 8, !tbaa !18
  ret void
}

declare noundef double @_ZNK9fvmsolver9UFluxPort6getRHOEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

declare noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUpEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUwEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef i64 @_ZNK9fvmsolver9UFluxPort8getNumUeEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVnwEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVneEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVswEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef i64 @_ZNK9fvmsolver9UFluxPort9getNumVseEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef double @_ZNK9fvmsolver9UFluxPort6get_dXEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef double @_ZNK9fvmsolver9UFluxPort6get_dYEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef double @_ZNK9fvmsolver9UFluxPort5get_uEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

declare noundef double @_ZNK9fvmsolver9UFluxPort5get_vEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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, !17, i64 48}
!6 = !{!"_ZTSN9fvmsolver5UFluxE", !7, i64 0, !11, i64 40, !17, i64 48}
!7 = !{!"_ZTSN9fvmsolver12AbstractFluxE", !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSSt10unique_ptrIN9fvmsolver9UFluxPortESt14default_deleteIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt15__uniq_ptr_dataIN9fvmsolver9UFluxPortESt14default_deleteIS1_ELb1ELb1EE", !13, i64 0}
!13 = !{!"_ZTSSt15__uniq_ptr_implIN9fvmsolver9UFluxPortESt14default_deleteIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt5tupleIJPN9fvmsolver9UFluxPortESt14default_deleteIS1_EEE", !15, i64 0}
!15 = !{!"_ZTSSt11_Tuple_implILm0EJPN9fvmsolver9UFluxPortESt14default_deleteIS1_EEE", !16, i64 0}
!16 = !{!"_ZTSSt10_Head_baseILm0EPN9fvmsolver9UFluxPortELb0EE", !17, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!8, !8, i64 0}


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