LLVM API Documentation
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 | |
namespace | llvm |
List of target independent CodeGen pass IDs. | |
Functions | |
static float | llvm::normalizeSpillWeight (float UseDefFreq, unsigned Size) |
Normalize the spill weight of a live interval. | |
void | llvm::calculateSpillWeightsAndHints (LiveIntervals &LIS, MachineFunction &MF, const MachineLoopInfo &MLI, const MachineBlockFrequencyInfo &MBFI, VirtRegAuxInfo::NormalizingFn norm=normalizeSpillWeight) |
Compute spill weights and allocation hints for all virtual register live intervals. |