[LLVMdev] RE: Instruction selection framework

Chris Lattner sabre at nondot.org
Fri May 20 06:24:27 PDT 2005


On Fri, 20 May 2005, Segher Boessenkool wrote:
>> a new instruction selection framework,
>
> Hi Chris,
>
> Any documentation on that insn selection framework?  Or just
> point me to the source files ;-)

There is not enough, but a high level overview is here:
http://llvm.cs.uiuc.edu/docs/CodeGenerator.html#instselect

The best way is to learn by example, e.g. take a look at 
Target/PowerPC/PPC32ISelPattern.cpp.

The primary header files are in include/llvm/CodeGen/SelectionDAG*.h

Hope this helps, if you have any questions, llvmdev is a good place to go 
for help.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list