LLVM: llvm::remarks::BitstreamRemarkParser Struct Reference (original) (raw)
Parses and holds the state of the latest parsed remark. More...
#include "[Remarks/BitstreamRemarkParser.h](BitstreamRemarkParser%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| BitstreamRemarkParser (StringRef Buf) | |
| Create a parser that expects to find a string table embedded in the stream. | |
| Expected< std::unique_ptr< Remark > > | next () override |
| If no error occurs, this returns a valid Remark object. | |
| Error | parseMeta () |
| Parse and process the metadata of the buffer. | |
| Public Member Functions inherited from llvm::remarks::RemarkParser | |
| RemarkParser (Format ParserFormat) | |
| virtual | ~RemarkParser ()=default |
| Public Attributes | |
|---|---|
| std::optional< BitstreamParserHelper > | ParserHelper |
| The buffer to parse. | |
| std::optional< ParsedStringTable > | StrTab |
| The string table used for parsing strings. | |
| std::unique_ptr< MemoryBuffer > | TmpRemarkBuffer |
| Temporary remark buffer used when the remarks are stored separately. | |
| bool | IsMetaReady = false |
| Whether the metadata has already been parsed, so we can continue parsing remarks. | |
| uint64_t | ContainerVersion = 0 |
| The common metadata used to decide how to parse the buffer. | |
| uint64_t | RemarkVersion = 0 |
| BitstreamRemarkContainerType | ContainerType |
| Public Attributes inherited from llvm::remarks::RemarkParser | |
| Format | ParserFormat |
| The format of the parser. | |
| std::string | ExternalFilePrependPath |
| Path to prepend when opening an external remark file. |
Parses and holds the state of the latest parsed remark.
Definition at line 217 of file BitstreamRemarkParser.h.
| BitstreamRemarkParser::BitstreamRemarkParser ( StringRef Buf) | explicit |
|---|
◆ classof()
◆ next()
| Expected< std::unique_ptr< Remark > > BitstreamRemarkParser::next ( ) | overridevirtual |
|---|
◆ parseMeta()
| Error BitstreamRemarkParser::parseMeta | ( | ) |
|---|
◆ ContainerType
◆ ContainerVersion
uint64_t llvm::remarks::BitstreamRemarkParser::ContainerVersion = 0
The common metadata used to decide how to parse the buffer.
This is filled when parsing the metadata block.
Definition at line 229 of file BitstreamRemarkParser.h.
◆ IsMetaReady
bool llvm::remarks::BitstreamRemarkParser::IsMetaReady = false
◆ ParserHelper
◆ RemarkVersion
uint64_t llvm::remarks::BitstreamRemarkParser::RemarkVersion = 0
◆ StrTab
◆ TmpRemarkBuffer
std::unique_ptr<MemoryBuffer> llvm::remarks::BitstreamRemarkParser::TmpRemarkBuffer
The documentation for this struct was generated from the following files:
- lib/Remarks/BitstreamRemarkParser.h
- lib/Remarks/BitstreamRemarkParser.cpp