[llvm-commits] CVS: llvm/include/llvm/CodeGen/Passes.h LinkAllCodegenComponents.h
Duraid Madina
duraid at octopus.com.au
Fri Jun 22 01:27:41 PDT 2007
Changes in directory llvm/include/llvm/CodeGen:
Passes.h updated: 1.27 -> 1.28
LinkAllCodegenComponents.h updated: 1.5 -> 1.6
---
Log message:
check in the BigBlock local register allocator
---
Diffs of the changes: (+10 -0)
LinkAllCodegenComponents.h | 1 +
Passes.h | 9 +++++++++
2 files changed, 10 insertions(+)
Index: llvm/include/llvm/CodeGen/Passes.h
diff -u llvm/include/llvm/CodeGen/Passes.h:1.27 llvm/include/llvm/CodeGen/Passes.h:1.28
--- llvm/include/llvm/CodeGen/Passes.h:1.27 Fri Jun 8 12:18:56 2007
+++ llvm/include/llvm/CodeGen/Passes.h Fri Jun 22 03:27:12 2007
@@ -70,6 +70,15 @@
///
FunctionPass *createLocalRegisterAllocator();
+ /// BigBlockRegisterAllocation Pass - The BigBlock register allocator
+ /// munches single basic blocks at a time, like the local register
+ /// allocator. While the BigBlock allocator is a little slower, and uses
+ /// somewhat more memory than the local register allocator, it tends to
+ /// yield the best allocations (of any of the allocators) for blocks that
+ /// have hundreds or thousands of instructions in sequence.
+ ///
+ FunctionPass *createBigBlockRegisterAllocator();
+
/// LinearScanRegisterAllocation Pass - This pass implements the linear scan
/// register allocation algorithm, a global register allocator.
///
Index: llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h
diff -u llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:1.5 llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:1.6
--- llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:1.5 Sun Dec 17 05:13:13 2006
+++ llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h Fri Jun 22 03:27:12 2007
@@ -30,6 +30,7 @@
(void) llvm::createSimpleRegisterAllocator();
(void) llvm::createLocalRegisterAllocator();
+ (void) llvm::createBigBlockRegisterAllocator();
(void) llvm::createLinearScanRegisterAllocator();
(void) llvm::createBFS_DAGScheduler(NULL, NULL, NULL);
More information about the llvm-commits
mailing list