; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (face_centered_grid2)

; 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.jet::Vector" = type { double, double }
%"struct.std::array" = type { [4 x %"class.jet::Point"] }
%"class.jet::Point" = type { i64, i64 }
%"struct.std::array.14" = type { [4 x double] }
%"class.jet::Size2" = type { i64, i64 }

; 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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetmlIdEENS_6VectorIT_Lm2EEES2_RKS3_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, double noundef, ptr noundef nonnull align 8 dereferenceable(16)) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK3jet17FaceCenteredGrid222divergenceAtCellCenterEmm(ptr noundef nonnull align 8 dereferenceable(384), i64 noundef, i64 noundef) #1 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88)) #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88)) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZNK3jet17FaceCenteredGrid210divergenceERKNS_6VectorIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(384) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) unnamed_addr #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.jet::Vector", align 8
  %10 = alloca %"class.jet::Vector", align 8
  %11 = alloca %"class.jet::Vector", align 8
  %12 = alloca %"class.jet::Vector", align 8
  %13 = alloca %"struct.std::array", align 8
  %14 = alloca %"struct.std::array.14", align 8
  %15 = alloca %"class.jet::Point", align 8
  %16 = alloca %"class.jet::Point", align 8
  %17 = alloca %"class.jet::Point", align 8
  %18 = alloca %"class.jet::Point", align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid26originEv(ptr noundef nonnull align 8 dereferenceable(88) %22)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %24 = getelementptr inbounds i8, ptr %21, i64 8
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %24)
  call void @_ZN3jetmlIdEENS_6VectorIT_Lm2EEES2_RKS3_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %10, double noundef 5.000000e-01, ptr noundef nonnull align 8 dereferenceable(16) %25)
  call void @_ZN3jetplIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %27 = getelementptr inbounds i8, ptr %21, i64 8
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %27)
  call void @_ZN3jetdvIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %28)
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  %29 = getelementptr inbounds %"class.jet::Vector", ptr %11, i32 0, i32 0
  %30 = load double, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %21, i64 8
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88) %31)
  %33 = getelementptr inbounds %"class.jet::Size2", ptr %32, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !12
  %35 = sub nsw i64 %34, 1
  call void @_ZN3jet14getBarycentricIdEEvT_llPlPS1_(double noundef %30, i64 noundef 0, i64 noundef %35, ptr noundef %5, ptr noundef %7)
  %36 = getelementptr inbounds %"class.jet::Vector", ptr %11, i32 0, i32 1
  %37 = load double, ptr %36, align 8, !tbaa !15
  %38 = getelementptr inbounds i8, ptr %21, i64 8
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88) %38)
  %40 = getelementptr inbounds %"class.jet::Size2", ptr %39, i32 0, i32 1
  %41 = load i64, ptr %40, align 8, !tbaa !16
  %42 = sub nsw i64 %41, 1
  call void @_ZN3jet14getBarycentricIdEEvT_llPlPS1_(double noundef %37, i64 noundef 0, i64 noundef %42, ptr noundef %6, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #7
  call void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13)
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  %43 = load i64, ptr %5, align 8, !tbaa !17
  %44 = load i64, ptr %6, align 8, !tbaa !17
  call void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef %43, i64 noundef %44)
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %13, i64 noundef 0) #7
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %15)
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  %47 = load i64, ptr %5, align 8, !tbaa !17
  %48 = add nsw i64 %47, 1
  %49 = load i64, ptr %6, align 8, !tbaa !17
  call void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %16, i64 noundef %48, i64 noundef %49)
  %50 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %13, i64 noundef 1) #7
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef nonnull align 8 dereferenceable(16) %16)
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %52 = load i64, ptr %5, align 8, !tbaa !17
  %53 = load i64, ptr %6, align 8, !tbaa !17
  %54 = add nsw i64 %53, 1
  call void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %52, i64 noundef %54)
  %55 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %13, i64 noundef 2) #7
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(16) %17)
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  %57 = load i64, ptr %5, align 8, !tbaa !17
  %58 = add nsw i64 %57, 1
  %59 = load i64, ptr %6, align 8, !tbaa !17
  %60 = add nsw i64 %59, 1
  call void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %58, i64 noundef %60)
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %13, i64 noundef 3) #7
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %18)
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  %63 = load double, ptr %7, align 8, !tbaa !18
  %64 = fsub double 1.000000e+00, %63
  %65 = load double, ptr %8, align 8, !tbaa !18
  %66 = fsub double 1.000000e+00, %65
  %67 = fmul double %64, %66
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef 0) #7
  store double %67, ptr %68, align 8, !tbaa !18
  %69 = load double, ptr %7, align 8, !tbaa !18
  %70 = load double, ptr %8, align 8, !tbaa !18
  %71 = fsub double 1.000000e+00, %70
  %72 = fmul double %69, %71
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef 1) #7
  store double %72, ptr %73, align 8, !tbaa !18
  %74 = load double, ptr %7, align 8, !tbaa !18
  %75 = fsub double 1.000000e+00, %74
  %76 = load double, ptr %8, align 8, !tbaa !18
  %77 = fmul double %75, %76
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef 2) #7
  store double %77, ptr %78, align 8, !tbaa !18
  %79 = load double, ptr %7, align 8, !tbaa !18
  %80 = load double, ptr %8, align 8, !tbaa !18
  %81 = fmul double %79, %80
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef 3) #7
  store double %81, ptr %82, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store double 0.000000e+00, ptr %19, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !19
  br label %83

83:                                               ; preds = %105, %2
  %84 = load i32, ptr %20, align 4, !tbaa !19
  %85 = icmp slt i32 %84, 4
  br i1 %85, label %87, label %86

86:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %108

87:                                               ; preds = %83
  %88 = load i32, ptr %20, align 4, !tbaa !19
  %89 = sext i32 %88 to i64
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %89) #7
  %91 = load double, ptr %90, align 8, !tbaa !18
  %92 = load i32, ptr %20, align 4, !tbaa !19
  %93 = sext i32 %92 to i64
  %94 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %13, i64 noundef %93) #7
  %95 = getelementptr inbounds %"class.jet::Point", ptr %94, i32 0, i32 0
  %96 = load i64, ptr %95, align 8, !tbaa !21
  %97 = load i32, ptr %20, align 4, !tbaa !19
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %13, i64 noundef %98) #7
  %100 = getelementptr inbounds %"class.jet::Point", ptr %99, i32 0, i32 1
  %101 = load i64, ptr %100, align 8, !tbaa !23
  %102 = call noundef double @_ZNK3jet17FaceCenteredGrid222divergenceAtCellCenterEmm(ptr noundef nonnull align 8 dereferenceable(384) %21, i64 noundef %96, i64 noundef %101)
  %103 = load double, ptr %19, align 8, !tbaa !18
  %104 = call double @llvm.fmuladd.f64(double %91, double %102, double %103)
  store double %104, ptr %19, align 8, !tbaa !18
  br label %105

105:                                              ; preds = %87
  %106 = load i32, ptr %20, align 4, !tbaa !19
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %20, align 4, !tbaa !19
  br label %83, !llvm.loop !24

108:                                              ; preds = %86
  %109 = load double, ptr %19, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret double %109
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetplIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid26originEv(ptr noundef nonnull align 8 dereferenceable(88)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetdvIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet14getBarycentricIdEEvT_llPlPS1_(double noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 = { inlinehint 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 #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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, !11, i64 0}
!10 = !{!"_ZTSN3jet6VectorIdLm2EEE", !11, i64 0, !11, i64 8}
!11 = !{!"double", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTSN3jet5Size2E", !14, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!13, !14, i64 8}
!17 = !{!14, !14, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!22, !14, i64 0}
!22 = !{!"_ZTSN3jet5PointImLm2EEE", !14, i64 0, !14, i64 8}
!23 = !{!22, !14, i64 8}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


; 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.jet::Vector" = type { double, double }
%"struct.std::array" = type { [4 x %"class.jet::Point"] }
%"class.jet::Point" = type { i64, i64 }
%"struct.std::array.14" = type { [4 x double] }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetmlIdEENS_6VectorIT_Lm2EEES2_RKS3_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, double noundef, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK3jet17FaceCenteredGrid222divergenceAtCellCenterEmm(ptr noundef nonnull align 8 dereferenceable(384), i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZNK3jet17FaceCenteredGrid210divergenceERKNS_6VectorIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(384) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) unnamed_addr #1 align 2 {
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca %"class.jet::Vector", align 8
  %8 = alloca %"class.jet::Vector", align 8
  %9 = alloca %"class.jet::Vector", align 8
  %10 = alloca %"class.jet::Vector", align 8
  %11 = alloca %"struct.std::array", align 8
  %12 = alloca %"struct.std::array.14", align 8
  %13 = alloca %"class.jet::Point", align 8
  %14 = alloca %"class.jet::Point", align 8
  %15 = alloca %"class.jet::Point", align 8
  %16 = alloca %"class.jet::Point", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid26originEv(ptr noundef nonnull align 8 dereferenceable(88) %17)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %19 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %17)
  call void @_ZN3jetmlIdEENS_6VectorIT_Lm2EEES2_RKS3_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %8, double noundef 5.000000e-01, ptr noundef nonnull align 8 dereferenceable(16) %19)
  call void @_ZN3jetplIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %7)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %17)
  call void @_ZN3jetdvIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  %21 = load double, ptr %9, align 8, !tbaa !5
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88) %17)
  %23 = load i64, ptr %22, align 8, !tbaa !10
  %24 = add nsw i64 %23, -1
  call void @_ZN3jet14getBarycentricIdEEvT_llPlPS1_(double noundef %21, i64 noundef 0, i64 noundef %24, ptr noundef nonnull %3, ptr noundef nonnull %5)
  %25 = getelementptr inbounds i8, ptr %9, i64 8
  %26 = load double, ptr %25, align 8, !tbaa !13
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88) %17)
  %28 = getelementptr inbounds i8, ptr %27, i64 8
  %29 = load i64, ptr %28, align 8, !tbaa !14
  %30 = add nsw i64 %29, -1
  call void @_ZN3jet14getBarycentricIdEEvT_llPlPS1_(double noundef %26, i64 noundef 0, i64 noundef %30, ptr noundef nonnull %4, ptr noundef nonnull %6)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #7
  call void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %31 = load i64, ptr %3, align 8, !tbaa !15
  %32 = load i64, ptr %4, align 8, !tbaa !15
  call void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %13, i64 noundef %31, i64 noundef %32)
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 0) #7
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %13)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  %35 = load i64, ptr %3, align 8, !tbaa !15
  %36 = add nsw i64 %35, 1
  %37 = load i64, ptr %4, align 8, !tbaa !15
  call void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %14, i64 noundef %36, i64 noundef %37)
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 1) #7
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  %40 = load i64, ptr %3, align 8, !tbaa !15
  %41 = load i64, ptr %4, align 8, !tbaa !15
  %42 = add nsw i64 %41, 1
  call void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef %40, i64 noundef %42)
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 2) #7
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %15)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  %45 = load i64, ptr %3, align 8, !tbaa !15
  %46 = add nsw i64 %45, 1
  %47 = load i64, ptr %4, align 8, !tbaa !15
  %48 = add nsw i64 %47, 1
  call void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %16, i64 noundef %46, i64 noundef %48)
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 3) #7
  %50 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %16)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  %51 = load double, ptr %5, align 8, !tbaa !16
  %52 = fsub double 1.000000e+00, %51
  %53 = load double, ptr %6, align 8, !tbaa !16
  %54 = fsub double 1.000000e+00, %53
  %55 = fmul double %52, %54
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 0) #7
  store double %55, ptr %56, align 8, !tbaa !16
  %57 = load double, ptr %5, align 8, !tbaa !16
  %58 = load double, ptr %6, align 8, !tbaa !16
  %59 = fsub double 1.000000e+00, %58
  %60 = fmul double %57, %59
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 1) #7
  store double %60, ptr %61, align 8, !tbaa !16
  %62 = load double, ptr %5, align 8, !tbaa !16
  %63 = fsub double 1.000000e+00, %62
  %64 = load double, ptr %6, align 8, !tbaa !16
  %65 = fmul double %63, %64
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 2) #7
  store double %65, ptr %66, align 8, !tbaa !16
  %67 = load double, ptr %5, align 8, !tbaa !16
  %68 = load double, ptr %6, align 8, !tbaa !16
  %69 = fmul double %67, %68
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 3) #7
  store double %69, ptr %70, align 8, !tbaa !16
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 0) #7
  %72 = load double, ptr %71, align 8, !tbaa !16
  %73 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 0) #7
  %74 = load i64, ptr %73, align 8, !tbaa !17
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 0) #7
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = load i64, ptr %76, align 8, !tbaa !19
  %78 = call noundef double @_ZNK3jet17FaceCenteredGrid222divergenceAtCellCenterEmm(ptr noundef nonnull align 8 dereferenceable(384) %0, i64 noundef %74, i64 noundef %77)
  %79 = call double @llvm.fmuladd.f64(double %72, double %78, double 0.000000e+00)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 1) #7
  %81 = load double, ptr %80, align 8, !tbaa !16
  %82 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 1) #7
  %83 = load i64, ptr %82, align 8, !tbaa !17
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 1) #7
  %85 = getelementptr inbounds i8, ptr %84, i64 8
  %86 = load i64, ptr %85, align 8, !tbaa !19
  %87 = call noundef double @_ZNK3jet17FaceCenteredGrid222divergenceAtCellCenterEmm(ptr noundef nonnull align 8 dereferenceable(384) %0, i64 noundef %83, i64 noundef %86)
  %88 = call double @llvm.fmuladd.f64(double %81, double %87, double %79)
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 2) #7
  %90 = load double, ptr %89, align 8, !tbaa !16
  %91 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 2) #7
  %92 = load i64, ptr %91, align 8, !tbaa !17
  %93 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 2) #7
  %94 = getelementptr inbounds i8, ptr %93, i64 8
  %95 = load i64, ptr %94, align 8, !tbaa !19
  %96 = call noundef double @_ZNK3jet17FaceCenteredGrid222divergenceAtCellCenterEmm(ptr noundef nonnull align 8 dereferenceable(384) %0, i64 noundef %92, i64 noundef %95)
  %97 = call double @llvm.fmuladd.f64(double %90, double %96, double %88)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 3) #7
  %99 = load double, ptr %98, align 8, !tbaa !16
  %100 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 3) #7
  %101 = load i64, ptr %100, align 8, !tbaa !17
  %102 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 3) #7
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = load i64, ptr %103, align 8, !tbaa !19
  %105 = call noundef double @_ZNK3jet17FaceCenteredGrid222divergenceAtCellCenterEmm(ptr noundef nonnull align 8 dereferenceable(384) %0, i64 noundef %101, i64 noundef %104)
  %106 = call double @llvm.fmuladd.f64(double %99, double %105, double %97)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  ret double %106
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetplIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid26originEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetdvIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet14getBarycentricIdEEvT_llPlPS1_(double noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5PointImLm2EEC2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointImLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 = { inlinehint 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 #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"_ZTSN3jet6VectorIdLm2EEE", !7, i64 0, !7, i64 8}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"_ZTSN3jet5Size2E", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!11, !12, i64 8}
!15 = !{!12, !12, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"_ZTSN3jet5PointImLm2EEE", !12, i64 0, !12, i64 8}
!19 = !{!18, !12, i64 8}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass