LLVM  6.0.0svn
Macros | Functions
GCNRegPressure.cpp File Reference
#include "GCNRegPressure.h"
#include "AMDGPUSubtarget.h"
#include "SIRegisterInfo.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterPressure.h"
#include "llvm/CodeGen/SlotIndexes.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/MC/LaneBitmask.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
Include dependency graph for GCNRegPressure.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "machine-scheduler"
 

Functions

static bool isEqual (const GCNRPTracker::LiveRegSet &S1, const GCNRPTracker::LiveRegSet &S2)
 
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)
 
static LLVM_DUMP_METHOD void reportMismatch (const GCNRPTracker::LiveRegSet &LISLR, const GCNRPTracker::LiveRegSet &TrackedLR, const TargetRegisterInfo *TRI)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-scheduler"

Definition at line 32 of file GCNRegPressure.cpp.

Function Documentation

◆ collectVirtualRegUses()

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

◆ 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

◆ isEqual()

static bool isEqual ( const GCNRPTracker::LiveRegSet S1,
const GCNRPTracker::LiveRegSet S2 
)
static

◆ reportMismatch()

static LLVM_DUMP_METHOD void reportMismatch ( const GCNRPTracker::LiveRegSet LISLR,
const GCNRPTracker::LiveRegSet TrackedLR,
const TargetRegisterInfo TRI 
)
static