<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm working on my project for completion undergraduate courses, consisting of an experimental analysis of registers allocation algorithms. For this task, I am using the set of tools from the LLVM project.<br><br>However, I have read the documentation of the LLVM project and not yet found a way to put the pieces of the puzzle together. So far I know:<br><br><ul><li>As passes work as engage them to LLVM and know I must implement MachineFunctionPass pass.</li></ul><br><ul><li>I follow some suggestions to look at the Basic Allocator code, but could not understand much.</li></ul><br>The allocator I intend to implement is based on graph coloring heuristics, as the theory of operation of such methods I’m well aware.<br><br>So I look for is some sort of "How to", a defined set of steps to implement such allocator. It sounds like carelessness, but I have to deliver the work in about six months and I'm a little confused.<br><br>If anyone can give me some guidance or reference to any supporting material (besides the own documentation), I would be grateful.<br><br>My English may be a little wrong, I am a Brazilian student.<br><br clear="all"></div><br>-- <br><div class="gmail_signature">Natanael Ramos <br>Membro do corpo discente de Ciência da Computação pelo Instituto Federal de <br>Minas Gerais - Campus Formiga<br><br></div>
</div>