search for: createlocalregisterallocator

Displaying 6 results from an estimated 6 matches for "createlocalregisterallocator".

2008 Sep 02
2
[LLVMdev] LLVM build failures
...ls/lli/Debug/lli.o: In function `ForceCodegenLinking': .../llvm/build/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:32: undefined reference to `llvm::createSimpleRegisterAllocator()' .../llvm/build/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:33: undefined reference to `llvm::createLocalRegisterAllocator()' .../llvm/build/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:34: undefined reference to `llvm::createBigBlockRegisterAllocator()' .../llvm/build/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:35: undefined reference to `llvm::createLinearScanRegisterAllocator()' .../llvm...
2009 Jun 16
1
[LLVMdev] undefined references in llvm
...onents.h:32: undefined reference to `llvm::createDeadMachineInstructionElimPass()' llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:34: undefined reference to `llvm::createSimpleRegisterAllocator()' llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:35: undefined reference to `llvm::createLocalRegisterAllocator()' llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:36: undefined reference to `llvm::createBigBlockRegisterAllocator()' llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:38: undefined reference to `llvm::createPBQPRegisterAllocator()' llvm2/include/llvm/CodeGen/LinkAllCodegenC...
2007 Oct 09
1
[LLVMdev] Supporting pre-allocated registers in LLVM
Quoting Bill Wendling <isanbard at gmail.com>: > Hi Nikolaos, > > I have an alpha version of Chow & Hennesey's priority-based graph > coloring algorithm. It's suffering from some bit-rotting -- e.g., > there's some trouble with how it calculates "forbidden" registers. > You're welcome to the code, if you'd like to hack on it. I've been
2010 May 18
2
[LLVMdev] Fast register allocation
...2d2f0 100644 --- a/lib/Frontend/CodeGenAction.cpp +++ b/lib/Frontend/CodeGenAction.cpp @@ -322,7 +322,7 @@ bool BackendConsumer::AddEmitPasses() { // Set register scheduler & allocation policy. RegisterScheduler::setDefault(createDefaultScheduler); - RegisterRegAlloc::setDefault(Fast ? createLocalRegisterAllocator : + RegisterRegAlloc::setDefault(Fast ? createFastRegisterAllocator : createLinearScanRegisterAllocator); // Create the code generator passes. I have tested clang self hosting on x86-64 and x64 with this patch. On the nightly test suite, -regalloc=fast perform...
2007 Jul 13
0
[LLVMdev] [PATCH] Re: Pluggable Register Coalescers
...t; #include "llvm/CodeGen/RegAllocRegistry.h" +#include "llvm/CodeGen/RegisterAllocator.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Support/CommandLine.h" @@ -42,7 +43,8 @@ createLocalRegisterAllocator); - class VISIBILITY_HIDDEN RALocal : public MachineFunctionPass { + class VISIBILITY_HIDDEN RALocal : public MachineFunctionPass, + public RegisterAllocator { public: static char ID; RALocal() : MachineFunctionPass((intptr_t)&ID) {} @@ -129...
2007 Jul 11
3
[LLVMdev] Pluggable Register Coalescers
On Jul 11, 2007, at 11:39 AM, David Greene wrote: > On Wednesday 11 July 2007 12:41, Tanya M. Lattner wrote: > >> I think the coalescer should be flexible enough to be run >> independent of >> the register allocator. For example, you may want to expose the >> copies >> induced by transforming out of SSA to the scheduler. If the >> scheduler is