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.

Macros

#define DEBUG_TYPE   "machine-scheduler"
 

Functions

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

◆ DEBUG_TYPE

#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 
)
static

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 
)
static

◆ getUsedRegMask()

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