Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] global register allocation."
2007 Nov 23
0
[LLVMdev] global register allocation.
Hi, Sanjiv,
those passes operate on the whole machine function. Each machine
function contains many basic blocks. If a program has many functions, the
register allocator will be called as many times, i.e it does not do
interprocedural allocation.
best,
Fernando
> As far as I understand , the regalloc passes provided operate on basic block
> level?
> Is there anything that
2007 Nov 23
2
[LLVMdev] global register allocation.
On 11/23/07, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote:
>
>
> Hi, Sanjiv,
>
> those passes operate on the whole machine function. Each machine
> function contains many basic blocks. If a program has many functions, the
> register allocator will be called as many times, i.e it does not do
> interprocedural allocation.
>
> best,
>
>
2007 Nov 23
0
[LLVMdev] global register allocation.
Hi, again,
I think you can do it in the same way that the other allocators have
been coded, i.e extend RA, register the pass and so forth. I am not sure
about the best way to pass information among a run of RegAlloc to the
other, maybe the other guys in the list could suggest something. Yet, you
can always dump it into a file, and read it again, everytime it is
necessary. Remember that
2007 Nov 25
1
[LLVMdev] global register allocation.
Thanks again. One more question here:
Since the regalloc works once per function, do I stil have access to
the Call graph?
Just saving information between regalloc passes for different
functions may not be enough for my case. I will need to maintain the
regalloc info of various passes in the call graph order.
Anyways thanks for your inputs. I will get back if I need to learn more.
Sanjiv
On Nov
2007 Nov 25
2
[LLVMdev] Newbie: Target Lowering info.
Could anybody guide me what information do I need to know about my
target in order to provide the target lowering info to the llvm DAG
generator? We do not have any fixed registers for argument passing.
Everything including the formal and actual arguments will take part in
a global interprocedural regalloc.
Any pointers to learn about this will be a great help.
Sanjiv
2006 Sep 02
0
[LLVMdev] Testing a register allocator
> Hi!
>
> I developed a register allocator within LLVM and now I need to test its
> efficiency. Can I do this using llvm-test package?
> Do llvm tests check all available regalloc options automatically? If not,
> then what modifications should I do to the test files?
> It would be great if I could test my algo along with linearscan and compare
> the results.
>
>
2006 Sep 01
3
[LLVMdev] Testing a register allocator
Hi!
I developed a register allocator within LLVM and now I need to test its
efficiency. Can I do this using llvm-test package?
Do llvm tests check all available regalloc options automatically? If not,
then what modifications should I do to the test files?
It would be great if I could test my algo along with linearscan and compare
the results.
Thanks.
Tony.
--
"Nae king! Nae quin! Nae
2006 Aug 20
2
[LLVMdev] Adding register allocator to LLVM
Dear Anton,
you can add your register allocator strait iin the
"lib/CodeGen/Passes.cpp", and then 're-make' it: "makellvm llc", on the
top of lib/CodeGen. It is faster than running make from LLVMOBJDIR. The
problem is that it only add to llc the changes on the lib/CodeGen
directory. If you change other parts, a make from LLVMOBJDIR will
synchronize it.
Try adding
2007 Nov 27
0
[LLVMdev] Newbie: Target Lowering info.
On Nov 24, 2007, at 7:28 PM, Sanjiv Gupta wrote:
> Could anybody guide me what information do I need to know about my
> target in order to provide the target lowering info to the llvm DAG
> generator? We do not have any fixed registers for argument passing.
> Everything including the formal and actual arguments will take part in
> a global interprocedural regalloc.
You don't
2007 Apr 12
0
[LLVMdev] Regalloc Refactoring
>> And I have a quite fast algo that I believe is simpler than [Budimlic02]
>> and I can share it with you :)
>
> Do you have a paper on this? I'd be interested in seeing it.
>
Yes, I have a tech report on this page:
http://compilers/fernando/projects/soc/
and I have submitted a paper to SAS, and now I am waiting for the review.
The coalescing algorithm is described in
2007 Apr 12
4
[LLVMdev] Regalloc Refactoring
> And I have a quite fast algo that I believe is simpler than [Budimlic02]
> and I can share it with you :)
Do you have a paper on this? I'd be interested in seeing it.
-Tanya
>
> Fernando
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>
2007 Nov 29
1
[LLVMdev] Newbie: Target Lowering info.
thanks Evan,
I have just started writing td files.
Any ideas how do I describe instructions for an accumulator based machine.
The other pecularity is that we do not want to have any software stack.
So the instructions like load and store have no meanings.
In that case, how do I lower instructions that operate on stack frame?
TIA,
Sanjiv
On 11/26/07, Evan Cheng <evan.cheng at apple.com>
2006 Apr 29
2
[LLVMdev] Register allocation in LLVM
Hello, all,
I want to implement the register allocation algorithm described in the
paper "Register Allocation via Coloring of Chordal Graphs, APLAS'05" in
LLVM. This is a graph coloring algorithm that can find an optimal coloring
of the interference graph in most of the cases. I've downloaded LLVM last
week, and started studying the code. Basically, I have to implement:
1) A
2006 Jun 03
1
[LLVMdev] Help with pass ordering
Dear llvm guys,
I am trying to add the BreakCriticalEdges pass to my application. I
tried to add it to the PNE pass (e.g. PHIElimination.cpp -
AU.addRequiredID(BreakCriticalEdgesID); ), but I get this error:
llc -f -regalloc=simple Base1Sum.bc -o simple.s
-----------------------------------------------
llc: PassManagerT.h:387: void
llvm::PassManagerT<Trait>::markPassUsed(const
2007 Apr 14
6
[LLVMdev] Regalloc Refactoring
On Thu, 12 Apr 2007, Fernando Magno Quintao Pereira wrote:
>> I'm definitely interested in improving coalescing and it sounds like
>> this would fall under that work. Do you have references to papers
>> that talk about the various algorithms?
>
> Some suggestions:
>
> @InProceedings{Budimlic02,
> AUTHOR = {Zoran Budimlic and Keith D. Cooper and Timothy
2007 Apr 03
5
[LLVMdev] Graph Coloring Regalloc
I'm just starting to dive into llvm, hoping to implement a
good graph coloring register allocator. I gather that this
has been discussed before.
What is the RegAllocGraphColoring.cpp currently in the
sources? It seems to be the Fred Chow algorithm but
it's not mentioned in the documentation anywhere. Does
it work?
-Dave
2007 Apr 18
1
[LLVMdev] Regalloc Refactoring
Who's your advisor?
-scooter
(aka "Dr. B. Scott Michel, UCLA CS 2004" :-)
On Apr 12, 2007, at 4:39 PM, Fernando Magno Quintao Pereira wrote:
>
>>> And I have a quite fast algo that I believe is simpler than
>>> [Budimlic02]
>>> and I can share it with you :)
>>
>> Do you have a paper on this? I'd be interested in seeing it.
2007 Aug 17
2
[LLVMdev] Debugger for Register Allocation
Hi guys,
I have been using a debugger for my register allocator. The debugger
happened to be very useful at catching register assignment errors. I've
put the debugger on-line, if anyone who is working with register
allocation wants to use. The debugger itself has nothing to do with LLVM,
but I've coded a spiller that prints the code in a format that the
debugger can read. The
2007 Apr 16
0
[LLVMdev] Regalloc Refactoring
Chris Lattner wrote:
> On Thu, 12 Apr 2007, Fernando Magno Quintao Pereira wrote:
>>> I'm definitely interested in improving coalescing and it sounds like
>>> this would fall under that work. Do you have references to papers
>>> that talk about the various algorithms?
>> Some suggestions:
>>
>> @InProceedings{Budimlic02,
>> AUTHOR =
2007 Apr 03
0
[LLVMdev] Graph Coloring Regalloc
On 4/3/07, David Greene <greened at obbligato.org> wrote:
>
> I'm just starting to dive into llvm, hoping to implement a
> good graph coloring register allocator. I gather that this
> has been discussed before.
>
> What is the RegAllocGraphColoring.cpp currently in the
> sources? It seems to be the Fred Chow algorithm but
> it's not mentioned in the