search for: ralocal

Displaying 4 results from an estimated 4 matches for "ralocal".

Did you mean: alocal
2010 May 18
2
[LLVMdev] Fast register allocation
...hey appear. There are no live registers between blocks. Everything is spilled at the end of each block. This strategy works well for unoptimized code where live ranges are short. The fast allocator uses a few tricks to run faster than the local allocator while producing slightly better code. When RALocal allocates a physical register, it first checks if any aliases are in use to avoid clobbering a subregister. RAFast uses a working set strategy where recently killed registers are kept around for quick allocation without the alias scan. RALocal uses a least-recently-used algorithm for allocating re...
2007 Jul 13
0
[LLVMdev] [PATCH] Re: Pluggable Register Coalescers
...lude "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,7 +131,7 @@ } } - publi...
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
2009 Nov 20
2
[LLVMdev] llc barfing
...am arguments: llc -O0 -tailcallopt -f aout.bc -o aout.s 1. Running pass 'Live Variable Analysis' on function '@"visit_array_aux<`Reference>"' Aborted $ llc -tailcallopt -O0 --regalloc=local -f aout.bc -o aout.s llc: RegAllocLocal.cpp:855: void<unnamed>::RALocal::AllocateBasicBlock(llvm::MachineBasicBlock&): Assertion `(!PhysRegsUsed[PhysReg] || PhysRegsUsed[PhysReg] == -1) && "Silently clearing a virtual register?"' failed. 0 llc 0x08b8efe8 Stack dump: 0. Program arguments: llc -tailcallopt -O0 --regalloc=local -f aout.b...