struct RegionPressure

Declaration

struct RegionPressure : public RegisterPressure { /* full declaration omitted */ };

Description

RegisterPressure computed within a region of instructions delimited by TopPos and BottomPos. This is a less precise version of IntervalPressure for use when LiveIntervals are unavailable.

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

Inherits from: RegisterPressure

Member Variables

public MachineBasicBlock::const_iterator TopPos
Record the boundary of the region being tracked.
public MachineBasicBlock::const_iterator BottomPos

Inherited from RegisterPressure:

public MaxSetPressure
public LiveInRegs
public LiveOutRegs

Method Overview

  • public void openBottom(MachineBasicBlock::const_iterator PrevBottom)
  • public void openTop(MachineBasicBlock::const_iterator PrevTop)
  • public void reset()

Inherited from RegisterPressure:

Methods

void openBottom(
    MachineBasicBlock::const_iterator PrevBottom)

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

Parameters

MachineBasicBlock::const_iterator PrevBottom

void openTop(
    MachineBasicBlock::const_iterator PrevTop)

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

Parameters

MachineBasicBlock::const_iterator PrevTop

void reset()

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