LLVM  6.0.0svn
Macros | Functions
CalcSpillWeights.cpp File Reference
#include "llvm/CodeGen/CalcSpillWeights.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <cassert>
#include <tuple>
Include dependency graph for CalcSpillWeights.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "calcspillweights"
 

Functions

static unsigned copyHint (const MachineInstr *mi, unsigned reg, const TargetRegisterInfo &tri, const MachineRegisterInfo &mri)
 
static bool isRematerializable (const LiveInterval &LI, const LiveIntervals &LIS, VirtRegMap *VRM, const TargetInstrInfo &TII)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "calcspillweights"

Definition at line 30 of file CalcSpillWeights.cpp.

Function Documentation

◆ copyHint()

static unsigned copyHint ( const MachineInstr mi,
unsigned  reg,
const TargetRegisterInfo tri,
const MachineRegisterInfo mri 
)
static

◆ isRematerializable()

static bool isRematerializable ( const LiveInterval LI,
const LiveIntervals LIS,
VirtRegMap VRM,
const TargetInstrInfo TII 
)
static