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

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) {
327 unsigned BlockID = Stream.ReadSubBlockID();
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 errs() << "UnknownBlock" << BlockID;
357 errs() << " BlockID=" << BlockID;
385 errs() << "UnknownBlock" << BlockID << ">\n";
429 GetCodeName(Code, BlockID, *Stream.getBitStreamReader()))
434 GetCodeName(Code, BlockID, *Stream.getBitStreamReader()))