Home | History | Annotate | Download | only in IR

Lines Matching refs:Line

112 /// collectLineCounts - Collect line counts. This must be used after
192 // read line table.
195 // Read the length of this line table.
209 // Read the word that pads the beginning of the line table. This may be a
214 // Line information starts here and continues up until the last word.
227 uint32_t Line;
228 if (!Buff.readInt(Line))
230 // Line 0 means this instruction was injected by the compiler. Skip it.
231 if (!Line)
233 Block.addLine(Line);
350 /// collectLineCounts - Collect line counts. This must be used after
353 // If the line number is zero, this is a function that doesn't actually appear
392 /// collectLineCounts - Collect line counts. This must be used after
491 StringRef Line;
493 Line = "/*EOF*/";
495 std::tie(Line, Remaining) = Remaining.split("\n");
496 OS << format("%5u:", LineNum) << Line << "\n";
567 /// print - Print source files with collected line count information.
584 const LineData &Line = LI.second;
586 for (uint32_t LineIndex = 0; LineIndex < Line.LastLine || !AllLines.empty();
589 FunctionLines::const_iterator FuncsIt = Line.Functions.find(LineIndex);
590 if (FuncsIt != Line.Functions.end())
594 BlockLines::const_iterator BlocksIt = Line.Blocks.find(LineIndex);
595 if (BlocksIt == Line.Blocks.end()) {
596 // No basic blocks are on this line. Not an executable line of code.
602 // Add up the block counts to form line counts.
607 // Only take the highest block count for that line.
616 // This is a slightly convoluted way to most accurately gather line
618 // don't want to count a single line with multiple blocks more than
619 // once. However, we also don't simply want to give the total line
620 // count to every function that starts on the line. Thus, what is
624 // 2) If there are multiple blocks on the same line, ensure that the