Lines Matching defs:BlockID
82 static const char *GetBlockName(unsigned BlockID,
85 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
86 if (BlockID == bitc::BLOCKINFO_BLOCK_ID)
93 StreamFile.getBlockInfo(BlockID)) {
101 switch (BlockID) {
118 static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
121 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
122 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
135 StreamFile.getBlockInfo(BlockID)) {
144 switch (BlockID) {
325 static bool ParseBlock(BitstreamCursor &Stream, unsigned BlockID,
330 // Get the statistics for this BlockID.
331 PerBlockIDStats &BlockStats = BlockIDStats[BlockID];
336 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
346 if (Stream.EnterSubBlock(BlockID, &NumWords))
352 if ((BlockName = GetBlockName(BlockID, *Stream.getBitStreamReader())))
355 outs() << "UnknownBlock" << BlockID;
358 outs() << " BlockID=" << BlockID;
387 outs() << "UnknownBlock" << BlockID << ">\n";
435 GetCodeName(Code, BlockID, *Stream.getBitStreamReader()))
440 GetCodeName(Code, BlockID, *Stream.getBitStreamReader()))
528 unsigned BlockID = Stream.ReadSubBlockID();
530 if (ParseBlock(Stream, BlockID, 0))