; LLVM IR from eyangch/competitive-programming :: AdventOfCode/2022/day9/day9.ll (Z5part2v)

; 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.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] }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<long long, long long>, std::pair<long long, long long>, std::_Identity<std::pair<long long, long long>>, std::less<std::pair<long long, long long>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<long long, long long>, std::pair<long long, long long>, std::_Identity<std::pair<long long, long long>>, std::less<std::pair<long long, long long>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.3" = type { i64, i64 }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@_Z1SB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@ans2 = external dso_local global %"class.std::set", align 8
@ax = external dso_local global [10 x i64], align 16
@ay = external dso_local global [10 x i64], align 16
@apx = external dso_local global [10 x i64], align 16
@apy = external dso_local global [10 x i64], align 16

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) #3 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setISt4pairIxxESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5part2v() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i8, align 1
  %2 = alloca i64, align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i8, align 1
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca [8 x i64], align 16
  %11 = alloca [8 x i64], align 16
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca %"struct.std::pair.3", align 8
  %17 = alloca %"struct.std::pair", align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %1) #6
  %18 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1SB5cxx11, i64 noundef 0)
  %19 = load i8, ptr %18, align 1, !tbaa !5
  store i8 %19, ptr %1, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #6
  call void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) @_Z1SB5cxx11, i64 noundef 2, i64 noundef -1)
  %20 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef null, i32 noundef 10)
          to label %21 unwind label %32

21:                                               ; preds = %0
  %22 = sext i32 %20 to i64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #6
  store i64 %22, ptr %2, align 8, !tbaa !8
  br label %23

23:                                               ; preds = %175, %21
  %24 = load i64, ptr %2, align 8, !tbaa !8
  %25 = add nsw i64 %24, -1
  store i64 %25, ptr %2, align 8, !tbaa !8
  %26 = icmp ne i64 %24, 0
  br i1 %26, label %27, label %181

27:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store i64 0, ptr %6, align 8, !tbaa !8
  br label %28

28:                                               ; preds = %47, %27
  %29 = load i64, ptr %6, align 8, !tbaa !8
  %30 = icmp slt i64 %29, 10
  br i1 %30, label %36, label %31

31:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %50

32:                                               ; preds = %0
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %4, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %1) #6
  br label %182

36:                                               ; preds = %28
  %37 = load i64, ptr %6, align 8, !tbaa !8
  %38 = getelementptr inbounds [10 x i64], ptr @ax, i64 0, i64 %37
  %39 = load i64, ptr %38, align 8, !tbaa !8
  %40 = load i64, ptr %6, align 8, !tbaa !8
  %41 = getelementptr inbounds [10 x i64], ptr @apx, i64 0, i64 %40
  store i64 %39, ptr %41, align 8, !tbaa !8
  %42 = load i64, ptr %6, align 8, !tbaa !8
  %43 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %42
  %44 = load i64, ptr %43, align 8, !tbaa !8
  %45 = load i64, ptr %6, align 8, !tbaa !8
  %46 = getelementptr inbounds [10 x i64], ptr @apy, i64 0, i64 %45
  store i64 %44, ptr %46, align 8, !tbaa !8
  br label %47

47:                                               ; preds = %36
  %48 = load i64, ptr %6, align 8, !tbaa !8
  %49 = add nsw i64 %48, 1
  store i64 %49, ptr %6, align 8, !tbaa !8
  br label %28, !llvm.loop !10

50:                                               ; preds = %31
  %51 = load i8, ptr %1, align 1, !tbaa !5
  %52 = sext i8 %51 to i32
  %53 = icmp eq i32 %52, 85
  br i1 %53, label %54, label %57

54:                                               ; preds = %50
  %55 = load i64, ptr @ay, align 16, !tbaa !8
  %56 = add nsw i64 %55, 1
  store i64 %56, ptr @ay, align 16, !tbaa !8
  br label %57

57:                                               ; preds = %54, %50
  %58 = load i8, ptr %1, align 1, !tbaa !5
  %59 = sext i8 %58 to i32
  %60 = icmp eq i32 %59, 68
  br i1 %60, label %61, label %64

61:                                               ; preds = %57
  %62 = load i64, ptr @ay, align 16, !tbaa !8
  %63 = add nsw i64 %62, -1
  store i64 %63, ptr @ay, align 16, !tbaa !8
  br label %64

64:                                               ; preds = %61, %57
  %65 = load i8, ptr %1, align 1, !tbaa !5
  %66 = sext i8 %65 to i32
  %67 = icmp eq i32 %66, 76
  br i1 %67, label %68, label %71

68:                                               ; preds = %64
  %69 = load i64, ptr @ax, align 16, !tbaa !8
  %70 = add nsw i64 %69, -1
  store i64 %70, ptr @ax, align 16, !tbaa !8
  br label %71

71:                                               ; preds = %68, %64
  %72 = load i8, ptr %1, align 1, !tbaa !5
  %73 = sext i8 %72 to i32
  %74 = icmp eq i32 %73, 82
  br i1 %74, label %75, label %78

75:                                               ; preds = %71
  %76 = load i64, ptr @ax, align 16, !tbaa !8
  %77 = add nsw i64 %76, 1
  store i64 %77, ptr @ax, align 16, !tbaa !8
  br label %78

78:                                               ; preds = %75, %71
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  store i8 0, ptr %7, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 1, ptr %8, align 8, !tbaa !8
  br label %79

79:                                               ; preds = %172, %78
  %80 = load i64, ptr %8, align 8, !tbaa !8
  %81 = icmp slt i64 %80, 10
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  store i32 7, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %175

83:                                               ; preds = %79
  %84 = load i64, ptr %8, align 8, !tbaa !8
  %85 = getelementptr inbounds [10 x i64], ptr @ax, i64 0, i64 %84
  %86 = load i64, ptr %85, align 8, !tbaa !8
  %87 = load i64, ptr %8, align 8, !tbaa !8
  %88 = sub nsw i64 %87, 1
  %89 = getelementptr inbounds [10 x i64], ptr @ax, i64 0, i64 %88
  %90 = load i64, ptr %89, align 8, !tbaa !8
  %91 = sub nsw i64 %86, %90
  %92 = call noundef i64 @_ZSt3absx(i64 noundef %91)
  %93 = icmp sgt i64 %92, 1
  br i1 %93, label %105, label %94

94:                                               ; preds = %83
  %95 = load i64, ptr %8, align 8, !tbaa !8
  %96 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %95
  %97 = load i64, ptr %96, align 8, !tbaa !8
  %98 = load i64, ptr %8, align 8, !tbaa !8
  %99 = sub nsw i64 %98, 1
  %100 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %99
  %101 = load i64, ptr %100, align 8, !tbaa !8
  %102 = sub nsw i64 %97, %101
  %103 = call noundef i64 @_ZSt3absx(i64 noundef %102)
  %104 = icmp sgt i64 %103, 1
  br i1 %104, label %105, label %171

105:                                              ; preds = %94, %83
  call void @llvm.lifetime.start.p0(i64 64, ptr %10) #6
  call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 64, i1 false)
  %106 = getelementptr inbounds [8 x i64], ptr %10, i32 0, i32 0
  store i64 -1, ptr %106, align 16
  %107 = getelementptr inbounds [8 x i64], ptr %10, i32 0, i32 1
  store i64 -1, ptr %107, align 8
  %108 = getelementptr inbounds [8 x i64], ptr %10, i32 0, i32 2
  store i64 -1, ptr %108, align 16
  %109 = getelementptr inbounds [8 x i64], ptr %10, i32 0, i32 5
  store i64 1, ptr %109, align 8
  %110 = getelementptr inbounds [8 x i64], ptr %10, i32 0, i32 6
  store i64 1, ptr %110, align 16
  %111 = getelementptr inbounds [8 x i64], ptr %10, i32 0, i32 7
  store i64 1, ptr %111, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #6
  call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 64, i1 false)
  %112 = getelementptr inbounds [8 x i64], ptr %11, i32 0, i32 0
  store i64 -1, ptr %112, align 16
  %113 = getelementptr inbounds [8 x i64], ptr %11, i32 0, i32 2
  store i64 1, ptr %113, align 16
  %114 = getelementptr inbounds [8 x i64], ptr %11, i32 0, i32 3
  store i64 -1, ptr %114, align 8
  %115 = getelementptr inbounds [8 x i64], ptr %11, i32 0, i32 4
  store i64 1, ptr %115, align 16
  %116 = getelementptr inbounds [8 x i64], ptr %11, i32 0, i32 5
  store i64 -1, ptr %116, align 8
  %117 = getelementptr inbounds [8 x i64], ptr %11, i32 0, i32 7
  store i64 1, ptr %117, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 1000000000, ptr %12, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !8
  br label %118

118:                                              ; preds = %153, %105
  %119 = load i64, ptr %14, align 8, !tbaa !8
  %120 = icmp slt i64 %119, 8
  br i1 %120, label %122, label %121

121:                                              ; preds = %118
  store i32 10, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %156

122:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %123 = load i64, ptr %8, align 8, !tbaa !8
  %124 = getelementptr inbounds [10 x i64], ptr @ax, i64 0, i64 %123
  %125 = load i64, ptr %124, align 8, !tbaa !8
  %126 = load i64, ptr %14, align 8, !tbaa !8
  %127 = getelementptr inbounds [8 x i64], ptr %10, i64 0, i64 %126
  %128 = load i64, ptr %127, align 8, !tbaa !8
  %129 = add nsw i64 %125, %128
  %130 = load i64, ptr %8, align 8, !tbaa !8
  %131 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %130
  %132 = load i64, ptr %131, align 8, !tbaa !8
  %133 = load i64, ptr %14, align 8, !tbaa !8
  %134 = getelementptr inbounds [8 x i64], ptr %11, i64 0, i64 %133
  %135 = load i64, ptr %134, align 8, !tbaa !8
  %136 = add nsw i64 %132, %135
  %137 = load i64, ptr %8, align 8, !tbaa !8
  %138 = sub nsw i64 %137, 1
  %139 = getelementptr inbounds [10 x i64], ptr @ax, i64 0, i64 %138
  %140 = load i64, ptr %139, align 8, !tbaa !8
  %141 = load i64, ptr %8, align 8, !tbaa !8
  %142 = sub nsw i64 %141, 1
  %143 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %142
  %144 = load i64, ptr %143, align 8, !tbaa !8
  %145 = call noundef i64 @_Z4distxxxx(i64 noundef %129, i64 noundef %136, i64 noundef %140, i64 noundef %144)
  store i64 %145, ptr %15, align 8, !tbaa !8
  %146 = load i64, ptr %15, align 8, !tbaa !8
  %147 = load i64, ptr %12, align 8, !tbaa !8
  %148 = icmp slt i64 %146, %147
  br i1 %148, label %149, label %152

149:                                              ; preds = %122
  %150 = load i64, ptr %15, align 8, !tbaa !8
  store i64 %150, ptr %12, align 8, !tbaa !8
  %151 = load i64, ptr %14, align 8, !tbaa !8
  store i64 %151, ptr %13, align 8, !tbaa !8
  br label %152

152:                                              ; preds = %149, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %153

153:                                              ; preds = %152
  %154 = load i64, ptr %14, align 8, !tbaa !8
  %155 = add nsw i64 %154, 1
  store i64 %155, ptr %14, align 8, !tbaa !8
  br label %118, !llvm.loop !14

156:                                              ; preds = %121
  %157 = load i64, ptr %13, align 8, !tbaa !8
  %158 = getelementptr inbounds [8 x i64], ptr %10, i64 0, i64 %157
  %159 = load i64, ptr %158, align 8, !tbaa !8
  %160 = load i64, ptr %8, align 8, !tbaa !8
  %161 = getelementptr inbounds [10 x i64], ptr @ax, i64 0, i64 %160
  %162 = load i64, ptr %161, align 8, !tbaa !8
  %163 = add nsw i64 %162, %159
  store i64 %163, ptr %161, align 8, !tbaa !8
  %164 = load i64, ptr %13, align 8, !tbaa !8
  %165 = getelementptr inbounds [8 x i64], ptr %11, i64 0, i64 %164
  %166 = load i64, ptr %165, align 8, !tbaa !8
  %167 = load i64, ptr %8, align 8, !tbaa !8
  %168 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %167
  %169 = load i64, ptr %168, align 8, !tbaa !8
  %170 = add nsw i64 %169, %166
  store i64 %170, ptr %168, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %10) #6
  br label %171

171:                                              ; preds = %156, %94
  br label %172

172:                                              ; preds = %171
  %173 = load i64, ptr %8, align 8, !tbaa !8
  %174 = add nsw i64 %173, 1
  store i64 %174, ptr %8, align 8, !tbaa !8
  br label %79, !llvm.loop !15

175:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  call void @_ZNSt4pairIxxEC2IRxS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds ([10 x i64], ptr @ax, i64 0, i64 9), ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds ([10 x i64], ptr @ay, i64 0, i64 9))
  %176 = call { ptr, i8 } @_ZNSt3setISt4pairIxxESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @ans2, ptr noundef nonnull align 8 dereferenceable(16) %16)
  %177 = getelementptr inbounds { ptr, i8 }, ptr %17, i32 0, i32 0
  %178 = extractvalue { ptr, i8 } %176, 0
  store ptr %178, ptr %177, align 8
  %179 = getelementptr inbounds { ptr, i8 }, ptr %17, i32 0, i32 1
  %180 = extractvalue { ptr, i8 } %176, 1
  store i8 %180, ptr %179, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %23, !llvm.loop !16

181:                                              ; preds = %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %1) #6
  ret void

182:                                              ; preds = %32
  %183 = load ptr, ptr %4, align 8
  %184 = load i32, ptr %5, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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


; 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.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] }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<long long, long long>, std::pair<long long, long long>, std::_Identity<std::pair<long long, long long>>, std::less<std::pair<long long, long long>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<long long, long long>, std::pair<long long, long long>, std::_Identity<std::pair<long long, long long>>, std::less<std::pair<long long, long long>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.3" = type { i64, i64 }

@_Z1SB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@ans2 = external dso_local global %"class.std::set", align 8
@ax = external dso_local global [10 x i64], align 16
@ay = external dso_local global [10 x i64], align 16
@apx = external dso_local local_unnamed_addr global [10 x i64], align 16
@apy = external dso_local local_unnamed_addr global [10 x i64], align 16

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) local_unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setISt4pairIxxESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5part2v() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca [8 x i64], align 16
  %3 = alloca [8 x i64], align 16
  %4 = alloca %"struct.std::pair.3", align 8
  %5 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1SB5cxx11, i64 noundef 0)
  %6 = load i8, ptr %5, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #8
  call void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %1, ptr noundef nonnull align 8 dereferenceable(32) @_Z1SB5cxx11, i64 noundef 2, i64 noundef -1)
  %7 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef null, i32 noundef 10)
          to label %8 unwind label %20

8:                                                ; preds = %0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #8
  %.not47 = icmp eq i32 %7, 0
  br i1 %.not47, label %._crit_edge, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %8
  %9 = sext i32 %7 to i64
  %10 = getelementptr inbounds i8, ptr %2, i64 40
  %11 = getelementptr inbounds i8, ptr %2, i64 48
  %12 = getelementptr inbounds i8, ptr %2, i64 56
  %13 = getelementptr inbounds i8, ptr %3, i64 16
  %14 = getelementptr inbounds i8, ptr %3, i64 24
  %15 = getelementptr inbounds i8, ptr %3, i64 32
  %16 = getelementptr inbounds i8, ptr %3, i64 40
  %17 = getelementptr inbounds i8, ptr %3, i64 56
  %18 = getelementptr inbounds i8, ptr %2, i64 16
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %27
  %.in = phi i64 [ %9, %.preheader.lr.ph ], [ %19, %27 ]
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) @apx, ptr noundef nonnull align 16 dereferenceable(80) @ax, i64 80, i1 false), !tbaa !8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) @apy, ptr noundef nonnull align 16 dereferenceable(80) @ay, i64 80, i1 false), !tbaa !8
  %19 = add nsw i64 %.in, -1
  switch i8 %6, label %.preheader51 [
    i8 85, label %.sink.split
    i8 68, label %22
    i8 76, label %23
    i8 82, label %24
  ]

.preheader51:                                     ; preds = %.sink.split, %.preheader
  br label %29

20:                                               ; preds = %0
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #8
  resume { ptr, i32 } %21

22:                                               ; preds = %.preheader
  br label %.sink.split

23:                                               ; preds = %.preheader
  br label %.sink.split

24:                                               ; preds = %.preheader
  br label %.sink.split

.sink.split:                                      ; preds = %.preheader, %24, %22, %23
  %ax.sink50 = phi ptr [ @ax, %23 ], [ @ay, %22 ], [ @ax, %24 ], [ @ay, %.preheader ]
  %.sink49 = phi i64 [ -1, %23 ], [ -1, %22 ], [ 1, %24 ], [ 1, %.preheader ]
  %25 = load i64, ptr %ax.sink50, align 16, !tbaa !8
  %26 = add nsw i64 %25, %.sink49
  store i64 %26, ptr %ax.sink50, align 16, !tbaa !8
  br label %.preheader51

27:                                               ; preds = %116
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  call void @_ZNSt4pairIxxEC2IRxS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @ax, i64 72), ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @ay, i64 72))
  %28 = call { ptr, i8 } @_ZNSt3setISt4pairIxxESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @ans2, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  %.not = icmp eq i64 %19, 0
  br i1 %.not, label %._crit_edge, label %.preheader, !llvm.loop !10

29:                                               ; preds = %.preheader51, %116
  %.03546 = phi i64 [ %117, %116 ], [ 1, %.preheader51 ]
  %30 = getelementptr inbounds [10 x i64], ptr @ax, i64 0, i64 %.03546
  %31 = load i64, ptr %30, align 8, !tbaa !8
  %32 = add nsw i64 %.03546, -1
  %33 = getelementptr inbounds [10 x i64], ptr @ax, i64 0, i64 %32
  %34 = load i64, ptr %33, align 8, !tbaa !8
  %35 = sub nsw i64 %31, %34
  %36 = call noundef i64 @_ZSt3absx(i64 noundef %35)
  %37 = icmp sgt i64 %36, 1
  br i1 %37, label %46, label %38

38:                                               ; preds = %29
  %39 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %.03546
  %40 = load i64, ptr %39, align 8, !tbaa !8
  %41 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %32
  %42 = load i64, ptr %41, align 8, !tbaa !8
  %43 = sub nsw i64 %40, %42
  %44 = call noundef i64 @_ZSt3absx(i64 noundef %43)
  %45 = icmp sgt i64 %44, 1
  br i1 %45, label %46, label %116

46:                                               ; preds = %38, %29
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %18, i8 0, i64 32, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %2, i8 -1, i64 24, i1 false)
  store i64 1, ptr %10, align 8
  store i64 1, ptr %11, align 16
  store i64 1, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %3, i8 0, i64 64, i1 false)
  store i64 -1, ptr %3, align 16
  store i64 1, ptr %13, align 16
  store i64 -1, ptr %14, align 8
  store i64 1, ptr %15, align 16
  store i64 -1, ptr %16, align 8
  store i64 1, ptr %17, align 8
  %47 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %.03546
  %48 = getelementptr inbounds [10 x i64], ptr @ay, i64 0, i64 %32
  %49 = load i64, ptr %30, align 8, !tbaa !8
  %50 = add nsw i64 %49, -1
  %51 = load i64, ptr %47, align 8, !tbaa !8
  %52 = add nsw i64 %51, -1
  %53 = load i64, ptr %33, align 8, !tbaa !8
  %54 = load i64, ptr %48, align 8, !tbaa !8
  %55 = call noundef i64 @_Z4distxxxx(i64 noundef %50, i64 noundef %52, i64 noundef %53, i64 noundef %54)
  %spec.select = call i64 @llvm.smin.i64(i64 %55, i64 1000000000)
  %56 = load i64, ptr %30, align 8, !tbaa !8
  %57 = add nsw i64 %56, -1
  %58 = load i64, ptr %47, align 8, !tbaa !8
  %59 = load i64, ptr %33, align 8, !tbaa !8
  %60 = load i64, ptr %48, align 8, !tbaa !8
  %61 = call noundef i64 @_Z4distxxxx(i64 noundef %57, i64 noundef %58, i64 noundef %59, i64 noundef %60)
  %62 = icmp slt i64 %61, %spec.select
  %spec.select.1 = call i64 @llvm.smin.i64(i64 %61, i64 %spec.select)
  %spec.select41.1 = zext i1 %62 to i64
  %63 = load i64, ptr %30, align 8, !tbaa !8
  %64 = add nsw i64 %63, -1
  %65 = load i64, ptr %47, align 8, !tbaa !8
  %66 = add nsw i64 %65, 1
  %67 = load i64, ptr %33, align 8, !tbaa !8
  %68 = load i64, ptr %48, align 8, !tbaa !8
  %69 = call noundef i64 @_Z4distxxxx(i64 noundef %64, i64 noundef %66, i64 noundef %67, i64 noundef %68)
  %70 = icmp slt i64 %69, %spec.select.1
  %spec.select.2 = call i64 @llvm.smin.i64(i64 %69, i64 %spec.select.1)
  %spec.select41.2 = select i1 %70, i64 2, i64 %spec.select41.1
  %71 = load i64, ptr %30, align 8, !tbaa !8
  %72 = load i64, ptr %47, align 8, !tbaa !8
  %73 = add nsw i64 %72, -1
  %74 = load i64, ptr %33, align 8, !tbaa !8
  %75 = load i64, ptr %48, align 8, !tbaa !8
  %76 = call noundef i64 @_Z4distxxxx(i64 noundef %71, i64 noundef %73, i64 noundef %74, i64 noundef %75)
  %77 = icmp slt i64 %76, %spec.select.2
  %spec.select.3 = call i64 @llvm.smin.i64(i64 %76, i64 %spec.select.2)
  %spec.select41.3 = select i1 %77, i64 3, i64 %spec.select41.2
  %78 = load i64, ptr %30, align 8, !tbaa !8
  %79 = load i64, ptr %47, align 8, !tbaa !8
  %80 = add nsw i64 %79, 1
  %81 = load i64, ptr %33, align 8, !tbaa !8
  %82 = load i64, ptr %48, align 8, !tbaa !8
  %83 = call noundef i64 @_Z4distxxxx(i64 noundef %78, i64 noundef %80, i64 noundef %81, i64 noundef %82)
  %84 = icmp slt i64 %83, %spec.select.3
  %spec.select.4 = call i64 @llvm.smin.i64(i64 %83, i64 %spec.select.3)
  %spec.select41.4 = select i1 %84, i64 4, i64 %spec.select41.3
  %85 = load i64, ptr %30, align 8, !tbaa !8
  %86 = add nsw i64 %85, 1
  %87 = load i64, ptr %47, align 8, !tbaa !8
  %88 = add nsw i64 %87, -1
  %89 = load i64, ptr %33, align 8, !tbaa !8
  %90 = load i64, ptr %48, align 8, !tbaa !8
  %91 = call noundef i64 @_Z4distxxxx(i64 noundef %86, i64 noundef %88, i64 noundef %89, i64 noundef %90)
  %92 = icmp slt i64 %91, %spec.select.4
  %spec.select.5 = call i64 @llvm.smin.i64(i64 %91, i64 %spec.select.4)
  %spec.select41.5 = select i1 %92, i64 5, i64 %spec.select41.4
  %93 = load i64, ptr %30, align 8, !tbaa !8
  %94 = add nsw i64 %93, 1
  %95 = load i64, ptr %47, align 8, !tbaa !8
  %96 = load i64, ptr %33, align 8, !tbaa !8
  %97 = load i64, ptr %48, align 8, !tbaa !8
  %98 = call noundef i64 @_Z4distxxxx(i64 noundef %94, i64 noundef %95, i64 noundef %96, i64 noundef %97)
  %99 = icmp slt i64 %98, %spec.select.5
  %spec.select.6 = call i64 @llvm.smin.i64(i64 %98, i64 %spec.select.5)
  %spec.select41.6 = select i1 %99, i64 6, i64 %spec.select41.5
  %100 = load i64, ptr %30, align 8, !tbaa !8
  %101 = add nsw i64 %100, 1
  %102 = load i64, ptr %47, align 8, !tbaa !8
  %103 = add nsw i64 %102, 1
  %104 = load i64, ptr %33, align 8, !tbaa !8
  %105 = load i64, ptr %48, align 8, !tbaa !8
  %106 = call noundef i64 @_Z4distxxxx(i64 noundef %101, i64 noundef %103, i64 noundef %104, i64 noundef %105)
  %107 = icmp slt i64 %106, %spec.select.6
  %spec.select41.7 = select i1 %107, i64 7, i64 %spec.select41.6
  %108 = getelementptr inbounds [8 x i64], ptr %2, i64 0, i64 %spec.select41.7
  %109 = load i64, ptr %108, align 8, !tbaa !8
  %110 = load i64, ptr %30, align 8, !tbaa !8
  %111 = add nsw i64 %110, %109
  store i64 %111, ptr %30, align 8, !tbaa !8
  %112 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 %spec.select41.7
  %113 = load i64, ptr %112, align 8, !tbaa !8
  %114 = load i64, ptr %47, align 8, !tbaa !8
  %115 = add nsw i64 %114, %113
  store i64 %115, ptr %47, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  br label %116

116:                                              ; preds = %38, %46
  %117 = add nuw nsw i64 %.03546, 1
  %exitcond.not = icmp eq i64 %117, 10
  br i1 %exitcond.not, label %27, label %29, !llvm.loop !12

._crit_edge:                                      ; preds = %27, %8
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

; 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) #7

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


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass