Home | History | Annotate | Download | only in llvm-bcanalyzer

Lines Matching defs:BlockID

81 static const char *GetBlockName(unsigned BlockID,
84 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
85 if (BlockID == bitc::BLOCKINFO_BLOCK_ID)
92 StreamFile.getBlockInfo(BlockID)) {
100 switch (BlockID) {
117 static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
120 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
121 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
134 StreamFile.getBlockInfo(BlockID)) {
143 switch (BlockID) {
324 static bool ParseBlock(BitstreamCursor &Stream, unsigned BlockID,
329 // Get the statistics for this BlockID.
330 PerBlockIDStats &BlockStats = BlockIDStats[BlockID];
335 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
345 if (Stream.EnterSubBlock(BlockID, &NumWords))
351 if ((BlockName = GetBlockName(BlockID, *Stream.getBitStreamReader())))
354 outs() << "UnknownBlock" << BlockID;
357 outs() << " BlockID=" << BlockID;
386 outs() << "UnknownBlock" << BlockID << ">\n";
434 GetCodeName(Code, BlockID, *Stream.getBitStreamReader()))
439 GetCodeName(Code, BlockID, *Stream.getBitStreamReader()))
527 unsigned BlockID = Stream.ReadSubBlockID();
529 if (ParseBlock(Stream, BlockID, 0))