LLVM 20.0.0git
|
#include "llvm/CodeGenData/OutlinedHashTreeRecord.h"
Public Member Functions | |
OutlinedHashTreeRecord () | |
OutlinedHashTreeRecord (std::unique_ptr< OutlinedHashTree > HashTree) | |
void | serialize (raw_ostream &OS) const |
Serialize the outlined hash tree to a raw_ostream. | |
void | deserialize (const unsigned char *&Ptr) |
Deserialize the outlined hash tree from a raw_ostream. | |
void | serializeYAML (yaml::Output &YOS) const |
Serialize the outlined hash tree to a YAML stream. | |
void | deserializeYAML (yaml::Input &YIS) |
Deserialize the outlined hash tree from a YAML stream. | |
void | merge (const OutlinedHashTreeRecord &Other) |
Merge the other outlined hash tree into this one. | |
bool | empty () const |
void | print (raw_ostream &OS=llvm::errs()) const |
Print the outlined hash tree in a YAML format. | |
Public Attributes | |
std::unique_ptr< OutlinedHashTree > | HashTree |
Definition at line 35 of file OutlinedHashTreeRecord.h.
|
inline |
Definition at line 38 of file OutlinedHashTreeRecord.h.
References HashTree.
|
inline |
Definition at line 39 of file OutlinedHashTreeRecord.h.
Deserialize the outlined hash tree from a raw_ostream.
Definition at line 74 of file OutlinedHashTreeRecord.cpp.
References llvm::HashNodeStable::Hash, I, Ptr, llvm::HashNodeStable::SuccessorIds, and llvm::HashNodeStable::Terminals.
void OutlinedHashTreeRecord::deserializeYAML | ( | yaml::Input & | YIS | ) |
Deserialize the outlined hash tree from a YAML stream.
Definition at line 105 of file OutlinedHashTreeRecord.cpp.
|
inline |
Definition at line 57 of file OutlinedHashTreeRecord.h.
References HashTree.
|
inline |
Merge the other outlined hash tree into this one.
Definition at line 52 of file OutlinedHashTreeRecord.h.
References HashTree, and llvm::Other.
|
inline |
Print the outlined hash tree in a YAML format.
Definition at line 60 of file OutlinedHashTreeRecord.h.
References OS, and serializeYAML().
void OutlinedHashTreeRecord::serialize | ( | raw_ostream & | OS | ) | const |
Serialize the outlined hash tree to a raw_ostream.
Definition at line 58 of file OutlinedHashTreeRecord.cpp.
References llvm::little, OS, and llvm::support::endian::Writer::write().
void OutlinedHashTreeRecord::serializeYAML | ( | yaml::Output & | YOS | ) | const |
Serialize the outlined hash tree to a YAML stream.
Definition at line 98 of file OutlinedHashTreeRecord.cpp.
Referenced by print().
std::unique_ptr<OutlinedHashTree> llvm::OutlinedHashTreeRecord::HashTree |
Definition at line 36 of file OutlinedHashTreeRecord.h.
Referenced by empty(), merge(), and OutlinedHashTreeRecord().