; LLVM IR from pavlosdais/Abstract-Data-Types :: modules/Graph/UndirectedGraph (UndirectedGraph)

; 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._undir_graph = type { i32, ptr, ptr }
%struct.p = type { ptr, i32 }
%struct.edge = type { i32, ptr }

@.str.1 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__.ug_simplepathcheck = external hidden unnamed_addr constant [71 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

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

declare i32 @printf(ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
define dso_local void @ug_simplepathcheck(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._undir_graph, ptr %14, i32 0, i32 0
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = zext i32 %16 to i64
  %18 = call noalias ptr @calloc(i64 noundef 4, i64 noundef %17) #7
  store ptr %18, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %3
  br label %23

22:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 98, ptr noundef @__PRETTY_FUNCTION__.ug_simplepathcheck) #8
  unreachable

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %24 = call ptr @queue_create(ptr noundef @free)
  store ptr %24, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %25 = call ptr @stack_create(ptr noundef @free)
  store ptr %25, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %26 = load i32, ptr %5, align 4, !tbaa !9
  %27 = call ptr @CreatePoint(i32 noundef %26, ptr noundef null)
  store ptr %27, ptr %12, align 8, !tbaa !5
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = load ptr, ptr %12, align 8, !tbaa !5
  call void @queue_enqueue(ptr noundef %28, ptr noundef %29)
  br label %30

30:                                               ; preds = %81, %23
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = call ptr @queue_dequeue(ptr noundef %31)
  store ptr %32, ptr %12, align 8, !tbaa !5
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  call void @stack_push(ptr noundef %33, ptr noundef %34)
  %35 = load ptr, ptr %12, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.p, ptr %35, i32 0, i32 1
  %37 = load i32, ptr %36, align 8, !tbaa !13
  store i32 %37, ptr %8, align 4, !tbaa !9
  %38 = load i32, ptr %8, align 4, !tbaa !9
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = icmp eq i32 %38, %39
  br i1 %40, label %41, label %45

41:                                               ; preds = %30
  %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  call void @printPath(ptr noundef %43)
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  br label %85

45:                                               ; preds = %30
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds i32, ptr %46, i64 %48
  store i32 1, ptr %49, align 4, !tbaa !9
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct._undir_graph, ptr %50, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !15
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds ptr, ptr %52, i64 %54
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  store ptr %56, ptr %9, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %76, %45
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %80

60:                                               ; preds = %57
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.edge, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 8, !tbaa !16
  store i32 %63, ptr %8, align 4, !tbaa !9
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = load i32, ptr %8, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds i32, ptr %64, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %76, label %70

70:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = call ptr @CreatePoint(i32 noundef %71, ptr noundef %72)
  store ptr %73, ptr %13, align 8, !tbaa !5
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = load ptr, ptr %13, align 8, !tbaa !5
  call void @queue_enqueue(ptr noundef %74, ptr noundef %75)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %76

76:                                               ; preds = %70, %60
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.edge, ptr %77, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8, !tbaa !18
  store ptr %79, ptr %9, align 8, !tbaa !5
  br label %57, !llvm.loop !19

80:                                               ; preds = %57
  br label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = call zeroext i1 @is_queue_empty(ptr noundef %82)
  %84 = xor i1 %83, true
  br i1 %84, label %30, label %85, !llvm.loop !21

85:                                               ; preds = %81, %41
  %86 = load i32, ptr %8, align 4, !tbaa !9
  %87 = load i32, ptr %6, align 4, !tbaa !9
  %88 = icmp ne i32 %86, %87
  br i1 %88, label %89, label %93

89:                                               ; preds = %85
  %90 = load i32, ptr %5, align 4, !tbaa !9
  %91 = load i32, ptr %6, align 4, !tbaa !9
  %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %90, i32 noundef %91)
  br label %93

93:                                               ; preds = %89, %85
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  call void @stack_destroy(ptr noundef %94)
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  call void @queue_destroy(ptr noundef %95)
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %96) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret void
}

declare ptr @queue_create(ptr noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

declare ptr @stack_create(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden ptr @CreatePoint(i32 noundef, ptr noundef) #4

declare void @queue_enqueue(ptr noundef, ptr noundef) #3

declare ptr @queue_dequeue(ptr noundef) #3

declare void @stack_push(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @printPath(ptr noundef) #4

declare zeroext i1 @is_queue_empty(ptr noundef) #3

declare void @stack_destroy(ptr noundef) #3

declare void @queue_destroy(ptr noundef) #3

attributes #0 = { noreturn nounwind "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 = { nounwind allocsize(0,1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 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 = { nounwind "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 = { nounwind }
attributes #7 = { nounwind allocsize(0,1) }
attributes #8 = { noreturn 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_undir_graph", !10, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!14, !10, i64 8}
!14 = !{!"p", !6, i64 0, !10, i64 8}
!15 = !{!12, !6, i64 8}
!16 = !{!17, !10, i64 0}
!17 = !{!"edge", !10, i64 0, !6, i64 8}
!18 = !{!17, !6, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


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

@.str.1 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__.ug_simplepathcheck = external hidden unnamed_addr constant [71 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @ug_simplepathcheck(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = load i32, ptr %0, align 8, !tbaa !5
  %5 = zext i32 %4 to i64
  %6 = tail call noalias ptr @calloc(i64 noundef 4, i64 noundef %5) #6
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %7, label %8

7:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 98, ptr noundef nonnull @__PRETTY_FUNCTION__.ug_simplepathcheck) #7
  unreachable

8:                                                ; preds = %3
  %9 = tail call ptr @queue_create(ptr noundef nonnull @free) #8
  %10 = tail call ptr @stack_create(ptr noundef nonnull @free) #8
  %11 = tail call ptr @CreatePoint(i32 noundef %1, ptr noundef null)
  tail call void @queue_enqueue(ptr noundef %9, ptr noundef %11) #8
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  br label %13

13:                                               ; preds = %._crit_edge, %8
  %14 = tail call ptr @queue_dequeue(ptr noundef %9) #8
  tail call void @stack_push(ptr noundef %10, ptr noundef %14) #8
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = icmp eq i32 %16, %2
  br i1 %17, label %.loopexit.thread, label %20

.loopexit.thread:                                 ; preds = %13
  %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  tail call void @printPath(ptr noundef nonnull %14)
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  br label %36

20:                                               ; preds = %13
  %21 = zext i32 %16 to i64
  %22 = getelementptr inbounds i32, ptr %6, i64 %21
  store i32 1, ptr %22, align 4, !tbaa !13
  %23 = load ptr, ptr %12, align 8, !tbaa !14
  %24 = getelementptr inbounds ptr, ptr %23, i64 %21
  %.03243 = load ptr, ptr %24, align 8, !tbaa !15
  %.not3744 = icmp eq ptr %.03243, null
  br i1 %.not3744, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %20, %31
  %.03245 = phi ptr [ %.032, %31 ], [ %.03243, %20 ]
  %25 = load i32, ptr %.03245, align 8, !tbaa !16
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds i32, ptr %6, i64 %26
  %28 = load i32, ptr %27, align 4, !tbaa !13
  %.not38 = icmp eq i32 %28, 0
  br i1 %.not38, label %29, label %31

29:                                               ; preds = %.lr.ph
  %30 = tail call ptr @CreatePoint(i32 noundef %25, ptr noundef %14)
  tail call void @queue_enqueue(ptr noundef %9, ptr noundef %30) #8
  br label %31

31:                                               ; preds = %29, %.lr.ph
  %32 = getelementptr inbounds i8, ptr %.03245, i64 8
  %.032 = load ptr, ptr %32, align 8, !tbaa !15
  %.not37 = icmp eq ptr %.032, null
  br i1 %.not37, label %._crit_edge, label %.lr.ph, !llvm.loop !18

._crit_edge:                                      ; preds = %31, %20
  %.0.lcssa = phi i32 [ %16, %20 ], [ %25, %31 ]
  %33 = tail call zeroext i1 @is_queue_empty(ptr noundef %9) #8
  br i1 %33, label %.loopexit, label %13, !llvm.loop !20

.loopexit:                                        ; preds = %._crit_edge
  %.not39 = icmp eq i32 %.0.lcssa, %2
  br i1 %.not39, label %36, label %34

34:                                               ; preds = %.loopexit
  %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %1, i32 noundef %2)
  br label %36

36:                                               ; preds = %.loopexit.thread, %34, %.loopexit
  tail call void @stack_destroy(ptr noundef %10) #8
  tail call void @queue_destroy(ptr noundef %9) #8
  tail call void @free(ptr noundef nonnull %6) #8
  ret void
}

declare ptr @queue_create(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) #5

declare ptr @stack_create(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare hidden ptr @CreatePoint(i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @queue_enqueue(ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @queue_dequeue(ptr noundef) local_unnamed_addr #4

declare void @stack_push(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare hidden void @printPath(ptr noundef) local_unnamed_addr #3

declare zeroext i1 @is_queue_empty(ptr noundef) local_unnamed_addr #4

declare void @stack_destroy(ptr noundef) local_unnamed_addr #4

declare void @queue_destroy(ptr noundef) local_unnamed_addr #4

attributes #0 = { noreturn nounwind "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 nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nofree nounwind "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 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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind allocsize(0,1) }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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 = !{!"_undir_graph", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"p", !10, i64 0, !7, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"edge", !7, i64 0, !10, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass