|
LLVM 22.0.0git
|
#include "Remarks/BitstreamRemarkParser.h"
Public Member Functions | |
| Error | parseBlock () |
| Enter, parse, and leave this bitstream block. | |
| Public Member Functions inherited from llvm::remarks::BitstreamBlockParserHelperBase | |
| BitstreamBlockParserHelperBase (BitstreamCursor &Stream, unsigned BlockID, StringRef BlockName) | |
| template<typename... Ts> | |
| Error | error (char const *Fmt, const Ts &...Vals) |
| Error | expectBlock () |
Protected Member Functions | |
| Derived & | derived () |
| Error | parseRecord (unsigned Code)=delete |
| Parse a record and fill in the fields in the parser. | |
| Error | parseSubBlock (unsigned Code) |
| Parse a subblock and fill in the fields in the parser. | |
| BitstreamBlockParserHelperBase (BitstreamCursor &Stream, unsigned BlockID, StringRef BlockName) | |
| Protected Member Functions inherited from llvm::remarks::BitstreamBlockParserHelperBase | |
| Error | enterBlock () |
| Error | unknownRecord (unsigned AbbrevID) |
| Error | unexpectedRecord (StringRef RecordName) |
| Error | malformedRecord (StringRef RecordName) |
| Error | unexpectedBlock (unsigned Code) |
Additional Inherited Members | |
| Protected Attributes inherited from llvm::remarks::BitstreamBlockParserHelperBase | |
| BitstreamCursor & | Stream |
| StringRef | BlockName |
| unsigned | BlockID |
Definition at line 66 of file BitstreamRemarkParser.h.
|
inlineprotected |
Definition at line 40 of file BitstreamRemarkParser.h.
|
inlineprotected |
Definition at line 69 of file BitstreamRemarkParser.h.
Referenced by llvm::remarks::BitstreamMetaParserHelper::BitstreamBlockParserHelper< BitstreamMetaParserHelper >.
|
inline |
Enter, parse, and leave this bitstream block.
This expects the BitstreamCursor to be right after the SubBlock entry (i.e. after calling expectBlock).
Definition at line 83 of file BitstreamRemarkParser.h.
|
protecteddelete |
Parse a record and fill in the fields in the parser.
The subclass must statically override this method.
Referenced by llvm::remarks::BitstreamMetaParserHelper::BitstreamBlockParserHelper< BitstreamMetaParserHelper >.
|
inlineprotected |
Parse a subblock and fill in the fields in the parser.
The subclass can statically override this method.
Definition at line 77 of file BitstreamRemarkParser.h.
References llvm::remarks::BitstreamBlockParserHelperBase::unexpectedBlock().
Referenced by llvm::remarks::BitstreamMetaParserHelper::BitstreamBlockParserHelper< BitstreamMetaParserHelper >.