Holds a stable function map for serialization and deserialization.
Synopsis
Declared in <llvm/CGData/StableFunctionMapRecord.h>
struct StableFunctionMapRecord;
Description
The structure of the serialized stable function map is as follows:
-
Number of unique function/module names
-
Total size of unique function/module names for opt‐in skipping
-
Unique function/module names
-
Padding to align to 4 bytes
-
Number of StableFunctionEntries
-
Hashes of each StableFunctionEntry
-
Fixed‐size fields for each StableFunctionEntry (the order is consistent with the hashes above):
-
FunctionNameId
-
ModuleNameId
-
InstCount
-
Relative offset to the beginning of IndexOperandHashes for this entry
-
Total size of variable‐sized IndexOperandHashes for lazy‐loading support
-
Variable‐sized IndexOperandHashes for each StableFunctionEntry:
-
Number of IndexOperandHashes
-
Contents of each IndexOperandHashes
-
InstIndex
-
OpndIndex
-
OpndHash
Member Functions
Name |
Description |
|
Constructors |
Deserialize the stable function map from a raw_ostream. |
|
Deserialize the stable function map from a YAML stream. |
|
Check whether the stable function map is empty. |
|
Finalize the stable function map by trimming content. |
|
Lazily deserialize the stable function map from a buffer. |
|
Merge the stable function map into this one. |
|
Print the stable function map in a YAML format. |
|
Serialize the stable function map to a raw_ostream. |
|
Serialize the stable function map to a YAML stream. |
|
Set whether to read stable function names from the buffer. Has no effect if the function map is read from a YAML stream. |
Static Member Functions
Name |
Description |
Deserialize a single stable function map entry. |
|
Serialize a stable function map without owning it. |
Data Members
Name |
Description |
Owned stable function map held by this record. |
Created with MrDocs