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

Lines Matching refs:Code

58                                  cl::desc("Do not print per-code histogram"));

116 /// GetCodeName - Return a symbolic code name if known, otherwise return
304 /// CodeFreq - Keep track of the number of times we see each code.
372 // Read the code for this record.
413 unsigned Code = Stream.ReadRecord(AbbrevID, Record, BlobStart, BlobLen);
417 // Increment the # occurrences of this code.
418 if (BlockStats.CodeFreq.size() <= Code)
419 BlockStats.CodeFreq.resize(Code+1);
420 BlockStats.CodeFreq[Code].NumInstances++;
421 BlockStats.CodeFreq[Code].TotalBits +=
424 BlockStats.CodeFreq[Code].NumAbbrev++;
429 GetCodeName(Code, BlockID, *Stream.getBitStreamReader()))
432 errs() << "UnknownCode" << Code;
434 GetCodeName(Code, BlockID, *Stream.getBitStreamReader()))
435 errs() << " codeid=" << Code;
521 unsigned Code = Stream.ReadCode();
522 if (Code != bitc::ENTER_SUBBLOCK)
586 std::vector<std::pair<unsigned, unsigned> > FreqPairs; // <freq,code>