; LLVM IR from mackorone/mms :: old/v2/src/maze/tomasz (TomaszMazeGenerator)

; 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.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair.71" = type <{ i32, i8, [3 x i8] }>
%"class.tomasz::TomaszMazeGenerator" = type { %class.IMazeAlgorithm, double, double, i32, i32, %"class.std::vector.55", %"class.std::stack", i32, i32, i32, ptr }
%class.IMazeAlgorithm = type { ptr }
%"class.std::vector.55" = type { %"struct.std::_Vector_base.56" }
%"struct.std::_Vector_base.56" = type { %"struct.std::_Vector_base<std::vector<tomasz::TomaszMazeGenerator::TomMazeGenTile>, std::allocator<std::vector<tomasz::TomaszMazeGenerator::TomMazeGenTile>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<tomasz::TomaszMazeGenerator::TomMazeGenTile>, std::allocator<std::vector<tomasz::TomaszMazeGenerator::TomMazeGenTile>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<tomasz::TomaszMazeGenerator::TomMazeGenTile>, std::allocator<std::vector<tomasz::TomaszMazeGenerator::TomMazeGenTile>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<tomasz::TomaszMazeGenerator::TomMazeGenTile>, std::allocator<std::vector<tomasz::TomaszMazeGenerator::TomMazeGenTile>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<tomasz::TomaszMazeGenerator::TomMazeGenTile *, std::allocator<tomasz::TomaszMazeGenerator::TomMazeGenTile *>>::_Deque_impl" }
%"struct.std::_Deque_base<tomasz::TomaszMazeGenerator::TomMazeGenTile *, std::allocator<tomasz::TomaszMazeGenerator::TomMazeGenTile *>>::_Deque_impl" = type { %"struct.std::_Deque_base<tomasz::TomaszMazeGenerator::TomMazeGenTile *, std::allocator<tomasz::TomaszMazeGenerator::TomMazeGenTile *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<tomasz::TomaszMazeGenerator::TomMazeGenTile *, std::allocator<tomasz::TomaszMazeGenerator::TomMazeGenTile *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

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

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

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

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

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

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

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

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

declare noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6tomasz19TomaszMazeGenerator18getDirectionToMoveEfSt3mapINS_9DirectionEbSt4lessIS2_ESaISt4pairIKS2_bEEE(ptr noundef nonnull align 8 dereferenceable(160) %0, float noundef %1, ptr noundef %2) #4 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca float, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_iterator", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store float %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store ptr %2, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %18) #7
  %20 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %9, i32 0, i32 0
  store ptr %19, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  %23 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %10, i32 0, i32 0
  store ptr %22, ptr %23, align 8
  br label %24

24:                                               ; preds = %39, %3
  %25 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEES7_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %25, label %27, label %26

26:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %41

27:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %28 = call noundef nonnull align 4 dereferenceable(5) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  store ptr %28, ptr %11, align 8, !tbaa !5
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.std::pair.71", ptr %29, i32 0, i32 1
  %31 = load i8, ptr %30, align 4, !tbaa !13, !range !17, !noundef !18
  %32 = trunc i8 %31 to i1
  %33 = zext i1 %32 to i32
  %34 = icmp eq i32 %33, 1
  br i1 %34, label %35, label %38

35:                                               ; preds = %27
  %36 = load i32, ptr %7, align 4, !tbaa !11
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %7, align 4, !tbaa !11
  br label %38

38:                                               ; preds = %35, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %39

39:                                               ; preds = %38
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br label %24

41:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %42 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 9
  %43 = load i32, ptr %42, align 8, !tbaa !19
  %44 = icmp ne i32 %43, 4
  br i1 %44, label %45, label %102

45:                                               ; preds = %41
  %46 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 9
  %47 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %46)
  %48 = load i8, ptr %47, align 1, !tbaa !34, !range !17, !noundef !18
  %49 = trunc i8 %48 to i1
  %50 = zext i1 %49 to i32
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %102

52:                                               ; preds = %45
  %53 = load i32, ptr %7, align 4, !tbaa !11
  %54 = icmp ne i32 %53, 1
  br i1 %54, label %55, label %102

55:                                               ; preds = %52
  %56 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 10
  %57 = load ptr, ptr %56, align 8, !tbaa !35
  %58 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %57)
  %59 = load float, ptr %5, align 4, !tbaa !9
  %60 = fpext float %59 to double
  %61 = fcmp ole double %58, %60
  br i1 %61, label %62, label %65

62:                                               ; preds = %55
  %63 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 9
  %64 = load i32, ptr %63, align 8, !tbaa !19
  store i32 %64, ptr %12, align 4, !tbaa !36
  br label %101

65:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %66 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  %67 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %13, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  %68 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 10
  %69 = load ptr, ptr %68, align 8, !tbaa !35
  %70 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %69)
  %71 = fmul double %70, 4.000000e+00
  %72 = call double @llvm.floor.f64(double %71)
  call void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %13, double noundef %72)
  %73 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %74 = getelementptr inbounds %"struct.std::pair.71", ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 4, !tbaa !37
  store i32 %75, ptr %12, align 4, !tbaa !36
  br label %76

76:                                               ; preds = %89, %65
  %77 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %78 = load i8, ptr %77, align 1, !tbaa !34, !range !17, !noundef !18
  %79 = trunc i8 %78 to i1
  %80 = zext i1 %79 to i32
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %87, label %82

82:                                               ; preds = %76
  %83 = load i32, ptr %12, align 4, !tbaa !36
  %84 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 9
  %85 = load i32, ptr %84, align 8, !tbaa !19
  %86 = icmp eq i32 %83, %85
  br label %87

87:                                               ; preds = %82, %76
  %88 = phi i1 [ true, %76 ], [ %86, %82 ]
  br i1 %88, label %89, label %100

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %90 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  %91 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %14, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %14, i64 8, i1 false), !tbaa.struct !38
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  %92 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 10
  %93 = load ptr, ptr %92, align 8, !tbaa !35
  %94 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %93)
  %95 = fmul double %94, 4.000000e+00
  %96 = call double @llvm.floor.f64(double %95)
  call void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %13, double noundef %96)
  %97 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %98 = getelementptr inbounds %"struct.std::pair.71", ptr %97, i32 0, i32 0
  %99 = load i32, ptr %98, align 4, !tbaa !37
  store i32 %99, ptr %12, align 4, !tbaa !36
  br label %76, !llvm.loop !39

100:                                              ; preds = %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %101

101:                                              ; preds = %100, %62
  br label %131

102:                                              ; preds = %52, %45, %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %103 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  %104 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %15, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  %105 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 10
  %106 = load ptr, ptr %105, align 8, !tbaa !35
  %107 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %106)
  %108 = fmul double %107, 4.000000e+00
  %109 = call double @llvm.floor.f64(double %108)
  call void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %15, double noundef %109)
  %110 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %111 = getelementptr inbounds %"struct.std::pair.71", ptr %110, i32 0, i32 0
  %112 = load i32, ptr %111, align 4, !tbaa !37
  store i32 %112, ptr %12, align 4, !tbaa !36
  br label %113

113:                                              ; preds = %119, %102
  %114 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %115 = load i8, ptr %114, align 1, !tbaa !34, !range !17, !noundef !18
  %116 = trunc i8 %115 to i1
  %117 = zext i1 %116 to i32
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %130

119:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %120 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  %121 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %16, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %16, i64 8, i1 false), !tbaa.struct !38
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  %122 = getelementptr inbounds %"class.tomasz::TomaszMazeGenerator", ptr %17, i32 0, i32 10
  %123 = load ptr, ptr %122, align 8, !tbaa !35
  %124 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %123)
  %125 = fmul double %124, 4.000000e+00
  %126 = call double @llvm.floor.f64(double %125)
  call void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %15, double noundef %126)
  %127 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %128 = getelementptr inbounds %"struct.std::pair.71", ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 4, !tbaa !37
  store i32 %129, ptr %12, align 4, !tbaa !36
  br label %113, !llvm.loop !41

130:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %131

131:                                              ; preds = %130, %101
  %132 = load i32, ptr %12, align 4, !tbaa !36
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret i32 %132
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree 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 = { "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 = { 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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !16, i64 4}
!14 = !{!"_ZTSSt4pairIKN6tomasz9DirectionEbE", !15, i64 0, !16, i64 4}
!15 = !{!"_ZTSN6tomasz9DirectionE", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !15, i64 144}
!20 = !{!"_ZTSN6tomasz19TomaszMazeGeneratorE", !21, i64 0, !22, i64 8, !22, i64 16, !12, i64 24, !12, i64 28, !23, i64 32, !27, i64 56, !12, i64 136, !12, i64 140, !15, i64 144, !6, i64 152}
!21 = !{!"_ZTS14IMazeAlgorithm"}
!22 = !{!"double", !7, i64 0}
!23 = !{!"_ZTSSt6vectorIS_IN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS2_EESaIS4_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseISt6vectorIN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EESaIS5_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt5stackIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESt5dequeIS3_SaIS3_EEE", !28, i64 0}
!28 = !{!"_ZTSSt5dequeIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EE", !29, i64 0}
!29 = !{!"_ZTSSt11_Deque_baseIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EE", !30, i64 0}
!30 = !{!"_ZTSNSt11_Deque_baseIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EE11_Deque_implE", !31, i64 0}
!31 = !{!"_ZTSNSt11_Deque_baseIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EE16_Deque_impl_dataE", !6, i64 0, !32, i64 8, !33, i64 16, !33, i64 48}
!32 = !{!"long", !7, i64 0}
!33 = !{!"_ZTSSt15_Deque_iteratorIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileERS3_PS3_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!34 = !{!16, !16, i64 0}
!35 = !{!20, !6, i64 152}
!36 = !{!15, !15, i64 0}
!37 = !{!14, !15, i64 0}
!38 = !{i64 0, i64 8, !5}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = distinct !{!41, !40}


; 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.std::_Rb_tree_iterator" = type { ptr }

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEES7_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

declare noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6tomasz19TomaszMazeGenerator18getDirectionToMoveEfSt3mapINS_9DirectionEbSt4lessIS2_ESaISt4pairIKS2_bEEE(ptr noundef nonnull align 8 dereferenceable(160) %0, float noundef %1, ptr noundef nonnull %2) local_unnamed_addr #3 align 2 {
  %4 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %5 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %9 = tail call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %9, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %10 = tail call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %10, ptr %5, align 8
  %11 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEES7_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %11, label %.lr.ph, label %._crit_edge

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %12 = icmp ne i32 %spec.select, 1
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %3
  %.0.lcssa = phi i1 [ true, %3 ], [ %12, %._crit_edge.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %13 = getelementptr inbounds i8, ptr %0, i64 144
  %14 = load i32, ptr %13, align 8, !tbaa !5
  %.not = icmp eq i32 %14, 4
  br i1 %.not, label %48, label %21

.lr.ph:                                           ; preds = %3, %.lr.ph
  %.09 = phi i32 [ %spec.select, %.lr.ph ], [ 0, %3 ]
  %15 = call noundef nonnull align 4 dereferenceable(5) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %16 = getelementptr inbounds i8, ptr %15, i64 4
  %17 = load i8, ptr %16, align 4, !tbaa !25, !range !28, !noundef !29
  %18 = zext nneg i8 %17 to i32
  %spec.select = add nuw nsw i32 %.09, %18
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %20 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEES7_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %20, label %.lr.ph, label %._crit_edge.loopexit

21:                                               ; preds = %._crit_edge
  %22 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %23 = load i8, ptr %22, align 1, !tbaa !30, !range !28, !noundef !29
  %24 = trunc nuw i8 %23 to i1
  %or.cond = select i1 %24, i1 %.0.lcssa, i1 false
  br i1 %or.cond, label %25, label %48

25:                                               ; preds = %21
  %26 = getelementptr inbounds i8, ptr %0, i64 152
  %27 = load ptr, ptr %26, align 8, !tbaa !31
  %28 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
  %29 = fpext float %1 to double
  %30 = fcmp ugt double %28, %29
  br i1 %30, label %33, label %31

31:                                               ; preds = %25
  %32 = load i32, ptr %13, align 8, !tbaa !5
  br label %68

33:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  br label %.critedge

.critedge:                                        ; preds = %.critedge.backedge, %33
  %34 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %34, ptr %7, align 8
  %35 = load ptr, ptr %26, align 8, !tbaa !31
  %36 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
  %37 = fmul double %36, 4.000000e+00
  %38 = call double @llvm.floor.f64(double %37)
  call void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %7, double noundef %38)
  %39 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %storemerge8 = load i32, ptr %39, align 4, !tbaa !32
  store i32 %storemerge8, ptr %6, align 4, !tbaa !33
  %40 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %41 = load i8, ptr %40, align 1, !tbaa !30, !range !28, !noundef !29
  %42 = icmp eq i8 %41, 0
  br i1 %42, label %.critedge.backedge, label %43

.critedge.backedge:                               ; preds = %.critedge, %43
  br label %.critedge, !llvm.loop !34

43:                                               ; preds = %.critedge
  %44 = load i32, ptr %6, align 4, !tbaa !33
  %45 = load i32, ptr %13, align 8, !tbaa !5
  %46 = icmp eq i32 %44, %45
  br i1 %46, label %.critedge.backedge, label %47

47:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %68

48:                                               ; preds = %21, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %49 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %49, ptr %8, align 8
  %50 = getelementptr inbounds i8, ptr %0, i64 152
  %51 = load ptr, ptr %50, align 8, !tbaa !31
  %52 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %51)
  %53 = fmul double %52, 4.000000e+00
  %54 = call double @llvm.floor.f64(double %53)
  call void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %8, double noundef %54)
  %55 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %storemerge10 = load i32, ptr %55, align 4, !tbaa !32
  store i32 %storemerge10, ptr %6, align 4, !tbaa !33
  %56 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %57 = load i8, ptr %56, align 1, !tbaa !30, !range !28, !noundef !29
  %58 = icmp eq i8 %57, 0
  br i1 %58, label %.lr.ph12, label %._crit_edge13

.lr.ph12:                                         ; preds = %48, %.lr.ph12
  %59 = call ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  store ptr %59, ptr %8, align 8, !tbaa !36
  %60 = load ptr, ptr %50, align 8, !tbaa !31
  %61 = call noundef double @_ZN3sim13MazeInterface9getRandomEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
  %62 = fmul double %61, 4.000000e+00
  %63 = call double @llvm.floor.f64(double %62)
  call void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %8, double noundef %63)
  %64 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %storemerge = load i32, ptr %64, align 4, !tbaa !32
  store i32 %storemerge, ptr %6, align 4, !tbaa !33
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIN6tomasz9DirectionEbSt4lessIS1_ESaISt4pairIKS1_bEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %66 = load i8, ptr %65, align 1, !tbaa !30, !range !28, !noundef !29
  %67 = icmp eq i8 %66, 0
  br i1 %67, label %.lr.ph12, label %._crit_edge13, !llvm.loop !37

._crit_edge13:                                    ; preds = %.lr.ph12, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %.pre = load i32, ptr %6, align 4, !tbaa !33
  br label %68

68:                                               ; preds = %31, %47, %._crit_edge13
  %69 = phi i32 [ %32, %31 ], [ %44, %47 ], [ %.pre, %._crit_edge13 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  ret i32 %69
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7advanceISt17_Rb_tree_iteratorISt4pairIKN6tomasz9DirectionEbEEdEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #5

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !24, i64 144}
!6 = !{!"_ZTSN6tomasz19TomaszMazeGeneratorE", !7, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !12, i64 32, !17, i64 56, !11, i64 136, !11, i64 140, !24, i64 144, !16, i64 152}
!7 = !{!"_ZTS14IMazeAlgorithm"}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTSSt6vectorIS_IN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS2_EESaIS4_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseISt6vectorIN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EESaIS5_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EESaIS5_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EESaIS5_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!"_ZTSSt5stackIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESt5dequeIS3_SaIS3_EEE", !18, i64 0}
!18 = !{!"_ZTSSt5dequeIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSSt11_Deque_baseIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSNSt11_Deque_baseIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EE11_Deque_implE", !21, i64 0}
!21 = !{!"_ZTSNSt11_Deque_baseIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileESaIS3_EE16_Deque_impl_dataE", !16, i64 0, !22, i64 8, !23, i64 16, !23, i64 48}
!22 = !{!"long", !9, i64 0}
!23 = !{!"_ZTSSt15_Deque_iteratorIPN6tomasz19TomaszMazeGenerator14TomMazeGenTileERS3_PS3_E", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!24 = !{!"_ZTSN6tomasz9DirectionE", !9, i64 0}
!25 = !{!26, !27, i64 4}
!26 = !{!"_ZTSSt4pairIKN6tomasz9DirectionEbE", !24, i64 0, !27, i64 4}
!27 = !{!"bool", !9, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!27, !27, i64 0}
!31 = !{!6, !16, i64 152}
!32 = !{!26, !24, i64 0}
!33 = !{!24, !24, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!16, !16, i64 0}
!37 = distinct !{!37, !35}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass