LLVM  8.0.1
Classes | Namespaces | Functions
CalcSpillWeights.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/CodeGen/SlotIndexes.h"
Include dependency graph for CalcSpillWeights.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::VirtRegAuxInfo
 Calculate auxiliary information for a virtual register such as its spill weight and allocation hint. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

static float llvm::normalizeSpillWeight (float UseDefFreq, unsigned Size, unsigned NumInstr)
 Normalize the spill weight of a live interval. More...
 
void llvm::calculateSpillWeightsAndHints (LiveIntervals &LIS, MachineFunction &MF, VirtRegMap *VRM, const MachineLoopInfo &MLI, const MachineBlockFrequencyInfo &MBFI, VirtRegAuxInfo::NormalizingFn norm=normalizeSpillWeight)
 Compute spill weights and allocation hints for all virtual register live intervals. More...