[LLVMdev] Help with understanding LLVM

Bill Wendling wendling at apple.com
Mon Mar 15 21:55:27 PDT 2010


On Mar 15, 2010, at 8:15 PM, kalyan ponnala wrote:

> Hi,
> 
> I am trying to understand LLVM. Can an expert tell me how to compare the kaleidoscope implementation with the LLVM's compiler implementation. I mean can anyone tell me about the lexer, parser, codegen related .cpp and .h files inside the LLVM solution project. I would like to understand the LLVM's compiler in the same way that the kaleidoscope compiler is explained. 
> 
Hi Kalyan,

That's a tall order, and I don't think we would be able to help you in general. However, there is a lot of documentation on LLVM (optimization passes, analysis, code generation, dead chicken waving) here:

	http://llvm.org/docs

For the front-end (lexer, parser, semantic analysis, voodoo), you will want to look at these web pages:

	http://clang.llvm.org/

Good luck!
-bw





More information about the llvm-dev mailing list