ΒΆvoid calculateSpillWeightsAndHints(
    llvm::LiveIntervals& LIS,
    llvm::MachineFunction& MF,
    llvm::VirtRegMap* VRM,
    const llvm::MachineLoopInfo& MLI,
    const llvm::MachineBlockFrequencyInfo& MBFI,
    VirtRegAuxInfo::NormalizingFn norm =
        normalizeSpillWeight)

Description

Compute spill weights and allocation hints for all virtual register live intervals.

Declared at: llvm/include/llvm/CodeGen/CalcSpillWeights.h:98

Parameters

llvm::LiveIntervals& LIS
llvm::MachineFunction& MF
llvm::VirtRegMap* VRM
const llvm::MachineLoopInfo& MLI
const llvm::MachineBlockFrequencyInfo& MBFI
VirtRegAuxInfo::NormalizingFn norm = normalizeSpillWeight