Declared in <llvm/CGData/CodeGenDataReader.h>
class IndexedCodeGenDataReader
: public CodeGenDataReader
| Name | Description |
|---|---|
CodeGenDataReader |
| Name | Description |
|---|---|
IndexedCodeGenDataReader [constructor] | Constructors |
operator= [deleted] | Copy assignment operator |
getDataKind [virtual] | Return the codegen data kind. |
getVersion [virtual] | Return the codegen data version. |
hasOutlinedHashTree [virtual] | Return true if the header indicates the data has an outlined hash tree. This does not mean that the data is still available. |
hasStableFunctionMap [virtual] | Return true if the header indicates the data has a stable function map. |
read [virtual] | Read the contents including the header. |
releaseOutlinedHashTree | Return the outlined hash tree that is released from the reader. |
releaseStableFunctionMap |
| Name | Description |
|---|---|
create | create overloads |
hasFormat | Return true if the given buffer is in binary codegen data format. |
mergeFromObjectFile | Extract the cgdata embedded in sections from the given object file and merge them into the GlobalOutlineRecord. This is a static helper that is used by llvm-cgdata --merge or ThinLTO's two-codegen rounds. Optionally, CombinedHash can be used to compuate the combined hash of the merged data. |
| Name | Description |
|---|---|
error | Set the current error and return same. |
success | Clear the current error and return a successful one. |
| Name | Description |
|---|---|
FunctionMapRecord | The stable function map that has been read. When it's released by |
HashTreeRecord | The outlined hash tree that has been read. When it's released by releaseOutlinedHashTree(), it's no longer valid. |