Check the subgraph rooted at N for cycles.
Declared in <llvm/CodeGen/SelectionDAGNodes.h>
void
checkForCycles(
SDNode const* N,
SelectionDAG const* DAG = nullptr,
bool force = false);
When DAG is non-null, cycle diagnostics may include DAG context. When force is true, the check runs even in builds that normally skip it.
| Name | Description |
|---|---|
| N | Root node of the subgraph to check. |
| DAG | Optional SelectionDAG used for diagnostics. |
| force | Force the cycle check when true. |