Compare TryCand against Cand and keep the better one.
Synopsis
Declared in <llvm/CodeGen/MachineScheduler.h>
virtual
bool
tryCandidate(
SchedCandidate& Cand,
SchedCandidate& TryCand);
Return Value
True if TryCand replaced Cand as the better candidate.
Parameters
Name |
Description |
Cand |
Current best candidate, updated on success. |
TryCand |
Tentative candidate being compared. |
Created with MrDocs