LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
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 67 of file GCMetadata.h.

Constructor & Destructor Documentation

◆ GCRoot()

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

Definition at line 73 of file GCMetadata.h.

Member Data Documentation

◆ Metadata

const Constant* llvm::GCRoot::Metadata

Metadata straight from the call to llvm.gcroot.

Definition at line 70 of file GCMetadata.h.

◆ Num

int llvm::GCRoot::Num

Usually a frame index.

Definition at line 68 of file GCMetadata.h.

◆ StackOffset

int llvm::GCRoot::StackOffset = -1

Offset from the stack pointer.

Definition at line 69 of file GCMetadata.h.


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