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

Lines Matching refs:BlockID

87 static const char *GetBlockName(unsigned BlockID,
91 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
92 if (BlockID == bitc::BLOCKINFO_BLOCK_ID)
99 BlockInfo.getBlockInfo(BlockID)) {
107 switch (BlockID) {
135 static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
139 if (BlockID < bitc::FIRST_APPLICATION_BLOCKID) {
140 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
153 BlockInfo.getBlockInfo(BlockID)) {
165 switch (BlockID) {
488 static bool decodeBlob(unsigned Code, unsigned BlockID, StringRef Indent,
490 if (BlockID != bitc::METADATA_BLOCK_ID)
500 unsigned BlockID, unsigned IndentLevel,
505 // Get the statistics for this BlockID.
506 PerBlockIDStats &BlockStats = BlockIDStats[BlockID];
512 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
525 if (Stream.EnterSubBlock(BlockID, &NumWords))
534 if ((BlockName = GetBlockName(BlockID, BlockInfo, CurStreamType)))
537 outs() << "UnknownBlock" << BlockID;
540 outs() << " BlockID=" << BlockID;
572 outs() << "UnknownBlock" << BlockID << ">\n";
622 GetCodeName(Code, BlockID, BlockInfo, CurStreamType))
626 if (NonSymbolic && GetCodeName(Code, BlockID, BlockInfo, CurStreamType))
639 if (BlockID == bitc::METADATA_BLOCK_ID) {
659 if (BlockID == bitc::MODULE_BLOCK_ID && Code == bitc::MODULE_CODE_HASH &&
714 if (Blob.data() && decodeBlob(Code, BlockID, Indent, Record, Blob)) {
853 unsigned BlockID = BlockInfoCursor.ReadSubBlockID();
854 if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
875 unsigned BlockID = Stream.ReadSubBlockID();
877 if (ParseBlock(Stream, BlockInfo, BlockID, 0, CurStreamType))