mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
CalcSpillWeights: give a better describing name to calculateSpillWeights
Besides, this relates it more obviously to the VirtRegAuxInfo::calculateSpillWeightAndHint. No functionnal change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -55,16 +55,14 @@ namespace llvm {
|
||||
: MF(mf), LIS(lis), Loops(loops), MBFI(mbfi) {}
|
||||
|
||||
/// \brief (re)compute li's spill weight and allocation hint.
|
||||
void CalculateWeightAndHint(LiveInterval &li);
|
||||
void calculateSpillWeightAndHint(LiveInterval &li);
|
||||
};
|
||||
|
||||
/// \brief Compute spill weights and allocation hints for all virtual register
|
||||
/// live intervals.
|
||||
void calculateSpillWeights(LiveIntervals &LIS,
|
||||
MachineFunction &MF,
|
||||
const MachineLoopInfo &MLI,
|
||||
const MachineBlockFrequencyInfo &MBFI);
|
||||
|
||||
void calculateSpillWeightsAndHints(LiveIntervals &LIS, MachineFunction &MF,
|
||||
const MachineLoopInfo &MLI,
|
||||
const MachineBlockFrequencyInfo &MBFI);
|
||||
}
|
||||
|
||||
#endif // LLVM_CODEGEN_CALCSPILLWEIGHTS_H
|
||||
|
Reference in New Issue
Block a user