Live physical register unit with its defining or reading operand.
Declared in <llvm/CodeGen/MachineTraceMetrics.h>
struct LiveRegUnit;
Keep track of physreg data dependencies by recording each live register unit. Associate each regunit with an instruction operand. Depending on the direction instructions are scanned, it could be the operand that defined the regunit, or the highest operand to read the regunit.
| Name | Description |
|---|---|
LiveRegUnit [constructor] | Construct a live regunit entry for RU. |
getSparseSetIndex | Return the sparse-set index for this regunit. |
| Name | Description |
|---|---|
Cycle | Cycle at which RegUnit is defined or last read. |
MI | Instruction associated with Op. |
Op | Operand index of MI that defines or reads RegUnit. |
RegUnit | Physical register unit being tracked. |