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

Name

Description

SU

Scheduling unit whose predecessor cluster chain is counted.

FuseLimit

Maximum length of the fused cluster chain.

Created with MrDocs