llvm::GCOVBlock::augmentOneCycle

Augment cycle counts along one cycle found from src.

Synopsis

Declared in <llvm/ProfileData/GCOV.h>

static
uint64_t
augmentOneCycle(
    GCOVBlock* src,
    std::vector<std::pair<GCOVBlock*, size_t>>& stack);

Return Value

Cycle count discovered for one cycle, or zero if none.

Parameters

NameDescription
srcBlock used as the search root for a cycle.
stackWork stack of blocks and successor indices.