GCOVBlock - Collects block information.
Declared in <llvm/ProfileData/GCOV.h>
class GCOVBlock;
| Name | Description |
|---|---|
BlockVector | List of basic-block pointers. |
BlockVectorLists | List of basic-block lists, used when computing cycles. |
EdgeIterator | Const iterator over arcs incident to this block. |
Edges | List of arc pointers. |
| Name | Description |
|---|---|
GCOVBlock [constructor] | Construct a block with the given block number. |
addDstEdge | Record an outgoing arc from this block. |
addFile | Start a new file location for source file index fileIdx. |
addLine | Append source line N to the current file location. |
addSrcEdge | Record an incoming arc to this block. |
dsts | Return a range over the successor arcs of this block. |
dump | Dump a textual summary of this block to standard error. |
getCount | Return the execution count of this block. |
getLastLine | Return the most recently recorded source line number. |
print | Print a textual summary of this block to OS. |
srcs | Return a range over the predecessor arcs of this block. |
| Name | Description |
|---|---|
augmentOneCycle | Augment cycle counts along one cycle found from src. |
getCyclesCount | Return the total cycle count over the given blocks. |
getLineCount | Return the number of source lines covered by the given blocks. |
| Name | Description |
|---|---|
count | Execution count of this block. |
incoming | Incoming arc used while detecting cycles; may be null. |
lastLine | Most recently recorded source line for this block. |
locations | Source file locations and lines belonging to this block. |
number | Block number from the notes file. |
pred | Incoming arcs to this block. |
succ | Outgoing arcs from this block. |
traversable | True when this block may still be traversed for cycle detection. |