LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | Public Attributes | List of all members
llvm::BitstreamEntry Struct Reference

#include <BitstreamReader.h>

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

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 138 of file BitstreamReader.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Error 
EndBlock 
SubBlock 
Record 

Definition at line 139 of file BitstreamReader.h.

Member Function Documentation

static BitstreamEntry llvm::BitstreamEntry::getEndBlock ( )
inlinestatic

Definition at line 151 of file BitstreamReader.h.

References EndBlock, and Kind.

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

static BitstreamEntry llvm::BitstreamEntry::getError ( )
inlinestatic
static BitstreamEntry llvm::BitstreamEntry::getRecord ( unsigned  AbbrevID)
inlinestatic

Definition at line 157 of file BitstreamReader.h.

References ID, Kind, and Record.

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

static BitstreamEntry llvm::BitstreamEntry::getSubBlock ( unsigned  ID)
inlinestatic

Definition at line 154 of file BitstreamReader.h.

References ID, Kind, and SubBlock.

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

Member Data Documentation

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

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