ΒΆbool tryLess(
    int TryVal,
    int CandVal,
    GenericSchedulerBase::SchedCandidate& TryCand,
    GenericSchedulerBase::SchedCandidate& Cand,
    GenericSchedulerBase::CandReason Reason)

Description

Return true if this heuristic determines order. TODO: Consider refactor return type of these functions as integer or enum, as we may need to differentiate whether TryCand is better than Cand.

Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:931

Parameters

int TryVal
int CandVal
GenericSchedulerBase::SchedCandidate& TryCand
GenericSchedulerBase::SchedCandidate& Cand
GenericSchedulerBase::CandReason Reason