aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-06-26 22:44:34 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-06-26 22:44:34 +0000
commitca08dcc4834341e44abf02b92a67ac7d1a708e1d (patch)
tree9349f92189ef4f1111f18d48cebc4481af0b93c2 /lib
parent5b220213bfe9c37c2bb41a7ae0804e06a14f1007 (diff)
Remove unused methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/RegisterCoalescer.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/CodeGen/RegisterCoalescer.h b/lib/CodeGen/RegisterCoalescer.h
index ec83b81882..2e8a8aec1e 100644
--- a/lib/CodeGen/RegisterCoalescer.h
+++ b/lib/CodeGen/RegisterCoalescer.h
@@ -142,18 +142,6 @@ namespace llvm {
initializeRegisterCoalescerPass(*PassRegistry::getPassRegistry());
}
- /// Run the coalescer on this function, providing interference
- /// data to query. Return whether we removed any copies.
- virtual bool coalesceFunction(MachineFunction &mf,
- RegallocQuery &ifd) {
- // This runs as an independent pass, so don't do anything.
- return false;
- }
-
- /// Reset state. Can be used to allow a coalescer run by
- /// PassManager to be run again by the register allocator.
- virtual void reset(MachineFunction &mf) {}
-
/// Register allocators must call this from their own
/// getAnalysisUsage to cover the case where the coalescer is not
/// a Pass in the proper sense and isn't managed by PassManager.
@@ -220,7 +208,6 @@ namespace llvm {
/// // We don't reset the coalescer so if it's already been run this
/// // takes almost no time.
/// LinearScanRegallocQuery ifd(*li_);
- /// coalescer.coalesceFunction(fn, ifd);
///
class RegallocQuery {
public: