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 |
Description |
Iterator over safe points in this function. |
|
Const iterator over roots treated as live at a safe point. |
|
Iterator over all GC roots in this function. |
Member Functions
Name |
Description |
|
Construct GC metadata for function |
|
Destroy this function's GC metadata. |
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). |
|
Register a root that lives on the stack. |
|
begin/end ‐ Iterators for safe points. |
|
Return an iterator past the last safe point. |
|
getFrameSize/setFrameSize ‐ Records the function's frame size. |
|
getFunction ‐ Return the function to which this metadata applies. |
|
getStrategy ‐ Return the GC strategy for the function. |
|
Handle invalidation explicitly. |
|
live_begin/live_end ‐ Iterators for live roots at a given safe point. |
|
Return an iterator past the last live root at safe point |
|
Return the number of live roots at safe point |
|
removeStackRoot ‐ Removes a root. |
|
roots_begin/roots_end ‐ Iterators for all roots in the function. |
|
Return an iterator past the last root in the function. |
|
Return the number of roots in the function. |
|
Record the function's frame size in bytes. |
|
Return the number of safe points in this function. |
Created with MrDocs