LLVM 19.0.0git
Public Attributes | List of all members
llvm::MachineTraceMetrics::InstrCycles Struct Reference

InstrCycles represents the cycle height and depth of an instruction in a trace. More...

#include "llvm/CodeGen/MachineTraceMetrics.h"

Public Attributes

unsigned Depth
 Earliest issue cycle as determined by data dependencies and instruction latencies from the beginning of the trace.
 
unsigned Height
 Minimum number of cycles from this instruction is issued to the of the trace, as determined by data dependencies and instruction latencies.
 

Detailed Description

InstrCycles represents the cycle height and depth of an instruction in a trace.

Definition at line 250 of file MachineTraceMetrics.h.

Member Data Documentation

◆ Depth

unsigned llvm::MachineTraceMetrics::InstrCycles::Depth

Earliest issue cycle as determined by data dependencies and instruction latencies from the beginning of the trace.

Data dependencies from before the trace are not included.

Definition at line 254 of file MachineTraceMetrics.h.

Referenced by llvm::MachineTraceMetrics::Trace::getInstrSlack(), and llvm::MachineTraceMetrics::Ensemble::updateDepth().

◆ Height

unsigned llvm::MachineTraceMetrics::InstrCycles::Height

Minimum number of cycles from this instruction is issued to the of the trace, as determined by data dependencies and instruction latencies.

Definition at line 258 of file MachineTraceMetrics.h.

Referenced by llvm::MachineTraceMetrics::Trace::getInstrSlack(), and llvm::MachineTraceMetrics::Ensemble::updateDepth().


The documentation for this struct was generated from the following file: