; LLVM IR from ravireddy07/cpp-book :: src/Code-Chef (LIFE)

; 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::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { 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] }

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %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 ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  br label %18

18:                                               ; preds = %266, %0
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %20 = add nsw i32 %19, -1
  store i32 %20, ptr %2, align 4, !tbaa !5
  %21 = icmp ne i32 %19, 0
  br i1 %21, label %22, label %272

22:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %23 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %24 unwind label %40

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %25 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  store i64 %25, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %26 = load i64, ptr %6, align 8, !tbaa !9
  %27 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %26) #7
          to label %28 unwind label %44

28:                                               ; preds = %24
  store ptr %27, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %29 = load i64, ptr %6, align 8, !tbaa !9
  %30 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %29) #7
          to label %31 unwind label %48

31:                                               ; preds = %28
  store ptr %30, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %32 = load i64, ptr %6, align 8, !tbaa !9
  %33 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %32) #7
          to label %34 unwind label %52

34:                                               ; preds = %31
  store ptr %33, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %68, %34
  %36 = load i64, ptr %10, align 8, !tbaa !9
  %37 = load i64, ptr %6, align 8, !tbaa !9
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %56, label %39

39:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %75

40:                                               ; preds = %22
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %4, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %5, align 4
  br label %271

44:                                               ; preds = %24
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %4, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %5, align 4
  br label %270

48:                                               ; preds = %28
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %4, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %5, align 4
  br label %269

52:                                               ; preds = %31
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %4, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %5, align 4
  br label %268

56:                                               ; preds = %35
  %57 = load i64, ptr %10, align 8, !tbaa !9
  %58 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %57)
          to label %59 unwind label %71

59:                                               ; preds = %56
  %60 = load i8, ptr %58, align 1, !tbaa !13
  %61 = sext i8 %60 to i32
  %62 = sub nsw i32 %61, 48
  %63 = icmp ne i32 %62, 0
  %64 = load ptr, ptr %7, align 8, !tbaa !11
  %65 = load i64, ptr %10, align 8, !tbaa !9
  %66 = getelementptr inbounds i8, ptr %64, i64 %65
  %67 = zext i1 %63 to i8
  store i8 %67, ptr %66, align 1, !tbaa !14
  br label %68

68:                                               ; preds = %59
  %69 = load i64, ptr %10, align 8, !tbaa !9
  %70 = add i64 %69, 1
  store i64 %70, ptr %10, align 8, !tbaa !9
  br label %35, !llvm.loop !16

71:                                               ; preds = %56
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %4, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %268

75:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 0, ptr %12, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  store i8 0, ptr %13, align 1, !tbaa !14
  br label %76

76:                                               ; preds = %219, %75
  br label %77

77:                                               ; preds = %76
  %78 = load i8, ptr %12, align 1, !tbaa !14, !range !18, !noundef !19
  %79 = trunc i8 %78 to i1
  %80 = load ptr, ptr %8, align 8, !tbaa !11
  %81 = getelementptr inbounds i8, ptr %80, i64 0
  %82 = zext i1 %79 to i8
  store i8 %82, ptr %81, align 1, !tbaa !14
  %83 = load i8, ptr %13, align 1, !tbaa !14, !range !18, !noundef !19
  %84 = trunc i8 %83 to i1
  %85 = load ptr, ptr %8, align 8, !tbaa !11
  %86 = getelementptr inbounds i8, ptr %85, i64 1
  %87 = zext i1 %84 to i8
  store i8 %87, ptr %86, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 2, ptr %14, align 8, !tbaa !9
  br label %88

88:                                               ; preds = %122, %77
  %89 = load i64, ptr %14, align 8, !tbaa !9
  %90 = load i64, ptr %6, align 8, !tbaa !9
  %91 = icmp ult i64 %89, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %125

93:                                               ; preds = %88
  %94 = load ptr, ptr %8, align 8, !tbaa !11
  %95 = load i64, ptr %14, align 8, !tbaa !9
  %96 = sub i64 %95, 1
  %97 = getelementptr inbounds i8, ptr %94, i64 %96
  %98 = load i8, ptr %97, align 1, !tbaa !14, !range !18, !noundef !19
  %99 = trunc i8 %98 to i1
  %100 = zext i1 %99 to i32
  %101 = load ptr, ptr %8, align 8, !tbaa !11
  %102 = load i64, ptr %14, align 8, !tbaa !9
  %103 = sub i64 %102, 2
  %104 = getelementptr inbounds i8, ptr %101, i64 %103
  %105 = load i8, ptr %104, align 1, !tbaa !14, !range !18, !noundef !19
  %106 = trunc i8 %105 to i1
  %107 = zext i1 %106 to i32
  %108 = xor i32 %100, %107
  %109 = load ptr, ptr %7, align 8, !tbaa !11
  %110 = load i64, ptr %14, align 8, !tbaa !9
  %111 = sub i64 %110, 1
  %112 = getelementptr inbounds i8, ptr %109, i64 %111
  %113 = load i8, ptr %112, align 1, !tbaa !14, !range !18, !noundef !19
  %114 = trunc i8 %113 to i1
  %115 = zext i1 %114 to i32
  %116 = xor i32 %108, %115
  %117 = icmp ne i32 %116, 0
  %118 = load ptr, ptr %8, align 8, !tbaa !11
  %119 = load i64, ptr %14, align 8, !tbaa !9
  %120 = getelementptr inbounds i8, ptr %118, i64 %119
  %121 = zext i1 %117 to i8
  store i8 %121, ptr %120, align 1, !tbaa !14
  br label %122

122:                                              ; preds = %93
  %123 = load i64, ptr %14, align 8, !tbaa !9
  %124 = add i64 %123, 1
  store i64 %124, ptr %14, align 8, !tbaa !9
  br label %88, !llvm.loop !20

125:                                              ; preds = %92
  %126 = load i8, ptr %12, align 1, !tbaa !14, !range !18, !noundef !19
  %127 = trunc i8 %126 to i1
  %128 = zext i1 %127 to i32
  %129 = load ptr, ptr %8, align 8, !tbaa !11
  %130 = load i64, ptr %6, align 8, !tbaa !9
  %131 = sub i64 %130, 1
  %132 = getelementptr inbounds i8, ptr %129, i64 %131
  %133 = load i8, ptr %132, align 1, !tbaa !14, !range !18, !noundef !19
  %134 = trunc i8 %133 to i1
  %135 = zext i1 %134 to i32
  %136 = load ptr, ptr %8, align 8, !tbaa !11
  %137 = load i64, ptr %6, align 8, !tbaa !9
  %138 = sub i64 %137, 2
  %139 = getelementptr inbounds i8, ptr %136, i64 %138
  %140 = load i8, ptr %139, align 1, !tbaa !14, !range !18, !noundef !19
  %141 = trunc i8 %140 to i1
  %142 = zext i1 %141 to i32
  %143 = xor i32 %135, %142
  %144 = load ptr, ptr %7, align 8, !tbaa !11
  %145 = load i64, ptr %6, align 8, !tbaa !9
  %146 = sub i64 %145, 1
  %147 = getelementptr inbounds i8, ptr %144, i64 %146
  %148 = load i8, ptr %147, align 1, !tbaa !14, !range !18, !noundef !19
  %149 = trunc i8 %148 to i1
  %150 = zext i1 %149 to i32
  %151 = xor i32 %143, %150
  %152 = icmp eq i32 %128, %151
  br i1 %152, label %153, label %199

153:                                              ; preds = %125
  %154 = load i8, ptr %13, align 1, !tbaa !14, !range !18, !noundef !19
  %155 = trunc i8 %154 to i1
  %156 = zext i1 %155 to i32
  %157 = load ptr, ptr %8, align 8, !tbaa !11
  %158 = getelementptr inbounds i8, ptr %157, i64 0
  %159 = load i8, ptr %158, align 1, !tbaa !14, !range !18, !noundef !19
  %160 = trunc i8 %159 to i1
  %161 = zext i1 %160 to i32
  %162 = load ptr, ptr %8, align 8, !tbaa !11
  %163 = load i64, ptr %6, align 8, !tbaa !9
  %164 = sub i64 %163, 1
  %165 = getelementptr inbounds i8, ptr %162, i64 %164
  %166 = load i8, ptr %165, align 1, !tbaa !14, !range !18, !noundef !19
  %167 = trunc i8 %166 to i1
  %168 = zext i1 %167 to i32
  %169 = xor i32 %161, %168
  %170 = load ptr, ptr %7, align 8, !tbaa !11
  %171 = getelementptr inbounds i8, ptr %170, i64 0
  %172 = load i8, ptr %171, align 1, !tbaa !14, !range !18, !noundef !19
  %173 = trunc i8 %172 to i1
  %174 = zext i1 %173 to i32
  %175 = xor i32 %169, %174
  %176 = icmp eq i32 %156, %175
  br i1 %176, label %177, label %199

177:                                              ; preds = %153
  %178 = load i32, ptr %11, align 4, !tbaa !5
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %180

180:                                              ; preds = %195, %177
  %181 = load i64, ptr %15, align 8, !tbaa !9
  %182 = load i64, ptr %6, align 8, !tbaa !9
  %183 = icmp ult i64 %181, %182
  br i1 %183, label %185, label %184

184:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %198

185:                                              ; preds = %180
  %186 = load ptr, ptr %8, align 8, !tbaa !11
  %187 = load i64, ptr %15, align 8, !tbaa !9
  %188 = getelementptr inbounds i8, ptr %186, i64 %187
  %189 = load i8, ptr %188, align 1, !tbaa !14, !range !18, !noundef !19
  %190 = trunc i8 %189 to i1
  %191 = load ptr, ptr %9, align 8, !tbaa !11
  %192 = load i64, ptr %15, align 8, !tbaa !9
  %193 = getelementptr inbounds i8, ptr %191, i64 %192
  %194 = zext i1 %190 to i8
  store i8 %194, ptr %193, align 1, !tbaa !14
  br label %195

195:                                              ; preds = %185
  %196 = load i64, ptr %15, align 8, !tbaa !9
  %197 = add i64 %196, 1
  store i64 %197, ptr %15, align 8, !tbaa !9
  br label %180, !llvm.loop !21

198:                                              ; preds = %184
  br label %199

199:                                              ; preds = %198, %153, %125
  %200 = load i8, ptr %12, align 1, !tbaa !14, !range !18, !noundef !19
  %201 = trunc i8 %200 to i1
  %202 = zext i1 %201 to i32
  %203 = load i8, ptr %13, align 1, !tbaa !14, !range !18, !noundef !19
  %204 = trunc i8 %203 to i1
  %205 = zext i1 %204 to i32
  %206 = xor i32 %202, %205
  %207 = icmp ne i32 %206, 0
  %208 = zext i1 %207 to i8
  store i8 %208, ptr %12, align 1, !tbaa !14
  %209 = load i8, ptr %13, align 1, !tbaa !14, !range !18, !noundef !19
  %210 = trunc i8 %209 to i1
  %211 = xor i1 %210, true
  %212 = zext i1 %211 to i8
  store i8 %212, ptr %13, align 1, !tbaa !14
  %213 = load i8, ptr %12, align 1, !tbaa !14, !range !18, !noundef !19
  %214 = trunc i8 %213 to i1
  br i1 %214, label %219, label %215

215:                                              ; preds = %199
  %216 = load i8, ptr %13, align 1, !tbaa !14, !range !18, !noundef !19
  %217 = trunc i8 %216 to i1
  br i1 %217, label %219, label %218

218:                                              ; preds = %215
  br label %220

219:                                              ; preds = %215, %199
  br label %76, !llvm.loop !22

220:                                              ; preds = %218
  %221 = load i32, ptr %11, align 4, !tbaa !5
  %222 = icmp eq i32 %221, 1
  br i1 %222, label %223, label %252

223:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %224

224:                                              ; preds = %238, %223
  %225 = load i64, ptr %16, align 8, !tbaa !9
  %226 = load i64, ptr %6, align 8, !tbaa !9
  %227 = icmp ult i64 %225, %226
  br i1 %227, label %229, label %228

228:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %245

229:                                              ; preds = %224
  %230 = load ptr, ptr %9, align 8, !tbaa !11
  %231 = load i64, ptr %16, align 8, !tbaa !9
  %232 = getelementptr inbounds i8, ptr %230, i64 %231
  %233 = load i8, ptr %232, align 1, !tbaa !14, !range !18, !noundef !19
  %234 = trunc i8 %233 to i1
  %235 = zext i1 %234 to i32
  %236 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %235)
          to label %237 unwind label %241

237:                                              ; preds = %229
  br label %238

238:                                              ; preds = %237
  %239 = load i64, ptr %16, align 8, !tbaa !9
  %240 = add i64 %239, 1
  store i64 %240, ptr %16, align 8, !tbaa !9
  br label %224, !llvm.loop !23

241:                                              ; preds = %229
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %4, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %267

245:                                              ; preds = %228
  %246 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2)
          to label %247 unwind label %248

247:                                              ; preds = %245
  br label %266

248:                                              ; preds = %261, %255, %245
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %4, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %5, align 4
  br label %267

252:                                              ; preds = %220
  %253 = load i32, ptr %11, align 4, !tbaa !5
  %254 = icmp eq i32 %253, 0
  br i1 %254, label %255, label %258

255:                                              ; preds = %252
  %256 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3)
          to label %257 unwind label %248

257:                                              ; preds = %255
  br label %265

258:                                              ; preds = %252
  %259 = load i32, ptr %11, align 4, !tbaa !5
  %260 = icmp sgt i32 %259, 1
  br i1 %260, label %261, label %264

261:                                              ; preds = %258
  %262 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %263 unwind label %248

263:                                              ; preds = %261
  br label %264

264:                                              ; preds = %263, %258
  br label %265

265:                                              ; preds = %264, %257
  br label %266

266:                                              ; preds = %265, %247
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  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
  br label %18, !llvm.loop !24

267:                                              ; preds = %248, %241
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %268

268:                                              ; preds = %267, %71, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %269

269:                                              ; preds = %268, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %270

270:                                              ; preds = %269, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %271

271:                                              ; preds = %270, %40
  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 4, ptr %2) #6
  br label %273

272:                                              ; preds = %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  ret i32 0

273:                                              ; preds = %271
  %274 = load ptr, ptr %4, align 8
  %275 = load i32, ptr %5, align 4
  %276 = insertvalue { ptr, i32 } poison, ptr %274, 0
  %277 = insertvalue { ptr, i32 } %276, i32 %275, 1
  resume { ptr, i32 } %277
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #4

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

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

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

declare i32 @printf(ptr noundef, ...) #2

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

attributes #0 = { mustprogress norecurse 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nobuiltin allocsize(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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }

!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 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = distinct !{!24, !17}


; 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::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { 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] }

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  %3 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %4 = load i32, ptr %1, align 4, !tbaa !5
  %5 = add nsw i32 %4, -1
  store i32 %5, ptr %1, align 4, !tbaa !5
  %.not84 = icmp eq i32 %4, 0
  br i1 %.not84, label %._crit_edge87, label %.lr.ph86

.lr.ph86:                                         ; preds = %0, %89
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %6 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %7 unwind label %25

7:                                                ; preds = %.lr.ph86
  %8 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %9 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %8) #8
          to label %10 unwind label %27

10:                                               ; preds = %7
  %11 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %8) #8
          to label %12 unwind label %29

12:                                               ; preds = %10
  %13 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %8) #8
          to label %.preheader74 unwind label %31

.preheader74:                                     ; preds = %12
  %.not88 = icmp eq i64 %8, 0
  br i1 %.not88, label %.preheader73, label %.lr.ph

.preheader73:                                     ; preds = %.lr.ph, %.preheader74
  %14 = getelementptr inbounds i8, ptr %11, i64 1
  %15 = icmp ugt i64 %8, 2
  %16 = add i64 %8, -1
  %17 = getelementptr inbounds i8, ptr %11, i64 %16
  %18 = getelementptr i8, ptr %11, i64 %8
  %19 = getelementptr i8, ptr %18, i64 -2
  %20 = getelementptr inbounds i8, ptr %9, i64 %16
  %21 = load i8, ptr %20, align 1, !tbaa !9, !range !11, !noundef !12
  %invariant.gep = getelementptr i8, ptr %9, i64 -1
  %xtraiter = and i64 %8, 1
  %22 = icmp eq i64 %8, 3
  %23 = and i64 %8, -2
  %24 = add i64 %23, -4
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %39

25:                                               ; preds = %.lr.ph86
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %92

27:                                               ; preds = %7
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %92

29:                                               ; preds = %10
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %92

31:                                               ; preds = %12
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %92

.lr.ph:                                           ; preds = %.preheader74, %.lr.ph
  %.06375 = phi i64 [ %38, %.lr.ph ], [ 0, %.preheader74 ]
  %33 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.06375)
  %34 = load i8, ptr %33, align 1, !tbaa !13
  %35 = icmp ne i8 %34, 48
  %36 = getelementptr inbounds i8, ptr %9, i64 %.06375
  %37 = zext i1 %35 to i8
  store i8 %37, ptr %36, align 1, !tbaa !9
  %38 = add nuw i64 %.06375, 1
  %exitcond.not = icmp eq i64 %38, %8
  br i1 %exitcond.not, label %.preheader73, label %.lr.ph, !llvm.loop !14

39:                                               ; preds = %.preheader73, %.loopexit
  %.062 = phi i32 [ %.1, %.loopexit ], [ 0, %.preheader73 ]
  %.061 = phi i1 [ %78, %.loopexit ], [ false, %.preheader73 ]
  %.060 = phi i1 [ %79, %.loopexit ], [ false, %.preheader73 ]
  %40 = zext i1 %.061 to i8
  store i8 %40, ptr %11, align 1, !tbaa !9
  %41 = zext i1 %.060 to i8
  store i8 %41, ptr %14, align 1, !tbaa !9
  br i1 %15, label %.lr.ph77.preheader, label %._crit_edge

.lr.ph77.preheader:                               ; preds = %39
  br i1 %22, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph77

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph77, %.lr.ph77.preheader
  %.unr = phi i8 [ %41, %.lr.ph77.preheader ], [ %69, %.lr.ph77 ]
  %.05976.unr = phi i64 [ 2, %.lr.ph77.preheader ], [ %70, %.lr.ph77 ]
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph77.epil

.lr.ph77.epil:                                    ; preds = %._crit_edge.loopexit.unr-lcssa
  %42 = getelementptr i8, ptr %11, i64 %.05976.unr
  %43 = getelementptr i8, ptr %42, i64 -2
  %44 = load i8, ptr %43, align 1, !tbaa !9, !range !11, !noundef !12
  %45 = xor i8 %44, %.unr
  %gep.epil = getelementptr i8, ptr %invariant.gep, i64 %.05976.unr
  %46 = load i8, ptr %gep.epil, align 1, !tbaa !9, !range !11, !noundef !12
  %47 = icmp ne i8 %45, %46
  %48 = zext i1 %47 to i8
  store i8 %48, ptr %42, align 1, !tbaa !9
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph77.epil, %._crit_edge.loopexit.unr-lcssa, %39
  %49 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %50 = load i8, ptr %19, align 1, !tbaa !9, !range !11, !noundef !12
  %51 = xor i8 %50, %21
  %52 = xor i8 %51, %49
  %53 = icmp eq i8 %52, %40
  br i1 %53, label %71, label %.loopexit

.lr.ph77:                                         ; preds = %.lr.ph77.preheader, %.lr.ph77
  %54 = phi i8 [ %69, %.lr.ph77 ], [ %41, %.lr.ph77.preheader ]
  %.05976 = phi i64 [ %70, %.lr.ph77 ], [ 2, %.lr.ph77.preheader ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph77 ], [ 0, %.lr.ph77.preheader ]
  %55 = getelementptr i8, ptr %11, i64 %.05976
  %56 = getelementptr i8, ptr %55, i64 -2
  %57 = load i8, ptr %56, align 1, !tbaa !9, !range !11, !noundef !12
  %58 = xor i8 %57, %54
  %gep = getelementptr i8, ptr %invariant.gep, i64 %.05976
  %59 = load i8, ptr %gep, align 1, !tbaa !9, !range !11, !noundef !12
  %60 = icmp ne i8 %58, %59
  %61 = zext i1 %60 to i8
  store i8 %61, ptr %55, align 1, !tbaa !9
  %62 = or disjoint i64 %.05976, 1
  %63 = getelementptr i8, ptr %11, i64 %62
  %64 = getelementptr i8, ptr %63, i64 -2
  %65 = load i8, ptr %64, align 1, !tbaa !9, !range !11, !noundef !12
  %66 = xor i8 %65, %61
  %gep.1 = getelementptr i8, ptr %9, i64 %.05976
  %67 = load i8, ptr %gep.1, align 1, !tbaa !9, !range !11, !noundef !12
  %68 = icmp ne i8 %66, %67
  %69 = zext i1 %68 to i8
  store i8 %69, ptr %63, align 1, !tbaa !9
  %70 = add nuw i64 %.05976, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter, %24
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph77, !llvm.loop !16

71:                                               ; preds = %._crit_edge
  %72 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %73 = xor i8 %72, %40
  %74 = xor i8 %73, %49
  %75 = icmp eq i8 %74, %41
  br i1 %75, label %76, label %.loopexit

76:                                               ; preds = %71
  %77 = add nsw i32 %.062, 1
  br i1 %.not88, label %.loopexit, label %.lr.ph80.preheader

.lr.ph80.preheader:                               ; preds = %76
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %13, ptr nonnull align 1 %11, i64 %8, i1 false), !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph80.preheader, %76, %71, %._crit_edge
  %.1 = phi i32 [ %.062, %71 ], [ %.062, %._crit_edge ], [ %77, %76 ], [ %77, %.lr.ph80.preheader ]
  %78 = xor i1 %.061, %.060
  %79 = xor i1 %.060, true
  %brmerge = or i1 %78, %79
  br i1 %brmerge, label %39, label %80, !llvm.loop !17

80:                                               ; preds = %.loopexit
  switch i32 %.1, label %86 [
    i32 1, label %.preheader
    i32 0, label %.sink.split
  ]

.preheader:                                       ; preds = %80
  br i1 %.not88, label %.sink.split, label %.lr.ph82

.lr.ph82:                                         ; preds = %.preheader, %.lr.ph82
  %.081 = phi i64 [ %85, %.lr.ph82 ], [ 0, %.preheader ]
  %81 = getelementptr inbounds i8, ptr %13, i64 %.081
  %82 = load i8, ptr %81, align 1, !tbaa !9, !range !11, !noundef !12
  %83 = zext nneg i8 %82 to i32
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %83)
  %85 = add nuw i64 %.081, 1
  %exitcond92.not = icmp eq i64 %85, %8
  br i1 %exitcond92.not, label %.sink.split, label %.lr.ph82, !llvm.loop !18

86:                                               ; preds = %80
  %87 = icmp sgt i32 %.1, 1
  br i1 %87, label %.sink.split, label %89

.sink.split:                                      ; preds = %.lr.ph82, %86, %80, %.preheader
  %.str.3.sink = phi ptr [ @.str.2, %.preheader ], [ @.str.3, %80 ], [ @.str.4, %86 ], [ @.str.2, %.lr.ph82 ]
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink)
  br label %89

89:                                               ; preds = %.sink.split, %86
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #7
  %90 = load i32, ptr %1, align 4, !tbaa !5
  %91 = add nsw i32 %90, -1
  store i32 %91, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %90, 0
  br i1 %.not, label %._crit_edge87, label %.lr.ph86, !llvm.loop !19

92:                                               ; preds = %27, %31, %29, %25
  %.pn.pn.pn = phi { ptr, i32 } [ %26, %25 ], [ %28, %27 ], [ %32, %31 ], [ %30, %29 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn.pn

._crit_edge87:                                    ; preds = %89, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #5

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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

attributes #0 = { mustprogress norecurse 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nobuiltin allocsize(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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }

!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 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}


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