summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-05-06 02:36:21 +0000
committerLang Hames <lhames@gmail.com>2009-05-06 02:36:21 +0000
commitab68cf24bb17eebcfd14bf851ade359f670e4e63 (patch)
tree8a6dd2c04cbe784ad3890ac2abaf2ef406a2779e /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parent5e051f9a86ebd909ef55d5417d9463a3425f6038 (diff)
downloadbcm5719-llvm-ab68cf24bb17eebcfd14bf851ade359f670e4e63.tar.gz
bcm5719-llvm-ab68cf24bb17eebcfd14bf851ade359f670e4e63.zip
Renamed Spiller classes (plus uses and related files) to VirtRegRewriter.
llvm-svn: 71057
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index b5f581cc594..2c30bd81c66 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -13,7 +13,7 @@
#define DEBUG_TYPE "regalloc"
#include "VirtRegMap.h"
-#include "Spiller.h"
+#include "VirtRegRewriter.h"
#include "llvm/Function.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/LiveStackAnalysis.h"
@@ -125,7 +125,7 @@ namespace {
/// vrm_ - Tracks register assignments.
VirtRegMap* vrm_;
- std::auto_ptr<Spiller> spiller_;
+ std::auto_ptr<VirtRegRewriter> rewriter_;
public:
virtual const char* getPassName() const {
@@ -404,14 +404,14 @@ bool RALinScan::runOnMachineFunction(MachineFunction &fn) {
initRegUses();
vrm_ = &getAnalysis<VirtRegMap>();
- if (!spiller_.get()) spiller_.reset(createSpiller());
+ if (!rewriter_.get()) rewriter_.reset(createVirtRegRewriter());
initIntervalSets();
linearScan();
// Rewrite spill code and update the PhysRegsUsed set.
- spiller_->runOnMachineFunction(*mf_, *vrm_, li_);
+ rewriter_->runOnMachineFunction(*mf_, *vrm_, li_);
assert(unhandled_.empty() && "Unhandled live intervals remain!");
OpenPOWER on IntegriCloud