; LLVM IR from achilles288/robot-monitor-graphics :: src/base/context_world.ll (ZNK3rmg7Context13worldToScreenEfff)

; 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.rmg::Rect" = type { i16, i16 }
%"struct.rmg::Vec4" = type { %union.anon.6 }
%union.anon.6 = type { %struct.anon.7 }
%struct.anon.7 = type { float, float, float, float }
%"class.rmg::Context" = type { ptr, i32, i16, i16, %"struct.rmg::ColorRGBA", %"class.rmg::Camera", %"struct.rmg::Vec3", %"struct.rmg::Vec3", %"struct.rmg::ColorRGBA", %"class.rmg::ObjectList", %"class.rmg::ObjectList", %"class.rmg::ObjectList", %"class.rmg::ObjectList", %"class.rmg::ObjectList", %"class.rmg::MaterialList", %"class.rmg::FontList", %"class.rmg::internal::GeneralShader", %"class.rmg::internal::ShadowMapShader", %"class.rmg::internal::Object2DShader", %"class.rmg::internal::ParticleShader", %"class.rmg::internal::Line3DShader", %"class.rmg::internal::ContextLoader", %"class.rmg::internal::GLContext", i8, float, i8, i32 }
%"class.rmg::Camera" = type { %"struct.rmg::Vec3", %"struct.rmg::Mat3", %"struct.rmg::Mat4", %"struct.rmg::Mat4", %"struct.rmg::Mat4", float, float, float, float, float, i32 }
%"struct.rmg::Mat3" = type { %union.anon.0 }
%union.anon.0 = type { [3 x [3 x float]] }
%"struct.rmg::Mat4" = type { %union.anon.1 }
%union.anon.1 = type { [4 x [4 x float]] }
%"struct.rmg::Vec3" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.rmg::ColorRGBA" = type { float, float, float, float }
%"class.rmg::ObjectList" = type { %"class.rmg::LinkedList.base", [4 x i8] }
%"class.rmg::LinkedList.base" = type <{ ptr, ptr, i32 }>
%"class.rmg::MaterialList" = type { %"class.rmg::LinkedList.base.3", [4 x i8] }
%"class.rmg::LinkedList.base.3" = type <{ ptr, ptr, i32 }>
%"class.rmg::FontList" = type { %"class.rmg::LinkedList.base.5", [4 x i8] }
%"class.rmg::LinkedList.base.5" = type <{ ptr, ptr, i32 }>
%"class.rmg::internal::GeneralShader" = type { %"class.rmg::internal::Shader.base", i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8] }
%"class.rmg::internal::Shader.base" = type <{ ptr, i32 }>
%"class.rmg::internal::ShadowMapShader" = type { %"class.rmg::internal::Shader.base", %"class.rmg::Camera", %"struct.rmg::Vec3", %"struct.rmg::Vec3", %"struct.rmg::Vec3", float, float, float, i32, i32, i32 }
%"class.rmg::internal::Object2DShader" = type { %"class.rmg::internal::SpriteShader", %"class.rmg::internal::Text2DShader", %"struct.rmg::Mat3", i16, i16 }
%"class.rmg::internal::SpriteShader" = type { %"class.rmg::internal::Shader.base", i32, i32, i32, i32, i32 }
%"class.rmg::internal::Text2DShader" = type { %"class.rmg::internal::Shader.base", i32, i32, i32, i32, i32, i32, i32 }
%"class.rmg::internal::ParticleShader" = type { %"class.rmg::internal::Shader.base", i32, i32, i32, i32, i32, i32, i32 }
%"class.rmg::internal::Line3DShader" = type { %"class.rmg::internal::Shader.base", i32, i32, i32, i32, i32 }
%"class.rmg::internal::ContextLoader" = type { %"class.rmg::internal::PendingStack" }
%"class.rmg::internal::PendingStack" = type <{ ptr, %"class.rmg::internal::Pending", i32, [4 x i8] }>
%"class.rmg::internal::Pending" = type { ptr, ptr }
%"class.rmg::internal::GLContext" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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

declare { <2 x float>, <2 x float> } @_ZNK3rmg4Mat4mlERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16)) #1

; 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
define dso_local i32 @_ZNK3rmg7Context13worldToScreenEfff(ptr noundef nonnull align 8 dereferenceable(1440) %0, float noundef %1, float noundef %2, float noundef %3) #2 align 2 {
  %5 = alloca %"struct.rmg::Rect", align 2
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca %"struct.rmg::Vec4", align 4
  %11 = alloca %"struct.rmg::Vec4", align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store float %1, ptr %7, align 4, !tbaa !9
  store float %2, ptr %8, align 4, !tbaa !9
  store float %3, ptr %9, align 4, !tbaa !9
  %12 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  %13 = getelementptr inbounds %"class.rmg::Context", ptr %12, i32 0, i32 5
  %14 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK3rmg6Camera11getVPMatrixEv(ptr noundef nonnull align 4 dereferenceable(264) %13)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %15 = load float, ptr %7, align 4, !tbaa !9
  %16 = load float, ptr %8, align 4, !tbaa !9
  %17 = load float, ptr %9, align 4, !tbaa !9
  call void @_ZN3rmg4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %15, float noundef %16, float noundef %17, float noundef 1.000000e+00)
  %18 = call { <2 x float>, <2 x float> } @_ZNK3rmg4Mat4mlERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(64) %14, ptr noundef nonnull align 4 dereferenceable(16) %11)
  %19 = getelementptr inbounds %"struct.rmg::Vec4", ptr %10, i32 0, i32 0
  %20 = getelementptr inbounds %union.anon.6, ptr %19, i32 0, i32 0
  %21 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 0
  %22 = extractvalue { <2 x float>, <2 x float> } %18, 0
  store <2 x float> %22, ptr %21, align 4
  %23 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 1
  %24 = extractvalue { <2 x float>, <2 x float> } %18, 1
  store <2 x float> %24, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @_ZN3rmg4RectC2Ev(ptr noundef nonnull align 2 dereferenceable(4) %5)
  %25 = getelementptr inbounds %"struct.rmg::Vec4", ptr %10, i32 0, i32 0
  %26 = getelementptr inbounds %struct.anon.7, ptr %25, i32 0, i32 0
  %27 = load float, ptr %26, align 4, !tbaa !11
  %28 = getelementptr inbounds %"struct.rmg::Vec4", ptr %10, i32 0, i32 0
  %29 = getelementptr inbounds %struct.anon.7, ptr %28, i32 0, i32 3
  %30 = load float, ptr %29, align 4, !tbaa !11
  %31 = fdiv float %27, %30
  %32 = fadd float %31, 1.000000e+00
  %33 = getelementptr inbounds %"class.rmg::Context", ptr %12, i32 0, i32 2
  %34 = load i16, ptr %33, align 4, !tbaa !12
  %35 = zext i16 %34 to i32
  %36 = sitofp i32 %35 to float
  %37 = fmul float %32, %36
  %38 = fdiv float %37, 2.000000e+00
  %39 = fptoui float %38 to i16
  %40 = getelementptr inbounds %"struct.rmg::Rect", ptr %5, i32 0, i32 0
  store i16 %39, ptr %40, align 2, !tbaa !41
  %41 = getelementptr inbounds %"struct.rmg::Vec4", ptr %10, i32 0, i32 0
  %42 = getelementptr inbounds %struct.anon.7, ptr %41, i32 0, i32 1
  %43 = load float, ptr %42, align 4, !tbaa !11
  %44 = getelementptr inbounds %"struct.rmg::Vec4", ptr %10, i32 0, i32 0
  %45 = getelementptr inbounds %struct.anon.7, ptr %44, i32 0, i32 3
  %46 = load float, ptr %45, align 4, !tbaa !11
  %47 = fdiv float %43, %46
  %48 = fsub float 1.000000e+00, %47
  %49 = getelementptr inbounds %"class.rmg::Context", ptr %12, i32 0, i32 3
  %50 = load i16, ptr %49, align 2, !tbaa !43
  %51 = zext i16 %50 to i32
  %52 = sitofp i32 %51 to float
  %53 = fmul float %48, %52
  %54 = fdiv float %53, 2.000000e+00
  %55 = fptoui float %54 to i16
  %56 = getelementptr inbounds %"struct.rmg::Rect", ptr %5, i32 0, i32 1
  store i16 %55, ptr %56, align 2, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  %57 = load i32, ptr %5, align 2
  ret i32 %57
}

declare noundef nonnull align 4 dereferenceable(64) ptr @_ZNK3rmg6Camera11getVPMatrixEv(ptr noundef nonnull align 4 dereferenceable(264)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3rmg4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #3 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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 = !{!"float", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !15, i64 12}
!13 = !{!"_ZTSN3rmg7ContextE", !14, i64 8, !15, i64 12, !15, i64 14, !16, i64 16, !17, i64 32, !18, i64 296, !18, i64 308, !16, i64 320, !22, i64 336, !22, i64 360, !22, i64 384, !22, i64 408, !22, i64 432, !24, i64 456, !26, i64 480, !28, i64 504, !30, i64 568, !31, i64 904, !34, i64 1016, !35, i64 1056, !36, i64 1088, !39, i64 1120, !40, i64 1424, !10, i64 1428, !40, i64 1432, !14, i64 1436}
!14 = !{!"int", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTSN3rmg9ColorRGBAE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!17 = !{!"_ZTSN3rmg6CameraE", !18, i64 0, !19, i64 12, !20, i64 48, !20, i64 112, !20, i64 176, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !21, i64 260}
!18 = !{!"_ZTSN3rmg4Vec3E", !7, i64 0}
!19 = !{!"_ZTSN3rmg4Mat3E", !7, i64 0}
!20 = !{!"_ZTSN3rmg4Mat4E", !7, i64 0}
!21 = !{!"_ZTSN3rmg14ProjectionModeE", !7, i64 0}
!22 = !{!"_ZTSN3rmg10ObjectListE", !23, i64 0}
!23 = !{!"_ZTSN3rmg10LinkedListINS_6ObjectEEE", !6, i64 0, !6, i64 8, !14, i64 16}
!24 = !{!"_ZTSN3rmg12MaterialListE", !25, i64 0}
!25 = !{!"_ZTSN3rmg10LinkedListINS_8MaterialEEE", !6, i64 0, !6, i64 8, !14, i64 16}
!26 = !{!"_ZTSN3rmg8FontListE", !27, i64 0}
!27 = !{!"_ZTSN3rmg10LinkedListINS_4FontEEE", !6, i64 0, !6, i64 8, !14, i64 16}
!28 = !{!"_ZTSN3rmg8internal13GeneralShaderE", !29, i64 0, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56}
!29 = !{!"_ZTSN3rmg8internal6ShaderE", !14, i64 8}
!30 = !{!"_ZTSN3rmg8internal15ShadowMapShaderE", !29, i64 0, !17, i64 12, !18, i64 276, !18, i64 288, !18, i64 300, !10, i64 312, !10, i64 316, !10, i64 320, !14, i64 324, !14, i64 328, !14, i64 332}
!31 = !{!"_ZTSN3rmg8internal14Object2DShaderE", !32, i64 0, !33, i64 32, !19, i64 72, !15, i64 108, !15, i64 110}
!32 = !{!"_ZTSN3rmg8internal12SpriteShaderE", !29, i64 0, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28}
!33 = !{!"_ZTSN3rmg8internal12Text2DShaderE", !29, i64 0, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36}
!34 = !{!"_ZTSN3rmg8internal14ParticleShaderE", !29, i64 0, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36}
!35 = !{!"_ZTSN3rmg8internal12Line3DShaderE", !29, i64 0, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28}
!36 = !{!"_ZTSN3rmg8internal13ContextLoaderE", !37, i64 0}
!37 = !{!"_ZTSN3rmg8internal12PendingStackE", !6, i64 0, !38, i64 8, !14, i64 24}
!38 = !{!"_ZTSN3rmg8internal7PendingE", !6, i64 0, !6, i64 8}
!39 = !{!"_ZTSN3rmg8internal9GLContextE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296}
!40 = !{!"bool", !7, i64 0}
!41 = !{!42, !15, i64 0}
!42 = !{!"_ZTSN3rmg4RectE", !15, i64 0, !15, i64 2}
!43 = !{!13, !15, i64 14}
!44 = !{!42, !15, i64 2}


; 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.rmg::Rect" = type { i16, i16 }
%"struct.rmg::Vec4" = type { %union.anon.6 }
%union.anon.6 = type { %struct.anon.7 }
%struct.anon.7 = type { float, float, float, float }

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

declare { <2 x float>, <2 x float> } @_ZNK3rmg4Mat4mlERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1

; 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
define dso_local i32 @_ZNK3rmg7Context13worldToScreenEfff(ptr noundef nonnull align 8 dereferenceable(1440) %0, float noundef %1, float noundef %2, float noundef %3) local_unnamed_addr #2 align 2 {
  %5 = alloca %"struct.rmg::Rect", align 4
  %6 = alloca %"struct.rmg::Vec4", align 4
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = tail call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK3rmg6Camera11getVPMatrixEv(ptr noundef nonnull align 4 dereferenceable(264) %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  call void @_ZN3rmg4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef %1, float noundef %2, float noundef %3, float noundef 1.000000e+00)
  %9 = call { <2 x float>, <2 x float> } @_ZNK3rmg4Mat4mlERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(64) %8, ptr noundef nonnull align 4 dereferenceable(16) %6)
  %10 = extractvalue { <2 x float>, <2 x float> } %9, 0
  %11 = extractvalue { <2 x float>, <2 x float> } %9, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @_ZN3rmg4RectC2Ev(ptr noundef nonnull align 2 dereferenceable(4) %5)
  %12 = getelementptr inbounds i8, ptr %0, i64 12
  %13 = shufflevector <2 x float> %11, <2 x float> poison, <2 x i32> <i32 1, i32 1>
  %14 = fdiv <2 x float> %10, %13
  %15 = fadd <2 x float> %14, <float 1.000000e+00, float poison>
  %16 = fsub <2 x float> <float poison, float 1.000000e+00>, %14
  %17 = shufflevector <2 x float> %15, <2 x float> %16, <2 x i32> <i32 0, i32 3>
  %18 = load <2 x i16>, ptr %12, align 4, !tbaa !5
  %19 = uitofp <2 x i16> %18 to <2 x float>
  %20 = fmul <2 x float> %17, %19
  %21 = fmul <2 x float> %20, <float 5.000000e-01, float 5.000000e-01>
  %22 = fptoui <2 x float> %21 to <2 x i16>
  store <2 x i16> %22, ptr %5, align 4, !tbaa !5
  %.cast = bitcast <2 x i16> %22 to i32
  ret i32 %.cast
}

declare noundef nonnull align 4 dereferenceable(64) ptr @_ZNK3rmg6Camera11getVPMatrixEv(ptr noundef nonnull align 4 dereferenceable(264)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3rmg4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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