; LLVM IR from aap/librw :: src/d3d/d3d8.ll (ZN2rw4d3d819defaultUninstanceCBEPNS_8GeometryEPNS0_12InstanceDataE)

; 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.rw::d3d8::InstanceData" = type { i32, i32, i32, i32, ptr, i32, i32, ptr, ptr, i32, i8, i8, i8 }
%"struct.rw::Geometry" = type { %"struct.rw::Object", i32, i16, i32, i32, i32, i32, ptr, ptr, [8 x ptr], ptr, %"struct.rw::MaterialList", ptr, ptr, i32 }
%"struct.rw::Object" = type { i8, i8, i8, i8, ptr }
%"struct.rw::MaterialList" = type { ptr, i32, i32 }
%"struct.rw::MorphTarget" = type { ptr, %"struct.rw::Sphere", ptr, ptr }
%"struct.rw::Sphere" = type { %"struct.rw::V3d", float }
%"struct.rw::V3d" = type { float, float, float }
%"struct.rw::RGBA" = type { i8, i8, i8, i8 }
%"struct.rw::TexCoords" = type { float, float }

; 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 noundef ptr @_ZN2rw3d3d12lockVerticesEPvjjj(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @_ZN2rw3d3d14unlockVerticesEPv(ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2rw4d3d819defaultUninstanceCBEPNS_8GeometryEPNS0_12InstanceDataE(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %7 = load ptr, ptr %4, align 8, !tbaa !5
  %8 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %7, i32 0, i32 8
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = call noundef ptr @_ZN2rw3d3d12lockVerticesEPvjjj(ptr noundef %9, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  store ptr %10, ptr %5, align 8, !tbaa !5
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %"struct.rw::Geometry", ptr %11, i32 0, i32 10
  %13 = load ptr, ptr %12, align 8, !tbaa !12
  %14 = getelementptr inbounds %"struct.rw::MorphTarget", ptr %13, i64 0
  %15 = getelementptr inbounds %"struct.rw::MorphTarget", ptr %14, i32 0, i32 2
  %16 = load ptr, ptr %15, align 8, !tbaa !17
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 8, !tbaa !22
  %20 = zext i32 %19 to i64
  %21 = getelementptr inbounds %"struct.rw::V3d", ptr %16, i64 %20
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %23, i32 0, i32 2
  %25 = load i32, ptr %24, align 8, !tbaa !23
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %26, i32 0, i32 1
  %28 = load i32, ptr %27, align 4, !tbaa !24
  call void @_ZN2rw9uninstV3dEiPNS_3V3dEPhjj(i32 noundef 8, ptr noundef %21, ptr noundef %22, i32 noundef %25, i32 noundef %28)
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 12
  store ptr %30, ptr %5, align 8, !tbaa !5
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.rw::Geometry", ptr %31, i32 0, i32 1
  %33 = load i32, ptr %32, align 8, !tbaa !25
  %34 = and i32 %33, 16
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %57

36:                                               ; preds = %2
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.rw::Geometry", ptr %37, i32 0, i32 10
  %39 = load ptr, ptr %38, align 8, !tbaa !12
  %40 = getelementptr inbounds %"struct.rw::MorphTarget", ptr %39, i64 0
  %41 = getelementptr inbounds %"struct.rw::MorphTarget", ptr %40, i32 0, i32 3
  %42 = load ptr, ptr %41, align 8, !tbaa !26
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %43, i32 0, i32 0
  %45 = load i32, ptr %44, align 8, !tbaa !22
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds %"struct.rw::V3d", ptr %42, i64 %46
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 8, !tbaa !23
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 4, !tbaa !24
  call void @_ZN2rw9uninstV3dEiPNS_3V3dEPhjj(i32 noundef 8, ptr noundef %47, ptr noundef %48, i32 noundef %51, i32 noundef %54)
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 12
  store ptr %56, ptr %5, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %36, %2
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %58, i32 0, i32 10
  store i8 0, ptr %59, align 4, !tbaa !27
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.rw::Geometry", ptr %60, i32 0, i32 1
  %62 = load i32, ptr %61, align 8, !tbaa !25
  %63 = and i32 %62, 8
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %83

65:                                               ; preds = %57
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.rw::Geometry", ptr %66, i32 0, i32 8
  %68 = load ptr, ptr %67, align 8, !tbaa !28
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %69, i32 0, i32 0
  %71 = load i32, ptr %70, align 8, !tbaa !22
  %72 = zext i32 %71 to i64
  %73 = getelementptr inbounds %"struct.rw::RGBA", ptr %68, i64 %72
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %75, i32 0, i32 2
  %77 = load i32, ptr %76, align 8, !tbaa !23
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %78, i32 0, i32 1
  %80 = load i32, ptr %79, align 4, !tbaa !24
  call void @_ZN2rw11uninstColorEiPNS_4RGBAEPhjj(i32 noundef 10, ptr noundef %73, ptr noundef %74, i32 noundef %77, i32 noundef %80)
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 4
  store ptr %82, ptr %5, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %65, %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 0, ptr %6, align 4, !tbaa !29
  br label %84

84:                                               ; preds = %112, %83
  %85 = load i32, ptr %6, align 4, !tbaa !29
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.rw::Geometry", ptr %86, i32 0, i32 6
  %88 = load i32, ptr %87, align 4, !tbaa !30
  %89 = icmp slt i32 %85, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %115

91:                                               ; preds = %84
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.rw::Geometry", ptr %92, i32 0, i32 9
  %94 = load i32, ptr %6, align 4, !tbaa !29
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [8 x ptr], ptr %93, i64 0, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %98, i32 0, i32 0
  %100 = load i32, ptr %99, align 8, !tbaa !22
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds %"struct.rw::TexCoords", ptr %97, i64 %101
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %104, i32 0, i32 2
  %106 = load i32, ptr %105, align 8, !tbaa !23
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %107, i32 0, i32 1
  %109 = load i32, ptr %108, align 4, !tbaa !24
  call void @_ZN2rw15uninstTexCoordsEiPNS_9TexCoordsEPhjj(i32 noundef 7, ptr noundef %102, ptr noundef %103, i32 noundef %106, i32 noundef %109)
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  store ptr %111, ptr %5, align 8, !tbaa !5
  br label %112

112:                                              ; preds = %91
  %113 = load i32, ptr %6, align 4, !tbaa !29
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %6, align 4, !tbaa !29
  br label %84, !llvm.loop !31

115:                                              ; preds = %90
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.rw::d3d8::InstanceData", ptr %116, i32 0, i32 8
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  call void @_ZN2rw3d3d14unlockVerticesEPv(ptr noundef %118)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

declare void @_ZN2rw9uninstV3dEiPNS_3V3dEPhjj(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

declare void @_ZN2rw11uninstColorEiPNS_4RGBAEPhjj(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

declare void @_ZN2rw15uninstTexCoordsEiPNS_9TexCoordsEPhjj(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

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 = { 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 40}
!10 = !{!"_ZTSN2rw4d3d812InstanceDataE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !11, i64 24, !11, i64 28, !6, i64 32, !6, i64 40, !11, i64 48, !7, i64 52, !7, i64 53, !7, i64 54}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 120}
!13 = !{!"_ZTSN2rw8GeometryE", !14, i64 0, !11, i64 16, !15, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !6, i64 40, !6, i64 48, !7, i64 56, !6, i64 120, !16, i64 128, !6, i64 144, !6, i64 152, !11, i64 160}
!14 = !{!"_ZTSN2rw6ObjectE", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !6, i64 8}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTSN2rw12MaterialListE", !6, i64 0, !11, i64 8, !11, i64 12}
!17 = !{!18, !6, i64 24}
!18 = !{!"_ZTSN2rw11MorphTargetE", !6, i64 0, !19, i64 8, !6, i64 24, !6, i64 32}
!19 = !{!"_ZTSN2rw6SphereE", !20, i64 0, !21, i64 12}
!20 = !{!"_ZTSN2rw3V3dE", !21, i64 0, !21, i64 4, !21, i64 8}
!21 = !{!"float", !7, i64 0}
!22 = !{!10, !11, i64 0}
!23 = !{!10, !11, i64 8}
!24 = !{!10, !11, i64 4}
!25 = !{!13, !11, i64 16}
!26 = !{!18, !6, i64 32}
!27 = !{!10, !7, i64 52}
!28 = !{!13, !6, i64 48}
!29 = !{!11, !11, i64 0}
!30 = !{!13, !11, i64 36}
!31 = distinct !{!31, !32}
!32 = !{!"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.rw::V3d" = type { float, float, float }
%"struct.rw::RGBA" = type { i8, i8, i8, i8 }
%"struct.rw::TexCoords" = type { float, float }

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

declare void @_ZN2rw3d3d14unlockVerticesEPv(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2rw4d3d819defaultUninstanceCBEPNS_8GeometryEPNS0_12InstanceDataE(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %1, i64 40
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = tail call noundef ptr @_ZN2rw3d3d12lockVerticesEPvjjj(ptr noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %6 = getelementptr inbounds i8, ptr %0, i64 120
  %7 = load ptr, ptr %6, align 8, !tbaa !11
  %8 = getelementptr inbounds i8, ptr %7, i64 24
  %9 = load ptr, ptr %8, align 8, !tbaa !16
  %10 = load i32, ptr %1, align 8, !tbaa !21
  %11 = zext i32 %10 to i64
  %12 = getelementptr inbounds %"struct.rw::V3d", ptr %9, i64 %11
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = load i32, ptr %13, align 8, !tbaa !22
  %15 = getelementptr inbounds i8, ptr %1, i64 4
  %16 = load i32, ptr %15, align 4, !tbaa !23
  tail call void @_ZN2rw9uninstV3dEiPNS_3V3dEPhjj(i32 noundef 8, ptr noundef %12, ptr noundef %5, i32 noundef %14, i32 noundef %16)
  %17 = getelementptr inbounds i8, ptr %5, i64 12
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load i32, ptr %18, align 8, !tbaa !24
  %20 = and i32 %19, 16
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %31, label %21

21:                                               ; preds = %2
  %22 = load ptr, ptr %6, align 8, !tbaa !11
  %23 = getelementptr inbounds i8, ptr %22, i64 32
  %24 = load ptr, ptr %23, align 8, !tbaa !25
  %25 = load i32, ptr %1, align 8, !tbaa !21
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds %"struct.rw::V3d", ptr %24, i64 %26
  %28 = load i32, ptr %13, align 8, !tbaa !22
  %29 = load i32, ptr %15, align 4, !tbaa !23
  tail call void @_ZN2rw9uninstV3dEiPNS_3V3dEPhjj(i32 noundef 8, ptr noundef %27, ptr noundef nonnull %17, i32 noundef %28, i32 noundef %29)
  %30 = getelementptr inbounds i8, ptr %5, i64 24
  %.pre = load i32, ptr %18, align 8, !tbaa !24
  br label %31

31:                                               ; preds = %21, %2
  %32 = phi i32 [ %.pre, %21 ], [ %19, %2 ]
  %.032 = phi ptr [ %30, %21 ], [ %17, %2 ]
  %33 = getelementptr inbounds i8, ptr %1, i64 52
  store i8 0, ptr %33, align 4, !tbaa !26
  %34 = and i32 %32, 8
  %.not33 = icmp eq i32 %34, 0
  br i1 %.not33, label %44, label %35

35:                                               ; preds = %31
  %36 = getelementptr inbounds i8, ptr %0, i64 48
  %37 = load ptr, ptr %36, align 8, !tbaa !27
  %38 = load i32, ptr %1, align 8, !tbaa !21
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds %"struct.rw::RGBA", ptr %37, i64 %39
  %41 = load i32, ptr %13, align 8, !tbaa !22
  %42 = load i32, ptr %15, align 4, !tbaa !23
  tail call void @_ZN2rw11uninstColorEiPNS_4RGBAEPhjj(i32 noundef 10, ptr noundef %40, ptr noundef nonnull %.032, i32 noundef %41, i32 noundef %42)
  %43 = getelementptr inbounds i8, ptr %.032, i64 4
  br label %44

44:                                               ; preds = %35, %31
  %.1 = phi ptr [ %43, %35 ], [ %.032, %31 ]
  %45 = getelementptr inbounds i8, ptr %0, i64 36
  %46 = load i32, ptr %45, align 4, !tbaa !28
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %44
  %48 = getelementptr inbounds i8, ptr %0, i64 56
  br label %50

._crit_edge:                                      ; preds = %50, %44
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  tail call void @_ZN2rw3d3d14unlockVerticesEPv(ptr noundef %49)
  ret void

50:                                               ; preds = %.lr.ph, %50
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %50 ]
  %.234 = phi ptr [ %.1, %.lr.ph ], [ %58, %50 ]
  %51 = getelementptr inbounds [8 x ptr], ptr %48, i64 0, i64 %indvars.iv
  %52 = load ptr, ptr %51, align 8, !tbaa !29
  %53 = load i32, ptr %1, align 8, !tbaa !21
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds %"struct.rw::TexCoords", ptr %52, i64 %54
  %56 = load i32, ptr %13, align 8, !tbaa !22
  %57 = load i32, ptr %15, align 4, !tbaa !23
  tail call void @_ZN2rw15uninstTexCoordsEiPNS_9TexCoordsEPhjj(i32 noundef 7, ptr noundef %55, ptr noundef nonnull %.234, i32 noundef %56, i32 noundef %57)
  %58 = getelementptr inbounds i8, ptr %.234, i64 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %59 = load i32, ptr %45, align 4, !tbaa !28
  %60 = sext i32 %59 to i64
  %61 = icmp slt i64 %indvars.iv.next, %60
  br i1 %61, label %50, label %._crit_edge, !llvm.loop !30
}

declare void @_ZN2rw9uninstV3dEiPNS_3V3dEPhjj(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @_ZN2rw11uninstColorEiPNS_4RGBAEPhjj(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @_ZN2rw15uninstTexCoordsEiPNS_9TexCoordsEPhjj(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

!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, !10, i64 40}
!6 = !{!"_ZTSN2rw4d3d812InstanceDataE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !7, i64 24, !7, i64 28, !10, i64 32, !10, i64 40, !7, i64 48, !8, i64 52, !8, i64 53, !8, i64 54}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 120}
!12 = !{!"_ZTSN2rw8GeometryE", !13, i64 0, !7, i64 16, !14, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !10, i64 40, !10, i64 48, !8, i64 56, !10, i64 120, !15, i64 128, !10, i64 144, !10, i64 152, !7, i64 160}
!13 = !{!"_ZTSN2rw6ObjectE", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !10, i64 8}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTSN2rw12MaterialListE", !10, i64 0, !7, i64 8, !7, i64 12}
!16 = !{!17, !10, i64 24}
!17 = !{!"_ZTSN2rw11MorphTargetE", !10, i64 0, !18, i64 8, !10, i64 24, !10, i64 32}
!18 = !{!"_ZTSN2rw6SphereE", !19, i64 0, !20, i64 12}
!19 = !{!"_ZTSN2rw3V3dE", !20, i64 0, !20, i64 4, !20, i64 8}
!20 = !{!"float", !8, i64 0}
!21 = !{!6, !7, i64 0}
!22 = !{!6, !7, i64 8}
!23 = !{!6, !7, i64 4}
!24 = !{!12, !7, i64 16}
!25 = !{!17, !10, i64 32}
!26 = !{!6, !8, i64 52}
!27 = !{!12, !10, i64 48}
!28 = !{!12, !7, i64 36}
!29 = !{!10, !10, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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