llvm::ScheduleDAGInstrs::canAddEdge

True if an edge can be added from PredSU to SuccSU without creating a cycle.

Synopsis

Declared in <llvm/CodeGen/ScheduleDAGInstrs.h>

bool
canAddEdge(
    SUnit* SuccSU,
    SUnit* PredSU);

Parameters

NameDescription
SuccSUScheduling unit. This is a node in the scheduling DAG.
PredSUScheduling unit. This is a node in the scheduling DAG.