LLVM 22.0.0git
llvm::GCRoot Struct Reference

GCRoot - Metadata for a pointer to an object managed by the garbage collector. More...

#include "llvm/CodeGen/GCMetadata.h"

Public Member Functions

 GCRoot (int N, const Constant *MD)

Public Attributes

int Num
 Usually a frame index.
int StackOffset = -1
 Offset from the stack pointer.
const ConstantMetadata
 Metadata straight from the call to llvm.gcroot.

Detailed Description

GCRoot - Metadata for a pointer to an object managed by the garbage collector.

Definition at line 69 of file GCMetadata.h.

Constructor & Destructor Documentation

◆ GCRoot()

llvm::GCRoot::GCRoot ( int N,
const Constant * MD )
inline

Definition at line 75 of file GCMetadata.h.

References Metadata, N, and Num.

Member Data Documentation

◆ Metadata

const Constant* llvm::GCRoot::Metadata

Metadata straight from the call to llvm.gcroot.

Definition at line 72 of file GCMetadata.h.

Referenced by GCRoot().

◆ Num

int llvm::GCRoot::Num

Usually a frame index.

Definition at line 70 of file GCMetadata.h.

Referenced by GCRoot().

◆ StackOffset

int llvm::GCRoot::StackOffset = -1

Offset from the stack pointer.

Definition at line 71 of file GCMetadata.h.


The documentation for this struct was generated from the following file: