aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-25 18:01:30 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-25 18:01:30 +0000
commita0b0219a9e13ecd193eee604ab22ffc74b516b02 (patch)
tree9b9bc09d416ddc6f2e711ab444fb602e6317743a /include/llvm/CodeGen/LiveIntervalAnalysis.h
parentb56e4115ed33dae56108ed4ce88ee3a0e0392bfc (diff)
downloadexternal_llvm-a0b0219a9e13ecd193eee604ab22ffc74b516b02.zip
external_llvm-a0b0219a9e13ecd193eee604ab22ffc74b516b02.tar.gz
external_llvm-a0b0219a9e13ecd193eee604ab22ffc74b516b02.tar.bz2
Remove more dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index c3c6e2d..3cc31ad 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -137,13 +137,6 @@ namespace llvm {
return reservedRegs_.test(reg);
}
- /// getScaledIntervalSize - get the size of an interval in "units,"
- /// where every function is composed of one thousand units. This
- /// measure scales properly with empty index slots in the function.
- double getScaledIntervalSize(LiveInterval& I) {
- return (1000.0 * I.getSize()) / indexes_->getIndexesLength();
- }
-
/// getApproximateInstructionCount - computes an estimate of the number
/// of instructions in a given LiveInterval.
unsigned getApproximateInstructionCount(LiveInterval& I) {