LLVM API Documentation
#include <GCMetadata.h>
Public Types | |
typedef std::vector< GCPoint > ::iterator | iterator |
typedef std::vector< GCRoot > ::iterator | roots_iterator |
typedef std::vector< GCRoot > ::const_iterator | live_iterator |
Public Member Functions | |
GCFunctionInfo (const Function &F, GCStrategy &S) | |
~GCFunctionInfo () | |
const Function & | getFunction () const |
GCStrategy & | getStrategy () |
void | addStackRoot (int Num, const Constant *Metadata) |
roots_iterator | removeStackRoot (roots_iterator position) |
removeStackRoot - Removes a root. More... | |
void | addSafePoint (GC::PointKind Kind, MCSymbol *Label, DebugLoc DL) |
uint64_t | getFrameSize () const |
void | setFrameSize (uint64_t S) |
iterator | begin () |
iterator | end () |
size_t | size () const |
roots_iterator | roots_begin () |
roots_iterator | roots_end () |
size_t | roots_size () const |
live_iterator | live_begin (const iterator &p) |
live_iterator | live_end (const iterator &p) |
size_t | live_size (const iterator &p) const |
GCFunctionInfo - Garbage collection metadata for a single function.
Definition at line 83 of file GCMetadata.h.
typedef std::vector<GCPoint>::iterator llvm::GCFunctionInfo::iterator |
Definition at line 85 of file GCMetadata.h.
typedef std::vector<GCRoot>::const_iterator llvm::GCFunctionInfo::live_iterator |
Definition at line 87 of file GCMetadata.h.
typedef std::vector<GCRoot>::iterator llvm::GCFunctionInfo::roots_iterator |
Definition at line 86 of file GCMetadata.h.
llvm::GCFunctionInfo::GCFunctionInfo | ( | const Function & | F, |
GCStrategy & | S | ||
) |
GCFunctionInfo::~GCFunctionInfo | ( | ) |
Definition at line 53 of file GCMetadata.cpp.
|
inline |
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).
Definition at line 133 of file GCMetadata.h.
|
inline |
addStackRoot - Registers a root that lives on the stack. Num is the stack object ID for the alloca (if the code generator is
Definition at line 121 of file GCMetadata.h.
|
inline |
begin/end - Iterators for safe points.
Definition at line 144 of file GCMetadata.h.
|
inline |
Definition at line 145 of file GCMetadata.h.
|
inline |
getFrameSize/setFrameSize - Records the function's frame size.
Definition at line 139 of file GCMetadata.h.
|
inline |
getFunction - Return the function to which this metadata applies.
Definition at line 112 of file GCMetadata.h.
|
inline |
getStrategy - Return the GC strategy for the function.
Definition at line 116 of file GCMetadata.h.
|
inline |
live_begin/live_end - Iterators for live roots at a given safe point.
Definition at line 156 of file GCMetadata.h.
References roots_begin().
|
inline |
Definition at line 157 of file GCMetadata.h.
References roots_end().
|
inline |
Definition at line 158 of file GCMetadata.h.
References roots_size().
|
inline |
removeStackRoot - Removes a root.
Definition at line 126 of file GCMetadata.h.
|
inline |
roots_begin/roots_end - Iterators for all roots in the function.
Definition at line 150 of file GCMetadata.h.
Referenced by live_begin().
|
inline |
Definition at line 151 of file GCMetadata.h.
Referenced by live_end().
|
inline |
Definition at line 152 of file GCMetadata.h.
Referenced by live_size().
|
inline |
Definition at line 140 of file GCMetadata.h.
|
inline |
Definition at line 146 of file GCMetadata.h.