[LLVMdev] backend documentation

dag at cray.com dag at cray.com
Wed Apr 3 08:28:00 PDT 2013


Vadim Khoptynets <vadya.poiuj at gmail.com> writes:

> Hello everyone!
>
> Is there any documentation about LLVM backend implementation, except
> "Writing an LLVM backend"? I'm trying to write InstrFormats.td and
> InstrInfo.td for my backend now. After reading "Writing an LLVM
> backend" and "Creating an LLVM Backend for the Cpu0 Architecture",
> many black holes have remained. 

The reference documentation "The LLVM Target-Independent Code Generator"
is about the best there is, AFAIK.  It lacks a lot of important details
but gives a good general overview of the concepts.

                              -David



More information about the llvm-dev mailing list