Displaying 4 results from an estimated 4 matches for "regallocquery".
2009 Jan 12
0
[LLVMdev] Is it possible to use the SimpleRegisterCoalescing pass in an iterative way?
...ithm,.
It's not easy to accomplish within the LLVM framework. I've made a number of
structural changes to our code here and it's in a bit of a state of bitrot due
to upstream changes we haven't merged in yet.
I got some of this work merged upstream in the RegisterCoalescer and
RegallocQuery interfaces. RegallocQuery is supposed to be an opaque
communication conduit between register allocators and coalescers such that
the allocator can update the coalescer when it makes changes and vice versa.
When I did the full implementation I found I had to make more changes to
RegallocQuery....
2009 Jan 09
4
[LLVMdev] Is it possible to use the SimpleRegisterCoalescing pass in an iterative way?
Hi,
I'm implementing some variations of graph-coloring register allocators for LLVM.
Many of them perform their phases (e.g. coalescing, graph
simplification, spilling, color selection) in an iterative way. Since
LLVM provides an implementation of the coalescing in the
SimpleRegisterCoalescing class already, I would like to reuse it (even
though I could of course create my own coalescing
2008 Feb 01
0
[LLVMdev] Some questions about live intervals
...als. But this solution may require a lot of memory in case of
> very big functions. May be there are some better/faster possibilities
> available?
There isn't an efficient way right now. I think you can keep some sort
of interference graph to help with this? Perhaps you can use class
RegallocQuery in RegisterCoalescer.h for this? David would know since
he contributed this.
>
>
> As for (1) and (2), I could implement and provide patches for it, if
> you think this is desirable.
Yes, thanks.
Evan
>
>
> Thanks,
> Roman
>
>
>
> Lesen Sie Ihre E-Mail...
2008 Jan 31
7
[LLVMdev] Some questions about live intervals
Hi,
I'm trying to sketch an LLVM-based implementation of the Extended
Linear Scan algorithm, described in this Vivek Sarkar's paper:
http://www.cs.rice.edu/~vs3/PDF/cc2007.pdf
Sarkar reports that this version of Linear Scan produces better code
than graph-coloring regallocs and is also much faster (15x to 68x).
I already started work on the implementation of this algorithm and have
a few