search for: regalloctrait

Displaying 3 results from an estimated 3 matches for "regalloctrait".

Did you mean: regalloctraits
2007 Apr 17
3
[LLVMdev] Regalloc Refactoring
...re flexibility for reuse (doesn't depend on a specific base class). For example, if I'm writing a register allocator, one way to do what you're saying without inheritance is to parameterize the allocator with a traits class and call into that for the custom routines: template<class RegallocTraits> class GCRegAlloc { void doAlloc() { ... RegallocTraits::computeSpillCost(someValue); ... }; }; An alternative to think about during these discussions. -Dave
2007 Apr 16
0
[LLVMdev] Regalloc Refactoring
On Apr 12, 2007, at 2:37 PM, David Greene wrote: > Chris Lattner wrote: >> On Thu, 12 Apr 2007, David Greene wrote: >>> As I work toward improving LLVM register allocation, I've >>> come across the need to do some refactoring. Yay! >> Beyond that, one of the issues is the "r2rmap" and "rep" >> function. As >> you've
2007 Apr 12
8
[LLVMdev] Regalloc Refactoring
Chris Lattner wrote: > On Thu, 12 Apr 2007, David Greene wrote: >> As I work toward improving LLVM register allocation, I've >> come across the need to do some refactoring. > > cool. :) One request: Evan is currently out on vacation until Monday. > This is an area that he is very interested in and will want to chime in > on. Please don't start anything