summaryrefslogtreecommitdiffstats
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
commit2cf9489cf6d4facb991bbe475dce48f60cbc6aaa (patch)
treeaa93cd6d8e547da577d92af550017e5342c1d3aa
parent676c405acb2e07167cc2f3973b119e6bbbf0c966 (diff)
downloadbcm5719-llvm-2cf9489cf6d4facb991bbe475dce48f60cbc6aaa.tar.gz
bcm5719-llvm-2cf9489cf6d4facb991bbe475dce48f60cbc6aaa.zip
Remove unused methods.
llvm-svn: 133900
-rw-r--r--llvm/lib/CodeGen/RegisterCoalescer.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.h b/llvm/lib/CodeGen/RegisterCoalescer.h
index ec83b818829..2e8a8aec1ea 100644
--- a/llvm/lib/CodeGen/RegisterCoalescer.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud