Specify how many cycles after issue a use may read its registers early.

Synopsis

Declared in <llvm/MC/MCSchedule.h>

struct MCReadAdvanceEntry;

Description

This effectively reduces the write's latency. Here we allow negative cycles for corner cases where latency increases. This rule only applies when the entry's WriteResource matches the write's WriteResource.

MCReadAdvanceEntries are sorted first by operand index (UseIdx), then by WriteResourceIdx.

Member Functions

Name

Description

operator==

Return true if this read‐advance entry equals Other.

Data Members

Name

Description

Cycles

Number of cycles of read advance (may be negative).

UseIdx

Operand index of the use that may read early.

WriteResourceID

Write resource ID that this advance applies to.

Created with MrDocs