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);

Return Value

True if the edge can be added without creating a cycle.

Parameters

Name

Description

SuccSU

Candidate successor scheduling unit.

PredSU

Candidate predecessor scheduling unit.

Created with MrDocs