LLVM API Documentation
#include <BitstreamReader.h>
Public Member Functions | |
| BitstreamReader () | |
| BitstreamReader (const unsigned char *Start, const unsigned char *End) | |
| void | init (const unsigned char *Start, const unsigned char *End) |
| ~BitstreamReader () | |
| const unsigned char * | getFirstChar () const |
| const unsigned char * | getLastChar () const |
| void | CollectBlockInfoNames () |
| bool | isIgnoringBlockInfoNames () |
| bool | hasBlockInfoRecords () const |
| const BlockInfo * | getBlockInfo (unsigned BlockID) const |
| BlockInfo & | getOrCreateBlockInfo (unsigned BlockID) |
Classes | |
| struct | BlockInfo |
Definition at line 26 of file BitstreamReader.h.
| llvm::BitstreamReader::BitstreamReader | ( | ) | [inline] |
Definition at line 52 of file BitstreamReader.h.
| llvm::BitstreamReader::~BitstreamReader | ( | ) | [inline] |
Definition at line 66 of file BitstreamReader.h.
References llvm::BitstreamReader::BlockInfo::Abbrevs.
| void llvm::BitstreamReader::init | ( | const unsigned char * | Start, | |
| const unsigned char * | End | |||
| ) | [inline] |
Definition at line 60 of file BitstreamReader.h.
Referenced by BitstreamReader(), and llvm::BitcodeReader::ParseBitcode().
| const unsigned char* llvm::BitstreamReader::getFirstChar | ( | ) | const [inline] |
Definition at line 78 of file BitstreamReader.h.
Referenced by llvm::BitstreamCursor::BitstreamCursor(), llvm::BitstreamCursor::GetCurrentBitNo(), llvm::BitstreamCursor::init(), and llvm::BitstreamCursor::JumpToBit().
| const unsigned char* llvm::BitstreamReader::getLastChar | ( | ) | const [inline] |
Definition at line 79 of file BitstreamReader.h.
Referenced by llvm::BitstreamCursor::AtEndOfStream(), llvm::BitstreamCursor::EnterSubBlock(), llvm::BitstreamCursor::JumpToBit(), llvm::BitstreamCursor::Read(), llvm::BitstreamCursor::ReadRecord(), and llvm::BitstreamCursor::SkipBlock().
| void llvm::BitstreamReader::CollectBlockInfoNames | ( | ) | [inline] |
CollectBlockInfoNames - This is called by clients that want block/record name information.
Definition at line 83 of file BitstreamReader.h.
| bool llvm::BitstreamReader::isIgnoringBlockInfoNames | ( | ) | [inline] |
Definition at line 84 of file BitstreamReader.h.
Referenced by llvm::BitstreamCursor::ReadBlockInfoBlock().
| bool llvm::BitstreamReader::hasBlockInfoRecords | ( | ) | const [inline] |
hasBlockInfoRecords - Return true if we've already read and processed the block info block for this Bitstream. We only process it for the first cursor that walks over it.
Definition at line 93 of file BitstreamReader.h.
Referenced by llvm::BitstreamCursor::ReadBlockInfoBlock().
getBlockInfo - If there is block info for the specified ID, return it, otherwise return null.
Definition at line 97 of file BitstreamReader.h.
Referenced by llvm::BitstreamCursor::EnterSubBlock(), and getOrCreateBlockInfo().
Definition at line 109 of file BitstreamReader.h.
References BlockInfo, and getBlockInfo().
Referenced by llvm::BitstreamCursor::ReadBlockInfoBlock().