; LLVM IR from ThomasThelen/Finite-Difference-Method :: examples/1dHeatRod (1dHeatRod)

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

%struct.Mesh1D = type { %struct.Mesh, double, %"class.std::vector" }
%struct.Mesh = type { double, double, double, i32, %"class.std::function", %"class.std::function.0" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::function.0" = type { %"class.std::_Function_base", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Engine1D = type { %class.Engine }
%class.Engine = type { i64, double, double, double, double, %"class.std::vector", %"class.std::vector.2", %"class.std::vector.7" }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<std::tuple<double, double>, std::allocator<std::tuple<double, double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<double, double>, std::allocator<std::tuple<double, double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<double, double>, std::allocator<std::tuple<double, double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<double, double>, std::allocator<std::tuple<double, double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<std::vector<std::tuple<double, double>>, std::allocator<std::vector<std::tuple<double, double>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::tuple<double, double>>, std::allocator<std::vector<std::tuple<double, double>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::tuple<double, double>>, std::allocator<std::vector<std::tuple<double, double>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::tuple<double, double>>, std::allocator<std::vector<std::tuple<double, double>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z2BCdi(double noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z16TempDistributiond(double noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.Mesh1D, align 8
  %3 = alloca %class.Engine1D, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 128, ptr %2) #5
  call void @_ZN6Mesh1DC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %2) #5
  %6 = getelementptr inbounds %struct.Mesh, ptr %2, i32 0, i32 0
  store double 1.000000e+01, ptr %6, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.Mesh, ptr %2, i32 0, i32 1
  store double 1.000000e+00, ptr %7, align 8, !tbaa !15
  %8 = getelementptr inbounds %struct.Mesh, ptr %2, i32 0, i32 2
  store double 1.000000e-02, ptr %8, align 8, !tbaa !16
  %9 = getelementptr inbounds %struct.Mesh, ptr %2, i32 0, i32 4
  %10 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFddiEEaSIRS0_EENSt9enable_ifIXsrNS1_9_CallableIT_NS4_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS6_E4typeEE4typeES1_EE5valueESt5decayIS6_EE4type4typeESt15__invoke_resultIRSH_JdiEEEE5valueERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @_Z2BCdi) #5
  %11 = getelementptr inbounds %struct.Mesh, ptr %2, i32 0, i32 5
  %12 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFddEEaSIRS0_EENSt9enable_ifIXsrNS1_9_CallableIT_NS4_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS6_E4typeEE4typeES1_EE5valueESt5decayIS6_EE4type4typeESt15__invoke_resultIRSH_JdEEEE5valueERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @_Z16TempDistributiond) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr %3) #5
  call void @_ZN8Engine1DC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %3) #5
  invoke void @_ZN8Engine1D15StartSimulationEiiR6Mesh1D(ptr noundef nonnull align 8 dereferenceable(112) %3, i32 noundef 10, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(128) %2)
          to label %13 unwind label %15

13:                                               ; preds = %0
  store i32 0, ptr %1, align 4
  call void @_ZN6EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %3) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %3) #5
  call void @_ZN6Mesh1DD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %2) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %2) #5
  %14 = load i32, ptr %1, align 4
  ret i32 %14

15:                                               ; preds = %0
  %16 = landingpad { ptr, i32 }
          cleanup
  %17 = extractvalue { ptr, i32 } %16, 0
  store ptr %17, ptr %4, align 8
  %18 = extractvalue { ptr, i32 } %16, 1
  store i32 %18, ptr %5, align 4
  call void @_ZN6EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %3) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %3) #5
  call void @_ZN6Mesh1DD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %2) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %2) #5
  br label %19

19:                                               ; preds = %15
  %20 = load ptr, ptr %4, align 8
  %21 = load i32, ptr %5, align 4
  %22 = insertvalue { ptr, i32 } poison, ptr %20, 0
  %23 = insertvalue { ptr, i32 } %22, i32 %21, 1
  resume { ptr, i32 } %23
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Mesh1DC2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFddiEEaSIRS0_EENSt9enable_ifIXsrNS1_9_CallableIT_NS4_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS6_E4typeEE4typeES1_EE5valueESt5decayIS6_EE4type4typeESt15__invoke_resultIRSH_JdiEEEE5valueERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFddEEaSIRS0_EENSt9enable_ifIXsrNS1_9_CallableIT_NS4_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS6_E4typeEE4typeES1_EE5valueESt5decayIS6_EE4type4typeESt15__invoke_resultIRSH_JdEEEE5valueERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8Engine1DC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

declare void @_ZN8Engine1D15StartSimulationEiiR6Mesh1D(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(128)) #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Mesh1DD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3 align 2

attributes #0 = { 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 #1 = { mustprogress norecurse 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 = { 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 #4 = { "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 #5 = { 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, !7, i64 0}
!6 = !{!"_ZTS4Mesh", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !14, i64 64}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt8functionIFddiEE", !12, i64 0, !13, i64 24}
!12 = !{!"_ZTSSt14_Function_base", !8, i64 0, !13, i64 16}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTSSt8functionIFddEE", !12, i64 0, !13, i64 24}
!15 = !{!6, !7, i64 8}
!16 = !{!6, !7, i64 16}


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

%struct.Mesh1D = type { %struct.Mesh, double, %"class.std::vector" }
%struct.Mesh = type { double, double, double, i32, %"class.std::function", %"class.std::function.0" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::function.0" = type { %"class.std::_Function_base", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Engine1D = type { %class.Engine }
%class.Engine = type { i64, double, double, double, double, %"class.std::vector", %"class.std::vector.2", %"class.std::vector.7" }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<std::tuple<double, double>, std::allocator<std::tuple<double, double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<double, double>, std::allocator<std::tuple<double, double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<double, double>, std::allocator<std::tuple<double, double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<double, double>, std::allocator<std::tuple<double, double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<std::vector<std::tuple<double, double>>, std::allocator<std::vector<std::tuple<double, double>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::tuple<double, double>>, std::allocator<std::vector<std::tuple<double, double>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::tuple<double, double>>, std::allocator<std::vector<std::tuple<double, double>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::tuple<double, double>>, std::allocator<std::vector<std::tuple<double, double>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z2BCdi(double noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z16TempDistributiond(double noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %struct.Mesh1D, align 16
  %2 = alloca %class.Engine1D, align 8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %1) #5
  call void @_ZN6Mesh1DC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %1) #5
  store <2 x double> <double 1.000000e+01, double 1.000000e+00>, ptr %1, align 16, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %1, i64 16
  store double 1.000000e-02, ptr %3, align 16, !tbaa !9
  %4 = getelementptr inbounds i8, ptr %1, i64 32
  %5 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFddiEEaSIRS0_EENSt9enable_ifIXsrNS1_9_CallableIT_NS4_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS6_E4typeEE4typeES1_EE5valueESt5decayIS6_EE4type4typeESt15__invoke_resultIRSH_JdiEEEE5valueERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @_Z2BCdi) #5
  %6 = getelementptr inbounds i8, ptr %1, i64 64
  %7 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFddEEaSIRS0_EENSt9enable_ifIXsrNS1_9_CallableIT_NS4_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS6_E4typeEE4typeES1_EE5valueESt5decayIS6_EE4type4typeESt15__invoke_resultIRSH_JdEEEE5valueERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @_Z16TempDistributiond) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %2) #5
  call void @_ZN8Engine1DC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %2) #5
  invoke void @_ZN8Engine1D15StartSimulationEiiR6Mesh1D(ptr noundef nonnull align 8 dereferenceable(112) %2, i32 noundef 10, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(128) %1)
          to label %8 unwind label %9

8:                                                ; preds = %0
  call void @_ZN6EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %2) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %2) #5
  call void @_ZN6Mesh1DD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %1) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %1) #5
  ret i32 0

9:                                                ; preds = %0
  %10 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %2) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %2) #5
  call void @_ZN6Mesh1DD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %1) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %1) #5
  resume { ptr, i32 } %10
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Mesh1DC2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFddiEEaSIRS0_EENSt9enable_ifIXsrNS1_9_CallableIT_NS4_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS6_E4typeEE4typeES1_EE5valueESt5decayIS6_EE4type4typeESt15__invoke_resultIRSH_JdiEEEE5valueERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFddEEaSIRS0_EENSt9enable_ifIXsrNS1_9_CallableIT_NS4_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS6_E4typeEE4typeES1_EE5valueESt5decayIS6_EE4type4typeESt15__invoke_resultIRSH_JdEEEE5valueERS1_E4typeEOS6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8Engine1DC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

declare void @_ZN8Engine1D15StartSimulationEiiR6Mesh1D(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Mesh1DD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3 align 2

attributes #0 = { 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 #1 = { mustprogress norecurse 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 = { 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 #4 = { "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 #5 = { 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, !6, i64 16}
!10 = !{!"_ZTS4Mesh", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !12, i64 32, !15, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt8functionIFddiEE", !13, i64 0, !14, i64 24}
!13 = !{!"_ZTSSt14_Function_base", !7, i64 0, !14, i64 16}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"_ZTSSt8functionIFddEE", !13, i64 0, !14, i64 24}


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