LLVM API Documentation

Public Types | Static Public Member Functions | Public Attributes
llvm::BitstreamEntry Struct Reference

#include <BitstreamReader.h>

Collaboration diagram for llvm::BitstreamEntry:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { Error, EndBlock, SubBlock, Record }

Static Public Member Functions

static BitstreamEntry getError ()
static BitstreamEntry getEndBlock ()
static BitstreamEntry getSubBlock (unsigned ID)
static BitstreamEntry getRecord (unsigned AbbrevID)

Public Attributes

enum llvm::BitstreamEntry:: { ... }  Kind
unsigned ID

Detailed Description

BitstreamEntry - When advancing through a bitstream cursor, each advance can discover a few different kinds of entries: Error - Malformed bitcode was found. EndBlock - We've reached the end of the current block, (or the end of the file, which is treated like a series of EndBlock records. SubBlock - This is the start of a new subblock of a specific ID. Record - This is a record with a specific AbbrevID.

Definition at line 146 of file BitstreamReader.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
Error 
EndBlock 
SubBlock 
Record 

Definition at line 147 of file BitstreamReader.h.


Member Function Documentation

Definition at line 159 of file BitstreamReader.h.

References EndBlock, and Kind.

Referenced by llvm::BitstreamCursor::advance().

static BitstreamEntry llvm::BitstreamEntry::getError ( ) [inline, static]
static BitstreamEntry llvm::BitstreamEntry::getRecord ( unsigned  AbbrevID) [inline, static]

Definition at line 165 of file BitstreamReader.h.

References ID, Kind, and Record.

Referenced by llvm::BitstreamCursor::advance().

Definition at line 162 of file BitstreamReader.h.

References ID, Kind, and SubBlock.

Referenced by llvm::BitstreamCursor::advance().


Member Data Documentation


The documentation for this struct was generated from the following file: