LLVM: llvm::remarks::BitstreamParserHelper Struct Reference (original) (raw)
Helper to parse any bitstream remark container. More...
#include "[Remarks/BitstreamRemarkParser.h](BitstreamRemarkParser%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| BitstreamParserHelper (StringRef Buffer) | |
| Start parsing at Buffer. | |
| Error | expectMagic () |
| Parse and validate the magic number. | |
| Error | parseBlockInfoBlock () |
| Parse the block info block containing all the abbrevs. | |
| Error | parseMeta () |
| Parse all metadata blocks in the file. This populates the meta helper. | |
| Error | parseRemark () |
| Parse the next remark. This populates the remark helper data. |
| Public Attributes | |
|---|---|
| BitstreamCursor | Stream |
| The Bitstream reader. | |
| BitstreamBlockInfo | BlockInfo |
| The block info block. | |
| BitstreamMetaParserHelper | MetaHelper |
| Helper to parse the metadata blocks in this bitstream. | |
| std::optional< BitstreamRemarkParserHelper > | RemarksHelper |
| Helper to parse the remark blocks in this bitstream. | |
| std::optional< uint64_t > | RemarkStartBitPos |
| The position of the first remark block we encounter after the initial metadata block. |
Helper to parse any bitstream remark container.
Definition at line 185 of file BitstreamRemarkParser.h.
| llvm::remarks::BitstreamParserHelper::BitstreamParserHelper ( StringRef Buffer) | inline |
|---|
◆ expectMagic()
| Error BitstreamParserHelper::expectMagic | ( | ) |
|---|
◆ parseBlockInfoBlock()
| Error BitstreamParserHelper::parseBlockInfoBlock | ( | ) |
|---|
◆ parseMeta()
| Error BitstreamParserHelper::parseMeta | ( | ) |
|---|
◆ parseRemark()
| Error BitstreamParserHelper::parseRemark | ( | ) |
|---|
◆ BlockInfo
◆ MetaHelper
◆ RemarksHelper
◆ RemarkStartBitPos
std::optional<uint64_t> llvm::remarks::BitstreamParserHelper::RemarkStartBitPos
◆ Stream
The documentation for this struct was generated from the following files:
- lib/Remarks/BitstreamRemarkParser.h
- lib/Remarks/BitstreamRemarkParser.cpp