llvm::hasLessThanNumFused

Checks if the number of cluster edges between SU and its predecessors is less than FuseLimit.

Synopsis

Declared in <llvm/CodeGen/MacroFusion.h>

bool
hasLessThanNumFused(
    SUnit const& SU,
    unsigned int FuseLimit);

Return Value

True if the predecessor cluster chain is shorter than FuseLimit.

Parameters

NameDescription
SUScheduling unit whose predecessor cluster chain is counted.
FuseLimitMaximum length of the fused cluster chain.