Bias candidate selection toward physreg copies near their users.

Synopsis

Declared in <llvm/CodeGen/MachineScheduler.h>

bool
tryBiasPhysRegs(
    GenericSchedulerBase::SchedCandidate& TryCand,
    GenericSchedulerBase::SchedCandidate& Cand,
    SchedBoundary* Zone,
    bool BiasPRegsExtra);

Return Value

True if TryCand replaced Cand due to physreg bias.

Parameters

Name

Description

TryCand

Tentative candidate being compared.

Cand

Current best candidate, updated on success.

Zone

Boundary used for physreg bias, or null.

BiasPRegsExtra

Enable additional physreg bias cases.

Created with MrDocs