; LLVM IR from erincatto/box2d :: src (shape)

; 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.b2Vec2 = type { float, float }
%struct.b2Shape = type { i32, i32, i32, i32, i32, i32, float, float, float, float, float, i32, %struct.b2AABB, %struct.b2AABB, %struct.b2Vec2, i32, %struct.b2Filter, ptr, i32, %union.anon.0, i16, i8, i8, i8, i8, i8 }
%struct.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2Filter = type { i64, i64, i32 }
%union.anon.0 = type { %struct.b2Polygon }
%struct.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }
%struct.b2Capsule = type { %struct.b2Vec2, %struct.b2Vec2, float }
%struct.b2Circle = type { %struct.b2Vec2, float }
%struct.b2Segment = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2ChainSegment = type { %struct.b2Vec2, %struct.b2Segment, %struct.b2Vec2, i32 }

@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [10 x i8], align 1

; 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

declare i32 @b2InternalAssertFcn(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write)
declare void @llvm.trap() #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: nounwind uwtable
define dso_local float @b2GetShapePerimeter(ptr noundef %0) #4 {
  %2 = alloca float, align 4
  %3 = alloca ptr, align 8
  %4 = alloca %struct.b2Vec2, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca %struct.b2Vec2, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.b2Vec2, align 4
  %11 = alloca %struct.b2Vec2, align 4
  %12 = alloca %struct.b2Vec2, align 4
  %13 = alloca %struct.b2Vec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.b2Shape, ptr %14, i32 0, i32 5
  %16 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %16, label %120 [
    i32 1, label %17
    i32 0, label %35
    i32 3, label %41
    i32 2, label %92
    i32 4, label %105
  ]

17:                                               ; preds = %1
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.b2Shape, ptr %18, i32 0, i32 19
  %20 = getelementptr inbounds %struct.b2Capsule, ptr %19, i32 0, i32 0
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.b2Shape, ptr %21, i32 0, i32 19
  %23 = getelementptr inbounds %struct.b2Capsule, ptr %22, i32 0, i32 1
  %24 = load <2 x float>, ptr %20, align 4
  %25 = load <2 x float>, ptr %23, align 4
  %26 = call <2 x float> @b2Sub(<2 x float> %24, <2 x float> %25)
  store <2 x float> %26, ptr %4, align 4
  %27 = load <2 x float>, ptr %4, align 4
  %28 = call float @b2Length(<2 x float> %27)
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.b2Shape, ptr %29, i32 0, i32 19
  %31 = getelementptr inbounds %struct.b2Capsule, ptr %30, i32 0, i32 2
  %32 = load float, ptr %31, align 4, !tbaa !19
  %33 = fmul float 0x401921FB60000000, %32
  %34 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %28, float %33)
  store float %34, ptr %2, align 4
  br label %121

35:                                               ; preds = %1
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.b2Shape, ptr %36, i32 0, i32 19
  %38 = getelementptr inbounds %struct.b2Circle, ptr %37, i32 0, i32 1
  %39 = load float, ptr %38, align 4, !tbaa !19
  %40 = fmul float 0x401921FB60000000, %39
  store float %40, ptr %2, align 4
  br label %121

41:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.b2Shape, ptr %42, i32 0, i32 19
  %44 = getelementptr inbounds %struct.b2Polygon, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds [8 x %struct.b2Vec2], ptr %44, i64 0, i64 0
  store ptr %45, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.b2Shape, ptr %46, i32 0, i32 19
  %48 = getelementptr inbounds %struct.b2Polygon, ptr %47, i32 0, i32 4
  %49 = load i32, ptr %48, align 4, !tbaa !19
  store i32 %49, ptr %6, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.b2Shape, ptr %50, i32 0, i32 19
  %52 = getelementptr inbounds %struct.b2Polygon, ptr %51, i32 0, i32 3
  %53 = load float, ptr %52, align 4, !tbaa !19
  %54 = fmul float 0x401921FB60000000, %53
  store float %54, ptr %7, align 4, !tbaa !21
  br label %55

55:                                               ; preds = %41
  %56 = load i32, ptr %6, align 4, !tbaa !20
  %57 = icmp sgt i32 %56, 0
  br i1 %57, label %62, label %58

58:                                               ; preds = %55
  %59 = call i32 @b2InternalAssertFcn(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 635)
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %58
  call void @llvm.trap()
  br label %62

62:                                               ; preds = %61, %58, %55
  br label %63

63:                                               ; preds = %62
  br label %64

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = load i32, ptr %6, align 4, !tbaa !20
  %67 = sub nsw i32 %66, 1
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds %struct.b2Vec2, ptr %65, i64 %68
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !20
  br label %70

70:                                               ; preds = %87, %64
  %71 = load i32, ptr %9, align 4, !tbaa !20
  %72 = load i32, ptr %6, align 4, !tbaa !20
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %90

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = load i32, ptr %9, align 4, !tbaa !20
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds %struct.b2Vec2, ptr %76, i64 %78
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %79, i64 8, i1 false), !tbaa.struct !22
  %80 = load <2 x float>, ptr %10, align 4
  %81 = load <2 x float>, ptr %8, align 4
  %82 = call <2 x float> @b2Sub(<2 x float> %80, <2 x float> %81)
  store <2 x float> %82, ptr %11, align 4
  %83 = load <2 x float>, ptr %11, align 4
  %84 = call float @b2Length(<2 x float> %83)
  %85 = load float, ptr %7, align 4, !tbaa !21
  %86 = fadd float %85, %84
  store float %86, ptr %7, align 4, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %87

87:                                               ; preds = %75
  %88 = load i32, ptr %9, align 4, !tbaa !20
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %9, align 4, !tbaa !20
  br label %70, !llvm.loop !23

90:                                               ; preds = %74
  %91 = load float, ptr %7, align 4, !tbaa !21
  store float %91, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %121

92:                                               ; preds = %1
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.b2Shape, ptr %93, i32 0, i32 19
  %95 = getelementptr inbounds %struct.b2Segment, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.b2Shape, ptr %96, i32 0, i32 19
  %98 = getelementptr inbounds %struct.b2Segment, ptr %97, i32 0, i32 1
  %99 = load <2 x float>, ptr %95, align 4
  %100 = load <2 x float>, ptr %98, align 4
  %101 = call <2 x float> @b2Sub(<2 x float> %99, <2 x float> %100)
  store <2 x float> %101, ptr %12, align 4
  %102 = load <2 x float>, ptr %12, align 4
  %103 = call float @b2Length(<2 x float> %102)
  %104 = fmul float 2.000000e+00, %103
  store float %104, ptr %2, align 4
  br label %121

105:                                              ; preds = %1
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.b2Shape, ptr %106, i32 0, i32 19
  %108 = getelementptr inbounds %struct.b2ChainSegment, ptr %107, i32 0, i32 1
  %109 = getelementptr inbounds %struct.b2Segment, ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.b2Shape, ptr %110, i32 0, i32 19
  %112 = getelementptr inbounds %struct.b2ChainSegment, ptr %111, i32 0, i32 1
  %113 = getelementptr inbounds %struct.b2Segment, ptr %112, i32 0, i32 1
  %114 = load <2 x float>, ptr %109, align 4
  %115 = load <2 x float>, ptr %113, align 4
  %116 = call <2 x float> @b2Sub(<2 x float> %114, <2 x float> %115)
  store <2 x float> %116, ptr %13, align 4
  %117 = load <2 x float>, ptr %13, align 4
  %118 = call float @b2Length(<2 x float> %117)
  %119 = fmul float 2.000000e+00, %118
  store float %119, ptr %2, align 4
  br label %121

120:                                              ; preds = %1
  store float 0.000000e+00, ptr %2, align 4
  br label %121

121:                                              ; preds = %120, %105, %92, %90, %35, %17
  %122 = load float, ptr %2, align 4
  ret float %122
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden float @b2Length(<2 x float>) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @b2Sub(<2 x float>, <2 x float>) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { cold noreturn nounwind memory(inaccessiblemem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="64" "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 nounwind uwtable "min-legal-vector-width"="64" "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/C++ TBAA"}
!9 = !{!10, !11, i64 20}
!10 = !{!"b2Shape", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !11, i64 44, !13, i64 48, !13, i64 64, !14, i64 80, !11, i64 88, !15, i64 96, !6, i64 120, !11, i64 128, !7, i64 132, !17, i64 276, !18, i64 278, !18, i64 279, !18, i64 280, !18, i64 281, !18, i64 282}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"b2AABB", !14, i64 0, !14, i64 8}
!14 = !{!"b2Vec2", !12, i64 0, !12, i64 4}
!15 = !{!"b2Filter", !16, i64 0, !16, i64 8, !11, i64 16}
!16 = !{!"long", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!12, !12, i64 0}
!22 = !{i64 0, i64 4, !21, i64 4, i64 4, !21}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.b2Vec2 = type { float, float }

@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [10 x i8], align 1

declare i32 @b2InternalAssertFcn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write)
declare void @llvm.trap() #1

; Function Attrs: nounwind uwtable
define dso_local float @b2GetShapePerimeter(ptr nocapture noundef readonly %0) local_unnamed_addr #2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 20
  %3 = load i32, ptr %2, align 4, !tbaa !5
  switch i32 %3, label %.loopexit [
    i32 1, label %4
    i32 0, label %15
    i32 3, label %19
    i32 2, label %37
    i32 4, label %45
  ]

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 132
  %6 = getelementptr inbounds i8, ptr %0, i64 140
  %7 = load <2 x float>, ptr %5, align 4
  %8 = load <2 x float>, ptr %6, align 4
  %9 = tail call <2 x float> @b2Sub(<2 x float> %7, <2 x float> %8)
  %10 = tail call float @b2Length(<2 x float> %9)
  %11 = getelementptr inbounds i8, ptr %0, i64 148
  %12 = load float, ptr %11, align 4, !tbaa !18
  %13 = fmul float %12, 0x401921FB60000000
  %14 = tail call float @llvm.fmuladd.f32(float %10, float 2.000000e+00, float %13)
  br label %.loopexit

15:                                               ; preds = %1
  %16 = getelementptr inbounds i8, ptr %0, i64 140
  %17 = load float, ptr %16, align 4, !tbaa !18
  %18 = fmul float %17, 0x401921FB60000000
  br label %.loopexit

19:                                               ; preds = %1
  %20 = getelementptr inbounds i8, ptr %0, i64 132
  %21 = getelementptr inbounds i8, ptr %0, i64 272
  %22 = load i32, ptr %21, align 4, !tbaa !18
  %23 = getelementptr inbounds i8, ptr %0, i64 268
  %24 = load float, ptr %23, align 4, !tbaa !18
  %25 = fmul float %24, 0x401921FB60000000
  %26 = icmp sgt i32 %22, 0
  br i1 %26, label %.lr.ph.preheader, label %27

27:                                               ; preds = %19
  %28 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 635) #5
  %.not = icmp eq i32 %28, 0
  br i1 %.not, label %.loopexit, label %29

29:                                               ; preds = %27
  tail call void @llvm.trap()
  unreachable

.lr.ph.preheader:                                 ; preds = %19
  %30 = zext nneg i32 %22 to i64
  %31 = getelementptr %struct.b2Vec2, ptr %20, i64 %30
  %32 = getelementptr i8, ptr %31, i64 -8
  %.sroa.07.0.copyload = load <2 x float>, ptr %32, align 4
  %wide.trip.count = zext nneg i32 %22 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.02832 = phi float [ %25, %.lr.ph.preheader ], [ %36, %.lr.ph ]
  %.sroa.07.031 = phi <2 x float> [ %.sroa.07.0.copyload, %.lr.ph.preheader ], [ %.sroa.03.0.copyload, %.lr.ph ]
  %33 = getelementptr inbounds %struct.b2Vec2, ptr %20, i64 %indvars.iv
  %.sroa.03.0.copyload = load <2 x float>, ptr %33, align 4
  %34 = tail call <2 x float> @b2Sub(<2 x float> %.sroa.03.0.copyload, <2 x float> %.sroa.07.031)
  %35 = tail call float @b2Length(<2 x float> %34)
  %36 = fadd float %.02832, %35
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !19

37:                                               ; preds = %1
  %38 = getelementptr inbounds i8, ptr %0, i64 132
  %39 = getelementptr inbounds i8, ptr %0, i64 140
  %40 = load <2 x float>, ptr %38, align 4
  %41 = load <2 x float>, ptr %39, align 4
  %42 = tail call <2 x float> @b2Sub(<2 x float> %40, <2 x float> %41)
  %43 = tail call float @b2Length(<2 x float> %42)
  %44 = fmul float %43, 2.000000e+00
  br label %.loopexit

45:                                               ; preds = %1
  %46 = getelementptr inbounds i8, ptr %0, i64 140
  %47 = getelementptr inbounds i8, ptr %0, i64 148
  %48 = load <2 x float>, ptr %46, align 4
  %49 = load <2 x float>, ptr %47, align 4
  %50 = tail call <2 x float> @b2Sub(<2 x float> %48, <2 x float> %49)
  %51 = tail call float @b2Length(<2 x float> %50)
  %52 = fmul float %51, 2.000000e+00
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %27, %1, %45, %37, %15, %4
  %.0 = phi float [ %52, %45 ], [ %44, %37 ], [ %18, %15 ], [ %14, %4 ], [ 0.000000e+00, %1 ], [ %25, %27 ], [ %36, %.lr.ph ]
  ret float %.0
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden float @b2Length(<2 x float>) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @b2Sub(<2 x float>, <2 x float>) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

attributes #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 = { cold noreturn nounwind memory(inaccessiblemem: write) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { inlinehint nounwind uwtable "min-legal-vector-width"="64" "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 20}
!6 = !{!"b2Shape", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !7, i64 44, !11, i64 48, !11, i64 64, !12, i64 80, !7, i64 88, !13, i64 96, !15, i64 120, !7, i64 128, !8, i64 132, !16, i64 276, !17, i64 278, !17, i64 279, !17, i64 280, !17, i64 281, !17, i64 282}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"b2AABB", !12, i64 0, !12, i64 8}
!12 = !{!"b2Vec2", !10, i64 0, !10, i64 4}
!13 = !{!"b2Filter", !14, i64 0, !14, i64 8, !7, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = !{!"_Bool", !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


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