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

Lines Matching defs:BlockID

85 static const char *GetBlockName(unsigned BlockID,
89 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
90 if (BlockID == bitc::BLOCKINFO_BLOCK_ID)
97 StreamFile.getBlockInfo(BlockID)) {
105 switch (BlockID) {
128 static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
132 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
133 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
146 StreamFile.getBlockInfo(BlockID)) {
158 switch (BlockID) {
398 static bool ParseBlock(BitstreamCursor &Stream, unsigned BlockID,
403 // Get the statistics for this BlockID.
404 PerBlockIDStats &BlockStats = BlockIDStats[BlockID];
409 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
419 if (Stream.EnterSubBlock(BlockID, &NumWords))
425 if ((BlockName = GetBlockName(BlockID, *Stream.getBitStreamReader(),
429 outs() << "UnknownBlock" << BlockID;
432 outs() << " BlockID=" << BlockID;
461 outs() << "UnknownBlock" << BlockID << ">\n";
509 GetCodeName(Code, BlockID, *Stream.getBitStreamReader(),
515 GetCodeName(Code, BlockID, *Stream.getBitStreamReader(),
656 unsigned BlockID = BlockInfoCursor.ReadSubBlockID();
657 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
677 unsigned BlockID = Stream.ReadSubBlockID();
679 if (ParseBlock(Stream, BlockID, 0, CurStreamType))