; LLVM IR from lzyrapx/Competitive-Programming :: HDUOJ/1072.ll (Z3bfsii)

; 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"

%struct.node = type { i32, i32, i32, i32 }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<node, std::allocator<node>>::_Deque_impl" }
%"struct.std::_Deque_base<node, std::allocator<node>>::_Deque_impl" = type { %"struct.std::_Deque_base<node, std::allocator<node>>::_Deque_impl_data" }
%"struct.std::_Deque_base<node, std::allocator<node>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

@dir = external dso_local global [4 x [2 x i32]], align 16
@map = external dso_local global [10 x [10 x i32]], align 16
@vis = external dso_local global [10 x [10 x i32]], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@x2 = external dso_local global i32, align 4
@y2 = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3bfsii(i32 noundef %0, i32 noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.node, align 4
  %7 = alloca %struct.node, align 4
  %8 = alloca %"class.std::queue", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %8) #6
  call void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  %12 = load i32, ptr %3, align 4, !tbaa !5
  %13 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 0
  store i32 %12, ptr %13, align 4, !tbaa !9
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 1
  store i32 %14, ptr %15, align 4, !tbaa !11
  %16 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 2
  store i32 6, ptr %16, align 4, !tbaa !12
  invoke void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %17 unwind label %40

17:                                               ; preds = %2
  br label %18

18:                                               ; preds = %149, %17
  %19 = invoke noundef zeroext i1 @_ZNKSt5queueI4nodeSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
          to label %20 unwind label %40

20:                                               ; preds = %18
  %21 = xor i1 %19, true
  br i1 %21, label %22, label %150

22:                                               ; preds = %20
  %23 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
          to label %24 unwind label %40

24:                                               ; preds = %22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %23, i64 16, i1 false), !tbaa.struct !13
  invoke void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
          to label %25 unwind label %40

25:                                               ; preds = %24
  %26 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 0
  %27 = load i32, ptr %26, align 4, !tbaa !9
  %28 = load i32, ptr @x2, align 4, !tbaa !5
  %29 = icmp eq i32 %27, %28
  br i1 %29, label %30, label %44

30:                                               ; preds = %25
  %31 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 1
  %32 = load i32, ptr %31, align 4, !tbaa !11
  %33 = load i32, ptr @y2, align 4, !tbaa !5
  %34 = icmp eq i32 %32, %33
  br i1 %34, label %35, label %44

35:                                               ; preds = %30
  %36 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 3
  %37 = load i32, ptr %36, align 4, !tbaa !14
  %38 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %37)
          to label %39 unwind label %40

39:                                               ; preds = %35
  store i32 1, ptr %11, align 4
  br label %153

40:                                               ; preds = %150, %133, %35, %24, %22, %18, %2
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %9, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %10, align 4
  call void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %8) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %156

44:                                               ; preds = %30, %25
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %146, %44
  %46 = load i32, ptr %5, align 4, !tbaa !5
  %47 = icmp slt i32 %46, 4
  br i1 %47, label %48, label %149

48:                                               ; preds = %45
  %49 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 0
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [4 x [2 x i32]], ptr @dir, i64 0, i64 %52
  %54 = getelementptr inbounds [2 x i32], ptr %53, i64 0, i64 0
  %55 = load i32, ptr %54, align 8, !tbaa !5
  %56 = add nsw i32 %50, %55
  %57 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 0
  store i32 %56, ptr %57, align 4, !tbaa !9
  %58 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 1
  %59 = load i32, ptr %58, align 4, !tbaa !11
  %60 = load i32, ptr %5, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [4 x [2 x i32]], ptr @dir, i64 0, i64 %61
  %63 = getelementptr inbounds [2 x i32], ptr %62, i64 0, i64 1
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = add nsw i32 %59, %64
  %66 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 1
  store i32 %65, ptr %66, align 4, !tbaa !11
  %67 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 2
  %68 = load i32, ptr %67, align 4, !tbaa !12
  %69 = sub nsw i32 %68, 1
  %70 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 2
  store i32 %69, ptr %70, align 4, !tbaa !12
  %71 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 3
  %72 = load i32, ptr %71, align 4, !tbaa !14
  %73 = add nsw i32 %72, 1
  %74 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 3
  store i32 %73, ptr %74, align 4, !tbaa !14
  %75 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 0
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = icmp sge i32 %76, 0
  br i1 %77, label %78, label %145

78:                                               ; preds = %48
  %79 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 1
  %80 = load i32, ptr %79, align 4, !tbaa !11
  %81 = icmp sge i32 %80, 0
  br i1 %81, label %82, label %145

82:                                               ; preds = %78
  %83 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 0
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = load i32, ptr @n, align 4, !tbaa !5
  %86 = icmp slt i32 %84, %85
  br i1 %86, label %87, label %145

87:                                               ; preds = %82
  %88 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 1
  %89 = load i32, ptr %88, align 4, !tbaa !11
  %90 = load i32, ptr @m, align 4, !tbaa !5
  %91 = icmp slt i32 %89, %90
  br i1 %91, label %92, label %145

92:                                               ; preds = %87
  %93 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 0
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [10 x [10 x i32]], ptr @map, i64 0, i64 %95
  %97 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 1
  %98 = load i32, ptr %97, align 4, !tbaa !11
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [10 x i32], ptr %96, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %145

103:                                              ; preds = %92
  %104 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 2
  %105 = load i32, ptr %104, align 4, !tbaa !12
  %106 = icmp sgt i32 %105, 0
  br i1 %106, label %107, label %145

107:                                              ; preds = %103
  %108 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 0
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [10 x [10 x i32]], ptr @vis, i64 0, i64 %110
  %112 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 1
  %113 = load i32, ptr %112, align 4, !tbaa !11
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [10 x i32], ptr %111, i64 0, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !5
  %117 = getelementptr inbounds %struct.node, ptr %6, i32 0, i32 2
  %118 = load i32, ptr %117, align 4, !tbaa !12
  %119 = icmp slt i32 %116, %118
  br i1 %119, label %120, label %145

120:                                              ; preds = %107
  %121 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 0
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [10 x [10 x i32]], ptr @map, i64 0, i64 %123
  %125 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 1
  %126 = load i32, ptr %125, align 4, !tbaa !11
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [10 x i32], ptr %124, i64 0, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = icmp eq i32 %129, 4
  br i1 %130, label %131, label %133

131:                                              ; preds = %120
  %132 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 2
  store i32 6, ptr %132, align 4, !tbaa !12
  br label %133

133:                                              ; preds = %131, %120
  %134 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 2
  %135 = load i32, ptr %134, align 4, !tbaa !12
  %136 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 0
  %137 = load i32, ptr %136, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [10 x [10 x i32]], ptr @vis, i64 0, i64 %138
  %140 = getelementptr inbounds %struct.node, ptr %7, i32 0, i32 1
  %141 = load i32, ptr %140, align 4, !tbaa !11
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [10 x i32], ptr %139, i64 0, i64 %142
  store i32 %135, ptr %143, align 4, !tbaa !5
  invoke void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %144 unwind label %40

144:                                              ; preds = %133
  br label %145

145:                                              ; preds = %144, %107, %103, %92, %87, %82, %78, %48
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %5, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %5, align 4, !tbaa !5
  br label %45, !llvm.loop !15

149:                                              ; preds = %45
  br label %18, !llvm.loop !17

150:                                              ; preds = %20
  %151 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1)
          to label %152 unwind label %40

152:                                              ; preds = %150
  store i32 0, ptr %11, align 4
  br label %153

153:                                              ; preds = %152, %39
  call void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %8) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  %154 = load i32, ptr %11, align 4
  switch i32 %154, label %161 [
    i32 0, label %155
    i32 1, label %155
  ]

155:                                              ; preds = %153, %153
  ret void

156:                                              ; preds = %40
  %157 = load ptr, ptr %9, align 8
  %158 = load i32, ptr %10, align 4
  %159 = insertvalue { ptr, i32 } poison, ptr %157, 0
  %160 = insertvalue { ptr, i32 } %159, i32 %158, 1
  resume { ptr, i32 } %160

161:                                              ; preds = %153
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 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) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 align 2

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

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


; 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"

%struct.node = type { i32, i32, i32, i32 }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<node, std::allocator<node>>::_Deque_impl" }
%"struct.std::_Deque_base<node, std::allocator<node>>::_Deque_impl" = type { %"struct.std::_Deque_base<node, std::allocator<node>>::_Deque_impl_data" }
%"struct.std::_Deque_base<node, std::allocator<node>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

@dir = external dso_local local_unnamed_addr global [4 x [2 x i32]], align 16
@map = external dso_local local_unnamed_addr global [10 x [10 x i32]], align 16
@vis = external dso_local local_unnamed_addr global [10 x [10 x i32]], align 16
@n = external dso_local local_unnamed_addr global i32, align 4
@m = external dso_local local_unnamed_addr global i32, align 4
@x2 = external dso_local local_unnamed_addr global i32, align 4
@y2 = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3bfsii(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.node, align 4
  %4 = alloca %struct.node, align 4
  %5 = alloca %"class.std::queue", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #6
  call void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
  store i32 %0, ptr %3, align 4, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 %1, ptr %6, align 4, !tbaa !10
  %7 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 6, ptr %7, align 4, !tbaa !11
  invoke void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 4 dereferenceable(16) %3)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %2
  %8 = call noundef zeroext i1 @_ZNKSt5queueI4nodeSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
  br i1 %8, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %9 = getelementptr inbounds i8, ptr %4, i64 4
  %10 = getelementptr inbounds i8, ptr %4, i64 8
  %11 = getelementptr inbounds i8, ptr %3, i64 12
  %12 = getelementptr inbounds i8, ptr %4, i64 12
  br label %13

13:                                               ; preds = %.lr.ph, %.loopexit
  %14 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !12
  call void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
  %15 = load i32, ptr %3, align 4, !tbaa !5
  %16 = load i32, ptr @x2, align 4, !tbaa !13
  %17 = icmp eq i32 %15, %16
  %.pre = load i32, ptr %6, align 4, !tbaa !10
  %18 = load i32, ptr @y2, align 4
  %19 = icmp eq i32 %.pre, %18
  %or.cond55 = select i1 %17, i1 %19, i1 false
  br i1 %or.cond55, label %20, label %24

20:                                               ; preds = %13
  %21 = load i32, ptr %11, align 4, !tbaa !14
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %21)
  br label %147

.loopexit19:                                      ; preds = %143, %113, %83, %53
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %23

.loopexit.split-lp:                               ; preds = %2
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %23

23:                                               ; preds = %.loopexit.split-lp, %.loopexit19
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit19 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  resume { ptr, i32 } %lpad.phi

24:                                               ; preds = %13
  %25 = load i32, ptr @dir, align 16, !tbaa !13
  %26 = add nsw i32 %25, %15
  store i32 %26, ptr %4, align 4, !tbaa !5
  %27 = load i32, ptr getelementptr inbounds (i8, ptr @dir, i64 4), align 4, !tbaa !13
  %28 = add nsw i32 %27, %.pre
  store i32 %28, ptr %9, align 4, !tbaa !10
  %29 = load i32, ptr %7, align 4, !tbaa !11
  %30 = add nsw i32 %29, -1
  store i32 %30, ptr %10, align 4, !tbaa !11
  %31 = load i32, ptr %11, align 4, !tbaa !14
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %12, align 4, !tbaa !14
  %33 = icmp sgt i32 %26, -1
  %34 = icmp sgt i32 %28, -1
  %or.cond = select i1 %33, i1 %34, i1 false
  %35 = load i32, ptr @n, align 4
  %36 = icmp slt i32 %26, %35
  %or.cond16 = select i1 %or.cond, i1 %36, i1 false
  %37 = load i32, ptr @m, align 4
  %38 = icmp slt i32 %28, %37
  %or.cond18 = select i1 %or.cond16, i1 %38, i1 false
  br i1 %or.cond18, label %39, label %55

39:                                               ; preds = %24
  %40 = zext nneg i32 %26 to i64
  %41 = zext nneg i32 %28 to i64
  %42 = getelementptr inbounds [10 x [10 x i32]], ptr @map, i64 0, i64 %40, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !13
  %44 = icmp ne i32 %43, 0
  %45 = icmp sgt i32 %29, 1
  %or.cond5 = select i1 %44, i1 %45, i1 false
  br i1 %or.cond5, label %46, label %55

46:                                               ; preds = %39
  %47 = getelementptr inbounds [10 x [10 x i32]], ptr @vis, i64 0, i64 %40, i64 %41
  %48 = load i32, ptr %47, align 4, !tbaa !13
  %49 = icmp slt i32 %48, %29
  br i1 %49, label %50, label %55

50:                                               ; preds = %46
  %51 = icmp eq i32 %43, 4
  br i1 %51, label %52, label %53

52:                                               ; preds = %50
  store i32 6, ptr %10, align 4, !tbaa !11
  br label %53

53:                                               ; preds = %52, %50
  %54 = phi i32 [ 6, %52 ], [ %30, %50 ]
  store i32 %54, ptr %47, align 4, !tbaa !13
  invoke void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 4 dereferenceable(16) %4)
          to label %._crit_edge22 unwind label %.loopexit19

._crit_edge22:                                    ; preds = %53
  %.pre23 = load i32, ptr %3, align 4, !tbaa !5
  %.pre24 = load i32, ptr %6, align 4, !tbaa !10
  %.pre25 = load i32, ptr %7, align 4, !tbaa !11
  %.pre26 = load i32, ptr %11, align 4, !tbaa !14
  %.pre27 = load i32, ptr @n, align 4
  %.pre28 = load i32, ptr @m, align 4
  %.pre43 = add nsw i32 %.pre25, -1
  %.pre44 = add nsw i32 %.pre26, 1
  br label %55

55:                                               ; preds = %._crit_edge22, %24, %39, %46
  %.pre-phi45 = phi i32 [ %.pre44, %._crit_edge22 ], [ %32, %24 ], [ %32, %39 ], [ %32, %46 ]
  %.pre-phi = phi i32 [ %.pre43, %._crit_edge22 ], [ %30, %24 ], [ %30, %39 ], [ %30, %46 ]
  %56 = phi i32 [ %.pre28, %._crit_edge22 ], [ %37, %24 ], [ %37, %39 ], [ %37, %46 ]
  %57 = phi i32 [ %.pre27, %._crit_edge22 ], [ %35, %24 ], [ %35, %39 ], [ %35, %46 ]
  %58 = phi i32 [ %.pre25, %._crit_edge22 ], [ %29, %24 ], [ %29, %39 ], [ %29, %46 ]
  %59 = phi i32 [ %.pre24, %._crit_edge22 ], [ %.pre, %24 ], [ %.pre, %39 ], [ %.pre, %46 ]
  %60 = phi i32 [ %.pre23, %._crit_edge22 ], [ %15, %24 ], [ %15, %39 ], [ %15, %46 ]
  %61 = load i32, ptr getelementptr inbounds (i8, ptr @dir, i64 8), align 8, !tbaa !13
  %62 = add nsw i32 %61, %60
  store i32 %62, ptr %4, align 4, !tbaa !5
  %63 = load i32, ptr getelementptr inbounds (i8, ptr @dir, i64 12), align 4, !tbaa !13
  %64 = add nsw i32 %63, %59
  store i32 %64, ptr %9, align 4, !tbaa !10
  store i32 %.pre-phi, ptr %10, align 4, !tbaa !11
  store i32 %.pre-phi45, ptr %12, align 4, !tbaa !14
  %65 = icmp sgt i32 %62, -1
  %66 = icmp sgt i32 %64, -1
  %or.cond.1 = select i1 %65, i1 %66, i1 false
  %67 = icmp slt i32 %62, %57
  %or.cond16.1 = select i1 %or.cond.1, i1 %67, i1 false
  %68 = icmp slt i32 %64, %56
  %or.cond18.1 = select i1 %or.cond16.1, i1 %68, i1 false
  br i1 %or.cond18.1, label %69, label %85

69:                                               ; preds = %55
  %70 = zext nneg i32 %62 to i64
  %71 = zext nneg i32 %64 to i64
  %72 = getelementptr inbounds [10 x [10 x i32]], ptr @map, i64 0, i64 %70, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !13
  %74 = icmp ne i32 %73, 0
  %75 = icmp sgt i32 %58, 1
  %or.cond5.1 = select i1 %74, i1 %75, i1 false
  br i1 %or.cond5.1, label %76, label %85

76:                                               ; preds = %69
  %77 = getelementptr inbounds [10 x [10 x i32]], ptr @vis, i64 0, i64 %70, i64 %71
  %78 = load i32, ptr %77, align 4, !tbaa !13
  %79 = icmp slt i32 %78, %58
  br i1 %79, label %80, label %85

80:                                               ; preds = %76
  %81 = icmp eq i32 %73, 4
  br i1 %81, label %82, label %83

82:                                               ; preds = %80
  store i32 6, ptr %10, align 4, !tbaa !11
  br label %83

83:                                               ; preds = %82, %80
  %84 = phi i32 [ 6, %82 ], [ %.pre-phi, %80 ]
  store i32 %84, ptr %77, align 4, !tbaa !13
  invoke void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 4 dereferenceable(16) %4)
          to label %._crit_edge29 unwind label %.loopexit19

._crit_edge29:                                    ; preds = %83
  %.pre30 = load i32, ptr %3, align 4, !tbaa !5
  %.pre31 = load i32, ptr %6, align 4, !tbaa !10
  %.pre32 = load i32, ptr %7, align 4, !tbaa !11
  %.pre33 = load i32, ptr %11, align 4, !tbaa !14
  %.pre34 = load i32, ptr @n, align 4
  %.pre35 = load i32, ptr @m, align 4
  %.pre46 = add nsw i32 %.pre32, -1
  %.pre48 = add nsw i32 %.pre33, 1
  br label %85

85:                                               ; preds = %._crit_edge29, %76, %69, %55
  %.pre-phi49 = phi i32 [ %.pre48, %._crit_edge29 ], [ %.pre-phi45, %76 ], [ %.pre-phi45, %69 ], [ %.pre-phi45, %55 ]
  %.pre-phi47 = phi i32 [ %.pre46, %._crit_edge29 ], [ %.pre-phi, %76 ], [ %.pre-phi, %69 ], [ %.pre-phi, %55 ]
  %86 = phi i32 [ %.pre35, %._crit_edge29 ], [ %56, %76 ], [ %56, %69 ], [ %56, %55 ]
  %87 = phi i32 [ %.pre34, %._crit_edge29 ], [ %57, %76 ], [ %57, %69 ], [ %57, %55 ]
  %88 = phi i32 [ %.pre32, %._crit_edge29 ], [ %58, %76 ], [ %58, %69 ], [ %58, %55 ]
  %89 = phi i32 [ %.pre31, %._crit_edge29 ], [ %59, %76 ], [ %59, %69 ], [ %59, %55 ]
  %90 = phi i32 [ %.pre30, %._crit_edge29 ], [ %60, %76 ], [ %60, %69 ], [ %60, %55 ]
  %91 = load i32, ptr getelementptr inbounds (i8, ptr @dir, i64 16), align 16, !tbaa !13
  %92 = add nsw i32 %91, %90
  store i32 %92, ptr %4, align 4, !tbaa !5
  %93 = load i32, ptr getelementptr inbounds (i8, ptr @dir, i64 20), align 4, !tbaa !13
  %94 = add nsw i32 %93, %89
  store i32 %94, ptr %9, align 4, !tbaa !10
  store i32 %.pre-phi47, ptr %10, align 4, !tbaa !11
  store i32 %.pre-phi49, ptr %12, align 4, !tbaa !14
  %95 = icmp sgt i32 %92, -1
  %96 = icmp sgt i32 %94, -1
  %or.cond.2 = select i1 %95, i1 %96, i1 false
  %97 = icmp slt i32 %92, %87
  %or.cond16.2 = select i1 %or.cond.2, i1 %97, i1 false
  %98 = icmp slt i32 %94, %86
  %or.cond18.2 = select i1 %or.cond16.2, i1 %98, i1 false
  br i1 %or.cond18.2, label %99, label %115

99:                                               ; preds = %85
  %100 = zext nneg i32 %92 to i64
  %101 = zext nneg i32 %94 to i64
  %102 = getelementptr inbounds [10 x [10 x i32]], ptr @map, i64 0, i64 %100, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !13
  %104 = icmp ne i32 %103, 0
  %105 = icmp sgt i32 %88, 1
  %or.cond5.2 = select i1 %104, i1 %105, i1 false
  br i1 %or.cond5.2, label %106, label %115

106:                                              ; preds = %99
  %107 = getelementptr inbounds [10 x [10 x i32]], ptr @vis, i64 0, i64 %100, i64 %101
  %108 = load i32, ptr %107, align 4, !tbaa !13
  %109 = icmp slt i32 %108, %88
  br i1 %109, label %110, label %115

110:                                              ; preds = %106
  %111 = icmp eq i32 %103, 4
  br i1 %111, label %112, label %113

112:                                              ; preds = %110
  store i32 6, ptr %10, align 4, !tbaa !11
  br label %113

113:                                              ; preds = %112, %110
  %114 = phi i32 [ 6, %112 ], [ %.pre-phi47, %110 ]
  store i32 %114, ptr %107, align 4, !tbaa !13
  invoke void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 4 dereferenceable(16) %4)
          to label %._crit_edge36 unwind label %.loopexit19

._crit_edge36:                                    ; preds = %113
  %.pre37 = load i32, ptr %3, align 4, !tbaa !5
  %.pre38 = load i32, ptr %6, align 4, !tbaa !10
  %.pre39 = load i32, ptr %7, align 4, !tbaa !11
  %.pre40 = load i32, ptr %11, align 4, !tbaa !14
  %.pre41 = load i32, ptr @n, align 4
  %.pre42 = load i32, ptr @m, align 4
  %.pre50 = add nsw i32 %.pre39, -1
  %.pre52 = add nsw i32 %.pre40, 1
  br label %115

115:                                              ; preds = %._crit_edge36, %106, %99, %85
  %.pre-phi53 = phi i32 [ %.pre52, %._crit_edge36 ], [ %.pre-phi49, %106 ], [ %.pre-phi49, %99 ], [ %.pre-phi49, %85 ]
  %.pre-phi51 = phi i32 [ %.pre50, %._crit_edge36 ], [ %.pre-phi47, %106 ], [ %.pre-phi47, %99 ], [ %.pre-phi47, %85 ]
  %116 = phi i32 [ %.pre42, %._crit_edge36 ], [ %86, %106 ], [ %86, %99 ], [ %86, %85 ]
  %117 = phi i32 [ %.pre41, %._crit_edge36 ], [ %87, %106 ], [ %87, %99 ], [ %87, %85 ]
  %118 = phi i32 [ %.pre39, %._crit_edge36 ], [ %88, %106 ], [ %88, %99 ], [ %88, %85 ]
  %119 = phi i32 [ %.pre38, %._crit_edge36 ], [ %89, %106 ], [ %89, %99 ], [ %89, %85 ]
  %120 = phi i32 [ %.pre37, %._crit_edge36 ], [ %90, %106 ], [ %90, %99 ], [ %90, %85 ]
  %121 = load i32, ptr getelementptr inbounds (i8, ptr @dir, i64 24), align 8, !tbaa !13
  %122 = add nsw i32 %121, %120
  store i32 %122, ptr %4, align 4, !tbaa !5
  %123 = load i32, ptr getelementptr inbounds (i8, ptr @dir, i64 28), align 4, !tbaa !13
  %124 = add nsw i32 %123, %119
  store i32 %124, ptr %9, align 4, !tbaa !10
  store i32 %.pre-phi51, ptr %10, align 4, !tbaa !11
  store i32 %.pre-phi53, ptr %12, align 4, !tbaa !14
  %125 = icmp sgt i32 %122, -1
  %126 = icmp sgt i32 %124, -1
  %or.cond.3 = select i1 %125, i1 %126, i1 false
  %127 = icmp slt i32 %122, %117
  %or.cond16.3 = select i1 %or.cond.3, i1 %127, i1 false
  %128 = icmp slt i32 %124, %116
  %or.cond18.3 = select i1 %or.cond16.3, i1 %128, i1 false
  br i1 %or.cond18.3, label %129, label %.loopexit

129:                                              ; preds = %115
  %130 = zext nneg i32 %122 to i64
  %131 = zext nneg i32 %124 to i64
  %132 = getelementptr inbounds [10 x [10 x i32]], ptr @map, i64 0, i64 %130, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !13
  %134 = icmp ne i32 %133, 0
  %135 = icmp sgt i32 %118, 1
  %or.cond5.3 = select i1 %134, i1 %135, i1 false
  br i1 %or.cond5.3, label %136, label %.loopexit

136:                                              ; preds = %129
  %137 = getelementptr inbounds [10 x [10 x i32]], ptr @vis, i64 0, i64 %130, i64 %131
  %138 = load i32, ptr %137, align 4, !tbaa !13
  %139 = icmp slt i32 %138, %118
  br i1 %139, label %140, label %.loopexit

140:                                              ; preds = %136
  %141 = icmp eq i32 %133, 4
  br i1 %141, label %142, label %143

142:                                              ; preds = %140
  store i32 6, ptr %10, align 4, !tbaa !11
  br label %143

143:                                              ; preds = %142, %140
  %144 = phi i32 [ 6, %142 ], [ %.pre-phi51, %140 ]
  store i32 %144, ptr %137, align 4, !tbaa !13
  invoke void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 4 dereferenceable(16) %4)
          to label %.loopexit unwind label %.loopexit19

.loopexit:                                        ; preds = %143, %136, %129, %115
  %145 = call noundef zeroext i1 @_ZNKSt5queueI4nodeSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
  br i1 %145, label %._crit_edge, label %13, !llvm.loop !15

._crit_edge:                                      ; preds = %.loopexit, %.preheader
  %146 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %147

147:                                              ; preds = %._crit_edge, %20
  call void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  ret void
}

; 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 uwtable
declare dso_local void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueI4nodeSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 align 2

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

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


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