|
LLVM
10.0.0
|
Helper to parse a REMARK_BLOCK for a bitstream remark container. More...
#include "llvm/Remarks/BitstreamRemarkParser.h"
Classes | |
| struct | Argument |
Public Member Functions | |
| BitstreamRemarkParserHelper (BitstreamCursor &Stream) | |
Continue parsing with Stream. More... | |
| Error | parse () |
| Parse the REMARK_BLOCK and fill the available entries. More... | |
Public Attributes | |
| BitstreamCursor & | Stream |
| The Bitstream reader. More... | |
| Optional< uint8_t > | Type |
| The parsed content: depending on the remark, some fields might be empty. More... | |
| Optional< uint64_t > | RemarkNameIdx |
| Optional< uint64_t > | PassNameIdx |
| Optional< uint64_t > | FunctionNameIdx |
| Optional< uint64_t > | SourceFileNameIdx |
| Optional< uint32_t > | SourceLine |
| Optional< uint32_t > | SourceColumn |
| Optional< uint64_t > | Hotness |
| Optional< ArrayRef< Argument > > | Args |
| SmallVector< Argument, 8 > | TmpArgs |
| Avoid re-allocating a vector every time. More... | |
Helper to parse a REMARK_BLOCK for a bitstream remark container.
Definition at line 54 of file BitstreamRemarkParser.h.
| BitstreamRemarkParserHelper::BitstreamRemarkParserHelper | ( | BitstreamCursor & | Stream | ) |
Continue parsing with Stream.
Stream is expected to contain a ENTER_SUBBLOCK to the REMARK_BLOCK at the current position. Stream is expected to have a BLOCKINFO_BLOCK set and to have already parsed the META_BLOCK.
Definition at line 84 of file BitstreamRemarkParser.cpp.
| Error BitstreamRemarkParserHelper::parse | ( | ) |
Parse the REMARK_BLOCK and fill the available entries.
This helper does not check for the validity of the fields.
Definition at line 205 of file BitstreamRemarkParser.cpp.
References parseBlock(), and llvm::remarks::REMARK_BLOCK_ID.
Referenced by llvm::remarks::BitstreamRemarkParser::parseRemark().
Definition at line 73 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
| Optional<uint64_t> llvm::remarks::BitstreamRemarkParserHelper::FunctionNameIdx |
Definition at line 61 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
| Optional<uint64_t> llvm::remarks::BitstreamRemarkParserHelper::Hotness |
Definition at line 65 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
| Optional<uint64_t> llvm::remarks::BitstreamRemarkParserHelper::PassNameIdx |
Definition at line 60 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
| Optional<uint64_t> llvm::remarks::BitstreamRemarkParserHelper::RemarkNameIdx |
Definition at line 59 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
Definition at line 64 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
| Optional<uint64_t> llvm::remarks::BitstreamRemarkParserHelper::SourceFileNameIdx |
Definition at line 62 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
Definition at line 63 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
| BitstreamCursor& llvm::remarks::BitstreamRemarkParserHelper::Stream |
The Bitstream reader.
Definition at line 56 of file BitstreamRemarkParser.h.
Referenced by parseBlock(), and parseRecord().
| SmallVector<Argument, 8> llvm::remarks::BitstreamRemarkParserHelper::TmpArgs |
Avoid re-allocating a vector every time.
Definition at line 75 of file BitstreamRemarkParser.h.
Referenced by parseRecord().
| Optional<uint8_t> llvm::remarks::BitstreamRemarkParserHelper::Type |
The parsed content: depending on the remark, some fields might be empty.
Definition at line 58 of file BitstreamRemarkParser.h.
Referenced by parseRecord(), and llvm::remarks::BitstreamRemarkParser::parseRemark().
1.8.13