Output dependency latency of a pair of defs of the same register.

Synopsis

Declared in <llvm/CodeGen/TargetSchedule.h>

unsigned int
computeOutputLatency(
    MachineInstr const* DefMI,
    unsigned int DefOperIdx,
    MachineInstr const* DepMI) const;

Description

This is typically one cycle.

Return Value

Output dependency latency in cycles between the two definitions.

Parameters

Name

Description

DefMI

First instruction that defines the register.

DefOperIdx

Operand index of the definition in DefMI.

DepMI

Dependent instruction that also defines the same register.

Created with MrDocs