LLVM  8.0.1
Macros | Functions
CalcSpillWeights.cpp File Reference
#include "llvm/CodeGen/CalcSpillWeights.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/CodeGen/LiveIntervals.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/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.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