LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MachineTraceMetrics::LiveInReg Struct Reference

A virtual register or regunit required by a basic block or its trace successors. More...

#include "llvm/CodeGen/MachineTraceMetrics.h"

Public Member Functions

 LiveInReg (Register Reg, unsigned Height=0)
 

Public Attributes

Register Reg
 The virtual register required, or a register unit.
 
unsigned Height
 For virtual registers: Minimum height of the defining instruction.
 

Detailed Description

A virtual register or regunit required by a basic block or its trace successors.

Definition at line 150 of file MachineTraceMetrics.h.

Constructor & Destructor Documentation

◆ LiveInReg()

llvm::MachineTraceMetrics::LiveInReg::LiveInReg ( Register  Reg,
unsigned  Height = 0 
)
inline

Definition at line 158 of file MachineTraceMetrics.h.

Member Data Documentation

◆ Height

unsigned llvm::MachineTraceMetrics::LiveInReg::Height

For virtual registers: Minimum height of the defining instruction.

For regunits: Height of the highest user in the trace.

Definition at line 156 of file MachineTraceMetrics.h.

◆ Reg

Register llvm::MachineTraceMetrics::LiveInReg::Reg

The virtual register required, or a register unit.

Definition at line 152 of file MachineTraceMetrics.h.


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