Lines Matching refs:BlockID
82 static const char *GetBlockName(unsigned BlockID, in GetBlockName() argument
85 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetBlockName()
86 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) in GetBlockName()
93 StreamFile.getBlockInfo(BlockID)) { in GetBlockName()
101 switch (BlockID) { in GetBlockName()
118 static const char *GetCodeName(unsigned CodeID, unsigned BlockID, in GetCodeName() argument
121 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) { in GetCodeName()
122 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in GetCodeName()
135 StreamFile.getBlockInfo(BlockID)) { in GetCodeName()
144 switch (BlockID) { in GetCodeName()
327 unsigned BlockID = Stream.ReadSubBlockID(); in ParseBlock() local
330 PerBlockIDStats &BlockStats = BlockIDStats[BlockID]; in ParseBlock()
335 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) { in ParseBlock()
345 if (Stream.EnterSubBlock(BlockID, &NumWords)) in ParseBlock()
351 if ((BlockName = GetBlockName(BlockID, *Stream.getBitStreamReader()))) in ParseBlock()
354 errs() << "UnknownBlock" << BlockID; in ParseBlock()
357 errs() << " BlockID=" << BlockID; in ParseBlock()
385 errs() << "UnknownBlock" << BlockID << ">\n"; in ParseBlock()
429 GetCodeName(Code, BlockID, *Stream.getBitStreamReader())) in ParseBlock()
434 GetCodeName(Code, BlockID, *Stream.getBitStreamReader())) in ParseBlock()