LLVM  16.0.0git
Macros | Functions
GCNRegPressure.cpp File Reference
#include "GCNRegPressure.h"
#include "llvm/CodeGen/RegisterPressure.h"
Include dependency graph for GCNRegPressure.cpp:

Go to the source code of this file.


#define DEBUG_TYPE   "machine-scheduler"


static LaneBitmask getDefRegMask (const MachineOperand &MO, const MachineRegisterInfo &MRI)
static LaneBitmask getUsedRegMask (const MachineOperand &MO, const MachineRegisterInfo &MRI, const LiveIntervals &LIS)
static SmallVector< RegisterMaskPair, 8 > collectVirtualRegUses (const MachineInstr &MI, const LiveIntervals &LIS, const MachineRegisterInfo &MRI)

Detailed Description

This file implements the GCNRegPressure class.

Definition in file GCNRegPressure.cpp.

Macro Definition Documentation


#define DEBUG_TYPE   "machine-scheduler"

Definition at line 19 of file GCNRegPressure.cpp.

Function Documentation

◆ collectVirtualRegUses()

static SmallVector<RegisterMaskPair, 8> collectVirtualRegUses ( const MachineInstr MI,
const LiveIntervals LIS,
const MachineRegisterInfo MRI 

Definition at line 190 of file GCNRegPressure.cpp.

References llvm::find_if(), getUsedRegMask(), I, MI, MRI, and llvm::AArch64::RM.

Referenced by llvm::GCNUpwardRPTracker::recede().

◆ getDefRegMask()

static LaneBitmask getDefRegMask ( const MachineOperand MO,
const MachineRegisterInfo MRI 

◆ getUsedRegMask()

static LaneBitmask getUsedRegMask ( const MachineOperand MO,
const MachineRegisterInfo MRI,
const LiveIntervals LIS