class PressureDiffs

Declaration

class PressureDiffs { /* full declaration omitted */ };

Description

Array of PressureDiffs.

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

Member Variables

private llvm::PressureDiff* PDiffArray = nullptr
private unsigned int Size = 0
private unsigned int Max = 0

Method Overview

Methods

PressureDiffs()

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

void addInstruction(
    unsigned int Idx,
    const llvm::RegisterOperands& RegOpers,
    const llvm::MachineRegisterInfo& MRI)

Description

Record pressure difference induced by the given operand list to node with index \p Idx.

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

Parameters

unsigned int Idx
const llvm::RegisterOperands& RegOpers
const llvm::MachineRegisterInfo& MRI

void clear()

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

void init(unsigned int N)

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

Parameters

unsigned int N

~PressureDiffs()

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