LLVM
8.0.1
|
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... | |