; LLVM IR from erincatto/box2d :: shared (benchmarks)

; 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.b2ShapeDef = type { ptr, %struct.b2SurfaceMaterial, float, %struct.b2Filter, i8, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2SurfaceMaterial = type { float, float, float, float, i32, i32 }
%struct.b2Filter = type { i64, i64, i32 }
%struct.b2BodyDef = type { i32, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, float, float, float, float, float, ptr, ptr, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2Rot = type { float, float }
%struct.b2Vec2 = type { float, float }
%struct.b2WorldId = type { i16, i16 }
%struct.b2BodyId = type { i32, i16, i16 }
%struct.b2Segment = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2ShapeId = type { i32, i16, i16 }

declare void @b2World_EnableSleeping(i32, i1 noundef zeroext) #0

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

declare void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8) #0

declare void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8) #0

declare i64 @b2CreateBody(i32, ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local void @CreateManyPyramids(i32 %0) #3 {
  %2 = alloca %struct.b2WorldId, align 2
  %3 = alloca i32, align 4
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.b2BodyDef, align 8
  %8 = alloca %struct.b2BodyId, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca %struct.b2ShapeDef, align 8
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca %struct.b2Segment, align 4
  %15 = alloca %struct.b2ShapeId, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca float, align 4
  store i32 %0, ptr %2, align 2
  %22 = load i32, ptr %2, align 2
  call void @b2World_EnableSleeping(i32 %22, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 10, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store float 5.000000e-01, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 5, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 5, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr %7) #4
  call void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8 %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %23 = load i32, ptr %2, align 2
  %24 = call i64 @b2CreateBody(i32 %23, ptr noundef %7)
  store i64 %24, ptr %8, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %25 = load float, ptr %4, align 4, !tbaa !9
  %26 = fmul float 2.000000e+00, %25
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = sitofp i32 %27 to float
  %29 = fadd float %28, 1.000000e+00
  %30 = fmul float %26, %29
  store float %30, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %31 = load float, ptr %4, align 4, !tbaa !9
  %32 = fmul float 2.000000e+00, %31
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = sitofp i32 %33 to float
  %35 = fmul float %32, %34
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = sitofp i32 %36 to float
  %38 = fadd float %37, 1.000000e+00
  %39 = fmul float %35, %38
  store float %39, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 80, ptr %11) #4
  call void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8 %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store float 0.000000e+00, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %63, %1
  %41 = load i32, ptr %13, align 4, !tbaa !5
  %42 = load i32, ptr %5, align 4, !tbaa !5
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %66

45:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #4
  %46 = getelementptr inbounds %struct.b2Segment, ptr %14, i32 0, i32 0
  %47 = getelementptr inbounds %struct.b2Vec2, ptr %46, i32 0, i32 0
  %48 = load float, ptr %10, align 4, !tbaa !9
  %49 = fmul float -1.000000e+00, %48
  store float %49, ptr %47, align 4, !tbaa !11
  %50 = getelementptr inbounds %struct.b2Vec2, ptr %46, i32 0, i32 1
  %51 = load float, ptr %12, align 4, !tbaa !9
  store float %51, ptr %50, align 4, !tbaa !13
  %52 = getelementptr inbounds %struct.b2Segment, ptr %14, i32 0, i32 1
  %53 = getelementptr inbounds %struct.b2Vec2, ptr %52, i32 0, i32 0
  %54 = load float, ptr %10, align 4, !tbaa !9
  %55 = fmul float 1.000000e+00, %54
  store float %55, ptr %53, align 4, !tbaa !11
  %56 = getelementptr inbounds %struct.b2Vec2, ptr %52, i32 0, i32 1
  %57 = load float, ptr %12, align 4, !tbaa !9
  store float %57, ptr %56, align 4, !tbaa !13
  %58 = load i64, ptr %8, align 4
  %59 = call i64 @b2CreateSegmentShape(i64 %58, ptr noundef %11, ptr noundef %14)
  store i64 %59, ptr %15, align 4
  %60 = load float, ptr %9, align 4, !tbaa !9
  %61 = load float, ptr %12, align 4, !tbaa !9
  %62 = fadd float %61, %60
  store float %62, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  br label %63

63:                                               ; preds = %45
  %64 = load i32, ptr %13, align 4, !tbaa !5
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %13, align 4, !tbaa !5
  br label %40, !llvm.loop !14

66:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %67 = load float, ptr %4, align 4, !tbaa !9
  %68 = fmul float 2.000000e+00, %67
  %69 = load i32, ptr %3, align 4, !tbaa !5
  %70 = sitofp i32 %69 to float
  %71 = fmul float %68, %70
  store float %71, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store float 0.000000e+00, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %106, %66
  %73 = load i32, ptr %18, align 4, !tbaa !5
  %74 = load i32, ptr %5, align 4, !tbaa !5
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %109

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %99, %77
  %79 = load i32, ptr %20, align 4, !tbaa !5
  %80 = load i32, ptr %6, align 4, !tbaa !5
  %81 = icmp slt i32 %79, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %102

83:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %84 = load float, ptr %10, align 4, !tbaa !9
  %85 = load i32, ptr %20, align 4, !tbaa !5
  %86 = sitofp i32 %85 to float
  %87 = load float, ptr %16, align 4, !tbaa !9
  %88 = load float, ptr %4, align 4, !tbaa !9
  %89 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %88, float %87)
  %90 = fmul float %86, %89
  %91 = call float @llvm.fmuladd.f32(float -5.000000e-01, float %84, float %90)
  %92 = load float, ptr %4, align 4, !tbaa !9
  %93 = fadd float %91, %92
  store float %93, ptr %21, align 4, !tbaa !9
  %94 = load i32, ptr %3, align 4, !tbaa !5
  %95 = load float, ptr %4, align 4, !tbaa !9
  %96 = load float, ptr %21, align 4, !tbaa !9
  %97 = load float, ptr %17, align 4, !tbaa !9
  %98 = load i32, ptr %2, align 2
  call void @CreateSmallPyramid(i32 %98, i32 noundef %94, float noundef %95, float noundef %96, float noundef %97)
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %99

99:                                               ; preds = %83
  %100 = load i32, ptr %20, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %20, align 4, !tbaa !5
  br label %78, !llvm.loop !16

102:                                              ; preds = %82
  %103 = load float, ptr %9, align 4, !tbaa !9
  %104 = load float, ptr %17, align 4, !tbaa !9
  %105 = fadd float %104, %103
  store float %105, ptr %17, align 4, !tbaa !9
  br label %106

106:                                              ; preds = %102
  %107 = load i32, ptr %18, align 4, !tbaa !5
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %18, align 4, !tbaa !5
  br label %72, !llvm.loop !17

109:                                              ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

declare i64 @b2CreateSegmentShape(i64, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @CreateSmallPyramid(i32, i32 noundef, float noundef, float noundef, float noundef) #3

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


; 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.b2ShapeDef = type { ptr, %struct.b2SurfaceMaterial, float, %struct.b2Filter, i8, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2SurfaceMaterial = type { float, float, float, float, i32, i32 }
%struct.b2Filter = type { i64, i64, i32 }
%struct.b2BodyDef = type { i32, %struct.b2Vec2, %struct.b2Rot, %struct.b2Vec2, float, float, float, float, float, ptr, ptr, i8, i8, i8, i8, i8, i8, i32 }
%struct.b2Rot = type { float, float }
%struct.b2Vec2 = type { float, float }
%struct.b2Segment = type { %struct.b2Vec2, %struct.b2Vec2 }

declare void @b2World_EnableSleeping(i32, i1 noundef zeroext) local_unnamed_addr #0

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

declare void @b2DefaultShapeDef(ptr dead_on_unwind writable sret(%struct.b2ShapeDef) align 8) local_unnamed_addr #0

declare void @b2DefaultBodyDef(ptr dead_on_unwind writable sret(%struct.b2BodyDef) align 8) local_unnamed_addr #0

declare i64 @b2CreateBody(i32, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @CreateManyPyramids(i32 %0) local_unnamed_addr #2 {
.preheader.preheader:
  %1 = alloca %struct.b2BodyDef, align 8
  %2 = alloca %struct.b2ShapeDef, align 8
  %3 = alloca %struct.b2Segment, align 16
  tail call void @b2World_EnableSleeping(i32 %0, i1 noundef zeroext false) #3
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %1) #3
  call void @b2DefaultBodyDef(ptr dead_on_unwind nonnull writable sret(%struct.b2BodyDef) align 8 %1) #3
  %4 = call i64 @b2CreateBody(i32 %0, ptr noundef nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %2) #3
  call void @b2DefaultShapeDef(ptr dead_on_unwind nonnull writable sret(%struct.b2ShapeDef) align 8 %2) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  store <4 x float> <float -5.500000e+01, float 0.000000e+00, float 5.500000e+01, float 0.000000e+00>, ptr %3, align 16, !tbaa !5
  %5 = call i64 @b2CreateSegmentShape(i64 %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  store <4 x float> <float -5.500000e+01, float 1.100000e+01, float 5.500000e+01, float 1.100000e+01>, ptr %3, align 16, !tbaa !5
  %6 = call i64 @b2CreateSegmentShape(i64 %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  store <4 x float> <float -5.500000e+01, float 2.200000e+01, float 5.500000e+01, float 2.200000e+01>, ptr %3, align 16, !tbaa !5
  %7 = call i64 @b2CreateSegmentShape(i64 %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  store <4 x float> <float -5.500000e+01, float 3.300000e+01, float 5.500000e+01, float 3.300000e+01>, ptr %3, align 16, !tbaa !5
  %8 = call i64 @b2CreateSegmentShape(i64 %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  store <4 x float> <float -5.500000e+01, float 4.400000e+01, float 5.500000e+01, float 4.400000e+01>, ptr %3, align 16, !tbaa !5
  %9 = call i64 @b2CreateSegmentShape(i64 %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -2.700000e+01, float noundef 0.000000e+00)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -1.600000e+01, float noundef 0.000000e+00)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -5.000000e+00, float noundef 0.000000e+00)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 6.000000e+00, float noundef 0.000000e+00)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 1.700000e+01, float noundef 0.000000e+00)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -2.700000e+01, float noundef 1.100000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -1.600000e+01, float noundef 1.100000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -5.000000e+00, float noundef 1.100000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 6.000000e+00, float noundef 1.100000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 1.700000e+01, float noundef 1.100000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -2.700000e+01, float noundef 2.200000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -1.600000e+01, float noundef 2.200000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -5.000000e+00, float noundef 2.200000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 6.000000e+00, float noundef 2.200000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 1.700000e+01, float noundef 2.200000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -2.700000e+01, float noundef 3.300000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -1.600000e+01, float noundef 3.300000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -5.000000e+00, float noundef 3.300000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 6.000000e+00, float noundef 3.300000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 1.700000e+01, float noundef 3.300000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -2.700000e+01, float noundef 4.400000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -1.600000e+01, float noundef 4.400000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef -5.000000e+00, float noundef 4.400000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 6.000000e+00, float noundef 4.400000e+01)
  call void @CreateSmallPyramid(i32 %0, i32 noundef 10, float noundef 5.000000e-01, float noundef 1.700000e+01, float noundef 4.400000e+01)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %1) #3
  ret void
}

declare i64 @b2CreateSegmentShape(i64, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @CreateSmallPyramid(i32, i32 noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass