; LLVM IR from simbody/simbody :: SimTKcommon/src/tinyxmlparser.ll (ZN5SimTK9TiXmlText8StreamInEPSiPNS_6StringE)

; 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.SimTK::TiXmlText" = type <{ %"class.SimTK::TiXmlNode", i8, [7 x i8] }>
%"class.SimTK::TiXmlNode" = type { %"class.SimTK::TiXmlBase", ptr, i32, ptr, ptr, %"class.SimTK::String", ptr, ptr }
%"class.SimTK::TiXmlBase" = type { ptr, %"struct.SimTK::TiXmlCursor", ptr }
%"struct.SimTK::TiXmlCursor" = type { i32, i32 }
%"class.SimTK::String" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

; 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 noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264)) #1 align 2

declare noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16)) #2

declare noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5SimTK13TiXmlDocument8SetErrorEiPKcPNS_16TiXmlParsingDataENS_13TiXmlEncodingE(ptr noundef nonnull align 8 dereferenceable(192), i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5SimTK9TiXmlText8StreamInEPSiPNS_6StringE(ptr noundef nonnull align 8 dereferenceable(105) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8
  br label %12

12:                                               ; preds = %83, %3
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  %15 = getelementptr i8, ptr %14, i64 -24
  %16 = load i64, ptr %15, align 8
  %17 = getelementptr inbounds i8, ptr %13, i64 %16
  %18 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %17)
  br i1 %18, label %19, label %84

19:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = call noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
  store i32 %21, ptr %7, align 4, !tbaa !11
  %22 = getelementptr inbounds %"class.SimTK::TiXmlText", ptr %11, i32 0, i32 1
  %23 = load i8, ptr %22, align 8, !tbaa !13, !range !24, !noundef !25
  %24 = trunc i8 %23 to i1
  br i1 %24, label %29, label %25

25:                                               ; preds = %19
  %26 = load i32, ptr %7, align 4, !tbaa !11
  %27 = icmp eq i32 %26, 60
  br i1 %27, label %28, label %29

28:                                               ; preds = %25
  store i32 1, ptr %8, align 4
  br label %81

29:                                               ; preds = %25, %19
  %30 = load i32, ptr %7, align 4, !tbaa !11
  %31 = icmp sle i32 %30, 0
  br i1 %31, label %32, label %39

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %33 = call noundef ptr @_ZN5SimTK9TiXmlNode11GetDocumentEv(ptr noundef nonnull align 8 dereferenceable(104) %11)
  store ptr %33, ptr %9, align 8, !tbaa !5
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %38

36:                                               ; preds = %32
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5SimTK13TiXmlDocument8SetErrorEiPKcPNS_16TiXmlParsingDataENS_13TiXmlEncodingE(ptr noundef nonnull align 8 dereferenceable(192) %37, i32 noundef 14, ptr noundef null, ptr noundef null, i32 noundef 0)
  br label %38

38:                                               ; preds = %36, %32
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %81

39:                                               ; preds = %29
  %40 = load i32, ptr %7, align 4, !tbaa !11
  %41 = trunc i32 %40 to i8
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %42, i8 noundef signext %41)
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = call noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %44)
  %46 = getelementptr inbounds %"class.SimTK::TiXmlText", ptr %11, i32 0, i32 1
  %47 = load i8, ptr %46, align 8, !tbaa !13, !range !24, !noundef !25
  %48 = trunc i8 %47 to i1
  br i1 %48, label %49, label %80

49:                                               ; preds = %39
  %50 = load i32, ptr %7, align 4, !tbaa !11
  %51 = icmp eq i32 %50, 62
  br i1 %51, label %52, label %80

52:                                               ; preds = %49
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = call noundef i32 @_ZNK5SimTK6String4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  %55 = icmp sge i32 %54, 3
  br i1 %55, label %56, label %80

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = call noundef i32 @_ZNK5SimTK6String4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %57)
  %59 = sext i32 %58 to i64
  store i64 %59, ptr %10, align 8, !tbaa !26
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = load i64, ptr %10, align 8, !tbaa !26
  %62 = sub i64 %61, 2
  %63 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN5SimTK6StringixEm(ptr noundef nonnull align 8 dereferenceable(32) %60, i64 noundef %62)
  %64 = load i8, ptr %63, align 1, !tbaa !27
  %65 = sext i8 %64 to i32
  %66 = icmp eq i32 %65, 93
  br i1 %66, label %67, label %76

67:                                               ; preds = %56
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = load i64, ptr %10, align 8, !tbaa !26
  %70 = sub i64 %69, 3
  %71 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN5SimTK6StringixEm(ptr noundef nonnull align 8 dereferenceable(32) %68, i64 noundef %70)
  %72 = load i8, ptr %71, align 1, !tbaa !27
  %73 = sext i8 %72 to i32
  %74 = icmp eq i32 %73, 93
  br i1 %74, label %75, label %76

75:                                               ; preds = %67
  store i32 1, ptr %8, align 4
  br label %77

76:                                               ; preds = %67, %56
  store i32 0, ptr %8, align 4
  br label %77

77:                                               ; preds = %76, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %78 = load i32, ptr %8, align 4
  switch i32 %78, label %81 [
    i32 0, label %79
  ]

79:                                               ; preds = %77
  br label %80

80:                                               ; preds = %79, %52, %49, %39
  store i32 0, ptr %8, align 4
  br label %81

81:                                               ; preds = %80, %77, %38, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %82 = load i32, ptr %8, align 4
  switch i32 %82, label %85 [
    i32 0, label %83
    i32 1, label %84
  ]

83:                                               ; preds = %81
  br label %12, !llvm.loop !28

84:                                               ; preds = %81, %12
  ret void

85:                                               ; preds = %81
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5SimTK6String4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !23, i64 104}
!14 = !{!"_ZTSN5SimTK9TiXmlTextE", !15, i64 0, !23, i64 104}
!15 = !{!"_ZTSN5SimTK9TiXmlNodeE", !16, i64 0, !6, i64 24, !18, i64 32, !6, i64 40, !6, i64 48, !19, i64 56, !6, i64 88, !6, i64 96}
!16 = !{!"_ZTSN5SimTK9TiXmlBaseE", !17, i64 8, !6, i64 16}
!17 = !{!"_ZTSN5SimTK11TiXmlCursorE", !12, i64 0, !12, i64 4}
!18 = !{!"_ZTSN5SimTK9TiXmlNode8NodeTypeE", !7, i64 0}
!19 = !{!"_ZTSN5SimTK6StringE", !20, i64 0}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!22, !22, i64 0}
!27 = !{!7, !7, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"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"

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

declare noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

declare noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5SimTK13TiXmlDocument8SetErrorEiPKcPNS_16TiXmlParsingDataENS_13TiXmlEncodingE(ptr noundef nonnull align 8 dereferenceable(192), i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5SimTK9TiXmlNode11GetDocumentEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5SimTK9TiXmlText8StreamInEPSiPNS_6StringE(ptr noundef nonnull align 8 dereferenceable(105) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #0 align 2 {
  %4 = load ptr, ptr %1, align 8, !tbaa !5
  %5 = getelementptr i8, ptr %4, i64 -24
  %6 = load i64, ptr %5, align 8
  %7 = getelementptr inbounds i8, ptr %1, i64 %6
  %8 = tail call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %7)
  br i1 %8, label %.lr.ph, label %.thread

.lr.ph:                                           ; preds = %3
  %9 = getelementptr inbounds i8, ptr %0, i64 104
  br label %10

10:                                               ; preds = %.lr.ph, %.critedge
  %11 = tail call noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %12 = load i8, ptr %9, align 8, !tbaa !8, !range !22, !noundef !23
  %13 = trunc nuw i8 %12 to i1
  %14 = icmp ne i32 %11, 60
  %or.cond.not = or i1 %14, %13
  br i1 %or.cond.not, label %15, label %.thread

15:                                               ; preds = %10
  %16 = icmp slt i32 %11, 1
  br i1 %16, label %17, label %20

17:                                               ; preds = %15
  %18 = tail call noundef ptr @_ZN5SimTK9TiXmlNode11GetDocumentEv(ptr noundef nonnull align 8 dereferenceable(104) %0)
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %.thread, label %19

19:                                               ; preds = %17
  tail call void @_ZN5SimTK13TiXmlDocument8SetErrorEiPKcPNS_16TiXmlParsingDataENS_13TiXmlEncodingE(ptr noundef nonnull align 8 dereferenceable(192) %18, i32 noundef 14, ptr noundef null, ptr noundef null, i32 noundef 0)
  br label %.thread

20:                                               ; preds = %15
  %21 = trunc i32 %11 to i8
  %22 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 noundef signext %21)
  %23 = tail call noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %24 = load i8, ptr %9, align 8, !tbaa !8, !range !22, !noundef !23
  %25 = trunc nuw i8 %24 to i1
  %26 = icmp eq i32 %11, 62
  %or.cond3 = and i1 %26, %25
  br i1 %or.cond3, label %27, label %.critedge

27:                                               ; preds = %20
  %28 = tail call noundef i32 @_ZNK5SimTK6String4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %29 = icmp sgt i32 %28, 2
  br i1 %29, label %30, label %.critedge

30:                                               ; preds = %27
  %31 = tail call noundef i32 @_ZNK5SimTK6String4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %32 = sext i32 %31 to i64
  %33 = add nsw i64 %32, -2
  %34 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN5SimTK6StringixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %33)
  %35 = load i8, ptr %34, align 1, !tbaa !24
  %36 = icmp eq i8 %35, 93
  br i1 %36, label %37, label %.critedge

37:                                               ; preds = %30
  %38 = add nsw i64 %32, -3
  %39 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN5SimTK6StringixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %38)
  %40 = load i8, ptr %39, align 1, !tbaa !24
  %41 = icmp eq i8 %40, 93
  br i1 %41, label %.thread, label %.critedge

.critedge:                                        ; preds = %30, %37, %20, %27
  %42 = load ptr, ptr %1, align 8, !tbaa !5
  %43 = getelementptr i8, ptr %42, i64 -24
  %44 = load i64, ptr %43, align 8
  %45 = getelementptr inbounds i8, ptr %1, i64 %44
  %46 = tail call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %45)
  br i1 %46, label %10, label %.thread

.thread:                                          ; preds = %.critedge, %10, %37, %3, %17, %19
  ret void
}

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

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

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

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !21, i64 104}
!9 = !{!"_ZTSN5SimTK9TiXmlTextE", !10, i64 0, !21, i64 104}
!10 = !{!"_ZTSN5SimTK9TiXmlNodeE", !11, i64 0, !15, i64 24, !16, i64 32, !15, i64 40, !15, i64 48, !17, i64 56, !15, i64 88, !15, i64 96}
!11 = !{!"_ZTSN5SimTK9TiXmlBaseE", !12, i64 8, !15, i64 16}
!12 = !{!"_ZTSN5SimTK11TiXmlCursorE", !13, i64 0, !13, i64 4}
!13 = !{!"int", !14, i64 0}
!14 = !{!"omnipotent char", !7, i64 0}
!15 = !{!"any pointer", !14, i64 0}
!16 = !{!"_ZTSN5SimTK9TiXmlNode8NodeTypeE", !14, i64 0}
!17 = !{!"_ZTSN5SimTK6StringE", !18, i64 0}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !20, i64 8, !14, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!20 = !{!"long", !14, i64 0}
!21 = !{!"bool", !14, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!14, !14, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass