LLVM  6.0.0svn
Macros | Functions
GCNSchedStrategy.cpp File Reference

This contains a MachineSchedStrategy implementation for maximizing wave occupancy on GCN hardware. More...

#include "GCNSchedStrategy.h"
#include "AMDGPUSubtarget.h"
#include "SIInstrInfo.h"
#include "SIMachineFunctionInfo.h"
#include "SIRegisterInfo.h"
#include "llvm/CodeGen/RegisterClassInfo.h"
#include "llvm/Support/MathExtras.h"
Include dependency graph for GCNSchedStrategy.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "machine-scheduler"
 

Functions

static unsigned getMaxWaves (unsigned SGPRs, unsigned VGPRs, const MachineFunction &MF)
 

Detailed Description

This contains a MachineSchedStrategy implementation for maximizing wave occupancy on GCN hardware.

Definition in file GCNSchedStrategy.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-scheduler"

Definition at line 23 of file GCNSchedStrategy.cpp.

Function Documentation

◆ getMaxWaves()

static unsigned getMaxWaves ( unsigned  SGPRs,
unsigned  VGPRs,
const MachineFunction MF 
)
static