; LLVM IR from achilles288/robot-monitor-graphics :: src/base/internal/vbo_load.ll (ZN3rmg8internal7VBOLoad4loadEv)

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

%"class.rmg::internal::VBOLoad" = type { %"class.rmg::internal::ContextLoad", %"class.rmg::Mesh.base", ptr }
%"class.rmg::internal::ContextLoad" = type { ptr }
%"class.rmg::Mesh.base" = type <{ ptr, ptr, ptr, ptr, i32, [4 x i8], ptr, i32 }>
%"class.rmg::internal::VBO" = type { i32, i32, i32, i32, i32, i32, i32 }
%"class.rmg::Mesh" = type <{ ptr, ptr, ptr, ptr, i32, [4 x i8], ptr, i32, [4 x i8] }>

@_ZN3rmg8internal17glGenVertexArraysE = external global ptr, align 8
@_ZN3rmg8internal17glBindVertexArrayE = external global ptr, align 8
@_ZN3rmg8internal12glGenBuffersE = external global ptr, align 8
@_ZN3rmg8internal12glBindBufferE = external global ptr, align 8
@_ZN3rmg8internal12glBufferDataE = external global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3rmg8internal7VBOLoad4loadEv(ptr noundef nonnull align 8 dereferenceable(72) %0) unnamed_addr #0 align 2 {
  %2 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load ptr, ptr %2, align 8
  %4 = getelementptr inbounds i8, ptr %3, i64 8
  %5 = call noundef zeroext i1 @_ZNK3rmg4Mesh7isValidEv(ptr noundef nonnull align 8 dereferenceable(52) %4)
  br i1 %5, label %7, label %6

6:                                                ; preds = %1
  br label %107

7:                                                ; preds = %1
  %8 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %9, i32 0, i32 6
  store i32 1, ptr %10, align 4, !tbaa !14
  %11 = load ptr, ptr @_ZN3rmg8internal17glGenVertexArraysE, align 8, !tbaa !5
  %12 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %13, i32 0, i32 0
  call void %11(i32 noundef 1, ptr noundef %14)
  %15 = load ptr, ptr @_ZN3rmg8internal17glBindVertexArrayE, align 8, !tbaa !5
  %16 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 4, !tbaa !17
  call void %15(i32 noundef %19)
  %20 = load ptr, ptr @_ZN3rmg8internal12glGenBuffersE, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %22, i32 0, i32 1
  call void %20(i32 noundef 1, ptr noundef %23)
  %24 = load ptr, ptr @_ZN3rmg8internal12glBindBufferE, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %26, i32 0, i32 1
  %28 = load i32, ptr %27, align 4, !tbaa !18
  call void %24(i32 noundef 34962, i32 noundef %28)
  %29 = load ptr, ptr @_ZN3rmg8internal12glBufferDataE, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %3, i64 8
  %31 = getelementptr inbounds %"class.rmg::Mesh", ptr %30, i32 0, i32 4
  %32 = load i32, ptr %31, align 8, !tbaa !19
  %33 = zext i32 %32 to i64
  %34 = mul i64 %33, 12
  %35 = getelementptr inbounds i8, ptr %3, i64 8
  %36 = getelementptr inbounds %"class.rmg::Mesh", ptr %35, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  call void %29(i32 noundef 34962, i64 noundef %34, ptr noundef %37, i32 noundef 35044)
  %38 = load ptr, ptr @_ZN3rmg8internal12glGenBuffersE, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  %41 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %40, i32 0, i32 2
  call void %38(i32 noundef 1, ptr noundef %41)
  %42 = load ptr, ptr @_ZN3rmg8internal12glBindBufferE, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %44, i32 0, i32 2
  %46 = load i32, ptr %45, align 4, !tbaa !21
  call void %42(i32 noundef 34962, i32 noundef %46)
  %47 = load ptr, ptr @_ZN3rmg8internal12glBufferDataE, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %3, i64 8
  %49 = getelementptr inbounds %"class.rmg::Mesh", ptr %48, i32 0, i32 4
  %50 = load i32, ptr %49, align 8, !tbaa !19
  %51 = zext i32 %50 to i64
  %52 = mul i64 %51, 12
  %53 = getelementptr inbounds i8, ptr %3, i64 8
  %54 = getelementptr inbounds %"class.rmg::Mesh", ptr %53, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !22
  call void %47(i32 noundef 34962, i64 noundef %52, ptr noundef %55, i32 noundef 35044)
  %56 = getelementptr inbounds i8, ptr %3, i64 8
  %57 = getelementptr inbounds %"class.rmg::Mesh", ptr %56, i32 0, i32 3
  %58 = load ptr, ptr %57, align 8, !tbaa !23
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %82

60:                                               ; preds = %7
  %61 = load ptr, ptr @_ZN3rmg8internal12glGenBuffersE, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %63 = load ptr, ptr %62, align 8, !tbaa !9
  %64 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %63, i32 0, i32 3
  call void %61(i32 noundef 1, ptr noundef %64)
  %65 = load ptr, ptr @_ZN3rmg8internal12glBindBufferE, align 8, !tbaa !5
  %66 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %67, i32 0, i32 3
  %69 = load i32, ptr %68, align 4, !tbaa !24
  call void %65(i32 noundef 34962, i32 noundef %69)
  %70 = load ptr, ptr @_ZN3rmg8internal12glBufferDataE, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %3, i64 8
  %72 = getelementptr inbounds %"class.rmg::Mesh", ptr %71, i32 0, i32 4
  %73 = load i32, ptr %72, align 8, !tbaa !19
  %74 = zext i32 %73 to i64
  %75 = mul i64 %74, 8
  %76 = getelementptr inbounds i8, ptr %3, i64 8
  %77 = getelementptr inbounds %"class.rmg::Mesh", ptr %76, i32 0, i32 3
  %78 = load ptr, ptr %77, align 8, !tbaa !23
  call void %70(i32 noundef 34962, i64 noundef %75, ptr noundef %78, i32 noundef 35044)
  %79 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %80, i32 0, i32 6
  store i32 2, ptr %81, align 4, !tbaa !14
  br label %82

82:                                               ; preds = %60, %7
  %83 = load ptr, ptr @_ZN3rmg8internal12glGenBuffersE, align 8, !tbaa !5
  %84 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %85 = load ptr, ptr %84, align 8, !tbaa !9
  %86 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %85, i32 0, i32 4
  call void %83(i32 noundef 1, ptr noundef %86)
  %87 = load ptr, ptr @_ZN3rmg8internal12glBindBufferE, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %89 = load ptr, ptr %88, align 8, !tbaa !9
  %90 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %89, i32 0, i32 4
  %91 = load i32, ptr %90, align 4, !tbaa !25
  call void %87(i32 noundef 34963, i32 noundef %91)
  %92 = load ptr, ptr @_ZN3rmg8internal12glBufferDataE, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %3, i64 8
  %94 = getelementptr inbounds %"class.rmg::Mesh", ptr %93, i32 0, i32 7
  %95 = load i32, ptr %94, align 8, !tbaa !26
  %96 = zext i32 %95 to i64
  %97 = mul i64 %96, 4
  %98 = getelementptr inbounds i8, ptr %3, i64 8
  %99 = getelementptr inbounds %"class.rmg::Mesh", ptr %98, i32 0, i32 6
  %100 = load ptr, ptr %99, align 8, !tbaa !27
  call void %92(i32 noundef 34963, i64 noundef %97, ptr noundef %100, i32 noundef 35044)
  %101 = getelementptr inbounds i8, ptr %3, i64 8
  %102 = getelementptr inbounds %"class.rmg::Mesh", ptr %101, i32 0, i32 7
  %103 = load i32, ptr %102, align 8, !tbaa !26
  %104 = getelementptr inbounds %"class.rmg::internal::VBOLoad", ptr %3, i32 0, i32 2
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = getelementptr inbounds %"class.rmg::internal::VBO", ptr %105, i32 0, i32 5
  store i32 %103, ptr %106, align 4, !tbaa !28
  call void @_ZN3rmg8internal7VBOLoad20setAttributePointersEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  br label %107

107:                                              ; preds = %82, %6
  ret void
}

declare noundef zeroext i1 @_ZNK3rmg4Mesh7isValidEv(ptr noundef nonnull align 8 dereferenceable(52)) #1

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 64}
!10 = !{!"_ZTSN3rmg8internal7VBOLoadE", !11, i64 0, !12, i64 8, !6, i64 64}
!11 = !{!"_ZTSN3rmg8internal11ContextLoadE"}
!12 = !{!"_ZTSN3rmg4MeshE", !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !6, i64 40, !13, i64 48}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !16, i64 24}
!15 = !{!"_ZTSN3rmg8internal3VBOE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !16, i64 24}
!16 = !{!"_ZTSN3rmg8internal7VBOModeE", !7, i64 0}
!17 = !{!15, !13, i64 0}
!18 = !{!15, !13, i64 4}
!19 = !{!12, !13, i64 32}
!20 = !{!12, !6, i64 8}
!21 = !{!15, !13, i64 8}
!22 = !{!12, !6, i64 16}
!23 = !{!12, !6, i64 24}
!24 = !{!15, !13, i64 12}
!25 = !{!15, !13, i64 16}
!26 = !{!12, !13, i64 48}
!27 = !{!12, !6, i64 40}
!28 = !{!15, !13, i64 20}


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

@_ZN3rmg8internal17glGenVertexArraysE = external local_unnamed_addr global ptr, align 8
@_ZN3rmg8internal17glBindVertexArrayE = external local_unnamed_addr global ptr, align 8
@_ZN3rmg8internal12glGenBuffersE = external local_unnamed_addr global ptr, align 8
@_ZN3rmg8internal12glBindBufferE = external local_unnamed_addr global ptr, align 8
@_ZN3rmg8internal12glBufferDataE = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3rmg8internal7VBOLoad4loadEv(ptr noundef nonnull align 8 dereferenceable(72) %0) unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = tail call noundef zeroext i1 @_ZNK3rmg4Mesh7isValidEv(ptr noundef nonnull align 8 dereferenceable(52) %2)
  br i1 %3, label %4, label %73

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 24
  store i32 1, ptr %7, align 4, !tbaa !13
  %8 = load ptr, ptr @_ZN3rmg8internal17glGenVertexArraysE, align 8, !tbaa !16
  tail call void %8(i32 noundef 1, ptr noundef %6)
  %9 = load ptr, ptr @_ZN3rmg8internal17glBindVertexArrayE, align 8, !tbaa !16
  %10 = load ptr, ptr %5, align 8, !tbaa !5
  %11 = load i32, ptr %10, align 4, !tbaa !17
  tail call void %9(i32 noundef %11)
  %12 = load ptr, ptr @_ZN3rmg8internal12glGenBuffersE, align 8, !tbaa !16
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %13, i64 4
  tail call void %12(i32 noundef 1, ptr noundef nonnull %14)
  %15 = load ptr, ptr @_ZN3rmg8internal12glBindBufferE, align 8, !tbaa !16
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 4
  %18 = load i32, ptr %17, align 4, !tbaa !18
  tail call void %15(i32 noundef 34962, i32 noundef %18)
  %19 = load ptr, ptr @_ZN3rmg8internal12glBufferDataE, align 8, !tbaa !16
  %20 = getelementptr inbounds i8, ptr %0, i64 40
  %21 = load i32, ptr %20, align 8, !tbaa !19
  %22 = zext i32 %21 to i64
  %23 = mul nuw nsw i64 %22, 12
  %24 = getelementptr inbounds i8, ptr %0, i64 16
  %25 = load ptr, ptr %24, align 8, !tbaa !20
  tail call void %19(i32 noundef 34962, i64 noundef %23, ptr noundef %25, i32 noundef 35044)
  %26 = load ptr, ptr @_ZN3rmg8internal12glGenBuffersE, align 8, !tbaa !16
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 8
  tail call void %26(i32 noundef 1, ptr noundef nonnull %28)
  %29 = load ptr, ptr @_ZN3rmg8internal12glBindBufferE, align 8, !tbaa !16
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = load i32, ptr %31, align 4, !tbaa !21
  tail call void %29(i32 noundef 34962, i32 noundef %32)
  %33 = load ptr, ptr @_ZN3rmg8internal12glBufferDataE, align 8, !tbaa !16
  %34 = load i32, ptr %20, align 8, !tbaa !19
  %35 = zext i32 %34 to i64
  %36 = mul nuw nsw i64 %35, 12
  %37 = getelementptr inbounds i8, ptr %0, i64 24
  %38 = load ptr, ptr %37, align 8, !tbaa !22
  tail call void %33(i32 noundef 34962, i64 noundef %36, ptr noundef %38, i32 noundef 35044)
  %39 = getelementptr inbounds i8, ptr %0, i64 32
  %40 = load ptr, ptr %39, align 8, !tbaa !23
  %.not = icmp eq ptr %40, null
  %.pre = load ptr, ptr %5, align 8, !tbaa !5
  br i1 %.not, label %55, label %41

41:                                               ; preds = %4
  %42 = load ptr, ptr @_ZN3rmg8internal12glGenBuffersE, align 8, !tbaa !16
  %43 = getelementptr inbounds i8, ptr %.pre, i64 12
  tail call void %42(i32 noundef 1, ptr noundef nonnull %43)
  %44 = load ptr, ptr @_ZN3rmg8internal12glBindBufferE, align 8, !tbaa !16
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 12
  %47 = load i32, ptr %46, align 4, !tbaa !24
  tail call void %44(i32 noundef 34962, i32 noundef %47)
  %48 = load ptr, ptr @_ZN3rmg8internal12glBufferDataE, align 8, !tbaa !16
  %49 = load i32, ptr %20, align 8, !tbaa !19
  %50 = zext i32 %49 to i64
  %51 = shl nuw nsw i64 %50, 3
  %52 = load ptr, ptr %39, align 8, !tbaa !23
  tail call void %48(i32 noundef 34962, i64 noundef %51, ptr noundef %52, i32 noundef 35044)
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %53, i64 24
  store i32 2, ptr %54, align 4, !tbaa !13
  br label %55

55:                                               ; preds = %41, %4
  %56 = phi ptr [ %53, %41 ], [ %.pre, %4 ]
  %57 = load ptr, ptr @_ZN3rmg8internal12glGenBuffersE, align 8, !tbaa !16
  %58 = getelementptr inbounds i8, ptr %56, i64 16
  tail call void %57(i32 noundef 1, ptr noundef nonnull %58)
  %59 = load ptr, ptr @_ZN3rmg8internal12glBindBufferE, align 8, !tbaa !16
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 16
  %62 = load i32, ptr %61, align 4, !tbaa !25
  tail call void %59(i32 noundef 34963, i32 noundef %62)
  %63 = load ptr, ptr @_ZN3rmg8internal12glBufferDataE, align 8, !tbaa !16
  %64 = getelementptr inbounds i8, ptr %0, i64 56
  %65 = load i32, ptr %64, align 8, !tbaa !26
  %66 = zext i32 %65 to i64
  %67 = shl nuw nsw i64 %66, 2
  %68 = getelementptr inbounds i8, ptr %0, i64 48
  %69 = load ptr, ptr %68, align 8, !tbaa !27
  tail call void %63(i32 noundef 34963, i64 noundef %67, ptr noundef %69, i32 noundef 35044)
  %70 = load i32, ptr %64, align 8, !tbaa !26
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 20
  store i32 %70, ptr %72, align 4, !tbaa !28
  tail call void @_ZN3rmg8internal7VBOLoad20setAttributePointersEv(ptr noundef nonnull align 8 dereferenceable(72) %0)
  br label %73

73:                                               ; preds = %1, %55
  ret void
}

declare noundef zeroext i1 @_ZNK3rmg4Mesh7isValidEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3rmg8internal7VBOLoad20setAttributePointersEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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, !9, i64 64}
!6 = !{!"_ZTSN3rmg8internal7VBOLoadE", !7, i64 0, !8, i64 8, !9, i64 64}
!7 = !{!"_ZTSN3rmg8internal11ContextLoadE"}
!8 = !{!"_ZTSN3rmg4MeshE", !9, i64 8, !9, i64 16, !9, i64 24, !12, i64 32, !9, i64 40, !12, i64 48}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!14, !15, i64 24}
!14 = !{!"_ZTSN3rmg8internal3VBOE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !15, i64 24}
!15 = !{!"_ZTSN3rmg8internal7VBOModeE", !10, i64 0}
!16 = !{!9, !9, i64 0}
!17 = !{!14, !12, i64 0}
!18 = !{!14, !12, i64 4}
!19 = !{!8, !12, i64 32}
!20 = !{!8, !9, i64 8}
!21 = !{!14, !12, i64 8}
!22 = !{!8, !9, i64 16}
!23 = !{!8, !9, i64 24}
!24 = !{!14, !12, i64 12}
!25 = !{!14, !12, i64 16}
!26 = !{!8, !12, i64 48}
!27 = !{!8, !9, i64 40}
!28 = !{!14, !12, i64 20}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass