diff options
author | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-11-11 19:04:45 +0000 |
---|---|---|
committer | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-11-11 19:04:45 +0000 |
commit | 095f994ba63994e8eb4b77127f9b872429496dba (patch) | |
tree | 3506b33bd89e6b670884c4bbdccda73f42c4f497 /include | |
parent | 953398916cfd6ee035f6f4bd2dde25c21cdde1fe (diff) | |
download | llvm-095f994ba63994e8eb4b77127f9b872429496dba.tar.gz llvm-095f994ba63994e8eb4b77127f9b872429496dba.tar.bz2 llvm-095f994ba63994e8eb4b77127f9b872429496dba.tar.xz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/CalcSpillWeights.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/CalcSpillWeights.h b/include/llvm/CodeGen/CalcSpillWeights.h index 00d9c6a5e6..60be611527 100644 --- a/include/llvm/CodeGen/CalcSpillWeights.h +++ b/include/llvm/CodeGen/CalcSpillWeights.h @@ -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 |