; LLVM IR from ermig1979/Simd :: src/Simd/SimdBaseImageSavePng.ll (ZN4Simd4Base13ImagePngSaver8ToStreamEPKhm)

; 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.Simd::OutputMemoryStream" = type { i64, ptr, i64, i64, i64, i64, i64 }
%"class.Simd::Base::ImagePngSaver" = type { %"class.Simd::ImageSaver", ptr, [7 x ptr], ptr, i64, i64, %"struct.Simd::Array.0", %"struct.Simd::Array.0", %"struct.Simd::Array.1" }
%"class.Simd::ImageSaver" = type { ptr, %"struct.Simd::ImageSaverParam", %"class.Simd::OutputMemoryStream" }
%"struct.Simd::ImageSaverParam" = type { i64, i64, i32, i32, i32, i32 }
%"struct.Simd::Array.0" = type { ptr, i64 }
%"struct.Simd::Array.1" = type { ptr, i64 }

@_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES = external hidden constant [10 x i32], align 16

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Simd4Base13ImagePngSaver8ToStreamEPKhm(ptr noundef nonnull align 8 dereferenceable(232) %0, ptr noundef %1, i64 noundef %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.Simd::OutputMemoryStream", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %17 = load ptr, ptr %4, align 8
  %18 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 1
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %42

21:                                               ; preds = %3
  %22 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %17, i32 0, i32 1
  %26 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %25, i32 0, i32 0
  %27 = load i64, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %17, i32 0, i32 1
  %29 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %28, i32 0, i32 1
  %30 = load i64, ptr %29, align 8, !tbaa !23
  %31 = load i64, ptr %6, align 8, !tbaa !9
  %32 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 7
  %33 = getelementptr inbounds %"struct.Simd::Array.0", ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !24
  %35 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 5
  %36 = load i64, ptr %35, align 8, !tbaa !25
  call void %23(ptr noundef %24, i64 noundef %27, i64 noundef %30, i64 noundef %31, ptr noundef %34, i64 noundef %36)
  %37 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 7
  %38 = getelementptr inbounds %"struct.Simd::Array.0", ptr %37, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !24
  store ptr %39, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 5
  %41 = load i64, ptr %40, align 8, !tbaa !25
  store i64 %41, ptr %6, align 8, !tbaa !9
  br label %42

42:                                               ; preds = %21, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store i64 0, ptr %7, align 8, !tbaa !9
  br label %43

43:                                               ; preds = %132, %42
  %44 = load i64, ptr %7, align 8, !tbaa !9
  %45 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %17, i32 0, i32 1
  %46 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %45, i32 0, i32 1
  %47 = load i64, ptr %46, align 8, !tbaa !23
  %48 = icmp ult i64 %44, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %43
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %135

50:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 2147483647, ptr %10, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !26
  br label %51

51:                                               ; preds = %98, %50
  %52 = load i32, ptr %11, align 4, !tbaa !26
  %53 = icmp slt i32 %52, 5
  br i1 %53, label %55, label %54

54:                                               ; preds = %51
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %101

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %56 = load i32, ptr %11, align 4, !tbaa !26
  %57 = load i64, ptr %7, align 8, !tbaa !9
  %58 = icmp ne i64 %57, 0
  %59 = zext i1 %58 to i64
  %60 = select i1 %58, i32 1, i32 0
  %61 = mul nsw i32 %60, 5
  %62 = add nsw i32 %56, %61
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [10 x i32], ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !26
  store i32 %65, ptr %12, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %66 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 2
  %67 = load i32, ptr %12, align 4, !tbaa !26
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [7 x ptr], ptr %66, i64 0, i64 %68
  %70 = load ptr, ptr %69, align 8, !tbaa !5
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load i64, ptr %6, align 8, !tbaa !9
  %73 = load i64, ptr %7, align 8, !tbaa !9
  %74 = mul i64 %72, %73
  %75 = getelementptr inbounds i8, ptr %71, i64 %74
  %76 = load i64, ptr %6, align 8, !tbaa !9
  %77 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 4
  %78 = load i64, ptr %77, align 8, !tbaa !27
  %79 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 5
  %80 = load i64, ptr %79, align 8, !tbaa !25
  %81 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 8
  %82 = getelementptr inbounds %"struct.Simd::Array.1", ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !28
  %84 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 5
  %85 = load i64, ptr %84, align 8, !tbaa !25
  %86 = load i32, ptr %11, align 4, !tbaa !26
  %87 = sext i32 %86 to i64
  %88 = mul i64 %85, %87
  %89 = getelementptr inbounds i8, ptr %83, i64 %88
  %90 = call noundef i32 %70(ptr noundef %75, i64 noundef %76, i64 noundef %78, i64 noundef %80, ptr noundef %89)
  store i32 %90, ptr %13, align 4, !tbaa !26
  %91 = load i32, ptr %13, align 4, !tbaa !26
  %92 = load i32, ptr %10, align 4, !tbaa !26
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %94, label %97

94:                                               ; preds = %55
  %95 = load i32, ptr %13, align 4, !tbaa !26
  store i32 %95, ptr %10, align 4, !tbaa !26
  %96 = load i32, ptr %11, align 4, !tbaa !26
  store i32 %96, ptr %9, align 4, !tbaa !26
  br label %97

97:                                               ; preds = %94, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %11, align 4, !tbaa !26
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %11, align 4, !tbaa !26
  br label %51, !llvm.loop !29

101:                                              ; preds = %54
  %102 = load i32, ptr %9, align 4, !tbaa !26
  %103 = trunc i32 %102 to i8
  %104 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 6
  %105 = load i64, ptr %7, align 8, !tbaa !9
  %106 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 5
  %107 = load i64, ptr %106, align 8, !tbaa !25
  %108 = add i64 %107, 1
  %109 = mul i64 %105, %108
  %110 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd5ArrayIhEixEm(ptr noundef nonnull align 8 dereferenceable(16) %104, i64 noundef %109)
  store i8 %103, ptr %110, align 1, !tbaa !31
  %111 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 6
  %112 = getelementptr inbounds %"struct.Simd::Array.0", ptr %111, i32 0, i32 0
  %113 = load ptr, ptr %112, align 8, !tbaa !32
  %114 = load i64, ptr %7, align 8, !tbaa !9
  %115 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 5
  %116 = load i64, ptr %115, align 8, !tbaa !25
  %117 = add i64 %116, 1
  %118 = mul i64 %114, %117
  %119 = getelementptr inbounds i8, ptr %113, i64 %118
  %120 = getelementptr inbounds i8, ptr %119, i64 1
  %121 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 8
  %122 = getelementptr inbounds %"struct.Simd::Array.1", ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8, !tbaa !28
  %124 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 5
  %125 = load i64, ptr %124, align 8, !tbaa !25
  %126 = load i32, ptr %9, align 4, !tbaa !26
  %127 = sext i32 %126 to i64
  %128 = mul i64 %125, %127
  %129 = getelementptr inbounds i8, ptr %123, i64 %128
  %130 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 5
  %131 = load i64, ptr %130, align 8, !tbaa !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %120, ptr align 1 %129, i64 %131, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %132

132:                                              ; preds = %101
  %133 = load i64, ptr %7, align 8, !tbaa !9
  %134 = add i64 %133, 1
  store i64 %134, ptr %7, align 8, !tbaa !9
  br label %43, !llvm.loop !33

135:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 56, ptr %14) #5
  %136 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %17, i32 0, i32 1
  %137 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %136, i32 0, i32 0
  %138 = load i64, ptr %137, align 8, !tbaa !22
  %139 = getelementptr inbounds %"class.Simd::ImageSaver", ptr %17, i32 0, i32 1
  %140 = getelementptr inbounds %"struct.Simd::ImageSaverParam", ptr %139, i32 0, i32 1
  %141 = load i64, ptr %140, align 8, !tbaa !23
  %142 = mul i64 %138, %141
  %143 = call noundef i64 @_ZN4Simd4Base10AlgCacheL1Ev()
  %144 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %142, i64 noundef %143)
  call void @_ZN4Simd18OutputMemoryStreamC2Em(ptr noundef nonnull align 8 dereferenceable(56) %14, i64 noundef %144)
  %145 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 3
  %146 = load ptr, ptr %145, align 8, !tbaa !34
  %147 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 6
  %148 = getelementptr inbounds %"struct.Simd::Array.0", ptr %147, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8, !tbaa !32
  %150 = getelementptr inbounds %"class.Simd::Base::ImagePngSaver", ptr %17, i32 0, i32 6
  %151 = getelementptr inbounds %"struct.Simd::Array.0", ptr %150, i32 0, i32 1
  %152 = load i64, ptr %151, align 8, !tbaa !35
  %153 = trunc i64 %152 to i32
  invoke void %146(ptr noundef %149, i32 noundef %153, i32 noundef 8, ptr noundef nonnull align 8 dereferenceable(56) %14)
          to label %154 unwind label %160

154:                                              ; preds = %135
  %155 = invoke noundef ptr @_ZN4Simd18OutputMemoryStream4DataEv(ptr noundef nonnull align 8 dereferenceable(56) %14)
          to label %156 unwind label %160

156:                                              ; preds = %154
  %157 = invoke noundef i64 @_ZNK4Simd18OutputMemoryStream4SizeEv(ptr noundef nonnull align 8 dereferenceable(56) %14)
          to label %158 unwind label %160

158:                                              ; preds = %156
  invoke void @_ZN4Simd4Base13ImagePngSaver13WriteToStreamEPKhm(ptr noundef nonnull align 8 dereferenceable(232) %17, ptr noundef %155, i64 noundef %157)
          to label %159 unwind label %160

159:                                              ; preds = %158
  store i32 1, ptr %8, align 4
  call void @_ZN4Simd18OutputMemoryStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #5
  ret i1 true

160:                                              ; preds = %158, %156, %154, %135
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %15, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %16, align 4
  call void @_ZN4Simd18OutputMemoryStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #5
  br label %164

164:                                              ; preds = %160
  %165 = load ptr, ptr %15, align 8
  %166 = load i32, ptr %16, align 4
  %167 = insertvalue { ptr, i32 } poison, ptr %165, 0
  %168 = insertvalue { ptr, i32 } %167, i32 %166, 1
  resume { ptr, i32 } %168
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd5ArrayIhEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef, i64 noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd4Base10AlgCacheL1Ev() #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd18OutputMemoryStreamC2Em(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base13ImagePngSaver13WriteToStreamEPKhm(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef, i64 noundef) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4Simd18OutputMemoryStream4DataEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Simd18OutputMemoryStream4SizeEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd18OutputMemoryStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { alwaysinline 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 = { alwaysinline 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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 96}
!12 = !{!"_ZTSN4Simd4Base13ImagePngSaverE", !13, i64 0, !6, i64 96, !7, i64 104, !6, i64 160, !10, i64 168, !10, i64 176, !20, i64 184, !20, i64 200, !21, i64 216}
!13 = !{!"_ZTSN4Simd10ImageSaverE", !14, i64 8, !19, i64 40}
!14 = !{!"_ZTSN4Simd15ImageSaverParamE", !10, i64 0, !10, i64 8, !15, i64 16, !16, i64 20, !17, i64 24, !18, i64 28}
!15 = !{!"_ZTS19SimdPixelFormatType", !7, i64 0}
!16 = !{!"_ZTS17SimdImageFileType", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTS11SimdYuvType", !7, i64 0}
!19 = !{!"_ZTSN4Simd18OutputMemoryStreamE", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!20 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !10, i64 8}
!21 = !{!"_ZTSN4Simd5ArrayIaEE", !6, i64 0, !10, i64 8}
!22 = !{!13, !10, i64 8}
!23 = !{!13, !10, i64 16}
!24 = !{!12, !6, i64 200}
!25 = !{!12, !10, i64 176}
!26 = !{!17, !17, i64 0}
!27 = !{!12, !10, i64 168}
!28 = !{!12, !6, i64 216}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!7, !7, i64 0}
!32 = !{!12, !6, i64 184}
!33 = distinct !{!33, !30}
!34 = !{!12, !6, i64 160}
!35 = !{!12, !10, i64 192}


; 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.Simd::OutputMemoryStream" = type { i64, ptr, i64, i64, i64, i64, i64 }

@_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES = external hidden local_unnamed_addr constant [10 x i32], align 16

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Simd4Base13ImagePngSaver8ToStreamEPKhm(ptr noundef nonnull align 8 dereferenceable(232) %0, ptr noundef %1, i64 noundef %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.Simd::OutputMemoryStream", align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 96
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %18, label %7

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  %9 = load i64, ptr %8, align 8, !tbaa !20
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load i64, ptr %10, align 8, !tbaa !21
  %12 = getelementptr inbounds i8, ptr %0, i64 200
  %13 = load ptr, ptr %12, align 8, !tbaa !22
  %14 = getelementptr inbounds i8, ptr %0, i64 176
  %15 = load i64, ptr %14, align 8, !tbaa !23
  tail call void %6(ptr noundef %1, i64 noundef %9, i64 noundef %11, i64 noundef %2, ptr noundef %13, i64 noundef %15)
  %16 = load ptr, ptr %12, align 8, !tbaa !22
  %17 = load i64, ptr %14, align 8, !tbaa !23
  br label %18

18:                                               ; preds = %7, %3
  %.024 = phi i64 [ %17, %7 ], [ %2, %3 ]
  %.0 = phi ptr [ %16, %7 ], [ %1, %3 ]
  %19 = getelementptr inbounds i8, ptr %0, i64 16
  %20 = load i64, ptr %19, align 8, !tbaa !21
  %.not38 = icmp eq i64 %20, 0
  br i1 %.not38, label %._crit_edge, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %18
  %21 = getelementptr inbounds i8, ptr %0, i64 104
  %22 = getelementptr inbounds i8, ptr %0, i64 168
  %23 = getelementptr inbounds i8, ptr %0, i64 176
  %24 = getelementptr inbounds i8, ptr %0, i64 216
  %25 = getelementptr inbounds i8, ptr %0, i64 184
  %26 = load i32, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, align 16, !tbaa !24
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %27
  %29 = load ptr, ptr %28, align 8, !tbaa !25
  %30 = load i64, ptr %22, align 8, !tbaa !26
  %31 = load i64, ptr %23, align 8, !tbaa !23
  %32 = load ptr, ptr %24, align 8, !tbaa !27
  %33 = tail call noundef i32 %29(ptr noundef %.0, i64 noundef %.024, i64 noundef %30, i64 noundef %31, ptr noundef %32)
  %34 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 4), align 4, !tbaa !24
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %35
  %37 = load ptr, ptr %36, align 8, !tbaa !25
  %38 = load i64, ptr %22, align 8, !tbaa !26
  %39 = load i64, ptr %23, align 8, !tbaa !23
  %40 = load ptr, ptr %24, align 8, !tbaa !27
  %41 = getelementptr inbounds i8, ptr %40, i64 %39
  %42 = tail call noundef i32 %37(ptr noundef %.0, i64 noundef %.024, i64 noundef %38, i64 noundef %39, ptr noundef %41)
  %43 = icmp slt i32 %42, %33
  %spec.select.1.peel = zext i1 %43 to i32
  %spec.select33.1.peel = tail call i32 @llvm.smin.i32(i32 %42, i32 %33)
  %44 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 8), align 8, !tbaa !24
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %45
  %47 = load ptr, ptr %46, align 8, !tbaa !25
  %48 = load i64, ptr %22, align 8, !tbaa !26
  %49 = load i64, ptr %23, align 8, !tbaa !23
  %50 = load ptr, ptr %24, align 8, !tbaa !27
  %51 = shl i64 %49, 1
  %52 = getelementptr inbounds i8, ptr %50, i64 %51
  %53 = tail call noundef i32 %47(ptr noundef %.0, i64 noundef %.024, i64 noundef %48, i64 noundef %49, ptr noundef %52)
  %54 = icmp slt i32 %53, %spec.select33.1.peel
  %spec.select.2.peel = select i1 %54, i32 2, i32 %spec.select.1.peel
  %spec.select33.2.peel = tail call i32 @llvm.smin.i32(i32 %53, i32 %spec.select33.1.peel)
  %55 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 12), align 4, !tbaa !24
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !25
  %59 = load i64, ptr %22, align 8, !tbaa !26
  %60 = load i64, ptr %23, align 8, !tbaa !23
  %61 = load ptr, ptr %24, align 8, !tbaa !27
  %62 = mul i64 %60, 3
  %63 = getelementptr inbounds i8, ptr %61, i64 %62
  %64 = tail call noundef i32 %58(ptr noundef %.0, i64 noundef %.024, i64 noundef %59, i64 noundef %60, ptr noundef %63)
  %65 = icmp slt i32 %64, %spec.select33.2.peel
  %spec.select.3.peel = select i1 %65, i32 3, i32 %spec.select.2.peel
  %spec.select33.3.peel = tail call i32 @llvm.smin.i32(i32 %64, i32 %spec.select33.2.peel)
  %66 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 16), align 16, !tbaa !24
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !25
  %70 = load i64, ptr %22, align 8, !tbaa !26
  %71 = load i64, ptr %23, align 8, !tbaa !23
  %72 = load ptr, ptr %24, align 8, !tbaa !27
  %73 = shl i64 %71, 2
  %74 = getelementptr inbounds i8, ptr %72, i64 %73
  %75 = tail call noundef i32 %69(ptr noundef %.0, i64 noundef %.024, i64 noundef %70, i64 noundef %71, ptr noundef %74)
  %76 = icmp slt i32 %75, %spec.select33.3.peel
  %spec.select.4.peel = select i1 %76, i32 4, i32 %spec.select.3.peel
  %77 = trunc nuw nsw i32 %spec.select.4.peel to i8
  %78 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd5ArrayIhEixEm(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef 0)
  store i8 %77, ptr %78, align 1, !tbaa !28
  %79 = load ptr, ptr %25, align 8, !tbaa !29
  %80 = load i64, ptr %23, align 8, !tbaa !23
  %81 = getelementptr inbounds i8, ptr %79, i64 1
  %82 = load ptr, ptr %24, align 8, !tbaa !27
  %83 = zext nneg i32 %spec.select.4.peel to i64
  %84 = mul i64 %80, %83
  %85 = getelementptr inbounds i8, ptr %82, i64 %84
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %81, ptr align 1 %85, i64 %80, i1 false)
  %86 = load i64, ptr %19, align 8, !tbaa !21
  %87 = icmp ugt i64 %86, 1
  br i1 %87, label %.preheader.peel.next, label %._crit_edge

.preheader.peel.next:                             ; preds = %.preheader.lr.ph
  %.pre = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 20), align 4, !tbaa !24
  %.pre42 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 24), align 8, !tbaa !24
  %.pre43 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 28), align 4, !tbaa !24
  %.pre44 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 32), align 16, !tbaa !24
  %.pre45 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZN4Simd4Base13ImagePngSaver8ToStreamEPKhmE5TYPES, i64 36), align 4, !tbaa !24
  %88 = sext i32 %.pre to i64
  %89 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %88
  %90 = sext i32 %.pre42 to i64
  %91 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %90
  %92 = sext i32 %.pre43 to i64
  %93 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %92
  %94 = sext i32 %.pre44 to i64
  %95 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %94
  %96 = sext i32 %.pre45 to i64
  %97 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %96
  br label %.preheader

.preheader:                                       ; preds = %.preheader.peel.next, %.preheader
  %.02537 = phi i64 [ 1, %.preheader.peel.next ], [ %151, %.preheader ]
  %98 = mul i64 %.02537, %.024
  %99 = getelementptr inbounds i8, ptr %.0, i64 %98
  %100 = load ptr, ptr %89, align 8, !tbaa !25
  %101 = load i64, ptr %22, align 8, !tbaa !26
  %102 = load i64, ptr %23, align 8, !tbaa !23
  %103 = load ptr, ptr %24, align 8, !tbaa !27
  %104 = tail call noundef i32 %100(ptr noundef %99, i64 noundef %.024, i64 noundef %101, i64 noundef %102, ptr noundef %103)
  %105 = load ptr, ptr %91, align 8, !tbaa !25
  %106 = load i64, ptr %22, align 8, !tbaa !26
  %107 = load i64, ptr %23, align 8, !tbaa !23
  %108 = load ptr, ptr %24, align 8, !tbaa !27
  %109 = getelementptr inbounds i8, ptr %108, i64 %107
  %110 = tail call noundef i32 %105(ptr noundef %99, i64 noundef %.024, i64 noundef %106, i64 noundef %107, ptr noundef %109)
  %111 = icmp slt i32 %110, %104
  %spec.select.1 = zext i1 %111 to i32
  %spec.select33.1 = tail call i32 @llvm.smin.i32(i32 %110, i32 %104)
  %112 = load ptr, ptr %93, align 8, !tbaa !25
  %113 = load i64, ptr %22, align 8, !tbaa !26
  %114 = load i64, ptr %23, align 8, !tbaa !23
  %115 = load ptr, ptr %24, align 8, !tbaa !27
  %116 = shl i64 %114, 1
  %117 = getelementptr inbounds i8, ptr %115, i64 %116
  %118 = tail call noundef i32 %112(ptr noundef %99, i64 noundef %.024, i64 noundef %113, i64 noundef %114, ptr noundef %117)
  %119 = icmp slt i32 %118, %spec.select33.1
  %spec.select.2 = select i1 %119, i32 2, i32 %spec.select.1
  %spec.select33.2 = tail call i32 @llvm.smin.i32(i32 %118, i32 %spec.select33.1)
  %120 = load ptr, ptr %95, align 8, !tbaa !25
  %121 = load i64, ptr %22, align 8, !tbaa !26
  %122 = load i64, ptr %23, align 8, !tbaa !23
  %123 = load ptr, ptr %24, align 8, !tbaa !27
  %124 = mul i64 %122, 3
  %125 = getelementptr inbounds i8, ptr %123, i64 %124
  %126 = tail call noundef i32 %120(ptr noundef %99, i64 noundef %.024, i64 noundef %121, i64 noundef %122, ptr noundef %125)
  %127 = icmp slt i32 %126, %spec.select33.2
  %spec.select.3 = select i1 %127, i32 3, i32 %spec.select.2
  %spec.select33.3 = tail call i32 @llvm.smin.i32(i32 %126, i32 %spec.select33.2)
  %128 = load ptr, ptr %97, align 8, !tbaa !25
  %129 = load i64, ptr %22, align 8, !tbaa !26
  %130 = load i64, ptr %23, align 8, !tbaa !23
  %131 = load ptr, ptr %24, align 8, !tbaa !27
  %132 = shl i64 %130, 2
  %133 = getelementptr inbounds i8, ptr %131, i64 %132
  %134 = tail call noundef i32 %128(ptr noundef %99, i64 noundef %.024, i64 noundef %129, i64 noundef %130, ptr noundef %133)
  %135 = icmp slt i32 %134, %spec.select33.3
  %spec.select.4 = select i1 %135, i32 4, i32 %spec.select.3
  %136 = trunc nuw nsw i32 %spec.select.4 to i8
  %137 = load i64, ptr %23, align 8, !tbaa !23
  %138 = add i64 %137, 1
  %139 = mul i64 %138, %.02537
  %140 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd5ArrayIhEixEm(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef %139)
  store i8 %136, ptr %140, align 1, !tbaa !28
  %141 = load ptr, ptr %25, align 8, !tbaa !29
  %142 = load i64, ptr %23, align 8, !tbaa !23
  %143 = add i64 %142, 1
  %144 = mul i64 %143, %.02537
  %145 = getelementptr inbounds i8, ptr %141, i64 %144
  %146 = getelementptr inbounds i8, ptr %145, i64 1
  %147 = load ptr, ptr %24, align 8, !tbaa !27
  %148 = zext nneg i32 %spec.select.4 to i64
  %149 = mul i64 %142, %148
  %150 = getelementptr inbounds i8, ptr %147, i64 %149
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %146, ptr align 1 %150, i64 %142, i1 false)
  %151 = add nuw i64 %.02537, 1
  %152 = load i64, ptr %19, align 8, !tbaa !21
  %153 = icmp ult i64 %151, %152
  br i1 %153, label %.preheader, label %._crit_edge, !llvm.loop !30

._crit_edge:                                      ; preds = %.preheader, %.preheader.lr.ph, %18
  %.lcssa = phi i64 [ 0, %18 ], [ %86, %.preheader.lr.ph ], [ %152, %.preheader ]
  %154 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #6
  %155 = load i64, ptr %154, align 8, !tbaa !20
  %156 = mul i64 %155, %.lcssa
  %157 = tail call noundef i64 @_ZN4Simd4Base10AlgCacheL1Ev()
  %158 = tail call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %156, i64 noundef %157)
  call void @_ZN4Simd18OutputMemoryStreamC2Em(ptr noundef nonnull align 8 dereferenceable(56) %4, i64 noundef %158)
  %159 = getelementptr inbounds i8, ptr %0, i64 160
  %160 = load ptr, ptr %159, align 8, !tbaa !33
  %161 = getelementptr inbounds i8, ptr %0, i64 184
  %162 = load ptr, ptr %161, align 8, !tbaa !29
  %163 = getelementptr inbounds i8, ptr %0, i64 192
  %164 = load i64, ptr %163, align 8, !tbaa !34
  %165 = trunc i64 %164 to i32
  invoke void %160(ptr noundef %162, i32 noundef %165, i32 noundef 8, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %166 unwind label %170

166:                                              ; preds = %._crit_edge
  %167 = call noundef ptr @_ZN4Simd18OutputMemoryStream4DataEv(ptr noundef nonnull align 8 dereferenceable(56) %4)
  %168 = call noundef i64 @_ZNK4Simd18OutputMemoryStream4SizeEv(ptr noundef nonnull align 8 dereferenceable(56) %4)
  invoke void @_ZN4Simd4Base13ImagePngSaver13WriteToStreamEPKhm(ptr noundef nonnull align 8 dereferenceable(232) %0, ptr noundef %167, i64 noundef %168)
          to label %169 unwind label %170

169:                                              ; preds = %166
  call void @_ZN4Simd18OutputMemoryStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #6
  ret i1 true

170:                                              ; preds = %166, %._crit_edge
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd18OutputMemoryStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #6
  resume { ptr, i32 } %171
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd5ArrayIhEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd4Base10AlgCacheL1Ev() local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd18OutputMemoryStreamC2Em(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base13ImagePngSaver13WriteToStreamEPKhm(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4Simd18OutputMemoryStream4DataEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Simd18OutputMemoryStream4SizeEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd18OutputMemoryStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { alwaysinline 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 = { alwaysinline 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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, !17, i64 96}
!6 = !{!"_ZTSN4Simd4Base13ImagePngSaverE", !7, i64 0, !17, i64 96, !10, i64 104, !17, i64 160, !9, i64 168, !9, i64 176, !18, i64 184, !18, i64 200, !19, i64 216}
!7 = !{!"_ZTSN4Simd10ImageSaverE", !8, i64 8, !16, i64 40}
!8 = !{!"_ZTSN4Simd15ImageSaverParamE", !9, i64 0, !9, i64 8, !12, i64 16, !13, i64 20, !14, i64 24, !15, i64 28}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTS19SimdPixelFormatType", !10, i64 0}
!13 = !{!"_ZTS17SimdImageFileType", !10, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!"_ZTS11SimdYuvType", !10, i64 0}
!16 = !{!"_ZTSN4Simd18OutputMemoryStreamE", !9, i64 0, !17, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48}
!17 = !{!"any pointer", !10, i64 0}
!18 = !{!"_ZTSN4Simd5ArrayIhEE", !17, i64 0, !9, i64 8}
!19 = !{!"_ZTSN4Simd5ArrayIaEE", !17, i64 0, !9, i64 8}
!20 = !{!7, !9, i64 8}
!21 = !{!7, !9, i64 16}
!22 = !{!6, !17, i64 200}
!23 = !{!6, !9, i64 176}
!24 = !{!14, !14, i64 0}
!25 = !{!17, !17, i64 0}
!26 = !{!6, !9, i64 168}
!27 = !{!6, !17, i64 216}
!28 = !{!10, !10, i64 0}
!29 = !{!6, !17, i64 184}
!30 = distinct !{!30, !31, !32}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!"llvm.loop.peeled.count", i32 1}
!33 = !{!6, !17, i64 160}
!34 = !{!6, !9, i64 192}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass