struct RegPressureDelta

Declaration

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

Description

Store the effects of a change in pressure on things that MI scheduler cares about. Excess records the value of the largest difference in register units beyond the target's pressure limits across the affected pressure sets, where largest is defined as the absolute value of the difference. Negative ExcessUnits indicates a reduction in pressure that had already exceeded the target's limits. CriticalMax records the largest increase in the tracker's max pressure that exceeds the critical limit for some pressure set determined by the client. CurrentMax records the largest increase in the tracker's max pressure that exceeds the current limit for some pressure set determined by the client.

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:238

Member Variables

public llvm::PressureChange Excess
public llvm::PressureChange CriticalMax
public llvm::PressureChange CurrentMax

Method Overview

Methods

RegPressureDelta()

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:243

void dump() const

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:252