struct MCReadAdvanceEntry

Declaration

struct MCReadAdvanceEntry { /* full declaration omitted */ };

Description

Specify the number of cycles allowed after instruction issue before a particular use operand reads its registers. 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.

Declared at: llvm/include/llvm/MC/MCSchedule.h:95

Member Variables

public unsigned int UseIdx
public unsigned int WriteResourceID
public int Cycles