llvm::GCFunctionInfo

Garbage collection metadata for a single function. Currently, this information only applies to GCStrategies which use GCRoot.

Synopsis

Declared in <llvm/CodeGen/GCMetadata.h>

class GCFunctionInfo;

Type Aliases

Name
iterator
live_iterator
roots_iterator

Member Functions

NameDescription
GCFunctionInfo [constructor]Constructor
~GCFunctionInfo [destructor]Destructor
addSafePoint addSafePoint - Notes the existence of a safe point. Num is the ID of the label just prior to the safe point (if the code generator is using MachineModuleInfo).
addStackRoot addStackRoot - Registers a root that lives on the stack. Num is the stack object ID for the alloca (if the code generator is
begin begin/end - Iterators for safe points.
end
getFrameSize getFrameSize/setFrameSize - Records the function's frame size.
getFunction getFunction - Return the function to which this metadata applies.
getStrategy getStrategy - Return the GC strategy for the function.
invalidate Handle invalidation explicitly.
live_begin live_begin/live_end - Iterators for live roots at a given safe point.
live_end
live_size
removeStackRoot removeStackRoot - Removes a root.
roots_begin roots_begin/roots_end - Iterators for all roots in the function.
roots_end
roots_size
setFrameSize
size