; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/209 Division 2/Problem E/E.ll (Z3dfsiic)

; 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::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_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 }
%"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] }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_const_iterator" }

@g = external dso_local global [510 x [510 x i32]], align 16
@v = external dso_local global [510 x [510 x i32]], align 16
@r = external dso_local global [510 x %"class.std::set"], align 16
@c = external dso_local global [510 x %"class.std::set"], align 16
@_Z3resB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@dx = external dso_local global [4 x i32], align 16
@dy = external dso_local global [4 x i32], align 16
@dir = external dso_local global [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z4goodii(i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_Z3oppc(i8 noundef signext) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsiic(i32 noundef %0, i32 noundef %1, i8 noundef signext %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca %"struct.std::pair", align 8
  %8 = alloca %"struct.std::pair", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca %"class.std::reverse_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %17 = alloca %"class.std::reverse_iterator", align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store i8 %2, ptr %6, align 1, !tbaa !9
  %18 = load i8, ptr %6, align 1, !tbaa !9
  %19 = sext i8 %18 to i32
  %20 = icmp ne i32 %19, 88
  br i1 %20, label %21, label %24

21:                                               ; preds = %3
  %22 = load i8, ptr %6, align 1, !tbaa !9
  %23 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3resB5cxx11, i8 noundef signext %22)
  br label %24

24:                                               ; preds = %21, %3
  %25 = load i32, ptr %4, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [510 x [510 x i32]], ptr @g, i64 0, i64 %26
  %28 = load i32, ptr %5, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [510 x i32], ptr %27, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %51, label %33

33:                                               ; preds = %24
  %34 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3resB5cxx11, i8 noundef signext 49)
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %36
  %38 = call { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %39 = getelementptr inbounds { ptr, i8 }, ptr %7, i32 0, i32 0
  %40 = extractvalue { ptr, i8 } %38, 0
  store ptr %40, ptr %39, align 8
  %41 = getelementptr inbounds { ptr, i8 }, ptr %7, i32 0, i32 1
  %42 = extractvalue { ptr, i8 } %38, 1
  store i8 %42, ptr %41, align 8
  %43 = load i32, ptr %5, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %44
  %46 = call { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %47 = getelementptr inbounds { ptr, i8 }, ptr %8, i32 0, i32 0
  %48 = extractvalue { ptr, i8 } %46, 0
  store ptr %48, ptr %47, align 8
  %49 = getelementptr inbounds { ptr, i8 }, ptr %8, i32 0, i32 1
  %50 = extractvalue { ptr, i8 } %46, 1
  store i8 %50, ptr %49, align 8
  br label %51

51:                                               ; preds = %33, %24
  %52 = load i32, ptr %4, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [510 x [510 x i32]], ptr @v, i64 0, i64 %53
  %55 = load i32, ptr %5, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [510 x i32], ptr %54, i64 0, i64 %56
  store i32 1, ptr %57, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %196, %51
  %59 = load i32, ptr %9, align 4, !tbaa !5
  %60 = icmp slt i32 %59, 4
  br i1 %60, label %62, label %61

61:                                               ; preds = %58
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %199

62:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = load i32, ptr %9, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [4 x i32], ptr @dx, i64 0, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = add nsw i32 %63, %67
  store i32 %68, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = load i32, ptr %9, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [4 x i32], ptr @dy, i64 0, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = add nsw i32 %69, %73
  store i32 %74, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #3
  %75 = load i32, ptr %9, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [4 x i8], ptr @dir, i64 0, i64 %76
  %78 = load i8, ptr %77, align 1, !tbaa !9
  store i8 %78, ptr %13, align 1, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !5
  %80 = load i32, ptr %12, align 4, !tbaa !5
  %81 = call noundef zeroext i1 @_Z4goodii(i32 noundef %79, i32 noundef %80)
  br i1 %81, label %83, label %82

82:                                               ; preds = %62
  store i32 4, ptr %10, align 4
  br label %193

83:                                               ; preds = %62
  %84 = load i32, ptr %11, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [510 x [510 x i32]], ptr @v, i64 0, i64 %85
  %87 = load i32, ptr %12, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [510 x i32], ptr %86, i64 0, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %83
  store i32 4, ptr %10, align 4
  br label %193

93:                                               ; preds = %83
  %94 = load i8, ptr %13, align 1, !tbaa !9
  %95 = sext i8 %94 to i32
  %96 = icmp eq i32 %95, 85
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  br i1 %96, label %97, label %112

97:                                               ; preds = %93
  %98 = load i32, ptr %5, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %99
  %101 = call noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %100) #3
  br i1 %101, label %112, label %102

102:                                              ; preds = %97
  %103 = load i32, ptr %5, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %104
  %106 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %105) #3
  %107 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %14, i32 0, i32 0
  store ptr %106, ptr %107, align 8
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #3
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = load i32, ptr %4, align 4, !tbaa !5
  %111 = icmp slt i32 %109, %110
  br label %112

112:                                              ; preds = %102, %97, %93
  %113 = phi i1 [ false, %97 ], [ false, %93 ], [ %111, %102 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  br i1 %113, label %114, label %118

114:                                              ; preds = %112
  %115 = load i32, ptr %11, align 4, !tbaa !5
  %116 = load i32, ptr %12, align 4, !tbaa !5
  %117 = load i8, ptr %13, align 1, !tbaa !9
  call void @_Z3dfsiic(i32 noundef %115, i32 noundef %116, i8 noundef signext %117)
  br label %192

118:                                              ; preds = %112
  %119 = load i8, ptr %13, align 1, !tbaa !9
  %120 = sext i8 %119 to i32
  %121 = icmp eq i32 %120, 68
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  br i1 %121, label %122, label %135

122:                                              ; preds = %118
  %123 = load i32, ptr %5, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %124
  %126 = call noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %125) #3
  br i1 %126, label %135, label %127

127:                                              ; preds = %122
  %128 = load i32, ptr %5, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %129
  call void @_ZNKSt3setIiSt4lessIiESaIiEE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %15, ptr noundef nonnull align 8 dereferenceable(48) %130) #3
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = load i32, ptr %4, align 4, !tbaa !5
  %134 = icmp sgt i32 %132, %133
  br label %135

135:                                              ; preds = %127, %122, %118
  %136 = phi i1 [ false, %122 ], [ false, %118 ], [ %134, %127 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  br i1 %136, label %137, label %141

137:                                              ; preds = %135
  %138 = load i32, ptr %11, align 4, !tbaa !5
  %139 = load i32, ptr %12, align 4, !tbaa !5
  %140 = load i8, ptr %13, align 1, !tbaa !9
  call void @_Z3dfsiic(i32 noundef %138, i32 noundef %139, i8 noundef signext %140)
  br label %191

141:                                              ; preds = %135
  %142 = load i8, ptr %13, align 1, !tbaa !9
  %143 = sext i8 %142 to i32
  %144 = icmp eq i32 %143, 76
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  br i1 %144, label %145, label %160

145:                                              ; preds = %141
  %146 = load i32, ptr %4, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %147
  %149 = call noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %148) #3
  br i1 %149, label %160, label %150

150:                                              ; preds = %145
  %151 = load i32, ptr %4, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %152
  %154 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %153) #3
  %155 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %16, i32 0, i32 0
  store ptr %154, ptr %155, align 8
  %156 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #3
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = load i32, ptr %5, align 4, !tbaa !5
  %159 = icmp slt i32 %157, %158
  br label %160

160:                                              ; preds = %150, %145, %141
  %161 = phi i1 [ false, %145 ], [ false, %141 ], [ %159, %150 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br i1 %161, label %162, label %166

162:                                              ; preds = %160
  %163 = load i32, ptr %11, align 4, !tbaa !5
  %164 = load i32, ptr %12, align 4, !tbaa !5
  %165 = load i8, ptr %13, align 1, !tbaa !9
  call void @_Z3dfsiic(i32 noundef %163, i32 noundef %164, i8 noundef signext %165)
  br label %190

166:                                              ; preds = %160
  %167 = load i8, ptr %13, align 1, !tbaa !9
  %168 = sext i8 %167 to i32
  %169 = icmp eq i32 %168, 82
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  br i1 %169, label %170, label %183

170:                                              ; preds = %166
  %171 = load i32, ptr %4, align 4, !tbaa !5
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %172
  %174 = call noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %173) #3
  br i1 %174, label %183, label %175

175:                                              ; preds = %170
  %176 = load i32, ptr %4, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %177
  call void @_ZNKSt3setIiSt4lessIiESaIiEE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(48) %178) #3
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = load i32, ptr %5, align 4, !tbaa !5
  %182 = icmp sgt i32 %180, %181
  br label %183

183:                                              ; preds = %175, %170, %166
  %184 = phi i1 [ false, %170 ], [ false, %166 ], [ %182, %175 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br i1 %184, label %185, label %189

185:                                              ; preds = %183
  %186 = load i32, ptr %11, align 4, !tbaa !5
  %187 = load i32, ptr %12, align 4, !tbaa !5
  %188 = load i8, ptr %13, align 1, !tbaa !9
  call void @_Z3dfsiic(i32 noundef %186, i32 noundef %187, i8 noundef signext %188)
  br label %189

189:                                              ; preds = %185, %183
  br label %190

190:                                              ; preds = %189, %162
  br label %191

191:                                              ; preds = %190, %137
  br label %192

192:                                              ; preds = %191, %114
  store i32 0, ptr %10, align 4
  br label %193

193:                                              ; preds = %192, %92, %82
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  %194 = load i32, ptr %10, align 4
  switch i32 %194, label %223 [
    i32 0, label %195
    i32 4, label %196
  ]

195:                                              ; preds = %193
  br label %196

196:                                              ; preds = %195, %193
  %197 = load i32, ptr %9, align 4, !tbaa !5
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %9, align 4, !tbaa !5
  br label %58, !llvm.loop !10

199:                                              ; preds = %61
  %200 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3resB5cxx11, i8 noundef signext 50)
  %201 = load i32, ptr %4, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %202
  %204 = call noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48) %203, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %205 = load i32, ptr %5, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %206
  %208 = call noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48) %207, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %209 = load i32, ptr %4, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [510 x [510 x i32]], ptr @g, i64 0, i64 %210
  %212 = load i32, ptr %5, align 4, !tbaa !5
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds [510 x i32], ptr %211, i64 0, i64 %213
  store i32 0, ptr %214, align 4, !tbaa !5
  %215 = load i8, ptr %6, align 1, !tbaa !9
  %216 = sext i8 %215 to i32
  %217 = icmp ne i32 %216, 88
  br i1 %217, label %218, label %222

218:                                              ; preds = %199
  %219 = load i8, ptr %6, align 1, !tbaa !9
  %220 = call noundef signext i8 @_Z3oppc(i8 noundef signext %219)
  %221 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3resB5cxx11, i8 noundef signext %220)
  br label %222

222:                                              ; preds = %218, %199
  ret void

223:                                              ; preds = %193
  unreachable
}

; 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 { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt3setIiSt4lessIiESaIiEE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

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 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"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"

%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_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 }
%"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] }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_const_iterator" }

@g = external dso_local local_unnamed_addr global [510 x [510 x i32]], align 16
@v = external dso_local local_unnamed_addr global [510 x [510 x i32]], align 16
@r = external dso_local global [510 x %"class.std::set"], align 16
@c = external dso_local global [510 x %"class.std::set"], align 16
@_Z3resB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@dx = external dso_local local_unnamed_addr global [4 x i32], align 16
@dy = external dso_local local_unnamed_addr global [4 x i32], align 16
@dir = external dso_local local_unnamed_addr global [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z4goodii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_Z3oppc(i8 noundef signext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsiic(i32 noundef %0, i32 noundef %1, i8 noundef signext %2) local_unnamed_addr #1 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %7 = alloca %"class.std::reverse_iterator", align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %9 = alloca %"class.std::reverse_iterator", align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  %.not = icmp eq i8 %2, 88
  br i1 %.not, label %12, label %10

10:                                               ; preds = %3
  %11 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3resB5cxx11, i8 noundef signext %2)
  br label %12

12:                                               ; preds = %10, %3
  %13 = sext i32 %0 to i64
  %14 = sext i32 %1 to i64
  %15 = getelementptr inbounds [510 x [510 x i32]], ptr @g, i64 0, i64 %13, i64 %14
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %.not37 = icmp eq i32 %16, 0
  br i1 %.not37, label %17, label %25

17:                                               ; preds = %12
  %18 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3resB5cxx11, i8 noundef signext 49)
  %19 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %13
  %20 = call { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %21 = load i32, ptr %5, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %22
  %24 = call { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %.pre = load i32, ptr %4, align 4, !tbaa !5
  %.pre47 = load i32, ptr %5, align 4, !tbaa !5
  %.pre48 = sext i32 %.pre to i64
  %.pre49 = sext i32 %.pre47 to i64
  br label %25

25:                                               ; preds = %17, %12
  %.pre-phi50 = phi i64 [ %.pre49, %17 ], [ %14, %12 ]
  %.pre-phi = phi i64 [ %.pre48, %17 ], [ %13, %12 ]
  %26 = getelementptr inbounds [510 x [510 x i32]], ptr @v, i64 0, i64 %.pre-phi, i64 %.pre-phi50
  store i32 1, ptr %26, align 4, !tbaa !5
  br label %42

27:                                               ; preds = %125
  %28 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3resB5cxx11, i8 noundef signext 50)
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %30
  %32 = call noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %33 = load i32, ptr %5, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %34
  %36 = call noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [510 x [510 x i32]], ptr @g, i64 0, i64 %38, i64 %40
  store i32 0, ptr %41, align 4, !tbaa !5
  br i1 %.not, label %129, label %126

42:                                               ; preds = %25, %125
  %indvars.iv = phi i64 [ 0, %25 ], [ %indvars.iv.next, %125 ]
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = getelementptr inbounds [4 x i32], ptr @dx, i64 0, i64 %indvars.iv
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = add nsw i32 %45, %43
  %47 = load i32, ptr %5, align 4, !tbaa !5
  %48 = getelementptr inbounds [4 x i32], ptr @dy, i64 0, i64 %indvars.iv
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = add nsw i32 %49, %47
  %51 = getelementptr inbounds [4 x i8], ptr @dir, i64 0, i64 %indvars.iv
  %52 = load i8, ptr %51, align 1, !tbaa !9
  %53 = call noundef zeroext i1 @_Z4goodii(i32 noundef %46, i32 noundef %50)
  br i1 %53, label %54, label %125

54:                                               ; preds = %42
  %55 = sext i32 %46 to i64
  %56 = sext i32 %50 to i64
  %57 = getelementptr inbounds [510 x [510 x i32]], ptr @v, i64 0, i64 %55, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %.not38 = icmp eq i32 %58, 0
  br i1 %.not38, label %59, label %125

59:                                               ; preds = %54
  %60 = icmp eq i8 %52, 85
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  br i1 %60, label %61, label %76

61:                                               ; preds = %59
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %63
  %65 = call noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %64) #3
  br i1 %65, label %.thread39, label %66

.thread39:                                        ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  br label %.thread41

66:                                               ; preds = %61
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %68
  %70 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %69) #3
  store ptr %70, ptr %6, align 8
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = load i32, ptr %4, align 4, !tbaa !5
  %74 = icmp slt i32 %72, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  br i1 %74, label %75, label %.thread

.thread:                                          ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  br label %.thread41

75:                                               ; preds = %66
  call void @_Z3dfsiic(i32 noundef %46, i32 noundef %50, i8 noundef signext 85)
  br label %125

76:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  %77 = icmp eq i8 %52, 68
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  br i1 %77, label %78, label %92

78:                                               ; preds = %76
  %79 = load i32, ptr %5, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %80
  %82 = call noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %81) #3
  br i1 %82, label %.thread41, label %83

83:                                               ; preds = %78
  %84 = load i32, ptr %5, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [510 x %"class.std::set"], ptr @c, i64 0, i64 %85
  call void @_ZNKSt3setIiSt4lessIiESaIiEE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %86) #3
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = icmp sgt i32 %88, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br i1 %90, label %91, label %.thread40

.thread40:                                        ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  br label %.thread44

91:                                               ; preds = %83
  call void @_Z3dfsiic(i32 noundef %46, i32 noundef %50, i8 noundef signext 68)
  br label %125

.thread41:                                        ; preds = %78, %.thread, %.thread39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  br label %109

92:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  %93 = icmp eq i8 %52, 76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  br i1 %93, label %94, label %109

94:                                               ; preds = %92
  %95 = load i32, ptr %4, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %96
  %98 = call noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %97) #3
  br i1 %98, label %.thread44, label %99

99:                                               ; preds = %94
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %101
  %103 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %102) #3
  store ptr %103, ptr %8, align 8
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = load i32, ptr %5, align 4, !tbaa !5
  %107 = icmp slt i32 %105, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  br i1 %107, label %108, label %.thread42

.thread42:                                        ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  br label %.critedge6

108:                                              ; preds = %99
  call void @_Z3dfsiic(i32 noundef %46, i32 noundef %50, i8 noundef signext 76)
  br label %125

.thread44:                                        ; preds = %94, %.thread40
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  br label %.critedge6

109:                                              ; preds = %92, %.thread41
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  %110 = icmp eq i8 %52, 82
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  br i1 %110, label %111, label %.critedge6

111:                                              ; preds = %109
  %112 = load i32, ptr %4, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %113
  %115 = call noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %114) #3
  br i1 %115, label %.critedge6, label %116

116:                                              ; preds = %111
  %117 = load i32, ptr %4, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [510 x %"class.std::set"], ptr @r, i64 0, i64 %118
  call void @_ZNKSt3setIiSt4lessIiESaIiEE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %9, ptr noundef nonnull align 8 dereferenceable(48) %119) #3
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = load i32, ptr %5, align 4, !tbaa !5
  %123 = icmp sgt i32 %121, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  br i1 %123, label %124, label %125

124:                                              ; preds = %116
  call void @_Z3dfsiic(i32 noundef %46, i32 noundef %50, i8 noundef signext 82)
  br label %125

.critedge6:                                       ; preds = %.thread44, %.thread42, %109, %111
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  br label %125

125:                                              ; preds = %75, %108, %.critedge6, %124, %116, %91, %54, %42
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 4
  br i1 %exitcond.not, label %27, label %42, !llvm.loop !10

126:                                              ; preds = %27
  %127 = call noundef signext i8 @_Z3oppc(i8 noundef signext %2)
  %128 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3resB5cxx11, i8 noundef signext %127)
  br label %129

129:                                              ; preds = %126, %27
  ret void
}

; 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 #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt3setIiSt4lessIiESaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt3setIiSt4lessIiESaIiEE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass