Represent the ILP of the subDAG rooted at a DAG node.

Synopsis

Declared in <llvm/CodeGen/ScheduleDFS.h>

struct ILPValue;

Description

ILPValues summarize the DAG subtree rooted at each node. ILPValues are valid for all nodes regardless of their subtree membership.

When computed using bottom‐up DFS, this metric assumes that the DAG is a forest of trees with roots at the bottom of the schedule branching upward.

Member Functions

Name

Description

ILPValue [constructor]

Construct an ILP metric from an instruction count and a path length.

dump

Dump this ILP value to the debug stream.

print

Print this ILP value to OS.

operator<

Return true if this ILP is strictly less than RHS.

operator<=

Return true if this ILP is less than or equal to RHS.

operator>

Return true if this ILP is strictly greater than RHS.

operator>=

Return true if this ILP is greater than or equal to RHS.

Data Members

Name

Description

InstrCount

Number of instructions in the subDAG rooted at this node.

Length

Length may either correspond to depth or height, depending on direction, and cycles or nodes depending on context.

Created with MrDocs